/* ════════════════════════════════════════════════════════════════
   PAKVOX · by VOXANA AI
   Real-Time Voice Execution Infrastructure · Pakistan

   Design system: warm parchment canvas + deep Pakistan-flag emerald
   surfaces + burnished-gold accents + frosted-glass cards.
   Right-to-left aware for Urdu / Sindhi / Punjabi (Shahmukhi) / Pashto.
   ════════════════════════════════════════════════════════════════ */

/* ─── Reset / base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html[dir="rtl"] { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

img, svg, canvas { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

/* ─── Design tokens ────────────────────────────────────────── */
:root {
  /* Canvas — warm parchment, not pure white */
  --bg-base:      #FAF7F0;
  --bg-subtle:    #F4F0E6;
  --bg-muted:     #ECE5D5;
  --bg-elevated:  #E5DCC6;
  --bg-cream:     #F5E6C8;

  /* Brand surfaces — Pakistan flag emerald */
  --emerald-deep: #01411C;          /* Pakistan flag green */
  --emerald-mid:  #0A2B18;
  --emerald-soft: #1A4A30;
  --emerald-tint: rgba(10, 43, 24, 0.06);

  /* Text */
  --text-primary:   #0A1F14;
  --text-secondary: #1A2E22;
  --text-muted:     #4A5D52;
  --text-subtle:    #6B7B70;
  --text-cream:     #FAF7F0;
  --text-cream-mute: rgba(250, 247, 240, 0.65);
  --text-cream-faint: rgba(250, 247, 240, 0.42);

  /* Accent — burnished gold */
  --gold:        #C8A04A;
  --gold-light:  #D4AF37;
  --gold-deep:   #8A6D24;
  --gold-faint:  rgba(200, 160, 74, 0.18);
  --gold-soft:   rgba(200, 160, 74, 0.32);

  /* Live / status */
  --live-green:  #22C55E;
  --live-pulse:  rgba(34, 197, 94, 0.45);
  --warn-amber:  #F59E0B;
  --alert-red:   #DC2626;

  /* Glass surfaces — emerald-aware */
  --glass-bg:    rgba(255, 253, 247, 0.78);
  --glass-bg-2:  rgba(255, 253, 247, 0.65);
  --glass-bg-3:  rgba(255, 253, 247, 0.5);
  --glass-blur:  blur(16px) saturate(180%);
  --glass-blur-2: blur(10px) saturate(160%);
  --glass-blur-3: blur(6px) saturate(140%);
  --glass-bd:    rgba(10, 31, 20, 0.1);
  --glass-bd-2:  rgba(10, 31, 20, 0.06);
  --glass-bd-gold: rgba(200, 160, 74, 0.32);

  /* Dark glass (for hero / footer emerald surfaces) */
  --glass-dark-bg:   rgba(250, 247, 240, 0.06);
  --glass-dark-bd:   rgba(250, 247, 240, 0.14);

  /* Ambient pastel glows — emerald/gold tinted */
  --glow-emerald: rgba(10, 75, 48, 0.16);
  --glow-gold:    rgba(200, 160, 74, 0.18);
  --glow-cream:   rgba(245, 230, 200, 0.55);

  /* Typography */
  --ff-heading: 'Space Grotesk', 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --ff-body:    'Inter', 'Space Grotesk', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --ff-mono:    'JetBrains Mono', 'SF Mono', 'Fira Code', monospace;

  /* RTL script fonts — applied via [lang] selectors */
  --ff-urdu:    'Noto Nastaliq Urdu', 'Noto Naskh Arabic', serif;
  --ff-arabic:  'Noto Naskh Arabic', 'Noto Nastaliq Urdu', serif;

  /* Fluid type scale */
  --fs-display: clamp(2.6rem, 7.5vw, 6.5rem);
  --fs-h1:      clamp(2.2rem, 5.5vw, 4.6rem);
  --fs-h2:      clamp(1.9rem, 4.5vw, 3.6rem);
  --fs-h3:      clamp(1.1rem, 1.6vw, 1.5rem);
  --fs-body:    clamp(0.88rem, 1vw, 1.05rem);
  --fs-small:   clamp(0.74rem, 0.85vw, 0.88rem);
  --fs-micro:   clamp(0.62rem, 0.7vw, 0.76rem);

  /* Spacing */
  --sp-xs: clamp(4px, 0.5vw, 6px);
  --sp-sm: clamp(8px, 1vw, 12px);
  --sp-md: clamp(16px, 2vw, 24px);
  --sp-lg: clamp(28px, 4vw, 48px);
  --sp-xl: clamp(48px, 6vw, 80px);
  --sp-2xl: clamp(64px, 8vw, 110px);
  --sp-3xl: clamp(80px, 10vw, 140px);

  /* Radius */
  --r-sm:  clamp(6px, 0.8vw, 10px);
  --r-md:  clamp(10px, 1.2vw, 16px);
  --r-lg:  clamp(14px, 1.8vw, 22px);
  --r-xl:  clamp(20px, 2.6vw, 32px);
  --r-full: 9999px;

  /* Motion */
  --tx-fast: 0.15s cubic-bezier(0.16, 1, 0.3, 1);
  --tx-med:  0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --tx-slow: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  --tx-reveal: 0.7s cubic-bezier(0.16, 1, 0.3, 1);

  /* Layout */
  --max-w: 1320px;
  --nav-h: 68px;

  /* Z-index */
  --z-canvas: -1;
  --z-base: 1;
  --z-elev: 10;
  --z-nav: 100;
  --z-drawer: 200;
  --z-lang-menu: 250;
  --z-modal: 600;
}

/* ─── Body / typography defaults ───────────────────────────── */
body {
  font-family: var(--ff-body);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  background: var(--bg-base);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* RTL script rendering — applies when html[lang] is one of the RTL languages */
html[lang="ur"] body { font-family: var(--ff-urdu); line-height: 2.0; letter-spacing: 0; }
html[lang="sd"] body,
html[lang="ps"] body { font-family: var(--ff-arabic); line-height: 1.95; letter-spacing: 0; }
html[lang="pa"] body { font-family: var(--ff-arabic); line-height: 1.95; letter-spacing: 0; }

/* Keep brand display font for headings even in RTL */
html[lang="ur"] h1, html[lang="ur"] h2,
html[lang="sd"] h1, html[lang="sd"] h2,
html[lang="pa"] h1, html[lang="pa"] h2,
html[lang="ps"] h1, html[lang="ps"] h2 {
  font-family: var(--ff-urdu);
  font-weight: 600;
  line-height: 1.6;
}
html[lang="ur"] .nav-brand-name,
html[lang="ur"] .f-brand-name,
html[lang="sd"] .nav-brand-name,
html[lang="sd"] .f-brand-name,
html[lang="pa"] .nav-brand-name,
html[lang="pa"] .f-brand-name,
html[lang="ps"] .nav-brand-name,
html[lang="ps"] .f-brand-name {
  font-family: var(--ff-heading); /* keep "PakVox" in Latin */
}

/* Selection */
::selection { background: var(--gold); color: var(--emerald-deep); }

/* Skip link */
.skip-link {
  position: absolute; top: -100px; left: 0;
  background: var(--emerald-deep); color: var(--text-cream);
  padding: 10px 18px; font-size: var(--fs-small); font-weight: 500;
  z-index: var(--z-modal); border-radius: 0 0 var(--r-sm) 0;
}
.skip-link:focus { top: 0; }

/* ─── Header / Nav ─────────────────────────────────────────── */
header {
  position: sticky;
  top: 0;
  z-index: var(--z-nav);
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--glass-bd);
  transition: box-shadow var(--tx-med), background var(--tx-med);
}
.site-nav {
  display: flex; align-items: center;
  gap: clamp(8px, 1.5vw, 20px);
  padding: 0 clamp(16px, 4vw, 64px);
  height: var(--nav-h);
  max-width: var(--max-w);
  margin: 0 auto;
}
.site-nav.scrolled {
  background: var(--glass-bg);
  box-shadow: 0 1px 0 var(--glass-bd), 0 8px 24px rgba(10, 31, 20, 0.06);
}

.nav-brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav-brand-mark { flex-shrink: 0; border-radius: 8px; }
.nav-brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.nav-brand-name {
  font-family: var(--ff-heading);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  color: var(--emerald-deep);
}
.nav-brand-sub {
  font-family: var(--ff-mono);
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-top: 2px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.nav-brand-sub::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 1px;
  background: var(--gold);
  opacity: 0.7;
}

.nav-links { display: flex; gap: 2px; margin-inline-start: auto; }
.nav-links li a {
  display: block; padding: 8px 12px;
  font-size: var(--fs-small); font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--r-sm);
  transition: color var(--tx-fast), background var(--tx-fast);
}
.nav-links li a:hover { color: var(--emerald-deep); background: var(--emerald-tint); }

/* Language switcher */
.lang-switcher { position: relative; margin-inline-start: 8px; }
.lang-current {
  display: flex; align-items: center; gap: 6px;
  padding: 7px 10px;
  border: 1px solid var(--glass-bd);
  border-radius: var(--r-full);
  background: var(--glass-bg-2);
  color: var(--text-primary);
  font-size: var(--fs-micro);
  font-weight: 600;
  letter-spacing: 0.08em;
  transition: border-color var(--tx-fast), background var(--tx-fast);
}
.lang-current:hover { border-color: var(--gold); }
.lang-globe { width: 14px; height: 14px; color: var(--gold-deep); }
.lang-current-label { min-width: 22px; text-align: center; }
.lang-caret { width: 10px; height: 10px; transition: transform var(--tx-fast); }
.lang-switcher.is-open .lang-caret { transform: rotate(180deg); }

.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  inset-inline-end: 0;
  min-width: 180px;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-bd);
  border-radius: var(--r-md);
  box-shadow: 0 12px 36px rgba(10, 31, 20, 0.12);
  padding: 6px;
  z-index: var(--z-lang-menu);
  opacity: 0; transform: translateY(-6px); pointer-events: none;
  transition: opacity var(--tx-fast), transform var(--tx-fast);
}
.lang-switcher.is-open .lang-menu { opacity: 1; transform: translateY(0); pointer-events: auto; }
.lang-option {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 12px;
  border-radius: var(--r-sm);
  cursor: pointer;
  font-size: var(--fs-small);
  transition: background var(--tx-fast);
}
.lang-option:hover { background: var(--emerald-tint); }
.lang-option.is-active { background: var(--gold-faint); color: var(--emerald-deep); font-weight: 600; }
.lang-opt-native { font-size: 1rem; }
.lang-opt-en { font-family: var(--ff-mono); font-size: var(--fs-micro); color: var(--text-muted); letter-spacing: 0.1em; }

.nav-cta {
  padding: 9px 18px;
  border-radius: var(--r-full);
  background: var(--emerald-deep);
  color: var(--text-cream) !important;
  font-size: var(--fs-small);
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: background var(--tx-fast), transform var(--tx-fast);
  flex-shrink: 0;
}
.nav-cta:hover { background: var(--emerald-mid); transform: translateY(-1px); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 8px;
  margin-inline-start: 4px;
}
.hamburger span {
  width: 22px; height: 2px;
  background: var(--text-primary);
  border-radius: 1px;
  transition: transform var(--tx-fast), opacity var(--tx-fast);
}
.hamburger.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Mobile drawer */
.m-drawer {
  position: fixed;
  top: var(--nav-h);
  inset-inline-end: 0;
  width: min(320px, 80vw);
  height: calc(100vh - var(--nav-h));
  background: var(--bg-base);
  border-inline-start: 1px solid var(--glass-bd);
  box-shadow: -12px 0 32px rgba(10, 31, 20, 0.1);
  transform: translateX(100%);
  transition: transform var(--tx-med);
  z-index: var(--z-drawer);
  overflow-y: auto;
  padding: var(--sp-lg) var(--sp-md);
}
html[dir="rtl"] .m-drawer { transform: translateX(-100%); border-inline-start: none; border-inline-end: 1px solid var(--glass-bd); box-shadow: 12px 0 32px rgba(10, 31, 20, 0.1); }
.m-drawer.is-open { transform: translateX(0); }
.m-drawer ul { display: flex; flex-direction: column; gap: 4px; }
.m-drawer ul li a {
  display: block; padding: 12px 14px;
  color: var(--text-secondary);
  font-size: var(--fs-body);
  border-radius: var(--r-sm);
  transition: background var(--tx-fast);
}
.m-drawer ul li a:hover { background: var(--emerald-tint); color: var(--emerald-deep); }
.m-drawer-cta-wrap { margin-top: var(--sp-md); }
.m-drawer-cta {
  display: block; text-align: center;
  padding: 12px;
  background: var(--emerald-deep);
  color: var(--text-cream);
  border-radius: var(--r-md);
  font-weight: 600;
}

body.drawer-open { overflow: hidden; }

@media (max-width: 1000px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
}
@media (max-width: 760px) {
  .lang-current-label { display: none; }
  .nav-brand-sub { display: none; }
}

/* ─── Section primitives ───────────────────────────────────── */
section {
  position: relative;
  background: var(--bg-base);
}
section:nth-of-type(even) { background: var(--bg-subtle); }
#hero, #founder, footer { background: var(--emerald-deep); }
#terms { background: var(--bg-subtle); }

.s-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: var(--sp-3xl) clamp(16px, 4vw, 80px);
  position: relative;
  z-index: var(--z-base);
}

.s-tag {
  display: inline-block;
  font-family: var(--ff-mono);
  font-size: var(--fs-micro);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: var(--sp-sm);
}
.s-h {
  font-family: var(--ff-heading);
  font-size: var(--fs-h2);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--text-primary);
  margin-bottom: var(--sp-md);
}
.s-h .it {
  font-style: italic;
  font-weight: 400;
  color: var(--emerald-deep);
}
html[lang="ur"] .s-h, html[lang="sd"] .s-h, html[lang="pa"] .s-h, html[lang="ps"] .s-h {
  letter-spacing: 0;
  line-height: 1.4;
}
html[lang="ur"] .s-h .it, html[lang="sd"] .s-h .it, html[lang="pa"] .s-h .it, html[lang="ps"] .s-h .it {
  font-style: normal;
  font-weight: 600;
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity var(--tx-reveal), transform var(--tx-reveal);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* Ambient glow */
.ambient-glow { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.ag-1, .ag-2, .ag-3 {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
}
.ag-1 { top: 10%; inset-inline-start: -10%; width: 480px; height: 480px; background: var(--glow-cream); animation: ambientDrift1 26s ease-in-out infinite; }
.ag-2 { top: 40%; inset-inline-end: -8%; width: 380px; height: 380px; background: var(--glow-gold); animation: ambientDrift2 30s ease-in-out infinite; }
.ag-3 { bottom: -10%; inset-inline-start: 30%; width: 440px; height: 440px; background: var(--glow-emerald); animation: ambientDrift3 22s ease-in-out infinite; }

@keyframes ambientDrift1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(60px, 40px) scale(1.1); }
}
@keyframes ambientDrift2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-50px, 60px) scale(0.95); }
}
@keyframes ambientDrift3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, -50px) scale(1.08); }
}

/* ─── HERO ─────────────────────────────────────────────────── */
#hero {
  position: relative;
  overflow: hidden;
  min-height: min(92vh, 880px);
  padding: var(--sp-2xl) clamp(16px, 4vw, 80px) var(--sp-3xl);
  color: var(--text-cream);
  isolation: isolate;
}
#heroCanvas {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  z-index: var(--z-canvas);
  opacity: 0.7;
}
.hero-stars {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(1px 1px at 12% 18%, rgba(250,247,240,0.85), transparent),
    radial-gradient(1px 1px at 28% 62%, rgba(250,247,240,0.55), transparent),
    radial-gradient(1.2px 1.2px at 47% 32%, rgba(250,247,240,0.7), transparent),
    radial-gradient(1px 1px at 68% 78%, rgba(250,247,240,0.45), transparent),
    radial-gradient(1.5px 1.5px at 82% 22%, rgba(200,160,74,0.65), transparent),
    radial-gradient(1px 1px at 91% 58%, rgba(250,247,240,0.55), transparent),
    radial-gradient(1px 1px at 56% 88%, rgba(250,247,240,0.35), transparent);
  background-size: 100% 100%;
  z-index: var(--z-canvas);
  opacity: 0.7;
}
.hero-crescent {
  position: absolute;
  top: 8%;
  inset-inline-end: -8%;
  width: clamp(420px, 50vw, 720px);
  height: clamp(420px, 50vw, 720px);
  z-index: var(--z-canvas);
  opacity: 0.55;
  pointer-events: none;
}
.hero-crescent svg { width: 100%; height: 100%; }

.hero-inner {
  position: relative;
  z-index: var(--z-base);
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: var(--sp-xl);
  align-items: center;
  padding-top: var(--sp-xl);
}
@media (max-width: 1000px) {
  .hero-inner { grid-template-columns: 1fr; gap: var(--sp-lg); }
  .hero-crescent { opacity: 0.35; }
}

.v-label {
  font-family: var(--ff-mono);
  font-size: var(--fs-micro);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--sp-md);
  grid-column: 1 / -1;
  align-self: start;
}

.hero-left { display: flex; flex-direction: column; gap: var(--sp-md); }

.telemetry-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px;
  background: var(--glass-dark-bg);
  border: 1px solid var(--glass-dark-bd);
  backdrop-filter: var(--glass-blur-3);
  border-radius: var(--r-full);
  font-family: var(--ff-mono);
  font-size: var(--fs-micro);
  letter-spacing: 0.1em;
  color: var(--text-cream-mute);
  width: fit-content;
}
.telemetry-indicator {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--live-green);
  box-shadow: 0 0 0 3px var(--live-pulse);
  animation: livePulse 2s ease-in-out infinite;
}
@keyframes livePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.65; transform: scale(0.9); }
}
.telemetry-badge strong { color: var(--text-cream); font-weight: 600; }
.telemetry-divider { width: 1px; height: 10px; background: var(--glass-dark-bd); }

.hero-h1 {
  font-family: var(--ff-heading);
  font-size: var(--fs-display);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.035em;
  color: var(--text-cream);
}
.hero-h1 .h-line-1 { display: block; }
.hero-h1 .h-line-2 {
  display: block;
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
html[lang="ur"] .hero-h1, html[lang="sd"] .hero-h1, html[lang="pa"] .hero-h1, html[lang="ps"] .hero-h1 {
  font-family: var(--ff-urdu);
  font-size: clamp(2.2rem, 6vw, 5rem);
  line-height: 1.5;
  letter-spacing: 0;
  font-weight: 600;
}
html[lang="ur"] .hero-h1 .h-line-2, html[lang="sd"] .hero-h1 .h-line-2,
html[lang="pa"] .hero-h1 .h-line-2, html[lang="ps"] .hero-h1 .h-line-2 {
  -webkit-text-fill-color: var(--gold);
  background: none;
}

.hero-div-row {
  display: flex; gap: var(--sp-md);
  align-items: flex-start;
  flex-wrap: wrap;
}
.hero-sub {
  flex: 1; min-width: 280px;
  font-size: var(--fs-body);
  line-height: 1.7;
  color: var(--text-cream-mute);
  max-width: 540px;
}
html[dir="rtl"] .hero-sub { text-align: right; }
.hero-metric {
  flex-shrink: 0;
  padding: 12px 18px;
  border: 1px solid var(--glass-dark-bd);
  border-radius: var(--r-md);
  background: var(--glass-dark-bg);
  text-align: center;
}
.hero-metric-val {
  font-family: var(--ff-mono);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: -0.02em;
}
.hero-metric-lbl {
  font-family: var(--ff-mono);
  font-size: var(--fs-micro);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-cream-faint);
  margin-top: 2px;
}

.hero-actions { display: flex; gap: var(--sp-sm); flex-wrap: wrap; }

.btn-bracket {
  position: relative;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 22px;
  font-family: var(--ff-mono);
  font-size: var(--fs-small);
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: var(--r-sm);
  transition: all var(--tx-fast);
}
.btn-bracket::before, .btn-bracket::after {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  font-family: var(--ff-mono);
  color: var(--gold);
  opacity: 0.6;
  transition: opacity var(--tx-fast);
}
.btn-bracket::before { content: "["; inset-inline-start: 6px; }
.btn-bracket::after { content: "]"; inset-inline-end: 6px; }
.btn-bracket:hover::before, .btn-bracket:hover::after { opacity: 1; }

.btn-primary-glass {
  background: var(--gold);
  color: var(--emerald-deep);
  border: 1px solid var(--gold);
}
.btn-primary-glass:hover { background: var(--gold-light); transform: translateY(-1px); }

.btn-outline-glass {
  background: var(--glass-dark-bg);
  color: var(--text-cream);
  border: 1px solid var(--glass-dark-bd);
}
.btn-outline-glass:hover { border-color: var(--gold); background: rgba(200, 160, 74, 0.08); }

.play-ring {
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
}
.play-ring svg { width: 10px; height: 10px; }

.hero-languages {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  margin-top: var(--sp-sm);
}
.hero-languages-label {
  font-family: var(--ff-mono);
  font-size: var(--fs-micro);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-cream-faint);
}
.hero-lang-chip {
  padding: 4px 10px;
  border: 1px solid var(--glass-dark-bd);
  border-radius: var(--r-full);
  font-size: var(--fs-small);
  color: var(--text-cream);
  background: var(--glass-dark-bg);
}
.hero-lang-chip-en {
  font-family: var(--ff-mono);
  font-size: var(--fs-micro);
  letter-spacing: 0.1em;
  color: var(--gold);
  border-color: var(--gold-soft);
}

/* Hero right card */
.hero-card-col { display: flex; justify-content: center; }
.hero-r-card {
  position: relative;
  width: 100%;
  max-width: 420px;
  aspect-ratio: 1 / 1.05;
  border-radius: var(--r-lg);
  background: linear-gradient(135deg, rgba(250,247,240,0.08) 0%, rgba(200,160,74,0.04) 100%);
  border: 1px solid var(--glass-dark-bd);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  padding: var(--sp-lg);
  overflow: hidden;
}
.r-card-pulse {
  position: absolute;
  top: -20%; inset-inline-end: -20%;
  width: 60%; height: 60%;
  border-radius: 50%;
  background: radial-gradient(circle, var(--gold-soft) 0%, transparent 70%);
  filter: blur(20px);
  animation: cardPulse 4s ease-in-out infinite;
}
@keyframes cardPulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.1); }
}
.r-card-grid { position: absolute; inset: 0; opacity: 0.4; }
.r-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(10, 43, 24, 0.4) 100%);
}
.r-card-content {
  position: relative; height: 100%;
  display: flex; flex-direction: column; justify-content: space-between;
  font-family: var(--ff-mono);
}
.r-card-tag {
  font-size: var(--fs-micro);
  letter-spacing: 0.12em;
  color: var(--gold);
}
.r-card-title {
  font-family: var(--ff-heading);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text-cream);
  margin: 10px 0 12px;
  letter-spacing: -0.02em;
}
.r-card-bar { display: flex; gap: 6px; align-items: center; }
.r-card-crescent {
  position: absolute;
  bottom: var(--sp-md);
  inset-inline-end: var(--sp-md);
}
.r-card-crescent svg { width: 32px; height: 32px; }

/* Hero ticker */
.hero-ticker {
  background: var(--emerald-mid);
  border-block: 1px solid rgba(200, 160, 74, 0.22);
  overflow: hidden;
  padding: 12px 0;
}
.hero-ticker-track {
  display: flex;
  gap: var(--sp-xl);
  animation: tickerScroll 32s linear infinite;
  white-space: nowrap;
}
html[dir="rtl"] .hero-ticker-track { animation-direction: reverse; }
.hero-ticker-item {
  font-family: var(--ff-mono);
  font-size: var(--fs-micro);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}
.hero-ticker-item::before {
  content: "◆";
  color: var(--text-cream-faint);
  margin-inline-end: var(--sp-md);
}
@keyframes tickerScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ─── Platform / execution diagram ─────────────────────────── */
.platform-hdr { text-align: center; max-width: 880px; margin: 0 auto var(--sp-xl); }
.platform-body {
  font-size: var(--fs-body);
  color: var(--text-muted);
  max-width: 720px;
  margin: 0 auto;
}

.exec-diagram {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: var(--sp-md);
  align-items: center;
  margin: var(--sp-xl) 0 var(--sp-lg);
}
@media (max-width: 900px) {
  .exec-diagram {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto auto auto;
    gap: var(--sp-md);
  }
}

.exec-node {
  position: relative;
  padding: var(--sp-lg);
  background: var(--glass-bg);
  border: 1px solid var(--glass-bd);
  border-radius: var(--r-lg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  text-align: center;
  transition: border-color var(--tx-fast), transform var(--tx-fast), box-shadow var(--tx-fast);
  --card-glow-x: 50%; --card-glow-y: 50%;
}
.exec-node::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: var(--r-lg);
  background: radial-gradient(circle at var(--card-glow-x) var(--card-glow-y), var(--gold-faint), transparent 60%);
  opacity: 0;
  transition: opacity var(--tx-fast);
  pointer-events: none;
}
.exec-node:hover { border-color: var(--gold-soft); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(10, 31, 20, 0.08); }
.exec-node:hover::before { opacity: 1; }
.exec-node.is-active { border-color: var(--gold); }
.exec-node-icon {
  width: 48px; height: 48px;
  margin: 0 auto var(--sp-sm);
  color: var(--emerald-deep);
  padding: 10px;
  border: 1px solid var(--glass-bd);
  border-radius: var(--r-md);
  background: var(--bg-base);
}
.exec-node-label {
  font-family: var(--ff-heading);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text-primary);
  margin-bottom: 4px;
}
.exec-node-meta {
  font-family: var(--ff-mono);
  font-size: var(--fs-micro);
  letter-spacing: 0.08em;
  color: var(--gold-deep);
}

.exec-wire {
  position: relative;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-faint), var(--gold-soft), var(--gold-faint));
  border-radius: 1px;
}
@media (max-width: 900px) {
  .exec-wire { width: 2px; height: 28px; margin: 0 auto; background: linear-gradient(180deg, var(--gold-faint), var(--gold-soft), var(--gold-faint)); }
}
.exec-wire-packet {
  position: absolute;
  top: -3px;
  width: 8px; height: 8px;
  background: var(--live-green);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--live-pulse);
  animation: wirePacket 2.4s linear infinite;
}
.exec-wire-packet:nth-child(2) { animation-delay: 1.2s; }
@keyframes wirePacket {
  0%   { inset-inline-start: 0; opacity: 0; }
  20%  { opacity: 1; }
  80%  { opacity: 1; }
  100% { inset-inline-start: calc(100% - 8px); opacity: 0; }
}
html[dir="rtl"] .exec-wire-packet { animation-direction: reverse; }
.exec-wire-label {
  position: absolute;
  top: -22px;
  inset-inline-start: 50%;
  transform: translateX(-50%);
  font-family: var(--ff-mono);
  font-size: var(--fs-micro);
  letter-spacing: 0.1em;
  color: var(--text-subtle);
}
@media (max-width: 900px) {
  .exec-wire-label { top: 50%; inset-inline-start: auto; inset-inline-end: calc(100% + 8px); transform: translateY(-50%); }
}

.connector-pills {
  display: flex; flex-wrap: wrap; gap: var(--sp-sm);
  justify-content: center;
  margin: var(--sp-lg) 0;
}
.connector-pill {
  padding: 6px 14px;
  background: var(--bg-base);
  border: 1px solid var(--glass-bd);
  border-radius: var(--r-full);
  font-size: var(--fs-small);
  font-weight: 500;
  color: var(--text-secondary);
  transition: border-color var(--tx-fast), color var(--tx-fast);
}
.connector-pill:hover { border-color: var(--gold); color: var(--emerald-deep); }

.metrics-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  background: var(--glass-bd);
  border: 1px solid var(--glass-bd);
  border-radius: var(--r-md);
  overflow: hidden;
}
@media (max-width: 1000px) { .metrics-strip { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px)  { .metrics-strip { grid-template-columns: repeat(2, 1fr); } }
.metric-cell {
  background: var(--bg-base);
  padding: var(--sp-md) var(--sp-sm);
  text-align: center;
}
.metric-cell-label {
  font-family: var(--ff-mono);
  font-size: var(--fs-micro);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.metric-cell-value {
  font-family: var(--ff-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--emerald-deep);
}

/* ─── Architecture ─────────────────────────────────────────── */
.arch-hdr { text-align: center; max-width: 880px; margin: 0 auto var(--sp-xl); }
.arch-body { color: var(--text-muted); max-width: 720px; margin: 0 auto; }

.arch-circuit-svg {
  width: 100%; max-width: 1200px;
  height: 240px;
  margin: var(--sp-lg) auto;
  display: block;
}

.arch-stack {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-md);
}
@media (max-width: 1000px) { .arch-stack { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .arch-stack { grid-template-columns: 1fr; } }

.arch-card {
  position: relative;
  padding: var(--sp-lg);
  background: var(--glass-bg);
  border: 1px solid var(--glass-bd);
  border-radius: var(--r-lg);
  backdrop-filter: var(--glass-blur-2);
  -webkit-backdrop-filter: var(--glass-blur-2);
  transition: border-color var(--tx-fast), transform var(--tx-fast);
  --card-glow-x: 50%; --card-glow-y: 0%;
}
.arch-card::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: var(--r-lg);
  background: radial-gradient(circle at var(--card-glow-x) var(--card-glow-y), var(--gold-faint), transparent 70%);
  opacity: 0;
  transition: opacity var(--tx-fast);
  pointer-events: none;
}
.arch-card:hover { border-color: var(--gold); transform: translateY(-3px); }
.arch-card:hover::before { opacity: 1; }
.arch-card-idx {
  font-family: var(--ff-mono);
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 8px;
  letter-spacing: 0.08em;
}
.arch-card-name {
  font-family: var(--ff-heading);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--sp-sm);
  letter-spacing: -0.015em;
}
.arch-card-desc {
  font-size: var(--fs-small);
  color: var(--text-muted);
  line-height: 1.65;
}

/* ─── Industries mosaic ────────────────────────────────────── */
.industries-hdr { text-align: center; max-width: 880px; margin: 0 auto var(--sp-xl); }
.industries-body { color: var(--text-muted); max-width: 720px; margin: 0 auto; }

.mosaic-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 110px;
  gap: var(--sp-sm);
  margin-bottom: var(--sp-md);
}
@media (max-width: 1000px) { .mosaic-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px)  { .mosaic-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 100px; } }

.mosaic-tile {
  display: flex; flex-direction: column;
  justify-content: space-between;
  padding: var(--sp-md);
  background: var(--glass-bg);
  border: 1px solid var(--glass-bd);
  border-radius: var(--r-md);
  text-align: start;
  cursor: pointer;
  transition: all var(--tx-fast);
  --card-glow-x: 50%; --card-glow-y: 50%;
}
.mosaic-tile::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: var(--r-md);
  background: radial-gradient(circle at var(--card-glow-x) var(--card-glow-y), var(--gold-faint), transparent 60%);
  opacity: 0;
  transition: opacity var(--tx-fast);
  pointer-events: none;
}
.mosaic-tile { position: relative; }
.mosaic-tile:hover, .mosaic-tile.is-active {
  border-color: var(--gold);
  background: var(--bg-base);
}
.mosaic-tile:hover::before, .mosaic-tile.is-active::before { opacity: 1; }
.mosaic-tile-idx {
  font-family: var(--ff-mono);
  font-size: var(--fs-micro);
  letter-spacing: 0.12em;
  color: var(--gold-deep);
}
.mosaic-tile-name {
  font-family: var(--ff-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.015em;
}
.mosaic-tile-tag {
  font-family: var(--ff-mono);
  font-size: var(--fs-micro);
  color: var(--text-muted);
  letter-spacing: 0.04em;
}
/* asymmetric spans for visual rhythm */
.mosaic-tile:nth-child(1) { grid-column: span 3; grid-row: span 2; }
.mosaic-tile:nth-child(2) { grid-column: span 3; grid-row: span 1; }
.mosaic-tile:nth-child(3) { grid-column: span 2; grid-row: span 1; }
.mosaic-tile:nth-child(4) { grid-column: span 2; grid-row: span 1; }
.mosaic-tile:nth-child(5) { grid-column: span 2; grid-row: span 1; }
.mosaic-tile:nth-child(6) { grid-column: span 3; grid-row: span 1; }
.mosaic-tile:nth-child(7) { grid-column: span 3; grid-row: span 1; }
@media (max-width: 1000px) {
  .mosaic-tile:nth-child(n) { grid-column: span 1; grid-row: span 1; }
}
@media (max-width: 600px) {
  .mosaic-tile:nth-child(n) { grid-column: span 1; grid-row: span 1; }
}

.mosaic-detail {
  padding: var(--sp-lg);
  background: var(--bg-base);
  border: 1px solid var(--glass-bd);
  border-radius: var(--r-lg);
  border-inline-start: 3px solid var(--gold);
}
.md-hdr { margin-bottom: var(--sp-md); }
.md-tag {
  display: inline-block;
  font-family: var(--ff-mono);
  font-size: var(--fs-micro);
  letter-spacing: 0.12em;
  color: var(--gold-deep);
  margin-bottom: var(--sp-sm);
}
.md-title {
  font-family: var(--ff-heading);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}
.md-body p { color: var(--text-secondary); margin-bottom: var(--sp-md); line-height: 1.75; }
.md-body ul { display: flex; flex-direction: column; gap: 8px; }
.md-body li {
  position: relative;
  padding-inline-start: 22px;
  color: var(--text-muted);
  font-size: var(--fs-small);
  line-height: 1.6;
}
.md-body li::before {
  content: "▸";
  position: absolute;
  inset-inline-start: 0;
  color: var(--gold);
}

/* ─── Capabilities ─────────────────────────────────────────── */
.cap-hdr { text-align: center; margin-bottom: var(--sp-xl); }
.cap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-md);
}
@media (max-width: 1000px) { .cap-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .cap-grid { grid-template-columns: 1fr; } }
.cap-card {
  position: relative;
  padding: var(--sp-lg);
  background: var(--glass-bg);
  border: 1px solid var(--glass-bd);
  border-radius: var(--r-lg);
  backdrop-filter: var(--glass-blur-2);
  transition: border-color var(--tx-fast), transform var(--tx-fast);
  --card-glow-x: 50%; --card-glow-y: 0%;
}
.cap-card::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: var(--r-lg);
  background: radial-gradient(circle at var(--card-glow-x) var(--card-glow-y), var(--gold-faint), transparent 70%);
  opacity: 0;
  transition: opacity var(--tx-fast);
  pointer-events: none;
}
.cap-card:hover { border-color: var(--gold); transform: translateY(-3px); }
.cap-card:hover::before { opacity: 1; }
.cap-card-idx {
  font-family: var(--ff-mono);
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 8px;
}
.cap-card-name {
  font-family: var(--ff-heading);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--sp-sm);
  letter-spacing: -0.015em;
}
.cap-card-desc {
  font-size: var(--fs-small);
  color: var(--text-muted);
  line-height: 1.65;
}

/* ─── Security Model ───────────────────────────────────────── */
.sec-hdr { text-align: center; max-width: 880px; margin: 0 auto var(--sp-xl); }
.sec-body { color: var(--text-muted); max-width: 720px; margin: 0 auto; }

.sec-stack {
  display: flex; flex-direction: column;
  border: 1px solid var(--glass-bd);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--glass-bg);
}
.sec-layer {
  display: grid;
  grid-template-columns: 60px 1fr auto;
  gap: var(--sp-md);
  padding: var(--sp-md) var(--sp-lg);
  align-items: center;
  background: var(--bg-base);
  transition: background var(--tx-fast);
}
.sec-layer:hover { background: var(--bg-subtle); }
.sec-layer-num {
  font-family: var(--ff-mono);
  font-size: 1rem;
  font-weight: 600;
  color: var(--gold);
}
.sec-layer-name {
  font-family: var(--ff-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}
.sec-layer-desc {
  font-size: var(--fs-small);
  color: var(--text-muted);
  line-height: 1.6;
}
.sec-layer-pill {
  padding: 4px 12px;
  background: var(--emerald-tint);
  border: 1px solid var(--gold-faint);
  border-radius: var(--r-full);
  font-family: var(--ff-mono);
  font-size: var(--fs-micro);
  letter-spacing: 0.08em;
  color: var(--emerald-deep);
  white-space: nowrap;
}
.sec-divider { height: 1px; background: var(--glass-bd); }

.sec-compliance {
  margin-top: var(--sp-lg);
  padding: var(--sp-md);
  border: 1px solid var(--glass-bd);
  border-radius: var(--r-md);
  background: var(--bg-base);
}
.sec-compliance-hdr {
  display: block;
  font-family: var(--ff-mono);
  font-size: var(--fs-micro);
  letter-spacing: 0.12em;
  color: var(--gold-deep);
  margin-bottom: var(--sp-sm);
}
.sec-compliance-grid {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.sec-compliance-chip {
  padding: 6px 14px;
  background: var(--emerald-deep);
  color: var(--text-cream);
  border-radius: var(--r-full);
  font-size: var(--fs-micro);
  font-weight: 600;
  letter-spacing: 0.04em;
}

/* ─── Pilot ────────────────────────────────────────────────── */
.pilot-hdr { text-align: center; max-width: 880px; margin: 0 auto var(--sp-xl); }
.pilot-body { color: var(--text-muted); max-width: 720px; margin: 0 auto; }

.pilot-metrics {
  display: flex; flex-wrap: wrap; gap: var(--sp-sm);
  justify-content: center;
  margin-bottom: var(--sp-lg);
}
.pilot-metric {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--glass-bd);
  border-radius: var(--r-full);
  background: var(--bg-base);
}
.pilot-metric-num {
  font-family: var(--ff-mono);
  font-size: var(--fs-micro);
  color: var(--gold);
}
.pilot-metric-name {
  font-size: var(--fs-small);
  font-weight: 500;
  color: var(--text-secondary);
}

.pilot-sequence {
  display: grid;
  grid-template-columns: 1fr 24px 1fr 24px 1fr 24px 1fr;
  gap: var(--sp-sm);
  align-items: center;
  margin-bottom: var(--sp-xl);
}
@media (max-width: 1000px) {
  .pilot-sequence {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto auto auto auto auto;
  }
  .pilot-step-arrow { transform: rotate(90deg); margin: 0 auto; }
}
.pilot-step {
  padding: var(--sp-md);
  background: var(--bg-base);
  border: 1px solid var(--glass-bd);
  border-radius: var(--r-md);
  text-align: center;
}
.pilot-step-num {
  font-family: var(--ff-mono);
  font-size: var(--fs-small);
  color: var(--gold);
  margin-bottom: 6px;
}
.pilot-step-name {
  font-family: var(--ff-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}
.pilot-step-desc {
  font-size: var(--fs-micro);
  color: var(--text-muted);
  line-height: 1.55;
}
.pilot-step-arrow {
  text-align: center;
  font-family: var(--ff-mono);
  color: var(--gold);
  font-size: 1.4rem;
}
.pilot-cta-wrap { text-align: center; }

/* ─── Enterprise pricing ───────────────────────────────────── */
.enterprise-hdr { text-align: center; max-width: 880px; margin: 0 auto var(--sp-xl); }
.enterprise-body { color: var(--text-muted); max-width: 720px; margin: 0 auto; }

.pricing-tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-md);
}
@media (max-width: 1000px) { .pricing-tiers { grid-template-columns: 1fr; } }

.tier-card {
  position: relative;
  padding: var(--sp-lg);
  background: var(--glass-bg);
  border: 1px solid var(--glass-bd);
  border-radius: var(--r-lg);
  display: flex; flex-direction: column;
  gap: var(--sp-md);
  transition: transform var(--tx-fast), border-color var(--tx-fast);
}
.tier-card:hover { transform: translateY(-4px); border-color: var(--gold-soft); }
.tier-card--featured {
  border-color: var(--gold);
  background: var(--bg-base);
  box-shadow: 0 12px 36px rgba(10, 31, 20, 0.1);
}
.tier-badge {
  position: absolute;
  top: -12px;
  inset-inline-start: 50%;
  transform: translateX(-50%);
  padding: 4px 14px;
  background: var(--gold);
  color: var(--emerald-deep);
  border-radius: var(--r-full);
  font-family: var(--ff-mono);
  font-size: var(--fs-micro);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}
.tier-name {
  font-family: var(--ff-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--emerald-deep);
  letter-spacing: -0.02em;
}
.tier-tagline {
  font-size: var(--fs-small);
  color: var(--text-muted);
  line-height: 1.55;
  min-height: 44px;
}
.tier-list { display: flex; flex-direction: column; gap: 8px; flex: 1; }
.tier-list li {
  position: relative;
  padding-inline-start: 22px;
  font-size: var(--fs-small);
  color: var(--text-secondary);
  line-height: 1.55;
}
.tier-list li::before {
  content: "✓";
  position: absolute;
  inset-inline-start: 0;
  color: var(--emerald-deep);
  font-weight: 700;
}
.tier-cta {
  display: block;
  text-align: center;
  padding: 10px 14px;
  border-radius: var(--r-sm);
  background: var(--emerald-deep);
  color: var(--text-cream);
  font-size: var(--fs-small);
  font-weight: 600;
  transition: background var(--tx-fast);
}
.tier-cta:hover { background: var(--emerald-mid); }
.tier-card--featured .tier-cta { background: var(--gold); color: var(--emerald-deep); }
.tier-card--featured .tier-cta:hover { background: var(--gold-light); }

.pricing-note {
  margin-top: var(--sp-lg);
  padding: var(--sp-md);
  border: 1px dashed var(--glass-bd);
  border-radius: var(--r-md);
  background: var(--bg-base);
  display: flex; gap: var(--sp-sm); flex-wrap: wrap; align-items: baseline;
}
.pricing-note-label {
  font-family: var(--ff-mono);
  font-size: var(--fs-micro);
  letter-spacing: 0.12em;
  color: var(--gold-deep);
}
.pricing-note-text {
  font-size: var(--fs-small);
  color: var(--text-muted);
}

/* ─── FAQ ──────────────────────────────────────────────────── */
.faq-hdr { text-align: center; margin-bottom: var(--sp-xl); }
.faq-list {
  max-width: 880px;
  margin: 0 auto;
  display: flex; flex-direction: column;
  gap: 10px;
}
.faq-row {
  background: var(--glass-bg);
  border: 1px solid var(--glass-bd);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color var(--tx-fast);
}
.faq-row[open] { border-color: var(--gold); }
.faq-row summary {
  display: flex; justify-content: space-between; align-items: center;
  padding: var(--sp-md) var(--sp-lg);
  font-family: var(--ff-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  list-style: none;
}
.faq-row summary::-webkit-details-marker { display: none; }
.faq-row summary::after {
  content: "+";
  font-family: var(--ff-mono);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--gold);
  transition: transform var(--tx-fast);
}
.faq-row[open] summary::after { transform: rotate(45deg); }
.faq-a {
  padding: 0 var(--sp-lg) var(--sp-md);
  color: var(--text-muted);
  font-size: var(--fs-body);
  line-height: 1.75;
}

/* ─── Founder ──────────────────────────────────────────────── */
.founder-hdr { text-align: center; max-width: 880px; margin: 0 auto var(--sp-xl); color: var(--text-cream); }
.founder-hdr .s-tag { color: var(--gold); }
.founder-hdr .s-h { color: var(--text-cream); }
.founder-hdr .s-h .it { color: var(--gold); }

.founder-card {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: var(--sp-xl);
  padding: var(--sp-xl);
  background: rgba(250, 247, 240, 0.04);
  border: 1px solid var(--glass-dark-bd);
  border-radius: var(--r-lg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  color: var(--text-cream);
}
@media (max-width: 900px) {
  .founder-card { grid-template-columns: 1fr; gap: var(--sp-md); padding: var(--sp-lg); }
}

.founder-meta { display: flex; flex-direction: column; gap: 10px; }
.founder-monogram {
  width: 64px; height: 64px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--ff-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-cream);
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-deep) 100%);
  border-radius: var(--r-md);
  letter-spacing: -0.04em;
  margin-bottom: var(--sp-sm);
}
.founder-meta-line {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 8px;
  font-family: var(--ff-mono);
  font-size: var(--fs-small);
  align-items: baseline;
}
.fml-key { color: var(--gold); letter-spacing: 0.06em; }
.fml-val { color: var(--text-cream); }
.fml-link { color: var(--gold); transition: color var(--tx-fast); }
.fml-link:hover { color: var(--gold-light); text-decoration: underline; }

.founder-bio { display: flex; flex-direction: column; gap: var(--sp-md); }
.founder-name {
  font-family: var(--ff-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-cream);
  letter-spacing: -0.02em;
}
.founder-title {
  font-family: var(--ff-mono);
  font-size: var(--fs-small);
  color: var(--gold);
  letter-spacing: 0.06em;
  margin-top: -8px;
  margin-bottom: var(--sp-sm);
}
.founder-bio p {
  color: var(--text-cream-mute);
  line-height: 1.75;
  font-size: var(--fs-body);
}
.founder-stack {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-top: var(--sp-sm);
}
.founder-stack-chip {
  padding: 4px 10px;
  border: 1px solid var(--glass-dark-bd);
  border-radius: var(--r-full);
  font-family: var(--ff-mono);
  font-size: var(--fs-micro);
  color: var(--text-cream-mute);
  letter-spacing: 0.04em;
}
.founder-links {
  display: flex; align-items: center; gap: var(--sp-sm);
  margin-top: var(--sp-sm);
  padding-top: var(--sp-sm);
  border-top: 1px solid var(--glass-dark-bd);
}
.founder-links-alias {
  font-family: var(--ff-mono);
  font-size: var(--fs-micro);
  color: var(--gold);
  letter-spacing: 0.1em;
  padding: 4px 10px;
  border: 1px solid var(--gold-soft);
  border-radius: var(--r-full);
}
.founder-link {
  font-family: var(--ff-mono);
  font-size: var(--fs-small);
  color: var(--text-cream);
  transition: color var(--tx-fast);
}
.founder-link:hover { color: var(--gold); }

.vision-quote {
  max-width: 880px;
  margin: var(--sp-xl) auto 0;
  padding: var(--sp-xl) var(--sp-lg);
  text-align: center;
  position: relative;
}
.vision-quote-mark {
  font-family: var(--ff-heading);
  font-size: 4rem;
  line-height: 1;
  color: var(--gold);
  opacity: 0.5;
  display: block;
  margin-bottom: -16px;
}
.vision-quote p {
  font-family: var(--ff-heading);
  font-size: clamp(1.2rem, 2.2vw, 1.6rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.4;
  color: var(--text-cream);
  letter-spacing: -0.015em;
}
html[dir="rtl"] .vision-quote p { font-style: normal; }
.vision-quote-attrib {
  display: block;
  margin-top: var(--sp-md);
  font-family: var(--ff-mono);
  font-size: var(--fs-micro);
  letter-spacing: 0.12em;
  color: var(--gold);
}

/* ─── Live Demo / Contact ──────────────────────────────────── */
.demo-hdr { text-align: center; max-width: 880px; margin: 0 auto var(--sp-xl); }
.demo-body { color: var(--text-muted); max-width: 720px; margin: 0 auto; }

.dial-card {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: var(--sp-md);
  padding: var(--sp-xl);
  background: var(--glass-bg);
  border: 1px solid var(--glass-bd);
  border-radius: var(--r-lg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
}
@media (max-width: 900px) {
  .dial-card { grid-template-columns: 1fr; padding: var(--sp-lg); }
}
.dial-card-left { display: flex; flex-direction: column; gap: var(--sp-md); }
.dial-card-tag {
  display: block;
  font-family: var(--ff-mono);
  font-size: var(--fs-micro);
  letter-spacing: 0.12em;
  color: var(--gold-deep);
  margin-bottom: 6px;
}
.dial-card-h {
  font-family: var(--ff-heading);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}
.dial-strip {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px;
  background: var(--bg-base);
  border: 1px solid var(--glass-bd);
  border-radius: var(--r-sm);
}
.vox-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--live-green);
  box-shadow: 0 0 0 3px var(--live-pulse);
  animation: livePulse 2s ease-in-out infinite;
  flex-shrink: 0;
}
.dial-strip-text {
  font-family: var(--ff-mono);
  font-size: var(--fs-micro);
  letter-spacing: 0.06em;
  color: var(--text-muted);
}
.dial-strip--pulse { animation: dialPulse 1.2s ease-out; }
@keyframes dialPulse {
  0% { box-shadow: 0 0 0 0 var(--live-pulse); }
  100% { box-shadow: 0 0 0 18px transparent; }
}

.dialpad-cta-btn {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px;
  background: var(--emerald-deep);
  color: var(--text-cream);
  border-radius: var(--r-md);
  font-family: var(--ff-mono);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: background var(--tx-fast), transform var(--tx-fast);
}
.dialpad-cta-btn:hover { background: var(--emerald-mid); transform: translateY(-1px); }
.dialpad-cta-btn svg { width: 20px; height: 20px; }

.dial-meta {
  display: flex; flex-direction: column;
  gap: 8px;
  padding: var(--sp-md);
  background: var(--bg-base);
  border: 1px solid var(--glass-bd);
  border-radius: var(--r-md);
}
.dial-meta-row {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 8px;
  font-family: var(--ff-mono);
  font-size: var(--fs-micro);
  align-items: baseline;
}
.dial-meta-key { color: var(--gold-deep); letter-spacing: 0.06em; }
.dial-meta-val { color: var(--text-secondary); }

.dial-card-right {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-sm);
}
@media (max-width: 600px) { .dial-card-right { grid-template-columns: 1fr; } }
.tele-card {
  padding: var(--sp-md);
  background: var(--emerald-deep);
  color: var(--text-cream);
  border-radius: var(--r-md);
  border: 1px solid var(--glass-dark-bd);
}
.tele-card-label {
  font-family: var(--ff-mono);
  font-size: var(--fs-micro);
  letter-spacing: 0.08em;
  color: var(--text-cream-mute);
  margin-bottom: 6px;
}
.tele-card-value {
  font-family: var(--ff-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--gold);
}

.demo-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-sm);
  margin-top: var(--sp-lg);
}
@media (max-width: 900px) { .demo-links { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .demo-links { grid-template-columns: 1fr; } }
.demo-link {
  padding: var(--sp-md);
  background: var(--bg-base);
  border: 1px solid var(--glass-bd);
  border-radius: var(--r-md);
  transition: border-color var(--tx-fast), transform var(--tx-fast);
  display: flex; flex-direction: column; gap: 4px;
}
.demo-link:hover { border-color: var(--gold); transform: translateY(-2px); }
.demo-link-name {
  font-family: var(--ff-heading);
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--text-primary);
}
.demo-link-url {
  font-family: var(--ff-mono);
  font-size: var(--fs-micro);
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

/* ─── Terms ────────────────────────────────────────────────── */
.terms-hdr { text-align: center; max-width: 880px; margin: 0 auto var(--sp-xl); }
.terms-body { color: var(--text-muted); max-width: 720px; margin: 0 auto; }
.terms-shell {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: var(--sp-md);
}
@media (max-width: 900px) {
  .terms-shell { grid-template-columns: 1fr; }
}
.terms-tabs {
  display: flex; flex-direction: column;
  gap: 4px;
}
.terms-row {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px;
  border: 1px solid var(--glass-bd);
  border-radius: var(--r-sm);
  background: var(--bg-base);
  text-align: start;
  font-family: var(--ff-mono);
  font-size: var(--fs-small);
  color: var(--text-secondary);
  transition: all var(--tx-fast);
}
.terms-row:hover { border-color: var(--gold-soft); }
.terms-row--active {
  background: var(--emerald-deep);
  color: var(--text-cream);
  border-color: var(--emerald-deep);
}
.terms-row-idx { color: var(--gold); font-weight: 600; }
.terms-row-name { font-family: var(--ff-body); font-weight: 500; }

.terms-panels {
  padding: var(--sp-lg);
  background: var(--bg-base);
  border: 1px solid var(--glass-bd);
  border-radius: var(--r-md);
  min-height: 240px;
}
.terms-panel { display: none; }
.terms-panel--active { display: block; animation: fadeIn 0.3s ease-out; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.terms-panel-h {
  font-family: var(--ff-heading);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--sp-sm);
  letter-spacing: -0.02em;
}
.terms-panel p {
  color: var(--text-muted);
  line-height: 1.75;
  font-size: var(--fs-body);
}

/* ─── Footer ───────────────────────────────────────────────── */
footer {
  position: relative;
  color: var(--text-cream);
  padding: var(--sp-2xl) clamp(16px, 4vw, 80px) var(--sp-lg);
  overflow: hidden;
}
.f-grain {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 50% 50%, rgba(255,255,255,0.02) 1px, transparent 1.5px);
  background-size: 3px 3px;
  pointer-events: none;
  opacity: 0.4;
}
.f-hairline {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold) 50%, transparent);
  opacity: 0.5;
}
.f-inner {
  position: relative;
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: var(--sp-xl);
}
@media (max-width: 900px) { .f-inner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .f-inner { grid-template-columns: 1fr; } }

.f-brand { display: flex; flex-direction: column; gap: var(--sp-sm); }
.f-brand-row { display: flex; align-items: center; gap: 10px; }
.f-brand-mark { border-radius: 8px; }
.f-brand-text { display: flex; flex-direction: column; }
.f-brand-name {
  font-family: var(--ff-heading);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-cream);
  letter-spacing: -0.02em;
}
.f-brand-sub {
  font-family: var(--ff-mono);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}
.f-brand-eyebrow {
  font-family: var(--ff-mono);
  font-size: var(--fs-micro);
  letter-spacing: 0.06em;
  color: var(--text-cream-mute);
}
.f-brand-parentage {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px;
  font-family: var(--ff-mono);
  font-size: var(--fs-micro);
  letter-spacing: 0.06em;
}
.f-brand-parentage-label { color: var(--text-cream-faint); }
.f-brand-parentage-link {
  color: var(--gold);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--gold-soft);
  text-underline-offset: 3px;
}
.f-brand-parentage-link:hover { text-decoration-color: var(--gold); }
.f-brand-parentage-meta { color: var(--text-cream-faint); }

.f-nav { display: flex; flex-direction: column; gap: 8px; }
.f-nav a {
  font-size: var(--fs-small);
  color: var(--text-cream-mute);
  transition: color var(--tx-fast);
}
.f-nav a:hover { color: var(--gold); }

.f-contact { display: flex; flex-direction: column; gap: 8px; }
.f-contact-hdr {
  font-family: var(--ff-mono);
  font-size: var(--fs-micro);
  letter-spacing: 0.12em;
  color: var(--gold);
}
.f-contact-email {
  font-size: var(--fs-small);
  color: var(--text-cream-mute);
  transition: color var(--tx-fast);
}
.f-contact-email:hover { color: var(--gold); }
.f-contact-email--primary { color: var(--gold); font-weight: 600; }
.f-contact-parent {
  font-family: var(--ff-mono);
  font-size: var(--fs-micro);
  color: var(--text-cream-mute);
  margin-top: 8px;
}
.f-contact-parent:hover { color: var(--gold); }

.f-apps { display: flex; flex-direction: column; gap: 8px; }
.f-apps-hdr {
  font-family: var(--ff-mono);
  font-size: var(--fs-micro);
  letter-spacing: 0.12em;
  color: var(--gold);
}
.f-apps-link {
  font-family: var(--ff-mono);
  font-size: var(--fs-small);
  color: var(--text-cream-mute);
  transition: color var(--tx-fast);
}
.f-apps-link:hover { color: var(--gold); }

.f-rating {
  grid-column: 1 / -1;
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px;
  padding-top: var(--sp-md);
  border-top: 1px solid var(--glass-dark-bd);
}
.f-rating-label {
  font-family: var(--ff-mono);
  font-size: var(--fs-micro);
  letter-spacing: 0.12em;
  color: var(--text-cream-faint);
}
.f-rating-value {
  font-family: var(--ff-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold);
}
.f-rating-meta {
  font-family: var(--ff-mono);
  font-size: var(--fs-micro);
  color: var(--text-cream-mute);
}

.f-copy {
  grid-column: 1 / -1;
  padding-top: var(--sp-md);
  border-top: 1px solid var(--glass-dark-bd);
  display: flex; flex-wrap: wrap; gap: 8px;
  font-family: var(--ff-mono);
  font-size: var(--fs-micro);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-cream-faint);
}
.f-copy-sep { color: var(--gold); opacity: 0.5; }

/* ─── Print ────────────────────────────────────────────────── */
@media print {
  .hero-ticker, .ambient-glow, #heroCanvas, .hero-crescent, .hero-stars, .lang-switcher, .hamburger, .m-drawer { display: none !important; }
  body { color: #000; background: #fff; }
  section { background: #fff !important; }
  .s-h, .arch-card-name, .cap-card-name, .tier-name { color: #000; }
}
