/* ============================================================================
   PartnerUp — "Kinetic Court" (isolated v2)
   Athletic-brand energy on the exact PartnerUp palette. Oversized display type
   (Inter 800) against mono "readouts" (JetBrains Mono), a court-line motif that
   self-draws, and a scrolling sports ticker. Fully self-contained: no CDN.
   ========================================================================== */

/* ---- Tokens -------------------------------------------------------------- */
:root {
  /* Brand palette (carried over exactly from the live site) */
  --bg: #000000;
  --ink: #05080a;            /* very-near-black with the faintest green tilt */
  --bg-card: #0f1512;
  --surface: #1a2420;
  --surface-2: #243029;
  --line: #2d3a33;
  --line-bright: #3d4f44;

  --lime: #84cc16;
  --lime-hi: #a3e635;
  --lime-deep: #4d7c0f;
  --lime-glow: rgba(132, 204, 22, 0.16);

  --amber: #f5a524;
  --amber-hi: #ffc94d;
  --amber-glow: rgba(245, 165, 36, 0.28);

  --text: #f1f5f9;
  --muted: #94a3b8;
  --dim: #64748b;

  --danger: #f87171;

  /* Type */
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  /* Fluid display sizes */
  --fs-display: clamp(2.85rem, 7.6vw, 7rem);
  --fs-h2: clamp(2.1rem, 5.4vw, 4.25rem);
  --fs-h3: clamp(1.5rem, 3vw, 2.25rem);
  --fs-lead: clamp(1.05rem, 1.7vw, 1.375rem);

  /* Structure */
  --max: 1240px;
  --gutter: clamp(1.15rem, 4vw, 3rem);
  --radius: 18px;
  --radius-sm: 11px;
  --radius-lg: 28px;

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);      /* ease-out-quint */
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
}

/* ---- Reset & base -------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  /* ambient court-glow — subtle, static, decorative */
  background-image:
    radial-gradient(70rem 44rem at 82% -8%, rgba(132, 204, 22, 0.10), transparent 60%),
    radial-gradient(56rem 40rem at -6% 12%, rgba(245, 165, 36, 0.055), transparent 55%);
  background-attachment: fixed;
}

img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; }
::selection { background: var(--lime); color: #0a0f0c; }

:focus-visible { outline: 2px solid var(--lime-hi); outline-offset: 3px; border-radius: 4px; }

/* ---- Layout -------------------------------------------------------------- */
.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

section { position: relative; padding-block: clamp(4.5rem, 9vw, 8.5rem); }

/* mono kicker used across sections */
.kicker {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--lime-hi);
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
}
.kicker::before {
  content: "";
  width: 1.9rem; height: 1px;
  background: linear-gradient(90deg, var(--lime), transparent);
}
.kicker.center::before { display: none; }

.section-head { max-width: 46rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-index {
  font-family: var(--mono);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  color: var(--dim);
  display: block;
  margin-bottom: 1.1rem;
}
.section-index b { color: var(--lime); font-weight: 500; }

h2.title {
  font-size: var(--fs-h2);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.03em;
  margin-top: 0.6rem;
}
.section-sub {
  font-size: var(--fs-lead);
  color: var(--muted);
  margin-top: 1.15rem;
  max-width: 40rem;
  text-wrap: pretty;
}
.center .section-sub { margin-inline: auto; }
.lime { color: var(--lime); }
.amber { color: var(--amber); }

/* outline / stroke-only display words */
.stroke {
  -webkit-text-stroke: 1.5px var(--line-bright);
  color: transparent;
  paint-order: stroke fill;
}

/* ---- Buttons ------------------------------------------------------------- */
.btn {
  --btn-bg: var(--lime);
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  padding: 0.85em 1.5em;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out),
              background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}
.btn svg { width: 1em; height: 1em; }
.btn-lg { padding: 1.02em 1.9em; font-size: 1.02rem; }

.btn-primary {
  background: linear-gradient(180deg, var(--lime-hi), var(--lime));
  color: #0a1206;
  box-shadow: 0 1px 0 rgba(255,255,255,0.25) inset, 0 10px 30px -12px var(--lime-glow);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.3) inset, 0 18px 42px -14px rgba(132,204,22,0.5);
}
/* amber "spark" sweep on hover */
.btn-primary::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 25%, rgba(255,255,255,0.55) 50%, transparent 75%);
  transform: translateX(-120%);
  transition: transform 0.7s var(--ease-out);
}
.btn-primary:hover::after { transform: translateX(120%); }

.btn-amber {
  background: linear-gradient(180deg, var(--amber-hi), var(--amber));
  color: #241300;
  box-shadow: 0 1px 0 rgba(255,255,255,0.3) inset, 0 10px 30px -12px var(--amber-glow);
}
.btn-amber:hover { transform: translateY(-2px); box-shadow: 0 18px 42px -14px rgba(245,165,36,0.5); }

.btn-ghost {
  background: rgba(255,255,255,0.015);
  border: 1px solid var(--line-bright);
  color: var(--text);
}
.btn-ghost:hover { border-color: var(--lime); background: rgba(132,204,22,0.06); transform: translateY(-2px); }

/* ---- Nav ----------------------------------------------------------------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background-color 0.4s ease, backdrop-filter 0.4s ease, border-color 0.4s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(5, 8, 10, 0.72);
  backdrop-filter: blur(16px) saturate(1.3);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  border-bottom-color: var(--line);
}
.nav-inner {
  max-width: var(--max); margin-inline: auto; padding: 1.05rem var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  transition: padding 0.4s ease;
}
.nav.scrolled .nav-inner { padding-block: 0.7rem; }
.brand { display: inline-flex; align-items: center; gap: 0.6rem; }
.brand img.mark { height: 40px; width: auto; border-radius: 10px; }
.brand img.word { height: 24px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-link {
  font-size: 0.9rem; font-weight: 500; color: var(--muted);
  position: relative; padding-block: 0.3rem; transition: color 0.2s ease;
}
.nav-link::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1.5px; width: 0;
  background: var(--lime); transition: width 0.3s var(--ease-out);
}
.nav-link:hover { color: var(--text); }
.nav-link:hover::after { width: 100%; }
.nav-cta-mobile { display: none; }
.nav-cluster { display: flex; align-items: center; gap: 0.65rem; }
.nav-cta { padding: 0.62em 1.15em; font-size: 0.88rem; }

/* Country pill + dropdown (Kinetic-styled; logic in country-selector.js) */
.country-pill {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.5em 0.7em; border-radius: 999px;
  border: 1px solid var(--line-bright); background: rgba(255,255,255,0.02);
  font-family: var(--mono); font-size: 0.76rem; font-weight: 500; letter-spacing: 0.04em;
  color: var(--text); transition: border-color 0.25s ease, background-color 0.25s ease;
}
.country-pill:hover { border-color: var(--lime); background: rgba(132,204,22,0.06); }
.country-flag { font-size: 1rem; line-height: 1; }
.country-caret { width: 13px; height: 13px; color: var(--muted); transition: transform 0.3s var(--ease-out); }
.country-pill[aria-expanded="true"] .country-caret { transform: rotate(180deg); }
.country-menu {
  position: absolute; z-index: 120; min-width: 252px;
  background: rgba(10,15,12,0.97); backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--line-bright); border-radius: var(--radius);
  padding: 0.4rem; box-shadow: 0 30px 70px -20px rgba(0,0,0,0.92);
  max-height: 62vh; overflow-y: auto;
}
.country-option {
  width: 100%; display: flex; align-items: center; gap: 0.7rem;
  padding: 0.6rem 0.7rem; border-radius: 10px; text-align: left;
  font-size: 0.9rem; color: var(--text); transition: background-color 0.2s ease;
}
.country-option:hover { background: rgba(132,204,22,0.08); }
.country-option.selected { background: rgba(132,204,22,0.13); }
.country-option-flag { font-size: 1.15rem; line-height: 1; }
.country-option-name { flex: 1; }
.country-option-badge {
  font-family: var(--mono); font-size: 0.58rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: #0a1206; background: var(--lime); padding: 0.28em 0.55em; border-radius: 999px; font-weight: 600;
}

/* "Looks like you're in X now — switch?" geo nudge — inline, anchored under the country pill */
.country-geo-nudge {
  position: absolute; z-index: 120;
  display: inline-flex; align-items: center; gap: 0.5rem;
  max-width: min(340px, calc(100vw - 24px));
  padding: 0.5rem 0.55rem 0.5rem 0.8rem;
  background: rgba(10,15,12,0.97); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--line-bright); border-radius: 999px;
  box-shadow: 0 30px 70px -20px rgba(0,0,0,0.92);
  font-size: 0.8rem; color: var(--text); line-height: 1.4;
  animation: cgn-in 0.28s var(--ease-out);
}
.country-geo-nudge[hidden] { display: none; }
@keyframes cgn-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.cgn-pin { font-size: 0.95rem; line-height: 1; flex: none; }
.cgn-text { white-space: nowrap; }
.cgn-text b { font-weight: 600; color: var(--lime); }
.cgn-switch {
  flex: none; font-family: var(--mono); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.04em;
  color: #0a1206; background: var(--lime); padding: 0.4em 0.75em; border-radius: 999px;
  transition: filter 0.2s ease;
}
.cgn-switch:hover { filter: brightness(1.08); }
.cgn-dismiss {
  flex: none; font-size: 1.05rem; line-height: 1; color: var(--muted); padding: 0 0.15em;
  transition: color 0.2s ease;
}
.cgn-dismiss:hover { color: var(--text); }
@media (max-width: 560px) { .cgn-text { white-space: normal; } .country-geo-nudge { border-radius: var(--radius); } }

/* non-PH sale banner + plans currency note */
.non-ph-banner {
  display: none; margin-bottom: clamp(1.6rem, 3vw, 2.4rem);
  padding: 1rem 1.2rem; border: 1px solid var(--amber);
  border-radius: var(--radius-sm); background: rgba(245,165,36,0.08);
  color: var(--text); font-size: 0.9rem; line-height: 1.6;
}
.non-ph-banner.visible { display: block; }
.non-ph-banner strong { color: var(--amber-hi); }
.non-ph-banner a { color: var(--lime-hi); text-decoration: underline; text-underline-offset: 2px; }
.plans-note { text-align: center; font-size: 0.78rem; color: var(--dim); max-width: 60ch; margin: 1.5rem auto 0; }
.plans-note:empty { display: none; }

.nav-toggle { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 10px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--text); position: relative; transition: 0.3s var(--ease-out); }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; width: 22px; height: 2px; background: var(--text); transition: 0.3s var(--ease-out); }
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
.nav.open .nav-toggle span { background: transparent; }
.nav.open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
.nav.open .nav-toggle span::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 860px) {
  .nav-links {
    position: absolute; left: 0; right: 0; top: 100%; z-index: 99;
    background: rgba(5,8,10,0.97); backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; gap: 0.2rem;
    padding: 1.2rem var(--gutter) 2rem;
    transform: translateY(-8px); opacity: 0; pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s var(--ease-out);
  }
  .nav.open .nav-links { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .nav-links .nav-link { font-size: 1.15rem; color: var(--text); padding: 0.8rem 0; border-bottom: 1px solid var(--line); }
  .nav-links .nav-link::after { display: none; }
  .nav-cta-mobile { display: inline-flex; justify-content: center; margin-top: 1rem; }
  .nav-cta { display: none; }
  .nav-toggle { display: inline-flex; }
}

/* ---- Hero ---------------------------------------------------------------- */
.hero { position: relative; padding-top: clamp(7rem, 15vh, 11rem); padding-bottom: clamp(3rem, 6vw, 6rem); overflow: clip; }
.hero-court {
  position: absolute; z-index: 0; pointer-events: none;
  top: 3%; right: -6%; width: min(58vw, 760px); height: auto;
  opacity: 0.9; mask-image: radial-gradient(120% 120% at 70% 30%, #000 55%, transparent 88%);
}
.hero-court path, .hero-court line, .hero-court circle { stroke: var(--lime); }

.hero-grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.25fr 0.75fr; gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.hero-copy { max-width: 40rem; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 0.6em;
  font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--muted); padding: 0.5em 0.9em; border: 1px solid var(--line);
  border-radius: 999px; background: rgba(132,204,22,0.04);
}
.hero-eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 0 var(--lime); }
@media (prefers-reduced-motion: no-preference) { .hero-eyebrow .dot { animation: ping 2.4s var(--ease-out) infinite; } }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(132,204,22,0.6); } 70%,100% { box-shadow: 0 0 0 9px rgba(132,204,22,0); } }

.hero-title {
  font-size: var(--fs-display);
  font-weight: 800;
  line-height: 0.86;
  letter-spacing: -0.045em;
  text-transform: uppercase;
  margin: 1.4rem 0 0;
}
.hero-title .line { display: block; overflow: hidden; }
.hero-title .line > span { display: block; }
.hero-title .slash { color: var(--lime); -webkit-text-stroke: 0; }

.hero-sub { font-size: var(--fs-lead); color: var(--muted); margin-top: 1.6rem; max-width: 34rem; text-wrap: pretty; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2rem; }
.hero-fineprint { font-size: 0.85rem; color: var(--dim); margin-top: 1.6rem; max-width: 34rem; line-height: 1.65; }
.hero-fineprint a { color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }
.hero-fineprint a:hover { color: var(--lime); }

/* Phone mockup */
.hero-phone { justify-self: center; position: relative; z-index: 2; }
.hero-phone::before {
  content: ""; position: absolute; z-index: -1; inset: -16% -16%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(132,204,22,0.26), rgba(132,204,22,0.06) 58%, transparent 78%);
  filter: blur(6px);
}
.phone {
  position: relative; width: clamp(240px, 26vw, 320px); aspect-ratio: 320 / 660;
  border-radius: 42px; padding: 10px;
  background: linear-gradient(155deg, #1c2620, #0b0f0d);
  border: 1px solid var(--line-bright);
  box-shadow: 0 40px 90px -30px rgba(0,0,0,0.9), 0 0 0 1px rgba(0,0,0,0.5),
              0 0 80px -20px var(--lime-glow);
}
.phone::before { /* notch */
  content: ""; position: absolute; top: 16px; left: 50%; transform: translateX(-50%);
  width: 38%; height: 20px; background: #05080a; border-radius: 0 0 12px 12px; z-index: 3;
}
.phone-screen { position: relative; width: 100%; height: 100%; border-radius: 33px; overflow: hidden; background: #0a0f0c; }
.phone-screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; }

.match-ping {
  position: absolute; z-index: 4; font-family: var(--mono); font-size: 0.7rem; font-weight: 500;
  letter-spacing: 0.05em; padding: 0.5em 0.85em; border-radius: 999px;
  background: rgba(10,15,12,0.85); border: 1px solid var(--line-bright); backdrop-filter: blur(8px);
  display: inline-flex; align-items: center; gap: 0.45em; white-space: nowrap;
}
.match-ping svg { width: 13px; height: 13px; }
.match-ping.a { top: 16%; left: -14%; color: var(--lime-hi); }
.match-ping.a svg { color: var(--lime); }
.match-ping.b { bottom: 12%; right: -12%; color: var(--amber-hi); }
.match-ping.b svg { color: var(--amber); }
@media (prefers-reduced-motion: no-preference) {
  .hero-phone { animation: float 7s ease-in-out infinite; }
  .match-ping.a { animation: float 5.5s ease-in-out infinite reverse; }
  .match-ping.b { animation: float 6.5s ease-in-out infinite; }
}
@keyframes float { 0%,100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-14px) rotate(1deg); } }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-court { opacity: 0.5; width: 120%; right: -30%; top: 20%; }
  .hero-phone { display: none; }
}

/* ---- Marquee ticker ------------------------------------------------------ */
.ticker {
  position: relative; border-block: 1px solid var(--line);
  padding-block: clamp(1.1rem, 2.4vw, 1.9rem); overflow: hidden;
  background: linear-gradient(180deg, rgba(15,21,18,0.6), rgba(0,0,0,0));
}
.ticker-track { display: flex; width: max-content; gap: 0; will-change: transform; }
@media (prefers-reduced-motion: no-preference) { .ticker-track { animation: marquee 34s linear infinite; } }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-item {
  font-family: var(--sans); font-weight: 800; text-transform: uppercase;
  font-size: clamp(1.5rem, 4vw, 3rem); letter-spacing: -0.02em;
  color: transparent; -webkit-text-stroke: 1.3px var(--line-bright);
  padding-inline: clamp(1rem, 2.4vw, 2.2rem);
  display: inline-flex; align-items: center; gap: clamp(1rem,2.4vw,2.2rem);
}
.ticker-item::after { content: "✦"; -webkit-text-stroke: 0; color: var(--lime); font-size: 0.6em; }
.ticker-item:nth-child(even) { -webkit-text-stroke-color: var(--lime-deep); color: transparent; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---- Stat readout -------------------------------------------------------- */
.stats { border-bottom: 1px solid var(--line); padding-block: clamp(2.4rem, 5vw, 3.4rem); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 3vw, 2.5rem); }
.stat { border-left: 1px solid var(--line); padding-left: 1.15rem; }
.stat-num { font-size: clamp(2rem, 4.5vw, 3.4rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.stat-num .u { color: var(--lime); }
.stat-label { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--dim); margin-top: 0.7rem; }
@media (max-width: 720px) { .stats-grid { grid-template-columns: repeat(2, 1fr); row-gap: 2rem; } }

/* ---- Features bento ------------------------------------------------------ */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(0.8rem, 1.4vw, 1.1rem); }
.tile {
  position: relative; background: var(--bg-card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: clamp(1.5rem, 2.6vw, 2.1rem);
  overflow: hidden; transition: border-color 0.35s var(--ease-out), transform 0.35s var(--ease-out), background-color 0.35s ease;
  display: flex; flex-direction: column; min-height: 190px;
}
.tile:hover { border-color: var(--line-bright); transform: translateY(-4px); background: #121a15; }
.tile::before { /* corner court-line accent */
  content: ""; position: absolute; top: 0; right: 0; width: 90px; height: 90px;
  background:
    linear-gradient(var(--lime), var(--lime)) top right / 40px 1.5px no-repeat,
    linear-gradient(var(--lime), var(--lime)) top right / 1.5px 40px no-repeat;
  opacity: 0.25; transition: opacity 0.35s ease;
}
.tile:hover::before { opacity: 0.6; }
.tile-label { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--lime-hi); }
.tile h3 { font-size: clamp(1.15rem, 1.8vw, 1.45rem); font-weight: 700; letter-spacing: -0.02em; margin-top: auto; padding-top: 1.4rem; }
.tile p { color: var(--muted); font-size: 0.95rem; margin-top: 0.55rem; }
.tile .icon { width: 30px; height: 30px; color: var(--lime); position: absolute; top: clamp(1.5rem,2.6vw,2.1rem); right: clamp(1.5rem,2.6vw,2.1rem); }
.tile .icon svg { width: 100%; height: 100%; }
/* asymmetric spans */
.tile.wide { grid-column: span 4; }
.tile.reg  { grid-column: span 2; }
.tile.half { grid-column: span 3; }
.tile.feature {
  grid-column: span 4;
  background: linear-gradient(150deg, rgba(132,204,22,0.10), rgba(15,21,18,0.4));
  border-color: var(--line-bright);
}
.tile.feature h3 { font-size: clamp(1.4rem, 2.4vw, 2rem); }
.tile.amber-tile::before { background:
    linear-gradient(var(--amber), var(--amber)) top right / 40px 1.5px no-repeat,
    linear-gradient(var(--amber), var(--amber)) top right / 1.5px 40px no-repeat; }
.tile.amber-tile .tile-label { color: var(--amber-hi); }
.tile.amber-tile .icon { color: var(--amber); }
.tile.feature.amber-tile { background: linear-gradient(150deg, rgba(245,165,36,0.11), rgba(15,21,18,0.4)); }
@media (max-width: 900px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .tile.wide, .tile.reg, .tile.half, .tile.feature { grid-column: span 1; }
  .tile.feature { grid-column: span 2; }
}
@media (max-width: 560px) { .bento { grid-template-columns: 1fr; } .tile.feature { grid-column: span 1; } }

/* ---- Products ------------------------------------------------------------ */
.products { display: grid; gap: clamp(1rem, 2vw, 1.4rem); }
.product {
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: clamp(2rem, 5vw, 5rem);
  padding: clamp(2rem, 4vw, 3.5rem);
  background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; position: relative;
  transition: border-color 0.4s var(--ease-out);
}
.product:hover { border-color: var(--line-bright); }
.product:nth-child(even) { grid-template-columns: auto 1fr; }
.product:nth-child(even) .product-copy { order: 2; }
.product:nth-child(even) .product-visual { order: 1; }
.product-index { font-family: var(--mono); font-size: 0.85rem; letter-spacing: 0.2em; color: var(--dim); }
.product-index b { color: var(--lime); font-weight: 500; }
.product h3 { font-size: var(--fs-h3); font-weight: 800; letter-spacing: -0.03em; margin: 0.9rem 0 0; }
.product h3 .lime { color: var(--lime); }
.product-copy p { color: var(--muted); font-size: 1.05rem; margin-top: 0.9rem; max-width: 32rem; }
.product-link {
  display: inline-flex; align-items: center; gap: 0.5em; margin-top: 1.5rem;
  font-weight: 600; font-size: 0.92rem; color: var(--lime-hi);
}
.product-link svg { width: 15px; height: 15px; transition: transform 0.3s var(--ease-out); }
.product-link:hover svg { transform: translateX(5px); }

.product-visual { position: relative; }
.product-visual .frame {
  width: clamp(180px, 20vw, 240px); aspect-ratio: 320/660; border-radius: 30px; padding: 8px;
  background: linear-gradient(155deg, #1c2620, #0b0f0d); border: 1px solid var(--line-bright);
  box-shadow: 0 30px 60px -26px rgba(0,0,0,0.85), 0 0 60px -24px var(--lime-glow);
  transform: rotate(-4deg); transition: transform 0.5s var(--ease-out);
}
.product:nth-child(even) .product-visual .frame { transform: rotate(4deg); }
.product:hover .product-visual .frame { transform: rotate(0deg) translateY(-6px); }
.product-visual .frame img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 23px; }
.product-doodle { position: absolute; z-index: 0; width: 150px; height: 150px; opacity: 0.12; pointer-events: none; }
.product:nth-child(1) .product-doodle { bottom: -20px; left: -10px; }
.product:nth-child(2) .product-doodle { top: -20px; right: -10px; }
.product:nth-child(3) .product-doodle { bottom: -30px; left: 30%; }

@media (max-width: 780px) {
  .product, .product:nth-child(even) { grid-template-columns: 1fr; text-align: left; }
  .product:nth-child(even) .product-copy { order: 1; }
  .product:nth-child(even) .product-visual { order: 2; }
  .product-visual { justify-self: start; }
  .product-visual .frame, .product:nth-child(even) .product-visual .frame { transform: rotate(-3deg); }
}

/* ---- Plans --------------------------------------------------------------- */
.plans-controls {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 1.2rem; margin-bottom: clamp(2rem, 4vw, 3rem);
}
.segmented {
  position: relative; display: inline-flex; padding: 4px; gap: 2px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 999px;
}
.segmented .pill {
  position: absolute; top: 4px; bottom: 4px; border-radius: 999px;
  background: linear-gradient(180deg, var(--lime-hi), var(--lime));
  transition: left 0.4s var(--ease-out), width 0.4s var(--ease-out); z-index: 0;
}
.seg-btn {
  position: relative; z-index: 1; padding: 0.6em 1.3em; border-radius: 999px;
  font-size: 0.9rem; font-weight: 600; color: var(--muted); transition: color 0.3s ease;
}
.seg-btn.active { color: #0a1206; }
.billing-note { font-size: 0.8rem; color: var(--dim); font-family: var(--mono); letter-spacing: 0.05em; }
.billing-note .save { color: var(--amber); }

.plans-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(0.8rem, 1.4vw, 1.1rem); align-items: stretch; }
.plans-grid[hidden] { display: none; }
.plan {
  position: relative; display: flex; flex-direction: column;
  background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.7rem 1.5rem; transition: border-color 0.35s var(--ease-out), transform 0.35s var(--ease-out);
}
.plan:hover { border-color: var(--line-bright); transform: translateY(-4px); }
.plan.featured {
  border-color: var(--lime); background: linear-gradient(180deg, rgba(132,204,22,0.09), var(--bg-card) 42%);
  box-shadow: 0 24px 60px -28px var(--lime-glow);
}
.ribbon {
  position: absolute; top: -1px; right: 1.2rem; transform: translateY(-50%);
  font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.12em; text-transform: uppercase;
  background: linear-gradient(180deg, var(--amber-hi), var(--amber)); color: #241300;
  padding: 0.4em 0.8em; border-radius: 999px; font-weight: 500;
}
/* Lime discount pill — same shape as the Best-deal ribbon, louder weight.
   The inner <b data-founder-saving> is re-rendered per audience/level/currency. */
.ribbon.save {
  background: linear-gradient(180deg, var(--lime-hi), var(--lime)); color: #0c1503;
  font-size: 0.7rem; font-weight: 700; box-shadow: 0 6px 18px -6px var(--lime-glow);
}
.ribbon.save b { font-weight: 800; }
.plan-tag { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--dim); }
.plan.featured .plan-tag { color: var(--lime); }
.plan-name { font-size: 1.35rem; font-weight: 800; letter-spacing: -0.02em; margin-top: 0.3rem; }
.plan-price { display: flex; align-items: baseline; gap: 0.1em; margin-top: 1rem; font-weight: 800; letter-spacing: -0.03em; }
.plan-cur { font-size: 1.2rem; color: var(--muted); }
.plan-amt { font-size: clamp(2.2rem, 3.6vw, 2.9rem); line-height: 1; }
.plan-permo { font-size: 1rem; font-weight: 600; color: var(--muted); }
.plan-sub { font-size: 0.8rem; color: var(--dim); margin-top: 0.5rem; min-height: 1.2em; }
.plan hr { border: none; border-top: 1px solid var(--line); margin: 1.3rem 0; }
.plan-perks { list-style: none; padding: 0; display: grid; gap: 0.7rem; margin-bottom: 1.6rem; }
.plan-perks li { display: flex; gap: 0.6rem; font-size: 0.9rem; color: var(--muted); }
.plan-perks svg { width: 17px; height: 17px; color: var(--lime); flex-shrink: 0; margin-top: 2px; }
.plan .btn { margin-top: auto; justify-content: center; width: 100%; }
.plans-foot { display: flex; justify-content: center; margin-top: clamp(2rem, 4vw, 3rem); }

@media (max-width: 980px) { .plans-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .plans-grid { grid-template-columns: 1fr; } .plans-controls { flex-direction: column; align-items: stretch; } }

/* ---- Waitlist ------------------------------------------------------------ */
.waitlist-card {
  position: relative; overflow: hidden;
  background: linear-gradient(150deg, var(--surface), var(--bg-card));
  border: 1px solid var(--line-bright); border-radius: var(--radius-lg);
  padding: clamp(2.2rem, 5vw, 4rem); text-align: center; max-width: 44rem; margin-inline: auto;
}
.waitlist-card .kicker { justify-content: center; }
.waitlist-card h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); font-weight: 800; letter-spacing: -0.03em; margin-top: 0.8rem; }
.waitlist-card p.sub { color: var(--muted); margin-top: 0.8rem; }
.waitlist-form { display: flex; gap: 0.6rem; max-width: 27rem; margin: 1.8rem auto 0; }
.waitlist-input {
  flex: 1; padding: 0.9em 1.1em; border-radius: 999px; background: rgba(0,0,0,0.4);
  border: 1px solid var(--line-bright); color: var(--text); font-size: 0.95rem;
  transition: border-color 0.25s ease;
}
.waitlist-input::placeholder { color: var(--dim); }
.waitlist-input:focus { outline: none; border-color: var(--lime); }
.waitlist-status { font-size: 0.85rem; margin-top: 1rem; min-height: 1.2em; color: var(--lime-hi); }
.waitlist-status.err { color: var(--danger); }
@media (max-width: 520px) { .waitlist-form { flex-direction: column; } .waitlist-form .btn { justify-content: center; } }

/* ---- FAQ ----------------------------------------------------------------- */
.faq { max-width: 46rem; margin-inline: auto; }
.faq-item { border-top: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: 1.4rem 0.4rem; text-align: left; font-size: clamp(1.02rem, 1.7vw, 1.2rem); font-weight: 600;
  transition: color 0.2s ease;
}
.faq-q:hover { color: var(--lime-hi); }
.faq-icon { width: 20px; height: 20px; flex-shrink: 0; color: var(--lime); transition: transform 0.4s var(--ease-out); }
.faq-item.open .faq-icon { transform: rotate(135deg); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.45s var(--ease-out); }
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a-inner { overflow: hidden; }
.faq-a-inner p { color: var(--muted); padding: 0 0.4rem 1.5rem; font-size: 0.98rem; line-height: 1.7; }
.faq-a-inner strong { color: var(--text); }

/* ---- CTA band ------------------------------------------------------------ */
.cta-band { text-align: center; overflow: clip; background: radial-gradient(62% 80% at 50% 116%, rgba(132,204,22,0.13), transparent 66%); }
.cta-band .container { position: relative; z-index: 2; }
.cta-court {
  position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%;
  opacity: 0.5; pointer-events: none;
  mask-image: radial-gradient(80% 90% at 50% 50%, #000 30%, transparent 78%);
}
.cta-court path, .cta-court line { stroke: var(--lime); }
.cta-inner { max-width: 40rem; margin-inline: auto; }
.cta-inner h2 { font-size: var(--fs-h2); font-weight: 800; letter-spacing: -0.035em; line-height: 0.98; text-transform: uppercase; }
.cta-inner p { color: var(--muted); font-size: var(--fs-lead); margin: 1.2rem auto 2rem; max-width: 34rem; }

/* ---- Footer -------------------------------------------------------------- */
footer { border-top: 1px solid var(--line); padding-block: clamp(3rem, 6vw, 5rem) 2.5rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 2.5rem; }
.footer-brand .brand { margin-bottom: 1.1rem; }
.footer-brand p { color: var(--muted); font-size: 0.9rem; max-width: 22rem; }
.footer-col h3 { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--dim); margin-bottom: 1.1rem; }
.footer-col ul { list-style: none; padding: 0; display: grid; gap: 0.7rem; }
.footer-col a { color: var(--muted); font-size: 0.9rem; transition: color 0.2s ease; }
.footer-col a:hover { color: var(--lime-hi); }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  margin-top: clamp(2.5rem, 5vw, 4rem); padding-top: 1.8rem; border-top: 1px solid var(--line);
}
.footer-bottom p { color: var(--dim); font-size: 0.82rem; }
.socials { display: flex; gap: 0.6rem; }
.socials a { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 10px; color: var(--muted); transition: 0.25s var(--ease-out); }
.socials a:hover { color: var(--lime); border-color: var(--lime); transform: translateY(-2px); }
.socials svg { width: 17px; height: 17px; }
@media (max-width: 780px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: span 2; } }

/* ---- Reveal / self-drawing lines ---------------------------------------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }

.draw path, .draw line, .draw circle { stroke-dasharray: var(--len, 1200); stroke-dashoffset: var(--len, 1200); transition: stroke-dashoffset 1.6s var(--ease-out); }
.draw.in path, .draw.in line, .draw.in circle { stroke-dashoffset: 0; }

/* hero title load animation */
.hero-title .line > span { transform: translateY(110%); }
.hero-title.play .line > span { animation: rise 0.9s var(--ease-out) forwards; }
.hero-title.play .line:nth-child(2) > span { animation-delay: 0.12s; }
.hero-title.play .line:nth-child(3) > span { animation-delay: 0.24s; }
@keyframes rise { to { transform: translateY(0); } }

/* ---- Reduced motion ------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .reveal { opacity: 1; transform: none; }
  .draw path, .draw line, .draw circle { stroke-dashoffset: 0; }
  .hero-title .line > span { transform: none; }
  .ticker-track { animation: none; }
  .hero-phone, .match-ping { animation: none !important; }
}

/* ---- Page: shared subpage components ------------------------------------ */
/* Before/after contrast pairs (product pages) */
.ba-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(0.9rem, 1.6vw, 1.3rem); }
.ba { display: flex; flex-direction: column; gap: 0.65rem; }
.ba-card { position: relative; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.35rem 1.4rem 1.5rem; background: var(--bg-card); flex: 1; }
.ba-tag { font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.22em; text-transform: uppercase; display: inline-block; margin-bottom: 0.65rem; }
.ba-card.before { border-style: dashed; background: rgba(15,21,18,0.45); }
.ba-card.before .ba-tag { color: var(--danger); }
.ba-card.before p { color: var(--dim); }
.ba-card.after { border-color: var(--line-bright); background: linear-gradient(150deg, rgba(132,204,22,0.09), var(--bg-card) 58%); }
.ba-card.after .ba-tag { color: var(--lime-hi); }
.ba-card p { font-size: 0.95rem; color: var(--muted); line-height: 1.65; }
.ba-arrow { align-self: center; width: 18px; height: 18px; color: var(--lime); flex-shrink: 0; }
@media (max-width: 900px) { .ba-grid { grid-template-columns: 1fr; } }

/* Numbered step rail */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(0.9rem, 1.6vw, 1.3rem); }
.step { position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-card); padding: clamp(1.5rem, 2.6vw, 2rem); }
.step-num { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--lime-hi); }
.step h3 { font-size: clamp(1.15rem, 1.9vw, 1.45rem); font-weight: 700; letter-spacing: -0.02em; margin-top: 2.4rem; position: relative; z-index: 1; }
.step p { color: var(--muted); font-size: 0.95rem; margin-top: 0.55rem; position: relative; z-index: 1; }
.step .ghost {
  position: absolute; top: 0.4rem; right: 0.9rem; line-height: 1; z-index: 0;
  font-size: 5rem; font-weight: 800; letter-spacing: -0.05em;
  color: transparent; -webkit-text-stroke: 1.2px var(--line-bright); opacity: 0.55;
}
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* Status chip (trust & safety tiles etc.) */
.chip {
  display: inline-flex; align-items: center; gap: 0.5em; margin-top: 1.1rem; align-self: flex-start;
  font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.16em; text-transform: uppercase;
  padding: 0.4em 0.85em; border-radius: 999px; border: 1px solid var(--line-bright); color: var(--lime-hi);
}
.chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--lime); }
.chip.dev { color: var(--amber-hi); }
.chip.dev::before { background: var(--amber); }

/* Split panel — copy left, list/price right */
.split-card {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2rem, 4vw, 4rem); align-items: center;
  background: linear-gradient(150deg, var(--surface), var(--bg-card));
  border: 1px solid var(--line-bright); border-radius: var(--radius-lg);
  padding: clamp(2rem, 4.5vw, 3.6rem); position: relative; overflow: hidden;
}
.split-card h3 { font-size: clamp(1.6rem, 3.2vw, 2.5rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; }
.split-card > div > p { color: var(--muted); margin-top: 1rem; }
.split-card .plan-perks { margin-bottom: 0; }
.split-ctas { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.7rem; }
@media (max-width: 860px) { .split-card { grid-template-columns: 1fr; } }
.section-fineprint { font-size: 0.83rem; color: var(--dim); max-width: 46rem; margin: 1.6rem auto 0; text-align: center; line-height: 1.65; }
.section-fineprint b { color: var(--muted); }

/* ---- Page: trainup ------------------------------------------------------- */
.chip-row { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-top: 1.2rem; }
.chip-row .chip { margin-top: 0; }
.tile .chip-row { margin-top: auto; padding-top: 1.2rem; }
.tile .chip-row + h3, .tile .chip-row ~ h3 { margin-top: 1rem; }

/* ---- Page: machineup ------------------------------------------------------ */
.steps.four { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .steps.four { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .steps.four { grid-template-columns: 1fr; } }

/* Listing-card mock (machine rental) */
.machine-card {
  width: min(100%, 24rem);
  background: linear-gradient(160deg, var(--surface), var(--bg-card) 70%);
  border: 1px solid var(--line-bright); border-radius: var(--radius-lg);
  padding: 1.6rem 1.6rem 1.5rem; position: relative; overflow: hidden;
  box-shadow: 0 40px 90px -40px rgba(0,0,0,0.9), 0 0 70px -30px var(--amber-glow);
}
.machine-card .mc-top { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.machine-card h3 { font-size: 1.3rem; font-weight: 800; letter-spacing: -0.02em; }
.machine-card .mc-rate { font-family: var(--mono); font-size: 0.95rem; color: var(--amber-hi); white-space: nowrap; }
.machine-card .mc-rate b { font-size: 1.25rem; font-weight: 700; }
.machine-card .mc-meta { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.08em; color: var(--muted); margin-top: 0.5rem; }
.machine-card .mc-meta .star { color: var(--amber); }
.mc-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 0.55rem 1rem; margin-top: 1.2rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.mc-spec { display: flex; justify-content: space-between; gap: 0.6rem; font-size: 0.8rem; }
.mc-spec .k { font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dim); align-self: center; }
.mc-spec .v { color: var(--text); font-weight: 600; text-align: right; }
.mc-foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.3rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.mc-foot .next { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.1em; color: var(--muted); }
.mc-foot .next b { color: var(--lime-hi); font-weight: 500; }

/* availability rows mock */
.avail-card {
  width: min(100%, 22rem); background: var(--bg-card); border: 1px solid var(--line-bright);
  border-radius: var(--radius); padding: 1.3rem 1.4rem;
  box-shadow: 0 30px 70px -35px rgba(0,0,0,0.9);
}
.avail-card .ac-head { display: flex; justify-content: space-between; align-items: center; font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); margin-bottom: 0.9rem; }
.avail-card .ac-head .live { color: var(--lime-hi); display: inline-flex; align-items: center; gap: 0.45em; }
.avail-card .ac-head .live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--lime); }
.avail-row { display: flex; justify-content: space-between; align-items: center; gap: 0.8rem; padding: 0.55rem 0; border-top: 1px solid var(--line); font-size: 0.85rem; }
.avail-row .t { font-family: var(--mono); font-size: 0.74rem; color: var(--muted); }
.avail-row .s { font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.12em; text-transform: uppercase; }
.avail-row .s.open { color: var(--lime-hi); }
.avail-row .s.partial { color: var(--amber-hi); }
.avail-row .s.booked { color: var(--dim); text-decoration: line-through; }

/* ---- Page: coaches + early-access (founder tier cards) ------------------- */
.plans-grid.two { grid-template-columns: repeat(2, 1fr); max-width: 58rem; margin-inline: auto; }
@media (max-width: 720px) { .plans-grid.two { grid-template-columns: 1fr; } }

/* Founder tier card — .plan look-alike WITHOUT the .plan class so
   app.js renderPrices() never rewrites its price/sub text. */
.tier {
  position: relative; display: flex; flex-direction: column;
  background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.7rem 1.5rem; transition: border-color 0.35s var(--ease-out), transform 0.35s var(--ease-out);
}
.tier:hover { border-color: var(--line-bright); transform: translateY(-4px); }
.tier.featured {
  border-color: var(--amber); background: linear-gradient(180deg, rgba(245,165,36,0.09), var(--bg-card) 42%);
  box-shadow: 0 24px 60px -28px var(--amber-glow);
}
.tier .tier-tag { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--dim); }
.tier.featured .tier-tag { color: var(--amber-hi); }
.tier .tier-name { font-size: 1.35rem; font-weight: 800; letter-spacing: -0.02em; margin-top: 0.3rem; }
.tier .tier-price { margin-top: 1rem; font-weight: 800; letter-spacing: -0.03em; font-size: clamp(2rem, 3.2vw, 2.6rem); line-height: 1; }
.tier .tier-price .amt { color: var(--text); }
.tier .tier-price .permo { font-size: 1rem; font-weight: 600; color: var(--muted); margin-left: 0.1em; letter-spacing: -0.01em; }
.tier .tier-sub { font-size: 0.8rem; color: var(--dim); margin-top: 0.5rem; }
.tier .tier-sub b { color: var(--muted); }
.tier .tier-sub s { color: var(--dim); text-decoration: line-through; text-decoration-thickness: 1px; font-weight: 600; }
.tier .tier-sub b[data-founder-saving] { color: var(--lime-hi); }
.tier hr { border: none; border-top: 1px solid var(--line); margin: 1.3rem 0; }
.tier .btn { margin-top: auto; justify-content: center; width: 100%; }
.tier .tier-fine { font-size: 0.72rem; color: var(--dim); margin-top: 0.9rem; text-align: center; }
.tier .stock { font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--lime-hi); margin-top: 0.6rem; }

/* Per-deal founder-spot meter (early-access cards) */
.tier .tier-meter { margin-top: 0.85rem; }
.tier .tier-meter-track { height: 5px; border-radius: 999px; background: var(--line); overflow: hidden; }
.tier .tier-meter-fill { display: block; height: 100%; width: 0; border-radius: 999px; background: linear-gradient(90deg, var(--lime), var(--lime-hi)); transition: width 0.6s var(--ease-out); }
.tier.featured .tier-meter-fill { background: linear-gradient(90deg, var(--amber), var(--amber-hi)); }
.tier .tier-meter-label { font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-top: 0.5rem; }
.tier .tier-meter-label b { color: var(--lime-hi); font-weight: 700; }
.tier.featured .tier-meter-label b { color: var(--amber-hi); }
.tier .tier-meter.soldout .tier-meter-label { color: var(--amber-hi); }
.tier .tier-meter.uncapped .tier-meter-label { color: var(--dim); }
.tier .btn.cta-soldout { opacity: 0.45; pointer-events: none; filter: grayscale(1); }

/* Early-access: center the audience + level toggles, plan-level caption */
.plans-controls--center { justify-content: center; gap: 0.9rem 1.2rem; margin-bottom: 1.1rem; }
.ea-level-note { text-align: center; font-size: 0.85rem; color: var(--muted); max-width: 40rem; margin: 0 auto clamp(1.8rem, 3.5vw, 2.6rem); line-height: 1.55; }
.ea-level-note b { color: var(--text); }

/* ---- Page: machine-owners ------------------------------------------------- */
.tile .big-num { font-size: clamp(2.2rem, 4vw, 3.1rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1; color: var(--lime); margin-top: 1.6rem; }
.tile.amber-tile .big-num { color: var(--amber); }
.tile .fine { font-size: 0.72rem; color: var(--dim); margin-top: 0.9rem; }

/* ---- Page: about ----------------------------------------------------------- */
.prose { max-width: 46rem; }
.prose p { color: var(--muted); font-size: 1.02rem; line-height: 1.75; margin-top: 1.1rem; }
.prose p:first-child { margin-top: 0; }
.prose b, .prose strong { color: var(--text); }
.prose a { color: var(--lime-hi); text-decoration: underline; text-underline-offset: 2px; }
.prose a:hover { color: var(--lime); }

/* ---- Page: legal (privacy + terms) — shell reskin, verbatim body text ----- */
.legal-hero { padding: clamp(8rem, 16vh, 11rem) 0 clamp(2rem, 4vw, 3rem); border-bottom: 1px solid var(--line); }
.legal-eyebrow {
  font-family: var(--mono); font-size: 0.72rem; font-weight: 500; letter-spacing: 0.34em;
  text-transform: uppercase; color: var(--lime-hi); margin-bottom: 1rem;
}
.legal-hero h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1.02; }
.last-updated { font-family: var(--mono); font-size: 0.74rem; color: var(--dim); margin-top: 1rem; line-height: 1.7; }
.legal-section { padding-block: clamp(2.5rem, 5vw, 4rem) clamp(4rem, 8vw, 6.5rem); }
.legal-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 980px) { .legal-grid { grid-template-columns: 260px 1fr; gap: 4rem; } }
.legal-toc { position: sticky; top: 96px; align-self: start; }
@media (max-width: 979px) { .legal-toc { position: static; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem 1.4rem; background: var(--bg-card); } }
.legal-toc h4 { font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--dim); margin-bottom: 1rem; }
.legal-toc ol { list-style: none; padding: 0; margin: 0; counter-reset: toc; display: grid; gap: 0.45rem; }
.legal-toc li { counter-increment: toc; font-size: 0.84rem; }
.legal-toc li::before { content: counter(toc, decimal-leading-zero) ". "; font-family: var(--mono); font-size: 0.7rem; color: var(--lime); }
.legal-toc li.sub { counter-increment: none; }
.legal-toc li.sub::before { content: "05a. "; }
.legal-toc a { color: var(--muted); transition: color 0.2s ease; }
.legal-toc a:hover { color: var(--lime-hi); }
.legal-body { max-width: 720px; min-width: 0; }
.legal-body h2 { font-size: clamp(1.3rem, 2vw, 1.6rem); font-weight: 800; letter-spacing: -0.02em; margin: 2.8rem 0 1rem; scroll-margin-top: 96px; }
.legal-body h2:first-of-type { margin-top: 0; }
.legal-body .section-num { font-family: var(--mono); font-size: 0.78em; font-weight: 500; color: var(--lime); margin-right: 0.5em; }
.legal-body h3 { font-size: 1.05rem; font-weight: 700; margin: 1.8rem 0 0.7rem; }
.legal-body p, .legal-body li { color: var(--muted); font-size: 0.94rem; line-height: 1.75; }
.legal-body p { margin: 0 0 1rem; }
.legal-body ul, .legal-body ol { padding-left: 1.4rem; margin: 0 0 1.2rem; }
.legal-body li { margin: 0 0 0.5rem; }
.legal-body strong { color: var(--text); font-weight: 600; }
.legal-body a:not(.btn) { color: var(--lime-hi); text-decoration: underline; text-underline-offset: 2px; }
.legal-body a:not(.btn):hover { color: var(--lime); }
.legal-body code { font-family: var(--mono); font-size: 0.85em; background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 0.12em 0.4em; }
.legal-banner { border: 1px solid var(--amber); border-radius: var(--radius-sm); background: rgba(245,165,36,0.07); padding: 1.1rem 1.3rem; margin-bottom: 2rem; }
.legal-banner-tag {
  display: inline-flex; align-items: center; gap: 0.5em; font-family: var(--mono); font-size: 0.62rem;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--amber-hi); margin-bottom: 0.6rem;
}
.legal-banner-tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--amber); }
.legal-banner p { font-size: 0.88rem; margin-bottom: 0.6rem; }
.legal-banner p:last-child { margin-bottom: 0; }
.counsel-note { border: 1px dashed var(--amber); border-radius: var(--radius-sm); background: rgba(245,165,36,0.05); padding: 1rem 1.2rem; margin: 2rem 0; }
.counsel-note p { margin: 0; font-size: 0.86rem; }
.counsel-note strong { color: var(--amber-hi); }
.glance-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.8rem; margin: 1.4rem 0 2rem; }
@media (max-width: 640px) { .glance-grid { grid-template-columns: 1fr; } }
.glance-card { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--bg-card); padding: 1.1rem 1.2rem; }
.glance-card h3 { margin: 0 0 0.5rem; font-size: 0.95rem; }
.glance-card p { font-size: 0.85rem; margin: 0; }
.data-table { border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; margin: 1.2rem 0 1.8rem; }
.data-table-row { display: grid; grid-template-columns: 200px 1fr; gap: 1rem; padding: 0.75rem 1rem; border-top: 1px solid var(--line); }
.data-table-row:first-child { border-top: none; }
.data-table-row.header { background: var(--surface); font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--dim); }
.data-table-key { font-family: var(--mono); font-size: 0.76rem; color: var(--lime-hi); word-break: break-word; }
.data-table-val { font-size: 0.88rem; color: var(--muted); }
@media (max-width: 640px) { .data-table-row { grid-template-columns: 1fr; gap: 0.25rem; } }
