/* vesofit.com in the Veso Design System, from the H1 phone designs. Tokens are in tokens.css. Motion is CSS and off
   under reduced motion; veso.js only adds the night's scroll-through and the ring's markers, each complete without it. */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--mist); color: var(--ink); font: 400 16px/1.5 var(--font-text); }
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
p { margin: 0; }
.wrap { max-width: 720px; margin: 0 auto; padding: 0 var(--space-4); }
.draft-banner { background: var(--ink); color: var(--on-ink); text-align: center; padding: var(--space-2) var(--space-4);
  font: 400 12px/1.4 var(--font-data); letter-spacing: .04em; }

/* Header */
.top-inner { height: 64px; display: flex; align-items: center; justify-content: space-between; }
.mark { font: 800 24px/1 var(--font-display); letter-spacing: -.02em; text-decoration: none; }
.top nav { display: flex; margin-right: calc(-1 * var(--space-2)); }
.top nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--space-2); text-decoration: none;
  font: 400 12px/1 var(--font-data); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-muted); }
.top nav a[aria-current="page"] { color: var(--ink); text-decoration: underline; text-underline-offset: 6px; }

/* Type */
.label { font: 400 12px/1.3 var(--font-data); letter-spacing: .06em; text-transform: uppercase; }
.label.muted { color: var(--ink-muted); }
.numeral { display: block; margin: 10px 0 0 -6px; font: 800 166px/.8 var(--font-display); letter-spacing: -.07em; }
.numeral small { font-size: 56px; letter-spacing: -.03em; }
.lede { display: block; margin: 10px 4px 0; max-width: 19em; font: 500 17px/1.4 var(--font-text); quotes: "\201C" "\201D"; }
.title { margin: 0; font: 800 28px/1 var(--font-display); letter-spacing: -.03em; text-wrap: balance; }
.headline { margin: 0; font: 800 38px/.95 var(--font-display); letter-spacing: -.04em; text-wrap: balance; }
.lead .headline { font-size: clamp(52px, 13vw, 72px); line-height: .9; }
.small, .fw { color: var(--ink-muted); font-size: 14.5px; line-height: 1.45; }
.fw { font: 400 12px/1.4 var(--font-data); letter-spacing: .02em; }

/* Sections: each opens with a rule and a label row */
.big { padding: var(--space-2) 0 0; }
.lead { padding: var(--space-2) 0 0; display: flex; flex-direction: column; gap: 14px; }
.sec { margin-top: var(--space-8); display: flex; flex-direction: column; gap: 14px; }
.big + .sec { margin-top: var(--space-6); }
.no { display: flex; justify-content: space-between; align-items: center; gap: var(--space-3); border-top: 1.5px solid var(--ink); padding-top: 6px; }

/* Buttons */
.row { display: flex; gap: 10px; flex-wrap: wrap; }
.btn { flex: 1 1 0; min-width: max-content; min-height: 52px; padding: 0 22px; border-radius: var(--radius-button); display: inline-flex;
  align-items: center; justify-content: center; font: 600 16px/1 var(--font-text); text-decoration: none; }
.btn.pri { background: var(--ink); color: var(--on-ink); }
.btn.alt { background: var(--mist-raised); color: var(--ink); }
.sec > .row .btn { flex: 0 1 auto; }

/* Metric tiles */
.tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-2); }
@media (min-width: 640px) { .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.tile { background: var(--mist-raised); border-radius: var(--radius-tile); padding: var(--space-3); min-height: 118px; display: flex;
  flex-direction: column; justify-content: space-between; gap: var(--space-2); }
.tile span { font: 400 11px/1.3 var(--font-data); letter-spacing: .04em; text-transform: uppercase; color: var(--ink-muted); }
.tile b { font: 800 38px/.9 var(--font-display); letter-spacing: -.04em; }
.tile b small { font-size: 18px; letter-spacing: -.02em; }
.tile em { font: normal 400 12.5px/1.3 var(--font-text); color: var(--ink-muted); }

/* Chat */
.chat { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--space-2); }
.chat li { display: flex; flex-direction: column; gap: var(--space-1); }
.chat .who { font: 400 11px/1.3 var(--font-data); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-muted); margin: 6px 4px 0; }
.bub { max-width: 300px; padding: var(--space-3) 14px; border-radius: 18px; font: 400 16px/1.4 var(--font-text); }
.coach .bub { background: var(--mist-raised); border-bottom-left-radius: 6px; }
.you { align-items: flex-end; }
.you .bub { background: var(--ink); color: var(--on-ink); border-bottom-right-radius: 6px; }
.picks { display: flex; gap: var(--space-2); flex-wrap: wrap; }
.picks .chip { height: 44px; font-size: 12px; line-height: 45px; padding: 0 14px; }

/* Chips */
.chip { display: inline-block; height: 28px; padding: 0 10px; border-radius: var(--radius-pill); white-space: nowrap;
  font: 400 11.5px/29px var(--font-data); letter-spacing: .04em; text-transform: uppercase; }
.chip.solid { background: var(--ink); color: var(--on-ink); }
.chip.line { box-shadow: inset 0 0 0 1.5px var(--ink); color: var(--ink); }
.chip.dash { border: 1.5px dashed var(--ink-muted); line-height: 26px; color: var(--ink-muted); }

/* List rows and readouts */
.list { margin: 0; padding: 0; list-style: none; }
.list li { display: flex; justify-content: space-between; align-items: center; gap: var(--space-3); min-height: 56px; border-bottom: 1px solid var(--hairline); }
.list li:first-child { border-top: 1px solid var(--hairline); }
.list li > b { font: 600 16px/1.25 var(--font-text); }
.list li > span { font: 400 12px/1.3 var(--font-data); color: var(--ink-muted); letter-spacing: .02em; text-align: right; }
.readouts { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: var(--space-3); font: 400 12px/1.3 var(--font-data); }
.readouts li { display: grid; grid-template-columns: 10em 1fr; gap: var(--space-3); border-top: 1.5px solid var(--ink); padding-top: 5px; }
.readouts li span { color: var(--ink-muted); text-align: right; }

/* The home page: the C3a hero (numeral, a photo strip with readouts, the dark panel), then three steps */
.hero { display: flex; flex-direction: column; gap: var(--space-6); }
.strip { display: grid; grid-template-columns: 160px 1fr; gap: var(--space-2); }
.strip .photo { height: 170px; object-fit: contain; padding: var(--space-2); background: var(--mist-raised); }
.strip .readouts { justify-content: space-between; }
.strip .readouts li, .readouts.two li { display: block; }
.strip .readouts li span, .readouts.two li span { display: block; text-align: left; }
.readouts.two { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3) var(--space-2); }
.panel.hero-panel { border-radius: var(--radius-panel); margin: 0 calc(-1 * var(--space-2)); }
.hero-panel .headline { font-size: clamp(38px, 10vw, 52px); }
.verdict { background: var(--mist-raised); border-radius: 20px; padding: 14px var(--space-4) var(--space-4); }
.verdict-head { display: flex; justify-content: space-between; font: 400 11.5px/1.3 var(--font-data); letter-spacing: .06em;
  text-transform: uppercase; color: var(--ink-muted); }
.figs { list-style: none; margin: var(--space-2) 0 0; padding: 0; display: flex; gap: 18px; flex-wrap: wrap; }
.figs li { display: flex; flex-direction: column; }
.figs b { font: 800 40px/.95 var(--font-display); letter-spacing: -.04em; }
.figs span { font-size: 12px; color: var(--ink-muted); }
.verdict q { display: block; margin-top: 10px; font: 500 16px/1.4 var(--font-text); quotes: "\201C" "\201D"; }
.shelf-picks li a { display: flex; flex-direction: column; justify-content: center; gap: 2px; min-height: 56px; padding: var(--space-2) 0; text-decoration: none; }
.shelf-picks li a:hover b { text-decoration: underline; }
.shelf-picks b { font: 600 16px/1.25 var(--font-text); }
.shelf-picks span { font: 400 12px/1.3 var(--font-data); color: var(--ink-muted); letter-spacing: .02em; }
.princ > div h3 { margin: 0 0 6px; font: 800 28px/1 var(--font-display); letter-spacing: -.03em; text-wrap: balance; }
.princ { gap: var(--space-5); }

/* The ring page */
.photo { display: block; width: 100%; height: auto; border-radius: var(--radius-photo); }
.shot { height: 300px; object-fit: contain; padding: var(--space-4); background: var(--mist-raised); }
.rings li { flex-direction: column; align-items: stretch; gap: 6px; padding: 14px 0; }
.ring-top { display: flex; justify-content: space-between; align-items: center; gap: var(--space-3); }
.ring-top a { font: 600 18px/1.2 var(--font-text); text-decoration: none; }
.ring-top a:hover { text-decoration: underline; }
.rings li p { font-size: 14.5px; line-height: 1.45; color: var(--ink-muted); }
.key { display: flex; flex-direction: column; gap: var(--space-2); }
.key p { display: flex; gap: 10px; align-items: center; font-size: 14.5px; line-height: 1.4; color: var(--ink-muted); }

/* Reveal cards: a <details> that works without JS (the design system's vs-more) */
.mores { display: flex; flex-direction: column; }
.more { border-top: 1.5px solid var(--ink); }
.more summary { display: flex; justify-content: space-between; align-items: center; gap: var(--space-3); min-height: 52px; padding: var(--space-2) 0;
  list-style: none; cursor: pointer; font: 600 16px/1.3 var(--font-text); }
.more summary::-webkit-details-marker { display: none; }
.more summary .at { display: inline-block; min-width: 3.8em; font: 400 12px/1 var(--font-data); letter-spacing: .04em; color: var(--ink-muted); }
.more p { margin: 0 0 14px; }
.more[open] .chev { transform: rotate(180deg); }
.chev { flex: none; }

/* A night, replayed: the whole night drawn, then (with veso.js) a scroll-through with a running clock */
.night-fig { margin: 0; padding: 14px 14px var(--space-3); background: var(--mist-raised); border-radius: var(--radius-tile);
  display: flex; flex-direction: column; gap: 10px; view-timeline: --night; }
.night-now { display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-3); flex-wrap: wrap; }
.night-now .clock { font: 800 44px/.9 var(--font-display); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.night-now .now { font: 400 12px/1.3 var(--font-data); letter-spacing: .04em; text-transform: uppercase; color: var(--ink-muted); }
.night-svg { display: block; width: 100%; height: auto; overflow: visible; }
.night-svg .k, .night-svg .lane { font: 400 8.5px var(--font-data); letter-spacing: .04em; text-transform: uppercase; fill: var(--ink-muted); }
.night-svg .lane { font-size: 8px; text-transform: none; }
.night-svg .r { text-anchor: end; }
.night-svg .c { text-anchor: middle; }
.night-svg .grid { fill: none; stroke: var(--hairline); stroke-width: .6; }
.night-svg .line { fill: none; stroke: var(--ink); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.night-svg .dot { fill: var(--ink); }
.night-svg .cursor { stroke: var(--ink); stroke-width: .8; opacity: 0; }
.night-q:empty { display: none; }
.night-q { font-size: 15px; line-height: 1.4; }
.night-q b { display: block; margin-bottom: 2px; font: 800 20px/1.1 var(--font-display); letter-spacing: -.02em; }
.scrub .night-run { height: 300vh; height: 300svh; }
.scrub .night-fig { position: sticky; top: var(--space-3); }
.scrub .night-svg .cursor { opacity: .45; }
.scrub .night-q { display: block; min-height: 5.6em; }
.scrub figcaption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* The ring, up close: numbered markers on our photo; with veso.js a tap shows the reading on the photo */
.closeup-fig { position: relative; background: var(--mist-raised); border-radius: var(--radius-photo); }
.closeup-fig .photo { aspect-ratio: 1; object-fit: contain; }
.pins { position: absolute; inset: 0; width: 100%; height: 100%; }
.pins .hit { fill: transparent; stroke: none; }
.pins circle:not(.hit) { fill: var(--ink); stroke: var(--mist-raised); stroke-width: .8; }
.pins text { font: 400 4.4px var(--font-data); fill: var(--on-ink); text-anchor: middle; pointer-events: none; }
.pins a { outline: none; }
.pins a:focus-visible circle:not(.hit) { stroke: var(--focus); stroke-width: 1.4; }
.pins a[aria-current] circle:not(.hit) { fill: var(--mist-raised); stroke: var(--ink); stroke-width: 1.2; }
.pins a[aria-current] text { fill: var(--ink); }
.closeup-read { position: absolute; left: 10px; top: 10px; max-width: calc(100% - 20px); padding: 8px var(--space-3); border-radius: var(--radius-button);
  background: var(--panel); color: var(--on-panel); font: 400 12px/1.35 var(--font-data); letter-spacing: .02em; }
.closeup-read:empty { display: none; }

/* Notes: the date row, the short answer, a chart of readings, bullets, what's pending and the ring on the Shelf */
.meta { display: flex; justify-content: space-between; align-items: center; gap: var(--space-3); }
.note .lead .headline { font-size: clamp(40px, 11vw, 56px); line-height: .92; }
.answer { margin-top: var(--space-6); background: var(--mist-raised); border-radius: var(--radius-panel); padding: var(--space-4) var(--space-4) 18px;
  display: flex; flex-direction: column; gap: 10px; }
.answer .numeral { margin: 4px 0 0 -4px; font-size: 120px; }
.answer .numeral small { font-size: 44px; }
.answer .body { font-weight: 500; }
.chart { display: block; width: 100%; height: auto; overflow: visible; }
.chart text { font: 400 11px var(--font-data); fill: var(--ink-muted); letter-spacing: .02em; }
.chart text.v { fill: var(--ink); }
.chart text.r { text-anchor: end; }
.chart .grid { stroke: var(--hairline); stroke-width: 1; }
.chart .line { fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; }
.chart .dot { fill: var(--ink); }
.bul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: var(--space-3); }
.bul li { position: relative; padding-left: 22px; }
.bul li::before { content: ""; position: absolute; left: 0; top: 11px; width: 12px; height: 1.5px; background: var(--ink); }
.bul li strong { font-weight: 600; }
.pending { display: flex; gap: 10px; align-items: flex-start; }
.pending .chip { flex: none; margin-top: -2px; }
.toshelf { background: var(--mist-raised); border-radius: 20px; padding: 6px var(--space-4); }
.toshelf .list li { border: 0; }
.go li a { display: flex; justify-content: space-between; align-items: center; gap: var(--space-3); width: 100%; min-height: 56px;
  padding: 10px 0; text-decoration: none; }
.go li a:hover b { text-decoration: underline; }
.go li a > span { display: flex; flex-direction: column; gap: 2px; }
.go li b { font: 600 16px/1.25 var(--font-text); }
.go li a > span > span { font: 400 12px/1.3 var(--font-data); color: var(--ink-muted); letter-spacing: .02em; }
.go li svg { flex: 0 0 18px; }
.ibtn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2); min-height: 44px; padding: 0 var(--space-4);
  border-radius: var(--radius-pill); border: 0; background: var(--mist-raised); color: var(--ink); font: 600 15px/1 var(--font-text);
  text-decoration: none; cursor: pointer; }
.ibtn[hidden] { display: none; }
.lost .numeral { margin-top: var(--space-2); }

/* /links/: one screen, the monogram, four big links and the profiles */
.hub-page { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; }
.hub-page main { width: 100%; }
.who { padding-top: 28px; display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-3); }
.who .av { width: 64px; height: 64px; }
.av rect { fill: var(--ink); }
.av path { fill: none; stroke: var(--mist); stroke-width: 11.4286; stroke-linecap: round; stroke-linejoin: round; }
.who .headline { font-size: 34px; }
.hub { margin: var(--space-6) 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: var(--space-2); }
.hub a { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); min-height: 68px; padding: var(--space-3) var(--space-4);
  border-radius: 18px; background: var(--mist-raised); text-decoration: none; }
.hub a > span { display: flex; flex-direction: column; gap: 2px; }
.hub b { font: 600 17px/1.25 var(--font-text); }
.hub a > span > span { font: 400 12px/1.3 var(--font-data); color: var(--ink-muted); letter-spacing: .02em; }
.hub a.pri { background: var(--ink); color: var(--on-ink); }
.hub a.pri > span > span { color: inherit; opacity: .75; }
.follow { margin-top: 20px; display: flex; flex-direction: column; gap: 10px; }
.follow .chip { height: 44px; line-height: 45px; padding: 0 var(--space-4); font-size: 12px; text-decoration: none; }
.hub-end { width: 100%; margin-top: auto; padding-top: var(--space-6); padding-bottom: 20px; }
.hub-end p { font: 400 12px/1.45 var(--font-data); color: var(--ink-muted); letter-spacing: .02em; }
.hub-end a { display: inline-flex; align-items: center; min-height: 44px; }

/* The closing panel and footer */
.site-foot { max-width: 752px; margin: 48px auto 0; }
.panel { background: var(--panel); color: var(--on-panel); border-radius: var(--radius-panel) var(--radius-panel) 0 0; padding: 22px var(--space-5) var(--space-6);
  display: flex; flex-direction: column; gap: 14px; }
.panel .headline span { color: var(--on-panel-muted); }
.panel .sub { font-size: 14.5px; line-height: 1.45; color: var(--on-panel-sub); }
.panel .btn.pri { background: var(--panel-action); color: var(--on-panel-action); }
.panel .btn.alt { background: var(--panel-raised); color: var(--on-panel); }
.panel :focus-visible { outline-color: var(--on-panel); }
.foot { padding-top: var(--space-4); display: grid; grid-template-columns: 1fr 1fr; gap: 0 var(--space-3); }
.panel > .foot:not(:first-child) { margin-top: 4px; border-top: 1px solid var(--panel-raised); }
.foot a { display: flex; align-items: center; min-height: 44px; font-size: 14.5px; line-height: 1.2; color: var(--on-panel); text-decoration: none; }
.fine { font: 400 12px/1.4 var(--font-data); color: var(--on-panel-sub); letter-spacing: .02em; }
.fine + .fine { margin-top: -8px; }

/* Motion: the numeral settles, presses give, pages cross-fade, sections rise into view */
@media (prefers-reduced-motion: no-preference) {
  .numeral { animation: settle var(--dur-settle) var(--ease-settle) backwards; }
  .btn, .tile { transition: transform var(--dur-press) var(--ease-settle), background-color var(--dur-fade) var(--ease-settle); }
  .btn:active { transform: scale(.98); }
  @supports (animation-timeline: view()) {
    .sec, .panel { animation: rise linear backwards; animation-timeline: view(); animation-range: entry 0% entry 40%; }
  }
  .night.scrub { animation: none; }
  .more .chev { transition: transform var(--dur-reveal) var(--ease-settle); }
  .scrub .night-q { transition: opacity var(--dur-fade) var(--ease-settle); }
  .scrub .night-q:not(.on) { opacity: 0; }
  @supports (animation-timeline: view()) {
    .night-svg .line { stroke-dasharray: 1; animation: draw linear backwards; animation-timeline: --night; animation-range: entry 30% cover 50%; }
    .scrub .night-svg .line { stroke-dasharray: none; animation: none; }
  }
  .top { view-transition-name: top; }
  @view-transition { navigation: auto; }
  ::view-transition-old(root), ::view-transition-new(root) { animation-duration: var(--dur-page); animation-timing-function: var(--ease-settle); }
}
@keyframes settle { from { transform: translateY(12px); } }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }
@keyframes draw { from { stroke-dashoffset: 1; } }
