/* the01.app (study 37). The page runs on the app's own tokens (assets/ds/*.css, copied from study 30 at build),
   so a theme class on <html> re-skins the whole site exactly as it re-skins the app. Nothing loads from outside.
   The page is a presentation: an opening, the plan, eight chapters, each stepping through the real screens. */
:root { --shell: 1240px; --gut: 40px; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background: var(--zo-canvas); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--zo-canvas); color: var(--zo-ink-primary); font: 400 17px/1.55 var(--zo-font); -webkit-font-smoothing: antialiased; font-feature-settings: "tnum"; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--zo-focus, var(--zo-ink-primary)); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 50; padding: 10px 16px; border-radius: 12px; background: var(--zo-accent); color: var(--zo-on-accent); font-weight: 600; }
.skip:focus { top: 12px; }
.shell { max-width: var(--shell); margin: 0 auto; padding: 0 var(--gut); }
.num { font-weight: 700; font-stretch: 75%; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.ink2 { color: var(--zo-ink-secondary); }
.mk { display: inline-block; fill: currentColor; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mt24 { margin-top: 24px; }

/* Header: the mark, the chapters, the theme switch. */
.site-top { position: sticky; top: 0; z-index: 30; background: var(--zo-canvas); border-bottom: 1px solid var(--zo-separator); }

.site-top .row { display: flex; align-items: center; gap: 24px; height: 68px; }
.site-top .home { display: inline-flex; color: var(--zo-ink-primary); }
.site-top .home .mk { width: 27px; height: 28px; }
.site-top nav { display: flex; gap: 22px; font: 500 15px/20px var(--zo-font); color: var(--zo-ink-secondary); }
.site-top nav a { text-decoration: none; }
.site-top nav a:hover { color: var(--zo-ink-primary); }
.site-top .grow { flex: 1; }



/* Buttons */
.cta { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 60px; padding: 0 28px; border-radius: 16px; border: 0; background: var(--zo-accent); color: var(--zo-on-accent); font: 600 18px/24px var(--zo-font); text-decoration: none; white-space: nowrap; cursor: pointer; box-shadow: inset 0 0 0 1px color-mix(in srgb, #020202 12%, transparent); }
.cta:active { transform: scale(.98); }
.cta.ghost { background: transparent; color: var(--zo-ink-primary); box-shadow: inset 0 0 0 1.5px var(--zo-separator-strong); }
.cta.sm { height: 44px; padding: 0 18px; font-size: 16px; border-radius: 14px; }
.link { font: 600 16px/24px var(--zo-font); text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1.5px; background: none; border: 0; color: inherit; padding: 0; cursor: pointer; }
.chip { height: 40px; padding: 0 16px; border-radius: 20px; border: 0; background: var(--zo-surface-1); color: var(--zo-ink-primary); box-shadow: inset 0 0 0 1px var(--zo-separator-strong); font: 500 15px/20px var(--zo-font); cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--zo-ink-primary); color: var(--zo-canvas); box-shadow: none; }

/* Sections */
.sec { padding-top: 140px; position: relative; }
h1, h2 { font-family: var(--zo-font-display, var(--zo-font)); }
h2 { margin: 0; font-weight: 700; font-size: 72px; line-height: 1.02; letter-spacing: -2px; }
.lede { font: 400 20px/30px var(--zo-font); color: var(--zo-ink-secondary); max-width: 36em; margin: 22px 0 0; }
.lede b { color: var(--zo-ink-primary); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.split > * { min-width: 0; }
.hl { background: var(--zo-accent); color: var(--zo-on-accent); padding: 0 .08em; border-radius: .08em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
@media (prefers-color-scheme: dark) { .hl { background: none; color: var(--zo-accent); padding: 0; } }
.host { position: relative; }
.host > .zo-confetti { position: absolute; inset: -40px -20px; z-index: 5; pointer-events: none; }
.restrow { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 24px; }
.rnote { color: var(--zo-ink-secondary); font-size: 16px; }

/* The opening: the whole idea in one line, you against the ghost of last time. */
.hx { position: relative; overflow: hidden; display: flex; align-items: center; min-height: calc(100vh - 68px); padding: 48px 0; }
.hx > .shell { width: 100%; }
.hx-h { margin: 18px 0 0; font-weight: 700; font-size: clamp(56px, 8.6vw, 136px); line-height: .94; letter-spacing: -.035em; }
.hx-dim { color: var(--zo-ink-tertiary); }
.hx-sub { font: 400 21px/31px var(--zo-font); color: var(--zo-ink-secondary); max-width: 34em; margin: 44px 0 0; }
.race { display: grid; gap: 22px; margin-top: 56px; }
.lane { display: grid; grid-template-columns: 170px minmax(0, 1fr) 110px; gap: 24px; align-items: center; }
.lane .lab { font: 600 18px/24px var(--zo-font); color: var(--zo-ink-secondary); }
.lane.you .lab { color: var(--zo-ink-primary); }
.lane .trk { position: relative; height: 44px; border-radius: 22px; background: var(--zo-surface-1); }
.lane .trk b { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 22px; }
.lane.ghost .trk b { width: 66%; border: 2px dashed var(--zo-ink-tertiary); }
.lane.you .trk b { width: 0; background: var(--zo-accent); animation: race 1.44s .36s cubic-bezier(.2,.8,.2,1) forwards; }
.lane.you .trk i { position: absolute; left: 66%; top: -10px; bottom: -10px; width: 3px; margin-left: -1.5px; border-radius: 2px; background: var(--zo-ink-primary); }
.lane em { font-style: normal; font-size: 76px; line-height: 1; text-align: right; }
.lane.ghost em { color: var(--zo-ink-tertiary); }
@keyframes race { to { width: 73%; } }
@media (prefers-reduced-motion: reduce) { .lane.you .trk b { animation: none; width: 73%; } }


/* The presenter: steps on the left, the screen on the right, Next to move through them. */
.show { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 64px; align-items: start; margin-top: 56px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; counter-reset: s; }
.steps button { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; width: 100%; padding: 14px 18px 14px 14px; border: 0; border-radius: 20px; background: transparent; color: inherit; text-align: left; cursor: pointer; font: inherit; transition: background-color .24s; }
.steps button:hover { background: color-mix(in srgb, var(--zo-surface-1) 70%, transparent); }
.steps .n { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 20px; box-shadow: inset 0 0 0 1.5px var(--zo-separator-strong); font-size: 19px; color: var(--zo-ink-secondary); transition: background-color .24s, color .24s; }
.steps .tx b { display: block; font: 700 20px/26px var(--zo-font); color: var(--zo-ink-secondary); padding-top: 7px; transition: color .24s; }
.steps .tx > span { display: block; max-height: 0; overflow: hidden; opacity: 0; color: var(--zo-ink-secondary); font-size: 17px; line-height: 26px; transition: max-height .36s cubic-bezier(.2,.9,.3,1), opacity .24s, margin .24s; }
.steps li.on button { background: var(--zo-surface-1); box-shadow: inset 0 0 0 1px var(--zo-separator); }
.steps li.on .n { background: var(--zo-ink-primary); color: var(--zo-canvas); box-shadow: none; }
.steps li.on .tx b { color: var(--zo-ink-primary); }
.steps li.on .tx > span { max-height: 160px; opacity: 1; margin-top: 6px; }
@media (prefers-reduced-motion: reduce) { .steps .tx > span { transition: none; } }
.stage { position: sticky; top: 100px; }
.stage .shot { width: 300px; margin: 0 auto; }
.shot img { width: 100%; filter: drop-shadow(0 30px 50px rgba(0,0,0,.30)); }
.stage.swap .shot { animation: swapIn .36s cubic-bezier(.2,.9,.3,1) both; }
@keyframes swapIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.stage-nav { display: flex; justify-content: center; margin-top: 24px; }

/* Try it: a live model inside a chapter. */
.try { margin-top: 72px; padding-top: 32px; border-top: 1px solid var(--zo-separator); }
.try-cap { font: 600 15px/20px var(--zo-font); color: var(--zo-ink-secondary); }
.try-tx { font: 500 24px/34px var(--zo-font); margin: 14px 0 0; max-width: 22em; }
.try.split { align-items: center; }

/* Why it's built this way: the closing line of every chapter. */
.why { margin: 72px 0 0; padding-left: 24px; border-left: 4px solid var(--zo-accent); font: 700 36px/44px var(--zo-font-display, var(--zo-font)); max-width: 30em; letter-spacing: -.3px; }
@media (prefers-color-scheme: light) { .why { border-left-color: var(--zo-ink-primary); } }

/* 1. The workout: log a set, for real */
.say { display: flex; gap: 22px; align-items: flex-start; margin-top: 18px; }
.coach-av { flex: none; width: 56px; height: 56px; border-radius: 28px; background: var(--zo-ink-primary); color: var(--zo-canvas); display: flex; align-items: center; justify-content: center; margin-top: 8px; }
.coach-av .mk { width: 25px; height: 26px; }
.coachline { margin: 0; font-family: var(--zo-font-display, var(--zo-font)); font-weight: 700; font-size: 64px; line-height: 1; letter-spacing: -1.8px; min-height: 2em; }
.coachline .num { letter-spacing: -1px; white-space: nowrap; }
.coachline .dim { display: block; color: var(--zo-ink-tertiary); }
.coachline .go { display: block; }
.coachline.swap { animation: swapIn .36s cubic-bezier(.2,.9,.3,1) both; }
.log { margin-top: 28px; padding: 22px 24px 24px; border-radius: 24px; background: var(--zo-surface-1); max-width: 640px; box-shadow: inset 0 0 0 1px var(--zo-separator); }
.log .head { display: flex; justify-content: space-between; align-items: center; font: 500 14px/20px var(--zo-font); color: var(--zo-ink-secondary); }
.up { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 12px; background: var(--zo-ink-primary); color: var(--zo-canvas); font: 700 14px/24px var(--zo-font); font-stretch: 85%; opacity: 0; transform: scale(.6); transition: opacity .24s, transform .36s cubic-bezier(.2,.9,.3,1.3); }
.up.on { opacity: 1; transform: none; }
.vs { display: grid; gap: 14px; margin-top: 16px; }
.vrow { display: grid; grid-template-columns: 56px 1fr 84px; gap: 14px; align-items: center; font: 600 16px/22px var(--zo-font); }
.vrow .t { position: relative; height: 12px; border-radius: 6px; background: var(--zo-surface-3); }
.vrow .t b { position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: 6px; background: var(--zo-ink-primary); transition: width .6s cubic-bezier(.2,.8,.2,1); }
.vrow .t i { position: absolute; top: -5px; bottom: -5px; width: 2px; margin-left: -1px; background: repeating-linear-gradient(var(--zo-ink-secondary) 0 3px, transparent 3px 5px); }
.vrow .v { text-align: right; color: var(--zo-ink-secondary); font-weight: 500; }
.vrow .v b { color: var(--zo-ink-primary); }
.log .rail { display: flex; gap: 3px; height: 6px; margin-top: 20px; }
.log .rail i { flex: 1; background: var(--zo-surface-3); border-radius: 2px; transition: background-color .24s; }
.log .rail i.done { background: var(--zo-ink-primary); }
.log .rail i.now { background: color-mix(in srgb, var(--zo-ink-primary) 45%, transparent); }
.log .rail i.gap { flex: 0 0 8px; background: transparent; }
.log .act { display: flex; align-items: center; gap: 20px; margin-top: 20px; }
.log .act .cta { flex: 1; max-width: 340px; }
.restmini { display: none; align-items: baseline; gap: 12px; font: 500 15px/20px var(--zo-font); color: var(--zo-ink-secondary); }
.restmini b { font-size: 34px; line-height: 1; color: var(--zo-ink-primary); }
.log.resting .restmini { display: flex; }

/* 4. Food scanner */
.scanner { position: relative; height: 560px; border-radius: 32px; overflow: hidden; background: radial-gradient(120% 80% at 30% 20%, #3A3631, #191816 70%); color: #F7F6F1; }
.scanner .pack { position: absolute; left: 50%; top: 42%; width: 300px; margin-left: -150px; padding: 24px 24px 28px; transform: translateY(-50%) rotate(-5deg); border-radius: 12px; background: linear-gradient(160deg, #F2EEE4, #DCD6C8); box-shadow: 0 24px 50px rgba(0,0,0,.45); display: grid; gap: 9px; }
.scanner .pack i { display: block; height: 8px; border-radius: 4px; background: #B8B2A4; }
.scanner .pack i:nth-child(2) { width: 70%; } .scanner .pack i:nth-child(3) { width: 82%; } .scanner .pack i:last-child { width: 60%; }
.scanner .pack svg { justify-self: center; margin: 8px 0; width: 180px; height: auto; }
.scanner .frame { position: absolute; left: 50%; top: 42%; width: 300px; height: 170px; margin: -85px 0 0 -150px; transition: all .36s cubic-bezier(.2,.9,.3,1); }
.scanner .frame i { position: absolute; width: 34px; height: 34px; border: 3px solid #F7F6F1; }
.scanner .frame i:nth-child(1) { left: 0; top: 0; border-right: 0; border-bottom: 0; border-radius: 14px 0 0 0; }
.scanner .frame i:nth-child(2) { right: 0; top: 0; border-left: 0; border-bottom: 0; border-radius: 0 14px 0 0; }
.scanner .frame i:nth-child(3) { left: 0; bottom: 0; border-right: 0; border-top: 0; border-radius: 0 0 0 14px; }
.scanner .frame i:nth-child(4) { right: 0; bottom: 0; border-left: 0; border-top: 0; border-radius: 0 0 14px 0; }
.scanner.got .frame { width: 220px; height: 120px; margin: -50px 0 0 -110px; transform: rotate(-5deg); }
.scanner.got .frame i { border-width: 4px; }
.scanner .hint { position: absolute; left: 0; right: 0; bottom: 22px; display: flex; justify-content: center; }
.scanner .hint span { display: inline-flex; align-items: center; height: 40px; padding: 0 16px; border-radius: 20px; background: #2A2A28; font: 600 14px/20px var(--zo-font); }
.sheet { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 28px 28px; border-radius: 28px 28px 0 0; background: var(--zo-surface-1); color: var(--zo-ink-primary); transform: translateY(102%); transition: transform .48s cubic-bezier(.2,.9,.3,1); }
.scanner.got .sheet { transform: none; }
@media (prefers-reduced-motion: reduce) { .sheet, .scanner .frame { transition: none; } }
.sheet .grab { width: 36px; height: 5px; border-radius: 3px; background: var(--zo-separator-strong); margin: -8px auto 14px; }
.sheet .name { font: 700 24px/30px var(--zo-font); }
.sheet .meta { font: 400 14px/20px var(--zo-font); color: var(--zo-ink-secondary); }
.sheet .chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.sheet .pr { display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: center; margin-top: 16px; }
.sheet .kcal b { font-size: 48px; line-height: 1; }
.sheet .kcal span { font-size: 15px; color: var(--zo-ink-secondary); margin-left: 4px; }
.macro { display: grid; gap: 8px; }
.macro div { display: grid; grid-template-columns: 70px 1fr 60px; gap: 10px; align-items: center; font: 500 14px/20px var(--zo-font); }
.macro .t { height: 8px; border-radius: 4px; background: var(--zo-surface-3); display: flex; overflow: hidden; }
.macro .t b { height: 100%; background: var(--k); }
.macro .t b + b { background: repeating-linear-gradient(-45deg, var(--k) 0 2px, color-mix(in srgb, var(--k) 40%, transparent) 2px 4px); transition: width .36s; }
.macro div > span:last-child { text-align: right; color: var(--zo-ink-secondary); }
.sheet .src { margin-top: 12px; font: 400 13px/18px var(--zo-font); color: var(--zo-ink-secondary); }
.sheet .add { margin-top: 14px; width: 100%; }

/* 5. Learn: how 01 rates evidence (the app's evidence bars) */
.sure { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 56px; }
.sure > div { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; align-items: center; padding: 18px 20px; border-radius: 20px; background: var(--zo-surface-1); box-shadow: inset 0 0 0 1px var(--zo-separator); }
.sure .bars { display: inline-flex; gap: 3px; }
.sure .bars i { width: 14px; height: 6px; border-radius: 3px; background: var(--zo-surface-3); }
.sure .bars i.on { background: var(--zo-ink-primary); }
.sure b { font: 700 18px/24px var(--zo-font); }
.sure > div > span:last-child { grid-column: 1 / -1; color: var(--zo-ink-secondary); font-size: 16px; line-height: 24px; }

/* 6. The card */
.cardlab { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 56px; align-items: center; margin-top: 24px; }
.cardlab > * { min-width: 0; }
.flip { position: relative; perspective: 1600px; cursor: pointer; }
.flip .face { transition: transform .48s cubic-bezier(.4,0,.2,1), opacity .48s; backface-visibility: hidden; }
.flip .face-b { position: absolute; inset: 0; transform: rotateY(180deg); }
.flip.over .face-f { transform: rotateY(-180deg); }
.flip.over .face-b { transform: none; }
.flip .zo-member { box-shadow: 0 40px 80px rgba(0,0,0,.35); }
@media (prefers-reduced-motion: reduce) { .flip .face { transition: opacity .24s; transform: none !important; } .flip .face-b { opacity: 0; } .flip.over .face-f { opacity: 0; } .flip.over .face-b { opacity: 1; } }
.controls { display: grid; gap: 22px; }
.field label, .field .flabel { display: block; font: 500 14px/20px var(--zo-font); color: var(--zo-ink-secondary); }
.field input { margin-top: 8px; width: 100%; height: 56px; padding: 0 16px; border-radius: 14px; border: 0; background: var(--zo-surface-1); color: var(--zo-ink-primary); box-shadow: inset 0 0 0 1.5px var(--zo-separator-strong); font: 600 20px/24px var(--zo-font); }
.field input.numin { width: 140px; font-weight: 700; font-stretch: 75%; letter-spacing: 1px; font-size: 24px; }
.field input:focus { outline: none; box-shadow: inset 0 0 0 2px var(--zo-ink-primary); }
.field .hint { margin-top: 6px; font-size: 14px; line-height: 20px; color: var(--zo-ink-secondary); }
.field .hint .num { color: var(--zo-ink-primary); }
.eds { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }

/* 6. The Club model (app components: zo-card, zo-crew, zo-av, zo-post, zo-react, zo-steps) */
.club-card { padding: 22px; border-radius: 28px; box-shadow: inset 0 0 0 1px var(--zo-separator); }
.club-crew { margin-top: 14px; margin-right: 0; }
.club-goal { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--zo-separator); }
.club-steps { height: 6px; margin-top: 10px; }
.club-post { margin-top: 16px; background: var(--zo-surface-2); }
.club-post .grow { flex: 1; min-width: 0; }
.club-post .zo-react b { margin-left: 2px; }
.club-vs { display: grid; gap: 10px; margin-top: 18px; }
.club-vs .vrow .t b { transition: none; }
.club-vs .vrow .t b.w9 { width: 60%; } .club-vs .vrow .t b.w11 { width: 73%; }

/* 7. Share */
.shares { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-top: 56px; align-items: end; }
.shares figure { margin: 0; }
.shares img { border-radius: 6%; }
figcaption { margin-top: 18px; }
figcaption b { display: block; font: 700 19px/24px var(--zo-font); }
figcaption span { display: block; margin-top: 4px; color: var(--zo-ink-secondary); font-size: 16px; line-height: 24px; }

/* 8. Make it yours: the win stage */
.stage-win { position: relative; height: 400px; margin-top: 18px; border-radius: 32px; overflow: hidden; background: var(--zo-canvas); box-shadow: inset 0 0 0 1px var(--zo-separator); display: flex; align-items: flex-start; justify-content: center; padding-top: 178px; text-align: center; }
/* Each theme's win (frozen, and live when played) sits in one band above the title, clipped only at the bottom so nothing
   crosses the text. Drawn for a phone screen, so the band is scaled down a little. */
.stage-win .zo-themewin-host { position: absolute; left: 0; right: 0; top: 18px; height: 222px; transform: scale(.72); transform-origin: 50% 0; clip-path: inset(-80px -50vw 0 -50vw); }
.stage-win .saved { position: relative; z-index: 2; }
.stage-win .saved .t { font-family: var(--zo-font-display, var(--zo-font)); font-size: 72px; line-height: 1; font-weight: 700; }
.stage-win .saved .s { margin-top: 10px; color: var(--zo-ink-secondary); font-size: 18px; }

/* The 01 mark, set in a headline as a word (never redrawn: the approved path). Yellow on dark, ink on light. */
.wm { display: inline-block; height: .74em; width: auto; vertical-align: baseline; fill: var(--zo-accent); }
@media (prefers-color-scheme: light) { .wm { fill: var(--zo-ink-primary); } }

/* Founder: the app's founder note (portrait, words, signature), at page scale. */
.founder { margin: 0; max-width: 760px; display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 24px; align-items: start; padding: 28px; border-radius: 28px; background: var(--zo-surface-1); box-shadow: inset 0 0 0 1px var(--zo-separator); }
.founder .face { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; }
.founder blockquote { margin: 0; }
.founder blockquote p { margin: 0; font: 400 22px/32px var(--zo-font); }
.founder .sig { display: flex; flex-direction: column; margin-top: 14px; }
.founder .sig b { font: 700 16px/22px var(--zo-font); }
.founder .sig span { color: var(--zo-ink-secondary); font-size: 15px; line-height: 22px; }

/* The App Store badge: Apple's official artwork, black on light and white on dark. Before launch it shows dimmed and
   goes nowhere; APP_STORE_URL in site.js makes it live. Apple asks for at least 40 px height and clear space of a quarter of its height. */
.getit { display: flex; align-items: center; gap: 18px; margin-top: 40px; }
.appstore { display: inline-flex; padding: 0; border-radius: 10px; }
.soon { font: 600 15px/20px var(--zo-font); color: var(--zo-ink-secondary); }
.appstore[aria-disabled="true"] { opacity: .4; cursor: default; }
.appstore img { height: 54px; width: auto; }
.end .getit { margin-top: 36px; }

/* End, footer */
.end { padding-top: 150px; padding-bottom: 110px; }
.end h2 { font-size: 104px; letter-spacing: -3px; }
.site-foot { border-top: 1px solid var(--zo-separator); padding: 36px 0 48px; color: var(--zo-ink-secondary); font-size: 15px; line-height: 22px; }
.site-foot .row { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; }
.site-foot nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.site-foot a { text-decoration: none; }
.site-foot a:hover { text-decoration: underline; color: var(--zo-ink-primary); }
.site-foot .mk { width: 24px; height: 25px; color: var(--zo-ink-primary); }
.site-foot .small { margin-top: 16px; color: var(--zo-ink-tertiary); font-size: 14px; }

/* Documents: privacy, terms, legal notice, support */
.doc { max-width: 760px; padding-top: 64px; padding-bottom: 80px; }
.doc h1 { margin: 0; font-weight: 700; font-size: 64px; line-height: 1; letter-spacing: -1.6px; }
.doc .meta { color: var(--zo-ink-tertiary); font-size: 15px; margin-top: 12px; }
.doc h2 { font-size: 28px; line-height: 34px; letter-spacing: -.3px; margin-top: 44px; font-family: var(--zo-font); }
.doc h3 { font: 700 19px/26px var(--zo-font); margin: 28px 0 0; }
.doc p, .doc li { color: var(--zo-ink-secondary); }
.doc strong { color: var(--zo-ink-primary); }
.doc ul { padding-left: 20px; }
.doc .todo { display: inline-block; padding: 0 8px; border-radius: 6px; background: color-mix(in srgb, var(--zo-accent) 30%, transparent); color: var(--zo-ink-primary); font-weight: 600; }
.doc dl { display: grid; grid-template-columns: 220px 1fr; gap: 10px 20px; margin: 24px 0 0; }
.doc dt { color: var(--zo-ink-tertiary); }
.doc dd { margin: 0; color: var(--zo-ink-primary); }
.doc details { border-top: 1px solid var(--zo-separator); padding: 18px 0; }
.doc summary { cursor: pointer; font: 600 18px/26px var(--zo-font); color: var(--zo-ink-primary); }

/* The theme switch: the four app icons, like the alternate icons in the app. The selected one shows the mark. */
.themes-sw { display: flex; gap: 10px; align-items: center; }
.themes-sw button { width: 32px; height: 32px; padding: 0; border: 0; background: none; border-radius: 22.4%; cursor: pointer; flex: none; }
.themes-sw button > span { display: block; }
.themes-sw .zo-appicon { width: 32px !important; height: 32px !important; box-shadow: none; }
.themes-sw button[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--zo-canvas), 0 0 0 4px var(--zo-ink-primary); }
.themes-sw .zo-appicon .mk { transition: opacity .24s, transform .36s cubic-bezier(.2,.9,.3,1.3); }
.themes-sw button[aria-pressed="false"] .zo-appicon .mk { opacity: 0; transform: scale(.6); }
@media (prefers-reduced-motion: reduce) { .themes-sw .zo-appicon .mk { transition: opacity .24s; transform: none !important; } }

/* Narrower screens: one column. */
@media (max-width: 1100px) {
  h2 { font-size: 56px; } .coachline { font-size: 52px; }
  .split, .cardlab { grid-template-columns: minmax(0, 1fr); }
  .show { grid-template-columns: minmax(0, 1fr) 280px; gap: 40px; }
  .stage .shot { width: 260px; }
  .site-top nav { display: none; }
}
/* Keep the mobile presentation on touch phones in either orientation. */
@media (max-width: 760px), (hover: none) and (pointer: coarse) and (max-width: 1100px) {
  :root { --gut: 16px; }
  .site-top .row { height: 58px; gap: 10px; }
  .themes-sw { gap: 8px; }
  .themes-sw button, .themes-sw .zo-appicon { width: 28px !important; height: 28px !important; }
  .hx { min-height: 0; padding: 40px 0 24px; }
  .hx-h { font-size: 52px; letter-spacing: -1.4px; }
  .hx-sub { font-size: 18px; line-height: 27px; margin-top: 32px; }
  .race { margin-top: 36px; gap: 14px; }
  .lane { grid-template-columns: 1fr 56px; gap: 6px 12px; }
  .lane .lab { grid-column: 1 / -1; font-size: 15px; }
  .lane .trk { height: 28px; }
  .lane em { font-size: 44px; }
  .sec { padding-top: 96px; }
  h2 { font-size: 42px; letter-spacing: -1px; }
  .lede { font-size: 17px; line-height: 26px; }
  /* The presenter on a phone: the screen first, then only the current step, moved with Next. */
  .show { display: flex; flex-direction: column; align-items: stretch; gap: 0; margin-top: 36px; }
  .stage { position: static; order: -1; }
  .stage .shot { width: 230px; }
  .steps { margin-top: 16px; }
  .steps li:not(.on) { display: none; }
  .steps li.on button { background: transparent; box-shadow: none; padding: 0; cursor: default; }
  .steps .n { width: 34px; height: 34px; font-size: 16px; }
  .steps .tx b { font-size: 19px; padding-top: 4px; }
  .try { margin-top: 56px; }
  .try-tx { font-size: 19px; line-height: 28px; }
  .why { margin-top: 56px; font-size: 24px; line-height: 30px; padding-left: 16px; }
  .getit { margin-top: 28px; gap: 14px; } .appstore img { height: 48px; }
  .founder { grid-template-columns: 56px minmax(0, 1fr); gap: 16px; padding: 20px; border-radius: 22px; }
  .founder .face { width: 56px; height: 56px; }
  .founder blockquote p { font-size: 18px; line-height: 26px; }
  .say { gap: 12px; }
  .coach-av { width: 40px; height: 40px; margin-top: 4px; } .coach-av .mk { width: 18px; height: 19px; }
  .coachline { font-size: 40px; letter-spacing: -1px; }
  .log { padding: 18px; }
  .vrow { grid-template-columns: 48px 1fr 72px; gap: 10px; font-size: 15px; }
  .log .act { flex-direction: column; align-items: stretch; gap: 12px; }
  .log .act .cta { max-width: none; flex: none; }
  .scanner { height: 520px; border-radius: 24px; }
  .scanner .pack { width: 240px; margin-left: -120px; } .scanner .frame { width: 250px; margin-left: -125px; }
  .sheet { padding: 18px; }
  .sure { grid-template-columns: minmax(0, 1fr); margin-top: 40px; }
  .shares { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 16px; }
  .shares figure { flex: 0 0 72%; scroll-snap-align: start; }
  .stage-win { height: 330px; padding-top: 150px; } .stage-win .saved .t { font-size: 40px; } .stage-win .zo-themewin-host { top: 14px; height: 200px; transform: scale(.64); }
  .end { padding-top: 96px; padding-bottom: 72px; } .end h2 { font-size: 52px; letter-spacing: -1.2px; }
  .doc h1 { font-size: 44px; }
  .doc dl { grid-template-columns: 1fr; gap: 2px; } .doc dd { margin-bottom: 12px; }
}
