/* Layout: Apple product-page rhythm in a 1120px column. One bold moment: a floodlit night stage holding a live 3D twin of the court. Everything after it is quiet, light, and lets the renders and numbers carry the page. */
:root {
  --bg: #f5f5f7;
  --surface: #ffffff;
  --surface-2: #fbfbfd;
  --fg: #1d1d1f;
  --muted: #6e6e73;
  --line: #d2d2d7;
  --accent: #047857;
  --accent-soft: #ecfdf5;
  --on-accent: #ffffff;
  --link: #0066cc;
  --night: #06110a;
  --night-2: #0f2618;
  --flood: #f5f5f7;
  --flood-muted: #a8b3ab;
  --turf: #10b981;
  --turf-plan: #3a8a4b;
  --turf-plan-2: #357f45;
  --plan-line: #ffffff;
  --cov: #ffffff;
  --kit-stage: #e9ebee;
  --kit-stage-2: #f7f8fa;
  --nav-bg: rgba(245, 245, 247, 0.78);
  --phone: #1d1d1f;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #000000; --surface: #1c1c1e; --surface-2: #141416; --fg: #f5f5f7; --muted: #98989d; --line: #38383a;
    --accent: #10b981; --accent-soft: #052e22; --on-accent: #000000; --link: #2997ff;
    --night: #07140c; --night-2: #12301d;
    --turf-plan: #1f5a2c; --turf-plan-2: #1c5228; --plan-line: #e8efe9; --cov: #ffffff;
    --kit-stage: #1a1c1f; --kit-stage-2: #26292d; --nav-bg: rgba(0, 0, 0, 0.72); --phone: #3a3a3c;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #000000; --surface: #1c1c1e; --surface-2: #141416; --fg: #f5f5f7; --muted: #98989d; --line: #38383a;
  --accent: #10b981; --accent-soft: #052e22; --on-accent: #000000; --link: #2997ff;
  --night: #07140c; --night-2: #12301d;
  --turf-plan: #1f5a2c; --turf-plan-2: #1c5228; --plan-line: #e8efe9; --cov: #ffffff;
  --kit-stage: #1a1c1f; --kit-stage-2: #26292d; --nav-bg: rgba(0, 0, 0, 0.72); --phone: #3a3a3c;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font: 17px/1.55 var(--font); -webkit-font-smoothing: antialiased;
  padding-inline: 16px; padding-block: 0 48px;
}
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 2px solid var(--link); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
p { max-width: 62ch; }
.wrap { max-width: 1120px; margin: 0 auto; }
.eyebrow { font: 600 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
h2 { font-size: clamp(32px, 4.8vw, 56px); line-height: 1.05; letter-spacing: -0.033em; font-weight: 700; max-width: 19ch; }
h3 { font-size: 21px; line-height: 1.25; letter-spacing: -0.012em; font-weight: 650; }
.sub { font-size: clamp(18px, 2vw, 21px); line-height: 1.5; color: var(--muted); max-width: 58ch; }
.sub b { color: var(--fg); font-weight: 600; }
.muted { color: var(--muted); }
.small { font-size: 14px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 22px; border-radius: 999px; font: 600 16px/1 var(--font); border: 0; cursor: pointer; text-decoration: none; white-space: nowrap; }
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { filter: brightness(1.08); }
.btn-ghost { background: transparent; color: var(--flood); box-shadow: inset 0 0 0 1.5px rgba(245,245,247,.35); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--flood); }
.btn-sm { height: 34px; padding: 0 16px; font-size: 14px; }

/* Nav */
.nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; margin-inline: -16px; padding-inline: 16px; background: var(--nav-bg); backdrop-filter: saturate(180%) blur(18px); -webkit-backdrop-filter: saturate(180%) blur(18px); border-bottom: 1px solid var(--line); }
.nav-in { max-width: 1120px; margin: 0 auto; height: 56px; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--fg); font-weight: 700; letter-spacing: -0.02em; font-size: 19px; }
.brand:hover { text-decoration: none; }
.brand svg { display: block; }
.nav-links { display: flex; gap: 24px; margin-left: auto; font-size: 14px; }
.nav-links a { color: var(--fg); opacity: .8; }
.nav-links a:hover { opacity: 1; text-decoration: none; }
@media (max-width: 760px) { .nav-links { display: none; } .nav .btn { margin-left: auto; } }

main { display: flex; flex-direction: column; gap: clamp(88px, 12vw, 148px); padding-top: 20px; }
section { min-width: 0; }
.stack { display: flex; flex-direction: column; gap: 22px; }

/* Hero */
.hero { background: radial-gradient(120% 95% at 50% -10%, var(--night-2), var(--night) 66%); color: var(--flood); border-radius: 32px; overflow: hidden; display: flex; flex-direction: column; }
.hero-text { padding: clamp(32px, 6.5vw, 80px) clamp(22px, 6.5vw, 80px) 0; display: flex; flex-direction: column; gap: 22px; }
.hero .eyebrow { color: var(--turf); }
h1 { font-size: clamp(44px, 7.6vw, 92px); line-height: .98; letter-spacing: -0.045em; font-weight: 700; max-width: 12ch; }
.lead { font-size: clamp(18px, 2.2vw, 22px); line-height: 1.45; color: var(--flood-muted); max-width: 50ch; }
.lead b { color: var(--flood); font-weight: 600; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.stage { position: relative; height: clamp(380px, 54vw, 640px); margin-top: 18px; }
.stage canvas { display: block; width: 100%; height: 100%; }
.stage .chip-live { position: absolute; top: 18px; right: clamp(22px, 6.5vw, 80px); display: inline-flex; align-items: center; gap: 8px; font: 600 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--flood); background: rgba(6,17,10,.55); border: 1px solid rgba(245,245,247,.16); padding: 8px 12px; border-radius: 999px; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--turf); box-shadow: 0 0 0 0 var(--turf); animation: pulse 1.8s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(16,185,129,.6); } 70% { box-shadow: 0 0 0 9px rgba(16,185,129,0); } 100% { box-shadow: 0 0 0 0 rgba(16,185,129,0); } }
@media (prefers-reduced-motion: reduce) { .dot { animation: none; } }
.camtag { position: absolute; left: 0; top: 0; pointer-events: none; font: 700 11px/1 var(--mono); color: var(--night); background: var(--turf); padding: 5px 7px; border-radius: 7px; transform: translate(-50%, -150%); white-space: nowrap; will-change: transform; }
.stage-legend { position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; padding: 14px clamp(22px, 6.5vw, 80px) 20px; font: 12px/1.4 var(--mono); color: var(--flood-muted); background: linear-gradient(to top, rgba(6,17,10,.85), rgba(6,17,10,0)); }
.stage-legend span { display: inline-flex; align-items: center; gap: 8px; }
.k-ring { width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--turf); }
.k-cone { width: 0; height: 0; border-left: 6px solid transparent; border-right: 6px solid transparent; border-bottom: 11px solid rgba(16,185,129,.6); }
.k-ball { width: 8px; height: 8px; border-radius: 50%; background: var(--flood); }
.k-orange { width: 10px; height: 10px; border-radius: 3px; background: #ff9f0a; }
.k-white { width: 10px; height: 10px; border-radius: 3px; background: var(--flood); }
.stage .fallback { position: absolute; inset: 0; display: none; place-items: center; padding: 24px; }
.stage.nogl canvas, .stage.nogl .camtag { display: none; }
.stage.nogl .fallback { display: grid; }
.stage.nogl .fallback svg { width: 100%; max-width: 760px; height: auto; }

.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; padding: 30px 6px 0; }
.fact { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.fact b { font-size: clamp(24px, 2.6vw, 30px); letter-spacing: -0.03em; line-height: 1.1; }
.fact span { font-size: 15px; color: var(--muted); }
@media (max-width: 820px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Platform */
.pillars { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 960px) { .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .pillars { grid-template-columns: 1fr; } }
.pillar { background: var(--surface); border-radius: 22px; padding: 24px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.pillar .ico { width: 38px; height: 38px; border-radius: 11px; background: var(--accent-soft); display: grid; place-items: center; }
.pillar .ico svg { width: 20px; height: 20px; }
.pillar p { font-size: 16px; color: var(--muted); }
.prods { display: flex; flex-direction: column; gap: 16px; }
.prod { position: relative; border-radius: 30px; overflow: hidden; color: var(--flood); background-color: var(--night);
  background-image: radial-gradient(60% 80% at 62% 42%, rgba(16,185,129,.13), rgba(16,185,129,0) 62%), linear-gradient(rgba(245,245,247,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(245,245,247,.045) 1px, transparent 1px);
  background-size: auto, 44px 44px, 44px 44px; }
.prod-stage { position: relative; height: clamp(440px, 54vw, 660px); }
.prod-stage.short { height: clamp(400px, 46vw, 560px); }
.prod-stage canvas { display: block; width: 100%; height: 100%; }
.prod-head { position: absolute; left: clamp(20px, 4vw, 44px); bottom: clamp(22px, 4vw, 42px); display: flex; flex-direction: column; gap: 8px; max-width: 30ch; pointer-events: none; }
.prod-head .eyebrow { color: var(--turf); }
.prod-head h3 { font-size: clamp(28px, 3.6vw, 44px); letter-spacing: -0.035em; line-height: 1.02; }
.prod-head p { color: var(--flood-muted); font-size: 16px; }
.co-lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.co-lines line { stroke: var(--turf); stroke-width: 1.2; opacity: .8; }
.co-lines .dot { fill: var(--turf); }
.co-lines .halo { fill: none; stroke: var(--turf); stroke-width: 1; opacity: .45; }
.co { position: absolute; max-width: 220px; display: flex; flex-direction: column; gap: 4px; pointer-events: none; }
.co .num { font: 600 11px/1 var(--mono); color: var(--turf); letter-spacing: .12em; }
.co b { font-size: 15px; font-weight: 650; letter-spacing: -0.01em; }
.co span:last-child { font-size: 13px; color: var(--flood-muted); line-height: 1.45; }
.co-list { display: none; }
.prod .fallback { position: absolute; inset: 0; display: none; place-items: center; color: var(--flood-muted); font-size: 15px; }
.prod.nogl canvas, .prod.nogl .co, .prod.nogl .co-lines { display: none; }
.prod.nogl .fallback { display: grid; }
@media (max-width: 760px) {
  .co, .co-lines { display: none; }
  .prod-head { position: static; padding: 0 20px 6px; max-width: none; }
  .co-list { display: grid; gap: 14px; padding: 8px 20px 26px; }
  .co-list div { display: flex; flex-direction: column; gap: 3px; border-top: 1px solid rgba(245,245,247,.14); padding-top: 12px; }
  .co-list b { font-size: 15px; } .co-list span { font-size: 14px; color: var(--flood-muted); }
}

/* Coverage */
.cov { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
@media (max-width: 900px) { .cov { grid-template-columns: 1fr; } }
.plan { background: var(--surface); border-radius: 26px; padding: clamp(12px, 2.4vw, 24px); overflow-x: auto; }
.plan svg { display: block; width: 100%; min-width: 520px; height: auto; }
.plan .t { font: 600 12px var(--mono); fill: var(--muted); letter-spacing: .06em; }
.plan .cl { fill: none; stroke: var(--plan-line); stroke-width: 2.2; opacity: .9; }
.plan .camc { fill: var(--accent); }
.plan .camt { font: 700 11px var(--mono); fill: var(--on-accent); }
.plan .fp { fill: var(--cov); fill-opacity: .15; stroke: var(--cov); stroke-opacity: .35; stroke-width: 1; }
.plan .aim { fill: none; stroke: var(--cov); stroke-width: 2; }
.plan .ray { stroke: var(--cov); stroke-width: 1.4; stroke-dasharray: 5 5; opacity: .7; }
.plan .wall { stroke: var(--muted); stroke-width: 5; stroke-linecap: round; }
.plan .pole { fill: var(--muted); }
.cov-stats { display: flex; flex-direction: column; gap: 26px; }
.stat { display: flex; flex-direction: column; gap: 6px; border-top: 1px solid var(--line); padding-top: 18px; }
.stat .fig { font-size: clamp(40px, 5vw, 58px); font-weight: 700; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat .fig small { font-size: .42em; font-weight: 600; color: var(--muted); margin-left: 4px; letter-spacing: -0.01em; }
.stat p { font-size: 15px; color: var(--muted); }

/* App */
.app { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(28px, 5vw, 72px); align-items: center; }
@media (max-width: 860px) { .app { grid-template-columns: 1fr; justify-items: center; } .app .stack { justify-self: stretch; } }
.phone { width: min(320px, 100%); border-radius: 48px; background: var(--phone); padding: 11px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.35); }
.screen { border-radius: 38px; background: var(--surface-2); padding: 22px 18px 20px; display: flex; flex-direction: column; gap: 14px; min-height: 600px; }
.notch { width: 96px; height: 26px; border-radius: 999px; background: var(--phone); margin: -8px auto 2px; }
.ex { align-self: flex-start; font: 600 10px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line); padding: 5px 8px; border-radius: 999px; }
.prof { display: flex; align-items: center; gap: 12px; }
.avatar { width: 52px; height: 52px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; font: 700 20px var(--font); }
.prof b { display: block; font-size: 18px; letter-spacing: -0.01em; }
.prof span { font-size: 13px; color: var(--muted); }
.verified { margin-left: auto; font: 600 11px/1 var(--font); color: var(--accent); background: var(--accent-soft); padding: 6px 9px; border-radius: 999px; }
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.tile { background: var(--surface); border-radius: 14px; padding: 10px 8px; text-align: center; }
.tile b { display: block; font-size: 22px; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.tile span { font-size: 11px; color: var(--muted); }
.heat { background: var(--surface); border-radius: 16px; padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.heat .lbl, .clips .lbl { font: 600 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.heat-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 2px; aspect-ratio: 2 / 1; border-radius: 8px; overflow: hidden; background: var(--turf-plan); padding: 2px; }
.heat-grid i { display: block; border-radius: 2px; background: var(--turf); }
.clips { background: var(--surface); border-radius: 16px; padding: 12px; display: flex; flex-direction: column; gap: 10px; }
.clip { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.thumb { width: 54px; height: 34px; border-radius: 7px; background: linear-gradient(135deg, var(--turf-plan), var(--night-2)); display: grid; place-items: center; flex: none; }
.thumb::after { content: ""; border-left: 8px solid var(--flood); border-top: 5px solid transparent; border-bottom: 5px solid transparent; margin-left: 2px; }
.clip span { color: var(--muted); margin-left: auto; font: 12px var(--mono); }

/* Five into one */
.five { display: grid; grid-template-columns: minmax(0, 1fr) minmax(90px, .42fr) minmax(0, .95fr); align-items: stretch; }
.five-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.five-list li { flex: 1; display: grid; grid-template-columns: 34px minmax(0, 1fr) minmax(0, 1fr); gap: 12px; align-items: center; padding: 18px 0; border-top: 1px solid var(--line); }
.five-list li:last-child { border-bottom: 1px solid var(--line); }
.five-list .num { font: 600 12px/1 var(--mono); color: var(--accent); }
.five-list b { font-size: 17px; font-weight: 650; }
.five-list span:last-child { font-size: 14px; color: var(--muted); }
.five-lines { position: relative; }
.five-lines svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.five-lines line { stroke: var(--accent); stroke-width: 1.2; vector-effect: non-scaling-stroke; opacity: .75; }
.one-label { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); font: 600 11px/1.35 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); background: var(--bg); padding: 8px 4px; text-align: center; }
.five-card { border-radius: 26px; padding: 24px; display: flex; flex-direction: column; gap: 8px; color: var(--flood); min-height: 440px; background-color: var(--night);
  background-image: radial-gradient(80% 70% at 50% 40%, rgba(16,185,129,.14), rgba(16,185,129,0) 65%), linear-gradient(rgba(245,245,247,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(245,245,247,.045) 1px, transparent 1px);
  background-size: auto, 36px 36px, 36px 36px; border: 1px solid rgba(16,185,129,.35); }
.five-card .eyebrow { color: var(--turf); }
.five-card img, .five-card .shot-fb { width: 100%; max-width: 100%; aspect-ratio: 9 / 8; object-fit: contain; margin: auto 0; }
.five-card .shot-fb { display: grid; place-items: center; }
.five-card h3 { font-size: 24px; letter-spacing: -0.02em; }
.five-card p { color: var(--flood-muted); font-size: 15px; }
@media (max-width: 860px) { .five { grid-template-columns: 1fr; gap: 22px; } .five-lines { display: none; } .five-card { min-height: 0; } }
.five-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.five-tiles div { padding: 20px; border-left: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.five-tiles div:first-child { border-left: 0; }
.five-tiles .num { font: 600 12px/1 var(--mono); color: var(--accent); }
.five-tiles b { font-size: 15px; font-weight: 650; }
@media (max-width: 760px) { .five-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } .five-tiles div:nth-child(3) { border-left: 0; } .five-tiles div:nth-child(n+3) { border-top: 1px solid var(--line); } }

/* The whole loop */
.loop { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; position: relative; }
.loop::before { content: ""; position: absolute; left: 28px; right: 8%; top: 27px; height: 2px; background: linear-gradient(90deg, var(--accent), var(--line)); }
.node { position: relative; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.node .badge { width: 56px; height: 56px; border-radius: 18px; background: var(--surface); border: 1.5px solid var(--accent); display: grid; place-items: center; color: var(--accent); position: relative; z-index: 1; }
.node .badge svg { width: 26px; height: 26px; }
.node.hl .badge { background: var(--accent); color: var(--on-accent); }
.node .num { font: 600 12px/1 var(--mono); color: var(--accent); letter-spacing: .1em; }
.node h3 { font-size: 19px; }
.node p { font-size: 15px; color: var(--muted); }
@media (max-width: 900px) {
  .loop { grid-template-columns: 1fr; gap: 24px; }
  .loop::before { left: 27px; right: auto; top: 12px; bottom: 12px; width: 2px; height: auto; background: linear-gradient(180deg, var(--accent), var(--line)); }
  .node { display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: 16px; row-gap: 4px; }
  .node .badge { grid-row: span 3; }
}

/* Specs */
.specs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 32px; border-top: 1px solid var(--line); padding-top: 30px; }
@media (max-width: 900px) { .specs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .specs { grid-template-columns: 1fr; } }
.spec { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.spec svg { width: 26px; height: 26px; color: var(--accent); }
.spec p { font-size: 16px; color: var(--muted); }

/* Who */
.who { background: var(--surface); border-radius: 28px; padding: clamp(20px, 4vw, 44px); display: flex; flex-direction: column; gap: 26px; }
.seg { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; background: var(--bg); border-radius: 14px; align-self: flex-start; max-width: 100%; }
.seg button { font: 600 14px/1 var(--font); color: var(--fg); background: transparent; border: 0; border-radius: 10px; padding: 10px 14px; cursor: pointer; }
.seg button[aria-selected="true"] { background: var(--surface); box-shadow: 0 1px 3px rgba(0,0,0,.12); color: var(--accent); }
.panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(20px, 4vw, 48px); align-items: start; }
@media (max-width: 820px) { .panel { grid-template-columns: 1fr; } }
.panel[hidden] { display: none; }
.panel h3 { font-size: clamp(24px, 3vw, 32px); letter-spacing: -0.025em; line-height: 1.12; }
.uses { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.uses li { padding: 14px 0; border-top: 1px solid var(--line); display: flex; gap: 14px; align-items: baseline; }
.uses li:first-child { border-top: 0; padding-top: 4px; }
.uses li::before { content: ""; width: 6px; height: 6px; flex: none; border-radius: 50%; background: var(--accent); transform: translateY(-2px); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }
.step { background: var(--surface); border-radius: 22px; padding: 26px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.step .n { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); font: 700 14px/1 var(--mono); }
.step p { font-size: 16px; color: var(--muted); }

/* Privacy + network */
.trust { background: radial-gradient(110% 120% at 0% 0%, var(--night-2), var(--night) 70%); color: var(--flood); border-radius: 32px; padding: clamp(28px, 6vw, 72px); display: flex; flex-direction: column; gap: 30px; }
.trust .eyebrow { color: var(--turf); }
.trust .sub { color: var(--flood-muted); }
.trust .sub b { color: var(--flood); }
.trust-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 860px) { .trust-grid { grid-template-columns: 1fr; } }
.trust-card { border: 1px solid rgba(245,245,247,.14); border-radius: 20px; padding: 22px; display: flex; flex-direction: column; gap: 8px; background: rgba(245,245,247,.03); }
.trust-card p { color: var(--flood-muted); font-size: 16px; }
.strike { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; border-top: 1px solid rgba(245,245,247,.14); padding-top: 26px; }
.strike b { font-size: clamp(22px, 2.8vw, 30px); letter-spacing: -0.025em; line-height: 1.15; }
.strike span { color: var(--flood-muted); font-size: 16px; max-width: 54ch; }

/* CTA */
.cta { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); align-items: start; }
@media (max-width: 860px) { .cta { grid-template-columns: 1fr; } }
.ask { background: var(--surface); border-radius: 26px; padding: clamp(22px, 4vw, 36px); display: flex; flex-direction: column; gap: 18px; }
.ask ol { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; counter-reset: ask; }
.ask li { display: flex; gap: 12px; align-items: baseline; counter-increment: ask; }
.ask li::before { content: counter(ask); font: 700 12px/1 var(--mono); color: var(--accent); background: var(--accent-soft); width: 22px; height: 22px; flex: none; border-radius: 50%; display: grid; place-items: center; transform: translateY(3px); }
.mail { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; background: var(--bg); border-radius: 14px; padding: 10px 10px 10px 16px; }
.mail .addr { font: 600 17px var(--font); user-select: all; margin-right: auto; overflow-wrap: anywhere; }

footer { max-width: 1120px; margin: clamp(88px, 12vw, 140px) auto 0; border-top: 1px solid var(--line); padding-top: 30px; display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 28px; font-size: 14px; }
@media (max-width: 760px) { footer { grid-template-columns: repeat(2, minmax(0, 1fr)); } footer .f-brand { grid-column: 1 / -1; } }
footer .col { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
footer .col b { font: 600 12px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
footer .col a { color: var(--fg); }
footer .f-brand p { color: var(--muted); max-width: 34ch; }
.legal { max-width: 1120px; margin: 26px auto 0; font-size: 13px; color: var(--muted); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }

/* ---------- multi-page additions ---------- */
.nav-links a[aria-current="page"] { opacity: 1; color: var(--accent); }
.more { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.more::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-top: 2px solid currentColor; transform: rotate(45deg); }

/* Setup film */
.film { border-radius: 30px; overflow: hidden; background: var(--night); color: var(--flood); }
.film-stage { position: relative; height: clamp(420px, 56vw, 660px); }
.film-stage canvas { display: block; width: 100%; height: 100%; }
.film-cap { position: absolute; left: clamp(18px, 4vw, 40px); bottom: clamp(18px, 3.5vw, 34px); max-width: 40ch; display: flex; flex-direction: column; gap: 6px; padding: 16px 18px; border-radius: 18px; background: rgba(6,17,10,.72); border: 1px solid rgba(245,245,247,.12); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.film-cap .num { font: 600 11px/1 var(--mono); letter-spacing: .14em; color: var(--turf); }
.film-cap h3 { font-size: clamp(20px, 2.4vw, 26px); letter-spacing: -0.02em; }
.film-cap p { font-size: 15px; color: var(--flood-muted); }
.film-phone { position: absolute; right: clamp(18px, 4vw, 40px); top: clamp(18px, 3vw, 30px); width: 232px; border-radius: 28px; background: #0b0c0e; border: 6px solid #2c2c2e; padding: 14px 12px; display: flex; flex-direction: column; gap: 8px; box-shadow: 0 24px 50px -20px rgba(0,0,0,.6); }
.film-phone .ph-top { display: flex; align-items: center; gap: 8px; font: 600 12px/1 var(--font); color: var(--flood); padding: 2px 4px 6px; }
.film-phone [data-row] { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 13px; background: rgba(245,245,247,.06); border-radius: 10px; padding: 8px 10px; color: var(--flood); }
.film-phone [data-row] span { color: var(--flood-muted); font-size: 12px; }
.film-phone em { font: 600 11px/1 var(--mono); font-style: normal; color: #ff9f0a; }
.film-phone .ok em { color: var(--turf); }
.film-rec { position: absolute; right: clamp(18px, 4vw, 40px); top: clamp(18px, 3vw, 30px); display: inline-flex; align-items: center; gap: 8px; font: 600 12px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--flood); background: rgba(6,17,10,.7); border: 1px solid rgba(16,185,129,.4); padding: 9px 13px; border-radius: 999px; }
.film-fade { position: absolute; inset: 0; background: var(--night); opacity: 0; pointer-events: none; }
.film-bar { display: flex; gap: 12px; align-items: stretch; padding: 14px; border-top: 1px solid rgba(245,245,247,.1); }
.film-play { flex: none; width: 46px; border-radius: 14px; border: 0; background: rgba(245,245,247,.08); color: var(--flood); cursor: pointer; display: grid; place-items: center; }
.film-play:hover { background: rgba(245,245,247,.14); }
.film-play .i-play { display: none; }
.film-play.paused .i-play { display: block; }
.film-play.paused .i-pause { display: none; }
.film-steps { flex: 1; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; min-width: 0; }
.film-step { text-align: left; border: 0; border-radius: 14px; background: rgba(245,245,247,.05); color: var(--flood-muted); padding: 10px 12px 12px; cursor: pointer; display: flex; flex-direction: column; gap: 6px; min-width: 0; font: inherit; }
.film-step:hover { background: rgba(245,245,247,.09); }
.film-step[aria-selected="true"] { background: rgba(16,185,129,.12); color: var(--flood); }
.fs-num { font: 600 11px/1 var(--mono); letter-spacing: .12em; color: var(--turf); }
.fs-title { font-size: 14px; font-weight: 600; line-height: 1.25; }
.fs-prog { display: block; height: 3px; border-radius: 2px; background: rgba(245,245,247,.12); overflow: hidden; margin-top: auto; }
.fs-prog b { display: block; height: 100%; background: var(--turf); transform-origin: left; transform: scaleX(0); }
.film .fallback { position: absolute; inset: 0; display: none; place-items: center; color: var(--flood-muted); padding: 24px; text-align: center; }
.film.nogl canvas, .film.nogl .film-cap, .film.nogl .film-phone, .film.nogl .film-rec { display: none; }
.film.nogl .fallback { display: grid; }
@media (max-width: 760px) {
  .film-steps { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; }
  .fs-title { display: none; }
  .film-step { padding: 10px 8px; align-items: center; }
  .film-phone { width: 190px; transform: scale(.9); transform-origin: top right; }
  .film-cap { right: 18px; max-width: none; padding: 12px 14px; }
  .film-cap p { font-size: 14px; }
}

/* Sub-page heads */
.page-head { display: flex; flex-direction: column; gap: 18px; padding-top: clamp(24px, 5vw, 56px); }
.page-head h1 { color: var(--fg); max-width: 16ch; font-size: clamp(42px, 6.6vw, 80px); }
.page-head .sub { max-width: 60ch; }

/* Order page */
.kit-stage-wrap .prod-stage { height: clamp(380px, 46vw, 560px); }
.inbox { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 900px) { .inbox { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .inbox { grid-template-columns: 1fr; } }
.inbox div { background: var(--surface); border-radius: 18px; padding: 18px 20px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.inbox b { font-size: 16px; }
.inbox span { font-size: 14px; color: var(--muted); }
.inbox .q { font: 600 12px/1 var(--mono); color: var(--accent); letter-spacing: .08em; }
.order-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 44px); align-items: start; }
@media (max-width: 900px) { .order-grid { grid-template-columns: 1fr; } }
.form { display: flex; flex-direction: column; gap: 28px; }
.fieldset { background: var(--surface); border-radius: 22px; padding: clamp(18px, 3vw, 28px); display: flex; flex-direction: column; gap: 16px; border: 0; margin: 0; min-width: 0; }
.fieldset legend { float: left; width: 100%; padding: 0; font-size: 21px; font-weight: 650; letter-spacing: -0.015em; }
.fieldset legend + * { clear: both; }
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 560px) { .cards { grid-template-columns: 1fr; } }
.card-opt { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 16px 16px 16px 46px; border-radius: 16px; border: 1.5px solid var(--line); cursor: pointer; min-width: 0; }
.card-opt input { position: absolute; left: 16px; top: 18px; width: 18px; height: 18px; accent-color: var(--accent); margin: 0; }
.card-opt b { font-size: 16px; }
.card-opt span { font-size: 14px; color: var(--muted); }
.card-opt:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 560px) { .row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label { font-size: 14px; font-weight: 600; }
.field label small { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { font: 16px/1.4 var(--font); color: var(--fg); background: var(--bg); border: 1.5px solid var(--line); border-radius: 12px; padding: 11px 13px; width: 100%; min-width: 0; }
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--link); box-shadow: 0 0 0 3px rgba(0,102,204,.18); }
.addon { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.addon:first-of-type { border-top: 0; }
.addon div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.addon b { font-size: 16px; }
.addon span { font-size: 14px; color: var(--muted); }
.stepper { display: inline-flex; align-items: center; gap: 4px; background: var(--bg); border-radius: 12px; padding: 4px; flex: none; }
.stepper button { width: 34px; height: 34px; border: 0; border-radius: 9px; background: var(--surface); color: var(--fg); font: 600 18px/1 var(--font); cursor: pointer; }
.stepper output { min-width: 22px; text-align: center; font-weight: 600; font-variant-numeric: tabular-nums; }
.switch { width: 22px; height: 22px; accent-color: var(--accent); flex: none; }
.summary { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 76px); background: var(--surface); border-radius: 22px; padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.summary ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.summary li { display: flex; justify-content: space-between; gap: 14px; padding: 12px 0; border-top: 1px solid var(--line); align-items: baseline; }
.summary li:first-child { border-top: 0; }
.summary li div { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.summary li b { font-size: 15px; font-weight: 600; }
.summary li span { font-size: 13px; color: var(--muted); }
.summary li em { font-style: normal; font-size: 14px; color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; border-top: 1px solid var(--fg); padding-top: 14px; }
.total b { font-size: 17px; }
.total output { font-size: 20px; font-weight: 700; letter-spacing: -0.02em; text-align: right; }
.err { color: #d70015; font-size: 14px; background: rgba(215,0,21,.08); border-radius: 12px; padding: 10px 12px; }
.done { background: var(--surface); border-radius: 24px; padding: clamp(24px, 4vw, 40px); display: flex; flex-direction: column; gap: 14px; border: 1.5px solid var(--accent); }
.done .id { font: 700 clamp(26px, 3.4vw, 36px)/1.1 var(--mono); color: var(--accent); }

/* Setup guide */
.need { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 28px; list-style: none; margin: 0; padding: 0; }
@media (max-width: 700px) { .need { grid-template-columns: 1fr; } }
.need li { display: flex; gap: 12px; align-items: baseline; padding: 12px 0; border-top: 1px solid var(--line); }
.need li::before { content: ""; width: 8px; height: 8px; flex: none; border-radius: 2px; background: var(--accent); transform: translateY(-1px); }
.guide { display: flex; flex-direction: column; gap: 16px; }
.gstep { background: var(--surface); border-radius: 24px; padding: clamp(20px, 3.5vw, 34px); display: grid; grid-template-columns: 60px minmax(0, 1fr); gap: 4px 20px; }
.gstep .n { grid-row: span 3; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); font: 700 16px/1 var(--mono); }
.gstep h3 { font-size: clamp(21px, 2.4vw, 26px); letter-spacing: -0.02em; }
.gstep p { color: var(--muted); }
.gstep ul { margin: 10px 0 0; padding-left: 18px; display: flex; flex-direction: column; gap: 6px; color: var(--fg); }
@media (max-width: 560px) { .gstep { grid-template-columns: 1fr; } .gstep .n { grid-row: auto; } }
.faq { display: flex; flex-direction: column; }
.faq details { border-top: 1px solid var(--line); padding: 18px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-size: 18px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-weight: 400; font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin-top: 10px; color: var(--muted); }
.band { background: var(--surface); border-radius: 28px; padding: clamp(24px, 5vw, 56px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.band h2 { max-width: 16ch; }
[hidden] { display: none !important; }
.btn-secondary { background: var(--surface); color: var(--fg); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-secondary:hover { box-shadow: inset 0 0 0 1.5px var(--fg); }
.ask h3 { font-size: 19px; }
.addon .stepper { flex-direction: row; gap: 4px; }

/* Live tag feed on the hero court */
.feed { position: absolute; left: clamp(16px, 3vw, 32px); top: 18px; width: min(310px, 42%); display: flex; flex-direction: column; gap: 8px; pointer-events: none; }
.feed-h { display: inline-flex; align-items: center; gap: 8px; font: 600 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--flood-muted); }
.feed ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.feed li { display: grid; grid-template-columns: auto 1fr auto; gap: 3px 10px; align-items: baseline; padding: 9px 12px; border-radius: 12px; background: rgba(4,14,10,.8); border: 1px solid rgba(245,245,247,.12); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); animation: tagIn .35s ease-out both; }
.feed time { font: 600 11px/1 var(--mono); color: var(--flood-muted); }
.feed b { font-size: 13px; color: var(--flood); }
.feed em { font: 600 10px/1 var(--mono); font-style: normal; letter-spacing: .08em; text-transform: uppercase; color: var(--turf); }
.feed span { grid-column: 1 / -1; font-size: 12px; color: var(--flood-muted); }
.feed li.goal { border-color: rgba(16,185,129,.65); background: rgba(5,46,34,.88); }
.feed li.goal b { color: var(--turf); }
@keyframes tagIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.goal-flash { position: absolute; left: 50%; top: 40%; transform: translate(-50%, -50%); text-align: center; pointer-events: none; display: flex; flex-direction: column; gap: 10px; align-items: center; }
.goal-flash b { font: 800 clamp(56px, 10vw, 128px)/0.9 var(--font); letter-spacing: -0.045em; color: var(--flood); text-shadow: 0 0 44px rgba(16,185,129,.85); }
.goal-flash span { font: 600 12px/1.3 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--turf); background: rgba(4,14,10,.82); border: 1px solid rgba(16,185,129,.45); padding: 8px 14px; border-radius: 999px; }
.goal-flash.on { animation: goalIn .5s cubic-bezier(.2,.8,.2,1.15) both; }
@keyframes goalIn { from { opacity: 0; transform: translate(-50%, -50%) scale(.82); } to { opacity: 1; transform: translate(-50%, -50%) scale(1); } }
.k-line { width: 18px; height: 3px; border-radius: 2px; background: var(--turf); }
.stage canvas { transition: none; }
@media (max-width: 760px) { .feed { width: auto; left: 16px; right: 16px; top: auto; bottom: 70px; } .feed ol li:not(:last-child) { display: none; } .feed-h { display: none; } }
@media (prefers-reduced-motion: reduce) { .feed li, .goal-flash.on { animation: none; } }
.done-text { margin: 0; padding: 16px; border-radius: 14px; background: var(--bg); font: 13px/1.55 var(--mono); white-space: pre-wrap; overflow-wrap: anywhere; user-select: all; max-height: 320px; overflow: auto; }

/* Language switch and Arabic (right-to-left) layout */
.nav .lang { font-size: 14px; color: var(--fg); opacity: .8; white-space: nowrap; }
.nav .lang:hover { opacity: 1; text-decoration: none; }
@media (max-width: 760px) { .nav .lang { margin-left: auto; } .nav .lang + .btn { margin-left: 0; } }
html[lang="ar"] { --font: "IBM Plex Sans Arabic", -apple-system, BlinkMacSystemFont, "SF Arabic", "Segoe UI", Tahoma, sans-serif; --mono: "IBM Plex Sans Arabic", ui-monospace, "SF Mono", Menlo, monospace; }
html[lang="ar"] * { letter-spacing: 0 !important; }
html[lang="ar"] h1 { line-height: 1.2; }
html[lang="ar"] h2, html[lang="ar"] .prod-head h3, html[lang="ar"] .panel h3 { line-height: 1.32; }
html[lang="ar"] .eyebrow, html[lang="ar"] .co .num, html[lang="ar"] .tag { font-size: 13px; }
[dir="rtl"] .nav-links { margin-left: 0; margin-right: auto; }
@media (max-width: 760px) { [dir="rtl"] .nav .lang { margin-left: 0; margin-right: auto; } }
[dir="rtl"] .more::after { transform: rotate(-135deg); }
[dir="rtl"] .five-lines svg { transform: scaleX(-1); }
[dir="rtl"] .loop::before { left: 8%; right: 28px; background: linear-gradient(270deg, var(--accent), var(--line)); }
@media (max-width: 900px) { [dir="rtl"] .loop::before { left: auto; right: 27px; background: linear-gradient(180deg, var(--accent), var(--line)); } }
[dir="rtl"] .mail .addr { margin-right: 0; margin-left: auto; }
[dir="rtl"] .verified, [dir="rtl"] .clip span { margin-left: 0; margin-right: auto; }
[dir="rtl"] .stat .fig small { margin-left: 0; margin-right: 4px; }
[dir="rtl"] .film-step { text-align: right; }
[dir="rtl"] .fs-prog b { transform-origin: right; }
[dir="rtl"] .co[style^="left"] { text-align: left; }
.brand { white-space: nowrap; }
@media (max-width: 420px) { .nav-in { gap: 14px; } .brand { font-size: 17px; } .nav .btn-sm { padding: 0 12px; } }
