:root {
  --ink-950: #050b0b;
  --ink-900: #071210;
  --ink-850: #0a1816;
  --ink-800: #0e211d;
  --ink-700: #17332d;
  --paper: #f4f0e7;
  --paper-2: #e8e2d7;
  --text: #f7f3ea;
  --muted: #a7b3ad;
  --muted-2: #7f918a;
  --sand-300: #ecd79e;
  --sand-400: #dfc079;
  --sand-500: #cfa75b;
  --mint-300: #86dfc7;
  --mint-400: #58c8ad;
  --danger: #ef9b8f;
  --line: rgba(236, 215, 158, 0.18);
  --line-soft: rgba(255, 255, 255, 0.09);
  --surface: rgba(255, 255, 255, 0.045);
  --surface-strong: rgba(255, 255, 255, 0.075);
  --shadow: 0 26px 70px rgba(0, 0, 0, 0.34);
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 30px;
  --container: 1220px;
  --header-h: 78px;
  --display: Georgia, "Times New Roman", serif;
  --sans: Inter, "Segoe UI", Arial, "Noto Sans", "Noto Sans Arabic", sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ink-950); }
body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    radial-gradient(circle at 82% 12%, rgba(88, 200, 173, 0.08), transparent 30rem),
    radial-gradient(circle at 10% 36%, rgba(207, 167, 91, 0.07), transparent 28rem),
    var(--ink-950);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
::selection { color: var(--ink-950); background: var(--sand-300); }

.skip-link {
  position: fixed;
  inset-block-start: 8px;
  inset-inline-start: 12px;
  z-index: 2000;
  padding: 10px 15px;
  color: var(--ink-950);
  background: var(--sand-300);
  border-radius: 8px;
  font-weight: 700;
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }

.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.narrow { width: min(calc(100% - 40px), 820px); margin-inline: auto; }
.section { position: relative; padding-block: clamp(78px, 9vw, 132px); }
.section-sm { padding-block: clamp(56px, 7vw, 92px); }
.section-border { border-block-start: 1px solid var(--line-soft); }
.section-paper { color: #15201d; background: var(--paper); }
.section-paper .muted, .section-paper .lede { color: #52605b; }
.section-paper .eyebrow { color: #79632f; }

.site-header {
  position: sticky;
  inset-block-start: 0;
  z-index: 1000;
  min-height: var(--header-h);
  border-block-end: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(5, 11, 11, 0.82);
  backdrop-filter: blur(18px) saturate(140%);
}
.nav-shell {
  min-height: var(--header-h);
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: max-content;
}
.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(236, 215, 158, 0.48);
  border-radius: 50%;
  color: var(--sand-300);
  background: radial-gradient(circle at 32% 26%, rgba(236, 215, 158, 0.22), transparent 36%), var(--ink-850);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
}
.brand-copy { display: grid; line-height: 1.05; }
.brand-copy strong { font-size: 14px; letter-spacing: 0.03em; }
.brand-copy span { margin-block-start: 5px; color: var(--muted-2); font-size: 9px; letter-spacing: 0.16em; text-transform: uppercase; }

.primary-nav { justify-self: center; }
.primary-nav ul { display: flex; align-items: center; gap: clamp(14px, 2vw, 28px); margin: 0; padding: 0; list-style: none; }
.primary-nav a {
  position: relative;
  color: var(--muted);
  text-decoration: none;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.primary-nav a::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  inset-block-end: -10px;
  height: 1px;
  background: var(--sand-400);
  transform: scaleX(0);
  transition: transform 180ms ease;
}
.primary-nav a:hover, .primary-nav a[aria-current="page"] { color: var(--text); }
.primary-nav a:hover::after, .primary-nav a[aria-current="page"]::after { transform: scaleX(1); }

.language { position: relative; }
.language-button, .menu-button {
  border: 1px solid var(--line-soft);
  background: var(--surface);
  border-radius: 999px;
  cursor: pointer;
}
.language-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding-inline: 14px;
  font-size: 12px;
  font-weight: 750;
}
.language-button::after { content: "↓"; color: var(--sand-400); font-size: 11px; }
.language-menu {
  position: absolute;
  inset-block-start: calc(100% + 10px);
  inset-inline-end: 0;
  width: 210px;
  padding: 8px;
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  background: #0c1917;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: 160ms ease;
}
.language.open .language-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.language-menu a {
  display: flex;
  justify-content: space-between;
  padding: 10px 12px;
  border-radius: 9px;
  color: var(--muted);
  text-decoration: none;
  font-size: 13px;
}
.language-menu a:hover, .language-menu a[aria-current="true"] { color: var(--text); background: var(--surface-strong); }
.language-menu code { color: var(--sand-400); font-family: var(--mono); }

.menu-button { display: none; width: 42px; height: 42px; padding: 0; place-items: center; }
.menu-button span, .menu-button::before, .menu-button::after {
  content: "";
  width: 17px;
  height: 1px;
  background: currentColor;
  transition: 180ms ease;
}
.menu-button { gap: 4px; }
.menu-button[aria-expanded="true"] span { opacity: 0; }
.menu-button[aria-expanded="true"]::before { transform: translateY(5px) rotate(45deg); }
.menu-button[aria-expanded="true"]::after { transform: translateY(-5px) rotate(-45deg); }

.hero { position: relative; overflow: clip; padding-block: clamp(72px, 8vw, 126px) clamp(88px, 9vw, 140px); }
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.022) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.022) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, black, transparent 80%);
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(380px, .95fr);
  gap: clamp(44px, 7vw, 96px);
  align-items: center;
}
.hero-copy { position: relative; z-index: 2; }
.status-pill, .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--sand-300);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.status-pill {
  margin: 0 0 26px;
  padding: 8px 12px;
  border: 1px solid rgba(236, 215, 158, 0.23);
  border-radius: 999px;
  background: rgba(207, 167, 91, 0.06);
}
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--mint-300); box-shadow: 0 0 16px rgba(134, 223, 199, .68); }
.eyebrow { margin-block-end: 20px; }

h1, h2, h3, p { margin-block-start: 0; }
.display {
  max-width: 14ch;
  margin-block-end: 26px;
  font-family: var(--display);
  font-size: clamp(48px, 6.2vw, 92px);
  font-weight: 400;
  line-height: .98;
  letter-spacing: -0.046em;
  text-wrap: balance;
}
[lang^="zh"] .display, [lang="ar"] .display { max-width: 15ch; font-family: var(--sans); font-weight: 700; letter-spacing: -0.035em; }
.display em, .title em { color: var(--sand-300); font-style: italic; }
[lang^="zh"] .display em, [lang="ar"] .display em, [lang^="zh"] .title em, [lang="ar"] .title em { font-style: normal; }
.hero-lede, .lede {
  max-width: 700px;
  color: var(--muted);
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.63;
}
.hero-lede { margin-block-end: 34px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .015em;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}
.button::after { content: "↗"; font-size: 14px; }
[dir="rtl"] .button::after { transform: scaleX(-1); }
.button:hover { transform: translateY(-2px); }
.button-primary { color: #101b17; background: linear-gradient(135deg, var(--sand-300), var(--sand-500)); box-shadow: 0 12px 30px rgba(207,167,91,.16); }
.button-secondary { color: var(--text); border-color: var(--line); background: var(--surface); }
.button-quiet { min-height: 42px; padding: 9px 15px; color: var(--sand-300); border-color: var(--line); background: transparent; }

.trust-strip { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-block-start: 38px; color: var(--muted-2); font-size: 12px; }
.trust-strip span::before { content: "✓"; margin-inline-end: 7px; color: var(--mint-300); }

.hero-visual { position: relative; margin: 0; }
.hero-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--ink-800);
  box-shadow: var(--shadow);
}
.hero-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(3,10,9,.68), transparent 50%), linear-gradient(135deg, rgba(207,167,91,.12), transparent 42%);
  pointer-events: none;
}
.hero-frame img { width: 100%; height: 100%; object-fit: cover; }
.frame-label {
  position: absolute;
  z-index: 2;
  inset-inline-start: 18px;
  inset-block-end: 18px;
  max-width: calc(100% - 36px);
  padding: 10px 13px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px;
  color: #fff;
  background: rgba(5,11,11,.62);
  backdrop-filter: blur(12px);
  font-size: 11px;
  font-weight: 700;
}
.photo-details { margin-block-start: 11px; color: var(--muted-2); font-size: 11px; }
.photo-details summary { width: max-content; cursor: pointer; color: var(--muted); }
.photo-details p { margin: 8px 0 0; line-height: 1.55; }

.metric-band {
  position: relative;
  z-index: 3;
  margin-block-start: clamp(54px, 7vw, 92px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-block: 1px solid var(--line-soft);
}
.metric { padding: 22px 22px 24px; border-inline-end: 1px solid var(--line-soft); }
.metric:last-child { border-inline-end: 0; }
.metric strong { display: block; margin-block-end: 5px; color: var(--sand-300); font-family: var(--mono); font-size: 16px; }
.metric span { color: var(--muted); font-size: 12px; }

.section-head { display: grid; grid-template-columns: minmax(0, .85fr) minmax(320px, 1.15fr); gap: 50px; align-items: end; margin-block-end: clamp(44px, 6vw, 72px); }
.title {
  max-width: 18ch;
  margin-block-end: 0;
  font-family: var(--display);
  font-size: clamp(38px, 4.5vw, 66px);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
[lang^="zh"] .title, [lang="ar"] .title { font-family: var(--sans); font-weight: 720; }
.section-head .lede { margin-block-end: 0; }
.subhead { margin-block-end: 12px; font-family: var(--display); font-size: clamp(25px, 2.7vw, 38px); font-weight: 400; line-height: 1.2; }
[lang^="zh"] .subhead, [lang="ar"] .subhead { font-family: var(--sans); font-weight: 700; }
.muted { color: var(--muted); }
.micro { color: var(--muted-2); font-size: 12px; }
.kicker { margin-block-end: 12px; color: var(--sand-400); font-family: var(--mono); font-size: 10px; font-weight: 750; letter-spacing: .11em; text-transform: uppercase; }

.grid-2, .grid-3, .grid-4 { display: grid; gap: 16px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card {
  position: relative;
  overflow: hidden;
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: var(--surface);
}
.card::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  inset-block-start: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(236,215,158,.42), transparent);
  opacity: .55;
}
.card h3 { margin-block-end: 12px; font-size: 20px; line-height: 1.3; }
.card p { margin-block-end: 0; color: var(--muted); font-size: 14px; }
.card a { color: var(--sand-300); }
.card-icon { width: 42px; height: 42px; display: grid; place-items: center; margin-block-end: 24px; border: 1px solid var(--line); border-radius: 12px; color: var(--sand-300); background: rgba(207,167,91,.06); font-family: var(--mono); font-size: 13px; }

.problem-grid { counter-reset: problem; }
.problem-card { min-height: 260px; }
.problem-card::after {
  counter-increment: problem;
  content: "0" counter(problem);
  position: absolute;
  inset-inline-end: 22px;
  inset-block-end: 14px;
  color: rgba(255,255,255,.055);
  font-family: var(--display);
  font-size: 72px;
  line-height: 1;
}

.product-stage {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(460px, 1.18fr);
  gap: clamp(36px, 6vw, 76px);
  align-items: center;
}
.product-copy .lede { margin-block-end: 30px; }
.feature-list { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.feature-list li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; color: var(--muted); font-size: 14px; }
.feature-list li::before { content: "↳"; color: var(--mint-300); font-family: var(--mono); }
[dir="rtl"] .feature-list li::before { transform: scaleX(-1); }

.dashboard {
  position: relative;
  min-height: 510px;
  padding: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 65% 25%, rgba(88,200,173,.12), transparent 28%),
    #081310;
  box-shadow: var(--shadow);
}
.dashboard-bar { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-block-end: 14px; padding: 0 4px 12px; border-block-end: 1px solid var(--line-soft); color: var(--muted-2); font-family: var(--mono); font-size: 10px; }
.prototype-note { margin: 0 0 14px; padding: 9px 11px; border: 1px solid rgba(236,215,158,.2); border-radius: 9px; color: var(--sand-300); background: rgba(236,215,158,.055); font-size: 10px; line-height: 1.45; }
.dashboard-dots { display: flex; gap: 5px; }
.dashboard-dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted-2); }
.dashboard-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 12px; }
.dash-panel { padding: 16px; border: 1px solid var(--line-soft); border-radius: 14px; background: rgba(255,255,255,.034); }
.dash-label { margin-block-end: 12px; color: var(--muted-2); font-family: var(--mono); font-size: 9px; letter-spacing: .08em; text-transform: uppercase; }
.score { width: 112px; aspect-ratio: 1; margin: 6px auto 17px; display: grid; place-items: center; border-radius: 50%; background: conic-gradient(var(--mint-400) 0 73%, rgba(255,255,255,.08) 73%); }
.score::before { content: "73"; width: 85px; aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; color: var(--text); background: #0a1714; font-family: var(--display); font-size: 34px; }
.dash-bars { display: grid; gap: 10px; }
.dash-bars span { display: grid; grid-template-columns: 72px 1fr 24px; gap: 8px; align-items: center; color: var(--muted); font-size: 9px; }
.dash-bars i { height: 4px; border-radius: 9px; background: linear-gradient(90deg, var(--sand-400) var(--p), rgba(255,255,255,.08) var(--p)); }
.project-row { display: grid; grid-template-columns: 1fr auto; gap: 12px; padding-block: 11px; border-block-end: 1px solid var(--line-soft); }
.project-row:last-child { border: 0; }
.project-row b { font-size: 11px; }
.project-row small { display: block; margin-block-start: 3px; color: var(--muted-2); font-size: 9px; }
.risk { align-self: center; padding: 5px 7px; border-radius: 7px; color: var(--mint-300); background: rgba(88,200,173,.08); font-family: var(--mono); font-size: 9px; }
.dash-ai { grid-column: 1 / -1; }
.ai-line { display: flex; gap: 10px; align-items: flex-start; color: var(--muted); font-size: 10px; }
.ai-dot { flex: 0 0 auto; width: 24px; height: 24px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--sand-300); font-family: var(--mono); font-size: 8px; }

.steps { counter-reset: steps; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-block: 1px solid var(--line-soft); }
.step { position: relative; padding: 28px 24px 34px; border-inline-end: 1px solid var(--line-soft); }
.step:last-child { border: 0; }
.step::before { counter-increment: steps; content: "0" counter(steps); display: block; margin-block-end: 26px; color: var(--sand-400); font-family: var(--mono); font-size: 11px; }
.step h3 { margin-block-end: 8px; font-size: 15px; }
.step p { margin: 0; color: var(--muted-2); font-size: 12px; }

.callout {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  align-items: center;
  padding: clamp(30px, 5vw, 60px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(207,167,91,.09), rgba(88,200,173,.055));
}
.callout h2, .callout h3 { max-width: 22ch; margin-block-end: 10px; font-family: var(--display); font-size: clamp(30px, 4vw, 52px); font-weight: 400; line-height: 1.08; }
[lang^="zh"] .callout h2, [lang="ar"] .callout h2, [lang^="zh"] .callout h3, [lang="ar"] .callout h3 { font-family: var(--sans); font-weight: 700; }
.callout p { max-width: 700px; margin: 0; color: var(--muted); }

.media-split { display: grid; grid-template-columns: minmax(360px, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 7vw, 90px); align-items: center; }
.media-split.reverse { grid-template-columns: minmax(0, 1.1fr) minmax(360px, .9fr); }
.media-split.reverse .media { order: 2; }
.media { margin: 0; }
.media-window { aspect-ratio: 16 / 11; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--ink-800); box-shadow: var(--shadow); }
.media-window img { width: 100%; height: 100%; object-fit: cover; }

.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin-block: 22px 0; padding: 0; list-style: none; }
.tag-list li { padding: 7px 10px; border: 1px solid var(--line-soft); border-radius: 999px; color: var(--muted); font-family: var(--mono); font-size: 10px; }

.evidence {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 24px;
  padding-block: 24px;
  border-block-end: 1px solid var(--line-soft);
}
.evidence:first-child { border-block-start: 1px solid var(--line-soft); }
.evidence dt { color: var(--sand-400); font-family: var(--mono); font-size: 11px; text-transform: uppercase; }
.evidence dd { margin: 0; color: var(--muted); }

.use-case { display: grid; min-height: 330px; align-content: space-between; }
.use-case .case-id { color: var(--sand-400); font-family: var(--mono); font-size: 11px; }
.use-case h3 { max-width: 17ch; font-size: 24px; }
.case-flow { display: flex; flex-wrap: wrap; gap: 6px; margin-block-start: 22px; }
.case-flow span { padding: 5px 8px; color: var(--muted); border: 1px solid var(--line-soft); border-radius: 6px; font-size: 10px; }
.case-flow span + span::before { content: "→"; margin-inline-end: 8px; color: var(--sand-400); }
[dir="rtl"] .case-flow span + span::before { content: "←"; }
.notice { padding: 16px 18px; border-inline-start: 2px solid var(--sand-400); color: var(--muted); background: rgba(207,167,91,.06); font-size: 13px; }

.article-card { min-height: 300px; display: flex; flex-direction: column; }
.article-card time { color: var(--muted-2); font-family: var(--mono); font-size: 10px; }
.article-card h3 { margin-block: 22px 13px; font-size: 23px; }
.article-card p { flex: 1; }
.article-card a { margin-block-start: 24px; text-decoration: none; font-size: 12px; font-weight: 750; }

.quote { margin: 0; padding: clamp(30px, 5vw, 56px); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); }
.quote blockquote { max-width: 28ch; margin: 0; font-family: var(--display); font-size: clamp(28px, 3.6vw, 49px); line-height: 1.18; }
[lang^="zh"] .quote blockquote, [lang="ar"] .quote blockquote { font-family: var(--sans); font-weight: 650; }
.quote footer { margin-block-start: 24px; color: var(--muted-2); font-size: 12px; }

.roadmap { display: grid; gap: 0; }
.roadmap-item { display: grid; grid-template-columns: 130px 1fr; gap: 30px; padding-block: 28px; border-block-end: 1px solid var(--line-soft); }
.roadmap-item:first-child { border-block-start: 1px solid var(--line-soft); }
.roadmap-item .phase { color: var(--sand-400); font-family: var(--mono); font-size: 11px; }
.roadmap-item h3 { margin-block-end: 7px; font-size: 19px; }
.roadmap-item p { margin: 0; color: var(--muted); font-size: 14px; }

.table-wrap { overflow-x: auto; border: 1px solid var(--line-soft); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; min-width: 700px; }
th, td { padding: 17px 18px; border-block-end: 1px solid var(--line-soft); text-align: start; vertical-align: top; font-size: 13px; }
th { color: var(--sand-300); background: rgba(207,167,91,.055); font-family: var(--mono); font-size: 10px; letter-spacing: .05em; text-transform: uppercase; }
td { color: var(--muted); }
tr:last-child td { border: 0; }

.faq { display: grid; gap: 10px; }
.faq details { border: 1px solid var(--line-soft); border-radius: 14px; background: var(--surface); }
.faq summary { position: relative; padding: 20px 56px 20px 22px; cursor: pointer; list-style: none; font-weight: 700; }
[dir="rtl"] .faq summary { padding: 20px 22px 20px 56px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; inset-inline-end: 22px; color: var(--sand-400); font-size: 20px; font-weight: 400; }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 22px 22px; margin: 0; color: var(--muted); font-size: 14px; }

.form-card { padding: clamp(26px, 4vw, 48px); border: 1px solid var(--line); border-radius: var(--radius-lg); background: #091512; box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { color: var(--muted); font-size: 12px; font-weight: 700; }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  color: var(--text);
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  outline: none;
  background: rgba(255,255,255,.045);
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--sand-400); box-shadow: 0 0 0 3px rgba(207,167,91,.1); }
.field option { color: #111; }
.consent { display: flex; gap: 10px; align-items: flex-start; grid-column: 1 / -1; color: var(--muted-2); font-size: 11px; }
.consent input { margin-block-start: 4px; accent-color: var(--sand-400); }
.form-status { min-height: 22px; margin: 13px 0 0; color: var(--mint-300); font-size: 12px; }

.legal-nav { display: flex; flex-wrap: wrap; gap: 8px; position: sticky; inset-block-start: calc(var(--header-h) + 10px); z-index: 3; margin-block-end: 40px; padding: 9px; border: 1px solid var(--line-soft); border-radius: 999px; background: rgba(7,18,16,.88); backdrop-filter: blur(14px); }
.legal-nav a { padding: 8px 13px; color: var(--muted); border-radius: 999px; text-decoration: none; font-size: 11px; font-weight: 750; }
.legal-nav a:hover { color: var(--text); background: var(--surface-strong); }
.legal-copy { display: grid; gap: 56px; }
.legal-copy article { scroll-margin-top: 150px; }
.legal-copy h2 { font-family: var(--display); font-size: 36px; font-weight: 400; }
[lang^="zh"] .legal-copy h2, [lang="ar"] .legal-copy h2 { font-family: var(--sans); font-weight: 700; }
.legal-copy h3 { margin-block: 26px 8px; font-size: 17px; }
.legal-copy p, .legal-copy li { color: var(--muted); font-size: 14px; }

.site-footer { padding-block: 72px 28px; border-block-start: 1px solid var(--line-soft); background: #030807; }
.footer-grid { display: grid; grid-template-columns: 1.35fr repeat(3, .75fr); gap: 50px; }
.footer-brand p { max-width: 420px; margin-block-start: 24px; color: var(--muted-2); font-size: 13px; }
.footer-title { margin-block-end: 18px; color: var(--text); font-size: 12px; font-weight: 800; }
.footer-links { margin: 0; padding: 0; list-style: none; }
.footer-links li + li { margin-block-start: 9px; }
.footer-links a { color: var(--muted-2); text-decoration: none; font-size: 12px; }
.footer-links a:hover { color: var(--sand-300); }
.footer-bottom { display: flex; justify-content: space-between; gap: 30px; margin-block-start: 56px; padding-block-start: 22px; border-block-start: 1px solid var(--line-soft); color: var(--muted-2); font-size: 10px; }
.footer-disclaimer { max-width: 900px; margin: 22px 0 0; color: #8b9993; font-size: 10px; line-height: 1.6; }

.reveal-ready .reveal { opacity: 0; transform: translateY(18px); transition: opacity 650ms ease, transform 650ms ease; }
.reveal-ready .reveal.visible { opacity: 1; transform: none; }

[lang="ar"] .display, [lang="ar"] .title, [lang="ar"] .subhead,
[lang="ar"] .eyebrow, [lang="ar"] .kicker, [lang="ar"] .button,
[lang="ar"] .footer-title, [lang="ar"] .frame-label { letter-spacing: 0; text-transform: none; }
[lang="ar"] input[type="email"] { direction: ltr; text-align: left; }

:focus-visible { outline: 2px solid var(--sand-300); outline-offset: 3px; }

@media (max-width: 1080px) {
  .nav-shell { grid-template-columns: auto 1fr auto; }
  .primary-nav { position: fixed; z-index: 20; inset: var(--header-h) 0 0; display: none; align-content: start; padding: 28px 20px; overflow-y: auto; overscroll-behavior: contain; background: rgba(5,11,11,.98); }
  .primary-nav.open { display: grid; }
  .primary-nav ul { display: grid; gap: 0; }
  .primary-nav li { border-block-end: 1px solid var(--line-soft); }
  .primary-nav a { display: block; padding-block: 17px; font-size: 17px; }
  .primary-nav a::after { display: none; }
  .language { justify-self: end; }
  .menu-button { display: grid; }
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(340px, .75fr); gap: 45px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .step:nth-child(3) { border-inline-end: 0; }
  .step:nth-child(n+4) { border-block-start: 1px solid var(--line-soft); }
  .product-stage { grid-template-columns: 1fr; }
  .dashboard { min-height: auto; }
  .footer-grid { grid-template-columns: 1.25fr repeat(2, 1fr); }
  .footer-grid > :last-child { grid-column: 2 / -1; }
}

@media (max-width: 780px) {
  :root { --header-h: 68px; }
  .container, .narrow { width: min(calc(100% - 28px), var(--container)); }
  .brand-copy span { display: none; }
  .hero { padding-block-start: 52px; }
  .hero-grid, .section-head, .media-split, .media-split.reverse { grid-template-columns: 1fr; }
  .hero-grid { gap: 40px; }
  .display { max-width: 16ch; font-size: clamp(42px, 13vw, 68px); }
  .hero-frame { aspect-ratio: 16 / 9; }
  .metric-band { grid-template-columns: repeat(2, 1fr); }
  .metric:nth-child(2) { border-inline-end: 0; }
  .metric:nth-child(n+3) { border-block-start: 1px solid var(--line-soft); }
  .section-head { gap: 20px; align-items: start; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .media-split.reverse .media { order: initial; }
  .steps { grid-template-columns: 1fr; }
  .step, .step:nth-child(3) { border-inline-end: 0; border-block-start: 1px solid var(--line-soft); }
  .step:first-child { border-block-start: 0; }
  .callout { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .field.full, .consent { grid-column: auto; }
  .evidence, .roadmap-item { grid-template-columns: 1fr; gap: 8px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-grid > :last-child { grid-column: auto; }
  .footer-bottom { display: grid; }
}

@media (max-width: 500px) {
  .nav-shell { grid-template-columns: minmax(0, 1fr) auto auto; gap: 8px; }
  .brand { min-width: 0; }
  .brand-copy { display: none; }
  .language-button, .menu-button { width: 40px; height: 40px; }
  .brand-copy strong { font-size: 12px; }
  .language-button { width: 42px; padding: 0; justify-content: center; }
  .language-button::after { display: none; }
  .language-menu { width: 190px; }
  .metric-band, .grid-4 { grid-template-columns: 1fr; }
  .metric { border-inline-end: 0; border-block-start: 1px solid var(--line-soft); }
  .metric:first-child { border-block-start: 0; }
  .dashboard { padding: 12px; }
  .dashboard-grid { grid-template-columns: 1fr; }
  .dash-ai { grid-column: auto; }
  .footer-grid { grid-template-columns: 1fr; }
}

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

@media print {
  .site-header, .site-footer, .btn-row, .photo-details { display: none !important; }
  body { color: #111; background: #fff; }
  .section { padding-block: 24px; }
  .card, .callout, .form-card { color: #111; background: #fff; box-shadow: none; border-color: #bbb; break-inside: avoid; }
  .muted, .lede, .card p { color: #333 !important; }
}
