/* Liftrung — site styles. Palette from the app's DesignTokens.swift / SharedPalette.swift:
   true black, violet chrome, cyan only for the single primary action, no grey. */
@font-face { font-family: "Big Shoulders"; src: url(fonts/big-shoulders-latin.woff2) format("woff2"); font-weight: 500 900; font-display: swap; }

:root {
  --bg: #000;
  --ink: #F4F6F8;          /* SharedPalette.ink */
  --soft: #B9A3FF;         /* SharedPalette.muted — violet secondary text, 9.7:1 on black */
  --violet: #8B5CF6;       /* DT.train */
  --card: #120E1E;         /* DT.cardBase */
  --card-2: #1E1830;       /* SharedPalette.card2 */
  --line: rgba(185, 163, 255, .18); /* SharedPalette.hairline */
  --line-strong: rgba(185, 163, 255, .34);
  --cyan: #37B6D9;         /* SharedPalette.accent — the one primary action */
  --cyan-hi: #6CD3EE;
  --on-cyan: #04222A;      /* DT.inkOnCyan */
  --gold: #FFC72C;         /* DT.prGold */
  --bad: #FF8A7A;
  --display: "Big Shoulders", system-ui, sans-serif;
  --text: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, sans-serif;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --wrap: 1240px;
  --gutter: clamp(1rem, 4vw, 3rem);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { background: var(--bg); color: var(--ink); font: 100%/1.55 var(--text); -webkit-font-smoothing: antialiased; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5rem; }
body { min-height: 100vh; display: flex; flex-direction: column; }
html, body { overflow-x: clip; }
main { flex: 1; }
img, svg { display: block; max-width: 100%; height: auto; }
::selection { background: var(--violet); color: #fff; }
a { color: var(--cyan-hi); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--cyan-hi); outline-offset: 3px; border-radius: 6px; }
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--card-2); border: 3px solid var(--bg); border-radius: 99px; }
html { scrollbar-color: var(--card-2) var(--bg); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 20; background: var(--cyan); color: var(--on-cyan); padding: .7rem 1rem; border-radius: 10px; font-weight: 700; }
.skip:focus { top: 1rem; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.num { font-variant-numeric: tabular-nums; }


/* ---------- Nav (translucent material, content scrolls under) ---------- */
.nav { position: sticky; top: 0; z-index: 10; background: rgba(0, 0, 0, .72); backdrop-filter: blur(20px) saturate(160%); -webkit-backdrop-filter: blur(20px) saturate(160%); box-shadow: 0 1px 0 var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 1.5rem; min-height: 4.25rem; }
.brand { display: inline-flex; align-items: center; gap: .55rem; color: var(--ink); text-decoration: none; font-weight: 800; font-size: 1.15rem; letter-spacing: -.01em; }
.brand svg { width: 26px; }
.nav nav { margin-inline-start: auto; }
.nav ul { display: flex; align-items: center; gap: 1.5rem; list-style: none; padding: 0; }
.nav ul a { color: var(--soft); text-decoration: none; font-weight: 500; font-size: .95rem; padding: .5rem 0; }
.nav ul a:hover, .nav ul a[aria-current="page"] { color: var(--ink); }
.nav .btn { padding: .7rem 1.1rem; font-size: .9rem; }
@media (max-width: 760px) { .nav ul .hide-sm { display: none; } .nav ul { gap: 1rem; } }
@media (prefers-reduced-transparency: reduce) { .nav { background: #000; backdrop-filter: none; -webkit-backdrop-filter: none; } }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 48px; border: 0; border-radius: 999px; padding: .95rem 1.5rem; font: inherit; font-size: 1rem; font-weight: 650; line-height: 1.1; text-decoration: none; cursor: pointer; transition: transform 100ms ease-out, background-color 150ms ease-out, box-shadow 150ms ease-out; }
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--cyan); color: var(--on-cyan); }
.btn-primary:hover { background: var(--cyan-hi); }
.btn-quiet { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-strong); }
.btn-quiet:hover { box-shadow: inset 0 0 0 1.5px var(--soft); }
.btn[aria-disabled="true"] { opacity: .6; cursor: progress; }
.btn svg { width: 1.1em; height: 1.1em; }

/* ---------- Type ---------- */
.display { font-family: var(--display); font-weight: 900; text-transform: uppercase; line-height: .86; letter-spacing: -.005em; text-wrap: balance; }
.h-xl { font-size: clamp(3.4rem, 9.6vw, 7.6rem); }
.h-l { font-size: clamp(2.6rem, 6.4vw, 5rem); }
.h-m { font-size: clamp(2rem, 4.2vw, 3.2rem); }
.accent { color: var(--cyan); }
.lede { font-size: clamp(1.08rem, 1.6vw, 1.3rem); line-height: 1.5; max-width: 38ch; }
.lede strong { color: var(--soft); font-weight: 600; }
.fine { font-size: .875rem; color: var(--soft); max-width: 60ch; }
.label { font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: .06em; font-size: 1rem; color: var(--soft); }
p + p { margin-top: .9em; }

/* ---------- Sections ---------- */
.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.section-tight { padding-block: clamp(3rem, 7vw, 5rem); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.center { text-align: center; }
.center .lede { margin-inline: auto; }
.stack > * + * { margin-top: 1.25rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
.center .cta-row { justify-content: center; }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(2.5rem, 7vw, 6rem) clamp(3.5rem, 8vw, 6rem); position: relative; isolation: isolate; overflow-x: clip; }
.hero::before { content: ""; position: absolute; inset: -10% -10% auto auto; width: min(70vw, 900px); aspect-ratio: 1; background: radial-gradient(closest-side, rgba(139, 92, 246, .30), rgba(139, 92, 246, 0)); z-index: -1; pointer-events: none; }
.hero .split { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
@media (max-width: 900px) { .hero .split { grid-template-columns: 1fr; } }
.hero h1 { margin-bottom: 1.6rem; }
.hero .cta-row { margin-block: 2rem 1rem; }

/* Set card: the "beat last time" proof */
.setcard { position: relative; background: var(--card); border-radius: 28px; padding: clamp(1.25rem, 2.6vw, 2rem); box-shadow: 0 40px 80px -30px rgba(139, 92, 246, .55), inset 0 1px 0 rgba(255, 255, 255, .06); }
.setcard header { display: flex; flex-direction: column; gap: .1rem; margin-bottom: 1.25rem; padding-inline-end: 7rem; }
.setcard .ex { font-weight: 700; font-size: 1.15rem; }
.setcard .tag { font-size: .875rem; color: var(--soft); }
.setrow { display: grid; grid-template-columns: 6.5rem 1fr; align-items: baseline; gap: 1rem; padding-block: .9rem; border-top: 1px solid var(--line); }
.setrow dt { color: var(--soft); font-weight: 600; }
.setrow dd { font-family: var(--display); font-weight: 800; font-size: clamp(2.2rem, 4.6vw, 3.4rem); line-height: 1; font-variant-numeric: tabular-nums; }
.setrow dd small { font-size: .5em; font-weight: 700; color: var(--soft); margin-inline: .15em .35em; }
.setrow.was dd { color: var(--soft); font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
.setrow.now dd { color: var(--cyan); }
.setrow.now { position: relative; }
.stamp { position: absolute; inset-inline-end: 0; top: 50%; margin-top: -1.3rem; font-family: var(--display); font-weight: 900; font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--gold); border: 3px solid var(--gold); border-radius: 10px; padding: .1em .45em .05em; transform: rotate(-8deg); letter-spacing: .04em; }
.rungs { display: flex; align-items: center; gap: .8rem; margin-top: 1.4rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.rungs .g { position: relative; width: 40px; flex: none; opacity: .38; transition: opacity 400ms var(--ease-out), transform 500ms var(--ease-out); }
.rungs .g.on { opacity: 1; }
.rungs .g.up { opacity: 1; transform: translateY(-4px) scale(1.18); }
.rungs .to { margin-inline-start: auto; text-align: end; font-size: .9rem; color: var(--soft); }
.rungs .to b { display: block; color: var(--ink); font-size: 1.05rem; }
.jules-perch { position: absolute; top: -78px; inset-inline-end: -18px; width: clamp(96px, 11vw, 132px); transform: rotate(9deg); }
@media (max-width: 900px) { .setcard { margin-top: 4.5rem; } .jules-perch { top: -70px; inset-inline-end: 8px; } }

/* ---------- One app instead of two ---------- */
.merge { display: grid; grid-template-columns: 1fr auto 1fr; gap: clamp(.75rem, 2vw, 1.5rem); align-items: center; max-width: 820px; margin: 3rem auto 0; }
.app-tile { background: var(--card); border-radius: 22px; padding: 1.25rem 1.4rem; box-shadow: inset 0 0 0 1px var(--line); }
.app-tile h3 { font-size: 1rem; color: var(--soft); font-weight: 600; margin-bottom: .4rem; }
.app-tile p { font-weight: 700; font-size: 1.1rem; }
.merge .plus { font-family: var(--display); font-size: 2.6rem; font-weight: 900; color: var(--soft); }
.merged { max-width: 820px; margin: 1.25rem auto 0; display: flex; align-items: center; justify-content: center; gap: 1rem; background: linear-gradient(135deg, #1E1335, #0F1C2A); border-radius: 22px; padding: 1.25rem 1.5rem; box-shadow: inset 0 0 0 1.5px rgba(108, 211, 238, .45); }
.merged svg { width: 40px; }
.merged p { font-weight: 700; font-size: clamp(1.05rem, 2vw, 1.3rem); }
@media (max-width: 640px) { .merge { grid-template-columns: 1fr; } .merge .plus { justify-self: center; line-height: 1; } }

/* ---------- Scan scene ---------- */
.scan { position: relative; border-radius: 28px; overflow: hidden; background: var(--card); aspect-ratio: 1; max-width: 560px; justify-self: center; width: 100%; }
.scan img { width: 100%; height: 100%; object-fit: cover; }
.scan .corners { position: absolute; inset: 9%; pointer-events: none; }
.scan .corners span { position: absolute; width: 14%; aspect-ratio: 1; border: 4px solid #fff; border-radius: 6px; }
.scan .corners span:nth-child(1) { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.scan .corners span:nth-child(2) { top: 0; right: 0; border-left: 0; border-bottom: 0; }
.scan .corners span:nth-child(3) { bottom: 0; left: 0; border-right: 0; border-top: 0; }
.scan .corners span:nth-child(4) { bottom: 0; right: 0; border-left: 0; border-top: 0; }
.scan .beam { position: absolute; inset-inline: 6%; top: 8%; height: 3px; border-radius: 3px; background: var(--cyan-hi); box-shadow: 0 0 24px 6px rgba(108, 211, 238, .55); opacity: 0; }
.chips { position: absolute; inset: auto 4% 4% 4%; display: flex; flex-wrap: wrap; gap: .4rem; }
.chip { background: #000; color: var(--ink); border-radius: 12px; padding: .4rem .65rem; font-size: .82rem; font-weight: 600; box-shadow: 0 6px 16px rgba(0, 0, 0, .45); }
.chip b { color: var(--cyan-hi); font-weight: 700; margin-inline-start: .3rem; }
.totals { background: var(--card); border-radius: 22px; padding: 1.4rem 1.5rem; margin-top: 1.5rem; box-shadow: inset 0 0 0 1px var(--line); }
.totals .kcal { font-family: var(--display); font-weight: 900; font-size: clamp(2.8rem, 6vw, 4rem); line-height: 1; }
.totals .kcal small { font-size: .4em; color: var(--soft); margin-inline-start: .25em; }
.macros { display: grid; gap: .65rem; margin-top: 1.1rem; }
.macro { display: grid; grid-template-columns: 4.6rem 1fr 3.4rem; gap: .75rem; align-items: center; font-size: .92rem; }
.macro .bar { height: 10px; border-radius: 99px; background: var(--card-2); overflow: hidden; }
.macro .bar i { display: block; height: 100%; border-radius: inherit; width: var(--w); transform-origin: left; }
.macro.p i { background: #FF7DAD; } .macro.c i { background: #F7B85C; } .macro.f i { background: #69F0B4; }
.macro .v { text-align: end; font-weight: 700; }

/* ---------- Ladder ---------- */
.ladder { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); align-items: end; gap: clamp(.3rem, 1.2vw, 1rem); margin-top: 3.5rem; position: relative; }
.ladder li { list-style: none; display: grid; justify-items: center; gap: .6rem; padding-bottom: calc(var(--i) * clamp(.6rem, 1.6vw, 1.4rem)); transition: opacity 500ms var(--ease-out), transform 600ms var(--ease-out); }
.ladder li svg { width: clamp(28px, 6vw, 64px); }
.ladder li span { font-size: clamp(.62rem, 1.1vw, .8rem); color: var(--soft); text-align: center; line-height: 1.2; }
.ladder li b { display: block; color: var(--ink); font-size: 1.1em; }
.ladder { padding: 0; }
@media (max-width: 640px) { .ladder li span { display: none; } .ladder li:first-child span, .ladder li:last-child span { display: block; } }
.jules-top { width: clamp(110px, 16vw, 180px); margin: 0 auto 1.5rem; }

/* ---------- Reasons ---------- */
.reasons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 4vw, 3.5rem) clamp(2rem, 6vw, 6rem); margin-top: 3.5rem; }
.reasons > div { display: grid; grid-template-columns: 44px 1fr; gap: 1.1rem; align-items: start; }
.reasons svg { width: 44px; }
.reasons h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); line-height: 1.2; letter-spacing: -.01em; margin-bottom: .4rem; }
.reasons p { color: var(--soft); }
@media (max-width: 760px) { .reasons { grid-template-columns: 1fr; } }

/* ---------- Pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin-top: 2.75rem; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; gap: .35rem; background: var(--card); border-radius: 22px; padding: 1.5rem 1.4rem; box-shadow: inset 0 0 0 1px var(--line); }
.plan.best { background: linear-gradient(160deg, #22164A, #120E1E 60%); box-shadow: inset 0 0 0 2px var(--cyan); }
.plan .flag { position: absolute; top: -.8rem; inset-inline-start: 1.2rem; background: var(--cyan); color: var(--on-cyan); font-weight: 750; font-size: .78rem; padding: .3rem .65rem; border-radius: 99px; }
.plan h3 { font-size: 1.05rem; color: var(--soft); font-weight: 650; }
.plan .price { font-family: var(--display); font-weight: 900; font-size: 2.6rem; line-height: 1; margin-top: .3rem; }
.plan .per { font-size: .95rem; font-weight: 600; }
.plan .note { font-size: .875rem; color: var(--soft); margin-top: auto; padding-top: .9rem; }
.free-line { margin-top: 1rem; display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; align-items: center; background: var(--card); border-radius: 22px; padding: 1.2rem 1.4rem; box-shadow: inset 0 0 0 1px var(--line); }
.free-line strong { font-size: 1.1rem; }
.free-line span { color: var(--soft); }
@media (max-width: 980px) { .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 1.6rem; } }
@media (max-width: 520px) { .plans { grid-template-columns: 1fr; } }
.compare { width: 100%; border-collapse: collapse; margin-top: 2rem; font-size: .98rem; }
.compare th, .compare td { padding: .9rem .6rem; border-bottom: 1px solid var(--line); text-align: start; }
.compare thead th { color: var(--soft); font-weight: 600; }
.compare td:not(:first-child), .compare th:not(:first-child) { text-align: center; width: 7.5rem; }
.yes { color: var(--cyan-hi); font-weight: 700; }
.no { color: var(--soft); }

/* ---------- FAQ ---------- */
.faq { margin-top: 2rem; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 1rem; align-items: center; padding: 1.15rem .2rem; font-weight: 650; font-size: 1.08rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 12px; height: 12px; flex: none; border-right: 2.5px solid var(--soft); border-bottom: 2.5px solid var(--soft); transform: rotate(45deg) translateY(-3px); transition: transform 200ms var(--ease-out); }
.faq details[open] summary::after { transform: rotate(225deg) translateY(-1px); }
.faq .a { padding: 0 .2rem 1.3rem; color: var(--ink); max-width: 70ch; }
.faq .a p, .faq .a li { color: var(--soft); }
.faq .a strong { color: var(--ink); }
.faq .a ol, .faq .a ul { padding-inline-start: 1.3rem; margin-top: .6rem; }
.faq-group { margin-top: 3rem; }

/* ---------- Waitlist form ---------- */
.signup { background: radial-gradient(120% 140% at 50% 0%, #22164A 0%, #0B0814 60%); border-radius: 32px; padding: clamp(2rem, 6vw, 4.5rem) clamp(1.25rem, 5vw, 4rem); box-shadow: inset 0 0 0 1px var(--line); }
.form { display: grid; gap: .9rem; max-width: 520px; margin: 2rem auto 0; text-align: start; }
.field { display: flex; gap: .6rem; flex-wrap: wrap; }
.field input[type="email"] { flex: 1 1 240px; min-height: 52px; border-radius: 999px; border: 0; background: #000; color: var(--ink); padding: 0 1.3rem; font: inherit; font-size: 1.05rem; box-shadow: inset 0 0 0 1.5px var(--line-strong); }
.field input[type="email"]::placeholder { color: #9C88E0; }
.field input[type="email"]:focus-visible { outline: 3px solid var(--cyan-hi); outline-offset: 2px; }
.consent { display: grid; grid-template-columns: auto 1fr; gap: .7rem; align-items: start; font-size: .9rem; color: var(--soft); }
.consent input { width: 22px; height: 22px; margin-top: .1rem; accent-color: var(--cyan); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.status { min-height: 1.5em; font-weight: 600; }
.status.ok { color: var(--cyan-hi); }
.status.err { color: var(--bad); }
.cf-turnstile { min-height: 0; }

/* ---------- Prose (legal, statements) ---------- */
.doc { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); padding-block: clamp(2.5rem, 6vw, 4.5rem) 5rem; }
.doc nav ol { list-style: none; padding: 0; position: sticky; top: 6rem; display: grid; gap: .55rem; font-size: .9rem; }
.doc nav a { color: var(--soft); text-decoration: none; }
.doc nav a:hover { color: var(--ink); }
@media (max-width: 900px) { .doc { grid-template-columns: 1fr; } .doc nav { display: none; } }
.prose { max-width: 72ch; }
.prose h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); line-height: 1.05; letter-spacing: -.02em; margin-bottom: 1rem; }
.prose h2 { font-size: 1.55rem; line-height: 1.2; margin: 2.6rem 0 .8rem; letter-spacing: -.01em; }
.prose h3 { font-size: 1.15rem; margin: 1.8rem 0 .5rem; }
.prose p, .prose li { color: var(--ink); }
.prose ul, .prose ol { padding-inline-start: 1.35rem; margin-block: .8rem; display: grid; gap: .45rem; }
.prose code { font-size: .9em; background: var(--card); padding: .1em .35em; border-radius: 6px; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.4rem 0; }
.prose blockquote { border-inline-start: 1px solid var(--line-strong); padding-inline-start: 1rem; color: var(--soft); }
.notice { background: var(--card); border-radius: 16px; padding: 1rem 1.2rem; box-shadow: inset 0 0 0 1.5px rgba(255, 199, 44, .55); margin-bottom: 2rem; }
.notice strong { color: var(--gold); }
.steps { counter-reset: s; list-style: none; padding: 0 !important; display: grid; gap: 1rem !important; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 2.4rem 1fr; gap: 1rem; align-items: start; background: var(--card); border-radius: 18px; padding: 1.1rem 1.2rem; }
.steps li::before { content: counter(s); font-family: var(--display); font-weight: 900; font-size: 1.6rem; line-height: 1; color: var(--cyan); }
.meta { color: var(--soft); font-size: .9rem; }

/* ---------- Footer ---------- */
.foot { border-top: 1px solid var(--line); padding-block: 3rem 2.5rem; margin-top: 2rem; }
.foot .wrap { display: grid; grid-template-columns: 1.2fr repeat(3, 1fr); gap: 2rem; }
.foot h2 { font-size: .85rem; font-weight: 650; color: var(--soft); margin-bottom: .8rem; }
.foot ul { list-style: none; padding: 0; display: grid; gap: .5rem; }
.foot a { color: var(--ink); text-decoration: none; font-size: .95rem; }
.foot a:hover { text-decoration: underline; }
.foot .fine { margin-top: 1rem; }
@media (max-width: 760px) { .foot .wrap { grid-template-columns: 1fr 1fr; } .foot .wrap > :first-child { grid-column: 1 / -1; } }

/* ---------- Motion: scenes play once, then settle. Without JS or with
   reduced motion the final frame renders (html.js is only set when motion runs). ---------- */
.js [data-scene] .rise { opacity: 0; transform: translateY(28px); transition: opacity 700ms var(--ease-out), transform 900ms var(--ease-out); transition-delay: calc(var(--d, 0) * 1ms); }
.js [data-scene].play .rise { opacity: 1; transform: none; }
.js .stamp { opacity: 0; transform: rotate(-8deg) scale(1.6); transition: opacity 180ms ease-out, transform 380ms var(--ease-out); }
.js .play .stamp.on { opacity: 1; transform: rotate(-8deg) scale(1); }
.js .merge .app-tile { transition: transform 900ms var(--ease-out), opacity 700ms var(--ease-out); }
.js .merge .app-tile:first-child { transform: translateX(-24px); opacity: 0; }
.js .merge .app-tile:last-child { transform: translateX(24px); opacity: 0; }
.js .merge .plus { opacity: 0; transition: opacity 400ms 300ms; }
.js .play .merge .app-tile { transform: none; opacity: 1; }
.js .play .merge .plus { opacity: 1; }
.js .merged { opacity: 0; transform: translateY(16px) scale(.97); transition: opacity 600ms 700ms var(--ease-out), transform 800ms 700ms var(--ease-out); }
.js .play .merged { opacity: 1; transform: none; }
.js .scan .chip { opacity: 0; transform: translateY(10px) scale(.94); transition: opacity 350ms var(--ease-out), transform 450ms var(--ease-out); transition-delay: calc(1300ms + var(--i) * 140ms); }
.js .play .scan .chip { opacity: 1; transform: none; }
.js .play .scan .beam { animation: beam 1300ms var(--ease-out) 200ms 1 both; }
@keyframes beam { 0% { opacity: 0; top: 8%; } 12% { opacity: 1; } 85% { opacity: 1; } 100% { opacity: 0; top: 90%; } }
.js .macro .bar i { transform: scaleX(0); transition: transform 1100ms var(--ease-out); transition-delay: calc(1500ms + var(--i) * 120ms); }
.js .play .macro .bar i { transform: scaleX(1); }
.js .ladder li svg { opacity: .18; transform: translateY(14px); transition: opacity 500ms var(--ease-out), transform 600ms var(--ease-out); transition-delay: calc(var(--i) * 110ms); }
.js .play .ladder li svg { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn:active { transform: none; } }

/* ---------- Rhythm fixes (inspection round 1) ---------- */
.display + .lede, .display + p { margin-top: 1.4rem; }
.center .display + .lede { margin-top: 1.4rem; }
@media (max-width: 640px) {
  .ladder li span, .ladder li:first-child span, .ladder li:last-child span { display: none; }
  .ladder-ends { display: flex !important; }
  .scan .chip { font-size: .74rem; padding: .32rem .5rem; }
}
.ladder-ends { display: none; justify-content: space-between; margin-top: 1rem; font-size: .85rem; color: var(--soft); }
.ladder-ends b { color: var(--ink); }
@media (max-width: 520px) { .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem .7rem; } .plan { padding: 1.3rem 1rem; } .plan .price { font-size: 2.1rem; } }
@media (max-width: 359px) { .plans { grid-template-columns: 1fr; } }
@media (max-width: 520px) {
  .setrow { grid-template-columns: 1fr; gap: .35rem; }
  .stamp { top: auto; bottom: 1rem; margin-top: 0; }
}

/* ---------- Inspection round 2 ---------- */
/* Long URLs and emails never push the page sideways. */
.prose, .faq .a, .free-line, .fine, .foot { overflow-wrap: anywhere; }
/* Checkbox: drawn, not the browser's grey box. */
.consent input { appearance: none; -webkit-appearance: none; width: 22px; height: 22px; flex: none; margin: .1rem 0 0; border-radius: 6px; border: 2px solid var(--soft); background: #000; display: grid; place-content: center; cursor: pointer; }
.consent input::after { content: ""; width: 11px; height: 6px; border-left: 2.5px solid var(--on-cyan); border-bottom: 2.5px solid var(--on-cyan); transform: rotate(-45deg) translate(1px, -1px); opacity: 0; }
.consent input:checked { background: var(--cyan); border-color: var(--cyan); }
.consent input:checked::after { opacity: 1; }
/* Compare table on phones: the feature column gets the room. */
@media (max-width: 640px) {
  .compare td:not(:first-child), .compare th:not(:first-child) { width: 3.6rem; padding-inline: .2rem; }
  .compare th, .compare td { font-size: .92rem; }
  .field .btn { flex: 1 1 100%; }
}
/* Text pages share the display heading voice. */
.prose h1 { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(2.6rem, 6.4vw, 5rem); line-height: .9; letter-spacing: -.005em; }
.steps li { gap: 1.1rem; grid-template-columns: 2rem 1fr; }
/* 200% text size on phones (WCAG 1.4.4): nav wraps, display type caps to the viewport. */
.nav .wrap { flex-wrap: wrap; row-gap: .5rem; padding-block: .5rem; }
.h-xl { font-size: min(clamp(3.4rem, 9.6vw, 7.6rem), 21vw); }
.h-l { font-size: min(clamp(2.6rem, 6.4vw, 5rem), 15vw); }
.split > * { min-width: 0; }
.display { overflow-wrap: break-word; }
.field input[type="email"] { min-width: 0; }
@media (max-width: 640px) { .field input[type="email"] { flex-basis: 100%; } }
.form { grid-template-columns: minmax(0, 1fr); }
.form > *, .field > * { min-width: 0; }
.btn { text-align: center; }
@media (max-width: 520px) { .plan .price { font-size: min(2.1rem, 9.5vw); } }

/* ---------- Round 3: brand, nav menu, deeper home, features, exercises, tools ---------- */
.brand img { display: block; height: 30px; width: auto; }
.foot .brand img { height: 34px; }
.nav .wrap { gap: 1.25rem; }
.nav-links { margin-inline-start: auto; }
.nav-links ul { display: flex; gap: 1.4rem; list-style: none; padding: 0; }
.nav-links a { color: var(--soft); text-decoration: none; font-weight: 500; font-size: .95rem; padding: .5rem 0; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); }
.menu { display: none; position: relative; }
.menu summary { list-style: none; cursor: pointer; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; box-shadow: inset 0 0 0 1.5px var(--line-strong); }
.menu summary::-webkit-details-marker { display: none; }
.menu summary span, .menu summary span::before, .menu summary span::after { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; }
.menu summary span::before, .menu summary span::after { content: ""; position: absolute; left: 0; }
.menu summary span::before { top: -6px; } .menu summary span::after { top: 6px; }
.menu[open] summary span { background: transparent; }
.menu[open] summary span::before { top: 0; transform: rotate(45deg); }
.menu[open] summary span::after { top: 0; transform: rotate(-45deg); }
.menu nav { position: absolute; right: 0; top: calc(100% + .5rem); min-width: 220px; background: var(--card); border-radius: 18px; padding: .5rem; box-shadow: 0 20px 40px -10px rgba(0,0,0,.8), inset 0 0 0 1px var(--line); }
.menu ul { list-style: none; padding: 0; display: grid; }
.menu a { display: block; padding: .8rem 1rem; color: var(--ink); text-decoration: none; border-radius: 12px; font-weight: 600; }
.menu a:hover, .menu a[aria-current="page"] { background: var(--card-2); }
@media (max-width: 900px) { .nav-links { display: none; } .menu { display: block; } .nav .btn { margin-inline-start: auto; } }
@media (max-width: 400px) { .nav .btn { padding: .6rem .8rem; font-size: .82rem; } }

.lockup { width: min(300px, 70%); height: auto; margin-bottom: 1.5rem; }
.jules-perch { width: auto; }
.jules-perch img { width: clamp(110px, 12vw, 150px); height: auto; filter: drop-shadow(0 12px 24px rgba(0,0,0,.6)); }
.jules-top img, .jules-sign img { margin-inline: auto; height: auto; }
.jules-top img { width: clamp(150px, 18vw, 200px); }
.jules-sign img { width: 130px; margin-bottom: 1rem; }

/* App tour (tabs). Without JS every panel shows, stacked. */
.tour { margin-top: 2.5rem; }
.tour-tabs { display: flex; flex-wrap: wrap; gap: .5rem; }
.tour-tabs button { display: inline-flex; align-items: center; gap: .5rem; min-height: 48px; padding: 0 1.2rem; border: 0; border-radius: 999px; background: var(--card); color: var(--soft); font: inherit; font-weight: 650; cursor: pointer; box-shadow: inset 0 0 0 1px var(--line); }
.tour-tabs button[aria-selected="true"] { background: var(--card-2); color: var(--ink); box-shadow: inset 0 0 0 2px var(--violet); }
.tour-panel { margin-top: 1.5rem; background: var(--card); border-radius: 28px; padding: clamp(1.4rem, 3vw, 2.4rem); box-shadow: inset 0 0 0 1px var(--line); }
.js-tabs .tour-panel[data-inactive] { display: none; }
.js-tabs .tour-panel { animation: panel-in 380ms var(--ease-out); }
@keyframes panel-in { from { opacity: 0; transform: translateY(8px); } }
@media (prefers-reduced-motion: reduce) { .js-tabs .tour-panel { animation: none; } }
.tour-title { font-size: clamp(1.5rem, 2.6vw, 2rem); letter-spacing: -.015em; line-height: 1.15; }
.tour-lede { color: var(--soft); margin-top: .5rem; }
.feat-list { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.4rem 2rem; margin-block: 1.6rem; }
.feat-list :is(h3, h4) { font-size: 1.05rem; margin-bottom: .25rem; }
.feat-list p { color: var(--soft); font-size: .97rem; }
.tag-paid { display: inline-block; vertical-align: middle; font-size: .72rem; font-weight: 750; padding: .15rem .5rem; border-radius: 99px; background: var(--cyan); color: var(--on-cyan); margin-inline-start: .3rem; }

/* Friends */
.privacy-points { list-style: none; padding: 0; margin-top: 1.6rem; display: grid; gap: .75rem; }
.privacy-points li { position: relative; padding-inline-start: 1.6rem; color: var(--ink); }
.privacy-points li::before { content: ""; position: absolute; left: 0; top: .5em; width: 10px; height: 10px; border-radius: 3px; background: var(--violet); transform: rotate(45deg); }
.boards { list-style: none; padding: 0; display: grid; gap: .7rem; }
.boards li { display: flex; align-items: center; gap: .9rem; background: var(--card); border-radius: 18px; padding: .9rem 1.1rem; font-weight: 650; font-size: 1.08rem; box-shadow: inset 0 0 0 1px var(--line); }
.boards li:nth-child(2n) { margin-inline-start: 2rem; }
@media (max-width: 900px) { .boards li:nth-child(2n) { margin-inline-start: 0; } }

/* Made for iPhone + numbers */
.iphone { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem; margin-top: 2.5rem; }
.iphone li { background: var(--card); border-radius: 22px; padding: 1.4rem 1.2rem; box-shadow: inset 0 0 0 1px var(--line); }
.iphone svg { width: 30px; height: 30px; fill: none; stroke: var(--cyan-hi); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; margin-bottom: .9rem; }
.iphone h3 { font-size: 1.05rem; margin-bottom: .3rem; }
.iphone p { color: var(--soft); font-size: .93rem; }
@media (max-width: 1000px) { .iphone { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .iphone { grid-template-columns: 1fr; } }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin-top: 3rem; border-top: 1px solid var(--line); padding-top: 2rem; }
.facts div { display: grid; align-content: start; gap: .3rem; }
.facts dd { order: -1; }
.facts dd { font-family: var(--display); font-weight: 900; font-size: clamp(2.6rem, 5vw, 4rem); line-height: 1; }
.facts dt { color: var(--soft); max-width: 22ch; }
@media (max-width: 760px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2rem; } }

/* Features page */
.pills { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.5rem; }
.pills a { display: inline-flex; align-items: center; gap: .45rem; min-height: 40px; padding: 0 1rem; border-radius: 999px; background: var(--card); color: var(--ink); text-decoration: none; font-weight: 600; font-size: .92rem; box-shadow: inset 0 0 0 1px var(--line); }
.pills a span { color: var(--soft); font-weight: 500; }
.pills a:hover { box-shadow: inset 0 0 0 1.5px var(--soft); }
.pills a[aria-current="page"] { box-shadow: inset 0 0 0 2px var(--violet); background: var(--card-2); }
.feat-block { margin-top: clamp(3rem, 7vw, 5rem); scroll-margin-top: 6rem; }
.feat-head { display: grid; grid-template-columns: 44px 1fr; gap: 1.2rem; align-items: start; }
.feat-head .lede { margin-top: .6rem; }

/* Exercise library */
.ex-search { margin-top: 2rem; max-width: 520px; }
.ex-search input { width: 100%; min-height: 52px; border-radius: 999px; border: 0; background: #000; color: var(--ink); padding: 0 1.3rem; font: inherit; font-size: 1.05rem; box-shadow: inset 0 0 0 1.5px var(--line-strong); }
.ex-search input::placeholder { color: #9C88E0; }
.ex-filters { display: grid; gap: 1.5rem; margin-top: 2rem; }
.ex-filters .label { margin-bottom: -.6rem; }
.ex-list { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: .6rem; margin-top: 1.5rem; }
.ex-list a { display: flex; flex-direction: column; gap: .15rem; height: 100%; padding: .9rem 1.1rem; border-radius: 16px; background: var(--card); text-decoration: none; box-shadow: inset 0 0 0 1px var(--line); }
.ex-list a:hover { box-shadow: inset 0 0 0 1.5px var(--soft); }
.ex-name { color: var(--ink); font-weight: 650; }
.ex-meta { color: var(--soft); font-size: .86rem; }
.ex-list li[hidden] { display: none; }
.crumbs { color: var(--soft); font-size: .92rem; margin-bottom: 1rem; }
.ex-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(2rem, 5vw, 4rem); margin-top: 2rem; align-items: start; }
@media (max-width: 900px) { .ex-grid { grid-template-columns: 1fr; } }
.ex-facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 1rem; margin-bottom: 2.5rem; }
.ex-facts div { background: var(--card); border-radius: 16px; padding: .9rem 1.1rem; box-shadow: inset 0 0 0 1px var(--line); }
.ex-facts dt { color: var(--soft); font-size: .85rem; }
.ex-facts dd { font-weight: 650; margin-top: .2rem; }
.ex-page .steps { margin-top: 1.2rem; }
.ex-aside { position: sticky; top: 6rem; background: linear-gradient(160deg, #22164A, #120E1E 70%); border-radius: 24px; padding: 1.5rem; box-shadow: inset 0 0 0 1px var(--line); display: grid; gap: .9rem; }
.ex-gems { list-style: none; padding: 0; display: grid; gap: .5rem; }
.ex-gems li { display: flex; align-items: center; gap: .6rem; }
.ex-gems span { color: var(--soft); } .ex-gems b { color: var(--ink); }

/* Tools */
.tool { margin-top: clamp(3rem, 7vw, 5rem); scroll-margin-top: 6rem; }
.tool-form { margin-top: 1.6rem; background: var(--card); border-radius: 28px; padding: clamp(1.4rem, 3vw, 2.2rem); box-shadow: inset 0 0 0 1px var(--line); display: grid; gap: 1.6rem; }
.tool-fields { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; align-items: end; }
.tool-fields > label { display: grid; gap: .4rem; color: var(--soft); font-weight: 600; font-size: .92rem; }
.tool-fields input[type="number"] { width: 9.5rem; min-height: 52px; border-radius: 14px; border: 0; background: #000; color: var(--ink); padding: 0 1rem; font: inherit; font-size: 1.3rem; font-weight: 700; font-variant-numeric: tabular-nums; box-shadow: inset 0 0 0 1.5px var(--line-strong); }
.units { border: 0; padding: 0; display: inline-flex; background: #000; border-radius: 999px; padding: 4px; box-shadow: inset 0 0 0 1.5px var(--line-strong); }
.units label { position: relative; }
.units input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.units label { min-height: 44px; min-width: 58px; display: grid; place-items: center; border-radius: 999px; color: var(--soft); font-weight: 700; }
.units label:has(input:checked) { background: var(--card-2); color: var(--ink); box-shadow: inset 0 0 0 2px var(--cyan); }
.units label:has(input:focus-visible) { outline: 3px solid var(--cyan-hi); outline-offset: 2px; }
.tool-out { display: block; }
.tool-out .big { font-family: var(--display); font-weight: 900; font-size: clamp(3rem, 7vw, 4.6rem); line-height: 1; color: var(--cyan); }
.tool-out .big small { font-size: .4em; color: var(--soft); margin-inline-start: .2em; }
.tool-out p { color: var(--soft); margin-top: .5rem; }
.tool-out table { border-collapse: collapse; margin-top: 1rem; font-variant-numeric: tabular-nums; }
.tool-out td, .tool-out th { padding: .45rem .9rem .45rem 0; text-align: start; border-bottom: 1px solid var(--line); }
.tool-out th { color: var(--soft); font-weight: 600; }
.bar-viz { display: flex; align-items: center; gap: 3px; margin-top: 1.2rem; height: 96px; }
.bar-viz .sleeve { width: 60px; height: 14px; border-radius: 4px; background: #B9A3FF; }
.bar-viz .plate { width: 16px; border-radius: 4px; }
.tool-how { margin-top: 1.2rem; max-width: 70ch; }
.tool-how h3 { font-size: 1.05rem; margin-bottom: .3rem; }
.tool-how p { color: var(--soft); }

/* ---------- Review round 3 fixes ---------- */
a { color: #D8CCFF; }
.pills a, .ex-list a, .nav-links a, .menu a, .foot a, .btn { color: inherit; }
.pills a, .ex-list a { color: var(--ink); }
.btn-primary { color: var(--on-cyan); } .btn-quiet { color: var(--ink); }
.foot a { color: var(--ink); } .nav-links a { color: var(--soft); } .nav-links a[aria-current="page"] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--violet); }
.steps li::before { color: var(--soft); }
.h-m { line-height: .95; }
.foot .wrap { grid-template-columns: 1.3fr repeat(4, 1fr); }
@media (max-width: 900px) { .foot .wrap { grid-template-columns: 1fr 1fr; } }
.ex-list + .fine, .ex-page > .fine, .wrap > .fine:last-child { margin-top: 1.75rem; }
.facts + .fine { margin-top: 1.25rem; }
.tool-out .big { color: var(--ink); }
form[data-tool="orm"] .tool-out { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1rem 3rem; align-items: start; }
form[data-tool="orm"] .tool-out table { margin-top: 0; }
@media (max-width: 640px) { form[data-tool="orm"] .tool-out { grid-template-columns: 1fr; } .tool-fields > label { flex: 1 1 40%; } .tool-fields input[type="number"] { width: 100%; } }
.bar-viz { height: 190px; gap: 4px; margin-top: 1.6rem; }
.bar-viz .sleeve { flex: 0 1 140px; height: 18px; border-radius: 4px; background: linear-gradient(#D8CCFF, #8B5CF6); }
.bar-viz .collar { width: 14px; height: 30px; border-radius: 4px; background: #B9A3FF; }
.bar-viz .plate { width: 24px; border-radius: 5px; display: grid; place-items: center; }
.bar-viz .plate b { writing-mode: vertical-rl; transform: rotate(180deg); font-size: .75rem; font-weight: 800; }

/* ---------- Round 4: audit fixes ---------- */
.nav { background: rgba(0, 0, 0, .94); }
.setrow.now dd { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; }
.setrow.now .stamp { position: static; margin: 0; margin-inline-start: auto; }
.lede.define { margin-top: .8rem; color: var(--soft); }
.foot .wrap { grid-template-columns: repeat(auto-fit, minmax(min(100%, 10rem), 1fr)); }
.foot .wrap > :first-child { grid-column: 1 / -1; }
.foot .tm { grid-column: 1 / -1; max-width: none; font-size: .8rem; }
.plans { grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); }
@media (max-width: 520px) { .plans { grid-template-columns: repeat(auto-fit, minmax(min(100%, 9.5rem), 1fr)); } }
.plan .flag { position: static; align-self: flex-start; margin-bottom: .2rem; }
.tour-tabs { display: none; }
.js-tabs .tour-tabs { display: flex; }
.tool-fields > label { flex: 1 1 8rem; }
.tool-fields input[type="number"] { width: 100%; min-width: 6ch; }
/* Waitlist form: email, consent, optional questions, button — in that order. */
.form .email { width: 100%; min-height: 52px; border-radius: 999px; border: 0; background: #000; color: var(--ink); padding: 0 1.3rem; font: inherit; font-size: 1.05rem; box-shadow: inset 0 0 0 1.5px var(--line-strong); }
.form .email::placeholder { color: #9C88E0; }
.form .email[aria-invalid="true"], .consent input[aria-invalid="true"] { box-shadow: inset 0 0 0 2px var(--bad); }
.form > .btn { width: 100%; }
.survey { background: rgba(0, 0, 0, .35); border-radius: 18px; padding: .2rem 1rem; box-shadow: inset 0 0 0 1px var(--line); }
.survey summary { cursor: pointer; padding: .8rem 0; font-weight: 650; list-style: none; }
.survey summary::-webkit-details-marker { display: none; }
.survey summary span { color: var(--soft); font-weight: 500; }
.survey[open] { padding-bottom: 1rem; }
.survey .q { display: grid; gap: .35rem; margin-top: .8rem; color: var(--soft); font-size: .92rem; font-weight: 600; }
select { min-height: 48px; border-radius: 12px; border: 0; background: #000; color: var(--ink); padding: 0 .8rem; font: inherit; font-size: 1rem; box-shadow: inset 0 0 0 1.5px var(--line-strong); }
.az { display: flex; flex-wrap: wrap; gap: .3rem; margin-top: 1rem; }
.az a { min-width: 40px; min-height: 40px; display: grid; place-items: center; border-radius: 10px; background: var(--card); color: var(--ink); text-decoration: none; font-weight: 700; box-shadow: inset 0 0 0 1px var(--line); }
.az a:hover { box-shadow: inset 0 0 0 1.5px var(--soft); }
.ex-list li.letter { grid-column: 1 / -1; font-family: var(--display); font-weight: 900; font-size: 1.8rem; margin-top: 1rem; scroll-margin-top: 6rem; }
.to-top { display: inline-block; margin-top: 2rem; }
.ex-search[hidden] { display: none; }
.field-err { color: var(--bad); font-weight: 600; min-height: 0; }
.field-err:empty { display: none; }
.tool-fields input[aria-invalid="true"] { box-shadow: inset 0 0 0 2px var(--bad); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); margin-top: 2.5rem; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-form { margin: 0; max-width: none; background: var(--card); border-radius: 24px; padding: clamp(1.2rem, 3vw, 2rem); box-shadow: inset 0 0 0 1px var(--line); }
.contact-form .email { border-radius: 14px; }
.contact-form textarea { width: 100%; border-radius: 14px; border: 0; background: #000; color: var(--ink); padding: .9rem 1rem; font: inherit; font-size: 1rem; box-shadow: inset 0 0 0 1.5px var(--line-strong); resize: vertical; }
.contact-form [aria-invalid="true"] { box-shadow: inset 0 0 0 2px var(--bad); }
.q span { font-weight: 500; }
.contact-side { display: grid; gap: .9rem; }
.big-mail { font-size: clamp(1.2rem, 2.4vw, 1.6rem); font-weight: 700; }
.mail-topics { list-style: none; padding: 0; display: grid; gap: .5rem; }
.mail-topics a { display: block; padding: .8rem 1rem; border-radius: 14px; background: var(--card); color: var(--ink); text-decoration: none; box-shadow: inset 0 0 0 1px var(--line); }
.mail-topics a:hover { box-shadow: inset 0 0 0 1.5px var(--soft); }
.about h1 { margin-bottom: 1.2rem; }
.qa { display: grid; gap: .9rem; margin-top: 1.2rem; max-width: 72ch; }
.qa div { background: var(--card); border-radius: 16px; padding: 1rem 1.2rem; box-shadow: inset 0 0 0 1px var(--line); }
.qa dt { font-weight: 700; } .qa dd { color: var(--soft); margin-top: .3rem; }
.guide-list { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 1rem; margin-top: 2.5rem; }
.guide-list a { display: block; height: 100%; padding: 1.4rem; border-radius: 22px; background: var(--card); text-decoration: none; box-shadow: inset 0 0 0 1px var(--line); }
.guide-list a:hover { box-shadow: inset 0 0 0 1.5px var(--soft); }
.guide-list h2 { color: var(--ink); font-size: 1.2rem; line-height: 1.25; }
.guide-list p { color: var(--soft); margin-top: .5rem; font-size: .95rem; }
.guide-cta { margin: 2.5rem 0; padding: 1.4rem; border-radius: 22px; background: linear-gradient(160deg, #22164A, #120E1E 70%); box-shadow: inset 0 0 0 1px var(--line); display: grid; gap: 1rem; justify-items: start; }
.q { display: grid; gap: .35rem; }
.q > input, .q > select, .q > textarea { width: 100%; min-width: 0; max-width: 100%; }
html:not(.js-on) .js-only { display: none; }

/* ---------- Menu sheet (phone + tablet): full-width, dimmed backdrop, described items ---------- */
.menu nav { position: static; min-width: 0; background: none; border-radius: 0; padding: 0; box-shadow: none; }
.menu-sheet { position: fixed; inset: 4.25rem 0 auto 0; max-height: calc(100dvh - 4.25rem); overflow-y: auto; background: #07050D; padding: .75rem var(--gutter) 1.5rem; box-shadow: 0 1px 0 var(--line), 0 30px 60px -10px rgba(0, 0, 0, .9); display: grid; gap: 1.25rem; animation: sheet-in 260ms var(--ease-out); }
.menu[open]::before { content: ""; position: fixed; inset: 4.25rem 0 0 0; background: rgba(0, 0, 0, .66); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
@keyframes sheet-in { from { opacity: 0; transform: translateY(-10px); } }
@media (prefers-reduced-motion: reduce) { .menu-sheet { animation: none; } }
.menu-sheet ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.menu-sheet li + li { border-top: 1px solid var(--line); }
.menu-sheet nav a { display: grid; gap: .15rem; padding: 1rem .25rem; border-radius: 0; background: none; color: var(--ink); text-decoration: none; font-weight: 400; box-shadow: none; }
.menu-sheet nav a:hover, .menu-sheet nav a[aria-current="page"] { background: none; }
.menu-sheet .mi-t { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: 1.9rem; line-height: 1; letter-spacing: .005em; }
.menu-sheet .mi-d { color: var(--soft); font-size: .95rem; }
.menu-sheet nav a[aria-current="page"] .mi-t { color: var(--cyan); }
.menu-sheet nav a:hover .mi-t { color: var(--cyan-hi); }
.menu-cta { width: 100%; }
.menu-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; padding-top: .25rem; }
.menu-foot > a { color: var(--soft); font-size: .95rem; }
.soc-row { display: inline-flex; gap: .5rem; }
.soc { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.soc svg { width: 22px; height: 22px; fill: none; stroke: var(--ink); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.soc:hover { box-shadow: inset 0 0 0 1.5px var(--soft); }
.foot .social { grid-column: 1 / -1; display: flex; align-items: center; gap: 1rem; }
.foot .social h2 { margin: 0; }
.menu-sheet nav { margin: 0; }
.menu-sheet nav ul { display: grid; gap: 0; }
.menu-sheet .menu-cta { color: var(--on-cyan); padding: .95rem 1.5rem; border-radius: 999px; background: var(--cyan); font-weight: 650; justify-content: center; }
.menu-sheet .menu-cta:hover { background: var(--cyan-hi); }
.menu-foot > a { padding: 0; background: none; border-radius: 0; font-weight: 600; }
.menu-foot .soc { padding: 0; }
.nav:has(.menu[open]) .wrap > .btn { visibility: hidden; }

/* Phone hero: Jules fills the violet glow beside the buttons; the set card drops its perch so he appears once. */
.hero-jules { display: none; }
@media (max-width: 900px) {
  .hero::before { inset: 230px -40% auto auto; width: min(110vw, 520px); }
  .hero .cta-row { position: relative; padding-inline-end: 118px; }
  .hero-jules { display: block; position: absolute; inset-inline-end: -6px; top: 50%; transform: translateY(-50%) rotate(6deg); width: 124px; }
  .hero-jules img { width: 124px; height: auto; filter: drop-shadow(0 12px 24px rgba(0, 0, 0, .6)); }
  .jules-perch { display: none; }
  .setcard { margin-top: 2rem; }
}
@media (max-width: 340px) { .hero .cta-row { padding-inline-end: 0; } .hero-jules { display: none; } }

/* Form controls: a boundary of at least 3:1 against black and the cards (WCAG 1.4.11; legal audit 2026-10-07). */
.form .email, select, .contact-form textarea, .tool-fields input[type="number"], .ex-search input, .field input[type="email"] { box-shadow: inset 0 0 0 1.5px var(--soft); }
.units { box-shadow: inset 0 0 0 1.5px var(--soft); }

/* ---------- Accessibility menu ---------- */
.a11y { position: fixed; inset-inline-start: 1rem; bottom: 1rem; z-index: 30; }
.a11y-btn { width: 52px; height: 52px; border-radius: 50%; border: 0; display: grid; place-items: center; cursor: pointer; background: #0B0814; box-shadow: inset 0 0 0 2px var(--soft), 0 10px 24px rgba(0, 0, 0, .6); }
.a11y-btn svg { width: 28px; height: 28px; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.a11y-btn svg circle { fill: var(--ink); stroke: none; }
.a11y-btn[aria-expanded="true"] { box-shadow: inset 0 0 0 2px var(--cyan), 0 10px 24px rgba(0, 0, 0, .6); }
.a11y-panel { position: absolute; bottom: 64px; inset-inline-start: 0; width: min(300px, calc(100vw - 2rem)); background: #0B0814; border-radius: 20px; padding: 1rem; box-shadow: inset 0 0 0 1.5px var(--soft), 0 24px 48px rgba(0, 0, 0, .8); }
.a11y-panel[hidden] { display: none; }
.a11y-title { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: 1.4rem; margin-bottom: .7rem; }
.a11y-opts { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.a11y-opts button { min-height: 48px; border: 0; border-radius: 12px; background: var(--card); color: var(--ink); font: inherit; font-size: .9rem; font-weight: 650; cursor: pointer; box-shadow: inset 0 0 0 1.5px var(--soft); padding: .4rem .5rem; }
.a11y-opts button[aria-pressed="true"] { background: var(--card-2); box-shadow: inset 0 0 0 2px var(--cyan); }
.a11y-opts [data-level] { color: var(--soft); font-weight: 500; }
.a11y-foot { margin-top: .8rem; font-size: .85rem; color: var(--soft); }
/* The options themselves */
.a11y-contrast { --soft: #FFFFFF; --line: rgba(255, 255, 255, .55); --line-strong: #FFFFFF; --card: #000; --card-2: #111; }
.a11y-contrast .accent, .a11y-contrast .setrow.now dd { color: #7CE3FF; }
.a11y-contrast :is(.setcard, .plan, .app-tile, .tour-panel, .boards li, .iphone li, .ex-list a, .faq details, .totals, .signup, .qa div, .guide-list a) { box-shadow: inset 0 0 0 1.5px #FFFFFF; background: #000; }
.a11y-still *, .a11y-still *::before, .a11y-still *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
.a11y-links a:not(.btn) { text-decoration: underline !important; text-decoration-thickness: 2px !important; text-underline-offset: .2em; }
.a11y-links a:not(.btn):hover, .a11y-links a:not(.btn):focus { background: #FFE15C; color: #000 !important; }
.a11y-font { --display: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif; letter-spacing: .01em; }
.a11y-font .display, .a11y-font .mi-t, .a11y-font .a11y-title { text-transform: none; letter-spacing: 0; line-height: 1.1; }
@media print { .a11y { display: none; } }
@media (max-width: 520px) { .a11y-big .nav .wrap > .btn { display: none; } .a11y-big .nav .menu { margin-inline-start: auto; } }
