/* Fitness Champ marketing pages (index, features, download).
   Same tokens as the legal pages: ink/iron/steel surfaces, chalk text, gold for
   the active/primary thing only, Bebas Neue for display. Mono is the "logbook"
   voice — set counts, weights, kcal — the way numbers read in the app. */

@font-face {
  font-family: 'BebasNeue';
  src: url('fonts/bebas-neue.ttf') format('truetype');
  font-display: swap;
}

:root {
  --ink: #101216;
  --iron: #1a1d23;
  --steel: #232833;
  --seam: #2e3440;
  --chalk: #f6f4ef;
  --chalk-dim: #e8e4da;
  --gold: #e8b84b;
  --gold-deep: #8a6a1e;
  --text: #f0f1f4;
  --text-dim: #99a1ae;
  --text-faint: #848c99; /* lightest grey that still passes AA on iron */

  --display: 'BebasNeue', 'Bebas Neue', Impact, sans-serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;

  --wrap: 1160px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body { background: var(--ink); color: var(--text); margin: 0; }
body { font-family: var(--sans); font-size: 16px; line-height: 1.6; overflow-x: hidden; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.skip {
  position: absolute; left: 16px; top: -64px; z-index: 100; padding: 12px 18px; border-radius: 12px;
  background: var(--gold); color: var(--ink); font-weight: 600; text-decoration: none; transition: top .2s;
}
.skip:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* ---------- Nav ---------- */
.topnav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(16, 18, 22, .78);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.topnav.scrolled { border-bottom-color: var(--seam); }
.topnav .wrap { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; padding: 7px 0; }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.brand span { font-family: var(--display); font-size: 24px; letter-spacing: .03em; color: var(--chalk); line-height: 1; padding-top: 3px; }
.topnav nav { display: flex; gap: 24px; margin-left: auto; }
.topnav nav a { font-size: 14px; color: var(--text-dim); text-decoration: none; padding: 10px 0; border-bottom: 2px solid transparent; }
.topnav nav a:hover { color: var(--chalk); }
.topnav nav a[aria-current="page"] { color: var(--chalk); border-bottom-color: var(--gold); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 600 14px/1.2 var(--sans); text-align: center; text-decoration: none; cursor: pointer;
  padding: 12px 18px; border-radius: 999px; border: 1px solid var(--seam);
  background: var(--steel); color: var(--chalk);
  transition: transform .2s var(--ease), background .2s, border-color .2s;
}
.btn:hover { border-color: var(--text-faint); transform: translateY(-1px); }
.btn.primary { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.btn.primary:hover { background: #f0c560; }
.menu-btn { display: none; }
@media (max-width: 720px) {
  .topnav .wrap { gap: 12px; }
  .topnav .btn.primary { margin-left: auto; }
  .js .topnav nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%; margin: 0;
    flex-direction: column; gap: 0; padding: 8px 24px 20px;
    background: var(--ink); border-bottom: 1px solid var(--seam);
    box-shadow: 0 24px 40px -24px #000;
  }
  .js .topnav.open nav { display: flex; }
  .js .topnav.open { border-bottom-color: var(--seam); }
  .topnav nav a { font-size: 17px; padding: 14px 0; border-bottom: 1px solid var(--seam); }
  .topnav nav a:last-child { border-bottom: 0; }
  .topnav nav a[aria-current="page"] { color: var(--gold); border-bottom-color: var(--seam); }
  html:not(.js) .topnav .wrap { flex-wrap: wrap; height: auto; padding-top: 10px; padding-bottom: 10px; }
  html:not(.js) .topnav nav { order: 3; width: 100%; margin: 0; gap: 20px; }
  html:not(.js) .topnav nav a { font-size: 15px; padding: 6px 0; border-bottom: 0; }
  .js .menu-btn {
    display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-right: -10px;
    background: transparent; border: 0; border-radius: 12px; color: var(--chalk); cursor: pointer;
  }
  .menu-btn svg { width: 24px; height: 24px; }
  .menu-btn .x, .topnav.open .menu-btn .bars { display: none; }
  .topnav.open .menu-btn .x { display: block; }
}
@media (max-width: 380px) { .topnav .btn.primary { padding: 11px 14px; font-size: 13px; } .brand span { font-size: 21px; } }

/* ---------- Type ---------- */
.eyebrow {
  font: 600 13px/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold); margin: 0 0 14px;
}
.display {
  font-family: var(--display); font-weight: 400; color: var(--chalk);
  letter-spacing: .005em; line-height: .92; margin: 0; text-wrap: balance;
}
.display em { font-style: normal; color: var(--gold); }
h2.display { font-size: clamp(44px, 6vw, 76px); }
h3.display { font-size: 34px; line-height: 1; }
.lede { font-size: 18px; color: var(--text-dim); max-width: 52ch; margin: 18px 0 0; }
.mono { font-family: var(--mono); font-size: 13px; letter-spacing: -.01em; }
section { position: relative; }
[id] { scroll-margin-top: 84px; }
.section { padding: 128px 0; }
.section-head { max-width: 720px; margin-bottom: 56px; }
@media (max-width: 720px) { .section { padding: 88px 0; } }

/* ---------- Store badges ---------- */
.badges { display: flex; flex-wrap: wrap; gap: 12px; }
.badge {
  display: inline-flex; align-items: center; gap: 12px;
  height: 56px; padding: 0 22px 0 18px; border-radius: 14px;
  background: #000; color: #fff; text-decoration: none;
  border: 1px solid #3a404c;
  transition: transform .2s var(--ease), border-color .2s, box-shadow .2s;
}
.badge:hover { transform: translateY(-2px); border-color: var(--text-dim); box-shadow: 0 10px 30px -12px rgba(0,0,0,.8); }
.badge svg { width: 26px; height: 26px; flex-shrink: 0; }
.badge .t { display: flex; flex-direction: column; line-height: 1; }
.badge small { font-size: 11px; letter-spacing: .02em; opacity: .85; }
.badge b { font-size: 20px; font-weight: 600; letter-spacing: -.01em; margin-top: 3px; }
.badge.suggested { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(232,184,75,.14); }

.qr-card { text-decoration: none;
  display: inline-flex; align-items: center; gap: 16px;
  padding: 12px 18px 12px 12px; border-radius: 18px;
  background: var(--iron); border: 1px solid var(--seam);
}
.qr-card .qr { width: 84px; height: 84px; padding: 8px; background: var(--chalk); border-radius: 12px; position: relative; }
.qr-card p { margin: 0; font-size: 14px; color: var(--text-dim); line-height: 1.35; }
.qr-card p b { display: block; color: var(--chalk); font-weight: 600; }
.qr { position: relative; }
.qr img { width: 100%; height: 100%; }
.qr::after { /* app icon over the H-level-error-corrected centre */
  content: ""; position: absolute; left: 50%; top: 50%; width: 22%; height: 22%;
  transform: translate(-50%, -50%); border-radius: 22%;
  background: url('icon-512x512.png') center/cover; box-shadow: 0 0 0 3px var(--chalk);
}
@media (hover: none) { .qr-card.desk { display: none; } }

/* ---------- Phone ---------- */
.phone {
  position: relative; width: 300px; aspect-ratio: 1320 / 2868;
  border-radius: 46px; padding: 10px;
  background: linear-gradient(145deg, #3a3f4a, #0b0c0f 40%, #23262d);
  box-shadow: 0 0 0 1px #4a505c inset, 0 60px 120px -40px rgba(0,0,0,.9), 0 30px 60px -30px rgba(232,184,75,.18);
}
.phone .screen { position: relative; width: 100%; height: 100%; border-radius: 37px; overflow: hidden; background: #000; }
.phone .screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .6s ease; }
.phone .screen img.on { opacity: 1; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 64px 0 120px; overflow: hidden; }
.hero::before { /* stage light */
  content: ""; position: absolute; inset: -20% -10% auto auto; width: 70vw; height: 90vh;
  background: radial-gradient(closest-side, rgba(232,184,75,.16), transparent 70%);
  pointer-events: none;
}
.hero > .wrap { position: relative; z-index: 1; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(56px, min(8.4vw, 15vh), 124px); }
@media (min-width: 901px) { .hero .phone { width: min(300px, calc((100vh - 150px) * .46)); } }
@media (min-width: 901px) { .hero h1 .line { white-space: nowrap; } }
.hero h1 .line { display: block; overflow: hidden; }
.hero h1 .line > span { display: block; animation: rise .9s var(--ease) both; }
.hero h1 .line:nth-child(2) > span { animation-delay: .08s; }
.hero h1 .line:nth-child(3) > span { animation-delay: .16s; }
.hero h1 .line:nth-child(4) > span { animation-delay: .24s; }
.hero .fade { animation: fade .9s .35s var(--ease) both; }
.hero .cta { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-top: 36px; }
.hero .fine { margin-top: 22px; color: var(--text-faint); font-size: 13px; }
.hero .fine span + span::before { content: "·"; margin: 0 10px; }
.hero .stage { position: relative; display: flex; justify-content: center; animation: fade 1.1s .2s var(--ease) both; perspective: 1200px; }
.hero .phone { transition: transform .5s var(--ease); transform-style: preserve-3d; }
.log-chip {
  position: absolute; left: -30px; bottom: 16%; z-index: 2;
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px; border-radius: 14px;
  background: rgba(26, 29, 35, .92); border: 1px solid var(--seam);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 20px 40px -20px #000;
  font-family: var(--mono); font-size: 13px; color: var(--chalk); white-space: nowrap;
  transition: opacity .3s, transform .3s var(--ease);
}
.log-chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 12px var(--gold); font-style: normal; }
.log-chip.swap { opacity: 0; transform: translateY(6px); }
.dots { display: flex; gap: 8px; justify-content: center; margin-top: 24px; }
.dots { gap: 0 !important; }
.dots button { width: 24px; height: 32px; padding: 12px 8px; border: 0; background: transparent; cursor: pointer; transition: width .3s var(--ease); }
.dots button::before { content: ""; display: block; height: 8px; border-radius: 99px; background: var(--seam); transition: background .3s; }
.dots button[aria-current="true"]::before { background: var(--gold); }
.dots button[aria-current="true"] { width: 42px; }
@keyframes rise { from { transform: translateY(105%); } }
@keyframes fade { from { opacity: 0; transform: translateY(16px); } }
@media (max-width: 900px) {
  .hero { padding-top: 40px; }
  .hero .wrap { grid-template-columns: 1fr; }
  .hero .stage { margin-top: 24px; }
  .phone { width: 260px; }
  .log-chip { left: 50%; transform: translateX(-50%); bottom: 8%; max-width: calc(100vw - 48px); }
  .log-chip.swap { transform: translateX(-50%) translateY(6px); }
}

/* ---------- Day strip (optional photos) ---------- */
.day { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.day figure {
  position: relative; margin: 0; aspect-ratio: 4 / 5; border-radius: 22px; overflow: hidden;
  background: radial-gradient(120% 80% at 30% 0%, var(--steel), var(--iron) 60%);
  border: 1px solid var(--seam);
}
.day figure img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; transition: transform 1.2s var(--ease); }
.day figure::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 35%, rgba(16,18,22,.78) 62%, rgba(16,18,22,.96)); }
.day figure:hover img { transform: scale(1.04); }
.day figcaption { position: absolute; left: 22px; right: 22px; bottom: 20px; z-index: 1; }
.day figcaption .mono { color: var(--gold); }
.day figcaption h3 { font: 400 40px/1 var(--display); color: var(--chalk); margin: 6px 0 4px; }
.day figcaption p { margin: 0; color: var(--text-dim); font-size: 14px; }
@media (max-width: 820px) { .day { grid-template-columns: 1fr; } .day figure { aspect-ratio: 1; } .day figure img { object-position: center 18%; } }

/* ---------- Tour (tabs + phone) ---------- */
.tour { display: grid; grid-template-columns: 1fr 340px; gap: 72px; align-items: center; }
.tour [role="tablist"] { display: flex; flex-direction: column; gap: 4px; }
.tab {
  display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 4px 16px;
  width: 100%; text-align: left; cursor: pointer; padding: 18px 20px;
  background: transparent; border: 1px solid transparent; border-radius: 18px; color: var(--text-dim);
  font: inherit; transition: background .25s, border-color .25s, color .25s;
}
.tab:hover { background: rgba(35, 40, 51, .5); color: var(--text); }
.tab .name { font: 400 34px/1 var(--display); letter-spacing: .01em; color: inherit; }
.tab .mono { color: var(--text-faint); }
.tab .desc { grid-column: 1 / -1; max-height: 0; overflow: hidden; opacity: 0; margin: 0; font-size: 15px; color: var(--text-dim);
  transition: max-height .45s var(--ease), opacity .3s, margin .3s; }
.tab[aria-selected="true"] { background: var(--iron); border-color: var(--seam); color: var(--chalk); }
.tab[aria-selected="true"] .mono { color: var(--gold); }
.tab[aria-selected="true"] .desc { max-height: 140px; opacity: 1; margin-top: 8px; }
.tab .bar { grid-column: 1 / -1; height: 2px; background: var(--seam); border-radius: 2px; overflow: hidden; display: none; margin-top: 12px; }
.tab[aria-selected="true"] .bar { display: block; }
.tab .bar i { display: block; height: 100%; width: 0; background: var(--gold); }
.tour.playing .tab[aria-selected="true"] .bar i { animation: fill var(--dwell, 6s) linear forwards; }
@keyframes fill { to { width: 100%; } }
.tour .phone { width: 100%; }
@media (max-width: 900px) {
  .tour { grid-template-columns: 1fr; gap: 40px; }
  .tour .phone { width: 220px; margin: 0 auto; order: -1; }
}

/* ---------- Exercise finder (signature) ---------- */
.finder { background: var(--chalk); color: var(--ink); border-radius: 36px; margin: 0 16px; padding: 96px 0; }
.finder .eyebrow { color: var(--gold-deep); }
.finder .display { color: var(--ink); }
.finder .display em { color: var(--gold-deep); }
.finder .lede { color: #5a5f69; }
.count { font-variant-numeric: tabular-nums; }
.search {
  display: flex; align-items: center; gap: 12px; margin-top: 36px;
  background: #fff; border: 2px solid var(--ink); border-radius: 18px; padding: 0 20px; height: 64px;
  box-shadow: 6px 6px 0 var(--ink);
}
.search svg { width: 22px; height: 22px; flex-shrink: 0; }
.search input { flex: 1; border: 0; outline: 0; background: transparent; font: 500 20px var(--sans); color: var(--ink); min-width: 0; }
.search input::placeholder { color: #9a9ea6; }
.search .mono { color: #7a7f88; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.chip {
  font: 500 13px var(--mono); padding: 11px 15px; border-radius: 99px; cursor: pointer;
  background: transparent; color: var(--ink); border: 1px solid #c9c4b8;
  transition: background .2s, border-color .2s;
}
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--chalk); border-color: var(--ink); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; margin-top: 36px; min-height: 240px; }
.ex {
  display: flex; flex-direction: column; text-align: left; padding: 0; cursor: pointer; font: inherit;
  background: #fff; border: 1px solid #e2ddd1; border-radius: 18px; overflow: hidden; color: var(--ink);
  transition: transform .25s var(--ease), box-shadow .25s, border-color .25s;
  animation: pop .4s var(--ease) both;
}
.ex:hover { transform: translateY(-3px); box-shadow: 0 16px 30px -18px rgba(16,18,22,.45); border-color: var(--ink); }
.ex img { width: 100%; aspect-ratio: 1; object-fit: contain; background: #fff; }
.ex span { padding: 10px 12px 2px; font-size: 14px; font-weight: 600; line-height: 1.25; text-transform: capitalize; }
.ex small { padding: 0 12px 12px; font: 12px var(--mono); color: #7a7f88; }
.empty { grid-column: 1 / -1; padding: 40px 0; color: #5a5f69; }
.empty button { font: inherit; color: var(--ink); background: none; border: 0; border-bottom: 1px solid var(--ink); cursor: pointer; padding: 0; }
.finder .more { margin-top: 28px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; color: #5a5f69; font-size: 14px; }
.finder .btn { background: var(--ink); color: var(--chalk); border-color: var(--ink); }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.98); } }
@media (max-width: 720px) {
  .finder { margin: 0; border-radius: 28px; padding: 72px 0; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .search input { font-size: 17px; }
  .grid.picks .ex:nth-child(n+7) { display: none; }
}

dialog.ex-dialog {
  width: min(440px, calc(100vw - 32px)); padding: 0; border: 0; border-radius: 26px;
  background: var(--chalk); color: var(--ink); box-shadow: 0 40px 80px -20px rgba(0,0,0,.6);
}
dialog.ex-dialog::backdrop { background: rgba(16,18,22,.7); backdrop-filter: blur(4px); }
dialog.ex-dialog[open] { animation: pop .35s var(--ease); }
.ex-dialog img { width: 100%; aspect-ratio: 1; max-height: 52vh; object-fit: contain; background: #fff; }
.ex-dialog .body { padding: 22px 24px 24px; }
.ex-dialog h3 { font: 400 38px/1 var(--display); margin: 0 0 10px; text-transform: uppercase; }
.ex-dialog dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; margin: 0 0 20px; font-size: 14px; }
.ex-dialog dt { font: 12px var(--mono); color: #7a7f88; text-transform: uppercase; padding-top: 2px; }
.ex-dialog dd { margin: 0; text-transform: capitalize; }
.ex-dialog .row { display: flex; gap: 10px; }
.ex-dialog .btn { background: var(--ink); color: var(--chalk); border-color: var(--ink); }
.ex-dialog .btn.ghost { background: transparent; color: var(--ink); border-color: #c9c4b8; }

/* ---------- Film ---------- */
.film { position: relative; border-radius: 28px; overflow: hidden; border: 1px solid var(--seam); background: #000; aspect-ratio: 16 / 9; }
.film video { width: 100%; height: 100%; object-fit: cover; }
.film .sound {
  position: absolute; right: 18px; bottom: 18px;
  background: rgba(16,18,22,.75); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}

/* ---------- Pro ---------- */
.pro { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: start; }
.pro ul { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 2px; }
.pro li { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--seam); color: var(--text); }
.pro li::before { content: "+"; font: 600 15px var(--mono); color: var(--gold); width: 14px; flex-shrink: 0; }
.plans { display: grid; gap: 14px; position: sticky; top: 100px; }
.plan { padding: 26px 28px; border-radius: 22px; background: var(--iron); border: 1px solid var(--seam); }
.plan.best { border-color: var(--gold); background: linear-gradient(160deg, rgba(232,184,75,.12), var(--iron) 55%); }
.plan .top { display: flex; justify-content: space-between; align-items: center; }
.plan .tag { font: 600 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink); background: var(--gold); padding: 5px 9px; border-radius: 99px; }
.plan .price { font: 400 64px/1 var(--display); color: var(--chalk); margin: 14px 0 4px; }
.plan .price small { font: 500 15px var(--sans); color: var(--text-dim); margin-left: 6px; }
.plan p { margin: 0; color: var(--text-dim); font-size: 14px; }
.plan.free .price { font-size: 44px; }
.plans .btn { justify-self: start; margin-top: 4px; }
.pro .note { font-size: 13px; color: var(--text-faint); margin: 6px 4px 0; }
@media (max-width: 900px) { .pro { grid-template-columns: 1fr; } .plans { position: static; } }

/* ---------- Promises ---------- */
.promises { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--seam); }
.promises > div { padding: 36px 32px 8px 0; }
.promises > div + div { padding-left: 32px; border-left: 1px solid var(--seam); }
.promises h3 { font: 400 44px/1 var(--display); color: var(--chalk); margin: 0 0 12px; }
.promises p { color: var(--text-dim); margin: 0; font-size: 15px; max-width: 34ch; }
@media (max-width: 820px) {
  .promises { grid-template-columns: 1fr; }
  .promises > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--seam); }
}

.promises.stack { grid-template-columns: 1fr; border-top: 0; width: 100%; }
.promises.stack > div { padding: 28px 0; border-left: 0; border-top: 1px solid var(--seam); }
.promises.stack > div:first-child { border-top: 0; padding-top: 0; }

/* ---------- Download band ---------- */
.get {
  display: grid; grid-template-columns: 1fr auto; gap: 48px; align-items: center;
  padding: 64px; border-radius: 36px; position: relative; overflow: hidden;
  background: radial-gradient(90% 140% at 100% 0%, rgba(232,184,75,.22), transparent 60%), var(--iron);
  border: 1px solid var(--seam);
}
.get .qr { width: 220px; height: 220px; padding: 18px; background: var(--chalk); border-radius: 26px; box-shadow: 0 30px 60px -30px #000; }
.get .qr-cap { text-align: center; margin-top: 12px; color: var(--text-dim); font-size: 13px; }
.get .badges { margin-top: 32px; }
@media (max-width: 820px) {
  .get { grid-template-columns: 1fr; padding: 40px 28px; }
  .get .qr-wrap { display: none; }
}

/* ---------- FAQ ---------- */
.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--seam); }
.faq summary {
  list-style: none; cursor: pointer; padding: 24px 40px 24px 0; position: relative;
  font-size: 19px; font-weight: 600; color: var(--chalk);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; margin-top: -8px;
  border-right: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(45deg);
  transition: transform .3s var(--ease);
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { margin: -6px 0 24px; color: var(--text-dim); max-width: 64ch; }
.faq a { color: var(--gold); }

/* ---------- Feature page blocks ---------- */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; padding: 96px 0; border-top: 1px solid var(--seam); }
.feature:nth-of-type(even) .media { order: -1; }
.feature .media { display: flex; justify-content: center; align-items: flex-start; gap: 20px; position: relative; isolation: isolate; }
.feature .media .phone { width: 270px; }
.feature .media .phone + .phone { margin-top: 80px; }
.feature .media .photo { position: absolute; inset: 10% 0 auto; aspect-ratio: 16 / 10; border-radius: 24px; overflow: hidden; z-index: -1; opacity: .55; }
.feature .media .photo img { width: 100%; height: 100%; object-fit: cover; }
.feature ul { list-style: none; padding: 0; margin: 28px 0 0; }
.feature li { padding: 12px 0 12px 28px; border-bottom: 1px solid var(--seam); position: relative; }
.feature li::before { content: ""; position: absolute; left: 2px; top: 21px; width: 10px; height: 2px; background: var(--gold); }
.feature .pro-tag { font: 600 11px var(--mono); letter-spacing: .08em; color: var(--ink); background: var(--gold); padding: 3px 7px; border-radius: 99px; margin-left: 8px; vertical-align: 2px; }
.jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.jump a { font: 500 13px var(--mono); padding: 11px 15px; border-radius: 99px; border: 1px solid var(--seam); text-decoration: none; color: var(--text-dim); transition: border-color .2s, color .2s; }
.jump a:hover { border-color: var(--gold); color: var(--chalk); }
@media (max-width: 900px) {
  .feature { grid-template-columns: 1fr; gap: 40px; padding: 72px 0; }
  .feature:nth-of-type(even) .media { order: 0; }
  .feature .media .phone { width: 46%; max-width: 230px; }
  .feature .media .phone + .phone { margin-top: 48px; }
}

/* ---------- Download page ---------- */
.dl { display: grid; grid-template-columns: 1fr auto; gap: 64px; align-items: center; padding-top: 72px; padding-bottom: 120px; }
.dl h1 { font-size: clamp(64px, 9vw, 120px); }
.dl .preview { width: 320px; aspect-ratio: 886 / 1920; border-radius: 32px; overflow: hidden; border: 1px solid var(--seam); background: #000; box-shadow: 0 60px 120px -40px #000; }
.dl .preview video { width: 100%; height: 100%; object-fit: cover; }
.dl .scan { display: flex; align-items: center; gap: 24px; margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--seam); }
.dl .scan .qr { width: 160px; height: 160px; padding: 14px; background: var(--chalk); border-radius: 22px; flex-shrink: 0; }
.dl .scan p { margin: 0; color: var(--text-dim); max-width: 30ch; }
.dl .scan p b { display: block; color: var(--chalk); font-size: 18px; margin-bottom: 4px; }
.dl > div { min-width: 0; }
.dl .linkrow { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 14px; }
@media (max-width: 560px) { .dl .scan { flex-direction: column; align-items: flex-start; } }
.dl .linkrow code { font: 13px var(--mono); color: var(--chalk); background: var(--iron); border: 1px solid var(--seam); padding: 8px 12px; border-radius: 10px; }
.dl .linkrow code { overflow-wrap: anywhere; }
.dl .linkrow button { min-height: 40px; padding: 8px 14px; font-size: 13px; }
.detected { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font: 13px var(--mono); color: var(--text-dim); min-height: 20px; }
.detected i { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
@media (max-width: 900px) {
  .dl { grid-template-columns: 1fr; gap: 48px; padding-top: 40px; }
  .dl .preview { width: 260px; margin: 0 auto; }
}
@media (hover: none) and (max-width: 900px) { .dl .scan { display: none; } }

/* ---------- Document pages (privacy, terms, support, contact) ---------- */
.doc { position: relative; padding: 64px 0 40px; overflow-x: clip; }
.doc::before { /* same stage light as the hero, dimmer */
  content: ""; position: absolute; inset: -120px -10% auto; height: 520px; pointer-events: none;
  background: radial-gradient(50% 60% at 80% 0%, rgba(232,184,75,.10), transparent 70%);
}
.doc .wrap { position: relative; max-width: 776px; line-height: 1.65; }
.doc-head { padding-bottom: 36px; margin-bottom: 40px; border-bottom: 1px solid var(--seam); }
.doc-head h1 { font-size: clamp(56px, 9vw, 96px); }
.doc-head .meta { margin: 16px 0 0; font: 13px var(--mono); color: var(--text-dim); }
.doc-head .lede { margin-top: 18px; }
.doc h2 {
  font-family: var(--display); font-weight: 400; font-size: 30px; letter-spacing: .01em; line-height: 1.05;
  color: var(--chalk); margin: 52px 0 16px;
}
.doc h2:first-of-type { margin-top: 0; }
.doc p, .doc ul, .doc ol { margin: 0 0 14px; max-width: 66ch; }
.doc ul, .doc ol { padding-left: 22px; }
.doc li { margin-bottom: 8px; }
.doc li::marker { color: var(--gold); }
.doc strong { color: var(--chalk); }
.doc code { font: .88em var(--mono); background: var(--steel); color: var(--chalk-dim); padding: .15em .45em; border-radius: 5px; }
.doc a:not(.btn) { color: var(--gold); text-decoration: none; border-bottom: 1px solid var(--gold-deep); }
.doc a:not(.btn):hover { color: var(--chalk); border-bottom-color: var(--gold); }
.toc { margin: 0 0 48px; border: 1px solid var(--seam); border-radius: 18px; background: var(--iron); }
.toc summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 16px 22px; font: 600 13px var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--chalk); }
.toc summary::-webkit-details-marker { display: none; }
.toc summary::after { content: ""; width: 9px; height: 9px; margin-top: -4px; border-right: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(45deg); transition: transform .3s var(--ease); }
.toc[open] summary::after { transform: rotate(-135deg); margin-top: 4px; }
.doc .toc ol { columns: 2 220px; column-gap: 32px; margin: 0; padding: 4px 22px 18px 42px; max-width: none; }
.doc .toc li { margin: 0; padding: 6px 0; break-inside: avoid; font-size: 15px; }
.doc .toc a { border-bottom: 0; }
.doc .toc a:hover { text-decoration: underline; }
.doc .callout {
  background: radial-gradient(90% 140% at 100% 0%, rgba(232,184,75,.12), transparent 60%), var(--iron);
  border: 1px solid var(--gold-deep); border-radius: 20px; padding: 22px 26px; margin: 0 0 24px;
  font-size: 15px; color: var(--chalk-dim);
}
.doc .callout strong { color: var(--gold); }
.doc .callout.end { margin: 48px 0 0; }
.doc .faq { margin-bottom: 8px; }
.doc .faq summary { font-size: 17px; padding: 20px 40px 20px 0; }
.doc .faq details p { margin: -4px 0 20px; }
.contact-card {
  display: flex; align-items: center; gap: 20px; margin: 0 0 40px; padding: 28px;
  background: radial-gradient(90% 140% at 100% 0%, rgba(232,184,75,.18), transparent 60%), var(--iron);
  border: 1px solid var(--seam); border-radius: 24px;
}
.contact-card .icon {
  width: 52px; height: 52px; flex-shrink: 0; border-radius: 14px; background: var(--steel);
  display: flex; align-items: center; justify-content: center; color: var(--gold); font: 600 22px var(--mono);
}
.contact-card .label { margin: 0 0 4px; font: 600 12px var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--text-faint); }
.doc .contact-card a.email { display: inline-block; padding: 4px 0; font-size: 20px; color: var(--chalk); overflow-wrap: anywhere; }
.doc .contact-card a.email:hover { color: var(--gold); }
.contact-card .btn { margin-left: auto; }
@media (max-width: 560px) {
  .contact-card { flex-wrap: wrap; padding: 22px; gap: 16px; }
  .contact-card > div:nth-child(2) { flex: 1; min-width: 0; }
  .contact-card .btn { margin-left: 0; width: 100%; }
  .doc .contact-card a.email { font-size: 17px; }
}

/* ---------- Exercise library (generated: scripts/build-exercise-pages.mjs) ---------- */
.lib .wrap { max-width: 1000px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 28px; padding: 0; font: 13px var(--mono); color: var(--text-dim); max-width: none; }
.crumbs li { margin: 0; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--text-faint); }
.lib .crumbs a { border-bottom: 0; }
.lib .doc-head h1 { font-size: clamp(48px, 8vw, 84px); text-transform: capitalize; }
.lib .doc-head h1 em { font-style: normal; color: var(--gold); }
.ex-main { display: grid; grid-template-columns: minmax(0, 360px) 1fr; gap: 32px; align-items: start; margin-bottom: 8px; }
.ex-demo { margin: 0; }
.ex-demo img { width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; background: #fff; border-radius: 24px; }
.ex-demo figcaption { margin-top: 10px; font-size: 12px; color: var(--text-faint); }
.ex-facts { display: grid; grid-template-columns: auto 1fr; gap: 12px 20px; margin: 0; padding: 24px; background: var(--iron); border: 1px solid var(--seam); border-radius: 20px; }
.ex-facts dt { font: 12px var(--mono); color: var(--text-dim); text-transform: uppercase; padding-top: 3px; }
.ex-facts dd { margin: 0; color: var(--chalk); }
.ex-steps li { margin-bottom: 12px; }
.lib h2:first-of-type { margin-top: 52px; }
.lib .doc-head + h2 { margin-top: 0; }
.lib-cta { margin: 64px 0 24px; }
.lib-cta h2.display { margin: 0; font-size: clamp(36px, 5vw, 56px); }
.lib .chips { margin: 0 0 8px; }
.lib .chip { color: var(--text); border-color: var(--seam); text-decoration: none; }
.lib a.chip:not(.btn) { color: var(--text); border-bottom: 1px solid var(--seam); }
.lib a.chip:not(.btn):hover { border-color: var(--gold); color: var(--chalk); }
.lib .chip small { color: var(--text-faint); margin-left: 4px; }
.lib .grid { margin-top: 0; min-height: 0; }
.lib a.ex:not(.btn) { border-bottom: 1px solid #e2ddd1; color: var(--ink); text-decoration: none; animation: none; }
.lib a.ex:not(.btn):hover { color: var(--ink); border-bottom-color: var(--ink); }
.az { columns: 3 220px; column-gap: 32px; padding: 0 !important; list-style: none; max-width: none !important; font-size: 14px; }
.az li { margin: 0; padding: 3px 0; break-inside: avoid; }
.lib .az a { border-bottom: 0; color: var(--text-dim); text-transform: capitalize; }
.lib .az a:hover { color: var(--gold); }
@media (max-width: 720px) {
  .ex-main { grid-template-columns: 1fr; }
  .ex-demo img { max-width: 360px; margin: 0 auto; }
}

/* ---------- Footer ---------- */
footer.site { border-top: 1px solid var(--seam); padding: 48px 0 64px; margin-top: 40px; }
footer.site .wrap { display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: flex-start; justify-content: space-between; }
footer.site nav { display: flex; flex-wrap: wrap; gap: 0 24px; }
footer.site nav a { color: var(--text-dim); text-decoration: none; font-size: 14px; padding: 10px 0; }
footer.site nav a[aria-current="page"] { color: var(--chalk); }
footer.site nav a:hover { color: var(--chalk); }
footer.site p { margin: 8px 0 0; color: var(--text-faint); font-size: 13px; }

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

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}
.finder .hubs { margin: 24px 0 0; font-size: 14px; color: #5a5f69; line-height: 1.9; }
.finder .hubs a { color: var(--ink); }
