/* Landing page. The hero is always dark (like the booth wall); everything else
   follows the light/dark tokens below. Logo colours are the --logo-* tokens, the
   same values as app/static/dashboard/style.css: change them in both places. */
:root {
  --bg: #F5F7FB;
  --surface: #FFFFFF;
  --surface-2: #EDF1F7;
  --fg: #0E1726;
  --muted: #5A6571;
  --line: #DDE3EC;
  --accent: #1C5BC9;
  --header-bg: rgb(245 247 251 / 0.82);
  --menu-shadow: 0 18px 40px -12px rgb(11 18 32 / 0.22);
  --cta-from: #1F5FE0;
  --cta-to: #0B7F84;
  --cta-glow: rgb(31 95 224 / 0.45);
  --card-shadow: 0 1px 2px rgb(11 18 32 / 0.04), 0 16px 36px -20px rgb(11 18 32 / 0.18);
  --live: #0B7F84; --live-bg: rgb(14 158 153 / 0.10);
  --flag: #9A5B00; --flag-bg: rgb(245 166 35 / 0.18);
  --rec: #E5484D;
  --error: #C42B31; --error-bg: rgb(196 43 49 / 0.06);
  --logo-c1: #1F5FE0; --logo-c2: #1786D6; --logo-c3: #0E9E99;
  --logo-c4: #2A8FC4; --logo-c5: #5462E6; --logo-c6: #7A4BE0;
  --logo-spark: #0E9E99;
  --logo-eye-1: #FFFFFF; --logo-eye-2: #39C6C0; --logo-eye-3: #1F5FE0; --logo-eye-4: #4A2BC4;

  --font-en: "IBM Plex Sans", "Vazirmatn", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-fa: "Vazirmatn", "IBM Plex Sans", system-ui, sans-serif;
  --font-body: var(--font-en);
  --header-h: 64px;
  --gutter: max(16px, env(safe-area-inset-left), env(safe-area-inset-right));
  /* Gradients run with the reading direction. */
  --flow: to right;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0B1018; --surface: #121A24; --surface-2: #1A2430; --fg: #E5EAF0; --muted: #9AA6B2; --line: #253140;
    --accent: #74A6FF; --header-bg: rgb(11 16 24 / 0.78); --menu-shadow: 0 18px 40px -12px rgb(0 0 0 / 0.6);
    --cta-glow: rgb(61 123 255 / 0.5);
    --card-shadow: inset 0 1px 0 rgb(255 255 255 / 0.03), 0 20px 44px -24px rgb(0 0 0 / 0.7);
    --live: #7FE9E4; --live-bg: rgb(24 198 192 / 0.13); --flag: #FFC56B; --flag-bg: rgb(255 186 73 / 0.16); --rec: #FF6369;
    --error: #FF8A8F; --error-bg: rgb(255 99 105 / 0.10);
    --logo-c1: #3D7BFF; --logo-c2: #2A9EF0; --logo-c3: #18C6C0; --logo-c4: #45B8E8; --logo-c5: #7486FF; --logo-c6: #9B6BFF;
    --logo-spark: #FFFFFF; --logo-eye-1: #FFFFFF; --logo-eye-2: #7FE9E4; --logo-eye-3: #3D7BFF; --logo-eye-4: #5B3BD6;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0B1018; --surface: #121A24; --surface-2: #1A2430; --fg: #E5EAF0; --muted: #9AA6B2; --line: #253140;
  --accent: #74A6FF; --header-bg: rgb(11 16 24 / 0.78); --menu-shadow: 0 18px 40px -12px rgb(0 0 0 / 0.6);
  --cta-glow: rgb(61 123 255 / 0.5);
  --card-shadow: inset 0 1px 0 rgb(255 255 255 / 0.03), 0 20px 44px -24px rgb(0 0 0 / 0.7);
  --live: #7FE9E4; --live-bg: rgb(24 198 192 / 0.13); --flag: #FFC56B; --flag-bg: rgb(255 186 73 / 0.16); --rec: #FF6369;
  --error: #FF8A8F; --error-bg: rgb(255 99 105 / 0.10);
  --logo-c1: #3D7BFF; --logo-c2: #2A9EF0; --logo-c3: #18C6C0; --logo-c4: #45B8E8; --logo-c5: #7486FF; --logo-c6: #9B6BFF;
  --logo-spark: #FFFFFF; --logo-eye-1: #FFFFFF; --logo-eye-2: #7FE9E4; --logo-eye-3: #3D7BFF; --logo-eye-4: #5B3BD6;
  color-scheme: dark;
}
:root[lang="fa"] { --font-body: var(--font-fa); }
:root[dir="rtl"] { --flow: to left; }

* { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
html, body { margin: 0; }
body {
  background: var(--bg);
  color: var(--fg);
  font: 16px/1.6 var(--font-body);
  min-height: 100vh;
  min-height: 100dvh;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  text-rendering: optimizeLegibility;
}
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
#landing:focus { outline: none; }
.icon { width: 20px; height: 20px; flex: none; }

.skip-link {
  position: absolute; inset-inline-start: 16px; top: 8px; z-index: 50;
  padding: 10px 16px; border-radius: 10px; background: var(--surface); color: var(--fg);
  text-decoration: none; font-weight: 600;
  transform: translateY(calc(-100% - 16px));
}
.skip-link:focus { transform: none; box-shadow: var(--menu-shadow); }

/* ---------- Buttons ---------- */

.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 20px; border-radius: 999px; border: 1px solid transparent;
  font-size: 15px; font-weight: 600; line-height: 1.2; text-decoration: none; white-space: nowrap;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background-color 0.2s ease, filter 0.2s ease;
}
.button-primary {
  color: #FFFFFF;
  background: linear-gradient(var(--flow), var(--cta-from), var(--cta-to));
  box-shadow: 0 8px 22px -8px var(--cta-glow), inset 0 1px 0 rgb(255 255 255 / 0.2);
}
.button-primary:hover { filter: brightness(1.08) saturate(1.1); box-shadow: 0 12px 30px -8px var(--cta-glow), inset 0 1px 0 rgb(255 255 255 / 0.24); }
.button-large { min-height: 52px; padding: 0 28px; font-size: 16px; }
@media (prefers-reduced-motion: no-preference) {
  .button:hover { transform: translateY(-1px); }
  .button:active { transform: none; }
}
.icon-button {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; padding: 0; border: 0; border-radius: 12px;
  background: transparent; color: var(--muted); cursor: pointer;
  transition: background-color 0.15s, color 0.15s;
}
.icon-button:hover { background: var(--surface-2); color: var(--fg); }

/* ---------- Header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 20;
  height: var(--header-h);
  display: flex; align-items: center; gap: 8px;
  padding: 0 var(--gutter);
  background: var(--header-bg);
  -webkit-backdrop-filter: saturate(1.6) blur(16px);
  backdrop-filter: saturate(1.6) blur(16px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
}

/* The wordmark: the maker name quiet, the product name bold, with RIS in caps and the accent colour. */
.brand {
  display: flex; align-items: center; gap: 6px; flex: none;
  min-height: 44px; padding-inline-end: 4px;
  font-size: 20px; font-weight: 600; letter-spacing: -0.01em; line-height: 1;
  color: var(--fg); text-decoration: none; white-space: nowrap;
  font-family: var(--font-en);
}
.brand-logo { display: block; width: 30px; height: 30px; margin-right: 4px; }
.brand-maker { font-weight: 400; color: var(--muted); }
.brand-product { font-weight: 600; }
.brand-ris { color: var(--accent); letter-spacing: 0.04em; }

.site-nav { display: flex; align-items: center; gap: 8px; flex: 1; min-width: 0; margin-inline-start: 20px; }
.nav-links { display: flex; gap: 2px; margin: 0; padding: 0; list-style: none; }
.nav-links a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 10px;
  color: var(--muted); font-size: 15px; font-weight: 500; text-decoration: none; white-space: nowrap;
  transition: color 0.15s, background-color 0.15s;
}
.nav-links a:hover { color: var(--fg); background: var(--surface-2); }
.nav-tools { display: flex; align-items: center; gap: 4px; margin-inline-start: auto; }

.lang-switch { display: inline-flex; align-items: center; }
.lang-switch button {
  min-width: 44px; min-height: 44px; padding: 0 6px; border: 0; border-radius: 10px;
  background: transparent; color: var(--muted); cursor: pointer;
  font-size: 14px; font-weight: 600; letter-spacing: 0.04em;
}
.lang-switch button[lang="fa"] { font-family: var(--font-fa); font-size: 15px; letter-spacing: 0; }
.lang-switch button:hover { color: var(--fg); }
.lang-switch button[aria-pressed="true"] { color: var(--fg); text-decoration: underline 2px var(--accent); text-underline-offset: 6px; }
.lang-sep { color: var(--line); user-select: none; }

.icon-sun, .icon-close { display: none; }
:root[data-theme="dark"] .icon-sun { display: block; }
:root[data-theme="dark"] .icon-moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .icon-sun { display: block; }
  :root:not([data-theme="light"]) .icon-moon { display: none; }
}

.dashboard-link {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px;
  border: 1px solid var(--line); border-radius: 999px;
  color: var(--fg); font-size: 15px; font-weight: 500; text-decoration: none; white-space: nowrap;
  transition: background-color 0.15s, border-color 0.15s;
}
.dashboard-link .icon { width: 18px; height: 18px; color: var(--muted); }
.dashboard-link:hover { background: var(--surface-2); }
.header-cta { flex: none; margin-inline-start: 4px; }
.menu-button { display: none; flex: none; }
.menu-button[aria-expanded="true"] .icon-menu { display: none; }
.menu-button[aria-expanded="true"] .icon-close { display: block; }

/* Between phone and desktop the header is tight: trim the spacing. */
@media (min-width: 768px) and (max-width: 1023px) {
  .site-nav { margin-inline-start: 8px; gap: 0; }
  .nav-links a { padding: 0 8px; }
  .nav-tools { gap: 0; }
  .dashboard-link { padding: 0 12px; }
  .dashboard-link .icon { display: none; }
  .header-cta { padding: 0 16px; }
}

/* Phones: logo, "Request a demo" and a menu button; the rest opens as a panel. */
@media (max-width: 767px) {
  .menu-button { display: inline-flex; margin-inline-end: -8px; }
  .header-cta { margin-inline-start: auto; padding: 0 16px; font-size: 14px; }
  .site-nav {
    display: none;
    position: absolute; top: 100%; inset-inline: 0;
    flex-direction: column; align-items: stretch; gap: 0; margin: 0;
    padding: 8px var(--gutter) 16px;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--menu-shadow);
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
  }
  .site-header[data-open] .site-nav { display: flex; }
  .nav-links { flex-direction: column; }
  .nav-links a { min-height: 52px; padding: 0 8px; color: var(--fg); font-size: 17px; }
  .nav-tools {
    flex-wrap: wrap; gap: 8px; margin: 8px 0 0; padding-top: 12px;
    border-top: 1px solid var(--line);
  }
  .dashboard-link { margin-inline-start: auto; }
}
/* The phone header must hold logo + button + menu in 343px. */
@media (max-width: 389px) {
  .brand { font-size: 18px; gap: 5px; }
  .brand-logo { width: 26px; height: 26px; margin-right: 2px; }
  .header-cta { padding: 0 12px; }
}

/* ---------- Logo (inlined by landing.js into every [data-logo] slot) ---------- */

[data-logo] svg { display: block; width: 100%; height: 100%; overflow: visible; }
[data-logo] .logo-c1 { stop-color: var(--logo-c1); }
[data-logo] .logo-c2 { stop-color: var(--logo-c2); }
[data-logo] .logo-c3 { stop-color: var(--logo-c3); }
[data-logo] .logo-c4 { stop-color: var(--logo-c4); }
[data-logo] .logo-c5 { stop-color: var(--logo-c5); }
[data-logo] .logo-c6 { stop-color: var(--logo-c6); }
[data-logo] .logo-cap-start { fill: var(--logo-c1); }
[data-logo] .logo-cap-end { fill: var(--logo-c6); }
[data-logo] .logo-spark { fill: var(--logo-spark); }
[data-logo] .logo-eye-1 { stop-color: var(--logo-eye-1); }
[data-logo] .logo-eye-2 { stop-color: var(--logo-eye-2); }
[data-logo] .logo-eye-3 { stop-color: var(--logo-eye-3); }
[data-logo] .logo-eye-4 { stop-color: var(--logo-eye-4); }
[data-logo] img { display: block; width: 100%; height: 100%; }

/* ---------- Hero (always dark) ---------- */

.hero {
  /* The dark logo palette, whatever the page theme. */
  --logo-c1: #3D7BFF; --logo-c2: #2A9EF0; --logo-c3: #18C6C0; --logo-c4: #45B8E8; --logo-c5: #7486FF; --logo-c6: #9B6BFF;
  --logo-spark: #FFFFFF; --logo-eye-1: #FFFFFF; --logo-eye-2: #7FE9E4; --logo-eye-3: #3D7BFF; --logo-eye-4: #5B3BD6;
  --hero-fg: #F2F6FC;
  --hero-muted: rgb(214 224 240 / 0.76);
  --hero-faint: rgb(214 224 240 / 0.52);
  --cta-glow: rgb(61 123 255 / 0.55);
  --accent: #7FE9E4;
  color-scheme: dark;

  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  min-height: min(880px, calc(100svh - var(--header-h) - 24px));
  margin: 12px;
  /* Sized by height as well as width, so the whole hero fits a laptop screen. */
  padding: clamp(40px, 7vh, 104px) 20px clamp(40px, 6vh, 88px);
  border-radius: 28px;
  background: #060B14;
  color: var(--hero-fg);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.06), inset 0 0 0 1px rgb(255 255 255 / 0.04);
}
.hero-backdrop {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(42% 46% at 50% 24%, rgb(61 123 255 / 0.30), transparent 70%),
    radial-gradient(38% 42% at 88% 82%, rgb(155 107 255 / 0.20), transparent 72%),
    radial-gradient(36% 40% at 10% 86%, rgb(24 198 192 / 0.16), transparent 72%),
    radial-gradient(130% 95% at 50% 0%, #13223F 0%, #0A1222 45%, #060B14 75%);
}
/* A faint dot field, fading out from the centre: precise and technical, not busy. */
.hero-backdrop::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgb(255 255 255 / 0.10) 1px, transparent 1.4px);
  background-size: 26px 26px;
  background-position: center;
  -webkit-mask-image: radial-gradient(ellipse 62% 58% at 50% 38%, #000 20%, transparent 78%);
  mask-image: radial-gradient(ellipse 62% 58% at 50% 38%, #000 20%, transparent 78%);
}
/* A bright hairline along the top edge, like light catching glass. */
.hero-backdrop::after {
  content: ""; position: absolute; inset: 0 12% auto; height: 1px;
  background: linear-gradient(var(--flow), transparent, rgb(127 233 228 / 0.55), rgb(116 134 255 / 0.55), transparent);
}

.hero-inner {
  position: relative;
  width: 100%; max-width: 1040px;
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
}

.hero-logo {
  position: relative;
  width: clamp(112px, min(17vw, 17vh), 184px); aspect-ratio: 1;
  margin-bottom: clamp(24px, 4vh, 40px);
}
.hero-logo svg { filter: drop-shadow(0 0 22px rgb(61 123 255 / 0.5)) drop-shadow(0 0 6px rgb(24 198 192 / 0.35)); }
/* The glow behind the logo, and two faint orbits that echo the iris. */
.hero-logo::before {
  content: ""; position: absolute; inset: -55%; z-index: -1; border-radius: 50%;
  background: radial-gradient(closest-side, rgb(61 123 255 / 0.38), rgb(122 75 224 / 0.14) 55%, transparent 100%);
}
.hero-logo::after {
  content: ""; position: absolute; inset: -42%; z-index: -1; border-radius: 50%;
  border: 1px solid rgb(255 255 255 / 0.07);
  outline: 1px solid rgb(255 255 255 / 0.035);
  outline-offset: clamp(36px, 6vw, 72px);
  pointer-events: none;
}
.logo-shimmer { fill: none; stroke: #FFFFFF; stroke-linecap: round; pointer-events: none; }
.logo-shimmer-wide { stroke-width: 10; stroke-opacity: 0.32; stroke-dasharray: 18 200; stroke-dashoffset: 21; }
.logo-shimmer-core { stroke-width: 3.5; stroke-opacity: 0.8; stroke-dasharray: 8 200; stroke-dashoffset: 16; }
@media (prefers-reduced-motion: no-preference) {
  .logo-shimmer-wide { animation: shimmer-wide 7s cubic-bezier(0.45, 0, 0.55, 1) 1.2s infinite; }
  .logo-shimmer-core { animation: shimmer-core 7s cubic-bezier(0.45, 0, 0.55, 1) 1.2s infinite; }
  .hero-logo::before { animation: breathe 7s ease-in-out infinite alternate; }
}
@media (prefers-reduced-motion: reduce) {
  .logo-shimmer { display: none; }
}
/* pathLength is 100; the dashes start and end just off the ribbon, so it rests unlit. */
@keyframes shimmer-wide { 0% { stroke-dashoffset: 21; } 60%, 100% { stroke-dashoffset: -103; } }
@keyframes shimmer-core { 0% { stroke-dashoffset: 16; } 60%, 100% { stroke-dashoffset: -108; } }
@keyframes breathe { from { opacity: 0.75; transform: scale(0.97); } to { opacity: 1; transform: scale(1.03); } }

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0 0 clamp(16px, 2.6vh, 24px); padding: 7px 16px 7px 14px;
  border: 1px solid rgb(127 233 228 / 0.24); border-radius: 999px;
  background: rgb(24 198 192 / 0.08);
  color: #7FE9E4;
  font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; line-height: 1.3;
}
.eyebrow-spark { width: 9px; height: 13px; fill: currentColor; flex: none; }

.hero-title {
  margin: 0;
  font-size: clamp(40px, min(7vw, 9vh), 80px);
  font-weight: 700; line-height: 1.04; letter-spacing: -0.035em;
  text-wrap: balance;
}
.hero-title > span:first-child { display: block; }
.hero-title-glow {
  display: inline-block;
  padding-bottom: 0.08em;
  background: linear-gradient(var(--flow), #5B8CFF 0%, #18C6C0 48%, #A57BFF 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.hero-subtitle {
  max-width: 40em;
  margin: 22px 0 0;
  color: var(--hero-muted);
  font-size: clamp(17px, 1.9vw, 20px); line-height: 1.6;
  text-wrap: pretty;
}

.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: clamp(28px, 4.4vh, 40px); }
.button-ghost {
  color: var(--hero-fg);
  background: rgb(255 255 255 / 0.06);
  border-color: rgb(255 255 255 / 0.16);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.button-ghost:hover { background: rgb(255 255 255 / 0.11); border-color: rgb(255 255 255 / 0.26); }
.button-ghost .icon { width: 18px; height: 18px; opacity: 0.8; }
:root[dir="rtl"] .icon-forward { transform: scaleX(-1); }

/* Module chips, in journey order. The state comes from MODULE_STATUS (landing.js). */
.module-chips {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px;
  margin: clamp(32px, 5vh, 56px) 0 0; padding: 0; list-style: none;
}
.module-chip {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 38px; padding: 0 13px;
  border: 1px solid rgb(255 255 255 / 0.09); border-radius: 999px;
  background: rgb(255 255 255 / 0.04);
  color: var(--hero-muted);
  font-size: 13.5px; font-weight: 500; line-height: 1.2; white-space: nowrap;
}
.chip-dot { width: 7px; height: 7px; flex: none; border-radius: 50%; border: 1.5px solid rgb(214 224 240 / 0.4); }
.chip-status {
  padding-inline-start: 8px; border-inline-start: 1px solid rgb(255 255 255 / 0.12);
  color: var(--hero-faint);
  font-size: 11.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
}
.chip-status > span { display: none; }
.module-chip[data-state="available"] .status-available,
.module-chip[data-state="soon"] .status-soon { display: inline; }
.module-chip[data-state="available"] {
  border-color: rgb(24 198 192 / 0.5);
  background: rgb(24 198 192 / 0.12);
  color: #EAFBFA;
  box-shadow: 0 0 28px -6px rgb(24 198 192 / 0.55);
}
.module-chip[data-state="available"] .chip-dot { border: 0; background: #18C6C0; box-shadow: 0 0 0 0 rgb(24 198 192 / 0.6); }
.module-chip[data-state="available"] .chip-status { color: #7FE9E4; border-color: rgb(127 233 228 / 0.3); }
@media (prefers-reduced-motion: no-preference) {
  .module-chip[data-state="available"] .chip-dot { animation: pulse 2.4s ease-out infinite; }
}
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgb(24 198 192 / 0.6); } 70%, 100% { box-shadow: 0 0 0 7px rgb(24 198 192 / 0); } }

@media (max-width: 767px) {
  .hero { margin: 8px; border-radius: 22px; padding-inline: 16px; }
  .module-chips { gap: 8px; }
  .module-chip { font-size: 13px; padding: 0 12px; }
}
@media (max-width: 479px) {
  .hero-actions { flex-direction: column; align-self: stretch; }
  .hero-actions .button { width: 100%; }
}

/* ---------- Persian ---------- */

/* Persian letters join: never letter-space them, and give the taller script room. */
:root[lang="fa"] .hero-eyebrow,
:root[lang="fa"] .chip-status { letter-spacing: 0; text-transform: none; }
:root[lang="fa"] .hero-eyebrow { font-size: 14px; padding: 7px 14px 7px 16px; }
:root[lang="fa"] .chip-status { font-size: 12.5px; }
:root[lang="fa"] .hero-title { font-size: clamp(34px, min(6.2vw, 7.6vh), 72px); line-height: 1.3; letter-spacing: 0; }
:root[lang="fa"] .hero-subtitle { line-height: 1.9; }
:root[lang="fa"] .nav-links a,
:root[lang="fa"] .dashboard-link,
:root[lang="fa"] .button { font-weight: 500; }
:root[lang="fa"] .button-primary { font-weight: 700; }

/* ---------- Sections ---------- */

.section { padding-inline: var(--gutter); }
.section-inner { max-width: 1120px; margin: 0 auto; }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-eyebrow {
  display: inline-flex; align-items: center; flex-wrap: wrap; gap: 10px;
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; line-height: 1.4;
}
.section-eyebrow::before {
  content: ""; width: 24px; height: 2px; flex: none; border-radius: 2px;
  background: linear-gradient(var(--flow), var(--logo-c1), var(--logo-c3));
}
.section-title {
  margin: 0;
  font-size: clamp(30px, 4.2vw, 46px); font-weight: 700; line-height: 1.1; letter-spacing: -0.025em;
  text-wrap: balance;
}
.section-lede {
  margin: 18px 0 0; max-width: 40em;
  color: var(--muted); font-size: clamp(17px, 1.6vw, 19px); line-height: 1.6;
  text-wrap: pretty;
}

/* Status badges follow MODULE_STATUS through the nearest [data-state]. */
.status-badge {
  display: inline-flex; align-items: center; gap: 7px;
  min-height: 28px; padding: 0 11px;
  border: 1px solid var(--line); border-radius: 999px;
  color: var(--muted);
  font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; line-height: 1.2; white-space: nowrap;
}
.status-badge > span { display: none; }
[data-state="available"] .status-badge .status-available,
[data-state="soon"] .status-badge .status-soon { display: inline; }
[data-state="available"] .status-badge {
  color: var(--live); background: var(--live-bg);
  border-color: color-mix(in srgb, var(--live) 35%, transparent);
}
[data-state="available"] .status-badge::before {
  content: ""; width: 7px; height: 7px; flex: none; border-radius: 50%;
  background: currentColor; box-shadow: 0 0 0 0 color-mix(in srgb, var(--live) 60%, transparent);
}
@media (prefers-reduced-motion: no-preference) {
  [data-state="available"] .status-badge::before { animation: badge-pulse 2.4s ease-out infinite; }
}
@keyframes badge-pulse {
  0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--live) 55%, transparent); }
  70%, 100% { box-shadow: 0 0 0 6px transparent; }
}

/* ---------- Why now ---------- */

.why-now { padding-block: clamp(72px, 11vw, 136px); text-align: center; }
.why-inner { max-width: 920px; margin: 0 auto; }
.why-now .section-eyebrow::after {
  content: ""; width: 24px; height: 2px; flex: none; border-radius: 2px;
  background: linear-gradient(var(--flow), var(--logo-c3), var(--logo-c6));
}
.why-title {
  margin: 0;
  font-size: clamp(26px, 3.8vw, 44px); font-weight: 700; line-height: 1.18; letter-spacing: -0.025em;
  text-wrap: balance;
}
.why-title > span { display: block; }
.why-title-accent {
  margin-top: 0.2em;
  background: linear-gradient(var(--flow), var(--logo-c1), var(--logo-c3) 55%, var(--logo-c6));
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.why-text {
  max-width: 36em; margin: 24px auto 0;
  color: var(--muted); font-size: clamp(17px, 1.6vw, 19px); line-height: 1.6;
  text-wrap: pretty;
}

/* ---------- The journey ---------- */

.journey { padding-bottom: clamp(72px, 10vw, 128px); }

/* The cards hang off one gradient rail in the logo colours, in journey order. The
   rail and nodes sit on the inline-start side, so they move to the right in Persian. */
.journey-list {
  --rail: 56px;
  position: relative;
  display: grid; gap: 16px;
  margin: 0; padding: 0; padding-inline-start: var(--rail);
  list-style: none; counter-reset: journey;
}
.journey-list::before {
  content: ""; position: absolute; top: 30px; bottom: 30px; inset-inline-start: 19px;
  width: 2px; border-radius: 2px;
  background: linear-gradient(to bottom, var(--logo-c1), var(--logo-c2), var(--logo-c3), var(--logo-c4), var(--logo-c5), var(--logo-c6));
  opacity: 0.55;
}
.journey-card {
  --node: var(--logo-c1);
  position: relative;
  display: grid; gap: 20px;
  padding: 24px;
  border: 1px solid var(--line); border-radius: 20px;
  background: var(--surface);
  box-shadow: var(--card-shadow);
  counter-increment: journey;
}
.journey-card:nth-child(2) { --node: var(--logo-c3); }
.journey-card:nth-child(3) { --node: var(--logo-c4); }
.journey-card:nth-child(4) { --node: var(--logo-c5); }
.journey-card:nth-child(5) { --node: var(--logo-c6); }
.journey-card::before {
  content: counter(journey, decimal-leading-zero);
  position: absolute; top: 22px; inset-inline-start: calc(-1 * var(--rail));
  display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: 50%;
  border: 2px solid var(--node);
  background: var(--bg);
  color: var(--node);
  font: 600 13px/1 var(--font-en); letter-spacing: 0.02em;
}
/* The live module glows, with the ribbon's gradient as its border. */
.journey-card[data-state="available"] {
  border-color: transparent;
  background:
    linear-gradient(var(--surface), var(--surface)) padding-box,
    linear-gradient(var(--flow), var(--logo-c1), var(--logo-c3) 50%, var(--logo-c6)) border-box;
  box-shadow: var(--card-shadow), 0 18px 48px -24px color-mix(in srgb, var(--logo-c3) 70%, transparent);
}
.journey-card[data-state="available"]::before {
  background: var(--node); color: #FFFFFF;
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--node) 18%, transparent);
}

.journey-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.journey-icon {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px;
  background: color-mix(in srgb, var(--node) 13%, transparent);
  color: var(--node);
}
.journey-icon .icon { width: 22px; height: 22px; }
.journey-name { margin: 0; font-size: 22px; font-weight: 700; line-height: 1.25; letter-spacing: -0.015em; }
.journey-value { margin: 8px 0 0; color: var(--muted); font-size: 16px; line-height: 1.55; text-wrap: pretty; }
.journey-more {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin-top: 6px;
  color: var(--accent); font-size: 15px; font-weight: 600; text-decoration: none;
}
.journey-more:hover { text-decoration: underline; text-underline-offset: 4px; }
.journey-more .icon { width: 16px; height: 16px; }

.journey-how-label {
  margin: 0 0 12px;
  color: var(--muted); font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
}
.journey-steps { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.journey-steps li {
  position: relative; padding-inline-start: 38px;
  font-size: 15.5px; line-height: 1.55; text-wrap: pretty;
  counter-increment: step;
}
.journey-steps li::before {
  content: counter(step);
  position: absolute; top: -1px; inset-inline-start: 0;
  display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%;
  background: var(--surface-2); color: var(--fg);
  font: 600 12.5px/1 var(--font-en);
}

/* Narrow cards stack the steps under a divider; wide ones put them side by side. */
.journey-how { padding-top: 20px; border-top: 1px solid var(--line); }
@media (min-width: 768px) {
  .journey-card { padding: 28px 32px; }
}
@media (min-width: 900px) {
  .journey-card { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 36px; }
  .journey-how { padding-top: 0; border-top: 0; padding-inline-start: 32px; border-inline-start: 1px solid var(--line); }
  .journey-how-label { margin-top: 6px; }
}
@media (min-width: 1024px) {
  .journey-list { --rail: 72px; gap: 20px; }
  .journey-list::before { inset-inline-start: 23px; }
  .journey-card::before { width: 48px; height: 48px; font-size: 14px; top: 28px; }
  .journey-card { gap: 56px; padding: 32px 40px; }
  .journey-how { padding-inline-start: 48px; }
}
@media (max-width: 479px) {
  .journey-list { --rail: 44px; }
  .journey-list::before { inset-inline-start: 15px; }
  .journey-card::before { width: 32px; height: 32px; font-size: 12px; top: 20px; }
  .journey-card { padding: 20px; }
}

/* ---------- AI reporting up close ---------- */

.reporting {
  position: relative; isolation: isolate; overflow: hidden;
  margin: 0 12px;
  padding-block: clamp(64px, 9vw, 120px);
  border: 1px solid var(--line); border-radius: 28px;
  background:
    radial-gradient(60% 50% at 85% 20%, color-mix(in srgb, var(--logo-c1) 12%, transparent), transparent 70%),
    radial-gradient(50% 50% at 10% 90%, color-mix(in srgb, var(--logo-c3) 10%, transparent), transparent 70%),
    var(--surface);
}
:root[dir="rtl"] .reporting {
  background:
    radial-gradient(60% 50% at 15% 20%, color-mix(in srgb, var(--logo-c1) 12%, transparent), transparent 70%),
    radial-gradient(50% 50% at 90% 90%, color-mix(in srgb, var(--logo-c3) 10%, transparent), transparent 70%),
    var(--surface);
}
.reporting-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 1024px) {
  .reporting-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 64px; }
}
.reporting-eyebrow .status-badge { letter-spacing: 0.08em; }

.reporting-steps {
  display: grid; gap: 4px;
  margin: 32px 0 0; padding: 0; list-style: none; counter-reset: rstep;
}
.reporting-steps li {
  position: relative;
  display: grid; gap: 2px;
  padding: 0 0 18px; padding-inline-start: 52px;
  counter-increment: rstep;
}
.reporting-steps li::before {
  content: counter(rstep);
  position: absolute; top: 0; inset-inline-start: 0;
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: linear-gradient(var(--flow), var(--cta-from), var(--cta-to));
  color: #FFFFFF; font: 600 14px/1 var(--font-en);
  box-shadow: 0 6px 16px -6px var(--cta-glow);
}
/* The line that joins the step numbers. */
.reporting-steps li:not(:last-child)::after {
  content: ""; position: absolute; top: 40px; bottom: 4px; inset-inline-start: 16px;
  width: 2px; border-radius: 2px; background: var(--line);
}
.reporting-steps li:last-child { padding-bottom: 0; }
.reporting-step-name { font-size: 17px; font-weight: 700; line-height: 1.4; padding-top: 5px; }
.reporting-step-text { color: var(--muted); font-size: 15.5px; line-height: 1.55; text-wrap: pretty; }

.reporting-notes { display: flex; flex-wrap: wrap; gap: 10px; margin: 32px 0 0; padding: 0; list-style: none; }
.reporting-notes li {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 44px; padding: 8px 14px;
  border: 1px solid var(--line); border-radius: 14px;
  background: var(--bg);
  font-size: 14.5px; font-weight: 500; line-height: 1.4;
}
.reporting-notes .icon { width: 18px; height: 18px; color: var(--live); }

/* The stylised reporting screen. Decorative: role="img" with a label stands for it. */
.report-mock {
  position: relative;
  min-width: 0;
  border: 1px solid var(--line); border-radius: 20px;
  background: var(--surface);
  box-shadow: var(--card-shadow), 0 40px 90px -40px color-mix(in srgb, var(--logo-c1) 55%, transparent);
  font-size: 14px; line-height: 1.5;
  overflow: hidden;
}
.mock-bar {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface-2) 55%, transparent);
}
.mock-dots { display: inline-flex; gap: 6px; }
.mock-dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.mock-title { color: var(--muted); font-size: 13px; font-weight: 600; }
.mock-lang {
  margin-inline-start: auto; padding: 2px 8px; border: 1px solid var(--line); border-radius: 999px;
  color: var(--muted); font: 600 11px/1.6 var(--font-en); letter-spacing: 0.04em; white-space: nowrap;
}

.mock-record {
  display: flex; align-items: center; gap: 12px;
  margin: 16px 16px 0; padding: 12px 14px;
  border: 1px solid color-mix(in srgb, var(--rec) 22%, var(--line));
  border-radius: 14px;
  background: color-mix(in srgb, var(--rec) 6%, var(--surface));
}
.mock-mic {
  position: relative; display: grid; place-items: center; flex: none;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--rec); color: #FFFFFF;
}
.mock-mic .icon { width: 18px; height: 18px; }
.mock-mic::after {
  content: ""; position: absolute; inset: -5px; border-radius: 50%;
  border: 2px solid color-mix(in srgb, var(--rec) 35%, transparent);
}
.mock-record-text { display: grid; flex: none; }
.mock-record-label { font-size: 13px; font-weight: 600; }
.mock-time { color: var(--muted); font: 500 12px/1.4 "IBM Plex Mono", ui-monospace, monospace; }
.mock-wave { display: flex; align-items: center; gap: 3px; flex: 1; min-width: 0; height: 40px; overflow: hidden; }
.mock-wave i {
  flex: 1 1 0; min-width: 2px; max-width: 5px;
  height: calc(var(--h) * 100%); min-height: 3px; border-radius: 3px;
  background: linear-gradient(to top, var(--logo-c1), var(--logo-c3));
  transform-origin: center;
}
@media (prefers-reduced-motion: no-preference) {
  .mock-wave i { animation: wave 1.6s ease-in-out infinite alternate; }
  .mock-wave i:nth-child(3n) { animation-delay: -0.4s; }
  .mock-wave i:nth-child(3n + 1) { animation-delay: -0.9s; }
  .mock-wave i:nth-child(4n) { animation-duration: 1.2s; }
  .mock-mic::after { animation: rec-ring 1.8s ease-out infinite; }
}
@keyframes wave { from { transform: scaleY(0.45); } to { transform: scaleY(1); } }
@keyframes rec-ring { from { opacity: 1; transform: scale(0.85); } to { opacity: 0; transform: scale(1.25); } }

.mock-pipeline { display: flex; flex-wrap: wrap; gap: 8px; padding: 14px 16px 0; }
.mock-stage {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 10px; border-radius: 999px;
  background: var(--surface-2); color: var(--muted);
  font-size: 12px; font-weight: 600; line-height: 1.4;
}
.mock-stage .icon { width: 14px; height: 14px; }
.mock-stage-ai { color: var(--accent); background: color-mix(in srgb, var(--accent) 11%, transparent); }

.mock-report { padding: 16px 20px 18px; font-family: var(--font-en); font-size: 15px; line-height: 1.75; }
.mock-line { margin: 0; }
.mock-line-head { font-weight: 600; margin-bottom: 4px; }
.mock-report mark {
  padding: 1px 4px; border-radius: 5px; color: inherit;
}
.mock-ai { background: var(--live-bg); box-shadow: inset 0 -2px 0 color-mix(in srgb, var(--live) 70%, transparent); }
.mock-flag { background: var(--flag-bg); box-shadow: inset 0 -2px 0 var(--flag); }
.mock-flag::after { content: "?"; margin-inline-start: 3px; color: var(--flag); font-weight: 700; }

.mock-footer {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px;
  padding: 12px 16px;
  border-top: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface-2) 55%, transparent);
}
.mock-legend { display: flex; flex-wrap: wrap; gap: 6px 14px; color: var(--muted); font-size: 12px; }
.mock-key { display: inline-flex; align-items: center; gap: 6px; }
.mock-key::before { content: ""; width: 10px; height: 10px; border-radius: 3px; }
.mock-key-ai::before { background: var(--live-bg); box-shadow: inset 0 -2px 0 var(--live); }
.mock-key-flag::before { background: var(--flag-bg); box-shadow: inset 0 -2px 0 var(--flag); }
.mock-ready {
  display: inline-flex; align-items: center; gap: 6px; margin-inline-start: auto;
  color: var(--live); font-size: 13px; font-weight: 700;
}
.mock-ready .icon {
  width: 18px; height: 18px; padding: 3px; border-radius: 50%;
  background: var(--live); color: var(--surface);
}
.mock-save {
  padding: 6px 16px; border-radius: 999px;
  background: linear-gradient(var(--flow), var(--cta-from), var(--cta-to));
  color: #FFFFFF; font-size: 13px; font-weight: 600;
  box-shadow: 0 6px 16px -8px var(--cta-glow);
}

@media (max-width: 767px) {
  .reporting { margin: 0 8px; border-radius: 22px; }
}
@media (max-width: 479px) {
  .mock-record { margin: 12px 12px 0; }
  .mock-pipeline { padding-inline: 12px; }
  .mock-report { padding-inline: 14px; font-size: 14px; }
  .mock-footer { padding-inline: 12px; }
}

/* ---------- Demo request form ---------- */

.demo { padding-block: clamp(64px, 9vw, 120px) 0; }
.demo-grid { max-width: 1120px; margin: 0 auto; display: grid; gap: 36px; align-items: start; }
@media (min-width: 1024px) {
  .demo-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; }
  .demo-intro { position: sticky; top: calc(var(--header-h) + 32px); }
}
.demo-card {
  padding: 20px;
  border: 1px solid var(--line); border-radius: 24px;
  background: var(--surface); box-shadow: var(--card-shadow);
  --field-line: color-mix(in srgb, var(--fg) 20%, var(--bg));
}
@media (min-width: 640px) {
  .demo-card { padding: 32px; }
}
.demo-form { position: relative; }
.form-note { margin: 0 0 20px; color: var(--muted); font-size: 14px; line-height: 1.5; }
.form-grid { display: grid; gap: 20px; }
@media (min-width: 640px) {
  .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 16px; }
  .field-wide { grid-column: 1 / -1; }
}
.field { min-width: 0; margin: 0; padding: 0; border: 0; }
.field label, .field legend {
  display: block; padding: 0; margin-bottom: 8px;
  font-size: 14px; font-weight: 600; line-height: 1.4;
}
.field-optional { margin-inline-start: 4px; color: var(--muted); font-weight: 400; font-size: 13px; }

.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select, .field textarea {
  display: block; width: 100%; min-height: 48px; padding: 10px 14px;
  border: 1px solid var(--field-line); border-radius: 12px;
  background: var(--bg); color: var(--fg);
  font: inherit; font-size: 16px; line-height: 1.4;
  transition: border-color 0.15s, box-shadow 0.15s, background-color 0.15s;
}
.field textarea { resize: vertical; min-height: 112px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 28%, transparent);
}
.field input[aria-invalid="true"], .field select[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--error); background: var(--error-bg); }
.field input[aria-invalid="true"]:focus-visible, .field select[aria-invalid="true"]:focus-visible, .field textarea[aria-invalid="true"]:focus-visible { box-shadow: 0 0 0 3px color-mix(in srgb, var(--error) 28%, transparent); }
:root[dir="rtl"] .field input[dir="ltr"] { text-align: right; }

/* The select keeps the native control (menu, keyboard, phone pickers); only the arrow is ours. */
.select-wrap { position: relative; }
.field select { appearance: none; -webkit-appearance: none; padding-inline-end: 44px; cursor: pointer; }
.select-wrap::after {
  content: ""; position: absolute; inset-inline-end: 18px; top: 50%;
  width: 8px; height: 8px; margin-top: -6px;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
  transform: rotate(45deg); pointer-events: none;
}

.field-error { margin: 6px 0 0; color: var(--error); font-size: 14px; line-height: 1.45; }

/* Module choices as pills; the real checkbox stays inside for keyboard and screen readers. */
.chip-checks { display: flex; flex-wrap: wrap; gap: 10px; }
.field .chip-check {
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  min-height: 44px; margin: 0; padding-inline: 12px 16px;
  border: 1px solid var(--field-line); border-radius: 999px; background: var(--bg);
  font-size: 15px; font-weight: 500; cursor: pointer;
  transition: border-color 0.15s, background-color 0.15s;
}
.field .chip-check:hover { border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); }
.field .chip-check:has(input:checked) {
  border-color: color-mix(in srgb, var(--accent) 60%, transparent);
  background: color-mix(in srgb, var(--accent) 10%, var(--bg));
}
.chip-check:has(input:focus-visible), .consent-check:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }

.chip-check input, .consent-check input {
  appearance: none; -webkit-appearance: none; flex: none;
  position: relative; width: 22px; height: 22px; margin: 0;
  border: 1.5px solid color-mix(in srgb, var(--muted) 70%, transparent); border-radius: 6px;
  background: var(--surface); cursor: pointer;
  transition: background-color 0.15s, border-color 0.15s;
}
.chip-check input:checked, .consent-check input:checked { background: var(--accent); border-color: var(--accent); }
.chip-check input:checked::after, .consent-check input:checked::after {
  content: ""; position: absolute; left: 6px; top: 2px; width: 5px; height: 10px;
  border: solid var(--surface); border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.consent-check input[aria-invalid="true"] { border-color: var(--error); }

.field .consent-check {
  display: flex; align-items: center; gap: 12px;
  min-height: 44px; margin: 0;
  font-size: 15px; font-weight: 500; cursor: pointer;
}

/* Out of sight and out of the tab order (aria-hidden, tabindex -1), but still in the page for bots. */
.hp {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}

.form-status {
  margin: 20px 0 0; padding: 12px 14px;
  border: 1px solid color-mix(in srgb, var(--error) 45%, transparent); border-radius: 12px;
  background: var(--error-bg); color: var(--error);
  font-size: 15px; font-weight: 500; line-height: 1.5;
}
.form-actions { margin-top: 24px; }
.form-submit { width: 100%; cursor: pointer; }
@media (min-width: 640px) {
  .form-submit { width: auto; min-width: 220px; }
}
.form-submit:disabled { cursor: progress; filter: saturate(0.7) brightness(0.95); transform: none; }
.submit-busy { display: none; align-items: center; gap: 10px; }
.form-submit:disabled .submit-idle { display: none; }
.form-submit:disabled .submit-busy { display: inline-flex; }
.spinner {
  width: 16px; height: 16px; border-radius: 50%;
  border: 2px solid rgb(255 255 255 / 0.4); border-top-color: #FFFFFF;
}
@media (prefers-reduced-motion: no-preference) {
  .spinner { animation: spin 0.8s linear infinite; }
}
@keyframes spin { to { transform: rotate(360deg); } }

.demo-success { display: grid; justify-items: start; gap: 10px; padding: 12px 0; }
.demo-success[hidden] { display: none; }
.demo-success:focus { outline: none; }
.success-mark {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  background: var(--live-bg); color: var(--live);
  border: 1px solid color-mix(in srgb, var(--live) 35%, transparent);
}
.success-mark .icon { width: 26px; height: 26px; }
.success-title { margin: 8px 0 0; font-size: clamp(26px, 3.4vw, 34px); font-weight: 700; line-height: 1.2; letter-spacing: -0.02em; }
.success-text { margin: 0; max-width: 32em; color: var(--muted); font-size: 18px; line-height: 1.6; }

:root[lang="fa"] .field label,
:root[lang="fa"] .field legend { font-weight: 600; }
:root[lang="fa"] .field-error,
:root[lang="fa"] .form-status,
:root[lang="fa"] .form-note,
:root[lang="fa"] .success-text { line-height: 1.8; }
:root[lang="fa"] .success-title { letter-spacing: 0; line-height: 1.4; }

/* ---------- Footer ---------- */

.site-footer {
  margin-top: clamp(48px, 7vw, 96px);
  padding: 28px var(--gutter) calc(28px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  color: var(--muted); font-size: 14px;
}
.footer-inner {
  max-width: 1120px; margin: 0 auto;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px;
}
.footer-brand { display: inline-flex; align-items: center; gap: 10px; }
.footer-logo { display: block; width: 26px; height: 26px; flex: none; }
.footer-year { margin: 0; font-family: var(--font-en); }
@media (max-width: 479px) {
  .footer-inner { flex-direction: column; text-align: center; }
}

/* ---------- Persian (sections) ---------- */

:root[lang="fa"] .section-eyebrow,
:root[lang="fa"] .status-badge,
:root[lang="fa"] .journey-how-label { letter-spacing: 0; text-transform: none; }
:root[lang="fa"] .section-eyebrow { font-size: 14px; }
:root[lang="fa"] .status-badge { font-size: 12.5px; }
:root[lang="fa"] .journey-how-label { font-size: 13px; }
:root[lang="fa"] .section-title,
:root[lang="fa"] .why-title { letter-spacing: 0; line-height: 1.45; }
:root[lang="fa"] .journey-name { letter-spacing: 0; line-height: 1.5; }
:root[lang="fa"] .section-lede,
:root[lang="fa"] .why-text,
:root[lang="fa"] .journey-value,
:root[lang="fa"] .journey-steps li,
:root[lang="fa"] .reporting-step-text { line-height: 1.9; }
:root[lang="fa"] .journey-card::before { content: counter(journey, persian); font-family: var(--font-fa); font-size: 16px; }
:root[lang="fa"] .journey-steps li::before { content: counter(step, persian); font-family: var(--font-fa); }
:root[lang="fa"] .journey-steps li::before { top: 3px; }
:root[lang="fa"] .reporting-steps li::before { content: counter(rstep, persian); font-family: var(--font-fa); font-size: 16px; }
