/* ============================================================================
 * AlphaBeta — "Deep Field" remodel
 * Night gallery: true-black canvas bands cut into a near-black page, Discovery
 * weight-mixing (200 vs 750), weight-100 monumental numerals, mono readouts,
 * one budgeted mint accent. Light moves; type does not.
 * No frameworks, no build step.
 * ========================================================================== */

@font-face {
  font-family: "Discovery";
  src: url("/fonts/discovery/DiscoveryFs-VF.woff2") format("woff2-variations"),
       url("/fonts/discovery/DiscoveryFs-VF.ttf") format("truetype-variations");
  font-weight: 100 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --void: #000000;          /* canvas bands: hero, globe, calc output */
  --page: #0A0A0B;          /* page background */
  --panel: #131416;         /* raised surfaces: cards, fields, frames */
  --ink: #F8E7C9;           /* primary text — the globe cream, sitewide */
  --ink-dim: #AFA289;       /* secondary text */
  --hairline: rgba(248, 231, 201, 0.14);
  --hairline-h: rgba(248, 231, 201, 0.4);
  --mint: #0B5B41;          /* fills — deep bottle green, matches the AB mark */
  --mint-hov: #0E6B4C;      /* fill hover */
  --mint-ink: #F8E7C9;      /* cream label on green fills */
  --mint-text: #12B37E;     /* lit green: small accents, active nav, focus, live dots, pin */
  --cream: #F8E7C9;         /* warm accent: big figures, prices, the globe's land letters */
  --mono: ui-monospace, "SF Mono", Consolas, "Cascadia Mono", monospace;
  --gut: clamp(20px, 4vw, 64px);
  --maxw: 1560px;
  --sp: clamp(96px, 12vw, 180px);
  --ease: cubic-bezier(0.22, 0.61, 0.3, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  color-scheme: dark;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: "Discovery", "Helvetica Neue", Arial, sans-serif;
  font-weight: 400;
  font-size: clamp(17px, 1.15vw, 19px);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
html[dir="rtl"] body { line-height: 1.7; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, figure, ol, ul { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
.num { font-variant-numeric: tabular-nums; }

::selection { background: rgba(11, 91, 65, 0.55); }
:focus-visible { outline: 2px solid var(--mint-text); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; inset-inline-start: 16px; top: -48px; z-index: 200;
  background: var(--ink); color: var(--page); padding: 10px 18px; border-radius: 999px;
  text-decoration: none; transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 12px; }

#platform, #model, #world, #process, #pricing, #calc, #faq, #lead { scroll-margin-top: 96px; }

/* ---------- type system ---------- */
/* ultra-thin weights are gated behind the loaded brand font */
.w-thin { font-weight: 300; }
html.fonts-ready .w-thin { font-weight: 200; }
.figure { font-weight: 300; font-variant-numeric: tabular-nums; }
html.fonts-ready .figure { font-weight: 100; }

.t-d {
  font-size: clamp(44px, 8vw, 120px);
  font-weight: 300; line-height: 0.98; letter-spacing: -0.015em;
  text-wrap: balance;
}
html.fonts-ready .t-d { font-weight: 200; }
.t-d b, .t-d strong { font-weight: 750; }
html[dir="rtl"] .t-d { line-height: 1.18; }

.mono {
  font-family: var(--mono);
  font-size: clamp(13px, 0.95vw, 14.5px); font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-dim);
}
/* Hebrew has no uppercase and reads badly letterspaced — tighten in RTL */
html[dir="rtl"] .mono { letter-spacing: 0.05em; }
.mono-live { color: var(--mint-text); }

.sub {
  font-weight: 300; font-size: clamp(19px, 1.5vw, 23px);
  line-height: 1.55; color: var(--ink-dim); max-width: 56ch;
}

/* ---------- pills (the one button geometry) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border-radius: 999px; text-decoration: none; white-space: nowrap;
  font-size: 14px; font-weight: 600; letter-spacing: 0.04em;
  padding: 16px 30px;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease);
}
.btn-mint { background: var(--mint); color: var(--mint-ink); }
.btn-mint:hover { background: var(--mint-hov); }
.btn-ghost { border: 1px solid var(--hairline); color: var(--ink); }
.btn-ghost:hover { border-color: var(--hairline-h); }

/* ---------- nav bar — full width at rest, shrinks on scroll, re-expands on hover ---------- */
.pill {
  position: fixed; z-index: 100;
  top: 18px; left: 50%; transform: translateX(-50%);
  width: min(var(--maxw), calc(100% - 32px));
  direction: ltr; /* logo always on the left, actions on the right — both languages */
  display: flex; align-items: center; gap: clamp(14px, 2vw, 34px);
  /* pronounced glassmorphism, always on */
  background: rgba(16, 17, 20, 0.55);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  backdrop-filter: blur(22px) saturate(160%);
  border: 1px solid rgba(248, 231, 201, 0.16);
  border-radius: 999px;
  padding-block: 8px; padding-inline: 20px 10px;
  box-shadow: 0 10px 44px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(248, 231, 201, 0.08);
  transition: top 0.45s var(--ease), width 0.5s var(--ease-out),
              background 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
/* glass sheen — a soft highlight arc across the top of the bar */
.pill::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(180deg, rgba(248, 231, 201, 0.06), transparent 42%);
}
/* scrolled past the hero → shrink to a compact centered capsule */
.pill.scrolled {
  top: 10px;
  width: min(960px, calc(100% - 24px));
  background: rgba(12, 12, 15, 0.72);
  box-shadow: 0 12px 50px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(248, 231, 201, 0.1);
}
/* hovering the shrunk bar re-expands it to full width */
.pill.scrolled:hover, .pill.scrolled:focus-within {
  width: min(var(--maxw), calc(100% - 32px));
}
.pill-logo {
  display: inline-flex; align-items: center; gap: 10px;
  direction: ltr; /* the brand mark never mirrors */
  text-decoration: none; font-weight: 700; font-size: 19px; letter-spacing: -0.02em;
  color: var(--ink);
  transition: transform 0.3s var(--ease-out);
}
.pill-logo:hover { transform: translateY(-2px); }
.pill-logo img { width: 32px; height: 32px; transition: transform 0.4s var(--ease-out); }
.pill-logo:hover img { transform: rotate(-8deg) scale(1.08); }
.pill-logo i { font-style: normal; color: var(--mint-text); font-weight: 400; }
.pill-nav { display: flex; gap: 2px; margin-inline-start: auto; }
.pill-nav a {
  position: relative;
  text-decoration: none; white-space: nowrap;
  font-family: var(--mono); font-size: 11.5px; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 10px 11px; border-radius: 999px; color: var(--ink-dim);
  transition: color 0.25s var(--ease), transform 0.25s var(--ease-out);
}
/* animated underline that grows from the start on hover/active (framer-motion feel) */
.pill-nav a::after {
  content: ""; position: absolute; left: 11px; right: 11px; bottom: 5px;
  height: 1.5px; background: var(--mint-text); border-radius: 2px;
  transform: scaleX(0); transform-origin: left; opacity: 0;
  transition: transform 0.28s var(--ease-out), opacity 0.28s var(--ease);
}
html[dir="rtl"] .pill-nav a::after { transform-origin: right; }
.pill-nav a:hover { color: var(--ink); transform: translateY(-2px); }
.pill-nav a:hover::after, .pill-nav a.active::after { transform: scaleX(1); opacity: 1; }
.pill-nav a.active { color: var(--mint-text); }
.pill-right { display: flex; align-items: center; gap: 6px; margin-inline-start: auto; }
.pill-lang {
  font-size: 13px; font-weight: 600; letter-spacing: 0.06em;
  color: var(--ink-dim); padding: 10px 12px; border-radius: 999px; white-space: nowrap;
  transition: color 0.25s var(--ease), transform 0.25s var(--ease-out);
}
.pill-lang:hover { color: var(--ink); transform: translateY(-2px); }
.pill-login {
  text-decoration: none; white-space: nowrap;
  font-family: var(--mono); font-size: 11px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink); border: 1px solid var(--hairline); border-radius: 999px;
  padding: 11px 16px;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease-out), background 0.25s var(--ease);
}
.pill-login:hover { border-color: var(--hairline-h); transform: translateY(-2px); background: rgba(248, 231, 201, 0.05); }
.pill-cta {
  text-decoration: none; white-space: nowrap;
  font-size: 13px; font-weight: 650; letter-spacing: 0.03em;
  background: var(--mint); color: var(--mint-ink);
  padding: 12px 20px; border-radius: 999px;
  transition: background 0.25s var(--ease), transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease);
}
.pill-cta:hover { background: var(--mint-hov); transform: translateY(-2px); box-shadow: 0 8px 22px rgba(11, 91, 65, 0.45); }
@media (prefers-reduced-motion: reduce) {
  .pill-logo, .pill-logo img, .pill-nav a, .pill-lang, .pill-login, .pill-cta { transition: none; }
  .pill-logo:hover, .pill-logo:hover img, .pill-nav a:hover, .pill-lang:hover, .pill-login:hover, .pill-cta:hover { transform: none; }
}
.pill-burger { display: none; }

/* mobile menu overlay */
.mmenu {
  position: fixed; inset: 0; z-index: 90;
  background: var(--void); color: var(--ink);
  display: flex;
  overflow-y: auto; /* short viewports: the link list stays reachable */
  opacity: 0; visibility: hidden; transition: opacity 0.4s var(--ease), visibility 0.4s;
}
.mmenu.open { opacity: 1; visibility: visible; }
.mmenu nav {
  display: flex; flex-direction: column; gap: 6px; text-align: center;
  margin: auto; padding-block: 84px 40px;
}
@media (max-height: 520px) { .mmenu a { font-size: 24px; line-height: 1.25; } }
.mmenu a {
  text-decoration: none; font-size: clamp(30px, 8.5vw, 42px); font-weight: 300;
  letter-spacing: -0.01em; line-height: 1.3; color: var(--ink);
  opacity: 0; transform: translateY(14px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out), color 0.25s;
  transition-delay: var(--d, 0ms);
}
.mmenu.open a { opacity: 1; transform: none; }
.mmenu a:hover { color: var(--mint-text); }
.mmenu-cta { color: var(--mint-text) !important; font-weight: 650 !important; }

/* ---------- hero ---------- */
.hero-wrap { height: 168svh; }
.over { position: relative; z-index: 2; background: var(--page); margin-top: -68svh; }
.hero {
  position: sticky; top: 0;
  height: 100svh; min-height: 640px;
  background: var(--void);
  overflow: clip;
}
#wavesCanvas {
  position: absolute; inset: 0; width: 100%; height: 100%; display: block;
}
/* canvas dims as the page slides over (JS drives --hp 0..1) */
.hero-dim {
  position: absolute; inset: 0; background: var(--void);
  opacity: calc(var(--hp, 0) * 0.6); pointer-events: none;
}
/* the hero dissolves into the page at its foot */
.hero::after {
  content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 16svh;
  background: linear-gradient(to bottom, transparent, var(--page));
  pointer-events: none;
}
.hero-wm {
  position: absolute; inset-inline: 0; bottom: 6svh;
  text-align: center; white-space: nowrap;
  font-weight: 300; font-size: clamp(96px, 17vw, 320px);
  line-height: 1; letter-spacing: -0.035em;
  color: rgba(248, 231, 201, 0.15);
  -webkit-text-stroke: 1px rgba(248, 231, 201, 0.2);
  mix-blend-mode: screen;
  pointer-events: none; user-select: none; -webkit-user-select: none;
  direction: ltr;
  transform: scale(calc(1 - var(--hp, 0) * 0.04));
}
.hero-copy {
  position: relative; z-index: 2;
  max-width: var(--maxw); margin-inline: auto;
  padding: 0 var(--gut);
  padding-top: max(19svh, 110px);
  opacity: calc(1 - var(--hp, 0));
  /* centered composition */
  display: flex; flex-direction: column; align-items: center; text-align: center;
}
.hero-copy::before { /* feathered scrim, centered behind the copy */
  content: ""; position: absolute; z-index: -1;
  left: 50%; transform: translateX(-50%); top: -40px;
  width: min(1000px, 96vw); height: calc(100% + 120px);
  background: radial-gradient(ellipse 62% 60% at 50% 42%, rgba(0, 0, 0, 0.62), transparent 72%);
  pointer-events: none;
}
.hero-kicker { margin-bottom: clamp(16px, 2.4vh, 26px); }
.hero-h1 {
  font-size: clamp(34px, 4.6vw, 62px);
  line-height: 1.12; letter-spacing: -0.02em;
  max-width: 20ch; margin-inline: auto; text-wrap: balance;
}
.hero-h1 .l1 { display: block; font-weight: 300; }
html.fonts-ready .hero-h1 .l1 { font-weight: 200; }
.hero-h1 .l2 { display: block; font-weight: 750; }
.hero-sub {
  margin-top: clamp(16px, 2.4vh, 24px);
  font-weight: 300; font-size: clamp(17px, 1.45vw, 21px); line-height: 1.55;
  color: rgba(248, 231, 201, 0.78); max-width: 56ch; margin-inline: auto;
}
.hero-ctas { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: clamp(24px, 3.6vh, 38px); flex-wrap: wrap; }

/* two informational corner readouts */
.hero-scroll {
  position: absolute; z-index: 2; bottom: 26px; inset-inline-start: var(--gut);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  opacity: calc(1 - var(--hp, 0));
}
.hero-scroll .rail { position: relative; width: 1px; height: 48px; background: var(--hairline); overflow: clip; }
.hero-scroll .rail i {
  content: ""; position: absolute; left: -1.5px; top: -4px;
  width: 4px; height: 4px; border-radius: 50%; background: var(--mint-text);
  animation: scrolldot 2.6s var(--ease) infinite;
}
@keyframes scrolldot { 0% { top: -4px; opacity: 0; } 25% { opacity: 1; } 100% { top: 48px; opacity: 0; } }
.hero-coords {
  position: absolute; z-index: 2; bottom: 30px; inset-inline-end: var(--gut);
  direction: ltr;
  opacity: calc(1 - var(--hp, 0));
}

/* ---------- shared section shell ---------- */
.sec { max-width: var(--maxw); margin-inline: auto; padding: var(--sp) var(--gut) 0; }
.eyebrow { margin-bottom: clamp(18px, 2.4vw, 30px); }
.sec-head { margin-bottom: clamp(28px, 4vw, 56px); }
.sec-head .sub { margin-top: clamp(14px, 1.8vw, 22px); }
.foot-note { margin-top: clamp(20px, 3vw, 32px); font-size: clamp(14px, 1vw, 15.5px); color: var(--ink-dim); max-width: 72ch; }
.hairline { height: 1px; background: var(--hairline); border: 0; margin: 0; }

/* ---------- split-flap numerals (departure-board concept) ---------- */
.flip { display: inline-flex; align-items: center; gap: 0.05em; line-height: 1; direction: ltr; }
.fsep { opacity: 0.75; padding: 0 0.02em; font-weight: 300; }
.fc {
  position: relative; display: inline-block; vertical-align: middle;
  width: 1.16ch; height: 1.22em;
  perspective: 650px; border-radius: 0.12em;
}
.fh {
  position: absolute; left: 0; right: 0; height: 50%; overflow: clip;
  backface-visibility: hidden;
}
/* Apple-style frosted glass — translucent + blurred, no colour fill */
.fc-top { top: 0; border-radius: 0.12em 0.12em 0 0; background: rgba(248, 231, 201, 0.12); -webkit-backdrop-filter: blur(7px); backdrop-filter: blur(7px); }
.fc-bot { bottom: 0; border-radius: 0 0 0.12em 0.12em; background: rgba(248, 231, 201, 0.06); -webkit-backdrop-filter: blur(7px); backdrop-filter: blur(7px); }
.fh i {
  position: absolute; left: 0; right: 0; height: 200%;
  display: grid; place-items: center;
  font-style: normal; font-weight: 500; font-size: 0.82em;
  font-variant-numeric: tabular-nums; color: var(--cream);
}
.fc-top i { top: 0; }
.fc-bot i { bottom: 0; }
/* fold seam */
.fc::after {
  content: ""; position: absolute; top: calc(50% - 0.5px); left: 0; right: 0;
  height: 1px; background: rgba(0, 0, 0, 0.3); z-index: 4;
}
/* frosted-glass edge + top sheen around the whole cell */
.fc::before {
  content: ""; position: absolute; inset: 0; z-index: 5; pointer-events: none;
  border-radius: inherit; border: 1px solid rgba(248, 231, 201, 0.18);
  box-shadow: inset 0 1px 0 rgba(248, 231, 201, 0.14);
}
.fc-flap { display: none; z-index: 3; will-change: transform; }
.ffa { top: 0; border-radius: 0.12em 0.12em 0 0; background: rgba(248, 231, 201, 0.12); -webkit-backdrop-filter: blur(7px); backdrop-filter: blur(7px); transform-origin: 50% 100%; }
.ffa i { top: 0; }
.ffb { bottom: 0; border-radius: 0 0 0.12em 0.12em; background: rgba(248, 231, 201, 0.06); -webkit-backdrop-filter: blur(7px); backdrop-filter: blur(7px); transform-origin: 50% 0%; }
.ffb i { bottom: 0; }

.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px;
  clip-path: inset(50%); overflow: hidden; white-space: nowrap;
}

/* ---------- reveal system ---------- */
[data-rv] {
  opacity: 0; transform: translateY(14px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
  transition-delay: var(--d, 0ms);
}
[data-rv].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  [data-rv] { opacity: 1; transform: none; transition: none; }
}

/* ---------- 2 · plain terms ---------- */
.plain-sec {
  min-height: min(70svh, 640px);
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  text-align: center; padding-bottom: 0;
}
.plain-st {
  font-size: clamp(26px, 3.2vw, 46px);
  font-weight: 300; line-height: 1.3; letter-spacing: -0.01em;
  max-width: 32ch; text-wrap: balance;
}
html.fonts-ready .plain-st { font-weight: 250; }
.plain-st b { font-weight: 750; }
.plain-chips { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: clamp(24px, 3.6vw, 40px); }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: clamp(12px, 0.9vw, 13.5px); font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-dim);
  border: 1px solid var(--hairline); background: var(--panel);
  border-radius: 999px; padding: 10px 16px; white-space: nowrap;
}
html[dir="rtl"] .chip { letter-spacing: 0.04em; }
.chip i { width: 6px; height: 6px; border-radius: 50%; background: var(--mint-text); }
.chip-live i { animation: pulse 2.4s infinite; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(18, 179, 126, 0.5); }
  70% { box-shadow: 0 0 0 8px rgba(18, 179, 126, 0); }
  100% { box-shadow: 0 0 0 0 rgba(18, 179, 126, 0); }
}
@media (prefers-reduced-motion: reduce) { .chip-live i, .hero-scroll .rail i, .lead-ok h3 i { animation: none; } }

/* ---------- 3 · numbers ---------- */
.nums { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--hairline); }
.num-cell { padding: clamp(26px, 3.4vw, 48px) clamp(8px, 1.8vw, 30px) 0; border-inline-start: 1px solid var(--hairline); }
.num-cell:first-child { border-inline-start: 0; padding-inline-start: 0; }
.num-fig { display: flex; align-items: baseline; gap: 4px; direction: ltr; }
html[dir="rtl"] .num-fig { justify-content: flex-end; }
.num-fig .n {
  font-size: clamp(64px, 10vw, 176px); line-height: 1; letter-spacing: -0.03em;
}
.num-fig .sfx { font-size: clamp(20px, 3vw, 52px); font-weight: 400; color: var(--ink-dim); }
.num-fig .upto { align-self: flex-start; margin-top: 0.6em; margin-inline-end: 8px; }
.fig-star {
  color: var(--ink-dim); text-decoration: none; font-size: 15px;
  align-self: flex-start; padding: 10px; margin: -6px;
}
.num-cap {
  margin-top: 14px; max-width: 26ch;
  font-size: clamp(13.5px, 1.05vw, 16px); line-height: 1.55;
}

/* ---------- 4 · portal ---------- */
.portal-grid { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(28px, 4.5vw, 72px); align-items: start; }
.portal-rail .t-d { font-size: clamp(38px, 4.6vw, 72px); margin-bottom: clamp(18px, 2.6vw, 30px); }
.rail-rows { list-style: none; padding: 0; }
.rail-rows li { padding: clamp(16px, 2vw, 22px) 0; border-top: 1px solid var(--hairline); }
.rail-rows li:last-child { border-bottom: 1px solid var(--hairline); }
.rail-rows .mono { display: block; margin-bottom: 6px; }
.rail-rows p { color: var(--ink-dim); font-size: 16px; max-width: 40ch; }
.shots { display: grid; gap: clamp(12px, 1.6vw, 20px); }
.shots-pair { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(12px, 1.6vw, 20px); }
.shot {
  background: var(--void); border: 1px solid var(--hairline); border-radius: 14px;
  overflow: clip;
}
.shot img { width: 100%; filter: brightness(0.96); }
.bbar {
  display: flex; align-items: center; gap: 12px;
  padding: 9px 14px; background: var(--panel);
  border-bottom: 1px solid var(--hairline);
}
.bdots { display: flex; gap: 6px; }
.bdots i { width: 8px; height: 8px; border-radius: 50%; background: rgba(248, 231, 201, 0.16); }
.burl {
  margin-inline: auto; direction: ltr;
  font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.06em;
  color: var(--ink-dim);
  background: rgba(248, 231, 201, 0.06);
  border-radius: 999px; padding: 4px 14px;
}
.bspacer { width: 30px; }
.shot-meta {
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  padding: 10px 14px; border-top: 1px solid var(--hairline); flex-wrap: wrap;
  background: var(--panel);
}
.shot-meta .mono { letter-spacing: 0.12em; }

/* ---------- 5 · model / 7 · process ---------- */
.split { display: grid; grid-template-columns: 1fr 1.35fr; gap: clamp(28px, 5vw, 90px); }
.split + .split { margin-top: clamp(56px, 8vw, 120px); }
.h-sticky { position: sticky; top: 110px; }
.lede { color: var(--ink-dim); font-size: clamp(17px, 1.3vw, 20px); max-width: 50ch; margin-bottom: clamp(24px, 3vw, 40px); }
.rows { list-style: none; padding: 0; }
.row {
  display: flex; gap: clamp(16px, 2.4vw, 36px); align-items: flex-start;
  padding: clamp(18px, 2.4vw, 28px) 0; border-top: 1px solid var(--hairline);
  transition: border-color 0.25s var(--ease);
}
.row:last-child { border-bottom: 1px solid var(--hairline); }
.row:hover { border-top-color: var(--hairline-h); }
.row-n { font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.14em; color: var(--ink-dim); padding-top: 6px; direction: ltr; }
.row b { display: block; font-size: clamp(19px, 1.8vw, 25px); font-weight: 650; letter-spacing: -0.01em; margin-bottom: 4px; }
.row p { color: var(--ink-dim); font-size: 16.5px; max-width: 54ch; }

/* ---------- 6 · world (globe band) ---------- */
.world-band {
  margin-top: var(--sp);
  background: var(--void);
  border-block: 1px solid var(--hairline);
  padding: clamp(40px, 5vw, 72px) var(--gut) clamp(28px, 3.6vw, 48px);
}
.world-inner { max-width: var(--maxw); margin-inline: auto; }
.world-head { margin-bottom: clamp(6px, 1.2vw, 16px); }
.world-head .sub { margin-top: clamp(12px, 1.6vw, 20px); }
.world-stage { position: relative; }
#worldGlobe {
  display: block; width: 100%;
  height: clamp(360px, 62vh, 700px);
  touch-action: pan-y;
  user-select: none; -webkit-user-select: none;
}
.world-meta {
  position: absolute; inset-inline: 0; bottom: 0;
  display: flex; justify-content: space-between; align-items: flex-end; gap: 8px;
  flex-wrap: wrap; pointer-events: none;
}
.world-meta .mono { background: rgba(0, 0, 0, 0.55); padding: 6px 10px; border-radius: 999px; direction: ltr; }
.world-foot { max-width: 64ch; }

/* ---------- 8 · pricing (roster + calculator) ---------- */
.roster { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 1.6vw, 20px); }
.rcard {
  background: var(--panel); border: 1px solid var(--hairline); border-radius: 16px;
  padding: clamp(18px, 2vw, 26px);
  display: flex; flex-direction: column; gap: 16px;
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out), border-color 0.3s var(--ease);
  transition-delay: var(--d, 0ms), var(--d, 0ms), 0ms;
}
.rcard:hover { border-color: var(--hairline-h); }
.rcard-top { display: flex; justify-content: space-between; align-items: center; }
.rcard-idx { font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.14em; color: var(--ink-dim); direction: ltr; }
.rcard-flag {
  font-family: var(--mono); font-size: 11.5px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--mint-text); border: 1px solid rgba(18, 179, 126, 0.4);
  padding: 6px 11px; border-radius: 999px;
}
.rcard-name {
  font-size: clamp(26px, 2.4vw, 38px); font-weight: 700; letter-spacing: -0.02em;
  line-height: 1; min-height: 2em; display: flex; align-items: flex-end;
}
/* the price IS the button — tap a tier to prefill the lead form */
.rcard-prices { display: grid; gap: 10px; }
.rcard-price {
  display: flex; flex-direction: column; align-items: stretch; gap: 4px;
  width: 100%; padding: 14px 16px; text-align: start;
  border: 1px solid var(--hairline); border-radius: 14px;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}
.rcard-price:hover { border-color: var(--mint-text); background: rgba(18, 179, 126, 0.06); }
.rcard-price .k {
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 12px; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-dim);
}
html[dir="rtl"] .rcard-price .k { letter-spacing: 0.04em; }
.rcard-price .k::after { content: "→"; font-size: 13px; letter-spacing: 0; }
html[dir="rtl"] .rcard-price .k::after { content: "←"; }
.rcard-price .v {
  font-size: clamp(24px, 2vw, 32px); font-weight: 750; letter-spacing: -0.02em;
  line-height: 1.1; color: var(--cream); font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.rcard-price .v small { font-size: 14.5px; font-weight: 500; color: var(--ink-dim); letter-spacing: 0; margin-inline-start: 6px; }
.rcard-stats { border-top: 1px solid var(--hairline); margin-top: 4px; }
.rcard-stat {
  display: flex; justify-content: space-between; align-items: baseline; gap: 10px;
  padding: 12px 0; border-bottom: 1px solid var(--hairline);
  font-size: 15px;
}
.rcard-stat:last-child { border-bottom: 0; }
.rcard-stat .k { color: var(--ink-dim); }
.rcard-stat .v { font-size: 18px; font-weight: 700; font-variant-numeric: tabular-nums; direction: ltr; }
.rcard-stat .v.keep { color: var(--mint-text); font-size: 20px; }

/* calculator */
.calc-wrap { margin-top: clamp(56px, 8vw, 110px); }
.calc-head { margin-bottom: clamp(22px, 3vw, 36px); }
.calc { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 4vw, 64px); }
.calc-label { display: block; margin-bottom: 12px; }
.calc-field + .calc-field { margin-top: clamp(22px, 2.8vw, 34px); }
.chipset { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-btn {
  font-size: 14px; font-weight: 450; letter-spacing: 0.01em;
  border: 1px solid var(--hairline); border-radius: 999px; padding: 10px 17px;
  color: var(--ink);
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease), background 0.3s var(--ease);
}
.chip-btn:hover { border-color: var(--hairline-h); }
.chip-btn.on { border-color: var(--mint-text); color: var(--mint-text); background: rgba(18, 179, 126, 0.08); }
.chip-btn .tag { color: var(--mint-text); font-weight: 600; font-size: 12px; }
.seg {
  position: relative; display: inline-flex; gap: 2px;
  border: 1px solid var(--hairline); border-radius: 999px; padding: 3px;
}
.seg-slider {
  position: absolute; top: 3px; bottom: 3px; left: 0;
  background: var(--ink); border-radius: 999px;
  transition: transform 0.4s var(--ease-out), width 0.4s var(--ease-out);
}
.seg-btn {
  position: relative; z-index: 1;
  font-size: 14px; font-weight: 500; padding: 9px 18px; border-radius: 999px;
  color: var(--ink-dim); transition: color 0.3s var(--ease);
}
.seg-btn.on { color: var(--page); }
.stepper {
  display: inline-flex; align-items: center; gap: 4px;
  border: 1px solid var(--hairline); border-radius: 999px; padding: 3px;
}
.stepper button {
  width: 40px; height: 40px; border-radius: 50%; font-size: 20px;
  display: grid; place-items: center; color: var(--ink);
  transition: background 0.25s var(--ease);
}
.stepper button:hover { background: rgba(248, 231, 201, 0.08); }
.stepper .val { min-width: 44px; text-align: center; font-size: 17px; font-weight: 620; }
.calc-out {
  background: var(--void); border: 1px solid var(--hairline); border-radius: 16px;
  padding: clamp(20px, 2.6vw, 36px);
}
.crow {
  display: flex; justify-content: space-between; align-items: baseline; gap: 14px;
  padding: 13px 0; border-bottom: 1px solid var(--hairline); font-size: 15.5px;
}
.crow .k { color: var(--ink-dim); }
.crow .v { font-weight: 680; font-size: 19px; transition: opacity 0.25s; direction: ltr; }
.calc-hero { padding: clamp(22px, 3vw, 34px) 0 6px; }
.calc-hero .lbl { display: block; margin-bottom: 10px; }
html[dir="rtl"] .calc-hero .big { text-align: right; }
.calc-hero .big {
  display: block; direction: ltr; text-align: start;
  font-size: clamp(56px, 8.5vw, 150px);
  letter-spacing: -0.03em; line-height: 1; color: var(--cream);
  font-variant-numeric: tabular-nums;
}
.calc-hero .pct { display: block; margin-top: 10px; color: var(--ink-dim); font-size: 15px; }
.btn-accent {
  display: inline-block; margin-top: 20px;
  font-size: 14px; font-weight: 650; letter-spacing: 0.03em;
  background: var(--mint); color: var(--mint-ink);
  padding: 15px 26px; border-radius: 999px; text-decoration: none; text-align: center;
  transition: background 0.3s var(--ease);
}
.btn-accent:hover { background: var(--mint-hov); }

/* ---------- 9 · faq ---------- */
.faq-sec .sec-head { margin-bottom: clamp(18px, 2.6vw, 36px); }
.faq { border-top: 1px solid var(--hairline); }
.qa { border-bottom: 1px solid var(--hairline); }
.qa summary {
  list-style: none; display: flex; align-items: center; gap: clamp(14px, 2vw, 26px);
  cursor: pointer; padding: clamp(17px, 2.2vw, 24px) 4px;
  font-size: clamp(17px, 1.7vw, 22px); font-weight: 550; letter-spacing: -0.005em;
  transition: color 0.25s var(--ease);
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: var(--mint-text); }
.qa-n { font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.14em; color: var(--ink-dim); direction: ltr; flex: 0 0 auto; }
.qa summary .qt { flex: 1; }
.qa-x { position: relative; flex: 0 0 16px; height: 16px; }
.qa-x::before, .qa-x::after {
  content: ""; position: absolute; inset: 0; margin: auto; background: currentColor;
  transition: transform 0.25s var(--ease-out);
}
.qa-x::before { width: 16px; height: 1.4px; }
.qa-x::after { width: 1.4px; height: 16px; }
.qa[open] .qa-x::after { transform: rotate(90deg); }
.qa-a { overflow: clip; }
.qa-a p {
  color: var(--ink-dim); font-size: 16.5px; max-width: 68ch;
  margin: 0 4px clamp(16px, 2vw, 22px);
  background: var(--panel); border-radius: 12px; padding: 16px 18px;
}

/* ---------- 10 · lead (closing chapter) ---------- */
.cta {
  position: relative; margin-top: var(--sp);
  background: var(--void); color: var(--ink);
  border-top: 1px solid var(--hairline);
  padding: clamp(80px, 11vw, 160px) var(--gut) 0;
  overflow: clip;
}
#wavesEcho { position: absolute; inset: 0; width: 100%; height: 100%; display: block; pointer-events: none; }
.cta-inner { position: relative; max-width: 900px; margin-inline: auto; text-align: center; }
.cta-title { font-size: clamp(40px, 7vw, 110px); line-height: 1.02; letter-spacing: -0.025em; text-wrap: balance; }
.cta-title .l1 { display: block; font-weight: 300; }
html.fonts-ready .cta-title .l1 { font-weight: 200; }
.cta-title .l2 { display: block; font-weight: 750; }
.cta-sub { margin-top: clamp(16px, 2.4vw, 26px); color: var(--ink-dim); font-size: clamp(16px, 1.6vw, 20px); font-weight: 300; }

.lead-card {
  position: relative;
  margin: clamp(36px, 5vw, 60px) auto 0; max-width: 760px; text-align: start;
  background: var(--panel); border: 1px solid var(--hairline); border-radius: 20px;
  padding: clamp(22px, 3.4vw, 44px);
}
.lf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.lf-field label { display: block; margin-bottom: 8px; font-family: var(--mono); font-size: 12.5px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-dim); }
html[dir="rtl"] .lf-field label { letter-spacing: 0.04em; }
.lf-field input, .lf-field select {
  width: 100%; font: inherit; font-size: 16.5px; color: var(--ink);
  background: rgba(248, 231, 201, 0.05);
  border: 1px solid var(--hairline); border-radius: 12px;
  padding: 13px 15px; transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
  appearance: none;
}
.lf-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23A6ABA8' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 15px center;
}
html[dir="rtl"] .lf-field select { background-position: left 15px center; }
.lf-field input::placeholder { color: rgba(248, 231, 201, 0.4); }
.lf-field input:focus, .lf-field select:focus {
  outline: none; border-color: var(--mint-text); background: rgba(248, 231, 201, 0.08);
}
.lf-field input.err { border-color: #E5583F; }
.lf-err { display: none; font-size: 13.5px; color: #F08A76; margin-top: 6px; }
.lf-field input.err + .lf-err, .lf-err.show { display: block; }
.lf-consent {
  display: flex; align-items: flex-start; gap: 10px; margin-top: 20px;
  font-size: 15px; color: var(--ink-dim); cursor: pointer;
}
.lf-consent a { color: var(--ink); }
.lf-consent input {
  appearance: none; width: 19px; height: 19px; margin: 1px 0 0; flex: 0 0 19px;
  border: 1px solid var(--hairline); border-radius: 6px; cursor: pointer;
  display: grid; place-items: center;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}
.lf-consent input:checked { background: var(--mint); border-color: var(--mint); }
.lf-consent input:checked::before {
  content: ""; width: 10px; height: 10px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.6l3.1 3.1L13 4.3' fill='none' stroke='%2305130D' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.lf-consent.err input { border-color: #E5583F; }
.lf-note { margin-top: 18px; font-size: 15px; color: var(--ink-dim); }
.lf-actions { display: flex; align-items: center; gap: 22px; margin-top: 18px; flex-wrap: wrap; }
.btn-big { font-size: 15px; padding: 17px 34px; margin-top: 0; }
.lf-wa { color: var(--ink-dim); font-size: 14.5px; transition: color 0.25s var(--ease); }
.lf-wa:hover { color: var(--ink); }
.lf-err-send { margin-top: 14px; }
.lead-ok { text-align: center; padding: clamp(20px, 4vw, 40px) 0; }
.lead-ok h3 {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: clamp(22px, 2.8vw, 32px); font-weight: 700; letter-spacing: -0.02em; margin-bottom: 10px;
}
.lead-ok h3 i { width: 9px; height: 9px; border-radius: 50%; background: var(--mint-text); animation: pulse 2.4s infinite; }
.lead-ok p { color: var(--ink-dim); }

.cta-ai {
  position: relative;
  display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap;
  margin-top: clamp(30px, 4vw, 46px); color: var(--ink-dim); font-size: 14px;
}
.cta-ai a {
  font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink); text-decoration: none;
  border: 1px solid var(--hairline); border-radius: 999px; padding: 9px 15px;
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease);
}
.cta-ai a:hover { border-color: var(--mint-text); color: var(--mint-text); }

/* footer inside the closing chapter */
.ftr {
  position: relative;
  max-width: var(--maxw); margin: clamp(56px, 8vw, 100px) auto 0;
  border-top: 1px solid var(--hairline);
  display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap;
  padding: clamp(18px, 2.4vw, 28px) 0 clamp(22px, 3vw, 34px);
}
.ftr-copy { font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.14em; color: var(--ink-dim); direction: ltr; }
.ftr-nav { display: flex; gap: 2px 18px; flex-wrap: wrap; }
.ftr a {
  font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-dim); text-decoration: none; transition: color 0.25s;
}
html[dir="rtl"] .ftr a { letter-spacing: 0.04em; }
.ftr a:hover { color: var(--ink); }

/* ============================================================================
 * responsive
 * ========================================================================== */
@media (max-width: 1100px) {
  .portal-grid { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 22px; }
  .h-sticky { position: static; }
  .h-sticky br { display: none; }
  .roster { grid-template-columns: repeat(2, 1fr); }
}

/* tablet band: keep the pill on one line (mark only — the wordmark text goes) */
@media (min-width: 768px) and (max-width: 1199px) {
  .pill { gap: 8px; padding-inline-start: 14px; }
  .pill-logo span { display: none; }
  .pill-nav a { padding: 10px 6px; font-size: 10px; letter-spacing: 0.06em; }
  .pill-login { padding: 10px 10px; font-size: 10px; }
  .pill-cta { padding: 11px 13px; font-size: 12px; }
}

/* no pinning on phones OR short viewports — the svh handoff needs >=640px height */
@media (max-width: 767px), (max-height: 679px) {
  .hero-wrap { height: auto; }
  .over { margin-top: 0; }
  .hero { position: relative; height: auto; min-height: 100svh; padding-bottom: 4svh; }
}

@media (max-width: 767px) {
  body { font-size: 16.5px; }
  .pill { gap: 8px; padding: 8px 8px 8px 16px; }
  .pill-nav { display: none; }
  .pill-login { display: none; }
  .pill-burger {
    display: flex; flex-direction: column; justify-content: center; gap: 4.5px;
    width: 44px; height: 44px; align-items: center;
    border: 1px solid var(--hairline); border-radius: 50%;
  }
  .pill-lang { min-height: 44px; }
  .stepper button { width: 44px; height: 44px; }
  .rcard-price { min-height: 44px; }
  .pill-burger span { width: 16px; height: 1.6px; background: var(--ink); border-radius: 2px; transition: transform 0.3s var(--ease), opacity 0.3s; }
  .pill-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.1px) rotate(45deg); }
  .pill-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .pill-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.1px) rotate(-45deg); }
  body.menu-open .pill { background: transparent; border-color: transparent; }
  body.menu-open .pill-logo, body.menu-open .pill-cta { visibility: hidden; }

  .hero-wm { font-size: 16.5vw; bottom: 4svh; color: rgba(248, 231, 201, 0.17); }
  .hero-copy { padding-top: 110px; }
  .hero-coords { display: none; }

  .plain-sec { min-height: 0; padding-top: var(--sp); }

  .nums { grid-template-columns: 1fr 1fr; }
  .num-cell { border-inline-start: 0; padding-inline-start: 0; border-top: 1px solid var(--hairline); }
  .num-cell:nth-child(-n + 2) { border-top: 0; }
  .num-cell:nth-child(even) { border-inline-start: 1px solid var(--hairline); padding-inline-start: 16px; }

  .shots-pair { grid-template-columns: 1fr; }

  .roster { grid-template-columns: 1fr; }
  .rcard-name { min-height: 0; }

  .calc { grid-template-columns: 1fr; }
  .lf-grid { grid-template-columns: 1fr; }
  .lf-actions { justify-content: center; }
  .btn-big { width: 100%; }
  .ftr { justify-content: center; text-align: center; }
}
