/* AllNet site, light edition. Same brand as the app (src/theme/colors.ts): navy ink, orange accent, Rubik.
   Right to left: logical properties only. One accent (orange). No gradient text, no eyebrows. */
:root {
  --bg: #fcfcfa;
  --bg-alt: #f2f4f8;
  --card: #ffffff;
  --ink: #132b4d;
  --ink-2: #4a5a73;
  --navy-deep: #0b1b34;
  --navy-2: #1c3a66;
  --orange: #ff6a1a;
  --orange-hover: #ff7a2e;
  --orange-ink: #b8470b;
  --orange-tint: #fff0e6;
  --tint-navy: #eaf0f9;
  --tint-green: #e9f7ef;
  --tint-gold: #fff4d9;
  --tint-red: #fce7e5;
  --green: #2e9e5b;
  --green-dark: #1c6b3c;
  --wa: #1c7a43;
  --gold: #ffb627;
  --red: #e4483c;
  --live: #c8352a;
  --line: #e3e7ee;
  --mist: rgba(255, 255, 255, 0.78);
  --radius: 18px;
  --radius-lg: 28px;
  --max: 1180px;
  --shadow: 0 1px 2px rgba(19, 43, 77, 0.06), 0 14px 34px rgba(19, 43, 77, 0.1);
  --shadow-deep: 0 2px 6px rgba(11, 27, 52, 0.12), 0 30px 70px rgba(11, 27, 52, 0.22);
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --spring: cubic-bezier(0.34, 1.4, 0.64, 1);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-tap-highlight-color: transparent; -webkit-text-size-adjust: 100%; scrollbar-color: #c4ccd8 var(--bg); }
body { margin: 0; font-family: 'Rubik', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif; color: var(--ink); background: var(--bg); line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden; caret-color: var(--orange); }
::selection { background: var(--orange); color: var(--navy-deep); }
img, svg { max-width: 100%; }
a { color: inherit; text-underline-offset: 3px; }
h1, h2, h3, h4 { line-height: 1.12; margin: 0; letter-spacing: -0.01em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
small { font-size: 12.5px; }
button { font: inherit; color: inherit; }
button, a, [role="button"] { touch-action: manipulation; }
[dir="ltr"] { unicode-bidi: isolate; }
[hidden] { display: none !important; }

.i { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.i.fill { fill: currentColor; stroke: none; }
.wrap { width: min(100% - 40px, var(--max)); margin-inline: auto; }
.narrow { width: min(100% - 40px, 820px); margin-inline: auto; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 200; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* ---------- Reveal on scroll: only with JS and motion allowed; otherwise everything is simply visible ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out); }
  .js .reveal.in { opacity: 1; transform: none; }
}
.d1 { transition-delay: 60ms !important; }
.d2 { transition-delay: 120ms !important; }
.d3 { transition-delay: 180ms !important; }
.d4 { transition-delay: 240ms !important; }
@media print { .js .reveal { opacity: 1 !important; transform: none !important; } }

/* ---------- Buttons: orange with deep navy text (6:1) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 24px; border: 2px solid var(--orange); border-radius: 999px;
  background: var(--orange); color: var(--navy-deep); font: inherit; font-weight: 800; text-decoration: none; cursor: pointer; white-space: nowrap;
  box-shadow: 0 1px 2px rgba(11, 27, 52, 0.12);
  transition: transform 160ms var(--ease-out), background-color 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
  user-select: none; -webkit-user-select: none;
}
.btn:active { transform: scale(0.97); }
.btn-lg { min-height: 56px; padding: 0 30px; font-size: 17px; }
.btn-small { min-height: 42px; padding: 0 18px; box-shadow: none; }
.btn-line { background: transparent; color: var(--ink); border-color: var(--ink); box-shadow: none; }
.btn-line .i { width: 16px; height: 16px; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); box-shadow: none; }
.btn-whatsapp { background: var(--wa); border-color: var(--wa); color: #fff; }
.btn-mail { background: var(--navy-deep); border-color: var(--navy-deep); color: #fff; }
.btn-mail[hidden] { display: none; }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { background: var(--orange-hover); border-color: var(--orange-hover); }
  .btn-line:hover { background: var(--ink); color: #fff; border-color: var(--ink); box-shadow: none; }
  .btn-ghost:hover { border-color: var(--ink); background: transparent; box-shadow: none; }
  .btn-whatsapp:hover { background: var(--green-dark); border-color: var(--green-dark); }
  .btn-mail:hover { background: var(--navy-2); border-color: var(--navy-2); }
}
.text-link { color: var(--orange-ink); font-weight: 700; }

/* ---------- Header: solid, light ---------- */
.top { position: fixed; inset-inline: 0; top: 0; z-index: 100; background: rgba(252, 252, 250, 0.96); border-bottom: 1px solid transparent; transition: border-color 200ms ease, box-shadow 200ms ease; }
.top.scrolled { border-color: var(--line); box-shadow: 0 6px 24px rgba(19, 43, 77, 0.06); }
.top-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 900; font-size: 22px; text-decoration: none; color: var(--ink); }
.brand img { border-radius: 10px; }
.nav { display: flex; align-items: center; gap: 2px; }
.nav a { padding: 8px 12px; border-radius: 999px; text-decoration: none; font-weight: 500; font-size: 15px; color: var(--ink-2); transition: color 150ms ease, background-color 150ms ease; }
.nav a:not(.btn).active { color: var(--ink); background: var(--orange-tint); }
.nav a.nav-login { color: var(--ink-2); font-size: 14px; }
.nav a.nav-cta { color: var(--navy-deep); margin-inline-start: 8px; padding: 0 18px; }
@media (hover: hover) and (pointer: fine) { .nav a:not(.btn):hover { color: var(--ink); background: var(--bg-alt); } }
.menu { display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; border-radius: 10px; padding: 10px; }
.menu span { display: block; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: transform 200ms var(--ease-out), opacity 200ms ease; }
.menu[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Common sections ---------- */
.section { padding: 104px 0; position: relative; }
.section.alt { background: var(--bg-alt); }
.head { max-width: 760px; margin-inline: auto; text-align: center; margin-block-end: 52px; }
h2 { font-size: clamp(30px, 4.2vw, 50px); font-weight: 900; }
.sub { font-size: 18.5px; color: var(--ink-2); margin-block-start: 16px; }
.head .sub { margin-inline: auto; max-width: 64ch; }
.caption { text-align: center; color: var(--ink-2); font-size: 14px; margin-block-start: 18px; }
.ticks { display: grid; gap: 9px; }
.ticks li { position: relative; padding-inline-start: 30px; }
.ticks li::before { content: ''; position: absolute; inset-inline-start: 0; top: 0.3em; width: 20px; height: 20px; border-radius: 50%; background: var(--tint-green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231c6b3c' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E") center / 13px no-repeat; }
.chip { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--tint-navy); color: var(--ink); white-space: nowrap; }
.chip.g { background: var(--tint-green); color: var(--green-dark); }
.chip.o { background: var(--tint-orange, var(--orange-tint)); color: var(--orange-ink); }
.tag-live { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 800; color: #fff; background: var(--live); padding: 3px 9px; border-radius: 999px; }
.tag-live i { width: 7px; height: 7px; border-radius: 50%; background: #fff; }

/* ============================== HERO ============================== */
.hero { position: relative; overflow: hidden; padding: 84px 0 72px; background: var(--bg); }
.hero-court { position: absolute; inset-block: 40px 0; inset-inline-end: -6%; width: min(58%, 760px); pointer-events: none; }
.hero-court svg { width: 100%; height: 100%; }
.court-lines * { stroke: rgba(255, 106, 26, 0.32); stroke-width: 3; }
.play-line { stroke: var(--orange); stroke-width: 5; stroke-linecap: round; stroke-dasharray: 520; stroke-dashoffset: 520; }
.play-pass { stroke: var(--ink); stroke-width: 3; stroke-dasharray: 10 10; opacity: 0; }
.play-dot { fill: var(--orange); opacity: 0; transform-box: fill-box; transform-origin: center; }
.hero.run .play-line { stroke-dashoffset: 0; transition: stroke-dashoffset 1.1s var(--ease-in-out) 0.2s; }
.hero.run .play-pass { opacity: 0.55; transition: opacity 300ms ease 1.2s; }
.hero.run .play-dot { opacity: 1; transition: opacity 200ms ease 1.25s; }

.hero-grid { position: relative; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(42px, 4.9vw, 70px); font-weight: 900; line-height: 1.06; letter-spacing: -0.02em; }
.hero h1 > span { display: block; }
.mark { position: relative; z-index: 0; display: inline; }
.hero h1 .mark { display: inline-block; padding-block-end: 0.14em; }
.mark::after { content: ''; position: absolute; z-index: -1; inset-inline: -0.08em; bottom: 0; height: 0.2em; background: var(--orange); border-radius: 4px; transform-origin: right center; }
@media (prefers-reduced-motion: no-preference) {
  .js .hero .mark::after { transform: scaleX(0); transition: transform 700ms var(--ease-out) 350ms; }
  .js .hero h1.in .mark::after { transform: scaleX(1); }
}
.hero .lead { font-size: clamp(17.5px, 1.5vw, 20px); color: var(--ink-2); margin-block-start: 22px; max-width: 34ch; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-block-start: 30px; }

.hero-art { position: relative; margin: 0 0 96px; height: 600px; }
.device { position: relative; border-radius: 40px; padding: 9px; background: #0d1a30; box-shadow: var(--shadow-deep); overflow: hidden; }
.device img, .device video { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top center; border-radius: 32px; background: var(--bg); }
.hero-art .device { position: absolute; width: 268px; height: 560px; }
.device-front { inset-inline-start: 0; top: 30px; z-index: 2; transform: rotate(-2deg); }
.device-back { inset-inline-start: 220px; top: 0; z-index: 1; transform: rotate(4deg); }
.hero-cta { position: absolute; bottom: -84px; inset-inline: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.btn-soft { background: var(--orange-tint); color: var(--orange-ink); border-color: transparent; box-shadow: none; }
.btn-small.btn-ghost, .btn-small.btn-soft { min-height: 40px; font-size: 14.5px; font-weight: 700; }
.btn-small .i { width: 14px; height: 14px; }
.score-bug { position: absolute; z-index: 3; bottom: -30px; inset-inline: 0; margin-inline: auto; width: fit-content; display: flex; align-items: center; gap: 14px; padding: 10px 16px; border-radius: 14px; background: var(--navy-deep); color: #fff; box-shadow: var(--shadow-deep); font-size: 13px; font-weight: 700; white-space: nowrap; }
.sb-live { display: inline-flex; align-items: center; gap: 6px; background: var(--live); padding: 2px 9px; border-radius: 999px; font-size: 12px; }
.sb-live i { width: 7px; height: 7px; border-radius: 50%; background: #fff; }
.sb-clock { color: var(--mist); }
.sb-teams { display: inline-flex; align-items: center; gap: 6px; }
.sb-teams b { font-size: 22px; font-weight: 900; font-variant-numeric: tabular-nums; display: inline-block; }
.sb-sep { opacity: 0.5; }
.push { position: absolute; z-index: 3; top: 22px; inset-inline: 16px; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 16px; background: rgba(255, 255, 255, 0.97); color: var(--ink); box-shadow: 0 10px 30px rgba(11, 27, 52, 0.28); }
.device .push img { width: 28px; height: 28px; border-radius: 7px; flex: none; object-fit: contain; background: none; }
.push b { display: block; font-size: 14px; }
.push small { display: block; color: var(--ink-2); font-size: 11.5px; }
@media (prefers-reduced-motion: no-preference) {
  .js .push { opacity: 0; transform: translateY(-120%); transition: transform 420ms var(--ease-out), opacity 220ms ease; }
  .js .hero.run .push { opacity: 1; transform: none; transition-delay: 1.65s; }
}
.bump { animation: bump 520ms var(--spring); color: var(--gold) !important; }
@keyframes bump { 40% { transform: scale(1.3); } }

/* ============================== BAND: not another system ============================== */
.band { background: var(--orange); color: var(--navy-deep); padding: 56px 0; position: relative; overflow: hidden; }
.band::before { content: ''; position: absolute; inset-inline-start: -120px; top: -160px; width: 520px; height: 520px; border-radius: 50%; border: 3px solid rgba(11, 27, 52, 0.14); }
.band::after { content: ''; position: absolute; inset-inline-start: 40px; top: 0; bottom: 0; width: 3px; background: rgba(11, 27, 52, 0.12); }
.band-grid { position: relative; display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 48px; align-items: center; }
.band h2 { font-size: clamp(36px, 5.2vw, 66px); line-height: 1.02; letter-spacing: -0.02em; }
.band-copy p { font-size: 19px; margin-block-start: 18px; max-width: 46ch; font-weight: 500; }
.swap-out { display: grid; gap: 12px; justify-items: start; }
/* The tools we replace: a plain list without JS; with JS a basketball tactics board: the old way marked with an X and struck out, a play line to what AllNet does instead, and the play changes */
.old { display: grid; gap: 12px; list-style: none; padding: 0; margin: 0; }
.old li { display: grid; gap: 2px; }
.old s { font-weight: 800; text-decoration-thickness: 2px; }
.old span { font-weight: 500; }
.old.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.book { position: relative; width: 100%; max-width: 100%; }
.book-stage { position: relative; }
.book-spread { position: relative; display: grid; grid-template-columns: 1fr 1fr; min-height: 260px; border: 7px solid var(--navy-deep); border-radius: 18px; background: #fbf7ee; box-shadow: 0 22px 50px rgba(11, 27, 52, 0.35), inset 0 0 0 2px rgba(255, 255, 255, 0.7); color: var(--navy-deep); overflow: hidden; }
.book-court, .book-play { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.book-court .ln { fill: none; stroke: var(--navy-2); stroke-opacity: 0.2; stroke-width: 3; }
.book-court .paint { fill: var(--orange); fill-opacity: 0.09; stroke: var(--navy-2); stroke-opacity: 0.2; stroke-width: 3; }
.book-court .rim { fill: none; stroke: var(--orange); stroke-opacity: 0.7; stroke-width: 4; }
.book-play path { fill: none; stroke: var(--orange-ink); stroke-width: 3.5; stroke-linecap: round; stroke-dasharray: 3 11; vector-effect: non-scaling-stroke; opacity: 0; transition: opacity 300ms ease 900ms; }
.book-play .tip { stroke-dasharray: none; }
.book-spread.struck .book-play path { opacity: 0.85; }
.book-page { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: center; gap: 12px; padding: 26px 32px; }
.book-tag { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 800; letter-spacing: 0.02em; color: var(--ink-2); }
.book-tag::before { content: '\2715'; display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #d44338; color: #fff; font-size: 13px; font-weight: 900; line-height: 1; }
.book-page.new-way .book-tag { color: var(--orange-ink); }
.book-page.new-way .book-tag::before { content: ''; background: var(--orange) radial-gradient(circle at 50% 50%, transparent 0 7px, rgba(11, 27, 52, 0.55) 7px 8.5px, transparent 8.5px); }
.book-old { position: relative; display: inline-block; align-self: flex-start; font-family: 'Gveret Levin', 'Rubik', cursive; font-size: clamp(26px, 3vw, 34px); line-height: 1.25; color: #2a3f6a; }
.book-old::after { content: ''; position: absolute; inset-inline: -6px; top: 54%; height: 4px; border-radius: 4px; background: #d44338; transform: scaleX(0) rotate(-1.5deg); transform-origin: right center; transition: transform 420ms var(--ease-in-out) 500ms; }
.book-spread.struck .book-old::after { transform: scaleX(1) rotate(-1.5deg); }
.book-new { margin: 0; font-size: clamp(17px, 1.7vw, 20px); font-weight: 600; line-height: 1.5; }
.book-new::before { content: ''; display: inline-block; vertical-align: -3px; width: 20px; height: 20px; margin-inline-end: 8px; border-radius: 50%; background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b1b34' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E") center / 13px no-repeat; }
.book-bar { display: flex; align-items: center; gap: 10px; margin-block-start: 12px; color: var(--navy-deep); font-size: 14px; font-weight: 700; }
.book-count { font-variant-numeric: tabular-nums; min-width: 4.5em; }
.book-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 14px; border: 2px solid var(--navy-deep); border-radius: 999px; background: transparent; color: var(--navy-deep); font: inherit; font-weight: 800; cursor: pointer; }
.book-btn:active { transform: scale(0.97); }
.book-next { margin-inline-start: auto; background: var(--navy-deep); color: #fff; }
@media (hover: hover) and (pointer: fine) { .book-btn:hover { background: rgba(11, 27, 52, 0.1); } .book-next:hover { background: var(--navy-2); } }
@media (prefers-reduced-motion: no-preference) {
  .book-spread.turn-out { animation: pageOut 320ms var(--ease-in-out) both; }
  .book-spread.turn-in { animation: pageIn 420ms var(--ease-out) both; }
}
@keyframes pageOut { to { transform: translateX(-26px); opacity: 0; } }
@keyframes pageIn { from { transform: translateX(26px); opacity: 0; } to { transform: none; opacity: 1; } }
.new { position: relative; display: flex; align-items: center; gap: 12px; width: 100%; margin-block-start: 72px; padding: 12px 22px; border-radius: 18px; background: var(--navy-deep); color: #fff; font-size: 17px; box-shadow: 0 18px 40px rgba(11, 27, 52, 0.3); }
.new img { width: 34px; height: 34px; border-radius: 9px; flex: none; }
.new b { font-size: 20px; font-weight: 900; }

/* ============================== FILM ============================== */
.film { background: var(--bg-alt); padding: 64px 0; }
.stage .stage-title { text-align: center; font-size: clamp(20px, 2.2vw, 26px); font-weight: 800; color: #fff; padding: 22px 24px 0; margin: 0; position: relative; z-index: 3; }
.stage { position: relative; border-radius: 34px; background: var(--navy-deep); color: #fff; box-shadow: var(--shadow-deep); overflow: hidden; }
.stage::before { content: ''; position: absolute; inset: 0; background: radial-gradient(640px 420px at 25% 55%, rgba(255, 106, 26, 0.16), transparent 70%); pointer-events: none; }
.scenes { position: relative; }
.js .scenes { height: 660px; }
.scene { display: grid; grid-template-columns: 1fr 1.15fr; align-items: center; gap: 40px; padding: 40px 56px; }
.js .scene { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 0.5s var(--ease-out), visibility 0s linear 0.5s; }
.js .scene.active { opacity: 1; visibility: visible; transition: opacity 0.5s var(--ease-out), visibility 0s; }
.scene-art .device { width: 252px; height: 545px; flex: none; }
.scene-art .device-2 { margin-block-start: 36px; }
.scene-shots { flex-direction: column; gap: 16px; }
.shot-narrow { width: auto; height: 100%; max-height: 520px; }
.scene-land { gap: 12px; }
.land { position: relative; margin: 0; width: min(100%, 470px); border-radius: 14px; background: #0d1a30; padding: 6px; box-shadow: var(--shadow-deep); }
.land video { display: block; width: 100%; height: auto; border-radius: 9px; }
.land-tag { position: absolute; inset-block-start: -10px; inset-inline-end: 14px; z-index: 2; padding: 3px 12px; border-radius: 999px; background: var(--orange); color: var(--navy-deep); font-size: 12.5px; font-weight: 800; }
.shot { display: block; width: min(100%, 470px); height: auto; border-radius: 16px; box-shadow: var(--shadow-deep); background: var(--bg); }
.scene-copy { position: relative; z-index: 2; }
.scene-copy h3 { font-size: clamp(28px, 3.2vw, 42px); font-weight: 900; margin-block-end: 14px; }
.scene-copy p { font-size: 17.5px; color: var(--mist); max-width: 470px; }
.scene-copy .facts { display: flex; flex-wrap: wrap; gap: 8px; margin-block-start: 20px; }
.scene-copy .facts span { font-size: 13.5px; font-weight: 700; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.14); }
.scene-art { position: relative; display: flex; align-items: center; justify-content: center; gap: 18px; height: 100%; }
@media (prefers-reduced-motion: no-preference) {
  .scene.active .scene-copy > * { animation: rise 0.6s var(--ease-out) both; }
  .scene.active .scene-copy > *:nth-child(2) { animation-delay: 60ms; }
  .scene.active .scene-copy > *:nth-child(3) { animation-delay: 120ms; }
  .scene.active .scene-art .phone, .scene.active .scene-art .laptop { animation: rise 0.7s var(--ease-out) both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* drawn phones (film) */
.phone { position: relative; width: 290px; height: 600px; border-radius: 46px; padding: 12px; background: linear-gradient(160deg, #2a3a55, #0a1324 40%, #18263f); box-shadow: 0 30px 80px rgba(3, 10, 24, 0.55), inset 0 0 0 2px rgba(255, 255, 255, 0.08); z-index: 2; flex: none; }
.phone::before { content: ''; position: absolute; top: 20px; left: 50%; transform: translateX(-50%); width: 96px; height: 26px; background: #050a14; border-radius: 999px; z-index: 5; }
.ph { position: relative; width: 100%; height: 100%; border-radius: 35px; overflow: hidden; background: var(--bg); color: var(--ink); font-size: 12.5px; display: flex; flex-direction: column; }
.ph.dark { background: linear-gradient(180deg, #0f2140, #0a1730); color: #fff; }
.ph-status { display: flex; justify-content: space-between; align-items: center; padding: 16px 26px 6px; font-size: 11px; font-weight: 700; opacity: 0.9; }
.ph-body { flex: 1; padding: 22px 14px 14px; display: flex; flex-direction: column; gap: 10px; overflow: hidden; }
.ph-body > * { flex-shrink: 0; }
.ph-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.ph-head b { font-size: 15px; font-weight: 800; }
.sb { border-radius: 18px; padding: 12px 14px; background: linear-gradient(135deg, var(--ink), var(--navy-2)); color: #fff; }
.ph.dark .sb { background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.08); }
.sb-top { display: flex; align-items: center; justify-content: space-between; font-size: 11px; }
.sb-score { display: flex; align-items: center; justify-content: center; gap: 16px; margin-block: 6px 2px; }
.sb-score div { text-align: center; }
.sb-score small { display: block; font-size: 10.5px; opacity: 0.8; }
.sb-score b { font-size: 38px; font-weight: 900; line-height: 1; display: inline-block; font-variant-numeric: tabular-nums; }
.sb-score .colon { font-size: 26px; font-weight: 800; opacity: 0.5; }
.sb-meta { display: flex; justify-content: center; gap: 10px; font-size: 10.5px; opacity: 0.85; }
.row { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; background: #fff; box-shadow: 0 2px 8px rgba(19, 43, 77, 0.06); }
.row b { display: block; font-size: 12.5px; font-weight: 700; }
.row small { display: block; font-size: 10.5px; opacity: 0.75; }
.row .grow { flex: 1; min-width: 0; }
.stripe { width: 4px; align-self: stretch; border-radius: 4px; background: var(--ink); flex: none; }
.stripe.g { background: var(--green); } .stripe.o { background: var(--orange); }
.jersey { width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; font-weight: 900; font-size: 12px; background: rgba(255, 255, 255, 0.1); color: #fff; flex: none; }
.jersey.o { background: var(--orange); color: var(--navy-deep); }
.avatar { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; background: var(--orange-tint); color: var(--orange-ink); flex: none; }

/* timeline steps: hidden until the film reaches them (JS adds .on); without JS or with reduced motion all are shown */
.js .scene [data-at]:not([data-text]):not([data-tap]):not([data-count]):not(.keep) { opacity: 0; transform: translateY(10px) scale(0.98); transition: opacity 0.4s var(--ease-out), transform 0.45s var(--ease-out); }
.js .scene [data-at].on { opacity: 1 !important; transform: none !important; }

.film-bar { display: flex; align-items: center; gap: 14px; padding: 14px 22px; border-top: 1px solid rgba(255, 255, 255, 0.08); background: rgba(0, 0, 0, 0.2); position: relative; z-index: 3; }
.play { width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--orange); color: var(--navy-deep); display: grid; place-items: center; cursor: pointer; flex: none; transition: transform 160ms var(--ease-out); }
.play:active { transform: scale(0.94); }
.play .i { width: 18px; height: 18px; }
.play .ic-pause { display: none; }
.play[aria-pressed="true"] .ic-play { display: none; }
.play[aria-pressed="true"] .ic-pause { display: block; }
.chapters { flex: 1; display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.chapter { min-height: 44px; border: 0; background: none; cursor: pointer; text-align: start; padding: 6px 0 0; color: rgba(255, 255, 255, 0.62); font-size: 12.5px; font-weight: 700; transition: color 200ms ease; }
.chapter .track { display: block; height: 5px; border-radius: 5px; background: rgba(255, 255, 255, 0.16); overflow: hidden; margin-block-end: 7px; }
.chapter .track i { display: block; height: 100%; width: 0; background: var(--orange); border-radius: 5px; }
.chapter[aria-current="true"] { color: #fff; }
@media (hover: hover) and (pointer: fine) { .chapter:hover { color: #fff; } }
.film-note { text-align: center; color: var(--ink-2); font-size: 14px; margin-block-start: 18px; }

/* scene 1 */
.keys { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.key { position: relative; border-radius: 13px; padding: 12px 4px; text-align: center; font-weight: 800; font-size: 12.5px; color: #fff; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.key.make { background: rgba(46, 158, 91, 0.3); }
.key.three { background: rgba(255, 106, 26, 0.35); }
.key.foul { background: rgba(228, 72, 60, 0.28); }
.key.tap { animation: tap 0.6s var(--ease-out); }
@keyframes tap { 30% { transform: scale(0.92); box-shadow: 0 0 0 3px var(--gold); } }
.who-row { display: flex; gap: 6px; flex: none; }
.who-row span { flex: 1; text-align: center; padding: 7px 0; border-radius: 10px; background: rgba(255, 255, 255, 0.06); font-weight: 800; font-size: 12px; }
.who-row span.sel { background: #fff; color: var(--ink); }
.log { display: grid; gap: 6px; }
.log li { display: flex; justify-content: space-between; gap: 8px; font-size: 11.5px; padding: 8px 10px; border-radius: 10px; background: rgba(255, 255, 255, 0.05); }
.log li em { font-style: normal; opacity: 0.65; font-variant-numeric: tabular-nums; }
.log li b { color: var(--gold); }
.offline { display: flex; align-items: center; gap: 8px; font-size: 11px; padding: 8px 10px; border-radius: 10px; background: rgba(46, 158, 91, 0.18); color: #b6f0cc; }
.offline .i { width: 15px; height: 15px; }

/* scene 2 */
.meter { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 10.5px; padding: 8px 10px; border-radius: 12px; background: rgba(255, 255, 255, 0.06); }
.meter .dots { display: inline-flex; gap: 3px; }
.meter .dots i { width: 9px; height: 9px; border-radius: 3px; background: rgba(255, 255, 255, 0.18); }
.meter .dots i.f { background: var(--gold); }
.court-row { display: grid; grid-template-columns: 30px 1fr auto; align-items: center; gap: 8px; padding: 7px 9px; border-radius: 12px; background: rgba(255, 255, 255, 0.05); transition: background-color 0.5s ease, box-shadow 0.5s ease; }
.court-row b { font-size: 12px; display: block; }
.court-row .mins { font-size: 11px; font-weight: 700; opacity: 0.8; font-variant-numeric: tabular-nums; }
.stint { height: 5px; border-radius: 5px; background: rgba(255, 255, 255, 0.1); overflow: hidden; margin-block-start: 5px; }
.stint i { display: block; height: 100%; width: var(--w); background: var(--green); border-radius: 5px; transition: background-color 0.6s ease; }
.court-row.hot { background: rgba(228, 72, 60, 0.16); box-shadow: inset 0 0 0 1.5px rgba(228, 72, 60, 0.55); }
.court-row.hot .stint i { background: var(--red); }
.court-row.warm .stint i { background: var(--gold); }
.alert { display: flex; gap: 8px; align-items: center; font-size: 11px; padding: 9px 10px; border-radius: 12px; background: rgba(255, 182, 39, 0.16); color: #ffe2a6; border: 1px solid rgba(255, 182, 39, 0.35); }
.alert .i { width: 16px; height: 16px; }
.advice { border-radius: 16px; padding: 12px; background: #fff; color: var(--ink); box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35); }
.advice-head { display: flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 800; color: var(--orange-ink); }
.advice-head .i { width: 16px; height: 16px; }
.swap { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-block: 8px; }
.swap div { flex: 1; padding: 6px 8px; border-radius: 10px; font-size: 11.5px; font-weight: 800; }
.swap .out { background: var(--tint-red); color: #a5261c; }
.swap .in { background: var(--tint-green); color: var(--green-dark); }
.swap .arr { color: var(--ink-2); }
.swap .arr .i { width: 16px; height: 16px; }
.why { display: grid; gap: 4px; }
.why li { font-size: 10.5px; padding-inline-start: 14px; position: relative; color: var(--ink); }
.why li::before { content: ''; position: absolute; inset-inline-start: 2px; top: 0.55em; width: 5px; height: 5px; border-radius: 50%; background: var(--orange); }

/* scene 3 */
.toast { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; background: var(--ink); color: #fff; box-shadow: 0 12px 30px rgba(19, 43, 77, 0.3); }
.toast b { font-size: 12.5px; }
.toast small { opacity: 0.8; font-size: 10.5px; display: block; }
.toast .f-ico { width: 30px; height: 30px; border-radius: 10px; background: var(--orange); color: var(--navy-deep); display: grid; place-items: center; flex: none; }
.toast .f-ico .i { width: 16px; height: 16px; }
.kid { padding: 12px; border-radius: 16px; background: #fff; box-shadow: 0 2px 10px rgba(19, 43, 77, 0.07); }
.kid-top { display: flex; align-items: center; gap: 10px; }
.kid-top b { font-size: 13px; display: block; }
.kid-top small { font-size: 10.5px; color: var(--green-dark); font-weight: 700; }
.kid-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-block-start: 10px; }
.kid-stats div { text-align: center; background: var(--tint-navy); border-radius: 10px; padding: 6px 0; }
.kid-stats b { display: inline-block; font-size: 17px; font-weight: 900; font-variant-numeric: tabular-nums; }
.kid-stats small { display: block; font-size: 9.5px; opacity: 0.75; }
.periods { padding: 12px 12px 22px; border-radius: 16px; background: #fff; box-shadow: 0 2px 10px rgba(19, 43, 77, 0.07); }
.periods-head { display: flex; justify-content: space-between; font-size: 11px; font-weight: 700; margin-block-end: 8px; }
.legend { display: inline-flex; gap: 10px; font-weight: 500; }
.legend i { display: inline-block; width: 8px; height: 8px; border-radius: 2px; margin-inline-end: 4px; background: var(--orange); }
.legend i.n { background: var(--ink); }
.bars2 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; height: 64px; align-items: end; }
.bars2 > div { display: flex; gap: 3px; align-items: end; justify-content: center; height: 100%; position: relative; }
.bars2 i { width: 12px; border-radius: 4px 4px 0 0; background: var(--orange); height: var(--h); transform-origin: bottom; }
.bars2 i.n { background: var(--ink); }
.bars2 em { position: absolute; bottom: -16px; font-style: normal; font-size: 9.5px; opacity: 0.7; }
.js .scene .bars2 .grow i { transform: scaleY(0); transition: transform 0.8s var(--ease-out); }
.js .scene .bars2 .grow.on i { transform: scaleY(1); }
.positive { font-size: 10.5px; color: var(--ink-2); text-align: center; }

/* scene 4: the board is drawn left to right, so it keeps ltr coordinates */
.board { position: relative; direction: ltr; border-radius: 16px; overflow: hidden; background: linear-gradient(180deg, #ecd3ac, #e2c497); aspect-ratio: 1 / 1.02; }
.board svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.board .lines * { fill: none; stroke: rgba(120, 72, 22, 0.55); stroke-width: 1.4; }
.board svg.moves { z-index: 1; }
.pl { position: absolute; width: 26px; height: 26px; margin: -13px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 900; color: var(--navy-deep); background: var(--orange); box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3); left: var(--x); top: var(--y); transition: left 1.3s var(--ease-in-out), top 1.3s var(--ease-in-out); z-index: 2; }
.pl.on { left: var(--x2); top: var(--y2); }
.moves path { fill: none; stroke-width: 2.2; stroke-linecap: round; }
.moves .run { stroke: var(--ink); stroke-dasharray: 220; stroke-dashoffset: 220; transition: stroke-dashoffset 1.3s var(--ease-in-out); }
.moves .pass { stroke: var(--orange-ink); stroke-dasharray: 5 5; opacity: 0; transition: opacity 0.4s ease; }
.moves .screen { stroke: var(--green-dark); stroke-width: 3; stroke-dasharray: 60; stroke-dashoffset: 60; transition: stroke-dashoffset 0.8s var(--ease-out); }
.moves .on.run, .moves .on.screen { stroke-dashoffset: 0; }
.moves .on.pass { opacity: 1; }
.narr { display: flex; align-items: center; gap: 8px; padding: 9px 10px; border-radius: 14px; background: #fff; box-shadow: 0 2px 10px rgba(19, 43, 77, 0.07); }
.narr .pbtn { width: 28px; height: 28px; border-radius: 50%; background: var(--orange); color: var(--navy-deep); display: grid; place-items: center; flex: none; }
.narr .pbtn .i { width: 13px; height: 13px; }
.wave { flex: 1; display: flex; align-items: center; gap: 2px; height: 22px; }
.wave i { flex: 1; border-radius: 2px; background: rgba(19, 43, 77, 0.22); height: var(--h); }
@media (prefers-reduced-motion: no-preference) {
  .scene.active .wave i { animation: wave 1.1s ease-in-out 5; animation-delay: calc(var(--d) * -0.1s); }
}
@keyframes wave { 50% { transform: scaleY(0.4); background: var(--orange); } }
.subtitle { min-height: 34px; font-size: 11.5px; font-weight: 700; text-align: center; padding: 8px; border-radius: 10px; background: var(--ink); color: #fff; position: relative; }
.subtitle span { position: absolute; inset: 8px; }
.js .scene .subtitle span[data-at] { transform: none; }
.js .scene .subtitle span.gone { opacity: 0 !important; }
.viewers { display: flex; align-items: center; gap: 8px; font-size: 11px; }
.faces { display: inline-flex; }
.faces i { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--bg); margin-inline-start: -6px; background: var(--orange-tint); }
.faces i:nth-child(2) { background: var(--tint-navy); } .faces i:nth-child(3) { background: var(--tint-green); } .faces i:nth-child(4) { background: var(--tint-gold); }

/* scene 5: laptop */
.laptop { width: min(560px, 100%); flex: none; }
.lap-screen { border-radius: 18px 18px 0 0; padding: 10px; background: linear-gradient(160deg, #2a3a55, #0a1324); box-shadow: 0 30px 80px rgba(3, 10, 24, 0.55); }
.lap-ui { border-radius: 10px; overflow: hidden; background: var(--bg); color: var(--ink); display: grid; grid-template-columns: 120px 1fr; min-height: 360px; font-size: 11.5px; }
.lap-base { height: 16px; margin-inline: -24px; border-radius: 0 0 16px 16px; background: linear-gradient(180deg, #c7cfdc, #8e99ab); }
.lap-side { background: var(--ink); color: #fff; padding: 14px 10px; display: grid; gap: 4px; align-content: start; }
.lap-side span { padding: 6px 8px; border-radius: 8px; opacity: 0.75; font-weight: 600; }
.lap-side span.on { background: rgba(255, 255, 255, 0.14); opacity: 1; }
.lap-side .logo { font-weight: 900; opacity: 1; margin-block-end: 6px; }
.lap-main { padding: 14px; display: grid; gap: 10px; align-content: start; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.kpis div { background: #fff; border-radius: 12px; padding: 9px; box-shadow: 0 2px 8px rgba(19, 43, 77, 0.06); }
.kpis small { display: block; font-size: 9.5px; color: var(--ink-2); }
.kpis b { font-size: 16px; font-weight: 900; font-variant-numeric: tabular-nums; }
.kpis .pos b { color: var(--green-dark); }
.lap-cols { display: grid; grid-template-columns: 1.4fr 1fr; gap: 10px; }
.panel-card { background: #fff; border-radius: 12px; padding: 10px; box-shadow: 0 2px 8px rgba(19, 43, 77, 0.06); }
.panel-card h4 { font-size: 11px; font-weight: 800; margin-block-end: 8px; display: flex; justify-content: space-between; }
.months { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; height: 110px; align-items: end; padding-block-end: 14px; }
.months > div { display: flex; gap: 2px; align-items: end; justify-content: center; height: 100%; position: relative; }
.months i { width: 9px; border-radius: 3px 3px 0 0; height: var(--h); background: var(--green); transform-origin: bottom; }
.months i.x { background: var(--orange); }
.months em { position: absolute; bottom: -14px; font-style: normal; font-size: 9px; opacity: 0.7; }
.js .scene .months.grow i { transform: scaleY(0); transition: transform 0.9s var(--ease-out); }
.js .scene .months.grow.on i { transform: scaleY(1); }
.budget-line { margin-block-end: 8px; }
.budget-line .lbl { display: flex; justify-content: space-between; font-size: 10px; margin-block-end: 4px; }
.budget-line .bar { height: 7px; border-radius: 7px; background: var(--tint-navy); overflow: hidden; }
.budget-line .bar i { display: block; height: 100%; width: 0; border-radius: 7px; background: var(--green); transition: width 1.1s var(--ease-out); }
.budget-line .bar i.warn { background: var(--gold); }
.budget-line.on .bar i { width: var(--w); }
.js .scene .budget-line[data-at] { transform: none; }
.appr { display: flex; align-items: center; gap: 8px; padding: 7px 8px; border-radius: 10px; background: var(--tint-gold); font-size: 10.5px; font-weight: 700; color: #6a4500; margin-block-start: 6px; }
.appr .i { width: 14px; height: 14px; }

/* scene 6 */
.week { display: grid; grid-template-columns: repeat(5, 1fr); gap: 5px; }
.week > div { background: #fff; border-radius: 10px; padding: 6px 4px; min-height: 110px; display: flex; flex-direction: column; gap: 4px; box-shadow: 0 2px 8px rgba(19, 43, 77, 0.05); }
.week small { text-align: center; font-weight: 800; font-size: 10px; opacity: 0.75; }
.ev { font-size: 9.5px; font-weight: 700; padding: 5px; border-radius: 7px; background: var(--tint-green); color: var(--green-dark); line-height: 1.25; }
.ev.g { background: var(--orange-tint); color: var(--orange-ink); }
.ev.l { background: var(--tint-navy); color: var(--ink); }
.push-stack { display: grid; gap: 8px; }
.push-card { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 16px; background: rgba(255, 255, 255, 0.96); color: var(--ink); box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35); min-width: 250px; }
.push-card .app { width: 32px; height: 32px; border-radius: 9px; background: var(--ink); display: grid; place-items: center; flex: none; }
.push-card .app img { width: 22px; height: 22px; border-radius: 6px; }
.push-card b { display: block; font-size: 12.5px; }
.push-card small { display: block; font-size: 10.5px; color: var(--ink-2); }
.push-card .tag { display: inline-block; font-size: 9.5px; font-weight: 800; color: var(--orange-ink); background: var(--orange-tint); padding: 0 6px; border-radius: 6px; }

/* ============================== GAME: real screens flow ============================== */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; counter-reset: f; position: relative; }
.flow::before { content: ''; position: absolute; inset-inline: 10%; top: 250px; border-top: 3px dashed var(--orange); z-index: 0; }
.flow li { position: relative; z-index: 1; }
.flow .device { height: 470px; border-radius: 34px; padding: 8px; }
.flow .device img { border-radius: 27px; }
.flow h3 { font-size: 20px; font-weight: 800; margin-block: 20px 6px; }
.flow p { color: var(--ink-2); font-size: 15.5px; }
.also { margin-block-start: 56px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding-block-start: 32px; border-top: 1px solid var(--line); }
.also li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; color: var(--ink-2); }
.also b { color: var(--ink); }
.also .i { width: 26px; height: 26px; color: var(--orange-ink); margin-block-start: 1px; }

/* ============================== MONEY ============================== */
.money { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.money-copy .sub { max-width: none; }
.money-groups { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-block-start: 20px; }
.mg h3 { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 800; margin-block-end: 14px; }
.mg h3 .i { width: 26px; height: 26px; color: var(--orange-ink); }
.mg .ticks { font-size: 15px; }
.soon { display: inline-flex; margin-block-start: 16px; font-size: 13.5px; font-weight: 700; color: var(--ink); background: var(--tint-navy); padding: 6px 12px; border-radius: 999px; }
.money-art { position: relative; }
.win { margin: 0; border-radius: 16px; overflow: hidden; background: #fff; box-shadow: var(--shadow-deep); }
.win img { display: block; width: 100%; height: auto; }
.win-bar { display: flex; align-items: center; height: 36px; padding-inline: 16px; background: var(--ink); color: #fff; font-size: 13px; font-weight: 700; }
.win-2 { width: 82%; margin-block-start: -36px; margin-inline-start: auto; position: relative; transform: rotate(-1.5deg); }
.together { margin-block-start: 72px; display: grid; grid-template-columns: 0.7fr 2fr; gap: 30px; align-items: center; padding: 34px 38px; border-radius: var(--radius-lg); background: var(--navy-deep); color: #fff; }
.together h3 { font-size: 26px; font-weight: 900; }
.together dl { margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.together dl div { padding: 18px; border-radius: 18px; background: rgba(255, 255, 255, 0.07); }
.together dt { font-size: 18px; font-weight: 800; color: var(--orange); margin-block-end: 4px; }
.together dd { margin: 0; color: var(--mist); font-size: 14.5px; }
.rules { margin-block-start: 36px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.rules li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--ink-2); }
.rules b { color: var(--ink); }
.rules .i { width: 24px; height: 24px; color: var(--orange-ink); margin-block-start: 2px; }

/* ============================== CLUB ============================== */
.groups { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 56px; }
.grp { padding-block: 26px; border-top: 1px solid var(--line); }
.grp h3 { display: flex; align-items: center; gap: 10px; font-size: 21px; font-weight: 800; margin-block-end: 14px; }
.grp h3 .i { width: 26px; height: 26px; color: var(--orange-ink); }
.grp ul { display: flex; flex-wrap: wrap; gap: 8px; }
.grp li { padding: 7px 14px; border-radius: 999px; background: var(--bg-alt); font-size: 15px; font-weight: 500; }
.roles { margin-block-start: 76px; }
.roles-title { font-size: clamp(24px, 2.6vw, 32px); font-weight: 900; text-align: center; margin-block-end: 30px; }
.roles-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.role { padding: 26px 24px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.role::before { content: ''; display: block; width: 36px; height: 4px; border-radius: 4px; background: var(--orange); margin-block-end: 16px; }
.role b { display: block; font-size: 22px; font-weight: 900; margin-block-end: 8px; }
.role p { color: var(--ink-2); font-size: 15px; }
.role .text-link { display: inline-block; margin-block-start: 12px; }

/* ============================== SAFETY ============================== */
.safety { display: grid; grid-template-columns: 0.7fr 1.3fr; gap: 60px; align-items: center; }
.shield { width: min(260px, 70vw); aspect-ratio: 1; margin-inline: auto; display: grid; place-items: center; border-radius: 50%; background: var(--orange); color: var(--navy-deep); box-shadow: 0 24px 50px rgba(19, 43, 77, 0.18); }
.shield .i { width: 46%; height: 46%; stroke-width: 1.5; }
.checks { display: grid; gap: 12px; margin-block-start: 26px; }
.checks li { padding: 16px 20px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); color: var(--ink-2); }
.checks b { color: var(--ink); }

/* ============================== HOW ============================== */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; position: relative; }
.steps::before { content: ''; position: absolute; inset-inline: 22px; top: 22px; height: 3px; background: var(--line); }
.steps li { position: relative; }
.step-num { position: relative; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-weight: 900; font-size: 19px; background: var(--orange); color: var(--navy-deep); margin-block-end: 18px; box-shadow: 0 0 0 6px var(--bg); }
.steps h3 { font-size: 20px; font-weight: 800; margin-block-end: 8px; }
.steps p { color: var(--ink-2); font-size: 15.5px; }

/* ============================== FAQ ============================== */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 4px 22px; transition: box-shadow 200ms ease; }
.faq details[open] { box-shadow: var(--shadow); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 700; font-size: 17px; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 26px; font-weight: 400; color: var(--orange-ink); transition: transform 200ms var(--ease-out); flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-block-end: 20px; color: var(--ink-2); max-width: 70ch; }

/* ============================== CONTACT (the loud ending) ============================== */
.contact { background: var(--orange); color: var(--navy-deep); overflow: hidden; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.contact h2 { font-size: clamp(34px, 4.6vw, 56px); line-height: 1.04; }
.contact-copy p { font-size: 19px; margin-block-start: 18px; max-width: 44ch; font-weight: 500; }
.direct { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-block-start: 30px; }
.form { background: var(--card); color: var(--ink); border-radius: var(--radius-lg); padding: 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; box-shadow: var(--shadow-deep); }
.form-title { grid-column: 1 / -1; font-size: 20px; font-weight: 800; }
.form .wide { grid-column: 1 / -1; }
.field { display: grid; gap: 6px; align-content: start; }
.field .lbl { font-weight: 700; font-size: 14.5px; }
.field .lbl em { font-style: normal; font-weight: 600; font-size: 12px; color: var(--orange-ink); margin-inline-start: 6px; }
.form input, .form select, .form textarea { font: inherit; font-size: 16px; font-weight: 400; color: var(--ink); border: 1.5px solid #cfd6e1; border-radius: 12px; padding: 11px 14px; background: var(--bg); min-height: 48px; transition: border-color 150ms ease, box-shadow 150ms ease; }
.form ::placeholder { color: #66758b; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 4px rgba(255, 106, 26, 0.18); }
.form [aria-invalid="true"] { border-color: var(--red); background: #fff8f7; }
.err { display: none; font-size: 13.5px; font-weight: 600; color: #b3261e; }
.err.on { display: flex; align-items: center; gap: 6px; }
.err.on::before { content: '!'; display: grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; background: #b3261e; color: #fff; font-size: 11px; font-weight: 900; flex: none; }
.form-note { font-size: 14px; color: var(--ink-2); text-align: center; }
.form-note.ok { color: var(--green-dark); font-weight: 600; }
.form-note:empty { display: none; }

/* ============================== FOOTER ============================== */
.footer { background: var(--bg-alt); color: var(--ink-2); padding: 56px 0 28px; border-top: 1px solid var(--line); }
.foot-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; }
.foot-brand .brand { margin-block-end: 10px; }
.foot-brand p { max-width: 420px; font-size: 15px; }
.foot-links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px 24px; align-content: start; }
.foot-links a { text-decoration: none; font-size: 15px; min-height: 36px; display: inline-flex; align-items: center; }
@media (hover: hover) and (pointer: fine) { .foot-links a:hover { color: var(--ink); text-decoration: underline; } }
.foot-base { margin-block-start: 32px; padding-block-start: 20px; border-top: 1px solid var(--line); font-size: 13.5px; }

/* ============================== RESPONSIVE ============================== */
@media (max-width: 1080px) {
  .nav { position: fixed; inset: 68px 0 auto 0; flex-direction: column; align-items: stretch; gap: 2px; padding: 14px 20px 22px; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: 0 20px 40px rgba(19, 43, 77, 0.12); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: transform 220ms var(--ease-out), opacity 180ms ease, visibility 0s linear 220ms; max-height: calc(100dvh - 68px); overflow-y: auto; }
  .nav.open { transform: none; opacity: 1; visibility: visible; transition: transform 220ms var(--ease-out), opacity 180ms ease, visibility 0s; }
  .nav a { padding: 13px 14px; font-size: 16.5px; }
  .nav a.nav-cta { margin: 8px 0 0; justify-content: center; }
  .menu { display: block; }
  .top-row { flex-direction: row-reverse; }
  .top .brand, .brand-foot, .foot-brand .brand { flex-direction: row-reverse; }
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .hero-court { width: 100%; inset-inline-end: -30%; opacity: 0.7; }
  .hero-art { height: 560px; max-width: 520px; margin-inline: auto; width: 100%; }
  .scene { grid-template-columns: 1fr; padding: 28px 26px; gap: 18px; text-align: center; align-content: start; }
  .scene-copy p { margin-inline: auto; font-size: 16px; }
  .scene-copy .facts { justify-content: center; }
  .js .scenes { height: 1010px; }
  .band-grid, .money, .safety, .contact-grid { grid-template-columns: 1fr; }
  .flow { grid-template-columns: repeat(2, 1fr); }
  .flow::before { display: none; }
  .also, .rules, .roles-grid, .steps { grid-template-columns: 1fr 1fr; }
  .steps::before { display: none; }
  .together { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .section { padding: 76px 0; }
  .film { padding: 48px 0; }
  .stage .stage-title { padding-block-start: 18px; }
  .band { padding: 44px 0; }
  .new { font-size: 14px; padding: 12px 14px; gap: 10px; margin-block-start: 48px; }
  .new b { display: none; }
  .book-spread { grid-template-columns: 1fr; min-height: 0; border-width: 5px; border-radius: 14px; }
  .book-play { display: none; }
  .book-court { opacity: 0.8; }
  .book-page { padding: 16px 18px; gap: 8px; }
  .book-page.old-way { padding-block-end: 12px; }
  .book-page.new-way { padding-block-start: 10px; }
  .book-old { font-size: 26px; }
  .book-new { font-size: 16.5px; min-height: 3em; }
  .hero { padding: 84px 0 64px; }
  .hero h1 { font-size: clamp(38px, 11vw, 52px); }
  .hero .lead { font-size: 17px; }
  .cta .btn { flex: 1 1 auto; }
  .hero-art { height: 470px; }
  .hero-art .device { width: 210px; height: 440px; border-radius: 32px; padding: 7px; }
  .hero-art .device img { border-radius: 26px; }
  .device-front { inset-inline-start: 4%; top: 46px; }
  .device-back { inset-inline-start: auto; inset-inline-end: 2%; top: 16px; }
  /* the phones end at ~490px (top + height + the tilt); the bug sits on their lower edge and the caption starts below both, so nothing covers the text.
     The bug is anchored from the top: the figure's height changes with the caption, and a bottom anchor moved it onto the phones' cards. */
  .score-bug { inset-inline-end: 0; bottom: auto; top: 506px; inset-inline: 0; gap: 10px; padding: 8px 12px; font-size: 12px; }
  .sb-clock { display: none; }
  .hero-cta { position: static; margin-block-start: 570px; }
  .hero-art { height: auto; margin-block-end: 0; }
  .push { inset-inline: 10px; top: 14px; padding: 8px 10px; }
  .push b { font-size: 12.5px; }
  .js .scenes { height: 660px; }
  .scene { padding: 22px 14px; gap: 6px; }
  .scene-copy h3 { font-size: 24px; margin-block-end: 8px; }
  .scene-copy p { font-size: 14.5px; line-height: 1.55; }
  .scene-copy .facts { display: none; }
  .scene-art { height: auto; transform: scale(0.74); transform-origin: top center; margin-block-end: -160px; }
  .scene-art .laptop { width: 100%; }
  .scene-art .device-2 { display: none; }
  .scene-shots { gap: 10px; }
  .lap-ui { grid-template-columns: 1fr; }
  .lap-side { display: none; }
  .kpis { grid-template-columns: 1fr 1fr; }
  .lap-cols { grid-template-columns: 1fr; }
  .scene .push-stack { display: none; }
  .film-bar { flex-wrap: wrap; padding: 12px 14px; }
  .chapters { grid-template-columns: repeat(3, 1fr); row-gap: 4px; }
  .flow { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 18px; padding-block-end: 12px; margin-inline: -20px; padding-inline: 20px; }
  .flow li { flex: 0 0 76%; scroll-snap-align: center; }
  .flow .device { height: 430px; }
  .also, .rules, .roles-grid, .steps, .money-groups, .groups, .together dl { grid-template-columns: 1fr; }
  .together { padding: 26px 22px; }
  .form { grid-template-columns: 1fr; padding: 22px; }
  .foot-grid { grid-template-columns: 1fr; }
  .win-2 { width: 100%; margin-block-start: 14px; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; }
}

/* Data flow: the cockpit feeds AllNet, which updates the coach, parent and player screens */
.dataflow-art { max-width: 1000px; margin-inline: auto; color: var(--navy-deep); }
.df { display: block; width: 100%; height: auto; overflow: visible; color: var(--orange-ink); }
.df-tall { display: none; }
.df-line { fill: none; stroke: var(--orange-ink); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 7 9; color: var(--orange-ink); }
.df-box { stroke-width: 2.5; }
.df-navy { fill: var(--navy-deep); stroke: var(--navy-deep); }
.df-back { fill: var(--navy-2); opacity: 0.45; }
.df-orange { fill: var(--orange); stroke: var(--orange); }
.df-white { fill: #fff; stroke: var(--navy-deep); }
.df-h { fill: #fff; font: 800 24px 'Rubik', system-ui, sans-serif; }
.df-s { fill: #dfe7f5; font: 500 16px 'Rubik', system-ui, sans-serif; }
.df-dark { fill: var(--navy-deep); }
.df-h2 { fill: var(--navy-deep); font: 800 21px 'Rubik', system-ui, sans-serif; }
.df-s2 { fill: var(--ink-2); font: 500 15.5px 'Rubik', system-ui, sans-serif; }
.df-pill { fill: var(--orange); }
.df-p { fill: var(--navy-deep); font: 800 13.5px 'Rubik', system-ui, sans-serif; }
.df-note { fill: var(--ink-2); font: 500 14px 'Rubik', system-ui, sans-serif; }
.df-lab text { fill: var(--orange-ink); font: 700 14px 'Rubik', system-ui, sans-serif; }
@media (prefers-reduced-motion: no-preference) {
  .df-line { animation: dfFlow 1.1s linear infinite; }
}
@keyframes dfFlow { to { stroke-dashoffset: -32; } }
@media (max-width: 720px) {
  .df-wide { display: none; }
  .df-tall { display: block; max-width: 420px; margin-inline: auto; }
  .df-h { font-size: 22px; }
  .df-s { font-size: 15px; }
  .df-h2 { font-size: 19px; }
  .df-s2 { font-size: 14.5px; }
}

/* Data flow, live: the cockpit feeds AllNet, which feeds the coach, parent and player screens (recordings of the real app, playing together) */
.dataflow-art { max-width: 1100px; }
.flow-live { position: relative; width: 100%; aspect-ratio: 1100 / 470; container-type: inline-size; }
.fl-lines { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--orange-ink); overflow: visible; }
.fl-line { fill: none; stroke: var(--orange-ink); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 7 9; vector-effect: non-scaling-stroke; }
.fl-dot { fill: var(--orange); stroke: #fff; stroke-width: 2; }
.fl-cockpit { position: absolute; left: 72.7%; width: 26.4%; top: 27%; display: flex; flex-direction: column; gap: 1.2cqw; align-items: stretch; }
.fl-title { align-self: center; font-weight: 800; font-size: clamp(14px, 1.8cqw, 20px); color: var(--navy-deep); }
.fl-note { text-align: center; font-size: clamp(11px, 1.25cqw, 14px); color: var(--ink-2); line-height: 1.35; }
.fl-land { border-radius: 1.4cqw; padding: 0.55cqw; background: #0d1a30; box-shadow: var(--shadow-deep); }
.fl-land video { display: block; width: 100%; height: auto; border-radius: 1cqw; }
.fl-hub { position: absolute; left: 58.6%; width: 11.8%; top: 40%; height: 19%; display: grid; place-content: center; text-align: center; border-radius: 1.6cqw; background: var(--orange); color: var(--navy-deep); box-shadow: 0 0 0 0 rgba(255, 106, 26, 0.5); }
.fl-hub b { font-size: clamp(15px, 2cqw, 22px); font-weight: 900; line-height: 1.1; }
.fl-hub span { font-size: clamp(11px, 1.2cqw, 13px); font-weight: 700; }
.fl-phone { position: absolute; top: 10.6%; width: 15.3%; margin: 0; display: flex; flex-direction: column; align-items: center; gap: 0.8cqw; }
.fl-phone .device { width: 100%; border-radius: 3cqw; padding: 0.7cqw; }
.fl-phone .device video { display: block; width: 100%; height: auto; border-radius: 2.4cqw; background: var(--bg); }
.fl-phone figcaption { font-weight: 800; font-size: clamp(12px, 1.5cqw, 17px); color: var(--navy-deep); }
.fl-coach { left: 36.4%; }
.fl-parent { left: 19.1%; }
.fl-player { left: 1.8%; }
@media (prefers-reduced-motion: no-preference) {
  .fl-line { animation: dfFlow 1.1s linear infinite; }
  .fl-hub { animation: flPulse 2.4s ease-out infinite; }
}
@keyframes flPulse { 0% { box-shadow: 0 0 0 0 rgba(255, 106, 26, 0.5); } 70%, 100% { box-shadow: 0 0 0 2.2cqw rgba(255, 106, 26, 0); } }
@media (max-width: 720px) { .flow-live { display: none; } }
@media (min-width: 721px) { .df-tall { display: none; } }
#dataflow, #game { padding-block: 40px; }
#dataflow .head, #game .head { margin-block-end: 18px; max-width: 900px; }
#dataflow .head h2, #game .head h2 { font-size: clamp(26px, 3.6vw, 42px); }
#dataflow .head .sub, #game .head .sub { margin-block-start: 6px; }
.film { padding-block: 44px; }
@media (max-width: 640px) { #dataflow, #game { padding-block: 32px; } .film { padding-block: 36px; } }
#money { padding-block: 44px; }
@media (max-width: 640px) { #money { padding-block: 36px; } }
/* tighter rhythm across the page */
.section { padding-block: 56px; }
.head { margin-block-end: 28px; }
@media (max-width: 640px) { .section { padding-block: 40px; } }

/* Roles: AllNet in the middle, the four roles around it, with arrows between neighbours */
.roles-grid { grid-template-columns: 1fr 52px 0.78fr 52px 1fr; grid-template-rows: auto 32px auto; gap: 0; align-items: stretch; }
.fa-defs { position: absolute; }
.fa { display: grid; place-items: center; color: var(--orange-ink); }
.fa svg { width: 100%; height: 100%; max-width: 52px; max-height: 32px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.fa-h svg, .fa:is(.fa-h1, .fa-h2, .fa-h3, .fa-h4) svg { height: 20px; }
.fa:is(.fa-v1, .fa-v2) svg { width: 20px; }
.r-manage { grid-column: 1; grid-row: 1; }
.fa-h1 { grid-column: 2; grid-row: 1; }
.role-hub { grid-column: 3; grid-row: 1 / 4; }
.fa-h2 { grid-column: 4; grid-row: 1; }
.r-coach { grid-column: 5; grid-row: 1; }
.fa-v1 { grid-column: 1; grid-row: 2; }
.fa-v2 { grid-column: 5; grid-row: 2; }
.r-parent { grid-column: 1; grid-row: 3; }
.fa-h3 { grid-column: 2; grid-row: 3; }
.fa-h4 { grid-column: 4; grid-row: 3; }
.r-player { grid-column: 5; grid-row: 3; }
.role-hub { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center; padding: 16px 12px; border-radius: var(--radius); background: var(--orange); color: var(--navy-deep); box-shadow: 0 14px 34px rgba(255, 106, 26, 0.28); }
.role-hub img { width: 32px; height: 32px; filter: brightness(0.12); }
.role-hub b { font-size: 22px; font-weight: 900; line-height: 1.1; }
.role-hub span { font-size: 14px; font-weight: 700; }
.role { padding: 14px 18px; }
.role::before { width: 28px; height: 3px; margin-block-end: 10px; }
.role b { font-size: 18px; margin-block-end: 4px; }
.role p { font-size: 14px; line-height: 1.45; }
@media (prefers-reduced-motion: no-preference) {
  .fa svg path { stroke-dasharray: 5 6; animation: dfFlow 1.1s linear infinite; }
}
@media (max-width: 860px) {
  .roles-grid { grid-template-columns: 1fr 1fr; grid-template-rows: none; gap: 14px; }
  .fa { display: none; }
  .role-hub { grid-column: 1 / -1; grid-row: 1; flex-direction: row; gap: 12px; padding: 16px; }
  .r-manage, .r-coach, .r-parent, .r-player { grid-row: auto; grid-column: auto; }
}
@media (max-width: 520px) { .roles-grid { grid-template-columns: 1fr; } }
/* Safety: a small shield beside the text, at every width */
.safety { grid-template-columns: 1fr auto; gap: 28px; align-items: start; }
.safety .shield { order: 2; align-self: start; margin-block-start: 4px; }
.shield { width: 104px; margin-inline: 0; box-shadow: 0 10px 24px rgba(19, 43, 77, 0.16); }
@media (max-width: 520px) { .safety { gap: 16px; } .shield { width: 64px; } }
/* Safety points: a compact grid instead of a long stack, so more can be added */
.checks { grid-template-columns: repeat(2, 1fr); gap: 12px; margin-block-start: 18px; }
.checks li { position: relative; padding: 14px 18px; font-size: 15px; line-height: 1.5; }
.checks li::before { content: ''; display: block; width: 26px; height: 3px; border-radius: 3px; background: var(--orange); margin-block-end: 8px; }
.checks b { display: block; font-size: 16px; margin-block-end: 2px; }
@media (max-width: 640px) { .checks { grid-template-columns: 1fr; } }
/* Safety board: one point per page */
.checks.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.book-safe { margin-block-start: 18px; }
.book-spread.single { grid-template-columns: 1fr; min-height: 170px; }
.book-spread.single .book-page { padding: 24px 34px; }
.safe-t { display: block; font-size: clamp(22px, 2.6vw, 30px); font-weight: 900; line-height: 1.2; color: var(--navy-deep); }
.safe-d { margin: 0; font-size: clamp(16px, 1.6vw, 19px); font-weight: 500; line-height: 1.5; color: var(--ink-2); max-width: 46ch; }
@media (max-width: 640px) { .book-spread.single .book-page { padding: 16px 18px; } .book-spread.single { min-height: 0; } }
/* Steps: four dots, one lit at a time, one line of text under them */
.steps.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.stepper { max-width: 880px; margin-inline: auto; }
.stepper-track { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); }
.stepper-track::before { content: ''; position: absolute; inset-inline: 12.5%; top: 21px; height: 3px; background: var(--line); }
.st-btn { position: relative; display: grid; justify-items: center; gap: 8px; padding: 0 4px; border: 0; background: none; font: inherit; color: var(--ink-2); cursor: pointer; }
.st-btn .n { position: relative; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 900; font-size: 18px; background: var(--bg); border: 3px solid var(--line); color: var(--ink-2); transition: background 0.25s, border-color 0.25s, transform 0.25s, box-shadow 0.25s; }
.st-btn .t { font-weight: 800; font-size: 15px; line-height: 1.25; transition: color 0.25s; }
.st-btn.done .n { border-color: var(--orange); color: var(--orange-ink); }
.st-btn.on .n { background: var(--orange); border-color: var(--orange); color: var(--navy-deep); transform: scale(1.12); box-shadow: 0 0 0 6px rgba(255, 106, 26, 0.18); }
.st-btn.on .t { color: var(--ink); }
.stepper-panel { margin: 14px 0 0; min-height: 3em; text-align: center; font-size: 17px; color: var(--ink-2); }
.stepper-panel.swap { animation: stIn 0.35s var(--ease-out) both; }
@keyframes stIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (max-width: 520px) { .st-btn .t { font-size: 13px; } .st-btn .n { width: 38px; height: 38px; } .stepper-track::before { top: 18px; } .stepper-panel { font-size: 15.5px; } }
/* the next step blinks, so people know to press it */
.st-btn.next .n { border-color: var(--orange); color: var(--orange-ink); box-shadow: 0 0 0 4px rgba(255, 106, 26, 0.16); }
@media (prefers-reduced-motion: no-preference) {
  .st-btn.next .n { animation: stNext 1.3s ease-in-out infinite; }
}
@keyframes stNext {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 106, 26, 0.5); background: var(--bg); }
  50% { transform: scale(1.14); box-shadow: 0 0 0 9px rgba(255, 106, 26, 0); background: var(--orange-tint); }
}
.faq { gap: 10px; }
.faq details { padding: 2px 20px; }
.faq summary { padding: 13px 0; min-height: 40px; }
.faq details p { padding-block-end: 14px; }
/* Feature groups: four tabs, one tidy list at a time */
.groups.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.gtabs { max-width: 940px; margin-inline: auto; }
.gtabs-bar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.gt { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 12px 10px; border: 2px solid var(--line); border-radius: 16px; background: var(--card); color: var(--ink-2); font: inherit; font-weight: 800; font-size: 15px; cursor: pointer; transition: border-color 0.2s, background 0.2s, color 0.2s, transform 0.2s; }
.gt-i { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--orange-tint); color: var(--orange-ink); transition: background 0.2s, color 0.2s; }
.gt-i .i { width: 20px; height: 20px; }
.gt.on { border-color: var(--orange); background: #fff; color: var(--ink); box-shadow: var(--shadow); }
.gt.on .gt-i { background: var(--orange); color: var(--navy-deep); }
@media (hover: hover) and (pointer: fine) { .gt:not(.on):hover { border-color: var(--orange); color: var(--ink); } }
.gtabs-panel { list-style: none; margin: 14px 0 0; padding: 18px 22px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 28px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); min-height: 8.5em; align-content: start; }
.gtabs-panel li { display: flex; align-items: flex-start; gap: 10px; font-size: 16px; line-height: 1.45; color: var(--ink); font-weight: 600; }
.gtabs-panel li::before { content: ''; flex: none; width: 20px; height: 20px; margin-block-start: 1px; border-radius: 50%; background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b1b34' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E") center / 13px no-repeat; }
.gtabs-panel.swap { animation: stIn 0.35s var(--ease-out) both; }
@media (max-width: 720px) {
  .gtabs-bar { grid-template-columns: 1fr 1fr; }
  .gtabs-panel { grid-template-columns: 1fr; padding: 14px 16px; min-height: 0; }
}
