/* PadelMetria — the site's design system. Colours, faces and motion are the app's (ios/Shared/Design/Tokens.swift):
   forest for actions, lime for the ball and the one thing to look at (a fill on light surfaces, never text there),
   sage greys, turf blue for courts. Display faces are the app's Sofia Sans cuts (SIL OFL, assets/fonts/OFL.txt). */

@font-face { font-family: "PM Display"; src: url("/assets/fonts/sofia-xcond-800.ttf") format("truetype"); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: "PM Title"; src: url("/assets/fonts/sofia-scond-800.ttf") format("truetype"); font-weight: 800; font-style: normal; font-display: swap; }

:root {
  --forest-950: #16241c; --forest-900: #1b2d22; --forest-800: #233a2c; --forest-700: #29432f; --forest-600: #33513d;
  --forest-500: #46694f; --forest-400: #6a8c70; --forest-300: #96b297; --forest-200: #c0d3be; --forest-100: #dfe9dc; --forest-50: #f0f5ee;
  --lime-100: #f7fde0; --lime-200: #effbbf; --lime-300: #e7f89e; --lime: #dff67e; --lime-500: #cce85a; --lime-800: #56631b;
  --night: #0b130f; --night-2: #111b16; --night-raised: #1c2621; --turf: #4067b2; --turf-deep: #365c9f; --turf-light: #4a72c0;

  /* light sections; dark mode redefines these below */
  --bg: #f2f4ef; --bg-2: #e8ebe5; --card: #ffffff; --fg: #1a2f26; --fg-2: #354439; --fg-3: #59695f; --hair: #dce1d9;
  --accent: #33513d; --link: #29432f; --tint: #dfe9dc; --num: #6a8c70; --shadow: 0 1px 2px rgba(22, 36, 28, .06), 0 12px 32px -12px rgba(22, 36, 28, .16);

  /* the match page (m.html) still speaks the first site's names */
  --ink: var(--fg); --muted: var(--fg-3); --paper: var(--bg); --forest: var(--forest-600); --rule: var(--hair);

  --display: "PM Display", "Arial Narrow", "Roboto Condensed", sans-serif;
  --title: "PM Title", "Arial Narrow", "Roboto Condensed", sans-serif;
  --text: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --nav-h: 68px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1813; --bg-2: #142019; --card: #17231c; --fg: #eef2eb; --fg-2: #c3cbc1; --fg-3: #93a096; --hair: rgba(255, 255, 255, .1);
    --accent: #dff67e; --link: #dff67e; --tint: #1e2c24; --num: #96b297; --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 18px 40px -18px rgba(0, 0, 0, .6);
    color-scheme: dark;
  }
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }
body { margin: 0; background: var(--bg); color: var(--fg); font: 400 1.0625rem/1.6 var(--text); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
img, video, canvas, svg { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .22em; text-decoration-thickness: 1px; }
h1, h2, h3, h4 { margin: 0; font-weight: 800; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
::selection { background: var(--lime); color: var(--night); }
:focus-visible { outline: 2.5px solid var(--lime); outline-offset: 3px; border-radius: 6px; }
.wrap { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; top: -100px; left: 16px; z-index: 100; background: var(--lime); color: var(--night); padding: .7rem 1.1rem; border-radius: 999px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }
.center { text-align: center; }
.ico { width: 1.25em; height: 1.25em; flex: none; }
.dark { background: var(--night); color: #f2f4ef; color-scheme: dark; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6em; min-height: 48px; padding: 0 1.35em; border-radius: 999px; border: 1px solid transparent;
  font: 650 1rem/1 var(--text); letter-spacing: -.005em; text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform .35s var(--spring), background-color .2s, border-color .2s, box-shadow .35s var(--ease), color .2s; }
.btn .ico { width: 1.15em; height: 1.15em; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-sm { min-height: 38px; padding: 0 1.05em; font-size: .9rem; }
.btn-lg { min-height: 60px; padding: 0 1.6em; font-size: 1.05rem; }
.btn-lime { background: var(--lime); color: var(--night); }
.btn-lime:hover { background: var(--lime-300); box-shadow: 0 14px 34px -12px rgba(223, 246, 126, .55); }
.btn-dark { background: var(--fg); color: var(--bg); }
.btn-dark:hover { box-shadow: 0 14px 30px -14px rgba(11, 19, 15, .5); }
.btn-glass { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .18); color: #fff; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.btn-glass:hover { background: rgba(255, 255, 255, .13); border-color: rgba(255, 255, 255, .3); }
.btn-store { gap: .7em; text-align: left; }
.btn-store .ico { width: 1.45em; height: 1.45em; }
.store-txt { display: grid; gap: .18em; line-height: 1; }
.store-txt small { font-size: .7em; font-weight: 600; opacity: .72; letter-spacing: .01em; }
.store-txt b { font-size: 1.12em; font-weight: 750; letter-spacing: -.01em; }
.btn-store.is-soon { cursor: default; }
.btn-store.is-soon:hover { transform: none; box-shadow: none; }
.btn-lime.is-soon { background: linear-gradient(var(--lime), var(--lime)) padding-box, repeating-linear-gradient(-45deg, rgba(11, 19, 15, .35) 0 6px, transparent 6px 12px) border-box; border: 1.5px dashed rgba(11, 19, 15, .35); }
.btn-dark.is-soon { border: 1.5px dashed rgba(255, 255, 255, .28); }
.link-arrow { display: inline-flex; align-items: center; gap: .5em; font-weight: 650; text-decoration: none; color: var(--lime); }
.link-arrow .ico { transition: transform .3s var(--spring); }
.link-arrow:hover .ico { transform: translateX(4px); }

/* ---------- header ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; color: #f2f4ef; transition: background-color .35s var(--ease), box-shadow .35s var(--ease), transform .45s var(--ease); }
.nav.is-scrolled, .nav.is-open { background: rgba(11, 19, 15, .74); -webkit-backdrop-filter: saturate(1.4) blur(18px); backdrop-filter: saturate(1.4) blur(18px); box-shadow: 0 1px 0 rgba(255, 255, 255, .07); }
.nav.is-hidden:not(.is-open) { transform: translateY(-100%); }
.nav-bar { display: flex; align-items: center; gap: 1.5rem; height: var(--nav-h); }
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; font: 800 1.42rem/1 var(--title); letter-spacing: -.02em; }
.brand .mark { width: 34px; height: 34px; border-radius: 9px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .12); }
.brand-lg { font-size: 1.8rem; }
.brand-lg .mark { width: 46px; height: 46px; border-radius: 12px; }
.nav-links { display: flex; gap: .25rem; margin-inline: auto; }
.nav-links a { position: relative; padding: .55rem .8rem; border-radius: 999px; font-size: .95rem; font-weight: 550; color: rgba(242, 244, 239, .76); text-decoration: none; transition: color .2s, background-color .2s; }
.nav-links a:hover { color: #fff; background: rgba(255, 255, 255, .07); }
.nav-links a[aria-current] { color: #fff; }
.nav-links a[aria-current]::after { content: ""; position: absolute; left: 50%; bottom: .2rem; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--lime); }
.nav-end { display: flex; align-items: center; gap: .75rem; }
.langs { display: flex; gap: 2px; padding: 3px; border-radius: 999px; background: rgba(255, 255, 255, .06); }
.langs a { display: grid; place-items: center; min-width: 2.5rem; height: 30px; padding: 0 .55rem; border-radius: 999px; font-size: .75rem; font-weight: 700; letter-spacing: .04em; text-decoration: none; color: rgba(242, 244, 239, .7); transition: background-color .2s, color .2s; }
.langs a:hover { color: #fff; }
.langs a[aria-current] { background: #f2f4ef; color: var(--night); }
.nav-toggle { display: none; position: relative; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .08); cursor: pointer; }
.nav-toggle i { position: absolute; left: 13px; right: 13px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .35s var(--ease), top .35s var(--ease); }
.nav-toggle i:first-of-type { top: 17px; }
.nav-toggle i:last-of-type { top: 25px; }
.nav.is-open .nav-toggle i:first-of-type { top: 21px; transform: rotate(45deg); }
.nav.is-open .nav-toggle i:last-of-type { top: 21px; transform: rotate(-45deg); }
.menu { position: fixed; inset: var(--nav-h) 0 0; padding: 1.5rem var(--gutter) max(2rem, env(safe-area-inset-bottom)); background: rgba(11, 19, 15, .97); display: flex; flex-direction: column; justify-content: space-between; gap: 2rem; overflow-y: auto; }
.menu[hidden] { display: none; }
.menu-links { display: grid; }
.menu-links a { display: flex; align-items: center; justify-content: space-between; padding: .9rem 0; border-bottom: 1px solid rgba(255, 255, 255, .08); font: 800 clamp(2rem, 9vw, 2.8rem)/1 var(--title); letter-spacing: -.02em; text-decoration: none; opacity: 0; transform: translateY(14px); animation: menu-in .5s var(--ease) forwards; animation-delay: calc(var(--i) * 45ms + 60ms); }
.menu-links a .ico { width: 1.6rem; height: 1.6rem; color: var(--lime); }
.menu-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.langs-lg a { height: 40px; min-width: 3.2rem; font-size: .85rem; }
@keyframes menu-in { to { opacity: 1; transform: none; } }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; overflow: hidden; isolation: isolate;
  background: radial-gradient(60% 55% at 78% 62%, rgba(64, 103, 178, .28), transparent 70%), radial-gradient(50% 50% at 12% 10%, rgba(51, 81, 61, .55), transparent 70%), var(--night); }
.hero-court { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero-shade { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, rgba(11, 19, 15, .9) 0%, rgba(11, 19, 15, .55) 38%, rgba(11, 19, 15, 0) 62%), linear-gradient(0deg, var(--night) 0%, rgba(11, 19, 15, 0) 22%); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .5; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E"); }
.hero-inner { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding-top: calc(var(--nav-h) + 48px); padding-bottom: 104px; }
.eyebrow { display: inline-flex; align-self: flex-start; align-items: center; gap: .65rem; padding: .45rem .95rem .45rem .7rem; border-radius: 999px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12);
  font-size: .82rem; font-weight: 650; letter-spacing: .02em; color: rgba(242, 244, 239, .86); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.pulse { position: relative; width: 9px; height: 9px; border-radius: 50%; background: var(--lime); }
.pulse::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 1.5px solid var(--lime); animation: pulse 2.2s var(--ease) infinite; }
@keyframes pulse { from { transform: scale(.4); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
.hero-title { margin: 1.4rem 0 1.5rem; font: 800 clamp(4.6rem, 13.2vw, 13.5rem)/.8 var(--display); text-transform: uppercase; letter-spacing: -.005em; color: #f6f8f2; }
.hero-title .ln { display: block; }
.hero-title .ln + .ln { color: var(--lime); }
.hero-lede { max-width: 35rem; font-size: clamp(1.06rem, 1.35vw, 1.24rem); line-height: 1.55; color: rgba(242, 244, 239, .78); }
.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2.1rem; }
.hero-proof { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; margin-top: 2rem; font-size: .88rem; color: rgba(242, 244, 239, .64); }
.hero-proof li { display: inline-flex; align-items: center; gap: .45rem; }
.hero-proof .ico { width: 1.05em; height: 1.05em; color: var(--lime); }
.scroll-cue { position: absolute; left: 50%; bottom: 28px; width: 26px; height: 42px; margin-left: -13px; border-radius: 14px; border: 1.5px solid rgba(255, 255, 255, .3); z-index: 2; }
.scroll-cue i { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--lime); animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 0; } 30% { opacity: 1; } 100% { transform: translateY(14px); opacity: 0; } }
/* the headline's letters pop in as the app's wordmark does (springy, staggered) */
.js .hero-title[data-split] .ch { display: inline-block; opacity: 0; transform: translateY(.42em) rotate(-10deg) scale(.4); transform-origin: 50% 80%;
  transition: opacity .3s ease, transform .75s var(--spring); transition-delay: calc(var(--i) * 32ms + 120ms); }
.js .hero-title[data-split] .sp { display: inline-block; width: .22em; }
.is-ready .hero-title[data-split] .ch { opacity: 1; transform: none; }
.js .hero .eyebrow, .js .hero-lede, .js .hero-cta, .js .hero-proof { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .hero .eyebrow { transition-delay: .05s; }
.js .hero-lede { transition-delay: .55s; }
.js .hero-cta { transition-delay: .68s; }
.js .hero-proof { transition-delay: .8s; }
.is-ready .hero .eyebrow, .is-ready .hero-lede, .is-ready .hero-cta, .is-ready .hero-proof { opacity: 1; transform: none; }

/* ---------- marquee ---------- */
.marquee { position: relative; z-index: 2; overflow: hidden; overflow: clip; background: var(--lime); color: var(--night); padding: .2rem 0; }
.mq-row { display: flex; overflow: hidden; padding: .35rem 0; }
.mq-track { display: flex; flex: none; animation: mq 46s linear infinite; will-change: transform; }
.mq-outline .mq-track { animation-direction: reverse; animation-duration: 52s; }
.mq-set { display: flex; flex: none; align-items: center; }
.mq-set span { font: 800 clamp(2.4rem, 6vw, 4.6rem)/1 var(--display); text-transform: uppercase; letter-spacing: .005em; padding: 0 .38em; white-space: nowrap; }
.mq-outline span { color: transparent; -webkit-text-stroke: 1.5px var(--night); }
.mq-set i { width: .55em; height: .55em; font-size: clamp(2.4rem, 6vw, 4.6rem); flex: none; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #2b3a1a, var(--night)); position: relative; }
.mq-set i::after { content: ""; position: absolute; inset: 18% 8% 18% 8%; border-radius: 50%; border: 2px solid rgba(223, 246, 126, .75); border-left-color: transparent; border-right-color: transparent; transform: rotate(-30deg); }
.marquee:hover .mq-track { animation-play-state: paused; }
@keyframes mq { to { transform: translateX(-50%); } }

/* ---------- section heads ---------- */
section { position: relative; }
.how, .matches, .pricing, .faq { padding-block: clamp(5.5rem, 11vw, 10rem); }
.sec-head { max-width: 46rem; margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.sec-head.center { margin-inline: auto; text-align: center; }
.kicker { display: inline-flex; align-items: center; gap: .5rem; margin-bottom: 1.1rem; font-size: .8rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.dark .kicker { color: var(--lime); }
.kicker .ico { width: 1.15rem; height: 1.15rem; }
.sec-title { font: 800 clamp(2.6rem, 6vw, 5.4rem)/.94 var(--title); letter-spacing: -.028em; }
.sec-title.huge { font: 800 clamp(3.4rem, 10vw, 9.5rem)/.84 var(--display); text-transform: uppercase; letter-spacing: 0; }
.sec-title em { font-style: normal; color: var(--lime); }
.sec-lede { margin-top: 1.25rem; font-size: clamp(1.06rem, 1.4vw, 1.22rem); line-height: 1.55; color: var(--fg-2); }
.sec-head.center .sec-lede { margin-inline: auto; max-width: 38rem; }
.dark .sec-lede { color: rgba(242, 244, 239, .72); }

/* ---------- devices ---------- */
.phone { position: relative; width: 100%; max-width: 340px; padding: 3.4%; border-radius: 15.6% / 7.2%; background: linear-gradient(150deg, #3a403c 0%, #151917 38%, #0a0c0b 100%);
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .12), inset 0 0 0 4px #050605, 0 50px 90px -40px rgba(11, 19, 15, .55), 0 22px 40px -22px rgba(11, 19, 15, .45); }
.phone::before { content: ""; position: absolute; z-index: 2; top: calc(3.4% / 2.174 + 1.25%); left: 50%; width: 29%; height: 3.6%; transform: translateX(-50%); border-radius: 999px; background: #000; }
.phone-screen { position: relative; aspect-ratio: 1206 / 2622; border-radius: 12.8% / 5.9%; overflow: hidden; background: #000; }
.phone-screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.phone-xl { max-width: 380px; }
.watch { position: relative; width: 100%; max-width: 320px; }
.watch-case { position: relative; padding: 8.5% 8%; border-radius: 30% / 26%; background: linear-gradient(155deg, #4a4f4c 0%, #1d2120 35%, #0c0e0d 100%);
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .14), inset 0 0 0 5px #070807, 0 40px 80px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(0, 0, 0, .6); }
.watch-screen { position: relative; aspect-ratio: 416 / 496; border-radius: 21% / 18%; overflow: hidden; background: #000; }
.watch-screen img { width: 100%; height: 100%; object-fit: cover; }
.watch-crown { position: absolute; right: -3.6%; top: 22%; width: 5.2%; height: 15%; border-radius: 3px 6px 6px 3px; background: repeating-linear-gradient(0deg, #2f3331 0 2px, #4e5451 2px 4px); box-shadow: inset -1px 0 0 rgba(255, 255, 255, .2); }
.watch-crown::after { content: ""; position: absolute; left: 30%; right: 30%; top: 40%; bottom: 40%; border-radius: 2px; background: #b4372f; opacity: .85; }
.watch-button { position: absolute; right: -1.8%; top: 46%; width: 3%; height: 19%; border-radius: 2px 5px 5px 2px; background: linear-gradient(90deg, #232726, #3c413e); }

/* ---------- how it works ---------- */
.how-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 400px); gap: clamp(2rem, 7vw, 7rem); align-items: start; }
.how-step { position: relative; min-height: 78vh; display: flex; flex-direction: column; justify-content: center; padding: 2rem 0; }
.how-step:first-child { min-height: 60vh; justify-content: flex-start; padding-top: 0; }
.how-step:last-child { min-height: 70vh; }
.how-n { font: 800 clamp(4.5rem, 9vw, 8rem)/.8 var(--display); color: transparent; -webkit-text-stroke: 1.5px var(--num); margin-bottom: 1rem; }
.how-step h3 { font: 800 clamp(2rem, 3.6vw, 3.2rem)/1 var(--title); letter-spacing: -.025em; }
.how-step p { margin-top: 1rem; max-width: 34rem; font-size: 1.12rem; color: var(--fg-2); }
.chips { display: flex; flex-wrap: wrap; align-items: flex-start; align-content: flex-start; gap: .5rem; margin-top: 1.4rem; }
.chips li { padding: .42rem .85rem; border-radius: 999px; background: var(--card); border: 1px solid var(--hair); font-size: .85rem; font-weight: 600; color: var(--fg-2); }
.chips-dark li { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .12); color: rgba(242, 244, 239, .85); }
.js .how-step { transition: opacity .5s var(--ease); }
.js .how-steps.is-live .how-step:not(.is-active) { opacity: .28; }
.how-shot { display: none; }
.how-stage { position: sticky; top: calc(50vh - min(40vh, 400px)); display: flex; flex-direction: column; align-items: center; gap: 1.4rem; }
.how-stage .phone-screen img { opacity: 0; transform: scale(1.04); transition: opacity .6s var(--ease), transform .9s var(--ease); }
.how-stage .phone-screen img.on { opacity: 1; transform: none; }
.how-stage .phone { max-height: 80vh; width: auto; aspect-ratio: 1206 / 2622; height: min(80vh, 820px); max-width: none; }
.how-stage .phone-screen { height: 100%; width: 100%; }
.how-dots { display: flex; gap: .5rem; }
.how-dots i { width: 8px; height: 8px; border-radius: 99px; background: var(--hair); transition: width .4s var(--ease), background-color .3s; }
.how-dots i.on { width: 26px; background: var(--accent); }
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: clamp(4rem, 8vw, 7rem); }
.bento-card { padding: 1.6rem 1.5rem 1.7rem; border-radius: 26px; background: var(--card); border: 1px solid var(--hair); box-shadow: var(--shadow); transition: transform .45s var(--spring); }
.bento-card:hover { transform: translateY(-4px); }
.bento-card .ico { width: 2.6rem; height: 2.6rem; padding: .55rem; border-radius: 14px; background: var(--lime); color: var(--night); }
.bento-card h3 { margin-top: 1.2rem; font: 800 1.45rem/1.05 var(--title); letter-spacing: -.015em; }
.bento-card p { margin-top: .55rem; font-size: .97rem; color: var(--fg-3); line-height: 1.55; }

/* ---------- Apple Watch ---------- */
.watch-sec { padding-block: clamp(5.5rem, 11vw, 10rem) clamp(4rem, 7vw, 6rem); overflow: hidden; overflow: clip;
  background: radial-gradient(50% 60% at 78% 45%, rgba(223, 246, 126, .12), transparent 70%), radial-gradient(40% 50% at 10% 90%, rgba(64, 103, 178, .18), transparent 70%), var(--night); }
.watch-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.feature-list { display: grid; gap: 1.4rem; }
.feature-list li { display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: start; }
.feature-list .ico { width: 2.5rem; height: 2.5rem; padding: .55rem; border-radius: 13px; background: rgba(223, 246, 126, .1); color: var(--lime); border: 1px solid rgba(223, 246, 126, .18); }
.feature-list h3 { font: 800 1.35rem/1.1 var(--title); letter-spacing: -.01em; }
.feature-list p { margin-top: .3rem; color: rgba(242, 244, 239, .68); font-size: 1rem; }
.watch-stage { position: relative; display: grid; place-items: center; min-height: 560px; }
.watch-glow { position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(223, 246, 126, .28), transparent 65%); filter: blur(20px); }
.watch-main { width: min(330px, 66vw); z-index: 2; transform: rotate(-4deg); }
.watch-side { position: absolute; width: min(250px, 48vw); right: -2%; bottom: 0; z-index: 1; transform: rotate(9deg); opacity: .92; }
.float-tag { position: absolute; z-index: 3; padding: .5rem .95rem; border-radius: 999px; background: var(--lime); color: var(--night); font-size: .85rem; font-weight: 750; box-shadow: 0 12px 30px -10px rgba(223, 246, 126, .5); animation: bob 5s ease-in-out infinite; }
.ft-1 { top: 8%; left: 4%; }
.ft-2 { top: 44%; left: -2%; animation-delay: -1.6s; background: #fff; }
.ft-3 { top: 14%; right: 2%; animation-delay: -3.2s; }
@keyframes bob { 50% { transform: translateY(-10px); } }
.formats { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; margin-top: clamp(3rem, 6vw, 5rem); padding-top: 2rem; border-top: 1px solid rgba(255, 255, 255, .1); }
.formats p { font-size: .8rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; color: rgba(242, 244, 239, .5); }
.formats ul { display: flex; flex-wrap: wrap; gap: .5rem; }
.formats li { padding: .45rem .9rem; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .14); font-size: .9rem; font-weight: 600; color: rgba(242, 244, 239, .86); }

/* ---------- 3D lessons ---------- */
.lessons { padding-block: clamp(5.5rem, 11vw, 10rem); overflow: hidden; overflow: clip;
  background: radial-gradient(70% 45% at 50% 30%, rgba(64, 103, 178, .32), transparent 70%), linear-gradient(180deg, var(--night), #0d1712 60%, var(--night)); }
.lesson-stage { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(1.5rem, 3vw, 3rem); align-items: end; }
.lesson-film { position: relative; aspect-ratio: 16 / 9; border-radius: clamp(20px, 3vw, 34px); overflow: hidden; isolation: isolate; background-color: #dce9f0;
  background-image: var(--poster-wide, none); background-size: cover; background-position: center; box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 60px 120px -50px rgba(64, 103, 178, .55); }
.lesson-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; }
.lesson-chapters { position: absolute; top: clamp(12px, 2vw, 22px); left: clamp(12px, 2vw, 22px); right: clamp(12px, 2vw, 22px); display: flex; flex-wrap: wrap; gap: .4rem; }
.lesson-chapters li { padding: .38rem .75rem; border-radius: 999px; background: rgba(11, 19, 15, .55); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font-size: .78rem; font-weight: 650; color: rgba(242, 244, 239, .82); border: 1px solid rgba(255, 255, 255, .12); transition: background-color .35s var(--ease), color .35s, border-color .35s; }
.lesson-chapters li.on { background: var(--lime); color: var(--night); border-color: var(--lime); }
.lesson-chapters li.tag { background: rgba(11, 19, 15, .78); color: var(--lime); border-color: rgba(223, 246, 126, .4); }
.lesson-stats { display: grid; gap: 1.4rem; margin: 0; min-width: 11rem; }
.lesson-stats div { display: flex; flex-direction: column-reverse; border-top: 1px solid rgba(255, 255, 255, .12); padding-top: .8rem; }
.lesson-stats dd { margin: 0; font: 800 clamp(3.2rem, 5.5vw, 5rem)/.85 var(--display); color: var(--lime); }
.lesson-stats dt { margin-top: .35rem; font-size: .9rem; color: rgba(242, 244, 239, .66); }
.stroke-groups { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .9rem; margin-top: clamp(3rem, 6vw, 5rem); }
.stroke-group { padding: 1.3rem 1.2rem 1.4rem; border-radius: 22px; background: rgba(255, 255, 255, .035); border: 1px solid rgba(255, 255, 255, .08); }
.stroke-group h3 { display: flex; justify-content: space-between; align-items: baseline; gap: .5rem; padding-bottom: .8rem; margin-bottom: .6rem; border-bottom: 1px solid rgba(255, 255, 255, .08); font: 800 1.2rem/1.1 var(--title); }
.stroke-group h3 span { font: 800 1.5rem/1 var(--display); color: var(--lime); }
.stroke-group li { display: flex; justify-content: space-between; align-items: center; gap: .6rem; padding: .32rem 0; font-size: .93rem; color: rgba(242, 244, 239, .8); }
.stroke-group em { font-style: normal; padding: .12rem .5rem; border-radius: 999px; background: var(--lime); color: var(--night); font-size: .68rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.stroke-group .lock { color: rgba(242, 244, 239, .32); }
.stroke-group .lock .ico { width: .95rem; height: .95rem; }
.stroke-group .is-free { color: #fff; font-weight: 600; }
.rules-card { display: grid; grid-template-columns: minmax(220px, 440px) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; margin-top: 1rem; padding: clamp(1.2rem, 2.5vw, 1.8rem); border-radius: 28px;
  background: linear-gradient(120deg, rgba(64, 103, 178, .22), rgba(255, 255, 255, .03)); border: 1px solid rgba(255, 255, 255, .09); }
.stroke-still { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: 62% 40%; border-radius: 20px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .1); }
.rules-copy h3 { font: 800 clamp(1.8rem, 3vw, 2.6rem)/1 var(--title); letter-spacing: -.02em; }
.rules-copy p { margin-top: .9rem; max-width: 40rem; color: rgba(242, 244, 239, .74); }
.rules-copy .kicker { margin-bottom: .8rem; }

/* ---------- matches ---------- */
.matches-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 7vw, 7rem); align-items: center; }
.matches-art { position: relative; display: grid; place-items: center; perspective: 1400px; }
.matches-art .phone { max-width: 330px; }
.phone-tilt { transform: rotateY(14deg) rotateX(4deg) rotateZ(-2deg); transition: transform 1s var(--ease); }
.matches-art:hover .phone-tilt { transform: rotateY(4deg) rotateX(2deg) rotateZ(-1deg); }
.score-chip { position: absolute; right: 2%; bottom: 14%; display: flex; align-items: center; gap: .55rem; padding: .85rem 1.2rem; border-radius: 20px; background: var(--night); color: var(--lime);
  font: 800 2rem/1 var(--display); box-shadow: 0 24px 50px -20px rgba(11, 19, 15, .6); transform: rotate(4deg); }
.score-chip .lost { color: #93a096; }
.score-chip i { width: 5px; height: 5px; border-radius: 50%; background: rgba(255, 255, 255, .3); }
.stat-list { display: grid; gap: .8rem; margin-bottom: 2rem; }
.stat-list li { display: flex; align-items: center; gap: .8rem; padding-bottom: .8rem; border-bottom: 1px solid var(--hair); font-size: 1.06rem; font-weight: 550; }
.stat-list .ico { color: var(--fg); padding: .2rem; width: 1.6rem; height: 1.6rem; border-radius: 50%; background: var(--lime); stroke-width: 2.4; }
.share-card { display: grid; grid-template-columns: auto 1fr; gap: 1.1rem; padding: 1.4rem 1.5rem; border-radius: 24px; background: var(--card); border: 1px solid var(--hair); box-shadow: var(--shadow); }
.share-card > .ico { width: 2.8rem; height: 2.8rem; padding: .6rem; border-radius: 14px; background: var(--night); color: var(--lime); }
.share-card h3 { font: 800 1.4rem/1.1 var(--title); }
.share-card p { margin-top: .4rem; color: var(--fg-3); font-size: .98rem; }

/* ---------- privacy band ---------- */
.privacy-band { padding-block: clamp(5.5rem, 11vw, 10rem); overflow: hidden; overflow: clip; background: radial-gradient(60% 50% at 50% 0%, rgba(51, 81, 61, .7), transparent 70%), var(--night); }
.privacy-band .sec-head { max-width: 72rem; }
.privacy-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin-bottom: 2.6rem; }
.glass-card { padding: 1.6rem 1.5rem 1.7rem; border-radius: 26px; background: linear-gradient(160deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02)); border: 1px solid rgba(255, 255, 255, .1); }
.glass-card .ico { width: 2.6rem; height: 2.6rem; color: var(--lime); }
.glass-card h3 { margin-top: 1.1rem; font: 800 1.4rem/1.05 var(--title); }
.glass-card p { margin-top: .55rem; font-size: .97rem; color: rgba(242, 244, 239, .68); }

/* ---------- pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem; max-width: 980px; margin-inline: auto; }
.plan { position: relative; display: flex; flex-direction: column; padding: clamp(1.6rem, 3vw, 2.4rem); border-radius: 32px; background: var(--card); border: 1px solid var(--hair); box-shadow: var(--shadow); }
.plan h3 { font: 800 1.6rem/1 var(--title); letter-spacing: -.01em; }
.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: .4rem .6rem; margin-top: 1rem; }
.price b { font: 800 clamp(3.4rem, 6vw, 4.8rem)/.9 var(--display); letter-spacing: -.01em; }
.price span { color: var(--fg-3); font-weight: 600; }
.price em { font-style: normal; padding: .2rem .55rem; border-radius: 999px; background: var(--lime); color: var(--night); font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.plan ul { display: grid; gap: .75rem; margin: 1.8rem 0 0; }
.plan li { display: flex; gap: .7rem; align-items: flex-start; font-size: 1rem; }
.plan li .ico { margin-top: .12em; width: 1.25rem; height: 1.25rem; color: var(--accent); stroke-width: 2.4; }
.plan-pro { background: radial-gradient(90% 60% at 100% 0%, rgba(223, 246, 126, .2), transparent 60%), linear-gradient(160deg, var(--forest-800), var(--night)); color: #f2f4ef; border-color: rgba(223, 246, 126, .25);
  box-shadow: 0 50px 100px -50px rgba(51, 81, 61, .9), 0 0 0 1px rgba(223, 246, 126, .1); }
.plan-pro .price span { color: rgba(242, 244, 239, .66); }
.plan-pro li .ico { color: var(--lime); }
.plan-pro .btn { margin-top: auto; align-self: flex-start; }
.plan-pro ul { margin-bottom: 2rem; }
.price-pair { display: flex; flex-wrap: wrap; gap: 0 2rem; }
.plan-badge { position: absolute; top: clamp(1.6rem, 3vw, 2.4rem); right: clamp(1.6rem, 3vw, 2.4rem); padding: .4rem .8rem; border-radius: 999px; background: var(--lime); color: var(--night); font-size: .78rem; font-weight: 800; letter-spacing: .02em; }
.fineprint { max-width: 50rem; margin: 2rem auto 0; text-align: center; font-size: .85rem; line-height: 1.6; color: var(--fg-3); }
.fineprint a { color: var(--link); }

/* ---------- questions ---------- */
.faq { background: var(--bg-2); }
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.faq .sec-head { position: sticky; top: calc(var(--nav-h) + 2rem); margin-bottom: 0; }
.faq .sec-head .btn { margin-top: 2rem; }
details { border-bottom: 1px solid var(--hair); }
details summary { display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; padding: 1.35rem 0; cursor: pointer; list-style: none; font: 800 clamp(1.15rem, 1.8vw, 1.4rem)/1.2 var(--title); letter-spacing: -.01em; }
details summary::-webkit-details-marker { display: none; }
details summary i { position: relative; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--card); border: 1px solid var(--hair); transition: transform .45s var(--spring), background-color .2s; }
details summary i::before, details summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; border-radius: 2px; background: currentColor; }
details summary i::after { transform: rotate(90deg); transition: transform .35s var(--ease); }
details[open] summary i { transform: rotate(180deg); background: var(--lime); border-color: var(--lime); color: var(--night); }
details[open] summary i::after { transform: rotate(0); }
details summary:hover i { background: var(--tint); }
details[open] summary:hover i { background: var(--lime); }
.faq-a { padding: 0 3.5rem 1.5rem 0; color: var(--fg-2); }
.faq-a p + p { margin-top: .7rem; }
.faq-a a { color: var(--link); }
@supports (interpolate-size: allow-keywords) {
  :root { interpolate-size: allow-keywords; }
  details::details-content { height: 0; overflow: clip; transition: height .45s var(--ease), content-visibility .45s allow-discrete; }
  details[open]::details-content { height: auto; }
}

/* ---------- the last call ---------- */
.final { position: relative; overflow: hidden; overflow: clip; background: var(--lime); color: var(--night); padding-block: clamp(5rem, 10vw, 9rem); text-align: center; isolation: isolate; }
.final-ball { position: absolute; z-index: -1; left: 50%; top: 50%; width: max(130vw, 1200px); aspect-ratio: 1; transform: translate(-50%, -50%); pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-1 -1 2 2'%3E%3Cpath d='M-.62 -.55C-.2 -.25 -.25 .35 -.7 .52M.62 -.55C.2 -.25 .25 .35 .7 .52' fill='none' stroke='%23fff' stroke-opacity='.55' stroke-width='.035' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
  animation: seam 40s linear infinite; }
@keyframes seam { to { transform: translate(-50%, -50%) rotate(360deg); } }
.final-word { display: flex; justify-content: center; font: 800 clamp(3.6rem, 15.5vw, 15rem)/.82 var(--display); letter-spacing: .01em; }
.final-word span { display: inline-block; }
.js .final-word span { opacity: 0; transform: translateY(.5em) rotate(-14deg) scale(.25); transition: opacity .25s, transform .8s var(--spring); transition-delay: calc(var(--i) * 40ms); }
.js .final-word.in span { opacity: 1; transform: none; }
.final-title { margin-top: clamp(1.8rem, 4vw, 3rem); font: 800 clamp(2rem, 4vw, 3.2rem)/1 var(--title); letter-spacing: -.02em; }
.final-lede { margin: .9rem auto 2rem; font-size: 1.15rem; color: rgba(11, 19, 15, .72); }
.final .btn-dark { background: var(--night); color: #f2f4ef; }

/* ---------- footer ---------- */
.foot { background: var(--night); color: rgba(242, 244, 239, .72); padding-top: clamp(4rem, 8vw, 6rem); overflow: hidden; overflow: clip; color-scheme: dark; }
.foot-top { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr); gap: 3rem; }
.foot-brand .brand { color: #f2f4ef; }
.foot-brand p { margin: 1.1rem 0 1.6rem; max-width: 26rem; }
.foot-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; }
.foot-cols h2 { margin-bottom: 1rem; font: 750 .78rem/1 var(--text); letter-spacing: .14em; text-transform: uppercase; color: rgba(242, 244, 239, .45); }
.foot-cols a { display: block; padding: .32rem 0; text-decoration: none; overflow-wrap: anywhere; transition: color .2s; }
.foot-cols a[href^="mailto:"] { overflow-wrap: normal; }
.foot-cols a:hover { color: var(--lime); }
.foot-word { margin-top: clamp(3rem, 6vw, 5rem); font: 800 clamp(4rem, 19.5vw, 19rem)/.78 var(--display); letter-spacing: .005em; text-align: center; white-space: nowrap;
  background: linear-gradient(180deg, rgba(223, 246, 126, .22), rgba(223, 246, 126, 0) 85%); -webkit-background-clip: text; background-clip: text; color: transparent; user-select: none; }
.foot-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; padding: 1.4rem 0 max(1.6rem, env(safe-area-inset-bottom)); border-top: 1px solid rgba(255, 255, 255, .08); font-size: .8rem; color: rgba(242, 244, 239, .45); }

/* ---------- document pages ---------- */
.doc-hero { padding-top: calc(var(--nav-h) + clamp(3rem, 7vw, 6rem)); padding-bottom: clamp(3rem, 6vw, 4.5rem); overflow: hidden; overflow: clip;
  background: radial-gradient(50% 80% at 85% 0%, rgba(64, 103, 178, .28), transparent 70%), radial-gradient(40% 70% at 0% 100%, rgba(51, 81, 61, .6), transparent 70%), var(--night); }
.doc-title { font: 800 clamp(3.4rem, 9vw, 8rem)/.84 var(--display); text-transform: uppercase; letter-spacing: 0; color: #f6f8f2; overflow-wrap: anywhere; }
.doc-lede { margin-top: 1.3rem; max-width: 40rem; font-size: clamp(1.06rem, 1.4vw, 1.22rem); color: rgba(242, 244, 239, .74); }
.doc-date { margin-top: 1.2rem; font-size: .92rem; color: rgba(242, 244, 239, .6); }
.search { position: relative; display: flex; align-items: center; max-width: 40rem; margin-top: 2rem; }
.search .ico { position: absolute; left: 1.15rem; width: 1.3rem; height: 1.3rem; color: rgba(242, 244, 239, .6); pointer-events: none; }
.search input { width: 100%; height: 60px; padding: 0 1.3rem 0 3.2rem; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .07); color: #fff; font: 500 1.05rem/1 var(--text); outline: none; transition: border-color .2s, background-color .2s; -webkit-appearance: none; appearance: none; }
.search input::placeholder { color: rgba(242, 244, 239, .5); }
.search input:focus { border-color: var(--lime); background: rgba(255, 255, 255, .1); }
.topic-chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.4rem; }
.topic-chips a { display: inline-flex; align-items: center; gap: .45rem; padding: .5rem .9rem; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .14); font-size: .88rem; font-weight: 600; text-decoration: none; color: rgba(242, 244, 239, .86); transition: background-color .2s, border-color .2s; }
.topic-chips a:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .3); }
.topic-chips .ico { width: 1rem; height: 1rem; color: var(--lime); }
.support-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(2rem, 6vw, 5rem); padding-block: clamp(3rem, 6vw, 5rem) clamp(5rem, 9vw, 8rem); align-items: start; }
.topic { padding-top: 1rem; margin-bottom: 2.5rem; }
.topic h2 { display: flex; align-items: center; gap: .7rem; margin-bottom: .4rem; font: 800 clamp(1.7rem, 2.6vw, 2.2rem)/1.05 var(--title); letter-spacing: -.02em; }
.topic h2 .ico { width: 2.3rem; height: 2.3rem; padding: .48rem; border-radius: 12px; background: var(--lime); color: var(--night); }
.topic[hidden], details[hidden] { display: none; }
.search-empty { padding: 2rem; border-radius: 22px; background: var(--card); border: 1px dashed var(--hair); color: var(--fg-3); text-align: center; }
mark { background: var(--lime); color: var(--night); border-radius: 3px; padding: 0 .1em; }
.support-side { position: sticky; top: calc(var(--nav-h) + 1.5rem); display: grid; gap: 1rem; }
.contact-card { padding: 1.7rem; border-radius: 28px; background: var(--night); color: #f2f4ef; box-shadow: 0 30px 60px -30px rgba(11, 19, 15, .6); }
.contact-card > .ico { width: 2.6rem; height: 2.6rem; color: var(--lime); }
.contact-card h2 { margin-top: 1rem; font: 800 1.7rem/1.05 var(--title); }
.contact-card p { margin-top: .6rem; font-size: .96rem; color: rgba(242, 244, 239, .72); }
.contact-card .btn { margin-top: 1.3rem; width: 100%; }
.contact-card .contact-mail { margin-top: .8rem; text-align: center; font-size: .9rem; }
.contact-card .contact-mail a { color: var(--lime); }
.req-card { padding: 1.5rem 1.6rem; border-radius: 24px; background: var(--card); border: 1px solid var(--hair); }
.req-card h2 { font: 800 1.25rem/1.1 var(--title); margin-bottom: .8rem; }
.req-card li { display: flex; gap: .6rem; align-items: flex-start; padding: .35rem 0; font-size: .95rem; color: var(--fg-2); }
.req-card .ico { margin-top: .15em; width: 1.1rem; height: 1.1rem; color: var(--accent); stroke-width: 2.4; }
.side-links { display: grid; gap: .5rem; }
.side-links a { display: flex; justify-content: space-between; align-items: center; padding: 1rem 1.3rem; border-radius: 18px; background: var(--card); border: 1px solid var(--hair); font-weight: 650; text-decoration: none; transition: border-color .2s, transform .35s var(--spring); }
.side-links a:hover { border-color: var(--accent); transform: translateX(3px); }
.doc-grid { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(2rem, 6vw, 5.5rem); padding-block: clamp(3rem, 6vw, 5rem) clamp(5rem, 9vw, 8rem); align-items: start; }
.doc-toc { position: sticky; top: calc(var(--nav-h) + 1.5rem); }
.doc-toc h2 { margin-bottom: .9rem; font: 750 .78rem/1 var(--text); letter-spacing: .14em; text-transform: uppercase; color: var(--fg-3); }
.doc-toc ol { counter-reset: toc; display: grid; gap: .1rem; border-left: 1px solid var(--hair); }
.doc-toc li { counter-increment: toc; }
.doc-toc ol a { display: flex; gap: .6rem; padding: .45rem 0 .45rem 1rem; margin-left: -1px; border-left: 2px solid transparent; font-size: .9rem; line-height: 1.35; color: var(--fg-3); text-decoration: none; transition: color .2s, border-color .2s; }
.doc-toc ol a::before { content: counter(toc, decimal-leading-zero); font-weight: 700; font-variant-numeric: tabular-nums; color: var(--num); }
.doc-toc ol a:hover, .doc-toc ol a.on { color: var(--fg); border-left-color: var(--accent); }
.toc-more { display: grid; gap: .4rem; margin-top: 1.6rem; }
.toc-more a { display: inline-flex; align-items: center; gap: .4rem; font-size: .9rem; font-weight: 650; text-decoration: none; color: var(--link); }
.toc-more .ico { width: 1rem; height: 1rem; }
.prose { max-width: 46rem; overflow-wrap: break-word; }
.prose > p:first-of-type { font-size: 1.15rem; color: var(--fg-2); }
.prose h2 { display: flex; align-items: baseline; gap: .8rem; margin: 2.8rem 0 .8rem; font: 800 clamp(1.6rem, 2.6vw, 2.1rem)/1.1 var(--title); letter-spacing: -.02em; scroll-margin-top: calc(var(--nav-h) + 1.5rem); }
.prose h2 .anchor { flex: none; font: 800 1.1rem/1 var(--display); color: var(--num); text-decoration: none; min-width: 1.6rem; }
.prose p { margin: .8rem 0; line-height: 1.72; color: var(--fg-2); }
.prose ul { margin: 1rem 0; display: grid; gap: .6rem; }
.prose li { position: relative; padding-left: 1.5rem; line-height: 1.65; color: var(--fg-2); }
.prose li::before { content: ""; position: absolute; left: .2rem; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 1.5px var(--accent); }
.prose a { color: var(--link); text-decoration-thickness: 1.5px; }
.prose a:hover { text-decoration-thickness: 2.5px; }
.guide-figure { margin: 1.5rem 0; }
.guide-figure img { width: min(100%, 17rem); height: auto; border-radius: 1.5rem; }
.guide-figure figcaption { max-width: 35rem; margin-top: .65rem; color: var(--fg-2); font-size: .95rem; }
.summary-card { margin: 0 0 2.4rem; padding: 1.6rem 1.7rem; border-radius: 26px; background: var(--tint); border: 1px solid var(--hair); }
.summary-card h2 { margin: 0 0 .9rem !important; font: 800 1.3rem/1.1 var(--title) !important; }
.summary-card ul { margin: 0; gap: .65rem; }
.summary-card li { padding-left: 0; display: flex; gap: .7rem; align-items: flex-start; color: var(--fg); }
.summary-card li::before { display: none; }
.summary-card .ico { margin-top: .15em; width: 1.15rem; height: 1.15rem; color: var(--accent); stroke-width: 2.4; }
.back-top { margin-top: 3rem !important; }
.back-top a { display: inline-flex; align-items: center; gap: .4rem; font-weight: 650; text-decoration: none !important; }
.back-top .ico { transform: rotate(-90deg); width: 1rem; height: 1rem; }

/* ---------- 404 ---------- */
.nf { position: relative; min-height: 100vh; min-height: 100svh; overflow: hidden; isolation: isolate; display: flex; align-items: center; background: radial-gradient(60% 55% at 78% 62%, rgba(64, 103, 178, .28), transparent 70%), var(--night); }
.nf-inner { padding-top: calc(var(--nav-h) + 3rem); padding-bottom: 4rem; }
.nf-title { font: 800 clamp(7rem, 30vw, 22rem)/.8 var(--display); text-transform: uppercase; color: var(--lime); }
.nf-langs { display: grid; gap: 1.2rem; margin-top: 2rem; max-width: 36rem; }
.nf-langs li { display: grid; gap: .8rem; padding-top: 1.2rem; border-top: 1px solid rgba(255, 255, 255, .1); }
.nf-langs p { font-size: 1.12rem; color: rgba(242, 244, 239, .8); }
.nf-langs div { display: flex; flex-wrap: wrap; gap: .6rem; }
.is-404 .foot { display: none; }

/* ---------- reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- layouts by width ---------- */
@media (max-width: 1120px) {
  .stroke-groups { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .bento, .privacy-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  .nav-links, .nav-end .langs, .nav-get { display: none; }
  .nav-toggle { display: block; }
  .nav-end { margin-left: auto; }
  .how-grid { grid-template-columns: 1fr; }
  .how-stage { display: none; }
  .how-step, .how-step:first-child, .how-step:last-child { min-height: 0; padding: 0 0 4.5rem; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 300px); grid-template-rows: auto auto auto 1fr; column-gap: 2.5rem; }
  .how-step > * { grid-column: 1; align-self: start; }
  .how-shot { display: block; grid-column: 2; grid-row: 1 / span 5; margin: 0; align-self: start; }
  .js .how-steps.is-live .how-step:not(.is-active) { opacity: 1; }
  .watch-grid, .matches-grid { grid-template-columns: 1fr; }
  .watch-stage { min-height: 520px; order: -1; }
  .lesson-stage { grid-template-columns: 1fr; }
  .lesson-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
  .faq-grid, .support-grid, .doc-grid { grid-template-columns: 1fr; }
  .faq .sec-head, .support-side, .doc-toc { position: static; }
  .doc-toc { padding: 1.3rem 1.4rem; border-radius: 22px; background: var(--card); border: 1px solid var(--hair); }
  .foot-top { grid-template-columns: 1fr; }
  .matches-art { order: -1; }
}
@media (max-width: 980px) and (orientation: portrait) {
  .hero-shade { background: linear-gradient(180deg, rgba(11, 19, 15, .6) 0%, rgba(11, 19, 15, .2) 60%, rgba(11, 19, 15, 0) 75%, rgba(11, 19, 15, .5) 100%); }
  .hero-inner { justify-content: flex-start; padding-top: calc(var(--nav-h) + 40px); padding-bottom: max(64vw, 290px); }
}
@media (max-width: 720px) {
  :root { --nav-h: 60px; }
  body { font-size: 1rem; }
  .brand { font-size: 1.25rem; }
  .brand .mark { width: 30px; height: 30px; border-radius: 8px; }
  .hero-shade { background: linear-gradient(180deg, rgba(11, 19, 15, .6) 0%, rgba(11, 19, 15, .2) 60%, rgba(11, 19, 15, 0) 75%, rgba(11, 19, 15, .5) 100%); }
  .hero-inner { justify-content: flex-start; padding-top: calc(var(--nav-h) + 28px); padding-bottom: max(80vw, 290px); }
  .hero-title { font-size: clamp(4.1rem, 21vw, 7.5rem); margin: 1.1rem 0 1.1rem; }
  .hero-cta .btn { flex: 1 1 auto; }
  .hero-proof { font-size: .8rem; gap: .45rem 1rem; }
  .scroll-cue { display: none; }
  .how-step, .how-step:first-child, .how-step:last-child { display: block; padding-bottom: 4rem; }
  .how-shot { margin: 2rem auto 0; max-width: 270px; }
  .bento, .privacy-cards { grid-template-columns: 1fr; }
  .stroke-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
  .stroke-group { padding: 1rem .9rem 1.1rem; }
  .stroke-group li { font-size: .85rem; }
  .lesson-film { aspect-ratio: 3 / 4; background-image: var(--poster-tall, none); }
  .lesson-chapters { display: none; }
  .lesson-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rules-card { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; }
  .plan-badge { position: static; align-self: flex-start; margin-bottom: 1rem; }
  .watch-stage { min-height: 420px; }
  .watch-side { right: -4%; }
  .ft-2 { left: 0; }
  .faq-a { padding-right: 0; }
  .foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-cols div:nth-child(2) { grid-column: 1 / -1; order: 3; }
  .menu-foot .btn { width: 100%; }
}
@media (max-width: 380px) {
  .stroke-groups { grid-template-columns: 1fr; }
  .lesson-stats dd { font-size: 2.8rem; }
  .price-pair { gap: 0 1.2rem; }
}

/* ---------- less motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .mq-track { animation: none !important; }
  .js .reveal, .js .hero-title[data-split] .ch, .js .final-word span, .js .hero .eyebrow, .js .hero-lede, .js .hero-cta, .js .hero-proof { opacity: 1 !important; transform: none !important; }
}
