/* TrainUp marketing site — same "Midnight Instrument" tokens as the app
   (web/src/index.css). Self-hosted fonts only (CSP font-src 'self'):
   Rubik (body), Karantina 700 (display headings), Azeret Mono (numbers). */
@font-face { font-family: 'Rubik'; font-weight: 400; font-display: swap; src: url('fonts/rubik-hebrew-400-normal.woff2') format('woff2'); unicode-range: U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; }
@font-face { font-family: 'Rubik'; font-weight: 500; font-display: swap; src: url('fonts/rubik-hebrew-500-normal.woff2') format('woff2'); unicode-range: U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; }
@font-face { font-family: 'Rubik'; font-weight: 700; font-display: swap; src: url('fonts/rubik-hebrew-700-normal.woff2') format('woff2'); unicode-range: U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; }
@font-face { font-family: 'Rubik'; font-weight: 800; font-display: swap; src: url('fonts/rubik-hebrew-800-normal.woff2') format('woff2'); unicode-range: U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; }
@font-face { font-family: 'Rubik'; font-weight: 400; font-display: swap; src: url('fonts/rubik-latin-400-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Rubik'; font-weight: 500; font-display: swap; src: url('fonts/rubik-latin-500-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Rubik'; font-weight: 700; font-display: swap; src: url('fonts/rubik-latin-700-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Rubik'; font-weight: 800; font-display: swap; src: url('fonts/rubik-latin-800-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Karantina'; font-weight: 700; font-display: swap; src: url('fonts/karantina-hebrew-700-normal.woff2') format('woff2'); unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; }
@font-face { font-family: 'Karantina'; font-weight: 700; font-display: swap; src: url('fonts/karantina-latin-700-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Azeret Mono'; font-weight: 400; font-display: swap; src: url('fonts/azeret-mono-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Azeret Mono'; font-weight: 700; font-display: swap; src: url('fonts/azeret-mono-latin-700-normal.woff2') format('woff2'); }

:root {
  color-scheme: dark;
  --canvas: #0B100E; --surface: #141B18; --subtle: #1C2521; --border: #26312C; --border-strong: #35443D;
  --ink-surface: #182320; --ink-raised: #20302A;
  --brand-50: #152A21; --brand-200: #1B4534; --brand-500: #1A7E55; --brand-600: #1D8659; --brand-700: #5ECD9B; --brand-900: #C2EEDA;
  --signal: #2FD08A;
  --ink: #E9F0EC; --muted: #A7B8B0; --subtle-text: #96A8A0;
  --warning: #E2A43F; --warning-tint: #2A2013;
  --r-control: 12px; --r-panel: 18px; --r-hero: 24px;
  --e1: 0 1px 2px rgb(0 0 0 / .4); --e3: 0 8px 24px rgb(0 0 0 / .55);
  --max: 1120px;
  --display: 'Karantina', 'Rubik', system-ui, sans-serif;
  --mono: 'Azeret Mono', ui-monospace, monospace;
  --ease-out: cubic-bezier(.2, .8, .2, 1);
  --dur: .6s;
}
* { box-sizing: border-box; }
html { -webkit-tap-highlight-color: transparent; scroll-behavior: smooth; }
body { margin: 0; background: var(--canvas); color: var(--ink); font-family: Rubik, system-ui, -apple-system, 'Segoe UI', sans-serif; font-size: 17px; line-height: 1.6; font-feature-settings: 'tnum' 1; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
[dir=ltr] body { line-height: 1.5; }
a { color: var(--brand-700); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; inset-inline-start: 12px; top: -64px; z-index: 100; background: var(--signal); color: var(--canvas); font-weight: 700; padding: 10px 16px; border-radius: 10px; transition: top .15s; }
.skip:focus { top: 12px; text-decoration: none; }
/* WCAG 1.4.1 — a link inside running text must not be told apart by colour alone. */
p a, .faq-body a, .foot-bottom a { text-decoration: underline; text-underline-offset: 3px; }
.num { font-family: var(--mono); font-feature-settings: 'tnum' 1; }
.num .sep { margin: 0 -.17em; }
/* A store name wraps as one unit — split, "Google" and "Play" land on different lines and the line reads scrambled in RTL. */
.nw { white-space: nowrap; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.center { margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Type */
h1, h2 { font-family: var(--display); font-weight: 700; letter-spacing: .005em; text-wrap: balance; }
h1 { font-size: clamp(52px, 8vw, 96px); line-height: .98; margin: 20px 0 18px; }
h1 em { font-style: normal; color: var(--signal); white-space: nowrap; }
h2 { font-size: clamp(38px, 5vw, 60px); line-height: 1.02; margin: 0 0 14px; }
[dir=ltr] h1 { letter-spacing: .01em; }
[dir=ltr] h2 { letter-spacing: .01em; }
.kicker { color: var(--brand-700); font-weight: 700; font-size: 14px; letter-spacing: .04em; text-transform: uppercase; margin: 0 0 10px; }
[dir=rtl] .kicker { letter-spacing: 0; text-transform: none; }
.sub { color: var(--muted); font-size: 18px; margin: 0 0 36px; max-width: 40em; }

/* Reveal (JS-only; without JS everything is visible) */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity var(--dur) var(--ease-out), transform var(--dur) var(--ease-out); transition-delay: calc(var(--i, 0) * 90ms); }
.js [data-reveal].in { opacity: 1; transform: none; }
.grid3 > :nth-child(1) { --i: 0 } .grid3 > :nth-child(2) { --i: 1 } .grid3 > :nth-child(3) { --i: 2 }

/* Header */
.top { position: sticky; top: 0; z-index: 20; background: rgb(11 16 14 / .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--border); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 800; font-size: 20px; letter-spacing: -.01em; }
.logo:hover { text-decoration: none; }
.logo img { width: 32px; height: 32px; border-radius: 9px; }
.nav { display: flex; align-items: center; gap: 18px; font-size: 15px; }
.nav a { color: var(--muted); }
.nav a:hover { color: var(--ink); text-decoration: none; }
.nav .btn { color: var(--ink); }
.menu-btn { display: none; width: 44px; height: 44px; border: 1px solid var(--border-strong); background: transparent; border-radius: var(--r-control); color: var(--ink); cursor: pointer; place-items: center; }
.menu-btn svg { width: 22px; height: 22px; }
.menu-btn .x { display: none; }
.menu-btn[aria-expanded=true] .bars { display: none; }
.menu-btn[aria-expanded=true] .x { display: block; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: var(--r-control); font-weight: 700; font-size: 15px; border: 1px solid transparent; cursor: pointer; transition: background .15s, transform .12s var(--ease-out), box-shadow .2s; }
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand-500); color: #fff; box-shadow: 0 0 0 0 rgb(47 208 138 / 0); }
.btn-primary:hover { background: var(--brand-600); box-shadow: 0 8px 24px rgb(47 208 138 / .18); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--border-strong); }
.btn-ghost:hover { background: var(--subtle); }
.btn-lg { min-height: 54px; padding: 0 28px; font-size: 17px; }

/* Hero */
.hero { position: relative; padding: 84px 0 48px; overflow: hidden; isolation: isolate; }
.hero::before { content: ''; position: absolute; inset: -1px; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60% 55% at 78% 30%, rgb(26 126 85 / .34), transparent 70%),
    radial-gradient(40% 40% at 20% 90%, rgb(47 208 138 / .10), transparent 70%);
}
.hero::after { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
  background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(70% 80% at 60% 20%, #000 20%, transparent 100%); mask-image: radial-gradient(70% 80% at 60% 20%, #000 20%, transparent 100%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--brand-700); background: var(--brand-50); border: 1px solid var(--brand-200); border-radius: 999px; padding: 6px 14px; font-size: 14px; font-weight: 600; }
.eyebrow::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 4px rgb(47 208 138 / .18); }
.lede { font-size: 19px; color: var(--muted); margin: 0 0 30px; max-width: 32em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.cta-note { font-size: 14px; color: var(--subtle-text); margin-top: 14px; }
.proof { display: grid; grid-template-columns: repeat(6, 1fr); margin-top: 64px; padding-top: 28px; border-top: 1px solid var(--border); }
.proof-item { display: flex; gap: 12px; align-items: flex-start; padding: 4px 18px 4px 0; border-inline-start: 1px solid var(--border); }
[dir=ltr] .proof-item { padding: 4px 0 4px 18px; }
.proof-item:first-child { border-inline-start: 0; padding-inline-start: 0; }
.proof-item svg { width: 20px; height: 20px; flex: none; color: var(--signal); margin-top: 3px; }
.proof-item b { display: block; font-size: 17px; line-height: 1.2; color: var(--ink); }
.proof-item b .num { font-size: 20px; }
.proof-item small { display: block; color: var(--subtle-text); font-size: 13px; line-height: 1.35; margin-top: 3px; }

/* Hero entrance (JS on) */
.js .hero-copy > * { opacity: 0; transform: translateY(14px); animation: rise .7s var(--ease-out) forwards; }
.js .hero-copy > :nth-child(1) { animation-delay: .05s } .js .hero-copy > :nth-child(2) { animation-delay: .15s }
.js .hero-copy > :nth-child(3) { animation-delay: .28s } .js .hero-copy > :nth-child(4) { animation-delay: .4s }
.js .hero-copy > :nth-child(5) { animation-delay: .5s }
.js .week { opacity: 0; transform: translateY(20px) scale(.98); animation: rise .8s var(--ease-out) .35s forwards; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ===== Signature: the client's week ===== */
.week { background: linear-gradient(180deg, var(--ink-raised), var(--surface)); border: 1px solid var(--border-strong); border-radius: var(--r-hero); box-shadow: var(--e3), 0 30px 80px rgb(26 126 85 / .12); padding: 18px 18px 16px; font-size: 14px; }
.week-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.week-title { font-weight: 700; font-size: 15px; }
.week-title small { display: block; color: var(--subtle-text); font-weight: 500; font-size: 12.5px; }
.week-range { color: var(--subtle-text); font-size: 13px; }
[dir=ltr] .week-range { font-family: var(--mono); font-size: 12px; }
.week-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.day { background: var(--canvas); border: 1px solid var(--border); border-radius: 12px; min-height: 118px; padding: 8px 6px; display: flex; flex-direction: column; gap: 6px; align-items: center; text-align: center; transition: border-color .3s, box-shadow .3s; position: relative; }
.day .dn { font-family: var(--mono); color: var(--subtle-text); font-size: 12px; }
.day .tag { font-size: 11.5px; font-weight: 700; border-radius: 8px; padding: 3px 6px; width: 100%; background: var(--brand-50); color: var(--brand-700); border: 1px solid var(--brand-200); line-height: 1.3; }
.day .tag.rest { background: var(--subtle); color: var(--subtle-text); border-color: var(--border); font-weight: 500; }
.day .tag.chk { background: #2A2013; color: var(--warning); border-color: rgb(226 164 63 / .35); }
.sets { display: flex; flex-direction: column; gap: 4px; width: 100%; margin-top: 2px; }
.sets i { display: block; height: 6px; border-radius: 3px; background: var(--border); overflow: hidden; position: relative; }
.sets i::after { content: ''; position: absolute; inset: 0; background: var(--signal); transform-origin: var(--origin, left); }
[dir=rtl] .sets i::after { --origin: right; }
.pr { font-size: 10.5px; font-weight: 800; color: var(--canvas); background: var(--signal); border-radius: 999px; padding: 2px 7px; margin-top: auto; white-space: nowrap; }
.week-foot { margin-top: 12px; display: flex; flex-direction: column; gap: 6px; }
.msg { font-size: 13px; color: var(--muted); background: var(--canvas); border: 1px solid var(--border); border-radius: 12px; padding: 8px 12px; max-width: 88%; }
.msg b { color: var(--ink); font-weight: 600; }
.msg.out { align-self: flex-end; background: var(--brand-50); border-color: var(--brand-200); color: var(--brand-900); }
.msg.out b { color: var(--brand-700); }
/* choreography: default (no JS / reduced motion / between cycles) is the finished week */
.week.play .tag, .week.play .pr, .week.play .msg { opacity: 0; animation: pop .45s var(--ease-out) forwards; }
.week.play .sets i::after { transform: scaleX(0); animation: fill .55s var(--ease-out) forwards; }
.week.play .day.lit { animation: lit .5s var(--ease-out) forwards; opacity: 1; }
.day.lit { border-color: var(--brand-500); box-shadow: 0 0 0 1px var(--brand-500), 0 0 24px rgb(47 208 138 / .18); }
.week.play .day.lit { border-color: var(--border); box-shadow: none; }
.week.play .d1 .tag { animation-delay: .25s } .week.play .d2 .tag { animation-delay: .5s } .week.play .d3 .tag { animation-delay: .75s }
.week.play .d4 .tag { animation-delay: 1s } .week.play .d5 .tag { animation-delay: 1.25s } .week.play .d6 .tag { animation-delay: 1.5s } .week.play .d7 .tag { animation-delay: 1.75s }
.week.play .d1.lit { animation-delay: 2.3s }
.week.play .sets i:nth-child(1)::after { animation-delay: 2.6s } .week.play .sets i:nth-child(2)::after { animation-delay: 3.3s } .week.play .sets i:nth-child(3)::after { animation-delay: 4s }
.week.play .pr { animation-delay: 4.8s; animation-name: pop, pulse; animation-duration: .45s, 1.2s; animation-delay: 4.8s, 5.25s; animation-iteration-count: 1, 2; }
.week.play .d6.lit { animation-delay: 6s }
.week.play .msg.in { animation-delay: 6.2s }
.week.play .msg.out { animation-delay: 7.6s }
.week.fade .week-days, .week.fade .week-foot { opacity: 0; transition: opacity .35s ease; }
@keyframes pop { from { opacity: 0; transform: translateY(6px) scale(.92); } to { opacity: 1; transform: none; } }
@keyframes fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes lit { to { border-color: var(--brand-500); box-shadow: 0 0 0 1px var(--brand-500), 0 0 24px rgb(47 208 138 / .18); } }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgb(47 208 138 / .5); } 50% { box-shadow: 0 0 0 6px rgb(47 208 138 / 0); } }

/* Hero video: the app itself, in a phone-shaped frame */
.hero-phone { margin: 0; justify-self: center; width: min(300px, 78%); }
.hero-phone video { display: block; width: 100%; height: auto; aspect-ratio: 600 / 1298; border-radius: 36px; border: 1px solid var(--border-strong); background: var(--surface); box-shadow: var(--e3), 0 30px 80px rgb(26 126 85 / .18); }
.hero-phone figcaption { margin-top: 14px; color: var(--subtle-text); font-size: 13.5px; line-height: 1.5; text-align: center; }
.js .hero-phone { opacity: 0; transform: translateY(20px) scale(.98); animation: rise .8s var(--ease-out) .35s forwards; }

/* The week card, under the three feature cards */
.feature-week { max-width: 640px; margin: 48px auto 0; }
.feature-week .cap { color: var(--muted); font-size: 17px; text-align: center; margin: 0 0 18px; }

/* Who builds it */
.about-body { max-width: 40em; }
.about-body p { color: var(--muted); font-size: 18px; margin: 0 0 16px; }
.about-body .about-sign { color: var(--ink); font-size: 16px; font-weight: 600; margin-top: 22px; }

/* Dashboard band */
.band { padding: 0 0 72px; }
.band .wrap { text-align: center; }
.band .cap { color: var(--muted); font-size: 17px; margin: 0 0 22px; }
.band .cap b { color: var(--ink); font-weight: 600; }
.band picture, .band img { margin: 0 auto; }
.band img { border-radius: var(--r-panel); border: 1px solid var(--border-strong); box-shadow: var(--e3), 0 40px 100px rgb(26 126 85 / .12); background: var(--surface); }

/* Sections */
section { padding: 84px 0; }
section + section { border-top: 1px solid var(--border); }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-panel); padding: 28px 24px; box-shadow: var(--e1); transition: transform .3s var(--ease-out), border-color .3s, box-shadow .3s; }
.card:hover { transform: translateY(-3px); border-color: var(--brand-200); box-shadow: var(--e3); }
.card h3 { margin: 0 0 8px; font-size: 20px; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }
.card ul { margin: 14px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: 15px; }
.card li { margin: 6px 0; padding-inline-start: 18px; position: relative; }
.card li::before { content: ''; position: absolute; inset-inline-start: 0; top: .6em; width: 8px; height: 8px; border-radius: 2px; background: var(--brand-500); transform: rotate(45deg); }
.card li b { color: var(--ink); font-weight: 700; }
.icon { width: 44px; height: 44px; border-radius: 12px; background: var(--brand-50); border: 1px solid var(--brand-200); display: grid; place-items: center; color: var(--signal); margin-bottom: 16px; }
.icon svg { width: 22px; height: 22px; }

/* Client view */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.steps li { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--border); }
.steps li::before { counter-increment: s; content: counter(s); flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--ink-raised); border: 1px solid var(--border-strong); color: var(--signal); font-weight: 700; display: grid; place-items: center; font-family: var(--mono); font-size: 14px; }
.steps b { display: block; margin-bottom: 2px; }
.steps span { color: var(--muted); font-size: 15px; }
.phones { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; align-items: end; }
.phones img { border-radius: 22px; border: 1px solid var(--border-strong); box-shadow: var(--e3); background: var(--surface); transition: transform .5s var(--ease-out); }
.phones picture:nth-child(2) img { transform: translateY(-18px); }
.phones picture:hover img { transform: translateY(-8px) scale(1.02); }
.phones picture:nth-child(2):hover img { transform: translateY(-26px) scale(1.02); }

/* Download / stores */
.download .wrap { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.store { display: inline-flex; align-items: center; gap: 12px; min-height: 60px; padding: 8px 18px 8px 14px; border-radius: 14px; background: #000; color: #fff; border: 1px solid var(--border-strong); position: relative; transition: transform .2s var(--ease-out), border-color .2s; }
.store svg { width: 28px; height: 28px; flex: none; }
.store .t { display: flex; flex-direction: column; line-height: 1.15; text-align: start; }
.store .t small { font-size: 11px; color: #cfd8d3; font-weight: 500; }
.store .t span { font-size: 18px; font-weight: 700; letter-spacing: -.01em; }
a.store:hover { text-decoration: none; transform: translateY(-2px); border-color: var(--brand-700); }
.store.web { background: var(--brand-50); border-color: var(--brand-200); color: var(--ink); }
.store.web .t small { color: var(--brand-700); }
.store[aria-disabled=true] { cursor: default; opacity: .62; }
.store[aria-disabled=true]::after { content: attr(data-soon); position: absolute; top: -10px; inset-inline-end: 12px; background: var(--warning); color: var(--canvas); font-size: 11px; font-weight: 800; padding: 2px 8px; border-radius: 999px; }
.download-visual { position: relative; display: grid; place-items: center; }
.download-visual .phone { width: min(300px, 70%); border-radius: 30px; border: 1px solid var(--border-strong); box-shadow: var(--e3), 0 40px 100px rgb(26 126 85 / .15); background: var(--surface); }
.download-visual::before { content: ''; position: absolute; inset: 10% 5%; border-radius: 50%; background: radial-gradient(closest-side, rgb(26 126 85 / .35), transparent); z-index: -1; filter: blur(10px); }
.stores-note { color: var(--subtle-text); font-size: 14px; margin: 14px 0 0; }

/* Pricing */
.toggle { position: relative; display: inline-flex; background: var(--subtle); border: 1px solid var(--border); border-radius: 999px; padding: 4px; margin-bottom: 30px; isolation: isolate; }
.toggle::before { content: ''; position: absolute; top: 4px; bottom: 4px; inset-inline-start: 4px; width: calc(50% - 4px); border-radius: 999px; background: var(--brand-500); z-index: -1; transition: transform .3s var(--ease-out); }
[dir=ltr] .toggle[data-active=year]::before { transform: translateX(100%); }
[dir=rtl] .toggle[data-active=year]::before { transform: translateX(-100%); }
.toggle button { flex: 1 1 0; border: 0; background: transparent; color: var(--muted); font: inherit; font-weight: 600; padding: 8px 18px; border-radius: 999px; cursor: pointer; min-height: 40px; transition: color .2s; white-space: nowrap; }
.toggle button[aria-pressed=true] { color: #fff; }
.toggle .save { font-size: 12px; color: var(--signal); margin-inline-start: 6px; }
.toggle button[aria-pressed=true] .save { color: var(--brand-900); }
.plan { position: relative; display: flex; flex-direction: column; }
.plan.featured { border-color: transparent; background: linear-gradient(var(--surface), var(--surface)) padding-box, linear-gradient(135deg, var(--signal), var(--brand-500) 60%, var(--brand-200)) border-box; box-shadow: var(--e3), 0 0 60px rgb(47 208 138 / .08); }
.plan.featured:hover { border-color: transparent; }
.plan .tag { position: absolute; top: -13px; inset-inline-start: 20px; background: var(--signal); color: var(--canvas); font-size: 12px; font-weight: 800; padding: 4px 10px; border-radius: 999px; }
.plan h3 { font-size: 24px; margin-bottom: 2px; }
.plan .who { color: var(--brand-700); font-size: 14px; font-weight: 600; margin: 0 0 4px; }
.plan .cap { color: var(--muted); font-size: 15px; margin: 0 0 18px; }
.price { display: flex; align-items: baseline; gap: 6px; margin: 4px 0 2px; }
.price .amt { font-size: 44px; font-weight: 700; font-family: var(--mono); letter-spacing: -.02em; display: inline-block; }
.price .amt.swap { animation: swap .35s var(--ease-out); }
@keyframes swap { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.price .per { color: var(--subtle-text); font-size: 15px; }
.price-year { color: var(--subtle-text); font-size: 14px; min-height: 22px; margin-bottom: 18px; }
.plan ul { list-style: none; margin: 0 0 22px; padding: 0; color: var(--muted); font-size: 15px; }
.plan li { padding: 5px 0; padding-inline-start: 0; }
.plan li::before { content: none; }
.plan li::after { content: none; }
.plan li { display: flex; gap: 8px; align-items: baseline; }
.plan li i { flex: none; width: 16px; height: 16px; border-radius: 50%; background: var(--brand-50); border: 1px solid var(--brand-200); position: relative; top: 2px; }
.plan li i::after { content: ''; position: absolute; left: 5px; top: 2px; width: 4px; height: 7px; border: solid var(--signal); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.plan .btn { margin-top: auto; }
.founding { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; background: var(--warning-tint); border: 1px solid rgb(226 164 63 / .35); border-radius: var(--r-panel); padding: 18px 22px; }
.founding b { color: var(--warning); }
.founding p { margin: 0; color: var(--muted); font-size: 15px; }
.all-in { margin-top: 18px; color: var(--subtle-text); font-size: 14px; }

/* FAQ */
.faq { max-width: 760px; }
details { border-bottom: 1px solid var(--border); padding: 4px 0; }
summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 0; font-weight: 700; font-size: 17px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; color: var(--brand-700); font-size: 22px; font-weight: 400; flex: none; font-family: var(--mono); transition: transform .3s var(--ease-out); }
details[open] summary::after { transform: rotate(45deg); }
.faq-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s var(--ease-out); }
.faq-body > div { overflow: hidden; }
details[open] .faq-body { grid-template-rows: 1fr; }
.faq-body p { margin: 0 0 18px; color: var(--muted); }

/* Final CTA */
.final { text-align: center; background: linear-gradient(180deg, var(--canvas), var(--ink-surface)); position: relative; overflow: hidden; }
.final::before { content: ''; position: absolute; inset: auto -10% -60% -10%; height: 120%; background: radial-gradient(50% 50% at 50% 100%, rgb(26 126 85 / .35), transparent 70%); pointer-events: none; }
.final .wrap { position: relative; }
.final h2 { margin-bottom: 10px; }

/* Footer */
footer { border-top: 1px solid var(--border); padding: 48px 0 36px; color: var(--subtle-text); font-size: 14px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.foot-grid h3 { margin: 0 0 12px; color: var(--ink); font-size: 14px; font-weight: 700; }
.foot-grid nav { display: flex; flex-direction: column; gap: 8px; }
.foot-grid a { color: var(--subtle-text); }
.foot-grid a:hover { color: var(--ink); }
.foot-brand p { margin: 10px 0 0; max-width: 28em; }
.foot-grid .stores { flex-direction: column; align-items: flex-start; gap: 8px; }
.foot-grid .store { min-height: 44px; padding: 4px 12px; gap: 8px; border-radius: 10px; }
.foot-grid .store svg { width: 20px; height: 20px; }
.foot-grid .store .t span { font-size: 14px; }
.foot-grid .store .t small { font-size: 10px; }
.foot-grid .store[aria-disabled=true]::after { font-size: 10px; top: -8px; }
.foot-bottom { margin-top: 32px; padding-top: 18px; border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
.foot-bottom a { color: var(--subtle-text); }

/* Motion off */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal], .js .hero-copy > *, .js .week, .js .hero-phone { opacity: 1; transform: none; }
  .week.play .tag, .week.play .pr, .week.play .msg { opacity: 1; }
  .week.play .sets i::after { transform: none; }
}

/* Mobile */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .proof { grid-template-columns: repeat(3, 1fr); gap: 20px 0; }
  .proof-item:nth-child(3n+1) { border-inline-start: 0; padding-inline-start: 0; }
}
@media (max-width: 860px) {
  .hero { padding-top: 40px; }
  .split, .download .wrap { grid-template-columns: 1fr; gap: 36px; }
  .proof { grid-template-columns: 1fr 1fr; gap: 18px 0; margin-top: 44px; }
  .proof-item:nth-child(odd) { border-inline-start: 0; padding-inline-start: 0; }
  .proof-item:nth-child(even) { padding-inline-end: 0; }
  .grid3 { grid-template-columns: 1fr; }
  .phones { gap: 8px; }
  .phones picture:nth-child(2) img { transform: none; }
  section { padding: 56px 0; }
  h1 { font-size: clamp(46px, 13vw, 64px); }
  h2 { font-size: clamp(34px, 9vw, 44px); }
  .menu-btn { display: grid; }
  .nav { display: none; position: absolute; top: 64px; inset-inline: 0; flex-direction: column; align-items: stretch; gap: 0; background: rgb(11 16 14 / .96); backdrop-filter: blur(14px); border-bottom: 1px solid var(--border); padding: 8px 20px 16px; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--border); font-size: 16px; }
  .nav .btn { margin-top: 12px; border-bottom: 0; }
  .week { padding: 14px 12px 12px; }
  .week-days { gap: 4px; }
  .day { min-height: 104px; padding: 6px 3px; border-radius: 10px; }
  .day .tag { font-size: 10px; padding: 3px 3px; }
  .day .dn { font-size: 11px; }
  .pr { font-size: 9.5px; padding: 2px 5px; }
  .msg { max-width: 100%; }
  .download-visual .phone { width: min(260px, 70%); }
  .hero-phone { width: min(260px, 72%); }
  .about-body p { font-size: 17px; }
}
@media (max-width: 560px) {
  .foot-grid { grid-template-columns: 1fr; gap: 24px; }
  .stores { flex-direction: column; align-items: stretch; }
  .store { justify-content: center; }
  .founding { flex-direction: column; align-items: stretch; text-align: center; }
}
