/* Plimova marketing site. Colours, type and radii from the app (docs/design-system/theme.css and
   the Swift app's Palette): porcelain light by default, dark when the device is dark, and a dark
   chapter for the sample week. The interactive demos keep the first site's dark look, scoped to
   .demo-stage (demos.css, Features only). */

@font-face{font-family:"Bricolage Grotesque";src:url(../fonts/bricolage-grotesque-latin.woff2) format("woff2");font-weight:600 700;font-style:normal;font-display:swap}
@font-face{font-family:"Instrument Sans";src:url(../fonts/instrument-sans-latin.woff2) format("woff2");font-weight:400 700;font-style:normal;font-display:swap}

:root{
  --bg:#f3f7f5; --surface:#ffffff; --surface-2:#ebf0ef; --fg:#111c18; --muted:#5a6561; --faint:#99a09e; --border:#dce1df;
  --primary:#ed7947; --primary-hover:#db6f3d; --primary-fg:#111c18; --link:#b2471c; --ring:#00876d; --pointer:#ed7947;
  --training:#237356; --run:#2d74aa; --habit:#138282; --notes:#755d9d; --success:#006e3b;
  --todo-bg:#fff3cf; --todo-fg:#6b4a00; --shadow:0 18px 48px -24px rgba(17,28,24,.35);
  --display:"Bricolage Grotesque","Avenir Next","Segoe UI",system-ui,sans-serif;
  --body:"Instrument Sans","Helvetica Neue","Segoe UI",system-ui,sans-serif;
  --ease:cubic-bezier(.2,.8,.2,1);
  --r-card:20px; --r-photo:26px; --r-control:14px;
  --gutter:20px; --gap:16px; --section:4rem;
  color-scheme:light;
}
@media (prefers-color-scheme:dark){
  :root:not([data-theme="light"]){
    --bg:#090d0c; --surface:#131917; --surface-2:#1e2522; --fg:#eef1f0; --muted:#a3aba8; --faint:#636b68; --border:#292f2d;
    --primary:#f28a51; --primary-hover:#fda16b; --primary-fg:#081411; --link:#f7945a; --ring:#59d7b9; --pointer:#f28a51;
    --training:#75cca7; --run:#79c0f1; --habit:#6fcdc9; --notes:#c2afe7; --success:#65c98c;
    --todo-bg:#3a2e10; --todo-fg:#f0ba59; --shadow:0 18px 48px -24px rgba(0,0,0,.7);
    color-scheme:dark;
  }
}
:root[data-theme="dark"],.dark{
  --bg:#090d0c; --surface:#131917; --surface-2:#1e2522; --fg:#eef1f0; --muted:#a3aba8; --faint:#636b68; --border:#292f2d;
  --primary:#f28a51; --primary-hover:#fda16b; --primary-fg:#081411; --link:#f7945a; --ring:#59d7b9; --pointer:#f28a51;
  --training:#75cca7; --run:#79c0f1; --habit:#6fcdc9; --notes:#c2afe7; --success:#65c98c;
  --todo-bg:#3a2e10; --todo-fg:#f0ba59; --shadow:0 18px 48px -24px rgba(0,0,0,.7);
  color-scheme:dark;
}
@media (min-width:1024px){ :root{ --gutter:24px; --gap:24px; --section:7rem } }

/* ---------- Base ---------- */
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-padding-top:5rem}
@media (prefers-reduced-motion:no-preference){ html{scroll-behavior:smooth} }
body{margin:0;background:var(--bg);color:var(--fg);font-family:var(--body);font-size:clamp(1.0625rem,1rem + .25vw,1.25rem);line-height:1.5;overflow-x:hidden}
img{max-width:100%;height:auto;display:block}
h1,h2,h3{font-family:var(--display);font-weight:620;letter-spacing:-.015em;margin:0;text-wrap:balance;color:var(--fg)}
h1{font-size:clamp(3rem,2rem + 3.2vw,5rem);line-height:1.03}
h2{font-size:clamp(2.125rem,1.6rem + 1.6vw,3.25rem);line-height:1.09}
h3{font-size:1.25rem;line-height:1.25}
p{margin:0}
a{color:inherit}
.num{font-variant-numeric:tabular-nums;white-space:nowrap}
.lead{color:var(--muted);max-width:60ch}
.eyebrow{font-size:.8125rem;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.wrap{width:100%;max-width:calc(1200px + 2 * var(--gutter));margin-inline:auto;padding-inline:max(var(--gutter),env(safe-area-inset-left,0px)) max(var(--gutter),env(safe-area-inset-right,0px))}
.narrow{max-width:calc(40rem + 2 * var(--gutter))}
:focus-visible{outline:3px solid var(--ring);outline-offset:3px;border-radius:6px}
.skip{position:absolute;left:12px;top:-60px;z-index:50;background:var(--surface);color:var(--fg);padding:.7rem 1rem;border-radius:var(--r-control);text-decoration:none;font-weight:600}
.skip:focus{top:12px}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.text-link,.prose a,.fine a,figcaption a{color:var(--link);text-decoration:underline;text-underline-offset:.18em;text-decoration-thickness:1px;font-weight:600}
.text-link:hover,.prose a:hover{text-decoration-thickness:2px}
.todo{background:var(--todo-bg);color:var(--todo-fg);border-radius:4px;padding:0 .3em;font-weight:600}
.ph-tag{position:absolute;left:12px;top:12px;background:var(--todo-bg);color:var(--todo-fg);font:600 .75rem/1 var(--body);padding:.4rem .6rem;border-radius:8px}

/* ---------- Buttons ---------- */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:.55rem;min-height:52px;padding:0 1.4rem;border-radius:var(--r-control);font:600 1.0625rem/1.2 var(--body);text-decoration:none;border:0;cursor:pointer;transition:background-color 120ms var(--ease),color 120ms var(--ease),border-color 120ms var(--ease);text-align:center}
.btn-primary{background:var(--primary);color:var(--primary-fg)}
.btn-primary:hover,.btn-primary:active{background:var(--primary-hover)}
.btn-quiet{background:transparent;color:var(--fg);border:1px solid var(--border)}
.btn-quiet:hover{border-color:var(--muted)}
.btn-sm{min-height:44px;padding:0 1rem;font-size:.9375rem}
.btn svg{width:1.2em;height:1.2em;flex:none}
.btn:focus-visible{outline-offset:3px;border-radius:var(--r-control)}

/* ---------- Header ---------- */
.topbar{position:sticky;top:0;z-index:20;background:color-mix(in srgb,var(--bg) 88%,transparent);backdrop-filter:saturate(1.4) blur(12px);-webkit-backdrop-filter:saturate(1.4) blur(12px);border-bottom:1px solid transparent}
.bar{display:flex;align-items:center;justify-content:space-between;gap:1rem;min-height:64px}
.brand{display:inline-flex;align-items:center;gap:.55rem;font:650 1.375rem/1 var(--display);letter-spacing:-.01em;text-decoration:none;min-height:44px;color:var(--fg)}
.mark{height:24px;width:auto;flex:none}
.mark-pointer{fill:var(--pointer);stroke:var(--pointer)}
.navlinks{display:none;align-items:center;gap:1.75rem;font-weight:600;font-size:1rem}
.navlinks>a{text-decoration:none;min-height:44px;display:inline-flex;align-items:center;text-underline-offset:.3em}
.navlinks>a:hover,.navlinks>a[aria-current="page"]{text-decoration:underline;text-decoration-thickness:2px}
.head-action[hidden]{display:none}
.menu{position:relative}
.menu summary{list-style:none;cursor:pointer;min-height:44px;min-width:44px;display:inline-flex;align-items:center;padding:0 .9rem;border:1px solid var(--border);border-radius:var(--r-control);font-weight:600;font-size:1rem}
.menu summary::-webkit-details-marker{display:none}
.menu[open] summary{border-color:var(--fg)}
.menu-panel{position:absolute;right:0;top:calc(100% + 8px);min-width:220px;background:var(--surface);border:1px solid var(--border);border-radius:var(--r-card);box-shadow:var(--shadow);padding:.5rem;display:flex;flex-direction:column}
.menu-panel a{display:flex;align-items:center;min-height:48px;padding:0 1rem;border-radius:12px;text-decoration:none;font-weight:600}
.menu-panel a:hover{background:var(--surface-2)}
@media (min-width:768px){ .navlinks{display:flex} .menu{display:none} }
.announce{background:var(--surface-2);font-size:.9375rem;padding:.6rem 0;text-align:center}

/* ---------- Actions ---------- */
.action{display:flex;flex-direction:column;align-items:flex-start;gap:.75rem;margin-top:2rem}
.action .btn{min-width:min(100%,260px)}
.price-line{font-size:.9375rem;color:var(--muted);max-width:40ch}
.status{display:inline-flex;align-items:center;gap:.5rem;font-weight:600;font-size:.9375rem}
.status-dot{width:8px;height:8px;border-radius:50%;background:var(--pointer)}
.quiet-link{font-size:.9375rem;font-weight:600;color:var(--link);text-underline-offset:.18em;min-height:44px;display:inline-flex;align-items:center}
.action.is-quiet{margin-top:1.25rem}

.settle-from{transform:translateY(8px);opacity:.001}
.settle-in{transform:none;opacity:1;transition:transform 380ms var(--ease),opacity 380ms var(--ease)}

/* ---------- App screens (stand-ins for captures) ---------- */
.app-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--r-card);padding:16px 18px;box-shadow:var(--shadow);color:var(--fg);font-size:1rem}
.app-screen{background:var(--bg);border:1px solid var(--border);border-radius:34px;padding:22px 16px 18px;display:flex;flex-direction:column;gap:12px;max-width:380px;margin-inline:auto;width:100%;color:var(--fg)}
.app-screen .app-card{box-shadow:none}
.scr-h{font:650 1.75rem/1.1 var(--display)}
.scr-s{font-size:.9375rem;color:var(--muted)}
.scr-legend{font-weight:600;margin-bottom:.25rem}
.scr-fine{font-size:.8125rem;color:var(--muted);margin-top:.6rem}
.app-btn{display:flex;align-items:center;justify-content:center;min-height:48px;border-radius:var(--r-control);background:var(--primary);color:var(--primary-fg);font-weight:600;margin-top:.8rem}
.wk{padding:6px 18px 8px}
.wk-title{font:650 1.0625rem/1.2 var(--display);padding:12px 0 6px}
.wk-list{list-style:none;margin:0;padding:0}
.wk-row{display:flex;align-items:center;gap:14px;min-height:46px;border-top:1px solid var(--border);font-size:1rem}
.wk-row:first-child{border-top:0}
.wk-date{display:flex;flex-direction:column;align-items:center;width:34px;flex:none;line-height:1.05}
.wk-date small{font-size:.6875rem;font-weight:600;color:var(--muted);letter-spacing:.02em}
.wk-date b{font-weight:600;font-variant-numeric:tabular-nums}
.wk-date b.is-today{color:var(--link)}
.dot{width:8px;height:8px;border-radius:50%;flex:none;display:inline-block}
.dot-lift{background:var(--training)} .dot-run{background:var(--run)} .dot-habit{background:var(--habit)} .dot-notes{background:var(--notes)} .dot-none{background:transparent}
.wk-name{flex:1;min-width:0}
.wk-name.is-today{font-weight:600}
.wk-meta{color:var(--muted);font-size:.9375rem;font-variant-numeric:tabular-nums;white-space:nowrap}
.ok{width:20px;height:20px;flex:none}.ok circle{fill:var(--success)}.ok path{fill:none;stroke:var(--surface);stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.wk-entry{display:flex;gap:12px;align-items:flex-start;border-top:1px solid var(--border);padding:12px 0 8px;margin-top:2px}
.wk-entry .dot{margin-top:.55em}
.wk-entry-h{font-size:.875rem;color:var(--muted);font-weight:600}
.wk-note{font-family:var(--display);font-weight:600;font-size:1.125rem;line-height:1.3;margin-top:2px}
.is-outlined{border-radius:12px;box-shadow:inset 0 0 0 2px var(--run);padding-inline:8px;margin-inline:-8px}
.from-ai{display:flex;flex-direction:column;gap:4px}
.from-h{font-weight:600}
.from-t{font-weight:500}
.from-m{font-size:.8125rem;color:var(--muted)}
.from-btns{display:flex;gap:14px;align-items:center;margin-top:6px}
.soft-btn{display:inline-flex;align-items:center;min-height:40px;padding:0 1rem;border-radius:12px;background:color-mix(in srgb,var(--primary) 16%,var(--surface));font-weight:600;font-size:.9375rem}
.link-btn{font-weight:600;font-size:.9375rem;color:var(--link)}
.scopes{list-style:none;margin:0;padding:0}
.scopes li{display:flex;gap:12px;align-items:flex-start;padding:7px 0}
.scopes b{display:block;font-weight:500;font-size:.9375rem}
.scopes small{display:block;color:var(--muted);font-size:.8125rem;line-height:1.35}
.box{width:20px;height:20px;border-radius:6px;border:2px solid var(--faint);flex:none;margin-top:2px;position:relative}
.box.is-on{background:var(--link);border-color:var(--link)}
.box.is-on::after{content:"";position:absolute;left:5px;top:1px;width:5px;height:10px;border:solid var(--surface);border-width:0 2px 2px 0;transform:rotate(45deg)}
.chat{gap:14px}
.bubble{max-width:88%;padding:12px 14px;border-radius:18px;font-size:.9375rem;line-height:1.4}
.bubble.me{align-self:flex-end;background:var(--surface-2);border-bottom-right-radius:6px}
.bubble.them{align-self:flex-start;background:var(--surface);border:1px solid var(--border);border-bottom-left-radius:6px}
.player{display:flex;flex-direction:column;gap:6px}
.pl-k{font-size:.75rem;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--training)}
.pl-h{font:650 1.75rem/1.1 var(--display)}
.pl-aim,.pl-last{color:var(--muted);font-size:.9375rem}
.pl-sets{list-style:none;margin:8px 0 0;padding:0}
.pl-sets li{display:grid;grid-template-columns:28px 1fr 1fr 28px;align-items:center;gap:8px;min-height:48px;border-top:1px solid var(--border)}
.pl-n{width:26px;height:26px;border-radius:50%;background:var(--surface-2);display:grid;place-items:center;font-size:.8125rem;font-weight:600}
.pl-sets b{font:650 1.25rem var(--display)}
.tick{width:24px;height:24px;border-radius:50%;border:2px solid var(--border)}
.entry{display:flex;flex-direction:column;gap:6px}
.en-k{display:flex;align-items:center;gap:8px;font-size:.875rem;color:var(--muted);font-weight:600}
.en-h{font:650 1.375rem/1.15 var(--display)}
.en-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:6px 0 4px}
.en-stats dt{font-size:.75rem;color:var(--muted)}
.en-stats dd{margin:0;font:650 1.375rem/1.1 var(--display)}
.en-stats small{font:500 .8125rem var(--body);color:var(--muted);margin-left:2px}
.en-note{font-family:var(--display);font-weight:600;font-size:1.125rem}
.en-meta{font-size:.8125rem;color:var(--muted)}
.avatar{width:22px;height:22px;border-radius:50%;background:var(--surface-2);display:grid;place-items:center;font-size:.75rem;color:var(--fg)}
.route{width:100%;height:auto;border-radius:14px;background:var(--surface-2);display:block}
.route-bg{stroke:var(--border);stroke-width:6;fill:none}
.route-line{stroke:var(--run);stroke-width:3.5;fill:none;stroke-linecap:round;stroke-linejoin:round}
.route-home{fill:var(--surface);stroke:var(--run);stroke-width:3}
.simple-list,.goal-list{list-style:none;margin:0;padding:0}
.simple-list li{display:flex;align-items:center;gap:12px;min-height:48px;border-top:1px solid var(--border)}
.simple-list li:first-child{border-top:0}
.simple-list span:nth-child(2){flex:1}
.simple-list b{font-weight:500;color:var(--muted);font-size:.9375rem}
.dot.is-done{box-shadow:0 0 0 3px color-mix(in srgb,currentColor 0%,transparent)}
.goal-list li{padding:10px 0;border-top:1px solid var(--border)}
.goal-list li:first-child{border-top:0}
.goal-list p{display:flex;justify-content:space-between;gap:12px;font-size:.9375rem}
.goal-list b{font-weight:500;color:var(--muted)}
.meter{display:block;height:8px;border-radius:8px;background:var(--surface-2);margin-top:8px;overflow:hidden}
.meter i{display:block;height:100%;background:var(--run);border-radius:8px}
figure{margin:0}
figcaption{font-size:.9375rem;color:var(--muted);margin-top:.9rem;max-width:44ch}
figcaption b{color:var(--fg);font-weight:600}

/* ---------- Chapters ---------- */
.chapter{padding-block:var(--section)}
.chapter.dark{background:var(--bg);color:var(--fg)}
.chap-head{display:flex;flex-direction:column;gap:1rem;margin-bottom:2.5rem;max-width:44rem}
.more{margin-top:2rem}

.walk{margin-top:3rem;border-top:1px solid var(--border);padding-top:2rem}
.walk>summary{list-style:none;cursor:pointer;display:inline-flex;align-items:center;gap:.6rem;min-height:52px;padding:0 1.3rem;border:1px solid var(--border);border-radius:var(--r-control);font-weight:600;transition:border-color 120ms var(--ease)}
.walk>summary:hover{border-color:var(--muted)}
.walk>summary::-webkit-details-marker{display:none}
.walk>summary::after{content:"";width:8px;height:8px;border:solid currentColor;border-width:0 2px 2px 0;transform:rotate(45deg) translateY(-2px);transition:transform 180ms var(--ease)}
.walk[open]>summary::after{transform:rotate(-135deg) translateY(-2px)}
.walk-steps[hidden]{display:none}
.walk-steps{list-style:none;margin:2rem 0 0;padding:0;display:flex;flex-direction:column;gap:3rem}
.walk-step{display:grid;gap:1.25rem}
.walk-text{display:flex;flex-direction:column;gap:.5rem;max-width:40rem}
.walk-n{font-size:.8125rem;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}
.walk-text h3{font-size:1.5rem}
.walk-text p:last-child{color:var(--muted)}
@media (min-width:768px){ .walk-step{grid-template-columns:5fr 7fr;align-items:start} }
.walk-tabbed{display:grid;grid-template-columns:5fr 7fr;gap:var(--gap);margin-top:2rem;align-items:start}
.walk-tabs{display:flex;flex-direction:column;gap:.5rem}
.walk-tab{display:grid;grid-template-columns:auto 1fr;gap:1rem;text-align:left;font:inherit;color:inherit;background:transparent;border:1px solid var(--border);border-radius:var(--r-card);padding:1rem 1.2rem;cursor:pointer;min-height:52px;transition:border-color 120ms var(--ease),background-color 120ms var(--ease)}
.walk-tab:hover{border-color:var(--muted)}
.walk-tab[aria-selected="true"]{background:var(--surface);border-color:var(--link)}
.walk-tab-n{width:32px;height:32px;border-radius:50%;display:grid;place-items:center;background:var(--surface-2);font:650 1rem var(--display)}
.walk-tab[aria-selected="true"] .walk-tab-n{background:var(--primary);color:var(--primary-fg)}
.walk-tab-t b{display:block;font:620 1.1875rem/1.25 var(--display)}
.walk-tab-t small{display:block;color:var(--muted);font-size:.9375rem;margin-top:.25rem}
.walk-nav{display:flex;gap:.6rem;margin-top:1rem}
.walk-phone{position:relative;min-height:620px}
.walk-panel{position:absolute;inset:0 0 auto 0;opacity:0;transition:opacity 180ms var(--ease);pointer-events:none}
.walk-panel.is-on{opacity:1;pointer-events:auto}
.walk-panel[hidden]{display:none}
.is-review .is-on .is-outlined{animation:outline 380ms var(--ease) both}
.is-review .is-on .is-new{animation:appear 380ms var(--ease) both}
@keyframes outline{from{box-shadow:inset 0 0 0 0 var(--run)}to{box-shadow:inset 0 0 0 2px var(--run)}}
@keyframes appear{from{opacity:0}to{opacity:1}}
@media (prefers-reduced-motion:reduce){ .walk-panel{transition:none} .is-review .is-on .is-outlined,.is-review .is-on .is-new{animation:none} }

.faq{margin-top:2.5rem;border-top:1px solid var(--border);max-width:52rem}
.faq details{border-bottom:1px solid var(--border)}
.faq summary{cursor:pointer;list-style:none;display:flex;flex-wrap:wrap;align-items:center;gap:.25rem .75rem;min-height:56px;padding:.75rem 2.2rem .75rem 0;font-weight:600;position:relative}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"";position:absolute;right:.4rem;top:50%;width:9px;height:9px;border:solid var(--muted);border-width:0 2px 2px 0;transform:translateY(-70%) rotate(45deg);transition:transform 180ms var(--ease)}
.faq details[open] summary::after{transform:translateY(-30%) rotate(-135deg)}
.faq details p{color:var(--muted);padding:0 0 1.1rem;max-width:60ch}
.faq-plan{font:600 .75rem/1 var(--body);letter-spacing:.04em;padding:.35rem .55rem;border-radius:8px;background:var(--surface-2);color:var(--muted)}
.ticks{list-style:none;margin:1.25rem 0 0;padding:0;display:flex;flex-direction:column;gap:.6rem}

/* ---------- Footer ---------- */
.site-foot{padding-block:3.5rem 2.5rem;font-size:.9375rem;border-top:1px solid var(--border)}
.foot-top{display:flex;flex-direction:column;gap:.6rem;margin-bottom:2.5rem}
.foot-top p{color:var(--muted)}
.foot-cols{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:2rem var(--gap)}
@media (min-width:768px){ .foot-cols{grid-template-columns:repeat(5,minmax(0,1fr))} }
.foot-cols h2{font:600 .8125rem/1 var(--body);letter-spacing:.08em;text-transform:uppercase;color:var(--muted);margin-bottom:.6rem}
.foot-cols a,.foot-cols .soon{display:flex;align-items:center;min-height:44px;text-decoration:none}
.foot-cols a:hover{text-decoration:underline;text-underline-offset:.2em}
.soon{color:var(--muted)}
.foot-bottom{display:flex;flex-direction:column;gap:.5rem;margin-top:2.5rem;padding-top:1.5rem;border-top:1px solid var(--border);color:var(--muted);font-size:.8125rem}
@media (min-width:768px){ .foot-bottom{flex-direction:row;justify-content:space-between;gap:2rem} }

/* ---------- Inner pages ---------- */
.page-hero{padding-block:clamp(2.5rem,6vw,5rem) 2rem;display:flex;flex-direction:column;gap:1rem;max-width:calc(48rem + 2 * var(--gutter));margin-inline:auto}
.page-hero.is-wide{max-width:calc(1200px + 2 * var(--gutter))}
.page-hero h1{font-size:clamp(2.5rem,1.8rem + 2.4vw,4rem)}
.crumbs{font-size:.875rem;color:var(--muted)}.crumbs a{color:var(--muted)}
.prose{padding-bottom:var(--section)}
.prose p,.prose li{line-height:1.65;max-width:60ch}
.prose p+p,.prose ul,.prose ol{margin-top:1rem}
.prose h2{font-size:1.75rem;margin:2.5rem 0 .75rem}
.prose h3{margin:1.75rem 0 .5rem}
.sub-h{font-size:clamp(1.625rem,1.3rem + 1vw,2.25rem);margin:var(--section) 0 1.5rem}
.fine{font-size:.875rem;color:var(--muted);margin-top:1rem}
.notice,.draft-note{padding:1.1rem 1.25rem;border-radius:var(--r-card);border:1px solid var(--border);background:var(--surface);max-width:44rem}
.draft-note{border-color:color-mix(in srgb,var(--todo-fg) 40%,transparent);background:var(--todo-bg);color:var(--todo-fg);font-size:.9375rem}
.layout{display:grid;gap:2rem;padding-block:2rem var(--section)}
@media (min-width:1024px){ .layout{grid-template-columns:220px minmax(0,1fr);gap:5rem} .toc{position:sticky;top:96px;align-self:start} }
.toc{font-size:.9375rem;border:1px solid var(--border);border-radius:var(--r-card);padding:1rem 1.25rem}
@media (min-width:1024px){ .toc{border:0;padding:0} }
.toc ol{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:.25rem}
.toc a{color:var(--muted);text-decoration:none;display:flex;min-height:36px;align-items:center}.toc a:hover{color:var(--fg)}
.legal{padding-bottom:0}
.legal section{padding-bottom:2rem;margin-bottom:2rem;border-bottom:1px solid var(--border)}
.legal h2{font-size:1.5rem;display:flex;gap:.9rem;align-items:baseline;margin:0 0 1rem}.legal h2 span{font:600 .8125rem var(--body);color:var(--link)}
.legal table{width:100%;border-collapse:collapse;font-size:.9375rem;display:block;overflow-x:auto}
.legal th,.legal td{text-align:left;padding:.7rem .6rem;border-bottom:1px solid var(--border);vertical-align:top}
.legal th{color:var(--muted);font-size:.8125rem}
.summary{display:grid;gap:1px;background:var(--border);border:1px solid var(--border);border-radius:var(--r-card);overflow:hidden;margin:1rem 0}
@media (min-width:768px){ .summary{grid-template-columns:repeat(2,minmax(0,1fr))} }
.summary div{background:var(--surface);padding:1.1rem 1.2rem}.summary b{display:block;font-family:var(--display);margin-bottom:.2rem}.summary span{color:var(--muted);font-size:.9375rem}
.sample{font-size:.875rem;color:var(--muted);margin-top:1.5rem}

/* Features */
.chap-index{display:none;margin-bottom:1rem}
.chap-index ol,.chap-index-m ol{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:.5rem}
.chap-index a,.chap-index-m a{display:inline-flex;align-items:center;min-height:44px;padding:0 1rem;border:1px solid var(--border);border-radius:999px;text-decoration:none;font-weight:600;font-size:.9375rem;background:var(--surface)}
.chap-index a:hover{border-color:var(--muted)}
.chap-index-m{border:1px solid var(--border);border-radius:var(--r-card);background:var(--surface)}
.chap-index-m summary{cursor:pointer;min-height:52px;display:flex;align-items:center;padding:0 1.2rem;font-weight:600}
.chap-index-m nav{padding:0 1rem 1rem}
@media (min-width:768px){ .chap-index{display:block} .chap-index-m{display:none} }
.feat{display:grid;gap:2rem;padding-block:var(--section);border-bottom:1px solid var(--border);scroll-margin-top:4.5rem}
.feat:last-child{border-bottom:0}
.feat-copy{display:flex;flex-direction:column;gap:1rem}
.feat-copy .ticks{margin-top:.25rem}
@media (min-width:1024px){ .feat{grid-template-columns:5fr 7fr;gap:var(--gap);align-items:start} .feat.is-flip{grid-template-columns:7fr 5fr} .feat.is-flip .feat-copy{order:2} .feat-copy{position:sticky;top:6rem} }
.feat-demo+.feat-demo{margin-top:2rem}
.demo-stage{color:#eef1f0;font-size:16px;line-height:1.55;border-radius:var(--r-photo);background:#080b0a;padding:clamp(12px,3vw,32px);overflow:hidden}
.feat-screen .app-card{max-width:440px}

/* Pricing */
.renewal{display:grid;gap:1.5rem;margin-top:1.5rem;padding:1.5rem;border:1px solid var(--border);border-radius:var(--r-card);background:var(--surface)}
.renewal .action{margin-top:0}
@media (min-width:1024px){ .renewal{grid-template-columns:5fr 7fr;gap:var(--gap);align-items:start} }
.renew-facts{margin:0;display:flex;flex-direction:column;gap:.9rem}
.renew-facts dt{font-weight:600}
.renew-facts dd{margin:.15rem 0 0;color:var(--muted)}
.timeline{list-style:none;margin:0;padding:0;display:grid;gap:1rem}
@media (min-width:768px){ .timeline{grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--gap)} }
.timeline li{display:flex;flex-direction:column;gap:.35rem;padding:1.25rem;border:1px solid var(--border);border-radius:var(--r-card);background:var(--surface)}
.timeline span:last-child{color:var(--muted)}
.tl-dot{width:32px;height:32px;border-radius:50%;display:grid;place-items:center;background:var(--surface-2);font:650 1rem var(--display);margin-bottom:.4rem}
.tablewrap{overflow-x:auto;margin-top:var(--section);border:1px solid var(--border);border-radius:var(--r-card);background:var(--surface)}
.compare{width:100%;border-collapse:collapse;font-size:.9375rem}
.compare caption{text-align:left;font:620 1.5rem var(--display);padding:1.25rem 1.25rem .5rem}
.compare th,.compare td{padding:.85rem 1.25rem;border-bottom:1px solid var(--border);text-align:left;vertical-align:middle}
.compare thead th{font-size:.875rem}
.compare thead small{font-weight:500;color:var(--muted)}
.compare td{text-align:center;width:22%}
.compare th[scope="row"]{font-weight:500}
.compare tr:last-child>*{border-bottom:0}
.yes{color:var(--training);font-weight:700}.no{color:var(--faint)}

/* Android waitlist, support, contact */
.waitlist{display:flex;flex-direction:column;gap:.6rem;padding:1.5rem;border:1px solid var(--border);border-radius:var(--r-card);background:var(--surface)}
.waitlist label{font-weight:600}
.hint{color:var(--muted);font-size:.9375rem}
.error{color:#b42318;font-weight:600;font-size:.9375rem}
.dark .error,:root[data-theme="dark"] .error{color:#ff8a80}
@media (prefers-color-scheme:dark){ :root:not([data-theme="light"]) .error{color:#ff8a80} }
.wl-row{display:flex;flex-wrap:wrap;gap:.6rem;margin-top:.25rem}
.wl-row input{flex:1 1 16rem;min-height:52px;padding:0 1rem;border-radius:var(--r-control);border:1px solid var(--faint);background:var(--bg);color:var(--fg);font:inherit;font-size:1.0625rem}
.wl-row input[aria-invalid="true"]{border-color:#b42318;border-width:2px}
.wl-trap{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}
.quiet-note{color:var(--muted);margin-top:1rem}
.hint a{color:inherit;text-decoration:underline}
.support-group{margin-bottom:3rem}
.support-group h2{font-size:1.625rem}
.support-group .faq{margin-top:1rem}
.support-group>p{margin-top:.75rem;color:var(--muted)}
.contact-list{margin:1.5rem 0;display:flex;flex-direction:column;gap:1rem}
.contact-list dt{font-weight:600}
.contact-list dd{margin:.15rem 0 0;color:var(--muted)}

/* Exercise library */
.ex-tools{display:flex;flex-direction:column;gap:1rem;padding-block:1rem;position:sticky;top:64px;z-index:5;background:var(--bg)}
.ex-search{width:100%;max-width:560px;min-height:52px;padding:0 1.1rem;border-radius:var(--r-control);border:1px solid var(--faint);background:var(--surface);color:var(--fg);font:inherit;font-size:1.0625rem}
.chips{display:flex;gap:6px;flex-wrap:wrap}
.chips button{border:1px solid var(--border);background:var(--surface);color:var(--fg);font:600 .9375rem var(--body);min-height:44px;padding:0 1rem;border-radius:999px;cursor:pointer}
.chips button[aria-pressed="true"]{background:var(--fg);color:var(--bg);border-color:var(--fg)}
.ex-count{color:var(--muted);font-size:.9375rem}
.ex-empty{color:var(--muted);padding:2rem 0}
.ex-grid{list-style:none;margin:0;padding:1rem 0 var(--section);display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:10px}
.ex-card a{display:grid;grid-template-columns:56px minmax(0,1fr);gap:12px;align-items:center;padding:10px;border-radius:16px;border:1px solid var(--border);background:var(--surface);text-decoration:none;transition:border-color 120ms var(--ease)}
.ex-card a:hover{border-color:var(--muted)}
.ex-card b{display:block;font-weight:600;font-size:.9375rem;line-height:1.25}.ex-card small{color:var(--muted);font-size:.8125rem}
.ex-art{display:block;width:56px;height:56px;border-radius:12px;background:var(--surface-2);padding:4px}.ex-art svg,.ex-figure svg{width:100%;height:100%;display:block}
.art-prop{stroke:var(--faint);fill:none}
.art-body{stroke:var(--link);fill:none}.art-far{stroke-opacity:.4}
.art-head{fill:var(--link)}
.art-load{stroke:var(--fg);fill:none}.art-load.is-filled{fill:var(--fg)}
.ex-main{display:grid;gap:2rem;padding-block:2rem var(--section);align-items:start}
@media (min-width:1024px){ .ex-main{grid-template-columns:minmax(0,1fr) 300px;gap:5rem} }
@media (max-width:1023px){ .ex-side{order:-1;max-width:320px} }
.ex-main .prose{padding-bottom:0}
.ex-figure{border-radius:var(--r-card);background:var(--surface);border:1px solid var(--border);aspect-ratio:1;display:grid;place-items:center;padding:12%}
.ex-facts{list-style:none;padding:0;margin:1.2rem 0 0}
.ex-facts li{display:flex;justify-content:space-between;gap:1rem;padding:.7rem 0;border-bottom:1px solid var(--border);font-size:.9375rem}.ex-facts span{color:var(--muted)}
.howto{counter-reset:s;list-style:none;padding:0;margin:1rem 0 0;display:flex;flex-direction:column;gap:.9rem}
.howto li{counter-increment:s;display:grid;grid-template-columns:34px 1fr;gap:12px}
.howto li::before{content:counter(s);width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:var(--surface-2);font:650 .9375rem var(--display)}
.muscles{display:flex;flex-wrap:wrap;gap:6px;margin-top:.6rem}.muscles span{padding:.3rem .8rem;border-radius:99px;border:1px solid var(--border);font-size:.875rem;text-transform:capitalize}
.related{padding-bottom:var(--section)}.related h2{font-size:1.625rem;margin-bottom:1rem}

/* Guides */
@media (max-width:767px){ .compare th,.compare td{padding:.7rem .75rem} .compare td{width:76px} .compare caption{padding:1rem .75rem .25rem} }

/* =====================================================================================
   Homepage (D-130): a dark hero with the week on a drawn iPhone, the route line from the mark,
   a grid of tiles for the whole journal, big numbers, and dark bands to open and close.
   ===================================================================================== */

/* A drawn phone shows the app in the page's own theme, even inside a dark band. */
.page-theme{
  --bg:#f3f7f5; --surface:#ffffff; --surface-2:#ebf0ef; --fg:#111c18; --muted:#5a6561; --faint:#99a09e; --border:#dce1df;
  --primary:#ed7947; --primary-hover:#db6f3d; --primary-fg:#111c18; --link:#b2471c; --ring:#00876d;
  --training:#237356; --run:#2d74aa; --habit:#138282; --notes:#755d9d; --success:#006e3b; --shadow:none;
  color-scheme:light;
}
@media (prefers-color-scheme:dark){
  :root:not([data-theme="light"]) .page-theme{
    --bg:#090d0c; --surface:#131917; --surface-2:#1e2522; --fg:#eef1f0; --muted:#a3aba8; --faint:#636b68; --border:#292f2d;
    --primary:#f28a51; --primary-hover:#fda16b; --primary-fg:#081411; --link:#f7945a; --ring:#59d7b9;
    --training:#75cca7; --run:#79c0f1; --habit:#6fcdc9; --notes:#c2afe7; --success:#65c98c;
    color-scheme:dark;
  }
}
:root[data-theme="dark"] .page-theme{
  --bg:#090d0c; --surface:#131917; --surface-2:#1e2522; --fg:#eef1f0; --muted:#a3aba8; --faint:#636b68; --border:#292f2d;
  --primary:#f28a51; --primary-hover:#fda16b; --primary-fg:#081411; --link:#f7945a; --ring:#59d7b9;
  --training:#75cca7; --run:#79c0f1; --habit:#6fcdc9; --notes:#c2afe7; --success:#65c98c;
  color-scheme:dark;
}
.dark{background:var(--bg);color:var(--fg)}

/* ---------- Phone frames ---------- */
.phone{--w:300px;--k:.7179;--bz:10px;position:relative;width:var(--w);flex:none;margin-inline:auto;padding:var(--bz);border-radius:calc(var(--w) * .165);
  background:linear-gradient(150deg,#3a403e 0%,#121615 22%,#0b0e0d 60%,#2a2f2d 100%);
  box-shadow:inset 0 0 0 1.5px #4a514e,inset 0 0 0 3px #090b0a,0 50px 90px -40px rgba(0,0,0,.65),0 24px 40px -24px rgba(0,0,0,.45)}
.phone-md{--w:280px;--k:.6667}
.phone-sm{--w:240px;--k:.5641}
@media (max-width:379px){ .phone-lg{--w:270px;--k:.641} .phone-md{--w:250px;--k:.5897} }
@media (min-width:1024px){ .phone-lg{--w:340px;--k:.8205} }
.phone-screen{position:relative;height:calc(844px * var(--k));border-radius:calc(var(--w) * .165 - var(--bz));overflow:hidden;background:var(--bg);isolation:isolate}
.phone-screen::before{content:"";position:absolute;z-index:3;top:calc(11px * var(--k));left:50%;width:calc(122px * var(--k));height:calc(35px * var(--k));transform:translateX(-50%);background:#000;border-radius:99px}
.phone-inner{position:absolute;inset:0 auto auto 0;width:390px;height:844px;transform:scale(var(--k));transform-origin:0 0;padding:0 16px;display:flex;flex-direction:column;gap:12px;
  font:400 17px/1.4 var(--body);color:var(--fg);text-align:left;background:var(--bg)}
.phone-inner .app-card{box-shadow:none;font-size:17px}
.ph-status{display:flex;justify-content:space-between;align-items:center;flex:none;height:54px;padding:4px 14px 0 26px;font:600 17px/1 var(--body);font-variant-numeric:tabular-nums}
.ph-status svg{width:68px;height:13px}
.ph-head{padding:2px 4px 0}
.ph-large{font:700 34px/1.1 var(--display);letter-spacing:-.01em}
.ph-sub{color:var(--muted);font-size:15px;margin-top:2px}
.ph-plain{display:flex;flex-direction:column;gap:12px;padding-top:6px}
.ph-plain .scr-h{font-size:30px}
.ph-note{display:flex;flex-direction:column;gap:4px}
.ph-note-stats{font:650 15px/1.3 var(--display);color:var(--muted)}
.ph-tabs{position:absolute;left:14px;right:14px;bottom:24px;height:64px;display:flex;justify-content:space-around;align-items:center;border-radius:999px;
  background:color-mix(in srgb,var(--surface) 80%,transparent);-webkit-backdrop-filter:blur(20px) saturate(1.6);backdrop-filter:blur(20px) saturate(1.6);
  border:1px solid color-mix(in srgb,var(--border) 70%,transparent);box-shadow:0 10px 30px -12px rgba(0,0,0,.3);font:600 10.5px/1 var(--body);color:var(--muted)}
.ph-tabs span{display:flex;flex-direction:column;align-items:center;gap:4px;min-width:58px}
.ph-tabs svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.ph-tabs .is-on{color:var(--link)}
.ph-bar{display:flex;justify-content:space-between;align-items:center;padding:4px 4px 0;font-weight:600;font-size:16px}
.ph-bar>span:first-child{color:var(--link)}
.ph-bar b{font:650 17px var(--display)}
.ph-finish{background:var(--primary);color:var(--primary-fg);padding:7px 16px;border-radius:99px}
.phone-inner .player{gap:8px;padding:8px 4px 0}
.phone-inner .pl-h{font-size:34px}
.ph-rest{position:absolute;left:16px;right:16px;bottom:30px;display:flex;align-items:center;gap:14px;padding:16px 20px;border-radius:24px;background:var(--surface);border:1px solid var(--border)}
.ph-rest span:first-child{font-weight:600;color:var(--muted)}
.ph-rest b{font:650 30px/1 var(--display);flex:1}
.ph-rest-btns{color:var(--link);font-weight:600;font-size:15px}

/* ---------- The app's own screens (D-152) ----------
   Drawn to the iPhone app's SwiftUI (src/sample.mjs names each file): SF for text, Bricolage only
   for the app's big numbers, its tokens (docs/design-system/tokens.json), radii and spacing. */
.page-theme{--food:#9b771f;--food-soft:#f9f0d6;--training-soft:#dcf3e8;--run-soft:#e3f0fd;--habit-soft:#dff3f3;--primary-soft:#ffe9dd;--app-shadow:0 2px 8px rgba(0,0,0,.05),0 0 0 .5px rgba(220,225,223,.7)}
@media (prefers-color-scheme:dark){
  :root:not([data-theme="light"]) .page-theme{--food:#e8c365;--food-soft:#382c11;--training-soft:#163226;--run-soft:#172e40;--habit-soft:#0e3231;--primary-soft:#351f14;--app-shadow:none}
}
:root[data-theme="dark"] .page-theme{--food:#e8c365;--food-soft:#382c11;--training-soft:#163226;--run-soft:#172e40;--habit-soft:#0e3231;--primary-soft:#351f14;--app-shadow:none}
.phone-inner:has(.ap-head,.ap-bar){font-family:-apple-system,"SF Pro Text",system-ui,"Segoe UI",Roboto,"Helvetica Neue",sans-serif;padding:0 20px;gap:16px;letter-spacing:-.01em}
.phone-inner:has(.ap-head,.ap-bar) .ph-status{margin-inline:-20px;padding-inline:34px 22px;font-family:inherit}
.ap-ico{display:inline-grid;place-items:center;font-style:normal}
.ap-ico svg,.ap-done svg,.ap-stick svg,.ap-wadd svg,.ap-chip-o svg,.ap-tick svg,.ap-step svg,.ap-water em svg{width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.ap-ico.is-muted{color:var(--muted)} .ap-ico.is-faint{color:var(--faint)}
.ap-ico.is-muted svg circle{fill:currentColor;stroke:none}
.ap-head{display:flex;align-items:flex-end;justify-content:space-between;padding-top:8px}
.ap-date{font-size:15px;font-weight:500;color:var(--muted)}
.ap-large{font-size:34px;font-weight:700;line-height:1.15;letter-spacing:.01em}
.ap-btns{display:flex;gap:10px}
.ap-round{width:44px;height:44px;border-radius:50%;display:grid;place-items:center;color:var(--link);background:color-mix(in srgb,var(--surface-2) 85%,transparent)}
.ap-round .ap-ico{width:22px;height:22px}
.ap-round svg path{stroke-width:2}
.ap-eyebrow{font-size:12px;font-weight:600;text-transform:uppercase;letter-spacing:.06em;color:var(--muted)}
.ap-eyebrow.is-training{color:var(--training)}
.ap-card{background:var(--surface);border-radius:20px;padding:18px;box-shadow:var(--app-shadow)}
.ap-foot{font-size:13px;color:var(--muted);line-height:1.35}
.ap-link{color:var(--link);font-weight:600;font-size:15px}
.ap-soft{display:inline-flex;align-items:center;gap:4px;min-height:40px;padding:0 14px;border-radius:99px;background:var(--surface-2);color:var(--link);font-weight:600;font-size:15px;white-space:nowrap}
.ap-soft .ap-ico{width:15px;height:15px}
.ap-primary{display:flex;align-items:center;justify-content:center;gap:8px;min-height:52px;border-radius:99px;background:var(--primary);color:var(--primary-fg);font-weight:600;font-size:17px}
.ap-primary .ap-ico{width:18px;height:18px}
/* Today */
.ap-strip{display:flex;gap:4px;padding:0 2px}
.ap-day{flex:1;display:flex;flex-direction:column;align-items:center;gap:6px;padding:8px 0 9px;border-radius:16px}
.ap-day small{font-size:12px;font-weight:600;color:var(--muted)}
.ap-day b{font-size:17px;font-weight:600;font-variant-numeric:tabular-nums}
.ap-day.is-past b{color:var(--muted)}
.ap-day.is-today{background:var(--surface);box-shadow:inset 0 0 0 1.5px var(--link)}
.ap-day.is-today b{color:var(--link)}
.ap-sdot{width:6px;height:6px;border-radius:50%}
.ap-stick{width:8px;height:8px;display:block}.ap-stick svg{stroke-width:4.5}
.ap-session{background:var(--primary-soft);border-radius:28px;padding:20px}
.ap-kind{display:flex;justify-content:space-between;align-items:center;height:20px}
.ap-kind>span{font-size:12px;font-weight:600;text-transform:uppercase;letter-spacing:.06em;color:var(--link)}
.ap-kind .ap-ico{width:22px;height:22px}
.ap-name{font:700 36px/1.1 var(--display);margin-top:6px;letter-spacing:-.01em}
.ap-sub{font-size:15px;color:var(--muted);margin-top:4px}
.ap-session .ap-primary{margin-top:20px}
.ap-day-card{padding:16px}
.ap-row-h{display:flex;justify-content:space-between;align-items:center}
.ap-tiles{display:flex;gap:8px;margin-top:12px}
.ap-tile{flex:1;display:flex;flex-direction:column;align-items:center;gap:6px}
.ap-tile b{font:600 20px/1.1 var(--display);font-variant-numeric:tabular-nums}
.ap-tile small{font-size:13px;color:var(--muted);line-height:1}
.ap-ring{position:relative;width:58px;height:58px;display:grid;place-items:center}
.ap-ring svg{position:absolute;inset:0;width:58px;height:58px}
.ap-ring circle{fill:none;stroke-width:7;stroke-linecap:round}
.ap-water{border-radius:50%;background:var(--food-soft);color:var(--food)}
.ap-water .ap-ico{width:24px;height:24px}.ap-water .ap-ico svg{fill:currentColor;stroke:none}
.ap-water em{position:absolute;right:-2px;bottom:-2px;width:20px;height:20px;border-radius:50%;background:var(--primary);color:var(--primary-fg);padding:4px}
.ap-water em svg{stroke-width:3.5}
.ap-chips{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px;padding-top:12px;border-top:1px solid var(--border)}
.ap-chip{display:inline-flex;align-items:center;gap:6px;min-height:40px;padding:0 12px;border-radius:20px;box-shadow:inset 0 0 0 1.5px var(--border);font-size:15px}
.ap-chip.is-done{background:var(--habit-soft);box-shadow:none;color:var(--habit);font-weight:600}
.ap-chip-o{width:17px;height:17px;border-radius:50%;box-shadow:inset 0 0 0 1.6px currentColor;font-style:normal;display:grid;place-items:center}
.ap-chip.is-done .ap-chip-o{background:var(--habit);box-shadow:none;color:var(--surface);padding:3.5px}
.ap-chip.is-done .ap-chip-o svg{stroke-width:3.5}
/* Plan */
.ap-from{display:flex;flex-direction:column;gap:4px}
.ap-from-h{font-weight:600;font-size:17px}
.ap-from-t{font-weight:500;line-height:1.3;margin-top:4px}
.ap-from-btns{display:flex;gap:18px;align-items:center;margin:8px 0 4px}
.ap-sec{display:flex;align-items:center;gap:8px;padding:0 4px;margin-bottom:-8px}
.ap-arrows{display:flex;color:var(--link)}.ap-arrows .ap-ico{width:44px;height:28px;padding:5px 12px}
.ap-week{list-style:none;margin:0;padding:0 16px}
.ap-week li{display:flex;align-items:center;gap:14px;min-height:52px;border-top:1px solid var(--border)}
.ap-week li:first-child{border-top:0}
.ap-week li.is-outlined{border-radius:12px;box-shadow:inset 0 0 0 2px var(--run);margin-inline:-8px;padding-inline:8px}
.ap-wdate{width:34px;flex:none;display:flex;flex-direction:column;align-items:center;line-height:1.1}
.ap-wdate small{font-size:11px;font-weight:600;color:var(--muted)}
.ap-wdate b{font-weight:600;font-variant-numeric:tabular-nums}.ap-wdate b.is-today{color:var(--link)}
.ap-wdot{width:8px;height:8px;border-radius:50%;flex:none}
.ap-wname{flex:1;min-width:0}.ap-wname.is-today{font-weight:600}.ap-wname.is-rest{color:var(--muted)}
.ap-wmeta{font-size:15px;color:var(--muted);font-variant-numeric:tabular-nums}
.ap-done{width:22px;height:22px;border-radius:50%;background:var(--success);color:var(--surface);padding:5px;flex:none}
.ap-done svg{stroke-width:3.5}
.ap-wadd{width:22px;height:22px;border-radius:50%;box-shadow:inset 0 0 0 1.6px var(--faint);color:var(--faint);padding:5px;margin-right:11px}
/* The workout player */
.ap-bar{display:flex;justify-content:space-between;align-items:center;min-height:44px;padding-top:2px}
.ap-bar .ap-link{font-size:17px;font-weight:400}.ap-bar .is-strong{font-weight:600}
.ap-bar b{font-size:17px;font-weight:600;font-variant-numeric:tabular-nums}
.ap-pills{display:flex;gap:8px;margin-right:-20px;overflow:hidden;white-space:nowrap}
.ap-pill{flex:none;display:inline-flex;align-items:center;min-height:36px;padding:0 14px;border-radius:99px;font-size:15px;background:var(--surface);box-shadow:inset 0 0 0 1px var(--border)}
.ap-pill.is-on{background:var(--primary-soft);color:var(--link);font-weight:600;box-shadow:inset 0 0 0 1px var(--link)}
.ap-ex{display:flex;flex-direction:column;gap:6px;margin-top:2px}
.ap-ex-name{font-size:34px;font-weight:600;line-height:1.1}
.ap-ex-aim{font-size:16px;color:var(--muted)}
.ap-sets{padding:0}
.ap-fset{display:flex;align-items:center;gap:12px;min-height:52px;padding:0 6px 0 16px}
.ap-fset span{width:30px;font-size:15px;font-weight:600;color:var(--muted)}
.ap-fset b{flex:1;font-weight:400;font-variant-numeric:tabular-nums}
.ap-fset.is-later b{color:var(--muted)}
.ap-tick{width:28px;height:28px;margin:10px;border-radius:50%;box-shadow:inset 0 0 0 2px var(--faint)}
.ap-tick.is-on{background:var(--training);box-shadow:none;color:var(--surface);padding:6px}.ap-tick.is-on svg{stroke-width:3.4}
.ap-open{display:flex;flex-direction:column;gap:10px;padding:14px;margin:0 2px;border-radius:16px;background:var(--primary-soft)}
.ap-open-h{font-weight:600}
.ap-step{display:flex;align-items:center;justify-content:space-between;padding:6px;border-radius:16px;background:var(--surface)}
.ap-step>span{width:56px;height:56px;border-radius:12px;background:var(--surface-2);color:var(--link);padding:17px}
.ap-step div{display:flex;flex-direction:column;align-items:center}
.ap-step b{font:600 34px/1 var(--display);font-variant-numeric:tabular-nums}
.ap-step small{font-size:13px;color:var(--muted);margin-top:2px}
.ap-rest{position:absolute;left:12px;right:12px;bottom:26px;padding:14px 18px;border-radius:28px;background:var(--surface);box-shadow:0 10px 34px rgba(0,0,0,.14),var(--app-shadow);display:flex;flex-direction:column;gap:12px}
.ap-rest-top{display:flex;justify-content:space-between;align-items:flex-end;gap:12px}
.ap-rest-top b{display:block;font:700 44px/1 var(--display);letter-spacing:-1px;font-variant-numeric:tabular-nums}
.ap-rest-top small{font-size:15px;color:var(--muted)}
.ap-rest-bar{display:block;height:4px;border-radius:4px;background:var(--surface-2)}.ap-rest-bar b{display:block;height:100%;width:62%;border-radius:4px;background:var(--primary)}
.ap-rest-btns{display:flex;gap:8px}
.ap-rest-btns span{flex:1;display:grid;place-items:center;min-height:44px;border-radius:99px;background:var(--surface-2);color:var(--link);font-weight:600;font-size:15px}

/* ---------- Shared homepage type ---------- */
.kicker{font:600 .9375rem/1.2 var(--body);letter-spacing:.01em;color:var(--link);margin-bottom:.9rem}
.dark .kicker{color:var(--primary)}
.chapter h2{font-size:clamp(2.5rem,1.4rem + 4vw,4.75rem);line-height:1.02;letter-spacing:-.03em;font-weight:700}
.chap-head{margin-bottom:clamp(2.5rem,5vw,4rem);gap:0}
.chap-head .lead{margin-top:1.25rem;font-size:clamp(1.0625rem,1rem + .35vw,1.3125rem)}
.chap-head.center{text-align:center;margin-inline:auto;align-items:center}
.more.center{text-align:center}
.route-motif{position:absolute;pointer-events:none;fill:none;overflow:visible}
.route-motif path{stroke:var(--primary);stroke-width:3;stroke-linecap:round;vector-effect:non-scaling-stroke}

/* ---------- Hero ----------
   The runner must always show. On phones and tablets the photo is a band between the words and
   the phone (the phone overlaps only its foot); from 1024 px it fills the hero, anchored to the
   right edge so the runner (79% across the frame) sits beyond the phone, which keeps to the left
   of its column. */
.hero{position:relative;overflow:hidden;isolation:isolate;padding-block:3rem 0;background:radial-gradient(90% 60% at 100% 0%,rgba(242,138,81,.16),transparent 60%),var(--bg)}
.hero-grid{display:grid;gap:0;position:relative}
.hero-copy{max-width:40rem;position:relative;z-index:1}
.hero-bg{position:relative;margin:2.5rem calc(-1 * var(--gutter)) 0;aspect-ratio:4/3;z-index:-1}
@media (min-width:640px){ .hero-bg{aspect-ratio:16/9} }
.hero-bg img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:79% 40%}
.hero-shade{position:absolute;inset:0;background:linear-gradient(180deg,var(--bg) 0%,rgba(9,13,12,0) 22%,rgba(9,13,12,0) 62%,var(--bg) 100%)}
.hero-bg .ph-tag{top:auto;bottom:auto;top:28px;left:auto;right:16px}
.hero-route{z-index:-1;left:0;right:0;bottom:2%;height:30%;width:100%;opacity:.8}
.hero h1{font-size:clamp(3rem,1.2rem + 7.6vw,6.75rem);line-height:.96;letter-spacing:-.045em;font-weight:700;color:#fff}
.glow{background:linear-gradient(95deg,#f28a51 0%,#ffb27c 55%,#ffd4b0 100%);-webkit-background-clip:text;background-clip:text;color:transparent}
.hero .lead{margin-top:1.5rem;color:#c9d0cd;font-size:clamp(1.0625rem,1rem + .4vw,1.375rem);max-width:34rem}
.hero .price-line{color:#a9b2ae}
.hero-device{position:relative;margin-top:-22%;padding-bottom:6.5rem}
@media (min-width:640px){ .hero-device{margin-top:-12%} }
/* A drawn Apple Watch beside the hero phone, mid-run (PlimovaWatch's RecordingView). Sized in em. */
.watch{position:absolute;z-index:2;font-size:12px;width:10.6em;right:max(2px,calc(50% - 192px));bottom:4rem;filter:drop-shadow(0 22px 26px rgba(0,0,0,.55))}
/* The band, top and bottom, seen from the front: each piece runs back around the wrist, so it
   narrows and darkens towards its far edge and ends in a curve, not a fade. */
.watch::before,.watch::after{content:"";position:absolute;left:1.3em;right:1.3em;height:6.4em;
  background:linear-gradient(90deg,rgba(0,0,0,.42),rgba(255,255,255,.1) 22%,rgba(255,255,255,.16) 50%,rgba(255,255,255,.06) 78%,rgba(0,0,0,.46)),var(--band-shade),var(--band,#e9e4dc)}
.watch::before{bottom:calc(100% - 1.5em);border-radius:46% 46% 0 0 / 1.5em 1.5em 0 0;transform-origin:50% 100%;transform:perspective(22em) rotateX(38deg);--band-shade:linear-gradient(0deg,transparent 30%,rgba(0,0,0,.5))}
.watch::after{top:calc(100% - 1.5em);border-radius:0 0 46% 46% / 0 0 1.5em 1.5em;transform-origin:50% 0;transform:perspective(22em) rotateX(-38deg);--band-shade:linear-gradient(180deg,transparent 30%,rgba(0,0,0,.5))}
.watch-case{position:relative;z-index:1;height:12.7em;padding:.55em;border-radius:2.7em;background:linear-gradient(150deg,#4a4f4d 0%,#151817 24%,#0b0d0c 62%,#343837 100%);box-shadow:inset 0 0 0 1.5px #565c59,inset 0 0 0 3px #090b0a}
.watch-case::after{content:"";position:absolute;right:-.42em;top:2.5em;width:.5em;height:1.9em;border-radius:.2em .3em .3em .2em;background:linear-gradient(180deg,#5a605d,#1c1f1e 45%,#3d4240)}
.watch-screen{height:100%;border-radius:2.15em;background:#000;color:#fff;padding:.6em .5em 0 .9em;position:relative;font-family:ui-rounded,"SF Pro Rounded",-apple-system,system-ui,"Segoe UI",Roboto,sans-serif;font-variant-numeric:tabular-nums;line-height:1.2;text-align:left;overflow:hidden}
.watch-screen p{margin:0;white-space:nowrap}
.w-time{text-align:right;font-size:.82em;font-weight:600;color:#c9d0cd;padding-right:.7em;margin-bottom:.95em}
.w-clock{font-size:2.5em;font-weight:600;color:#ff7a3d;line-height:1.02;letter-spacing:-.02em;margin-top:-.08em}
.w-dist{font-size:1.2em;font-weight:600;margin-top:.35em}
.w-row{font-size:1.1em;display:flex;align-items:center;gap:.35em;margin-top:.35em}
.w-pages{position:absolute;left:0;right:0;bottom:.55em;display:flex;justify-content:center;gap:.3em}
.w-pages i{width:.38em;height:.38em;border-radius:50%;background:rgba(255,255,255,.3)}.w-pages i.is-on{background:#fff}
.w-heart{color:#ff4554}.w-heart svg{width:.85em;height:.85em;fill:currentColor;flex:none}
.w-chip{font-size:.58em;font-weight:700;padding:.2em .5em;border-radius:99px}
.w-chip.is-pace,.w-chip.is-zone{color:#30d158;background:rgba(48,209,88,.3)}
@media (max-width:379px){ .watch{font-size:11px;right:0} }
@media (min-width:640px){ .watch{font-size:14px;right:calc(50% - 250px)} }
@media (min-width:1024px){
  .hero{padding-top:5rem;min-height:min(900px,calc(100svh - 64px));background:var(--bg)}
  .hero-grid{position:static;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);align-items:center;gap:2rem}
  .hero-copy{padding-bottom:5rem}
  .hero-bg{position:absolute;inset:0;margin:0;aspect-ratio:auto;overflow:hidden}
  .hero-bg img{inset:0 -200px 0 auto;width:auto;height:100%;max-width:none;aspect-ratio:16/9;min-width:calc(100% + 200px)}
  .hero-shade{background:linear-gradient(90deg,var(--bg) 0%,rgba(9,13,12,.88) 30%,rgba(9,13,12,.45) 55%,rgba(9,13,12,.1) 80%,rgba(9,13,12,.25) 100%),linear-gradient(180deg,transparent 70%,var(--bg) 100%)}
  .hero-bg .ph-tag{top:auto;bottom:16px}
  .hero-device{grid-column:2;grid-row:1;margin-top:0;padding-bottom:4rem;justify-self:start}
  .hero-device .phone{margin-inline:0}
  .watch{font-size:16px;right:auto;left:-116px;bottom:calc(4rem + 9%)}
  .hero-route{bottom:0;height:42%}
}
.works{border-bottom:1px solid var(--border);background:var(--bg)}
.works-in{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:.5rem 1.75rem;padding-block:1.4rem;font-size:.9375rem}
.works-k{color:var(--muted)}
.works ul{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;justify-content:center;gap:.5rem 1.75rem;font:650 1.0625rem var(--display)}
@media (prefers-reduced-motion:no-preference){
  .hero-route path,.close-route path{stroke-dasharray:1;stroke-dashoffset:1;animation:draw 1.8s .25s var(--ease) forwards}
  .tile-route path{stroke-dasharray:1;stroke-dashoffset:1;transition:stroke-dashoffset 1.6s .2s var(--ease)}
  .is-shown .tile-route path,html:not(.js) .tile-route path{stroke-dashoffset:0}
}
@keyframes draw{to{stroke-dashoffset:0}}

/* ---------- Keep Tuesday (dark) ---------- */
.tue{position:relative;overflow:hidden;isolation:isolate;padding-top:clamp(4rem,8vw,8rem)}
.tue-head{text-align:center;max-width:52rem;margin:0 auto clamp(2.5rem,6vw,4.5rem)}
.tue-head .lead{margin:1.25rem auto 0;font-size:clamp(1.0625rem,1rem + .35vw,1.3125rem)}
.tue-stage{position:relative;isolation:isolate;display:grid;gap:2.5rem;align-items:center}
.tue-ask{justify-self:center;max-width:24rem;padding:1.2rem 1.4rem;border-radius:24px 24px 6px 24px;background:linear-gradient(160deg,#f28a51,#e0683a);color:#140b06;box-shadow:0 30px 60px -30px rgba(242,138,81,.6)}
.tue-ask p{font:650 clamp(1.25rem,1.1rem + .6vw,1.625rem)/1.28 var(--display);letter-spacing:-.01em}
.tue-k{display:block;font:600 .8125rem/1 var(--body);letter-spacing:.06em;text-transform:uppercase;opacity:.75;margin-bottom:.55rem}
.tue-phone{text-align:center}
.tue-phone figcaption{margin:1.25rem auto 0;font-size:.875rem}
.tue-points{list-style:none;margin:0;padding:0;display:grid;gap:1.5rem;max-width:26rem;justify-self:center}
.tue-points li{padding-left:1.1rem;border-left:2px solid var(--border);color:var(--muted);font-size:1rem}
.tue-points b{display:block;color:var(--fg);font:650 1.1875rem/1.3 var(--display);margin-bottom:.25rem}
@media (min-width:1024px){
  .tue-stage{grid-template-columns:1fr auto 1fr;gap:3.5rem}
  .tue-ask{justify-self:end}
  .tue-points{justify-self:start}
}
.tue .walk{margin-top:clamp(3rem,6vw,5rem)}
.walk-screen{display:flex;justify-content:center}
.walk-panel .walk-screen{justify-content:flex-start}

/* ---------- The journal, as tiles ---------- */
.bento{display:grid;gap:14px;grid-template-columns:minmax(0,1fr)}
.tile{position:relative;overflow:hidden;isolation:isolate;border-radius:28px;background:var(--surface);border:1px solid var(--border);padding:1.75rem;min-height:0;display:flex;flex-direction:column;justify-content:flex-end;gap:.6rem}
.tile.dark{border-color:transparent;color:#eef1f0}
.tile-bg{position:absolute;inset:0;z-index:-1}
.tile-bg img{width:100%;height:100%;object-fit:cover}
.tile-bg::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(9,13,12,.1) 20%,rgba(9,13,12,.88) 100%)}
.tile-bg .ph-tag{z-index:1;font-size:.6875rem}
.tile-copy{display:flex;flex-direction:column;gap:.45rem;position:relative}
.tile-k{font:600 .875rem/1.2 var(--body);color:var(--link)}
.tile.dark .tile-k{color:#ffb27c}
.tile h3{font-size:clamp(1.375rem,1.2rem + .6vw,1.75rem);line-height:1.12;letter-spacing:-.02em;font-weight:700;color:inherit}
.tile-t{color:var(--muted);font-size:.9688rem;max-width:34ch}
.tile.dark .tile-t{color:#c9d0cd}
.big{font:700 clamp(4.5rem,3rem + 6vw,8rem)/.9 var(--display);letter-spacing:-.05em}
.big small{font-size:.32em;letter-spacing:0;margin-left:.15em;color:#c9d0cd;font-weight:600}
.tile-stats{font:650 1.125rem var(--display);color:#c9d0cd}
.t-run{min-height:440px}
.t-season{gap:1.25rem}
.tile-route{position:absolute;right:6%;top:8%;width:min(46%,260px);height:auto;fill:none}
.tile-route path{stroke:#79c0f1;stroke-width:3.5;stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(0 0 8px rgba(121,192,241,.6))}
.t-season{justify-content:space-between;background:radial-gradient(120% 90% at 80% 0%,color-mix(in srgb,#e8b64a 22%,var(--surface)) 0%,var(--surface) 60%)}
.medal{width:120px;height:120px;filter:drop-shadow(0 16px 24px rgba(0,0,0,.25))}
.t-journal{background:color-mix(in srgb,var(--notes) 10%,var(--surface))}
.t-journal .tile-k{color:var(--notes)}
.tile-quote{font:650 clamp(1.75rem,1.4rem + 1.2vw,2.375rem)/1.1 var(--display);letter-spacing:-.025em;margin-bottom:.4rem}
.t-habit .tile-k{color:var(--habit)}
.habit-week{list-style:none;margin:.4rem 0 .2rem;padding:0;display:grid;grid-template-columns:repeat(7,1fr);gap:6px;max-width:320px;font:600 .75rem var(--body);color:var(--muted);text-align:center}
.habit-week li{display:flex;flex-direction:column;align-items:center;gap:6px}
.habit-week span{width:100%;max-width:34px;aspect-ratio:1;border-radius:50%;border:2px solid var(--border)}
.habit-week .is-on span{background:var(--habit);border-color:var(--habit)}
.t-food,.t-watch{min-height:340px}
@media (min-width:640px){
  .bento{grid-template-columns:repeat(2,minmax(0,1fr))}
  .t-run{grid-column:1 / -1}
}
@media (min-width:1024px){
  .bento{grid-template-columns:repeat(6,minmax(0,1fr));grid-auto-rows:minmax(250px,auto);gap:16px}
  .t-run{grid-column:1 / span 4;grid-row:span 2;min-height:540px;padding:2.5rem}
  .t-season,.t-journal{grid-column:5 / span 2}
  .t-food{grid-column:1 / span 2}.t-habit{grid-column:3 / span 2}.t-watch{grid-column:5 / span 2}
}

/* ---------- Remember where you left off ---------- */
.lo{padding-top:0}
.lo-band{position:relative;isolation:isolate;min-height:clamp(320px,52vw,620px);display:flex;align-items:flex-end;overflow:hidden}
.lo-photo{position:absolute;inset:0;z-index:-1}
.lo-photo img{width:100%;height:100%;object-fit:cover}
.lo-photo::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(9,13,12,0) 30%,rgba(9,13,12,.85) 100%)}
.lo-band-copy{padding-bottom:clamp(2rem,5vw,4rem)}
.lo-band h2{color:#fff;max-width:12ch}
.lo-band .kicker{color:#ffb27c}
.lo-grid{display:grid;gap:3rem;padding-top:clamp(2.5rem,5vw,4rem);align-items:center}
.lo-copy .lead{font-size:clamp(1.0625rem,1rem + .35vw,1.3125rem)}
.lo-nums{display:flex;align-items:center;gap:clamp(.75rem,2vw,1.5rem);margin-top:2.5rem;flex-wrap:wrap}
.lo-nums small{display:block;font-size:.875rem;font-weight:600;color:var(--muted);margin-bottom:.35rem}
.lo-nums p{font:700 clamp(3.5rem,2.4rem + 4.6vw,6.5rem)/.9 var(--display);letter-spacing:-.05em;color:var(--muted)}
.lo-nums p span{font-size:.3em;letter-spacing:0;margin-left:.12em;font-weight:600}
.lo-nums .is-next p{color:var(--fg)}
.lo-nums .is-next small{color:var(--training)}
.lo-arrow{width:clamp(32px,4vw,48px);height:auto;fill:none;stroke:var(--primary);stroke-width:3;stroke-linecap:round;stroke-linejoin:round;margin-top:1.2rem}
@media (min-width:1024px){
  .lo-grid{grid-template-columns:minmax(0,1fr) auto;gap:5rem}
  .lo-phone{margin-top:-14rem;position:relative;z-index:1;padding-right:2rem}
}

/* ---------- Decide what you share ---------- */
.sh{background:var(--surface-2)}
.sh-grid{display:grid;gap:2rem;align-items:center}
.sh-card{max-width:420px;width:100%;justify-self:center}
.sh-card .app-card{border-radius:24px;padding:20px 22px}
.sh-who{display:flex;align-items:center;gap:.55rem;font:650 1.125rem var(--display);margin-bottom:.9rem}
.sh-ico{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:var(--fg);color:var(--bg);flex:none}
.sh-ico svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.sh-ico.is-friends{background:var(--run);color:#fff}
.sh-kept{justify-self:center;text-align:center;padding:1.5rem;max-width:22rem}
.sh-kept p{font:600 .875rem var(--body);color:var(--muted);margin-bottom:1rem}
.sh-kept ul{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;justify-content:center;gap:.5rem}
.sh-kept li{padding:.5rem .9rem;border-radius:99px;background:var(--surface);border:1px solid var(--border);font-weight:600;font-size:.9375rem;text-decoration:line-through;text-decoration-color:var(--primary);text-decoration-thickness:2px;white-space:nowrap}
@media (min-width:1024px){ .sh-grid{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:2rem} .sh-kept{max-width:16rem} .sh-kept ul{flex-direction:column;align-items:center} }
.quote{margin:3rem auto 0;max-width:44rem;text-align:center}
.quote p{font:600 1.5rem/1.35 var(--display)}
.quote cite{display:block;margin-top:.75rem;color:var(--muted);font-style:normal}

/* ---------- Plans ---------- */
.plans{display:grid;gap:var(--gap);max-width:62rem;margin-inline:auto}
@media (min-width:768px){ .plans{grid-template-columns:repeat(2,minmax(0,1fr))} }
.plan{position:relative;overflow:hidden;isolation:isolate;background:var(--surface);border:1px solid var(--border);border-radius:28px;padding:2rem;display:flex;flex-direction:column;gap:.75rem}
.plan.dark{border-color:transparent;background:radial-gradient(120% 80% at 100% 0%,rgba(242,138,81,.28) 0%,rgba(242,138,81,0) 55%),linear-gradient(180deg,#131917,#090d0c)}
.plan-label{align-self:flex-start;font:600 .8125rem/1 var(--body);padding:.45rem .7rem;border-radius:99px;background:var(--surface-2);color:var(--muted)}
.plan.dark .plan-label{background:rgba(242,138,81,.18);color:#ffb27c}
.plan h3{font-size:clamp(1.75rem,1.5rem + .8vw,2.25rem);font-weight:700;letter-spacing:-.025em}
.plan-why{color:var(--muted);min-height:3em}
.plan-price{font-size:1.0625rem;color:var(--muted);margin-top:.5rem}
.plan-price .num{font:700 clamp(3rem,2.4rem + 2vw,4rem)/1 var(--display);letter-spacing:-.04em;color:var(--fg);margin-right:.35rem}
.plan-terms{font-size:.9375rem;color:var(--muted)}
.plan-lines{list-style:none;margin:.75rem 0 0;padding:1.25rem 0 0;display:flex;flex-direction:column;gap:.6rem;border-top:1px solid var(--border)}
.plan-lines li,.ticks li{position:relative;padding-left:1.6rem}
.plan-lines li::before,.ticks li::before{content:"";position:absolute;left:.15rem;top:.42em;width:.45rem;height:.8rem;border:solid var(--training);border-width:0 2px 2px 0;transform:rotate(45deg)}
.plan.dark .plan-lines li::before{border-color:var(--primary)}
.plans-action{margin-top:1rem;text-align:center}
.pl .faq{margin-inline:auto}
.pl .more{text-align:center}
@media (min-width:768px){ .plan-why{min-height:4.6em} }

/* ---------- Close (every page) ---------- */
.close{position:relative;overflow:hidden;isolation:isolate;padding-block:clamp(5rem,10vw,9rem);background:radial-gradient(90% 70% at 85% 100%,rgba(242,138,81,.16),transparent 60%),var(--bg)}
.close-route{z-index:-1;left:0;right:0;bottom:-4%;height:60%;width:100%;opacity:.4}
.close-inner{display:grid;gap:3rem;align-items:center}
.close h2{font-size:clamp(2.5rem,1.4rem + 4vw,4.5rem);line-height:1.02;letter-spacing:-.035em;font-weight:700;max-width:14ch}
.close-detail .app-card{max-width:380px}
@media (min-width:768px){ .close-inner{grid-template-columns:7fr 5fr} .close-detail{justify-self:end;width:100%;max-width:380px} }

/* ---------- Reveal on scroll (only with JavaScript and motion) ---------- */
.rv-from{opacity:0;transform:translateY(28px)}
.rv-in{opacity:1;transform:none;transition:opacity 700ms var(--ease),transform 700ms var(--ease)}

/* =====================================================================================
   Inner pages in the homepage's style (D-130): a dark page top with the route line (and a
   photo where there is one), big tight headings, round cards.
   ===================================================================================== */
.eyebrow{font:600 .9375rem/1.2 var(--body);letter-spacing:.01em;text-transform:none;color:var(--link)}
.dark .eyebrow{color:var(--primary)}
.page-top{position:relative;overflow:hidden;isolation:isolate;padding-block:clamp(3.5rem,9vw,7.5rem) clamp(3rem,6vw,5rem);margin-bottom:clamp(2.5rem,5vw,4rem);
  background:radial-gradient(80% 100% at 92% 0%,rgba(242,138,81,.16),transparent 60%),var(--bg)}
.page-top .page-hero{padding-block:0;gap:0}
.page-top .page-hero>*+*{margin-top:1rem}
.page-top h1{font-size:clamp(2.75rem,1.2rem + 5.6vw,5.75rem);line-height:.98;letter-spacing:-.045em;font-weight:700;color:#fff;margin-top:.5rem}
.page-top .lead{font-size:clamp(1.0625rem,1rem + .4vw,1.375rem);color:#c9d0cd;margin-top:1.25rem}
.page-top .crumbs,.page-top .crumbs a{color:#a3aba8}
.page-top.has-photo{min-height:clamp(400px,46vw,620px);display:flex;flex-direction:column;justify-content:flex-end}
.page-bg{position:absolute;inset:0;z-index:-2}
.page-bg img{width:100%;height:100%;object-fit:cover}
.page-bg::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(9,13,12,.3) 0%,rgba(9,13,12,.55) 45%,rgba(9,13,12,.95) 100%)}
@media (min-width:1024px){ .page-bg::after{background:linear-gradient(90deg,rgba(9,13,12,.92) 0%,rgba(9,13,12,.6) 50%,rgba(9,13,12,.2) 100%),linear-gradient(180deg,transparent 55%,rgba(9,13,12,.75) 100%)} }
.page-bg .ph-tag{top:auto;bottom:16px;left:auto;right:16px;z-index:1}
.page-route{z-index:-1;left:0;right:0;bottom:-10%;height:80%;width:100%;opacity:.5}
@media (prefers-reduced-motion:no-preference){ .page-route path{stroke-dasharray:1;stroke-dashoffset:1;animation:draw 1.8s .2s var(--ease) forwards} }
.pad-end{padding-bottom:var(--section)}
.sub-h{font-size:clamp(2rem,1.3rem + 2.4vw,3.25rem);line-height:1.05;letter-spacing:-.035em;font-weight:700}

/* Cards in threes (Android, About) */
.cards-3{list-style:none;margin:0;padding:0;display:grid;gap:14px}
@media (min-width:768px){ .cards-3{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px} }
.cards-3 li{display:flex;flex-direction:column;gap:.5rem;padding:1.75rem;border-radius:28px;background:var(--surface);border:1px solid var(--border)}
.cards-3 b{font:700 1.375rem/1.15 var(--display);letter-spacing:-.02em}
.cards-3 span{color:var(--muted)}
.cards-3.is-numbered{counter-reset:c}
.cards-3.is-numbered li::before{counter-increment:c;content:"0" counter(c);font:700 2.75rem/1 var(--display);color:var(--primary);letter-spacing:-.05em;margin-bottom:.75rem}
.cards-3+.fine{margin-top:1.5rem}

/* Features */
.feat{border-bottom:0;scroll-margin-top:8rem}
.feat h2{font-size:clamp(2.25rem,1.3rem + 3vw,3.75rem);line-height:1.02;letter-spacing:-.035em;font-weight:700}
.demo-stage{border-radius:28px;box-shadow:0 50px 90px -50px rgba(0,0,0,.55)}
.chap-index{position:sticky;top:72px;z-index:10;text-align:center;margin-bottom:0}
.chap-index ol{display:inline-flex;gap:2px;padding:5px;border-radius:999px;background:color-mix(in srgb,var(--surface) 82%,transparent);
  -webkit-backdrop-filter:blur(16px) saturate(1.5);backdrop-filter:blur(16px) saturate(1.5);border:1px solid var(--border);box-shadow:0 12px 30px -18px rgba(0,0,0,.35)}
.chap-index a{border:0;background:transparent;min-height:40px;padding:0 .95rem}
.chap-index a:hover{background:var(--surface-2)}
.chap-index a[aria-current="true"]{background:var(--fg);color:var(--bg)}
.chap-index-m{border-radius:24px}

/* Pricing */
.renewal{border-radius:28px;padding:2rem}
.timeline li{border-radius:28px;padding:1.75rem}
.tl-dot{width:auto;height:auto;background:none;display:block;font:700 3rem/1 var(--display);color:var(--primary);letter-spacing:-.05em;margin-bottom:.75rem}
.timeline b{font:700 1.25rem/1.2 var(--display);letter-spacing:-.015em}
.tablewrap{border-radius:28px}
.compare caption{font:700 1.75rem/1.2 var(--display);letter-spacing:-.025em;padding:1.75rem 1.5rem .75rem}
@media (min-width:768px){ .compare th,.compare td{padding-inline:1.5rem} }

/* Android, Support, Contact */
.waitlist,.notice{border-radius:28px;padding:2rem}
.notice{font-size:1.0625rem}
.support-group h2{font-size:clamp(1.625rem,1.3rem + 1vw,2.25rem);font-weight:700;letter-spacing:-.025em}
.stuck{border-radius:28px;padding:2rem;margin-top:1rem;background:radial-gradient(90% 120% at 100% 0%,rgba(242,138,81,.2),transparent 60%),var(--bg)}
.stuck>p{color:#c9d0cd}
.stuck .btn{margin-top:.5rem}
.contact-list{display:grid;gap:12px}
.contact-list>div{padding:1.25rem 1.5rem;border-radius:20px;background:var(--surface);border:1px solid var(--border)}

/* Library */
.ex-figure,.toc{border-radius:24px}
/* Between 1024 and 1279 px there's less room beside the phone, so a smaller phone keeps the
   runner in view. */
@media (min-width:1024px) and (max-width:1279px){ .hero .phone-lg{--w:290px;--k:.6923} .watch{font-size:13px;left:-92px;bottom:4.6rem} }
@media (max-width:1023px){ .page-bg .ph-tag{top:16px;bottom:auto} .page-route,.hero-route,.close-route{opacity:.3} }
/* Log in: a quiet outlined link in the header (members sign in to the web app) */
.bar-m{display:flex;align-items:center;gap:.5rem}
.login{display:inline-flex;align-items:center;min-height:44px;padding:0 1rem;border-radius:999px;border:1px solid var(--border);text-decoration:none;font-weight:600;font-size:.9375rem}
.login:hover{border-color:var(--fg)}
.navlinks>a.login{padding:0 1.1rem}
.navlinks>a.login:hover{text-decoration:none}
@media (min-width:768px){ .bar-m{display:none} }
.login{white-space:nowrap}
@media (max-width:379px){ .login{padding:0 .8rem} .bar-m{gap:.35rem} .brand{font-size:1.25rem} }

/* =====================================================================================
   Design pass (Nov 2026): one dark header on every page, a hero and partner strip that read as
   one piece, calmer display type, and tiles that each carry one fact from the sample week.
   ===================================================================================== */
.topbar.dark{background:rgba(9,13,12,.96);-webkit-backdrop-filter:saturate(1.6) blur(18px);backdrop-filter:saturate(1.6) blur(18px);border-bottom:1px solid rgba(255,255,255,.07)}
.topbar .login,.topbar .menu summary{border-color:rgba(255,255,255,.18);border-radius:999px}
.topbar .login:hover,.topbar .menu[open] summary{border-color:rgba(255,255,255,.6)}
.bar{min-height:60px}
.menu-panel{border-radius:22px;padding:.4rem}

/* Display type: tight, but the letters no longer touch. */
.hero h1{letter-spacing:-.035em;line-height:.98}
.chapter h2,.close h2,.page-top h1{letter-spacing:-.028em}
.kicker,.eyebrow{font-size:.8125rem;letter-spacing:.09em;text-transform:uppercase}

/* Hero copy on phones: less before the picture. */
.hero .action{margin-top:1.5rem;gap:.65rem}
.hero .status{order:-1;padding:.4rem .75rem .4rem .65rem;border-radius:999px;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.1);font-size:.8125rem;color:#eef1f0}
.status-dot{box-shadow:0 0 0 4px rgba(242,138,81,.22)}
.hero .price-line{font-size:.875rem}
.btn-primary{border-radius:999px;box-shadow:0 14px 30px -14px rgba(242,138,81,.75),inset 0 1px 0 rgba(255,255,255,.28)}
.btn-primary:active{transform:translateY(1px)}
@media (max-width:1023px){ .hero{padding-top:2.25rem} .hero-bg{margin-top:1.75rem} }

/* Works with: part of the dark opening, not a pale stripe through it. */
.works.dark{border-bottom:0;border-top:1px solid rgba(255,255,255,.07)}
.works-in{flex-direction:column;gap:.75rem;padding-block:1.6rem}
.works-k{font:600 .75rem/1 var(--body);letter-spacing:.1em;text-transform:uppercase;color:var(--faint)}
.works ul{gap:.5rem;font:600 .875rem/1 var(--body)}
.works li{padding:.55rem .85rem;border-radius:999px;border:1px solid rgba(255,255,255,.12);color:#dfe4e2}
@media (min-width:768px){ .works-in{flex-direction:row;gap:1.25rem} }

/* Keep Tuesday: the question sits on the phone like a message; a warm light behind it. */
.tue{padding-top:clamp(3.5rem,8vw,8rem)}
.tue-stage{gap:2rem}
.tue-phone{position:relative;isolation:isolate}
.tue-phone::before{content:"";position:absolute;z-index:-1;left:50%;top:46%;width:min(130%,620px);aspect-ratio:1;transform:translate(-50%,-50%);background:radial-gradient(closest-side,rgba(242,138,81,.26),rgba(242,138,81,0));pointer-events:none}
.tue-points{gap:0;max-width:28rem;width:100%}
.tue-points li{padding:1.15rem 0;border-left:0;border-top:1px solid rgba(255,255,255,.1)}
.tue-points li:first-child{border-top:0}
.tue-points b{display:flex;align-items:center;gap:.6rem}
.tue-points b::before{content:"";width:7px;height:7px;border-radius:50%;background:var(--primary);flex:none}
@media (max-width:1023px){
  .tue-ask{position:relative;z-index:2;justify-self:end;max-width:86%;margin:0 -4px -3.25rem 0;transform:rotate(1.2deg)}
  .walk>summary{width:100%;justify-content:space-between;border-radius:999px}
}
.walk>summary{border-radius:999px}

/* Tiles */
.bento{gap:12px}
.tile{border-radius:30px;padding:1.6rem}
.tile-bg::after{background:linear-gradient(180deg,rgba(9,13,12,.05) 0%,rgba(9,13,12,.55) 45%,rgba(9,13,12,.94) 100%)}
.tile-k{font:600 .75rem/1.2 var(--body);letter-spacing:.09em;text-transform:uppercase}
.big.is-md{font-size:clamp(3.25rem,2.4rem + 3.4vw,4.75rem)}
.big.is-md+.tile-stats{margin-bottom:.5rem}
.t-food,.t-watch{min-height:400px}
.t-season{gap:1.5rem;padding-top:2rem;background:radial-gradient(120% 80% at 50% 0%,color-mix(in srgb,#e8b64a 26%,var(--surface)) 0%,var(--surface) 62%)}
.medal-row{display:flex;justify-content:center;padding-inline:4%}
.medal-row img{width:19%;height:auto;flex:none;margin-left:-7.4%;filter:drop-shadow(0 10px 14px rgba(0,0,0,.28))}
.medal-row img:first-child{margin-left:0}
.tile-when{font-size:.875rem;font-weight:600;color:var(--muted)}
.t-journal{background:linear-gradient(160deg,color-mix(in srgb,var(--notes) 16%,var(--surface)),color-mix(in srgb,var(--notes) 5%,var(--surface)))}
.effort{display:flex;align-items:center;gap:4px;margin:.2rem 0 .5rem}
.effort i{width:14px;height:6px;border-radius:3px;background:color-mix(in srgb,var(--notes) 22%,transparent)}
.effort i.is-on{background:var(--notes)}
.effort span{margin-left:.6rem;font-size:.8125rem;font-weight:600;color:var(--muted)}
.habit-week .is-on span{position:relative}
.habit-week .is-on span::after{content:"";position:absolute;left:50%;top:46%;width:22%;height:42%;border:solid var(--surface);border-width:0 2px 2px 0;transform:translate(-50%,-50%) rotate(45deg)}
.text-link{text-decoration-color:color-mix(in srgb,currentColor 40%,transparent)}

/* Footer on phones: three short columns instead of a long ladder. */
.site-foot{padding-block:3rem 2rem}
@media (max-width:767px){ .foot-cols{gap:1.5rem var(--gap)} .foot-cols a,.foot-cols .soon{min-height:40px} .foot-cols>div:last-child{grid-column:1 / -1;display:flex;flex-wrap:wrap;gap:0 1.25rem} .foot-cols>div:last-child h2{width:100%} }

/* ---------- Inner pages (design pass) ---------- */
/* Features: the chapter pills on every width (they scroll sideways on phones), the demo before
   the list on phones, and the list as a quiet card. */
.chap-index-m{display:none}
.chap-index{display:block;top:68px;margin-inline:calc(-1 * var(--gutter));padding-inline:var(--gutter);overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch;text-align:left}
.chap-index::-webkit-scrollbar{display:none}
.chap-index ol{flex-wrap:nowrap;white-space:nowrap}
@media (min-width:1024px){ .chap-index{text-align:center;overflow:visible;margin-inline:0;padding-inline:0} }
.feat{padding-block:clamp(3rem,7vw,6rem)}
.feat .lead{font-size:clamp(1.0625rem,1rem + .3vw,1.25rem)}
.feat-copy .ticks,.ticks{gap:0}
.feat-copy .ticks{margin-top:.5rem;border-radius:24px;background:var(--surface);border:1px solid var(--border);padding:.35rem 1.25rem}
.feat-copy .ticks li{padding:.85rem 0 .85rem 2.1rem;border-top:1px solid var(--border);font-size:1rem}
.feat-copy .ticks li:first-child{border-top:0}
.feat-copy .ticks li::before{left:.45rem;top:1.2em;width:.4rem;height:.72rem;border-color:var(--link)}
.feat-copy .ticks li::after{content:"";position:absolute;left:0;top:.95em;width:1.4rem;height:1.4rem;border-radius:50%;background:color-mix(in srgb,var(--primary) 18%,transparent)}
@media (max-width:1023px){
  .feat{display:flex;flex-direction:column;gap:0}
  .feat-copy{display:contents}
  .feat-copy h2{margin-top:.75rem}
  .feat-copy .lead{margin-top:1rem}
  .feat-media{order:1;margin-top:1.75rem}
  .feat-copy .ticks{order:2;margin-top:1.5rem}
}
.feat-screen{border-radius:30px;padding:clamp(1.25rem,4vw,3rem);background:radial-gradient(120% 90% at 100% 0%,color-mix(in srgb,var(--habit) 20%,transparent),transparent 60%),var(--surface-2)}
.feat-screen .app-card{margin-inline:auto;border-radius:24px;border-color:transparent}
.feat-screen figcaption,.feat-demo figcaption{font-size:.875rem}
.demo-stage{border-radius:30px}

/* Pricing: the trial as a line on phones, and the Coach column picked out. */
.plan{border-radius:30px}
.plan-coach{box-shadow:0 40px 70px -40px rgba(242,138,81,.45)}
.compare thead th:last-child,.compare td:last-child{background:color-mix(in srgb,var(--primary) 9%,transparent)}
.compare thead th{font:650 1rem/1.2 var(--display)}
.compare thead small{font:500 .8125rem var(--body)}
.yes{color:var(--link)}
@media (max-width:767px){
  .timeline{gap:0;padding-left:.25rem}
  .timeline li{position:relative;border:0;background:none;border-radius:0;padding:0 0 1.75rem 3.25rem}
  .timeline li:last-child{padding-bottom:0}
  .timeline li::before{content:"";position:absolute;left:1.05rem;top:2.4rem;bottom:.2rem;width:2px;border-radius:2px;background:var(--border)}
  .timeline li:last-child::before{display:none}
  .tl-dot{position:absolute;left:0;top:0;width:2.2rem;height:2.2rem;display:grid;place-items:center;border-radius:50%;background:var(--primary);color:var(--primary-fg);font:700 1.0625rem/1 var(--display);letter-spacing:0;margin:0}
  .timeline b{padding-top:.3rem}
}
.renewal,.waitlist,.notice,.tablewrap,.cards-3 li,.timeline li{border-radius:30px}
@media (max-width:767px){ .timeline li{border-radius:0} }

/* Support and FAQ: a little more air, and the open answer reads as part of its question. */
.faq summary{min-height:60px;font-size:1.0625rem}
.faq details[open] summary{color:var(--link)}
.support-group h2{margin-bottom:.25rem}

/* =====================================================================================
   Design pass, part two (Nov 2026, D-154): the exercise library, guides, legal pages and the
   small pages, in the same style. Phones first; one left edge on every inner page.
   ===================================================================================== */
/* The page top, the text under it, the close and the footer all start at the same edge. */
.page-hero{max-width:calc(1200px + 2 * var(--gutter))}
.page-top h1{max-width:20ch}
.page-top .lead{max-width:38rem}
.page-top .draft-note{max-width:38rem}
.legal .solicitor{display:block;margin:1.25rem 0}
.wrap.narrow{max-width:calc(1200px + 2 * var(--gutter))}
.wrap.narrow>*{max-width:44rem}
.wrap.prose+.wrap>.sub-h:first-child{margin-top:0}

/* Exercise library: a search pill, one row of filters, and on phones one list instead of 449
   separate cards. */
.ex-tools{gap:.75rem;top:60px;padding-block:.75rem;margin-inline:calc(-1 * var(--gutter));padding-inline:var(--gutter);
  background:color-mix(in srgb,var(--bg) 86%,transparent);-webkit-backdrop-filter:saturate(1.5) blur(16px);backdrop-filter:saturate(1.5) blur(16px)}
.ex-searchbox{position:relative;max-width:560px}
.ex-searchbox svg{position:absolute;left:1.1rem;top:50%;width:20px;height:20px;transform:translateY(-50%);color:var(--muted);pointer-events:none}
.ex-search{border-radius:999px;padding-left:3rem;border-color:var(--border);box-shadow:0 10px 26px -20px rgba(17,28,24,.5)}
.ex-search::placeholder{color:var(--muted);opacity:1}
.ex-search:focus-visible{border-radius:999px;border-color:var(--ring)}
.ex-tools .chips{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch;margin-inline:calc(-1 * var(--gutter));padding-inline:var(--gutter)}
.ex-tools .chips::-webkit-scrollbar{display:none}
.chips button{flex:none;min-height:40px;padding:0 .95rem;white-space:nowrap}
.ex-count{margin-top:.5rem;font-size:.875rem}
.ex-grid{padding:0;margin-top:.9rem}
.ex-grid[hidden]{display:none}
.ex-card a{border-radius:20px;min-height:76px}
.ex-art{border-radius:14px;background:radial-gradient(120% 120% at 100% 0%,color-mix(in srgb,var(--primary) 16%,transparent),transparent 65%),var(--surface-2)}
.ex-more{margin-top:1.25rem;text-align:center}
.ex-more .btn{border-radius:999px;background:var(--surface);min-width:min(100%,18rem)}
.ex-empty{padding:1.5rem 0 0}
@media (max-width:699px){
  .ex-grid{display:block;border:1px solid var(--border);border-radius:24px;background:var(--surface);overflow:hidden}
  .ex-card a{position:relative;border:0;border-radius:0;background:none;min-height:72px;padding:10px 2.6rem 10px 12px;box-shadow:0 1px 0 var(--border)}
  .ex-card a::after{content:"";position:absolute;right:1.15rem;top:50%;width:8px;height:8px;border:solid var(--faint);border-width:2px 2px 0 0;transform:translateY(-50%) rotate(45deg)}
  .ex-card a:active{background:var(--surface-2)}
  .ex-card a:focus-visible{outline-offset:-3px;border-radius:14px}
  .ex-card b{font-size:1rem}
}

/* One exercise: the drawing as a wide card, the facts as four small tiles, the steps as one card. */
.ex-main{padding-block:0 var(--section)}
.ex-main .prose>h2:first-child{margin-top:0}
.ex-main .prose h2{font-size:1.5rem;margin:2.25rem 0 .9rem;letter-spacing:-.02em}
.ex-figure{border-radius:28px;padding:0;aspect-ratio:16/11;background:radial-gradient(110% 100% at 100% 0%,color-mix(in srgb,var(--primary) 18%,transparent),transparent 62%),var(--surface)}
.ex-figure svg{width:auto;height:76%}
.ex-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:10px}
.ex-facts li{flex-direction:column;justify-content:flex-start;gap:.3rem;padding:.9rem 1rem;border:1px solid var(--border);border-radius:20px;background:var(--surface)}
.ex-facts span{font-size:.8125rem;line-height:1.25}
.ex-facts b{font:650 1.0625rem/1.2 var(--display);letter-spacing:-.01em}
.muscles{gap:8px;margin-top:0}
.muscles span{padding:.45rem .95rem;background:var(--surface);font-weight:600;font-size:.9375rem}
.howto{gap:0;margin-top:0;padding:.3rem 1.2rem;border:1px solid var(--border);border-radius:24px;background:var(--surface)}
.howto li{grid-template-columns:30px minmax(0,1fr);gap:14px;padding:1rem 0;border-top:1px solid var(--border);max-width:none;line-height:1.5}
.howto li:first-child{border-top:0}
.howto li::before{background:color-mix(in srgb,var(--primary) 20%,transparent);color:var(--link)}
.related h2{font-size:1.5rem;letter-spacing:-.02em;margin-bottom:0}
@media (max-width:1023px){ .ex-side{max-width:none} }
@media (min-width:1024px){ .ex-main{grid-template-columns:minmax(0,1fr) 380px;gap:5rem} .ex-figure{aspect-ratio:4/3} }

/* Guides: three across on a computer, "Coming soon" on the picture. */

/* Legal: the contents fold away on phones; calmer lists and section spacing. */
.layout{padding-top:0}
.toc-m{border:1px solid var(--border);border-radius:24px;background:var(--surface);font-size:1rem}
.toc-m summary{cursor:pointer;list-style:none;position:relative;min-height:56px;display:flex;align-items:center;padding:0 3rem 0 1.25rem;font-weight:600}
.toc-m summary::-webkit-details-marker{display:none}
.toc-m summary::after{content:"";position:absolute;right:1.35rem;top:50%;width:9px;height:9px;border:solid var(--muted);border-width:0 2px 2px 0;transform:translateY(-70%) rotate(45deg);transition:transform 180ms var(--ease)}
.toc-m[open] summary::after{transform:translateY(-30%) rotate(-135deg)}
.toc-m summary:focus-visible{border-radius:24px}
.toc-m ol{list-style:none;margin:0;padding:0 1.25rem .5rem;counter-reset:t}
.toc-m li{counter-increment:t;border-top:1px solid var(--border)}
.toc-m a{display:flex;gap:.9rem;align-items:baseline;padding:.8rem 0;color:var(--fg);text-decoration:none;line-height:1.3}
.toc-m a::before{content:counter(t,decimal-leading-zero);font:600 .8125rem var(--body);color:var(--link);flex:none}
@media (max-width:1023px){ .layout>.toc{display:none} }
@media (min-width:1024px){ .toc-m{display:none} }
.legal ul,.legal ol{padding-left:1.25rem}
.legal li+li{margin-top:.35rem}
.legal section{padding-bottom:2.25rem;margin-bottom:2.25rem}
.legal section:last-child{border-bottom:0;margin-bottom:0}
.legal h2{letter-spacing:-.02em}
.legal h3{font-size:1.125rem}
.summary{border-radius:24px}

/* Support: each group of questions is one quiet card; on a computer the group's name sits
   beside it. */
.support-group .faq{border:1px solid var(--border);border-radius:24px;background:var(--surface);padding:0 1.25rem}
.support-group .faq details:last-child{border-bottom:0}
.support-group .faq details p:last-child{padding-bottom:1.25rem}
.support-group{margin-bottom:2.5rem}
.support-group.stuck{margin-bottom:0}
.wrap.support{padding-bottom:var(--section)}
@media (min-width:1024px){
  .wrap.support>*{max-width:none}
  .support-group:not(.stuck){display:grid;grid-template-columns:minmax(0,1fr) minmax(0,2fr);gap:3rem;align-items:start}
  .support-group:not(.stuck) h2{position:sticky;top:96px;margin:0;padding-top:.9rem}
  .support-group .faq{margin-top:0;max-width:none}
  .stuck{padding:2.5rem 3rem}
}

/* About, Android, Contact */
@media (max-width:767px){
  .cards-3 li{padding:1.5rem}
  .cards-3.is-numbered li::before{font-size:2rem;margin-bottom:.4rem}
}
.contact-list>div{border-radius:24px;padding:1.3rem 1.5rem}
.contact-list dt{font:650 1.125rem/1.2 var(--display);letter-spacing:-.01em}
.contact-list dd{margin-top:.35rem}
@media (min-width:900px){ .wrap.narrow>.contact-list{max-width:none;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px} }
.legal table{margin:1.25rem 0}
@media (max-width:479px){ .ex-search{font-size:1rem;padding:0 .5rem 0 2.6rem;text-overflow:ellipsis} .ex-searchbox svg{left:.95rem;width:18px;height:18px} }

/* ---------- Full pass (Nov 2026, D-156): small things on the main pages ---------- */
/* Pricing: the two plans line up with the box under them; on phones the comparison gives the
   feature names the room and keeps the two tick columns narrow; "Both plans" always sits under
   its question. */
.plans+.renewal{margin-top:var(--gap)}
.page-top~.wrap>.plans{max-width:none}
@media (max-width:767px){
  .compare th,.compare td{padding:.8rem .5rem}
  .compare th:first-child{padding-left:1rem}
  .compare thead th{font-size:.875rem;vertical-align:bottom}
  .compare thead th:not(:first-child){width:5.6rem;text-align:center}
  .compare thead small{display:block;font-size:.6875rem;white-space:nowrap;margin-top:.15rem}
  .compare td{width:5.6rem}
  .compare caption{padding:1.4rem 1rem .5rem;font-size:1.5rem}
  .faq summary{display:block;padding-block:1.05rem}
  .faq-plan{display:table;margin-top:.45rem}
}
/* Homepage, Keep Tuesday on phones: less empty space before "See how it came together". */
@media (max-width:1023px){ .tue .walk{margin-top:2rem;padding-top:1.5rem} }

/* ---------- Features demos (Nov 2026, D-157): one frame each, no held-open gaps ---------- */
/* Each demo was a box inside a box. Now the dark stage is the only frame, which gives the demo
   itself the width back on phones. */
.demo-stage{padding:0;background:linear-gradient(180deg,#111715,#0a0e0d);border:1px solid rgba(238,241,240,.06)}
.demo-stage .demo-card{background:none;border:0;border-radius:0;box-shadow:none;padding:clamp(1.25rem,3.2vw,2.5rem) clamp(1.1rem,3.2vw,2.5rem)}
.feat-demo figcaption{padding-inline:.35rem;margin-top:.75rem}
/* The week in the workout builder: on phones seven days in rows of four left a hole; Sunday
   fills it. */
@media (max-width:767px){ .demo-stage .bd-week>:last-child{grid-column:span 2} }
/* The header's .bar height was leaking into the demos' thin progress bars (the food result's
   protein, carbs and fat came out as thick blocks). */
.demo-stage .bar{min-height:0}
.demo-stage .pl-m .bar{height:8px}
.demo-stage .pl-result button:not(.linkish){white-space:nowrap}
@media (max-width:479px){ .demo-stage .pl-result button:not(.linkish){padding-inline:1.1rem;font-size:.9375rem} }
/* Space kept for a result that isn't there yet: the food photo's answer and the run's log. */
.demo-stage .pl-result:empty{display:none}
.demo-stage .wd-log{min-height:0}
.demo-stage .mr-toast:empty{min-height:0}
.demo-stage .wd-side .sample{margin-top:0}

/* ---------- Features demos, part two (D-158): shorter AI demos on phones ---------- */
@media (max-width:767px){
  /* Your own AI: the four journal lines sit two by two, and the link between the cards is shorter. */
  .feat .demo-stage .ai2{grid-template-rows:auto 34px auto}
  .feat .demo-stage .ai2-app ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
  .feat .demo-stage .ai2-msgs{min-height:0}
  /* The built-in coach: tighter tiles, the questions in one row that scrolls sideways, and the
     answer set a little smaller. */
  .feat .demo-stage .ac-stats{gap:6px}
  .feat .demo-stage .ac-stat{padding:8px 10px}
  .feat .demo-stage .ac-stat b{font-size:1.0625rem;line-height:1.3}
  .feat .demo-stage .ac-stat small{display:block;font-size:.75rem;line-height:1.35}
  .feat .demo-stage .ac-qs{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch;margin-inline:-1.1rem;padding-inline:1.1rem}
  .feat .demo-stage .ac-qs::-webkit-scrollbar{display:none}
  .feat .demo-stage .ac-qs button{flex:none;white-space:nowrap}
  .feat .demo-stage .ac-chat{min-height:0}
  .feat .demo-stage .ac-ai{max-width:100%;font-size:.9375rem;line-height:1.5}
}

/* =====================================================================================
   Launch polish (Nov 2026, D-163): a hero whose button shows on a laptop, tighter rhythm,
   a legible sample week, a clearer privacy picture, a calmer Pricing page, shorter page tops
   and a compact footer. Shared rules first, then page by page. The Features demos
   (.demo-stage) are not touched here.
   ===================================================================================== */
/* ---------- Rhythm: sections sat too far apart; about a quarter comes out ---------- */
:root{--section:3.25rem}
@media (min-width:1024px){ :root{--section:5.25rem} }
.chap-head{margin-bottom:clamp(1.75rem,3.5vw,2.75rem)}
.chap-head .lead,.tue-head .lead{margin-top:1rem}
.tue-head{margin-bottom:clamp(1.5rem,3.5vw,2.5rem)}
.more{margin-top:1.75rem}
.page-top{padding-block:clamp(2.5rem,6vw,4.75rem) clamp(2.25rem,4.5vw,3.5rem);margin-bottom:clamp(2rem,4vw,3rem)}
.page-top.has-photo{min-height:clamp(280px,30vw,400px)}
.page-top .lead{margin-top:1rem}
.close{padding-block:clamp(3.5rem,7vw,6rem)}
.sub-h{margin-top:calc(var(--section) * .85);margin-bottom:1.25rem}
/* Type scale: confident, but a size down, and no line runs too wide to read. */
.chapter h2{font-size:clamp(2rem,1.45rem + 2.2vw,3.5rem);line-height:1.05}
.page-top h1{font-size:clamp(2.5rem,1.4rem + 4vw,4.5rem);line-height:1}
.close h2{font-size:clamp(2.25rem,1.4rem + 3vw,3.75rem)}
.lead{max-width:56ch}

/* ---------- Homepage hero ---------- */
/* Laptop: the headline a size down and the gaps closed, so the status, the button and the
   phone all show in a 1280 x 720 window. */
.hero .lead{margin-top:1.1rem;max-width:31rem}
.hero .action{margin-top:1.5rem;gap:.65rem}
@media (min-width:1024px){
  .hero{padding-top:3rem}
  .hero h1{font-size:clamp(3.5rem,1rem + 5.2vw,5.75rem)}
  .hero-copy{padding-bottom:3rem}
  .hero-device{padding-bottom:2.5rem}
  .watch{bottom:calc(2.5rem + 9%)}
}
@media (min-width:1024px) and (max-height:860px){
  .hero{min-height:0;padding-top:2.25rem}
  .hero .phone-lg{--w:270px;--k:.641}
  .hero .watch{font-size:13px;left:-96px}
  .hero .kicker{margin-bottom:.6rem}
}
/* Phones: a shorter strip of photograph, so the product arrives sooner. The runner stays in it. */
@media (max-width:639px){
  .hero-bg{aspect-ratio:16/10;margin-top:1.25rem}
  .hero-bg img{object-position:79% 46%}
  .hero-device{margin-top:-17%}
}

/* ---------- The action block ---------- */
.price-line{max-width:44ch}
.close-line{color:#c9d0cd;max-width:34ch;font-size:1.0625rem}
.close-links{display:flex;flex-wrap:wrap;gap:.6rem;margin-top:.35rem}
.close-links .btn-quiet{border-radius:999px;color:#eef1f0;border-color:rgba(255,255,255,.22)}
.close-links .btn-quiet:hover{border-color:rgba(255,255,255,.6)}

/* ---------- Keep Tuesday: the answer in three large rows, before the phone ---------- */
.tue-week{list-style:none;margin:0 auto clamp(1.75rem,4vw,2.75rem);padding:0;display:grid;gap:8px;max-width:46rem}
.tue-week li{display:grid;grid-template-columns:3.25rem minmax(0,1fr) auto;align-items:center;gap:.25rem 1rem;padding:.85rem 1.1rem;border-radius:18px;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.09)}
.tue-week span{font:650 .8125rem/1 var(--body);letter-spacing:.09em;text-transform:uppercase;color:#a3aba8}
.tue-week b{font:650 1.25rem/1.2 var(--display);letter-spacing:-.01em;color:#fff}
.tue-week small{font-size:.875rem;color:#c9d0cd;text-align:right}
.tue-week .is-kept{background:color-mix(in srgb,var(--run) 20%,transparent);border-color:color-mix(in srgb,var(--run) 45%,transparent)}
.tue-week .is-new small{color:#ffb27c;font-weight:600}
@media (min-width:768px){
  .tue-week{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
  .tue-week li{grid-template-columns:1fr;gap:.3rem;padding:1.1rem 1.25rem}
  .tue-week small{text-align:left}
}
@media (max-width:479px){ .tue-week li{grid-template-columns:3rem minmax(0,1fr)} .tue-week small{grid-column:2;text-align:left} }
/* The question sits straight, and clear of the phone's screen. */
@media (max-width:1023px){ .tue-ask{transform:none;margin-bottom:-2.25rem} }
.tue-phone figcaption{font-size:.9375rem}

/* ---------- Tiles: one border, one radius, quieter medals ---------- */
.tile{border-radius:26px}
.t-season{background:var(--surface);gap:1.25rem}
.medal-row{padding-inline:8%}
.medal-row img{width:17%;margin-left:-5.4%;filter:drop-shadow(0 6px 10px rgba(0,0,0,.18))}

/* ---------- Decide what you share: locks, not strikethrough ---------- */
.sh-kept p{font:650 1rem/1.2 var(--display);color:var(--fg);letter-spacing:-.01em}
.sh-kept li{display:inline-flex;align-items:center;gap:.45rem;text-decoration:none;font-weight:600}
.sh-kept svg{width:15px;height:15px;flex:none;fill:none;stroke:var(--link);stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
@media (min-width:1024px){ .sh-kept ul{align-items:stretch} .sh-kept li{justify-content:flex-start} }

/* ---------- Pricing ---------- */
.plan{padding:1.75rem}
.plan h3{font-size:1.625rem;letter-spacing:-.02em}
.plan-why{min-height:0}
@media (min-width:768px){ .plan-why{min-height:4.6em} }
.trial-terms{max-width:62ch;margin-top:1.25rem}
.tablewrap{margin-top:calc(var(--section) * .85)}
.cmp-group th{font:650 .8125rem/1 var(--body);letter-spacing:.09em;text-transform:uppercase;color:var(--muted);background:var(--surface-2);padding-block:.7rem}
.compare .cmp-group th{background:var(--surface-2)}
.compare tbody:last-child .cmp-group th{color:var(--link)}
.compare tbody+tbody .cmp-group th{border-top:1px solid var(--border)}
.pl .faq,.sub-h+.faq{margin-top:1.25rem}

/* ---------- About: the founder's story, when there is one ---------- */
.founder{display:grid;gap:1.5rem;margin-bottom:2.5rem;max-width:none}
.founder img{width:140px;height:140px;border-radius:28px;object-fit:cover}
.founder-name{font:650 1.25rem/1.2 var(--display)}
.founder-name span{display:block;font:500 .9375rem/1.4 var(--body);color:var(--muted)}
@media (min-width:768px){ .founder{grid-template-columns:auto minmax(0,1fr);align-items:start} }
.wrap.narrow.prose>h2:first-child{margin-top:0}

/* ---------- Footer: four columns, a little closer ---------- */
.site-foot{padding-block:2.5rem 1.75rem}
.foot-top{margin-bottom:1.75rem}
.foot-bottom{margin-top:1.75rem;padding-top:1.25rem}
@media (min-width:768px){ .foot-cols.is-four{grid-template-columns:repeat(4,minmax(0,1fr))} .foot-cols a{min-height:36px} }
@media (max-width:767px){ .foot-cols.is-four>div:last-child{grid-column:auto;display:block} }
.close .action{width:100%}

/* =====================================================================================
   Films (D-171): short films of the iPhone app on Features (src/films.mjs, assets/js/films.js).
   Every animated piece rests in its finished state, so with reduced motion or no JavaScript the
   screen is complete; films.js adds .is-live and replays a scene with .is-play.
   ===================================================================================== */
.film{display:grid;gap:1.5rem;justify-items:center;padding:clamp(1.25rem,4vw,2.5rem) clamp(.75rem,3vw,2.5rem);border-radius:30px;
  background:radial-gradient(110% 80% at 100% 0%,color-mix(in srgb,var(--primary) 14%,transparent),transparent 60%),var(--surface-2)}
@media (min-width:768px) and (max-width:1023px),(min-width:1280px){ .film{grid-template-columns:auto minmax(0,21rem);align-items:center;justify-content:center;gap:2rem} }
@media (min-width:1280px){ .film .phone-lg{--w:300px;--k:.7179} }
.film-stage{position:relative}
.film-scenes{position:absolute;left:0;right:0;top:54px;bottom:0}
.film-scene{position:absolute;inset:0;padding:0 20px;display:flex;flex-direction:column;gap:14px;opacity:0;visibility:hidden;transition:opacity .45s var(--ease),visibility 0s linear .45s}
.film-scene.is-on{opacity:1;visibility:visible;transition:opacity .45s var(--ease)}
.film-scene>.ap-head{padding-top:0}

/* The captions */
.film-steps{list-style:none;margin:0;padding:0;display:grid;gap:6px;width:100%;max-width:26rem}
.film-steps button{display:grid;grid-template-columns:2rem minmax(0,1fr);gap:.85rem;align-items:start;position:relative;overflow:hidden;width:100%;padding:.95rem 1.1rem 1.05rem;border:0;border-radius:20px;background:transparent;color:var(--muted);font:inherit;text-align:left;cursor:pointer;transition:background-color .25s var(--ease)}
.film-steps button:hover{background:color-mix(in srgb,var(--surface) 55%,transparent)}
.film-steps button:focus-visible{outline:3px solid var(--ring);outline-offset:2px;border-radius:20px}
.film-n{width:2rem;height:2rem;border-radius:50%;display:grid;place-items:center;font:650 .9375rem/1 var(--display);background:color-mix(in srgb,var(--fg) 8%,transparent);color:var(--muted);transition:background-color .25s,color .25s}
.film-t b{display:block;font:650 1.125rem/1.25 var(--display);letter-spacing:-.01em;color:var(--fg);padding-top:.2rem}
.film-t>span{display:block;font-size:.9375rem;line-height:1.5;margin-top:.25rem}
.film-steps li.is-on button{background:var(--surface);box-shadow:0 14px 30px -22px rgba(17,28,24,.45)}
.film-steps li.is-on .film-n{background:var(--primary);color:var(--primary-fg)}
.film-steps li.is-on .film-t>span{color:var(--fg)}
.film-prog{position:absolute;left:1.1rem;right:1.1rem;bottom:0;height:3px;border-radius:3px;overflow:hidden}
.film-prog i{display:block;width:0;height:100%;border-radius:3px;background:var(--primary)}

/* Pause and play */
.film-toggle{position:absolute;right:-18px;bottom:-14px;z-index:4;width:44px;height:44px;border-radius:50%;border:1px solid var(--border);background:var(--surface);color:var(--fg);display:grid;place-items:center;cursor:pointer;box-shadow:0 10px 24px -12px rgba(0,0,0,.35)}
.film-toggle[hidden]{display:none}
.film-toggle svg{width:18px;height:18px}
.film-toggle .is-pause svg{fill:none;stroke:currentColor;stroke-width:3;stroke-linecap:round}
.film-toggle .is-play svg{fill:currentColor}
.film-toggle .is-pause{display:grid;place-items:center}
.film-toggle .is-play,.film.is-held .film-toggle .is-pause{display:none}
.film.is-held .film-toggle .is-play{display:grid;place-items:center}

/* Taps, and pieces that change */
.tap{position:absolute;left:50%;top:50%;width:46px;height:46px;margin:-23px 0 0 -23px;border-radius:50%;background:color-mix(in srgb,var(--fg) 22%,transparent);opacity:0;pointer-events:none}
.b-out{opacity:0}
.fp-swap{display:grid}.fp-swap>*{grid-area:1 / 1}
@media (prefers-reduced-motion:no-preference){
  .film.is-live .is-play .b-in{animation:filmIn .35s var(--ease) var(--d) both}
  .film.is-live .is-play .b-out{animation:filmOut .25s var(--ease) var(--d) both}
  .film.is-live .is-play .b-up{animation:filmUp .45s var(--ease) var(--d) both}
  .film.is-live .is-play .b-grow{overflow:hidden;animation:filmGrow .4s var(--ease) var(--d) both}
  .film.is-live .is-play .b-type{animation:filmType .7s steps(5,end) var(--d) both}
  .film.is-live .is-play .b-drain{animation:filmDrain 3.4s linear var(--d) both}
  .film.is-live .is-play .tap{animation:filmTap .55s ease-out var(--d) both}
  .film.is-live .film-steps li.is-on .film-prog i{animation:filmProg var(--dur,5s) linear both}
  .film.is-paused *,.film.is-paused *::before{animation-play-state:paused!important}
}
@keyframes filmIn{from{opacity:0}}
@keyframes filmOut{from{opacity:1}to{opacity:0}}
@keyframes filmUp{from{opacity:0;transform:translateY(36px)}}
@keyframes filmGrow{from{max-height:0;min-height:0;opacity:0}to{max-height:64px;opacity:1}}
@keyframes filmType{from{clip-path:inset(0 100% 0 0)}to{clip-path:inset(0 0 0 0)}}
@keyframes filmDrain{from{width:100%}to{width:62%}}
@keyframes filmTap{0%{opacity:0;transform:scale(.45)}35%{opacity:1;transform:scale(.85)}100%{opacity:0;transform:scale(1.35)}}
@keyframes filmProg{from{width:0}to{width:100%}}

/* Scene: Add exercises (ExercisePickerView.swift) */
.fp-nav{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;min-height:40px}
.fp-nav b{font-size:17px;font-weight:600}
.fp-nav .ap-link{justify-self:end;font-size:17px}
.fp-search{display:flex;align-items:center;gap:8px;height:40px;padding:0 10px;border-radius:12px;background:color-mix(in srgb,var(--fg) 7%,transparent);font-size:17px}
.fp-search i,.fp-kit i,.fp-own i{display:grid;place-items:center;flex:none}
.fp-search i{width:18px;height:18px;color:var(--muted)}
.fp-search svg,.fp-kit svg,.fp-own svg{width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.fp-groups{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.fp-groups span{display:grid;place-items:center;min-height:42px;border-radius:12px;background:var(--surface);font-size:15px;font-weight:600;box-shadow:var(--app-shadow)}
.fp-head{display:flex;justify-content:space-between;align-items:center;padding:2px 4px 8px;font-size:13px;color:var(--muted);text-transform:uppercase;letter-spacing:.02em}
.fp-kit{display:inline-flex;align-items:center;gap:5px;color:var(--link);font-weight:600;font-size:15px;text-transform:none;letter-spacing:0}
.fp-kit i{width:17px;height:17px}
.fp-card{background:var(--surface);border-radius:14px;padding-left:16px;box-shadow:var(--app-shadow)}
.fp-own{display:flex;align-items:center;gap:10px;min-height:48px;color:var(--link);font-weight:500;border-bottom:1px solid var(--border)}
.fp-own i{width:20px;height:20px}
.fp-row{display:flex;align-items:center;gap:12px;min-height:64px;padding-right:14px;border-bottom:1px solid var(--border)}
.fp-row:last-child{border-bottom:0}
.fp-art{display:block;width:50px;height:50px;flex:none;border-radius:12px;background:var(--surface-2);padding:3px}
.fp-art svg{display:block;width:100%;height:100%}
.fp-tx{flex:1;min-width:0;display:flex;flex-direction:column;gap:1px}
.fp-tx b{font-weight:400;font-size:17px;line-height:1.25}
.fp-tx small{font-size:14px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.fp-added-t{font-size:12px;font-weight:600;font-style:normal;color:var(--success)}
.fp-plus{position:relative;width:28px;height:28px;flex:none;color:var(--link)}
.fp-plus svg{display:block;width:100%;height:100%}
.fp-plus .fill{fill:currentColor}.fp-plus .on-fill{fill:none;stroke:var(--surface);stroke-width:2.4;stroke-linecap:round}
.fp-bar{position:absolute;left:16px;right:16px;bottom:30px;display:flex;align-items:center;gap:12px;padding:10px 10px 10px 18px;border-radius:22px;background:color-mix(in srgb,var(--surface) 90%,transparent);-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);box-shadow:0 12px 34px rgba(0,0,0,.16),var(--app-shadow)}
.fp-bar-t{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.fp-bar-t b{font-size:15px;font-weight:600}
.fp-bar-t small{font-size:13px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.fp-done{position:relative;display:grid;place-items:center;min-height:44px;padding:0 22px;border-radius:99px;background:var(--primary);color:var(--primary-fg);font-weight:600;font-size:17px}

/* Scene: Plan's week (PlanView.swift) */
.fw-new .fw-swap{flex:1;display:grid;min-width:0}
.fw-swap>span{grid-area:1 / 1;display:flex;align-items:center;gap:14px;min-width:0}
.fw-now .ap-wname{font-weight:600}
.fw-new .ap-wadd{position:relative}
.film .ap-week li{min-height:50px}

/* =====================================================================================
   Clean redesign (D-171): the homepage, App and Watch pages in the app's own calm style:
   light sections with room to breathe, one idea each, white cards with a hairline, one picture
   of the app per idea. Classes start x-.
   ===================================================================================== */
.x-sec{padding-block:clamp(3.5rem,8vw,6.5rem)}
.x-head{max-width:40rem;margin:0 auto clamp(2rem,5vw,3.25rem);text-align:center}
.x-head h2,.x-copy h2,.x-band h2{font:700 clamp(2rem,1.4rem + 2.4vw,3.25rem)/1.05 var(--display);letter-spacing:-.03em}
.x-head p{margin-top:1rem;color:var(--muted);font-size:clamp(1.0625rem,1rem + .3vw,1.25rem);line-height:1.55}
.x-kicker{font:600 .8125rem/1 var(--body);letter-spacing:.09em;text-transform:uppercase;color:var(--link);margin-bottom:.85rem}
.x-more{margin-top:clamp(1.75rem,4vw,2.5rem);text-align:center}
.x-more a{display:inline-flex;align-items:center;gap:.4rem;min-height:44px;padding:0 1.25rem;border-radius:999px;border:1px solid var(--border);background:var(--surface);font-weight:600;text-decoration:none;color:var(--fg)}
.x-more a::after{content:"→";color:var(--link)}
.x-more a:hover{border-color:var(--muted)}

/* What it does */
.x-cards{list-style:none;margin:0;padding:0;display:grid;gap:12px}
@media (min-width:860px){ .x-cards{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px} }
.x-cards li{display:flex;flex-direction:column;gap:.55rem;padding:1.6rem 1.5rem 1.7rem;border-radius:26px;background:var(--surface);border:1px solid var(--border);box-shadow:0 1px 2px rgba(17,28,24,.04)}
.x-cards h3{font:650 1.25rem/1.2 var(--display);letter-spacing:-.015em;margin-top:.35rem}
.x-cards p{color:var(--muted);line-height:1.55}
.x-ico{width:44px;height:44px;border-radius:14px;display:grid;place-items:center;background:var(--primary-soft,#ffe9dd);color:var(--link)}
.x-ico svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}

/* Rows: words beside one picture */
.x-rows{display:flex;flex-direction:column;gap:clamp(3.5rem,9vw,7rem);padding-block:clamp(1rem,3vw,2rem) clamp(4rem,9vw,7rem)}
.x-rows.is-home{padding-block:clamp(1rem,4vw,3rem) clamp(4rem,9vw,7rem)}
.x-row{display:grid;gap:clamp(1.75rem,5vw,2.5rem);align-items:center;scroll-margin-top:5rem}
.x-copy{max-width:30rem}
.x-copy p{color:var(--muted);font-size:clamp(1.0625rem,1rem + .25vw,1.1875rem);line-height:1.6;margin-top:1rem}
.x-copy h2+p{margin-top:1.1rem}
.x-copy .x-small{font-size:.9375rem;margin-top:1rem}
.x-visual{display:grid;place-items:center;padding:clamp(1.75rem,5vw,3.5rem) clamp(1rem,4vw,2.5rem);border-radius:32px;background:radial-gradient(90% 70% at 50% 0%,color-mix(in srgb,var(--primary) 9%,transparent),transparent 70%),var(--surface-2)}
.x-visual .phone{margin:0}
.x-row.is-text .x-copy{max-width:36rem;margin-inline:auto;text-align:center}
@media (min-width:900px){
  .x-row{grid-template-columns:minmax(0,5fr) minmax(0,6fr);gap:clamp(3rem,6vw,6rem)}
  .x-row.is-flip .x-copy{order:2}
  .x-row.is-text{grid-template-columns:1fr}
}
.x-card{width:100%;max-width:380px}
.x-card .app-card{box-shadow:0 18px 40px -26px rgba(17,28,24,.35);border-radius:24px;padding:20px 22px;border-color:transparent}
.x-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}

/* Privacy: one quiet line */
.x-band{padding-block:clamp(2.5rem,6vw,4rem);background:var(--surface);border-block:1px solid var(--border)}
.x-band-in{display:flex;gap:1.25rem;align-items:flex-start;max-width:46rem}
@media (min-width:768px){ .x-band-in{margin-inline:auto;align-items:center} }
.x-band h2{font-size:clamp(1.625rem,1.3rem + 1.2vw,2.25rem)}
.x-band p{color:var(--muted);margin-top:.5rem;line-height:1.55}
.x-band-ico{flex:none;width:52px;height:52px;border-radius:16px;display:grid;place-items:center;background:var(--fg);color:var(--bg)}
.x-band-ico svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}

/* Two plans, briefly */
.x-plans{list-style:none;margin:0 auto;padding:0;display:grid;gap:12px;max-width:52rem}
@media (min-width:700px){ .x-plans{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px} }
.x-plans li{padding:1.75rem;border-radius:26px;background:var(--surface);border:1px solid var(--border)}
.x-plans li.is-coach{background:#111715;color:#eef1f0;border-color:#111715}
.x-plans h3{font:650 1.25rem/1.2 var(--display)}
.x-price{margin-top:.5rem;color:var(--muted)}.x-price .num{font:700 2.5rem/1 var(--display);letter-spacing:-.03em;color:var(--fg);margin-right:.25rem}
.x-plans .is-coach .x-price,.x-plans .is-coach p{color:#c9d0cd}.x-plans .is-coach .x-price .num{color:#fff}
.x-plans p:last-child{margin-top:.75rem;line-height:1.5;color:var(--muted)}

/* A drawn Apple Watch standing on its own (App, Watch and home pages) */
.watch.x-watch{position:relative;inset:auto;right:auto;left:auto;bottom:auto;font-size:clamp(17px,4.6vw,22px);margin:2.6em auto;filter:drop-shadow(0 26px 30px rgba(0,0,0,.28))}
.w-title{font-size:1em;font-weight:700;margin:.15em 0 .55em}
.w-opt{display:flex;align-items:center;justify-content:space-between;gap:.4em;font-size:.82em;font-weight:600;padding:.42em .5em;margin-top:.3em;border-radius:.6em;background:rgba(255,255,255,.12)}
.w-sub{font-size:.62em;color:#a3aba8;padding:.2em .6em 0}
.w-sw{flex:none;width:1.9em;height:1.15em;border-radius:99px;background:rgba(255,255,255,.25);position:relative}
.w-sw::after{content:"";position:absolute;left:.12em;top:.12em;width:.91em;height:.91em;border-radius:50%;background:#fff}
.w-sw.is-on{background:#30d158}.w-sw.is-on::after{left:auto;right:.12em}
.w-k{font-size:.8em;font-weight:600;color:#a3aba8;margin-top:.2em}
.w-next{font-size:.7em;color:#c9d0cd;margin-top:.45em;white-space:normal!important;line-height:1.25}
.w-btn{margin-top:.6em;text-align:center;font-size:.8em;font-weight:600;padding:.5em;border-radius:99px;background:rgba(255,255,255,.14)}
.x-plans .is-coach h3{color:#fff}
@media (min-width:900px){ .x-row.is-flip{grid-template-columns:minmax(0,6fr) minmax(0,5fr)} }

/* Safari (iPhone and Mac) let single-column grids grow wider than the screen, so the hero's words
   ran off the right edge. Pin every one-column grid to the width it's given. */
.hero-grid,.x-row,.x-cards,.x-plans,.close-inner{grid-template-columns:minmax(0,1fr)}
.hero-grid>*,.x-row>*,.close-inner>*{min-width:0}
.hero-copy{max-width:min(40rem,100%)}
.hero .lead,.price-line{overflow-wrap:break-word}
@media (min-width:1024px){ .hero-grid{grid-template-columns:minmax(0,1.15fr) minmax(0,1fr)} }
@media (min-width:860px){ .x-cards{grid-template-columns:repeat(3,minmax(0,1fr))} }
@media (min-width:700px){ .x-plans{grid-template-columns:repeat(2,minmax(0,1fr))} }
@media (min-width:768px){ .close-inner{grid-template-columns:7fr 5fr} }
@media (min-width:900px){ .x-row{grid-template-columns:minmax(0,5fr) minmax(0,6fr)} .x-row.is-flip{grid-template-columns:minmax(0,6fr) minmax(0,5fr)} .x-row.is-text{grid-template-columns:minmax(0,1fr)} }

/* The route line (hero, page tops, closes): drawn whole, then revealed left to right. The old dash
   trick (pathLength with a non-scaling stroke on a stretched drawing) left Safari showing only the
   middle of the line. */
.hero-route path,.close-route path,.page-route path{stroke-dasharray:none!important;stroke-dashoffset:0!important;animation:none!important}
@media (prefers-reduced-motion:no-preference){
  .hero-route,.close-route,.page-route{animation:routeIn 1.8s .2s var(--ease) both}
}
@keyframes routeIn{from{clip-path:inset(0 100% 0 0)}to{clip-path:inset(0 0 0 0)}}
