/*
Theme Name: Sevof
Author: Sevof
Description: Fast, SEO-first WordPress theme for Sevof, the AI SEO agent. English base with 8 languages (EN, DE, FR, ES, PT, IT, TR, AR + RTL), hreflang, JSON-LD and zero render-blocking dependencies.
Version: 2.0.0
Requires at least: 6.3
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sevof
Tags: blog, one-column, custom-logo, custom-menu, featured-images, translation-ready, rtl-language-support
*/

/* =========================================================
   1. Tokens
   ========================================================= */
@font-face {
  font-family: "Vazirmatn";
  src: url("assets/fonts/vazirmatn.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF, U+200C-200F;
}

:root {
  --bg: #F6F6FB;
  --surface: #FFFFFF;
  --alt: #EFEEF8;
  --ink: #0D0F23;
  --ink-2: #3B3F5C;
  --muted: #6C7193;
  --line: #E4E5F0;
  --brand: #5B47FB;
  --brand-600: #4733E6;
  --brand-50: #EFEDFF;
  --violet: #9B5CFF;
  --mint: #10C99A;
  --mint-50: #E0FAF2;
  --amber: #F5A524;
  --amber-50: #FFF3DB;
  --dark: #0A0B1E;
  --dark-2: #15173A;
  --grad: linear-gradient(120deg, #5B47FB 0%, #9B5CFF 50%, #10C99A 100%);
  --radius: 20px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(13, 15, 35, .06), 0 2px 8px rgba(13, 15, 35, .04);
  --shadow: 0 10px 30px -12px rgba(13, 15, 35, .18);
  --shadow-lg: 0 30px 70px -24px rgba(13, 15, 35, .35);
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Code", Consolas, monospace;
  --header-h: 72px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}
:root[lang^="ar"] { --font: "Vazirmatn", ui-sans-serif, system-ui, "Segoe UI", Tahoma, sans-serif; }

/* =========================================================
   2. Base
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.65 var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
html.no-scroll { overflow: hidden; }
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); line-height: 1.15; letter-spacing: -.025em; font-weight: 800; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
::selection { background: var(--brand); color: #fff; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
:root[lang^="ar"] h1, :root[lang^="ar"] h2, :root[lang^="ar"] h3, :root[lang^="ar"] .eyebrow { letter-spacing: 0; line-height: 1.4; }

.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 20px; }
.container--narrow { max-width: 800px; }
.container--mid { max-width: 1000px; }

.screen-reader-text, .form__hp {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; top: 12px; inset-inline-start: 12px; z-index: 100;
  padding: 10px 16px; border-radius: 10px; background: var(--ink); color: #fff; font-weight: 700;
  transform: translateY(-200%); transition: transform .2s;
}
.skip-link:focus { transform: none; }

.ic { width: 1.15em; height: 1.15em; flex-shrink: 0; }
[dir="rtl"] .flip { transform: scaleX(-1); }
.flip-back { transform: scaleX(-1); }
[dir="rtl"] .flip-back { transform: none; }

/* =========================================================
   3. Components
   ========================================================= */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 44px; padding: 10px 20px; border-radius: 12px; border: 1px solid transparent;
  font-weight: 700; font-size: .95rem; line-height: 1.2; white-space: nowrap;
  transition: transform .2s var(--ease), background-color .2s, color .2s, border-color .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--brand); color: #fff; box-shadow: 0 8px 22px -8px rgba(91, 71, 251, .7), inset 0 1px 0 rgba(255, 255, 255, .2); }
.btn--primary:hover { background: var(--brand-600); box-shadow: 0 14px 30px -10px rgba(91, 71, 251, .8); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #22254A; }
.btn--ghost { background: var(--surface); color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn--glass { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .18); backdrop-filter: blur(8px); }
.btn--glass:hover { background: rgba(255, 255, 255, .16); }
.btn--text { min-height: 40px; padding-inline: 12px; color: var(--ink-2); }
.btn--text:hover { color: var(--brand); transform: none; }
.btn--sm { min-height: 40px; padding: 8px 16px; font-size: .9rem; border-radius: 10px; }
.btn--lg { min-height: 54px; padding: 14px 28px; font-size: 1rem; border-radius: 14px; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 32px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px;
  padding: 6px 14px; border-radius: 999px;
  background: var(--brand-50); color: var(--brand); border: 1px solid rgba(91, 71, 251, .18);
  font-size: .78rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
}
.eyebrow--dark { background: rgba(255, 255, 255, .08); color: #D9D4FF; border-color: rgba(255, 255, 255, .16); }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 0 rgba(16, 201, 154, .6); animation: pulse 2s infinite; }
.grad { background: linear-gradient(100deg, #B3A8FF 0%, #E2B5FF 45%, #6EE7C8 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }

.tag {
  display: inline-flex; align-items: center; padding: 4px 12px; border-radius: 999px;
  background: var(--brand-50); color: var(--brand-600); font-size: .78rem; font-weight: 700;
}
a.tag:hover { background: var(--brand); color: #fff; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 12px;
  font-size: .78rem; font-weight: 800; box-shadow: var(--shadow);
}
.chip--amber { background: var(--amber-50); color: #9A6200; }
.chip--mint { background: var(--mint-50); color: #08795C; }
.chip--white { background: #fff; color: var(--ink); }
.chip--white b { color: #08A57E; }
.pill { display: inline-flex; padding: 3px 10px; border-radius: 999px; font-size: .7rem; font-weight: 800; white-space: nowrap; }
.pill--ok { background: var(--mint-50); color: #08795C; }
.pill--wait { background: var(--amber-50); color: #9A6200; }
.pill--live { background: var(--brand-50); color: var(--brand); }

.notice { padding: 14px 18px; border-radius: 14px; background: var(--brand-50); color: var(--brand-600); font-weight: 600; margin-bottom: 24px; }
.notice--ok { background: var(--mint-50); color: #08795C; }
.notice--error { background: #FFECEF; color: #B4233C; }

/* =========================================================
   4. Header
   ========================================================= */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 246, 251, .78);
  backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, box-shadow .25s, background-color .25s;
}
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 0; } }
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(13, 15, 35, .35); background: rgba(255, 255, 255, .86); }
.site-header__inner { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }

.brand, .custom-logo-link { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; }
.custom-logo { max-height: 40px; width: auto; }
.brand__mark { width: 34px; height: 34px; filter: drop-shadow(0 6px 12px rgba(91, 71, 251, .35)); }
.brand__name { font-size: 1.4rem; font-weight: 900; letter-spacing: -.04em; color: var(--ink); }

.site-nav { flex: 1; display: flex; justify-content: center; }
.site-nav .menu { display: flex; align-items: center; gap: 4px; list-style: none; }
.site-nav .menu > li { position: relative; }
.site-nav .menu a {
  display: inline-flex; align-items: center; padding: 8px 14px; border-radius: 10px;
  color: var(--ink-2); font-weight: 600; font-size: .95rem; transition: color .2s, background-color .2s;
}
.site-nav .menu a:hover, .site-nav .current-menu-item > a:not([href*="#"]), .site-nav .current_page_item > a:not([href*="#"]) { color: var(--ink); background: rgba(91, 71, 251, .08); }
.site-nav .sub-menu {
  position: absolute; top: calc(100% + 8px); inset-inline-start: 0; min-width: 230px; padding: 8px; list-style: none;
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s, transform .2s, visibility .2s;
}
.site-nav .menu > li:hover > .sub-menu, .site-nav .menu > li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.site-nav .sub-menu a { display: flex; width: 100%; }
.site-nav__login { display: none; }

.site-header__actions { display: flex; align-items: center; gap: 8px; }
.nav-toggle {
  display: none; width: 44px; height: 44px; align-items: center; justify-content: center;
  border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--ink);
}
.nav-toggle .ic { width: 22px; height: 22px; }
.nav-toggle__close, .nav-open .nav-toggle__open { display: none; }
.nav-open .nav-toggle__close { display: block; }

/* Language switcher */
.lang { position: relative; }
.lang__btn {
  display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 8px 10px;
  border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--ink-2);
  font-weight: 700; font-size: .85rem; transition: border-color .2s, color .2s;
}
.lang__btn:hover, .lang__btn[aria-expanded="true"] { border-color: var(--brand); color: var(--brand); }
.lang__btn .ic:last-child { width: 14px; height: 14px; transition: transform .2s; }
.lang__btn[aria-expanded="true"] .ic:last-child { transform: rotate(180deg); }
.lang__list {
  position: absolute; top: calc(100% + 8px); inset-inline-end: 0; z-index: 80; min-width: 190px;
  padding: 6px; list-style: none; background: var(--surface); border: 1px solid var(--line);
  border-radius: 14px; box-shadow: var(--shadow-lg); animation: pop .18s var(--ease);
}
.lang__list a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px; font-size: .92rem; color: var(--ink); }
.lang__list a:hover, .lang__list a:focus-visible { background: var(--alt); outline: none; }
.lang__list a[aria-current] { color: var(--brand); font-weight: 800; }
.lang__name { flex: 1; text-align: start; }
.lang__list .ic { width: 16px; height: 16px; }

@media (max-width: 1023px) {
  .nav-toggle { display: inline-flex; }
  .hide-md { display: none; }
  .site-nav {
    position: absolute; top: 100%; inset-inline: 0; display: none; flex-direction: column; gap: 12px;
    padding: 16px 20px 24px; background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg);
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .nav-open .site-nav { display: flex; animation: pop .2s var(--ease); }
  .site-nav .menu { flex-direction: column; align-items: stretch; gap: 2px; }
  .site-nav .menu a { width: 100%; padding: 12px 14px; font-size: 1.02rem; }
  .site-nav .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 12px; min-width: 0; }
  .site-nav__login { display: inline-flex; }
}
@media (max-width: 420px) {
  .site-header__inner { gap: 10px; }
  .brand__name { font-size: 1.2rem; }
  .site-header__actions .btn--primary { padding-inline: 12px; }
  .lang__btn .ic:first-child { display: none; }
}

/* =========================================================
   5. Hero
   ========================================================= */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  margin: 8px 12px 0; border-radius: var(--radius-lg);
  background: var(--dark); color: #fff;
  padding: clamp(56px, 8vw, 104px) 0 clamp(72px, 9vw, 120px);
}
.hero__bg { position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(620px 420px at 12% 8%, rgba(91, 71, 251, .55), transparent 62%),
  radial-gradient(520px 380px at 92% 18%, rgba(16, 201, 154, .28), transparent 62%),
  radial-gradient(760px 520px at 62% 112%, rgba(155, 92, 255, .45), transparent 62%); }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .055) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .055) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000 25%, transparent 72%); mask-image: radial-gradient(ellipse at 50% 40%, #000 25%, transparent 72%);
}
.hero__inner { display: grid; grid-template-columns: 1.02fr 1fr; gap: clamp(40px, 5vw, 72px); align-items: center; }
.hero__title { color: #fff; font-size: clamp(2.4rem, 5.4vw, 4.2rem); line-height: 1.04; letter-spacing: -.045em; margin-bottom: 22px; }
.hero__title .grad { display: block; }
.hero__lead { max-width: 560px; font-size: clamp(1.05rem, 1.6vw, 1.2rem); line-height: 1.7; color: rgba(255, 255, 255, .74); margin-bottom: 34px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 30px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; font-size: .9rem; color: rgba(255, 255, 255, .7); }
.hero__trust li { display: inline-flex; align-items: center; gap: 8px; }
.hero__trust .ic { color: var(--mint); }

.hero__visual { position: relative; perspective: 1600px; }
.mock {
  --tilt: -7deg;
  position: relative; border-radius: 22px; overflow: hidden; color: var(--ink);
  background: #FAFAFE; border: 1px solid rgba(255, 255, 255, .25);
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .7), 0 0 0 8px rgba(255, 255, 255, .05);
  transform: rotateY(var(--tilt)) rotateX(3deg); transform-origin: center;
  animation: rise .9s var(--ease) both .1s;
}
[dir="rtl"] .mock { --tilt: 7deg; }
.mock__bar { display: flex; align-items: center; gap: 14px; padding: 12px 16px; background: #F0F0F7; border-bottom: 1px solid var(--line); }
.mock__dots { display: inline-flex; gap: 6px; }
.mock__dots i { width: 10px; height: 10px; border-radius: 50%; background: #FF6B6B; }
.mock__dots i:nth-child(2) { background: #FFC24B; }
.mock__dots i:nth-child(3) { background: #3DD68C; }
.mock__url { flex: 1; padding: 5px 12px; border-radius: 8px; background: #fff; color: var(--muted); font-size: .72rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock__body { padding: 18px; }
.mock__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.mock__brand { display: inline-flex; align-items: center; gap: 8px; font-size: 1rem; }
.mock__brand .brand__mark { width: 26px; height: 26px; }
.mock__new { padding: 7px 12px; border-radius: 9px; background: var(--brand); color: #fff; font-size: .74rem; font-weight: 800; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 10px; }
.kpi { padding: 12px; border-radius: 14px; background: #fff; border: 1px solid var(--line); min-width: 0; }
.kpi small { display: block; font-size: .66rem; font-weight: 700; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kpi b { display: block; font-size: 1.35rem; font-weight: 900; letter-spacing: -.03em; }
.kpi em { font-style: normal; font-size: .66rem; font-weight: 800; color: #08A57E; }
.kpi--brand { background: var(--grad); border: 0; color: #fff; }
.kpi--brand small { color: rgba(255, 255, 255, .8); }
.mock__grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 10px; }
.panel { padding: 12px; border-radius: 14px; background: #fff; border: 1px solid var(--line); min-width: 0; }
.panel small { display: block; font-size: .7rem; font-weight: 800; margin-bottom: 8px; }
.panel .chart { width: 100%; height: 96px; }
.queue { list-style: none; display: grid; gap: 9px; }
.queue li { display: flex; align-items: center; gap: 8px; }
.queue i { flex: 1; height: 8px; border-radius: 99px; background: #ECECF4; }

.float {
  position: absolute; z-index: 2; display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; border-radius: 14px; background: rgba(255, 255, 255, .95); color: var(--ink);
  box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .55); font-size: .8rem; font-weight: 800; white-space: nowrap;
  animation: float 6s ease-in-out infinite;
}
.float small { display: block; font-size: .68rem; font-weight: 600; color: var(--muted); }
.float__ic { width: 32px; height: 32px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; }
.float__ic .ic { width: 17px; height: 17px; }
.float__ic--mint { background: var(--mint-50); color: #08A57E; }
.float__ic--amber { background: var(--amber-50); color: #B87700; }
.float__ic--brand { background: var(--brand); color: #fff; }
.float--a { top: -18px; inset-inline-end: -14px; }
.float--b { bottom: 18%; inset-inline-start: -34px; animation-delay: -2s; }
.float--c { bottom: -20px; inset-inline-end: 16%; animation-delay: -4s; }

/* =========================================================
   6. Sections
   ========================================================= */
.section { padding: clamp(72px, 9vw, 120px) 0; }
.section--alt { background: var(--alt); }
.section--tight { padding-block: clamp(40px, 5vw, 64px); }
.section--flush { padding-top: 0; }
.section-head { max-width: 720px; margin: 0 auto clamp(40px, 5vw, 60px); text-align: center; }
.section-head h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 16px; }
.section-head p { font-size: 1.1rem; color: var(--ink-2); }
.section-head--row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; text-align: start; }
.section-head--row h2 { margin-bottom: 0; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step {
  display: flex; flex-direction: column; overflow: hidden; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s, border-color .35s;
}
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(91, 71, 251, .35); }
.step__body { position: relative; padding: 22px 22px 26px; }
.step__num {
  position: absolute; top: -22px; inset-inline-start: 22px; width: 44px; height: 44px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center; background: var(--ink); color: #fff;
  font-weight: 900; box-shadow: 0 10px 20px -8px rgba(13, 15, 35, .5); border: 3px solid var(--surface);
}
.step h3 { font-size: 1.12rem; margin: 18px 0 10px; letter-spacing: -.015em; line-height: 1.35; }
.step p { font-size: .93rem; color: var(--ink-2); }
.step strong { color: var(--ink); }

.art { position: relative; aspect-ratio: 4 / 3; padding: 18px; overflow: hidden; display: flex; flex-direction: column; justify-content: center; gap: 12px;
  background: radial-gradient(260px 180px at 100% 0%, rgba(155, 92, 255, .18), transparent 70%), radial-gradient(220px 160px at 0% 100%, rgba(16, 201, 154, .16), transparent 70%), #F3F2FB; }
.art .chip { position: absolute; bottom: 14px; inset-inline-end: 14px; }

.ring {
  --p: 70; position: absolute; top: 16px; inset-inline-end: 16px; width: 84px; height: 84px; border-radius: 50%;
  display: grid; place-content: center; text-align: center;
  background: radial-gradient(closest-side, #fff 76%, transparent 78% 100%), conic-gradient(var(--brand) calc(var(--p) * 1%), #E2E1EF 0);
  box-shadow: var(--shadow);
}
.ring b { font-size: 1.4rem; line-height: 1; }
.ring small { font-size: .55rem; font-weight: 800; color: var(--muted); }
.bars { list-style: none; display: grid; gap: 9px; max-width: 58%; }
.bars li { display: grid; gap: 4px; }
.bars span { font-size: .66rem; font-weight: 800; color: var(--muted); }
.bars i { display: block; height: 8px; width: var(--w); border-radius: 99px; background: #CFCDE0; }
.bars i.is-you { background: var(--grad); }

.doc { display: grid; gap: 8px; padding: 14px; border-radius: 14px; background: #fff; box-shadow: var(--shadow); }
.doc__h, .doc__l { display: block; height: 8px; border-radius: 99px; background: #E6E5F1; }
.doc__h { width: 62%; height: 12px; background: var(--ink); opacity: .85; }
.doc__l--s { width: 70%; }
.doc__ai { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; color: var(--brand); font-size: .72rem; font-weight: 800; }
.doc__ai .ic { width: 14px; height: 14px; }
.caret { width: 2px; height: 14px; background: var(--brand); animation: blink 1s steps(2) infinite; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags span { padding: 4px 9px; border-radius: 8px; background: #fff; border: 1px solid var(--line); font-size: .64rem; font-weight: 800; color: var(--ink-2); }
.doc--sm { max-width: 80%; }
.review { display: flex; gap: 8px; }
.mini { display: inline-flex; align-items: center; gap: 5px; padding: 7px 11px; border-radius: 9px; background: #fff; border: 1px solid var(--line); font-size: .72rem; font-weight: 800; }
.mini .ic { width: 13px; height: 13px; }
.mini--ok { background: var(--mint); border-color: var(--mint); color: #fff; }
.art--grow .chart { width: 100%; height: 70%; }
.art--grow .chip { top: 16px; bottom: auto; }

/* Features (bento) */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature {
  position: relative; padding: 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line);
  transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(91, 71, 251, .35); }
.feature:first-child { grid-column: span 2; background: var(--dark); border-color: var(--dark); color: #fff; overflow: hidden; }
.feature:first-child::after { content: ""; position: absolute; inset: auto -60px -80px auto; width: 300px; height: 220px; background: radial-gradient(closest-side, rgba(155, 92, 255, .5), transparent); pointer-events: none; }
[dir="rtl"] .feature:first-child::after { inset: auto auto -80px -60px; }
.feature:first-child h3 { color: #fff; font-size: 1.5rem; }
.feature:first-child p { color: rgba(255, 255, 255, .72); max-width: 420px; font-size: 1.02rem; }
.feature__ic {
  width: 46px; height: 46px; border-radius: 14px; margin-bottom: 18px; display: inline-flex; align-items: center; justify-content: center;
  background: var(--brand-50); color: var(--brand); transition: transform .35s var(--ease);
}
.feature:first-child .feature__ic { background: var(--grad); color: #fff; }
.feature:hover .feature__ic { transform: rotate(-6deg) scale(1.06); }
.feature__ic .ic { width: 22px; height: 22px; }
.feature h3 { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 1.1rem; margin-bottom: 8px; letter-spacing: -.015em; }
.feature p { font-size: .94rem; color: var(--ink-2); }
.badge-new { padding: 2px 9px; border-radius: 999px; background: var(--amber-50); color: #9A6200; font-size: .66rem; font-weight: 900; letter-spacing: .04em; text-transform: uppercase; }

/* Integrations: logo grid */
.logos { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; max-width: 800px; margin-inline: auto; }
.logos li {
  width: 140px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  padding: 24px 12px 18px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line);
  transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.logos li:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(91, 71, 251, .35); }
.logos svg { width: 40px; height: 40px; transition: transform .3s var(--ease); }
.logos li:hover svg { transform: scale(1.08); }
.logos span { font-size: .88rem; font-weight: 700; color: var(--ink-2); text-align: center; line-height: 1.3; }
.logos small { display: block; font-size: .72rem; font-weight: 600; color: rgba(255, 255, 255, .65); }
.logos__more { background: var(--grad) !important; border: 0 !important; color: #fff; }
.logos__more span { color: #fff; }

/* Post cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  position: relative; display: flex; flex-direction: column; overflow: hidden; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s, border-color .35s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(91, 71, 251, .3); }
.card__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--alt); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.card:hover .card__media img { transform: scale(1.05); }
.card__ph { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; color: rgba(255, 255, 255, .9); background: var(--grad); }
.card__ph .ic { width: 42px; height: 42px; }
.card__body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 24px; }
.card__meta { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-bottom: 12px; font-size: .8rem; color: var(--muted); }
.card__meta > span:not(.tag) { display: inline-flex; align-items: center; gap: 5px; }
.card__title { font-size: 1.15rem; line-height: 1.35; letter-spacing: -.015em; margin-bottom: 10px; }
.card__title a::after { content: ""; position: absolute; inset: 0; }
.card__title a:focus-visible { outline: none; }
.card:focus-within { outline: 3px solid var(--brand); outline-offset: 3px; }
.card__excerpt { flex: 1; font-size: .93rem; color: var(--ink-2); margin-bottom: 18px; }
.card__more { display: inline-flex; align-items: center; gap: 8px; color: var(--brand); font-weight: 800; font-size: .9rem; }
.card__more .ic { transition: transform .3s var(--ease); }
.card:hover .card__more .ic { transform: translateX(4px); }
[dir="rtl"] .card:hover .card__more .ic { transform: scaleX(-1) translateX(4px); }

/* Pricing */
.periods { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; width: fit-content; max-width: 100%; margin: -16px auto 40px; padding: 5px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); }
.periods button { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 8px 18px; border: 0; border-radius: 999px; background: none; color: var(--ink-2); font-weight: 800; font-size: .9rem; transition: background-color .2s, color .2s; }
.periods button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.periods__off { padding: 2px 8px; border-radius: 999px; background: var(--mint-50); color: #08795C; font-size: .7rem; }
.periods button[aria-pressed="true"] .periods__off { background: var(--mint); color: #fff; }

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; max-width: 1080px; margin-inline: auto; }
.plan {
  position: relative; display: flex; flex-direction: column; padding: 30px 28px; border-radius: var(--radius-lg);
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.plan--featured {
  color: #fff; background: linear-gradient(var(--dark), var(--dark)) padding-box, var(--grad) border-box;
  border: 2px solid transparent; box-shadow: 0 30px 60px -24px rgba(91, 71, 251, .55);
}
@media (min-width: 900px) { .plan--featured { transform: translateY(-12px); } }
.plan__badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); padding: 6px 14px; border-radius: 999px; background: var(--grad); color: #fff; font-size: .75rem; font-weight: 900; white-space: nowrap; box-shadow: 0 8px 20px -8px rgba(91, 71, 251, .8); }
.plan__name { font-size: 1.25rem; margin-bottom: 14px; }
.plan--featured .plan__name { color: #fff; }
.plan__period { display: none; flex-direction: column; }
#pricing[data-active="1"] [data-period~="1"], #pricing[data-active="3"] [data-period~="3"],
#pricing[data-active="6"] [data-period~="6"], #pricing[data-active="12"] [data-period~="12"] { display: flex; }
.plan__price { display: flex; flex-direction: column; margin-bottom: 18px; }
.plan__price b { font-size: 2.8rem; font-weight: 900; letter-spacing: -.04em; line-height: 1.05; }
.plan__price small { font-size: .85rem; color: var(--muted); margin-top: 4px; }
.plan--featured .plan__price small { color: rgba(255, 255, 255, .65); }
.plan__was { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; font-size: .95rem; color: var(--muted); }
.plan__save { padding: 2px 10px; border-radius: 999px; background: #FFE4EA; color: #C2183F; font-size: .72rem; font-weight: 900; }
.plan__credits { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 6px; padding: 14px 16px; border-radius: 14px; background: var(--bg); font-size: .9rem; font-weight: 700; }
.plan__credits b { font-size: 1.3rem; font-weight: 900; color: var(--brand); }
.plan__credits span { flex-basis: 100%; font-size: .84rem; color: var(--ink-2); font-weight: 600; }
.plan--featured .plan__credits { background: rgba(255, 255, 255, .07); }
.plan--featured .plan__credits b { color: #B3A8FF; }
.plan--featured .plan__credits span { color: rgba(255, 255, 255, .75); }
.plan__unit { margin: 12px 0 22px; font-size: .8rem; font-weight: 700; color: var(--muted); }
.plan--featured .plan__unit { color: rgba(255, 255, 255, .6); }
.plan__features { list-style: none; display: grid; gap: 12px; flex: 1; margin-bottom: 28px; padding-top: 22px; border-top: 1px solid var(--line); }
.plan--featured .plan__features { border-color: rgba(255, 255, 255, .12); }
.plan__features li { display: flex; gap: 10px; font-size: .92rem; color: var(--ink-2); }
.plan--featured .plan__features li { color: rgba(255, 255, 255, .85); }
.plan__features .ic { width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: var(--mint-50); color: #08A57E; stroke-width: 3; margin-top: 1px; }
.plan--featured .plan__features .ic { background: rgba(16, 201, 154, .2); color: #6EE7C8; }

/* CTA */
.cta {
  position: relative; overflow: hidden; isolation: isolate; padding: clamp(48px, 7vw, 88px) clamp(24px, 6vw, 72px);
  border-radius: var(--radius-lg); background: var(--dark); color: #fff; text-align: center;
}
.cta__glow { position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(500px 300px at 15% 0%, rgba(91, 71, 251, .6), transparent 65%),
  radial-gradient(500px 300px at 85% 100%, rgba(16, 201, 154, .35), transparent 65%); }
.cta h2 { color: #fff; font-size: clamp(1.9rem, 4vw, 3rem); max-width: 720px; margin: 0 auto 16px; }
.cta p { max-width: 600px; margin: 0 auto 32px; color: rgba(255, 255, 255, .74); font-size: 1.08rem; }
.cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq__item { border-radius: 18px; background: var(--surface); border: 1px solid var(--line); transition: border-color .25s, box-shadow .25s; }
.faq__item[open] { border-color: rgba(91, 71, 251, .35); box-shadow: var(--shadow); }
.faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; cursor: pointer; list-style: none; font-weight: 800; font-size: 1.04rem; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary .ic { width: 20px; height: 20px; color: var(--brand); transition: transform .25s var(--ease); }
.faq__item[open] summary .ic { transform: rotate(180deg); }
.faq__a { padding: 0 22px 22px; color: var(--ink-2); }

/* =========================================================
   7. Page templates
   ========================================================= */
.page-hero { padding: clamp(56px, 8vw, 96px) 0 clamp(40px, 5vw, 56px); text-align: center; }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); margin-bottom: 16px; }
.page-hero p { font-size: 1.12rem; color: var(--ink-2); }
.notfound__code { font-size: clamp(6rem, 18vw, 11rem); font-weight: 900; line-height: 1; letter-spacing: -.06em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 12px; }

.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 56px; }
.pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 12px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); font-weight: 700; }
.pagination a.page-numbers:hover { border-color: var(--brand); color: var(--brand); }
.pagination .current { background: var(--ink); border-color: var(--ink); color: #fff; }
.pagination .dots { background: none; border: 0; }

.empty { display: grid; justify-items: center; gap: 14px; padding: 64px 24px; border-radius: var(--radius-lg); background: var(--surface); border: 1px dashed var(--line); text-align: center; color: var(--muted); }
.empty > .ic { width: 40px; height: 40px; color: var(--brand); }
.search-form { display: flex; gap: 8px; }
.search-form .search-field { min-height: 44px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line); background: #fff; }
.search-form .search-submit { min-height: 44px; padding: 0 18px; border-radius: 12px; border: 0; background: var(--brand); color: #fff; font-weight: 700; }

/* Article */
.article__head { padding: clamp(40px, 6vw, 72px) 0 32px; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin-bottom: 22px; font-size: .85rem; color: var(--muted); }
.crumbs li:not(:last-child)::after { content: "/"; margin-inline-start: 6px; opacity: .5; }
.crumbs a:hover { color: var(--brand); }
.crumbs [aria-current] { color: var(--ink-2); }
.article__title { font-size: clamp(2rem, 4.6vw, 3.2rem); line-height: 1.12; margin: 14px 0 16px; }
.article__lede { font-size: 1.2rem; color: var(--ink-2); margin-bottom: 18px; }
.article__meta { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: .9rem; color: var(--muted); }
.article__meta span { display: inline-flex; align-items: center; gap: 6px; }
.article__cover { margin-top: 0; margin-bottom: 48px; }
.article__cover img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.article__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 40px; }
.article__tags a { padding: 6px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: .85rem; font-weight: 600; }
.article__tags a:hover { border-color: var(--brand); color: var(--brand); }
.article__cta { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin: 48px 0 80px; padding: 26px 28px; border-radius: var(--radius); background: var(--dark); color: #fff; }
.article__cta p { color: rgba(255, 255, 255, .7); font-size: .95rem; }
.edit-link { margin: 32px 0 64px; font-size: .9rem; }
.edit-link a { color: var(--brand); }

.toc { margin-bottom: 40px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.toc summary { display: flex; align-items: center; gap: 10px; padding: 18px 22px; cursor: pointer; list-style: none; font-weight: 800; }
.toc summary::-webkit-details-marker { display: none; }
.toc summary .ic { color: var(--brand); }
.toc summary .ic:last-child { margin-inline-start: auto; transition: transform .25s; }
.toc details[open] summary .ic:last-child { transform: rotate(180deg); }
.toc ol { padding: 0 22px 20px; padding-inline-start: 46px; display: grid; gap: 8px; color: var(--ink-2); }
.toc a:hover { color: var(--brand); }

/* Long-form content */
.prose { font-size: 1.12rem; line-height: 1.8; color: var(--ink-2); overflow-wrap: break-word; }
.prose > * + * { margin-top: 1.25em; }
.prose h2 { font-size: clamp(1.5rem, 3vw, 1.9rem); margin-top: 2.2em; letter-spacing: -.02em; line-height: 1.25; }
.prose h3 { font-size: 1.35rem; margin-top: 1.8em; letter-spacing: -.015em; line-height: 1.3; }
.prose h4 { font-size: 1.12rem; margin-top: 1.6em; }
.prose h2 + *, .prose h3 + * { margin-top: .7em; }
.prose strong { color: var(--ink); }
.prose a { color: var(--brand); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose a:hover { text-decoration-thickness: 2px; }
.prose ul, .prose ol { padding-inline-start: 1.4em; }
.prose li + li { margin-top: .4em; }
.prose li::marker { color: var(--brand); }
.prose img, .prose video, .prose iframe { border-radius: 16px; max-width: 100%; }
.prose figure { margin-inline: 0; }
.prose figcaption, .wp-caption-text, .gallery-caption { margin-top: .6em; font-size: .88rem; color: var(--muted); text-align: center; }
.prose blockquote { margin-inline: 0; padding: 18px 22px; border-inline-start: 4px solid var(--brand); border-radius: 14px; background: var(--brand-50); color: var(--ink); font-size: 1.15rem; }
.prose hr { border: 0; height: 1px; background: var(--line); margin-block: 2.5em; }
.prose table { width: 100%; border-collapse: collapse; display: block; overflow-x: auto; font-size: .95rem; }
.prose th, .prose td { padding: .75em 1em; border: 1px solid var(--line); text-align: start; }
.prose th { background: var(--alt); color: var(--ink); }
.prose code { padding: .15em .4em; border-radius: 6px; background: var(--alt); font-family: var(--mono); font-size: .88em; }
.prose pre { padding: 18px 20px; border-radius: 14px; background: var(--dark); color: #E6E4FF; overflow-x: auto; font-size: .9rem; direction: ltr; text-align: left; }
.prose pre code { padding: 0; background: none; }
.page-links { margin-top: 32px; display: flex; gap: 8px; font-weight: 700; }

/* WordPress core alignment classes */
.alignleft { float: left; margin: .4em 1.5em 1em 0; }
.alignright { float: right; margin: .4em 0 1em 1.5em; }
.aligncenter { margin-inline: auto; }
.alignwide { margin-inline: min(-80px, -5vw); max-width: calc(100% + 160px); }
.alignfull { margin-inline: calc(50% - 50vw); max-width: 100vw; width: 100vw; border-radius: 0; }
.wp-caption { max-width: 100%; }
.sticky, .bypostauthor { position: relative; }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1.4fr; gap: 28px; align-items: start; padding-bottom: 96px; }
.contact__info { display: grid; gap: 14px; }
.contact__card { display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); transition: border-color .2s, transform .2s; }
.contact__card:hover { border-color: var(--brand); transform: translateY(-2px); }
.contact__card .feature__ic { margin: 0; }
.contact__card small { display: block; color: var(--muted); font-size: .8rem; font-weight: 700; }
.contact__card b { font-size: 1rem; word-break: break-all; }
.form-card { padding: clamp(24px, 4vw, 40px); border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.form { display: grid; gap: 18px; }
.form__row { display: grid; gap: 8px; }
.form__row label { font-weight: 800; font-size: .9rem; }
.form input, .form textarea {
  width: 100%; padding: 13px 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg);
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.form textarea { resize: vertical; min-height: 140px; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--brand); background: #fff; box-shadow: 0 0 0 4px rgba(91, 71, 251, .14); }
.form ::placeholder { color: #A2A6C2; }

/* Legal */
.legal { display: grid; gap: 16px; padding-bottom: 96px; }
.legal__item { padding: 26px 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.legal__item h2 { display: flex; align-items: center; gap: 12px; font-size: 1.2rem; margin-bottom: 12px; letter-spacing: -.01em; }
.legal__item h2 span { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 10px; background: var(--brand-50); color: var(--brand); font-size: .9rem; flex-shrink: 0; }
.legal .prose { font-size: 1rem; }

/* =========================================================
   8. Footer
   ========================================================= */
.site-footer { margin-top: clamp(40px, 6vw, 72px); padding: 72px 0 28px; background: var(--dark); color: rgba(255, 255, 255, .7); }
.site-footer .brand__name { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px; }
.footer-brand p { margin: 18px 0; max-width: 340px; font-size: .95rem; }
.footer-contact { list-style: none; display: grid; gap: 8px; }
.footer-contact a { display: inline-flex; align-items: center; gap: 8px; font-size: .92rem; color: #fff; }
.footer-contact a:hover { color: #B3A8FF; }
.footer-title { margin-bottom: 16px; color: #fff; font-weight: 800; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; }
:root[lang^="ar"] .footer-title { letter-spacing: 0; }
.footer-links { list-style: none; display: grid; gap: 10px; font-size: .95rem; }
.footer-links a:hover { color: #fff; }
.footer-cta p:not(.footer-title) { margin-bottom: 18px; font-size: .95rem; }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .86rem; }
.footer-langs { display: flex; flex-wrap: wrap; gap: 6px 14px; }
.footer-langs a:hover, .footer-langs [aria-current] { color: #fff; }

/* =========================================================
   9. Motion
   ========================================================= */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
/* Hero text is the LCP element: it renders immediately, never fades in. Menus pop with transform only, so they can't stay invisible. */
@keyframes rise { from { opacity: 0; transform: translateY(22px); } }
@keyframes pop { from { transform: translateY(-6px) scale(.98); } }
@keyframes float { 50% { transform: translateY(-10px); } }
@keyframes pulse { 100% { box-shadow: 0 0 0 10px rgba(16, 201, 154, 0); } }
@keyframes blink { 50% { opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* =========================================================
   10. Responsive
   ========================================================= */
@media (max-width: 1099px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1023px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__copy { text-align: center; }
  .hero__lead { margin-inline: auto; }
  .hero__ctas, .hero__trust { justify-content: center; }
  .hero__visual { max-width: 600px; margin-inline: auto; width: 100%; }
  .mock { --tilt: 0deg; transform: none; }
  .features, .cards { grid-template-columns: repeat(2, 1fr); }
  .plans { grid-template-columns: 1fr; max-width: 480px; }
  .plan--featured { order: -1; }
  .contact { grid-template-columns: 1fr; }
  .alignwide { margin-inline: 0; max-width: 100%; }
}
@media (max-width: 680px) {
  body { font-size: 15.5px; }
  .hero { margin: 0; border-radius: 0 0 var(--radius-lg) var(--radius-lg); }
  .hero .btn--lg { width: 100%; }
  .float { font-size: .72rem; padding: 8px 10px; }
  .float__ic { width: 28px; height: 28px; }
  .float--a { inset-inline-end: 6px; }
  .float--b { inset-inline-start: 6px; bottom: 12%; }
  .float--c { display: none; }
  .kpis { gap: 6px; }
  .kpi { padding: 9px; }
  .kpi b { font-size: 1.05rem; }
  .mock__body { padding: 12px; }
  .mock__grid { grid-template-columns: 1fr; }
  .mock__grid .panel:last-child { display: none; }
  .steps, .features, .cards { grid-template-columns: 1fr; }
  .logos { gap: 10px; }
  .logos li { width: calc(33.333% - 7px); padding: 18px 6px 14px; }
  .logos svg { width: 32px; height: 32px; }
  .feature:first-child { grid-column: auto; }
  .section-head--row { align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .article__cta { flex-direction: column; align-items: flex-start; }
  .legal__item { padding: 22px 20px; }
  .alignleft, .alignright { float: none; margin: 1em 0; }
}
