/* OMNIFIT website — tokens shared with the app (OMNIFIT-MASTER-v6 §7).
   Phone-first. No uppercase anywhere: hierarchy is size, weight, colour. */

:root {
  --canvas: #ecf4fb;
  --surface: #ffffff;
  --surface-2: #f5fafd;
  --ink: #10192a;
  --ink-2: #55677e;
  --ink-3: #8fa0b4;
  --line: #dee8f3;
  --line-2: #ebf2f9;
  --coral: #e4573d;
  --coral-deep: #b93e27;
  --coral-wash: #fdede9;
  --vo2: #e4573d;
  --force: #b8791f;
  --zone2: #1f7a6b;
  --mc: #4a5ba6;
  --r-m: 16px;
  --r-l: 22px;
  --shadow-card: 0 1px 2px rgba(16,25,42,.05), 0 6px 18px -8px rgba(16,25,42,.13);
  --shadow-flat: 0 1px 2px rgba(16,25,42,.05);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "Montserrat", -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--canvas);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: 680px; margin-inline: auto; padding-inline: 22px; }

.num { font-variant-numeric: tabular-nums; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(236,244,251,.88);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-2);
}
.nav-in {
  max-width: 680px; margin-inline: auto; padding: 14px 22px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.wordmark {
  font-size: 17px; font-weight: 800; letter-spacing: -.02em;
  color: var(--ink); text-decoration: none;
}
.wordmark .m { color: var(--coral); }
.nav-links { display: flex; gap: 14px; align-items: center; }
.nav-links a {
  font-size: 12.5px; font-weight: 600; color: var(--ink-2); text-decoration: none;
}
.nav-links a:hover { color: var(--ink); }
.nav-cta {
  font-size: 12.5px; font-weight: 700; color: #fff !important;
  background: var(--coral); border-radius: 100px; padding: 8px 14px;
}
.nav-cta:hover { background: var(--coral-deep); }
@media (max-width: 560px) { .nav-links a:not(.nav-cta) { display: none; } }

/* ---------- type ---------- */
h1 { font-size: clamp(30px, 7.5vw, 44px); font-weight: 800; letter-spacing: -.04em; line-height: 1.08; text-wrap: balance; }
h2 { font-size: clamp(21px, 4.5vw, 27px); font-weight: 700; letter-spacing: -.03em; line-height: 1.18; text-wrap: balance; }
h3 { font-size: 16px; font-weight: 700; letter-spacing: -.02em; }
.lead { font-size: 16px; font-weight: 500; color: var(--ink-2); line-height: 1.6; }
.eyebrow { font-size: 12px; font-weight: 700; color: var(--coral-deep); letter-spacing: .01em; }
p { font-size: 14.5px; color: var(--ink-2); font-weight: 500; }
p strong, li strong { color: var(--ink); font-weight: 600; }

/* ---------- sections ---------- */
section { padding: 52px 0; }
section + section { border-top: 1px solid var(--line-2); }
.sec-head { display: flex; flex-direction: column; gap: 8px; margin-bottom: 26px; }

.hero { padding: 64px 0 56px; }
.hero-stack { display: flex; flex-direction: column; gap: 18px; }
.hero .lead { max-width: 46ch; }
.hero-ctas { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; }

.btn {
  display: inline-block; text-decoration: none; text-align: center;
  background: var(--coral); color: #fff; border: 0; cursor: pointer;
  border-radius: 100px; padding: 15px 26px;
  font-family: inherit; font-size: 15px; font-weight: 700; letter-spacing: -.01em;
  transition: background .13s ease, transform .13s ease;
}
.btn:hover { background: var(--coral-deep); }
.btn:active { transform: scale(.985); }
.btn-quiet {
  display: inline-block; text-decoration: none; text-align: center;
  background: var(--surface); color: var(--ink);
  border: 1px solid var(--line); border-radius: 100px; padding: 15px 26px;
  font-size: 15px; font-weight: 600; letter-spacing: -.01em;
  transition: border-color .13s ease;
}
.btn-quiet:hover { border-color: var(--ink-3); }

.card {
  background: var(--surface); border-radius: var(--r-l);
  padding: 22px; box-shadow: var(--shadow-card);
}
.stack { display: flex; flex-direction: column; gap: 12px; }

/* capacity rows */
.cap-list { display: flex; flex-direction: column; gap: 10px; }
.cap {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--surface); border-radius: var(--r-m);
  padding: 16px 18px; box-shadow: var(--shadow-flat);
}
.cap-dot { flex: 0 0 10px; width: 10px; height: 10px; border-radius: 50%; margin-top: 7px; }
.cap h3 { margin-bottom: 3px; }
.cap p { font-size: 13px; line-height: 1.55; }

/* steps */
.steps { display: flex; flex-direction: column; gap: 10px; }
.step {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--surface); border-radius: var(--r-m);
  padding: 16px 18px; box-shadow: var(--shadow-flat);
}
.step-n {
  flex: 0 0 26px; width: 26px; height: 26px; border-radius: 50%;
  background: var(--ink); color: #fff;
  font-size: 12.5px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; margin-top: 1px;
}
.step h3 { margin-bottom: 3px; }
.step p { font-size: 13px; line-height: 1.55; }

/* faq */
.faq { display: flex; flex-direction: column; gap: 8px; }
.faq details {
  background: var(--surface); border-radius: var(--r-m);
  box-shadow: var(--shadow-flat); overflow: hidden;
}
.faq summary {
  cursor: pointer; list-style: none; padding: 16px 18px;
  font-size: 14px; font-weight: 600; letter-spacing: -.01em;
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 600; color: var(--ink-3); font-size: 17px; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 18px 16px; font-size: 13.5px; line-height: 1.6; }

/* guide banner */
.guide {
  background: var(--ink); border-radius: var(--r-l); padding: 26px 24px;
  display: flex; flex-direction: column; gap: 10px;
}
.guide h2 { color: #fff; }
.guide p { color: rgba(255,255,255,.72); font-size: 14px; }
.guide .btn { align-self: flex-start; margin-top: 6px; }

/* footer */
footer { border-top: 1px solid var(--line-2); padding: 34px 0 46px; }
.foot {
  display: flex; flex-direction: column; gap: 8px;
}
.foot p { font-size: 12px; color: var(--ink-3); }
.foot a { color: var(--ink-2); text-decoration: none; font-weight: 600; }

/* ---------- quiz ---------- */
.quiz-card { background: var(--surface); border-radius: var(--r-l); padding: 24px 22px; box-shadow: var(--shadow-card); }
.q-progress { display: flex; gap: 5px; margin-bottom: 22px; }
.q-progress span { flex: 1; height: 3px; border-radius: 100px; background: var(--line); }
.q-progress span.on { background: var(--coral); }
.q-text { font-size: 19px; font-weight: 700; letter-spacing: -.025em; line-height: 1.25; margin-bottom: 6px; text-wrap: balance; }
.q-sub { font-size: 13px; color: var(--ink-2); font-weight: 500; margin-bottom: 18px; }
.q-opts { display: flex; flex-direction: column; gap: 8px; }
.q-opt {
  text-align: start; font-family: inherit; cursor: pointer;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-m); padding: 15px 17px;
  font-size: 14px; font-weight: 600; color: var(--ink); letter-spacing: -.01em;
  line-height: 1.4; transition: border-color .12s ease, background .12s ease;
}
.q-opt:hover { border-color: var(--ink-3); }

.r-bars { display: flex; flex-direction: column; gap: 13px; margin: 20px 0 4px; }
.r-row { display: flex; align-items: center; gap: 10px; }
.r-name { flex: 0 0 118px; font-size: 12.5px; font-weight: 600; letter-spacing: -.01em; }
.r-track { flex: 1; height: 8px; border-radius: 100px; background: var(--surface-2); overflow: hidden; }
.r-fill { display: block; height: 100%; border-radius: 100px; width: 0; transition: width .9s cubic-bezier(.2,.7,.3,1); }
.r-band { flex: 0 0 86px; text-align: end; font-size: 11.5px; font-weight: 600; color: var(--ink-3); }

.r-focus {
  margin-top: 18px; background: var(--coral-wash); border-radius: var(--r-m);
  padding: 16px 18px;
}
.r-focus h3 { color: var(--coral-deep); margin-bottom: 4px; }
.r-focus p { font-size: 13.5px; line-height: 1.6; }
.r-note { margin-top: 14px; font-size: 12px; color: var(--ink-3); line-height: 1.55; }
.r-ctas { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }

/* learn / workout pages */
.prose { display: flex; flex-direction: column; gap: 14px; }
.prose p { font-size: 14.5px; line-height: 1.7; }
.prose h2 { margin-top: 18px; }
.prose ul { padding-inline-start: 20px; display: flex; flex-direction: column; gap: 6px; }
.prose li { font-size: 14px; color: var(--ink-2); font-weight: 500; line-height: 1.6; }

.wod {
  background: var(--surface); border-radius: var(--r-l); padding: 22px;
  box-shadow: var(--shadow-card); display: flex; flex-direction: column; gap: 4px;
}
.wod-tag {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 6px;
  font-size: 11.5px; font-weight: 600; color: var(--ink-2);
  background: var(--surface-2); border-radius: 100px; padding: 5px 11px; margin-bottom: 8px;
}
.wod-tag i { width: 7px; height: 7px; border-radius: 50%; background: var(--vo2); display: inline-block; }
.wod h2 { margin-bottom: 2px; }
.wod-why { font-size: 13.5px; margin-bottom: 14px; }
.wod-block { border-top: 1px solid var(--line-2); padding: 11px 0; display: flex; gap: 12px; }
.wod-block b { flex: 0 0 56px; font-size: 11.5px; font-weight: 700; color: var(--ink-3); padding-top: 2px; }
.wod-block div { flex: 1; }
.wod-block p { font-size: 13.5px; }
.wod-block .mins { font-size: 11.5px; color: var(--ink-3); font-weight: 600; }

/* Result bars: at 375px a three-column row leaves no room for the track,
   so name goes above and the bar shares its line with the band. */
@media (max-width: 460px) {
  .r-row {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas: "name name" "track band";
    gap: 5px 10px;
    align-items: center;
  }
  .r-name { grid-area: name; flex: none; font-size: 13px; }
  .r-track { grid-area: track; }
  .r-band { grid-area: band; flex: none; white-space: nowrap; }
  .r-bars { gap: 16px; }
}

/* ---------------------------------------------------------------- figures
   Illustrations here have to earn their place: each one carries an idea the
   prose would need a paragraph to make, and none of them are stock imagery.
   All inline SVG — the site deploys over FTP as static files, so there is no
   asset pipeline and nothing external to fetch. */
.fig { margin: 30px 0 0; }
.fig-svg {
  display: block; width: 100%; height: auto;
  background: var(--surface); border-radius: var(--r-l);
  box-shadow: var(--shadow-card); padding: 8px 4px;
}
.fig figcaption {
  margin-top: 12px; font-size: 13px; line-height: 1.6; color: var(--ink-2);
  max-width: 58ch;
}
.fig figcaption em { color: var(--ink-3); font-style: normal; }
.fig-label { font-size: 15px; font-weight: 700; letter-spacing: -.01em; }
.fig-note  { font-size: 12px; font-weight: 600; fill: var(--ink-3); }
.fig-axis  { font-size: 12px; font-weight: 600; fill: var(--ink-3); }

/* The five-version diagram on the workouts page. */
.fanout { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(128px, 1fr)); margin-top: 18px; }
.fan-card {
  background: var(--surface); border-radius: var(--r-m); padding: 14px 15px;
  box-shadow: var(--shadow-card); border-top: 3px solid var(--line);
}
.fan-card[data-key="wellness"] { border-top-color: var(--zone2); }
.fan-card[data-key="fitness"]  { border-top-color: var(--vo2); }
.fan-card[data-key="minimal"]  { border-top-color: var(--force); }
.fan-card[data-key="none"]     { border-top-color: var(--mc); }
.fan-card[data-key="mini"]     { border-top-color: var(--ink-3); }
.fan-card h4 { margin: 0 0 4px; font-size: 13.5px; font-weight: 700; letter-spacing: -.015em; }
.fan-card p  { margin: 0; font-size: 12px; line-height: 1.5; color: var(--ink-2); }
.fan-lead { margin: 0; font-size: 14.5px; font-weight: 600; color: var(--ink); }

/* The decathlon panel — Attia's framing, our list. Deliberately plain: these are
   sentences a person recognises, and dressing them up would weaken them. */
.lead-2 { font-size: 15.5px; line-height: 1.65; color: var(--ink-2); max-width: 60ch; margin: 0 0 22px; }
.tasks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px;
         grid-template-columns: repeat(auto-fit, minmax(248px, 1fr)); }
.task { background: var(--surface); border-radius: var(--r-m); padding: 14px 16px;
        box-shadow: var(--shadow-card); display: flex; flex-direction: column; gap: 4px; }
.task-t { font-size: 14px; font-weight: 600; letter-spacing: -.015em; color: var(--ink); line-height: 1.35; }
.task-c { font-size: 11px; font-weight: 700; color: var(--ink-3); text-transform: uppercase; letter-spacing: .05em; }
.credit { margin: 20px 0 0; font-size: 12.5px; line-height: 1.6; color: var(--ink-3); max-width: 62ch; }

/* The adaptation model. Deliberately HTML rather than SVG: nine labels across a
   fixed viewBox scale down to ~6px text on a phone, and an illustration nobody
   can read is worse than none. HTML wraps; SVG cannot. */
.model { margin-top: 30px; }
.model-h { font-size: 15px; font-weight: 700; letter-spacing: -.02em; margin: 26px 0 6px; }
.model-h:first-child { margin-top: 0; }
.model-p { font-size: 13.5px; line-height: 1.6; color: var(--ink-2); margin: 0 0 14px; max-width: 60ch; }
.adapt { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; counter-reset: a; }
.adapt li {
  font-size: 12.5px; font-weight: 600; color: var(--ink);
  background: var(--surface); border-radius: 100px; padding: 8px 13px;
  box-shadow: var(--shadow-card); border-inline-start: 3px solid var(--line);
}
.adapt li[data-g="mc"] { border-inline-start-color: var(--mc); }
.adapt li[data-g="sp"], .adapt li[data-g="sm"] { border-inline-start-color: var(--force); }
.adapt li[data-g="ae"] { border-inline-start-color: var(--vo2); }
.gradient { display: flex; align-items: center; gap: 10px; margin-top: 12px; }
.gradient span { font-size: 11px; font-weight: 700; color: var(--ink-3); white-space: nowrap; }
.gradient i { flex: 1; height: 4px; border-radius: 100px;
  background: linear-gradient(to right, var(--zone2), var(--line), var(--coral)); }
.four { display: grid; gap: 8px; grid-template-columns: repeat(auto-fit, minmax(224px, 1fr)); }
.four-c { background: var(--surface); border-radius: var(--r-m); padding: 14px 16px;
  box-shadow: var(--shadow-card); border-top: 3px solid var(--line);
  display: flex; flex-direction: column; gap: 3px; }
.four-c[data-g="mc"] { border-top-color: var(--mc); }
.four-c[data-g="sp"], .four-c[data-g="sm"] { border-top-color: var(--force); }
.four-c[data-g="ae"] { border-top-color: var(--vo2); }
.four-c b { font-size: 14px; font-weight: 700; letter-spacing: -.015em; }
.four-c span { font-size: 11.5px; font-weight: 500; color: var(--ink-3); }

/* Lead capture. One field and a button — every extra field costs conversions,
   and the only thing actually needed is somewhere to send the link. */
.lead { margin-top: 18px; }
.lead-l { display: block; font-size: 12px; font-weight: 700; color: var(--ink-3); margin-bottom: 7px; }
.lead-row { display: flex; flex-wrap: wrap; gap: 8px; }
.lead-row input {
  flex: 1 1 220px; min-width: 0; border: 1px solid var(--line); border-radius: 100px;
  background: var(--surface); padding: 13px 18px; font: inherit; font-size: 15px;
  font-weight: 500; color: var(--ink);
}
.lead-row input:focus { outline: none; border-color: var(--coral); }
.lead-row .btn { flex: 0 0 auto; }
.lead-note { margin: 10px 2px 0; font-size: 12.5px; line-height: 1.5; color: var(--ink-3); }
.lead-note[data-state="ok"]    { color: var(--zone2); font-weight: 600; }
.lead-note[data-state="error"] { color: var(--coral-deep); font-weight: 600; }
.lead[data-sent="true"] .lead-row { display: none; }

/* ------------------------------------------------------------------- guide
   Long-form reading: a narrower measure, more air, type that stays comfortable
   for fifteen minutes rather than fifteen seconds. */
.g-wrap { max-width: 660px; padding-top: 26px; padding-bottom: 60px; }
.g-head { margin-bottom: 26px; }
.g-title { font-size: clamp(28px, 7vw, 38px); font-weight: 800; letter-spacing: -.04em; line-height: 1.08; margin: 8px 0 12px; text-wrap: balance; }
.g-sub { font-size: 16px; font-weight: 500; color: var(--ink-2); line-height: 1.55; margin: 0; text-wrap: pretty; }

.g-toc { background: var(--surface); border-radius: var(--r-m); padding: 16px 18px; box-shadow: var(--shadow-card); }
.g-toc-l { font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.g-toc ol { list-style: none; margin: 10px 0 0; padding: 0; }
.g-toc a { display: flex; gap: 10px; align-items: baseline; padding: 7px 0; font-size: 14.5px; font-weight: 600; color: var(--ink); text-decoration: none; }
.g-toc a:hover { color: var(--coral-deep); }
.g-toc a span { font-size: 11.5px; font-weight: 700; color: var(--ink-3); min-width: 14px; }

.g-sec { margin-top: 40px; scroll-margin-top: 76px; }
.g-sec h2 { font-size: clamp(20px, 5vw, 24px); font-weight: 700; letter-spacing: -.03em; line-height: 1.2; margin: 0 0 14px; text-wrap: balance; }
.g-sec h3 { font-size: 16px; font-weight: 700; letter-spacing: -.02em; margin: 28px 0 8px; color: var(--coral-deep); }
.g-sec p { font-size: 16px; line-height: 1.72; color: var(--ink-2); margin: 0 0 16px; text-wrap: pretty; }
.g-sec p strong { color: var(--ink); font-weight: 700; }
.g-sec sup { font-size: 10px; font-weight: 700; color: var(--coral); }

.g-sec blockquote { margin: 24px 0; padding-inline-start: 16px; border-inline-start: 3px solid var(--coral); }
.g-sec blockquote p { font-size: 17px; line-height: 1.6; font-style: italic; color: var(--ink); margin: 0 0 8px; }
.g-sec cite { font-size: 12.5px; font-weight: 600; font-style: normal; color: var(--ink-3); }

/* Wide content scrolls in its own box; the page never scrolls sideways. */
.g-tw { margin: 20px 0; overflow-x: auto; }
.g-t { width: 100%; border-collapse: collapse; background: var(--surface); border-radius: var(--r-m); overflow: hidden; box-shadow: var(--shadow-card); }
.g-t th, .g-t td { text-align: start; padding: 12px 14px; vertical-align: top; border-bottom: 1px solid var(--line-2); }
.g-t tr:last-child th, .g-t tr:last-child td { border-bottom: 0; }
.g-t th { font-size: 12.5px; font-weight: 700; color: var(--ink); white-space: nowrap; width: 1%; }
.g-t td { font-size: 13.5px; font-weight: 500; color: var(--ink-2); line-height: 1.5; }
.g-tn { font-size: 12.5px !important; font-style: italic; color: var(--ink-3) !important; line-height: 1.55; margin: 10px 2px 0 !important; }

.g-caveat { font-size: 12.5px !important; font-style: italic; color: var(--ink-3) !important; margin-bottom: 14px !important; }
.g-refs { margin: 0; padding-inline-start: 20px; display: flex; flex-direction: column; gap: 10px; }
.g-refs li { font-size: 12.5px; line-height: 1.6; color: var(--ink-3); }

.g-cta { margin-top: 48px; background: var(--surface); border-radius: var(--r-l); padding: 26px 22px; box-shadow: var(--shadow-card); }
.g-cta h2 { font-size: 21px; font-weight: 700; letter-spacing: -.03em; margin: 0 0 8px; }
.g-cta p { font-size: 15px; line-height: 1.6; color: var(--ink-2); margin: 0 0 18px; }

/* ---------------------------------------------------------- hero + polish
   The first screen is one screen. Anything peeking below the fold competes
   with the headline for the two seconds it gets. */
.hero {
  min-height: calc(100svh - 68px);
  display: flex; flex-direction: column; justify-content: center;
  padding: 32px 0 0;
}
/* Sits outside .wrap, so it needs the page gutter itself or it clips at the edge. */
.cue {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 8px;
  margin: auto auto 26px; padding: 6px 0; text-decoration: none;
  width: min(680px, 100%); padding-inline: 22px;
  color: var(--ink-3); animation: cue-drift 2.4s ease-in-out infinite;
}
.cue:hover { color: var(--coral-deep); }
.cue-t { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
@keyframes cue-drift { 0%,100% { transform: translateY(0) } 50% { transform: translateY(4px) } }
@media (prefers-reduced-motion: reduce) { .cue { animation: none } }

/* Buttons had no line-height, so the label inherited the body's 1.6 and sat
   optically high in the pill. */
.btn, .btn-quiet, .nav-cta { line-height: 1; }
.btn, .btn-quiet { padding: 17px 26px; }

.deeper { margin: 22px 0 0; font-size: 14px; font-weight: 600; }
.deeper a { color: var(--coral-deep); text-decoration: none; }
.deeper a:hover { text-decoration: underline; }

.fig-gain { font-size: 12px; font-weight: 700; fill: var(--coral-deep); }

/* Ten tasks is a long scroll on a phone; two columns halves it. */
@media (min-width: 420px) { .tasks { grid-template-columns: repeat(2, 1fr); } }

/* ------------------------------------------------------------------- menu
   Below 560px the nav links were display:none with nothing in their place,
   so four of five pages had no route in from a phone. */
.burger {
  display: none; position: relative; width: 40px; height: 40px; padding: 0;
  border: 0; background: transparent; cursor: pointer; margin-inline-start: 4px;
}
.burger span {
  position: absolute; left: 9px; width: 22px; height: 2px; border-radius: 2px;
  background: var(--ink); transition: transform .22s var(--ease, ease), opacity .16s ease;
}
.burger span:nth-child(1) { top: 14px; }
.burger span:nth-child(2) { top: 19px; }
.burger span:nth-child(3) { top: 24px; }
.burger.is-open span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* An explicit display beats the UA rule behind the `hidden` attribute, so the
   sheet has to be told to stay shut. Without this it renders permanently open. */
.menu[hidden] { display: none; }
.menu {
  position: fixed; inset: 68px 0 0; z-index: 40;
  background: var(--canvas); padding: 14px 22px calc(30px + env(safe-area-inset-bottom));
  display: flex; flex-direction: column; overflow-y: auto;
  animation: menu-in .18s ease both;
}
@keyframes menu-in { from { opacity: 0; transform: translateY(-6px) } to { opacity: 1; transform: none } }
@media (prefers-reduced-motion: reduce) { .menu { animation: none } }
.menu a {
  padding: 17px 0; font-size: 19px; font-weight: 700; letter-spacing: -.02em;
  color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line-2);
}
.menu a:last-of-type { border-bottom: 0; }
.menu .menu-cta {
  margin-top: 22px; text-align: center; background: var(--coral); color: #fff;
  border-radius: 100px; padding: 17px 24px; font-size: 15px; border-bottom: 0;
}
@media (max-width: 560px) { .burger { display: block; } }

/* ---------------------------------------------------------------- pricing
   Hiding the price reads as evasive, and ₪78 is defensible next to a gym
   membership. Free tier first, because it's the honest lead. */
.tiers { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.tier {
  background: var(--surface); border-radius: var(--r-l); padding: 24px 22px;
  box-shadow: var(--shadow-card); display: flex; flex-direction: column; gap: 4px;
  border: 1px solid transparent;
}
.tier[data-featured="true"] { border-color: var(--coral); }
.tier-name { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.tier-price { font-size: 36px; font-weight: 800; letter-spacing: -.04em; color: var(--ink); line-height: 1.1; }
.tier-price span { font-size: 13px; font-weight: 600; color: var(--ink-3); letter-spacing: 0; margin-inline-start: 7px; }
.tier ul { list-style: none; margin: 14px 0 20px; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.tier li { position: relative; padding-inline-start: 20px; font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.tier li::before {
  content: ""; position: absolute; inset-inline-start: 2px; top: 8px;
  width: 7px; height: 7px; border-radius: 50%; background: var(--coral);
}
.tier .btn, .tier .btn-quiet { margin-top: auto; }
.tier-note { margin: 16px 0 0; font-size: 13px; line-height: 1.6; color: var(--ink-3); max-width: 60ch; }

/* ------------------------------------------------------------- app preview
   Built from the app's own tokens and a real authored session (Threshold
   Fives) rather than photographed. It stays sharp at any density, weighs
   nothing, and can't drift out of date the way a PNG does. */
.phones {
  display: grid; gap: 14px; margin-top: 22px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.phone {
  background: var(--canvas); border: 1px solid var(--line);
  border-radius: 26px; padding: 14px 12px 12px;
  box-shadow: var(--shadow-card); display: flex; flex-direction: column; gap: 10px;
}
.ph-top { display: flex; align-items: center; justify-content: space-between; padding: 0 4px; }
.ph-top span { font-size: 11px; font-weight: 700; color: var(--ink-3); }
.ph-av {
  width: 24px; height: 24px; border-radius: 50%; background: var(--line);
  display: grid; place-items: center; font-size: 11px; font-weight: 700;
  font-style: normal; color: var(--ink-2);
}
.ph-card { background: var(--surface); border-radius: 16px; padding: 14px; box-shadow: var(--shadow-flat); }
.ph-tag {
  display: inline-block; font-size: 10px; font-weight: 700; color: var(--ink-2);
  background: var(--surface-2); border-radius: 100px; padding: 4px 9px;
}
.ph-tag[data-c="vo2"] { color: var(--vo2); }
.ph-card h3 { margin: 9px 0 6px; font-size: 17px; font-weight: 800; letter-spacing: -.03em; }
.ph-card p { margin: 0; font-size: 11.5px; line-height: 1.5; color: var(--ink-2); }
.ph-rows { margin: 12px 0; display: flex; flex-direction: column; gap: 8px; }
.ph-rows div { display: flex; flex-direction: column; gap: 1px; }
.ph-rows b { font-size: 11px; font-weight: 700; }
.ph-rows span { font-size: 10.5px; color: var(--ink-3); line-height: 1.4; }
.ph-btn {
  display: block; text-align: center; background: var(--coral); color: #fff;
  border-radius: 100px; padding: 10px; font-size: 12px; font-weight: 700;
}
.ph-eyebrow { font-size: 10px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-3); }
.ph-level { display: flex; align-items: baseline; gap: 6px; margin: 4px 0 12px; }
.ph-level b { font-size: 40px; font-weight: 800; letter-spacing: -.05em; line-height: 1; }
.ph-level span { font-size: 12px; font-weight: 700; color: var(--ink-3); }
.ph-bars, .ph-bal { display: flex; flex-direction: column; gap: 8px; }
.ph-bars div, .ph-bal div { display: flex; align-items: center; gap: 8px; }
.ph-bars span, .ph-bal span { flex: 0 0 74px; font-size: 10.5px; font-weight: 600; color: var(--ink-2); }
.ph-bars i, .ph-bal i {
  flex: 1; height: 6px; border-radius: 100px; background: var(--surface-2); position: relative;
}
.ph-bars i::after, .ph-bal i::after {
  content: ""; position: absolute; inset-block: 0; inset-inline-start: 0;
  width: var(--w); border-radius: 100px; background: var(--coral);
}
.ph-bal i[data-c="zone2"]::after { background: var(--zone2); }
.ph-bal i[data-c="mc"]::after    { background: var(--mc); }
.ph-bal i[data-c="vo2"]::after   { background: var(--vo2); }
.ph-bal i[data-c="force"]::after { background: var(--force); }
.ph-bars em, .ph-bal em { flex: 0 0 auto; font-size: 10px; font-weight: 700; font-style: normal; color: var(--ink-3); }
.ph-fine { margin: 12px 0 0 !important; font-size: 10.5px !important; color: var(--ink-3) !important; line-height: 1.5; }
.ph-label { text-align: center; font-size: 11px; font-weight: 700; color: var(--ink-3); }
