/* =====================================================================
   MARROW, THE MARROW2026 PAGE.  2026/o26.css
   The page's own rules on top of the public system (assets/public/public.css),
   2026-10-09, the public rollout lane 1 (design-canon/public-rollout-plan-
   20261008.md section 3.7). Every rule hangs off #main. Colours only through
   the --hy-* and css/styles.css tokens, no hex. The light in this design comes
   from the shared sheet; this sheet adds no gradient, no shadow and no filter.
   The old stage rules in assets/css/offer.css are scoped to main.o26, which
   this page no longer carries, so only the shared clock rules reach it.
   Motion: only opacity, transform and stroke-dashoffset, once, under
   html.pub-armed; reduced motion and Pause motion show the rest state, which
   is what the base rules draw. No em or en dashes.
   ===================================================================== */

/* ---------- 1. The hero and the pass ---------- */
#main .o26-hero-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); }
#main .pub-hero p.o26-sub { margin: 0; font-size: 18px; line-height: 1.5; max-width: 50ch; color: var(--hy-ink); }
#main .o26-pass { justify-self: end; width: 100%; max-width: 440px; padding: 28px; border-radius: 24px; background: var(--hy-card); border: 1px solid var(--hy-hairline); color: var(--hy-ink); display: flex; flex-direction: column; }
#main .o26-pass p { margin: 0; }
#main .o26-pass .mono { font-size: 11px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--hy-muted); }
#main .o26-pass-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; }
#main .o26-copybtn { display: inline-flex; align-items: center; justify-content: center; min-height: 36px; min-width: 64px; padding: 0 16px; border-radius: 999px; background: none; border: 1px solid var(--hy-edge); color: var(--hy-ink); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; cursor: pointer; transition: border-color 160ms ease; }
#main .o26-copybtn[hidden] { display: none; }
#main .o26-copybtn:hover { border-color: var(--hy-aqua-hi); }
#main .o26-code { position: relative; align-self: flex-start; margin: 12px 0 24px; padding: 12px 22px; border-radius: 999px; border: 1px solid var(--color-pure-white); font-family: var(--mono); font-weight: 500; font-size: clamp(22px, 2.2vw, 28px); line-height: 1.2; letter-spacing: 0.16em; color: var(--hy-ink); }
/* The ring that opens around the code once, on load, then rests unseen. */
#main .o26-code::after { content: ""; position: absolute; inset: -1px; border-radius: inherit; border: 1px solid var(--hy-aqua-hi); opacity: 0; pointer-events: none; }
#main .o26-tear { height: 0; margin: 0 -28px 22px; border-top: 1px dashed var(--hy-hairline); }
#main .o26-pass .o-clock { margin-top: 14px; justify-content: space-between; gap: 4px; }
#main .o26-pass .o-unit { flex: 1 1 0; }
#main .o26-pass .o-num { font-size: clamp(44px, 4.6vw, 60px); color: var(--hy-ink); }
#main .o26-pass .o-sep { font-size: clamp(36px, 3.8vw, 50px); color: var(--hy-muted); padding-top: 2px; }
#main .o26-pass .o-lab { color: var(--hy-muted); }
#main .o26-pass .o-clock-text { margin-top: 14px; font-size: 15px; color: var(--hy-ink); }
#main .o26-pass p.o26-pass-foot { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--hy-hairline); font-size: 13px; line-height: 1.55; color: var(--hy-muted); }

/* ---------- 2. The calendar: the months left in 2026, then January 1 ---------- */
#main > .o26-burn.dialed-band { padding-block: 96px; }
#main .o26-burn-head { margin-bottom: 36px; }
#main .o26-cal { margin: 0; padding: 0; border: 0; border-radius: 0; background: none; display: grid; grid-template-columns: repeat(var(--count, 3), minmax(0, 1fr)) minmax(0, 1.3fr); column-gap: 12px; row-gap: 16px; }
#main .o26-months { display: contents; list-style: none; }
#main .o26-m { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; min-height: 148px; padding: 18px 18px 16px; border-radius: 16px; background: var(--hy-sunk); border: 1px solid var(--hy-hairline); }
#main .o26-m[hidden] { display: none; }
#main .o26-m > :not(.o26-fill) { position: relative; z-index: 1; }
#main .o26-m .mono { font-size: 12px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--hy-ink); }
#main .o26-m b { font-family: var(--serif); font-weight: 400; font-size: 44px; line-height: 1; letter-spacing: -0.02em; color: var(--hy-aqua-hi); font-variant-numeric: tabular-nums lining-nums; }
/* The aqua wash a free month takes. */
#main .o26-fill { position: absolute; inset: 0; z-index: 0; background: var(--hy-edge); transform-origin: 0 50%; }
#main .o26-m.is-now { border-color: var(--hy-edge); }
#main .o26-jan { display: flex; flex-direction: column; justify-content: space-between; gap: 18px; min-height: 148px; padding: 18px 20px 16px; border-radius: 16px; background: var(--hy-card); border: 1px solid var(--color-pure-white); }
#main .o26-jan .mono { font-size: 12px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--hy-ink); }
#main .o26-jan b { font-family: var(--serif); font-weight: 400; font-size: 24px; line-height: 1.15; color: var(--hy-ink); }
/* The line under the free months, and the white end dot where it lands. */
#main .o26-track { position: relative; grid-row: 2; grid-column: 1 / -2; height: 4px; margin-right: -6px; border-radius: 999px; background: var(--hy-edge); }
#main .o26-track-fill { position: absolute; inset: 0; border-radius: inherit; background: var(--hy-aqua-hi); transform-origin: 0 50%; }
#main .o26-end { position: absolute; right: -6px; top: 50%; width: 14px; height: 14px; margin-top: -7px; border-radius: 50%; background: var(--color-pure-white); border: 3px solid var(--hy-ground); }
#main .dialed-band p.o26-burn-days { margin: 28px 0 0; text-wrap: balance; font-size: 12px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--hy-aqua-hi); }
#main .o26-burn-days[hidden] { display: none; }
#main .o26-burn-days b { font-weight: 500; color: var(--hy-ink); }

/* ---------- 3. The plans, on the lit panel set into the paper ---------- */
#main > .pub-light.o26-plans { padding-block: 96px; }
#main .o26-plans .o26-plans-head .pub-eyebrow { color: var(--hy-aqua-hi); }
#main .o26-plans .o26-plans-head .pub-h2 { color: var(--hy-ink); }
#main .o26-plans .o26-plans-head .pub-h2 em { color: var(--hy-aqua-hi); }
@media (min-width: 768px) { #main .o26-plans .o26-plans-head { margin-bottom: 44px; } }
#main .o26-lit :focus-visible { outline: 2px solid var(--mz-ember); outline-offset: 2px; }
#main .o26-lit .pub-tier-n { margin: 0 0 8px; font-size: 12px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--hy-aqua-hi); }
#main .o26-lit p.pub-tier-for { margin: 0 0 18px; font-size: 15px; line-height: 1.5; color: var(--hy-muted); }
#main .o26-lit p.pub-tier-p { margin: 0 0 8px; display: flex; align-items: baseline; gap: 10px; color: var(--hy-ink); }
#main .o26-lit .pub-tier-p .pub-door-amt { font-size: 64px; color: var(--hy-aqua-hi); }
#main .o26-lit p.o26-after { margin: 0 0 22px; font-size: 15px; color: var(--hy-ink); }
#main .o26-body { margin: 0 0 24px; padding-top: 22px; border-top: 1px solid var(--hy-hairline); min-width: 0; }
#main .o26-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
#main .o26-list li { position: relative; padding-left: 26px; font-size: 15px; line-height: 1.45; color: var(--hy-ink); }
#main .o26-list li::before { content: ""; position: absolute; left: 2px; top: 5px; width: 10px; height: 5px; border-left: 2px solid var(--hy-aqua-hi); border-bottom: 2px solid var(--hy-aqua-hi); transform: rotate(-45deg); }
#main .o26-body .pub-rider { margin: 16px 0 0; }
#main .o26-lit .pub-rider .pub-chip-link { color: var(--hy-aqua-hi); font-size: 11px; letter-spacing: 0.08em; }
/* The two notes under the panel: the gym setup and the fee. */
#main .o26-notes { margin-top: 28px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
#main .o26-fee { margin: 0; display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 14px; align-items: start; padding: 22px 24px; border-radius: 16px; background: var(--paper-card); border: 1px solid var(--rule-soft); font-size: 15px; line-height: 1.6; color: var(--ink-secondary); }
#main .o26-fee svg { width: 22px; height: 22px; stroke: var(--marrow-accent); margin-top: 1px; }

/* ---------- 3b. The clip, under the plans on the same paper ---------- */
/* The plans band above already carries 96px below it, so the clip only pads
   its own bottom. The box keeps the cut's shape before metadata arrives, so
   nothing below jumps: wide above 700px, vertical at or below, the same
   breakpoint the <source media> uses. There is one poster and it is wide, so
   at phone width it letterboxes; the box takes the clip's flat teal ground so
   the bars read as part of the frame, not a grey slab (flat, because the
   no-gradient guards allow gradients only in the sky layer). cover was
   tried and clips the headline. */
#main > .pub-light.o26-clip { padding-block: 0 96px; }
#main > .o26-clip[hidden] { display: none; }
#main .o26-clip .offer-clip { margin: 0 auto; }
#main .o26-clip .offer-clip video { aspect-ratio: 16 / 9; object-fit: contain; background-color: var(--hy-ground); }
@media (max-width: 700px) { #main .o26-clip .offer-clip video { aspect-ratio: 9 / 16; } }
#main .o26-fee strong { color: var(--ink-primary); font-weight: 600; }
#main .o26-fee a { color: var(--marrow-accent); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- 4. Live in five steps ---------- */
#main .o26-rail { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 20px; }
#main .o26-step { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 40px; align-items: center; padding: 28px; border-radius: 20px; background: var(--hy-sunk); border: 1px solid var(--hy-hairline); }
#main .o26-step-copy { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 20px; align-items: start; }
#main .o26-step-num { position: relative; display: block; width: 56px; height: 56px; border: 0; border-radius: 0; }
#main .o26-step-num svg { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; }
#main .o26-tick-ring { stroke: var(--hy-teal); stroke-width: 2; }
#main .o26-tick { stroke: var(--hy-aqua-hi); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
#main .o26-step-num b { position: absolute; left: 0; right: 0; bottom: -22px; text-align: center; font-size: 11px; font-weight: 500; letter-spacing: 0.12em; color: var(--hy-muted); }
#main .o26-step h3 { margin: 6px 0 8px; font-family: var(--serif); font-weight: 400; font-size: 24px; line-height: 1.2; color: var(--hy-ink); }
#main .dialed-band .o26-step p { margin: 0; font-size: 16px; line-height: 1.55; color: var(--hy-muted); }
#main .o26-shot.pub-console { justify-self: end; max-width: 640px; }
#main .o26-shot .pub-console-bar span { margin: 0; color: var(--hy-muted); font-size: 11px; letter-spacing: 0.12em; }
#main .o26-shot picture, #main .o26-shot img { display: block; width: 100%; height: auto; }
/* The checkout step, drawn: what Stripe shows on the day you join. */
#main .o26-shot .o26-mini-bill { padding: 22px 26px 26px; display: grid; gap: 0; background: var(--hy-card); }
#main .o26-shot .o26-mini-line { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--hy-hairline); font-size: 14px; color: var(--hy-muted); }
#main .o26-shot .o26-mini-line b { font-weight: 500; color: var(--hy-ink); font-variant-numeric: tabular-nums; text-align: right; }
#main .o26-shot .o26-mini-line b.is-ok { color: var(--hy-aqua-hi); }
#main .o26-shot .o26-mini-line.is-big b { font-family: var(--serif); font-weight: 400; font-size: 34px; line-height: 1; }
#main .o26-shot .o26-mini-card-row { display: grid; grid-template-columns: 1fr 110px; gap: 8px; margin-top: 14px; }
#main .o26-shot .o26-mini-field { display: flex; align-items: center; height: 40px; padding: 0 12px; border: 1px solid var(--hy-hairline); border-radius: 8px; background: var(--hy-sunk); font-size: 13px; color: var(--hy-muted); }
#main .o26-shot .o26-mini-btn { display: flex; align-items: center; justify-content: center; height: 44px; margin-top: 12px; border-radius: 999px; background: var(--color-pure-white); color: var(--hy-ground); font-size: 14px; font-weight: 500; }

/* ---------- 5. Questions, on paper: one card each, opened in place ---------- */
#main .o26-faq-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 64px; align-items: start; }
#main .o26-faq-head { position: sticky; top: 112px; margin-bottom: 0; }
#main .o26-faq-list { display: flex; flex-direction: column; gap: 12px; }
#main .o26-q { border-radius: 16px; background: var(--paper-card); border: 1px solid var(--rule-soft); transition: border-color 200ms ease; }
#main .o26-q[open] { border-color: color-mix(in srgb, var(--marrow-accent) 45%, var(--rule-soft)); }
#main .o26-q > summary { display: grid; grid-template-columns: minmax(0, 1fr) 28px; align-items: center; gap: 16px; min-height: 68px; padding: 16px 22px; cursor: pointer; list-style: none; border-radius: 16px; color: var(--ink-primary); font-family: var(--serif); font-weight: 400; font-size: 20px; line-height: 1.3; }
#main .o26-q > summary::-webkit-details-marker { display: none; }
#main .o26-q > summary:focus-visible { outline: 2px solid var(--mz-ember); outline-offset: 2px; }
#main .o26-plus { position: relative; display: block; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--rule-soft); color: var(--marrow-accent); }
#main .o26-plus::before, #main .o26-plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.5px; margin: -0.75px 0 0 -5.5px; background: currentColor; transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1); }
#main .o26-plus::after { transform: rotate(90deg); }
#main .o26-q[open] .o26-plus::after { transform: rotate(0deg); }
#main .o26-q > p { margin: 0; padding: 0 22px 22px; font-size: 16px; line-height: 1.6; color: var(--ink-secondary); max-width: 62ch; }
#main .o26-q > p a { color: var(--marrow-accent); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- 6. The close ---------- */
#main .o26-closing .pub-close-sub { max-width: 52ch; }

/* ---------- Phone first ---------- */
@media (max-width: 1023px) {
  #main .o26-hero-grid { grid-template-columns: minmax(0, 1fr); }
  #main .o26-pass { justify-self: stretch; max-width: none; order: 2; }
  #main .o26-step { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  #main .o26-shot.pub-console { justify-self: stretch; max-width: none; }
  #main .o26-faq-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  #main .o26-faq-head { position: static; }
  #main .o26-notes { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 767px) {
  #main .pub-hero p.o26-sub { font-size: 17px; }
  #main .o26-pass { padding: 22px; }
  #main .o26-tear { margin-inline: -22px; }
  #main > .o26-burn.dialed-band, #main > .pub-light.o26-plans { padding-block: 64px; }
  #main .o26-cal { grid-template-columns: repeat(var(--count, 3), minmax(0, 1fr)); column-gap: 8px; }
  #main .o26-m { min-height: 112px; padding: 14px 12px 12px; gap: 12px; }
  #main .o26-m b { font-size: 34px; }
  #main .o26-track { grid-column: 1 / -1; margin-right: 0; }
  #main .o26-end { right: 0; }
  #main .o26-jan { grid-row: 3; grid-column: 1 / -1; min-height: 0; flex-direction: row; align-items: baseline; justify-content: space-between; }
  #main .o26-jan b { font-size: 20px; text-align: right; }
  #main .o26-lit .pub-tier-p .pub-door-amt { font-size: 56px; }
  #main .o26-step { padding: 20px; }
  #main .o26-step-copy { grid-template-columns: 48px minmax(0, 1fr); gap: 16px; }
  #main .o26-step-num { width: 48px; height: 48px; }
  #main .o26-step h3 { font-size: 21px; }
  #main .o26-fee { padding: 18px; grid-template-columns: 20px minmax(0, 1fr); gap: 12px; }
  #main .o26-q > summary { font-size: 18px; padding: 14px 16px; min-height: 64px; }
  #main .o26-q > p { padding: 0 16px 18px; }
}

/* =====================================================================
   MOTION. Runs only when the visitor allows it; the base rules above are the rest state.
   ===================================================================== */
@media (prefers-reduced-motion: no-preference) {
  /* The code: the pass rises with the copy, then a ring opens once around the code. */
  .pub-armed #main .o26-code::after { animation: o26-kf-ping 1400ms cubic-bezier(0.22, 1, 0.36, 1) 900ms both; }
  .pub-armed #main .o26-code { animation: o26-kf-set 900ms cubic-bezier(0.22, 1, 0.36, 1) 700ms both; }
  /* The calendar: each free month fills, 120ms apart, then the line lands on January 1. */
  .pub-armed #main .o26-cal:not(.is-in) .o26-fill { transform: scaleX(0); }
  .pub-armed #main .o26-cal.is-in .o26-fill { animation: pub-kf-fill 800ms cubic-bezier(0.22, 1, 0.36, 1) both; animation-delay: calc(200ms + var(--n, 0) * 120ms); }
  .pub-armed #main .o26-cal:not(.is-in) .o26-track-fill { transform: scaleX(0); }
  .pub-armed #main .o26-cal.is-in .o26-track-fill { animation: pub-kf-fill calc(700ms + var(--count, 3) * 120ms) cubic-bezier(0.22, 1, 0.36, 1) 200ms both; }
  .pub-armed #main .o26-cal:not(.is-in) .o26-end { opacity: 0; transform: scale(0); }
  .pub-armed #main .o26-cal.is-in .o26-end { animation: pub-kf-pop 500ms cubic-bezier(0.22, 1, 0.36, 1) both; animation-delay: calc(820ms + var(--count, 3) * 120ms); }
  .pub-armed #main .o26-cal:not(.is-in) .o26-jan { opacity: 0; transform: translateY(10px); }
  .pub-armed #main .o26-cal.is-in .o26-jan { animation: pub-kf-rise 700ms cubic-bezier(0.22, 1, 0.36, 1) both; animation-delay: calc(900ms + var(--count, 3) * 120ms); }
  /* The steps: each tick draws in as its step arrives. */
  .pub-armed #main .o26-step:not(.is-in) :is(.o26-tick-ring, .o26-tick) { stroke-dasharray: 1; stroke-dashoffset: 1; }
  .pub-armed #main .o26-step.is-in :is(.o26-tick-ring, .o26-tick) { stroke-dasharray: 1; animation: pub-kf-draw1 900ms cubic-bezier(0.22, 1, 0.36, 1) 200ms both; }
  .pub-armed #main .o26-step.is-in .o26-tick { animation-delay: 700ms; animation-duration: 600ms; }
  .pub-armed #main .o26-step:not(.is-in) .o26-shot { opacity: 0; transform: translateY(16px); }
  .pub-armed #main .o26-step.is-in .o26-shot { animation: pub-kf-rise 820ms cubic-bezier(0.22, 1, 0.36, 1) 160ms both; }
}
@keyframes o26-kf-ping { 0% { opacity: 0.9; transform: scale(1); } 100% { opacity: 0; transform: scale(1.35, 1.9); } }
@keyframes o26-kf-set { from { opacity: 0; transform: scale(0.94); } to { opacity: 1; transform: none; } }
