/**
 * home.css: the Home page (/), ported from the design system's `ui_kits/website/Actorly Home.dc.html` (ACT-243).
 *
 * Every colour, size and easing is a token from design-tokens.css. Sizes the tokens do not name are written in rem
 * (1rem = 16px) so the token check, which looks for a literal px that a token already holds, stays quiet; a colour
 * the design system does not name (the placeholder tiles, the form-field greys of the admin mock-up) is a custom
 * property in the first block below, with the reason.
 *
 * TWO WORLDS. The head script puts `js` on <html>, and `mk` too when the visitor has not asked for reduced motion.
 *   html.mk          = the animated page: pinned scenes, hidden starting states, loops (public/js/home-motion.js).
 *   html:not(.mk)    = the FINISHED page: no pinned scroll, every demo in its end state, every reveal shown.
 *                      This is also what no JavaScript, and reduced motion, get. All copy is real HTML in both.
 * Only transform and opacity move, except the search rows' height and the timeline scan's `left` (guidelines/motion.md).
 */

/* ---------------------------------------------------------------- one-off colours the design system has no token for */
.home {
  --h-ph: #E9E4DA;            /* placeholder block where a product photo would be (no photos on this site) */
  --h-sand: #F3D9A4;          /* demo tile faces: discount, shipping, theme, market (illustrations, not brand colours) */
  --h-sage: #CFE3D4;
  --h-sky: #D3DAEA;
  --h-lilac: #E2D9F0;
  --h-tick: #B5AD9F;          /* outline of a "before install" tick */
  --h-hatch-a: #E2DCD1;       /* the "Not recorded" hatch */
  --h-hatch-b: #ECE7DE;
  --h-field-line: #8A8A8A;    /* a focused Shopify-admin text field in the mock-up */
  --h-field-quiet: #D4D4D4;
  --h-field-hint: #A0A0A0;
  --h-avatar-bg: #FFD6C7;     /* the initials avatar in the "who" panel */
  --h-avatar-fg: #7A2A0E;
}

html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body.home {
  margin: 0;
  background: var(--act-paper);
  color: var(--act-ink);
  font-family: var(--act-font-display);
  -webkit-font-smoothing: antialiased;
}
.home *, .home *::before, .home *::after { box-sizing: border-box; }
.home a { color: inherit; text-decoration: none; }
.home a:hover { color: var(--act-ember-text); }
.home ::selection { background: var(--act-ember); color: var(--act-ink); }
.home details summary { list-style: none; }
.home details summary::-webkit-details-marker { display: none; }
.home details[open] [data-plus] { transform: rotate(45deg); }
.home :focus-visible { outline: 2px solid var(--act-ember-text); outline-offset: 3px; }
.home .on-ink :focus-visible, .home .ink-scene :focus-visible { outline-color: var(--act-ember); }
.sr-only { position: absolute; width: 0.0625rem; height: 0.0625rem; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@keyframes blink { 50% { opacity: 0; } }

.skip { position: fixed; left: 1rem; top: -4rem; z-index: 90; background: var(--act-ink); color: var(--act-paper); padding: .6rem 1rem; border-radius: var(--act-radius-pill); font-weight: 600; }
.skip:focus { top: 1rem; }

.home-root { overflow-x: clip; }

/* line-reveal mask: the descender padding the design system asks for */
.home [data-mk-mask] { padding-bottom: var(--act-mask-pad) !important; margin-bottom: calc(-1 * var(--act-mask-pad)) !important; }

/* hidden starting states, only in the animated world, so nothing flashes before the script runs */
html.mk [data-mk-fade] { opacity: 0; }
html.mk [data-mk-line] { transform: translateY(110%); }

/* ---------------------------------------------------------------- shared type */
.h2 { margin: 0; text-align: center; font-variation-settings: var(--act-display-wdth); font-weight: var(--act-weight-display); font-size: var(--act-h2); line-height: var(--act-lh-h2); letter-spacing: var(--act-track-h2); }
.lede { margin: 0; text-align: center; font-size: var(--act-lede); line-height: var(--act-lh-lede); color: var(--act-body); max-width: 40rem; text-wrap: pretty; }
.sec { padding: var(--act-section-pad-home) var(--act-gutter) 9.375rem; }
.sec-white { background: var(--act-white); }
.sec-in { max-width: var(--act-content-max); margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: var(--act-gap-headline-lede); }
.demo { width: 100%; max-width: var(--act-demo-max); margin-top: var(--act-gap-lede-content); }

/* ---------------------------------------------------------------- buttons (the nav and the footer are the shared chrome: public/css/design-chrome.css) */
.btn { display: inline-flex; align-items: center; justify-content: center; border-radius: var(--act-radius-pill); font-weight: 600; white-space: nowrap; transition: background .25s ease, color .25s ease, box-shadow .25s ease; }
.home .btn-ink { background: var(--act-button-primary-bg); color: var(--act-button-primary-fg); }
.home .btn-ink:hover { background: var(--act-button-primary-hover-bg); color: var(--act-button-primary-hover-fg); }
.home .btn-ghost { box-shadow: inset 0 0 0 0.0625rem var(--act-outline); }
.home .btn-ghost:hover { box-shadow: inset 0 0 0 0.09375rem var(--act-ink); color: var(--act-ink); }
.home .btn-ember { background: var(--act-button-inverse-bg); color: var(--act-button-inverse-fg); font-weight: 700; }
.home .btn-ember:hover { background: var(--act-paper); color: var(--act-ink); }
.home .btn-ghost-ink { box-shadow: inset 0 0 0 0.0625rem var(--act-ink-outline); }
.home .btn-ghost-ink:hover { color: var(--act-ember-hover-on-ink); }

/* ---------------------------------------------------------------- 01 hero */
.mark-back { fill: var(--act-ink); opacity: .32; }
.mark-front { fill: var(--act-ember); }
.mark-arrow { fill: none; stroke: var(--act-ink); stroke-width: 3.6; stroke-linecap: round; stroke-linejoin: round; }
.on-ink .mark-back { fill: var(--act-paper); }

.hero { position: relative; }
.h-stage { overflow: hidden; }
.h-copy { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 1.375rem; padding: 0 var(--act-gutter); }
.h-copy h1 { margin: 0; font-variation-settings: var(--act-display-wdth); font-weight: var(--act-weight-display); font-size: var(--act-h1-home); line-height: var(--act-lh-display); letter-spacing: var(--act-track-h1); }
.h-copy h1 [data-mk-line] { white-space: nowrap; }
.h-copy .lede { max-width: 41.25rem; }
.h-ctas { display: flex; gap: .625rem; flex-wrap: nowrap; justify-content: center; }
.h-ctas .btn { height: 3.25rem; padding: 0 1.625rem; font-size: 1rem; }
.h-ctas .btn-ghost { padding: 0 1.375rem; }
@media (max-width: 520px) { [data-hero-secondary] { display: none !important; } }

.h-clockbox { text-align: center; }
.h-clockbox .who { font-size: .9375rem; font-weight: 600; color: var(--act-muted); }
.h-clock { font-variation-settings: var(--act-display-wdth); font-weight: var(--act-weight-display); font-size: clamp(2.75rem, min(6vw, 9vh), 88px); line-height: 1; letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.h-note { font-size: 1rem; font-weight: 600; color: var(--act-ember-text); margin-top: .5rem; height: 1.25rem; }

.h-card { container-type: inline-size; }
.h-img { border-radius: var(--act-radius-tile); overflow: hidden; background: var(--h-ph); }
.h-cap { padding: .625rem .25rem 0; font-size: .9375rem; line-height: 1.3; }
.h-cap b { display: block; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.h-val { display: block; position: relative; height: 1.25rem; margin-top: 2px; font-variant-numeric: tabular-nums; }
.h-val span { position: absolute; left: 0; white-space: nowrap; }
.h-val [data-after] { opacity: 0; color: var(--act-ember-text); font-weight: 600; }
.face { width: 100%; height: 100%; display: flex; }
.face-promo { background: var(--h-sand); flex-direction: column; justify-content: center; align-items: center; gap: 3cqw; }
.face-promo .code { font-variation-settings: var(--act-display-wdth); font-weight: 800; font-size: 12cqw; line-height: 1; letter-spacing: -.04em; border: 2px dashed var(--act-ink); border-radius: 4cqw; padding: .2em .5em; }
.face-promo .sub, .face-market .sub { font-size: 5.4cqw; font-weight: 600; }
.face-ship { background: var(--h-sage); flex-direction: column; justify-content: center; padding: 0 8cqw; gap: 3.5cqw; }
.face-ship div { display: flex; justify-content: space-between; font-size: 5.4cqw; background: var(--act-white); border-radius: 4cqw; padding: 3.6cqw 5cqw; }
.face-ship div:first-child { font-weight: 600; }
.face-ship div:last-child { background: rgba(255,255,255,.55); }
.face-theme { background: var(--h-sky); padding: 5.5cqw; flex-direction: column; gap: 3cqw; }
.face-theme .bar { height: 4.5cqw; border-radius: 3cqw; background: var(--act-white); width: 40%; flex: none; }
.face-theme .hero-block { flex: 1; min-height: 0; border-radius: 4cqw; background: var(--act-white); display: flex; align-items: center; justify-content: center; font-size: 5.6cqw; font-weight: 700; }
.face-theme .row3 { display: flex; gap: 3cqw; height: 11cqw; flex: none; }
.face-theme .row3 span { flex: 1; border-radius: 3cqw; background: rgba(255,255,255,.6); }
.face-market { background: var(--h-lilac); flex-direction: column; justify-content: center; align-items: center; gap: 2cqw; }
.face-market .code { font-variation-settings: var(--act-display-wdth); font-weight: 800; font-size: 13cqw; line-height: 1; letter-spacing: -.04em; }

.h-stamp { background: var(--act-ember); color: var(--act-ink); border-radius: var(--act-radius-stamp); padding: .5625rem .8125rem; font-size: var(--act-small); font-weight: 700; line-height: 1.3; white-space: nowrap; box-shadow: var(--act-shadow-stamp); }
.h-stamp span { display: block; font-weight: 500; }
.h-title { text-align: center; padding: 0 var(--act-gutter); font-variation-settings: var(--act-display-wdth); font-weight: var(--act-weight-display); font-size: clamp(1.875rem, min(4vw, 7vh), 3.625rem); line-height: 1; letter-spacing: -.05em; }
.h-panel { background: var(--act-white); border-radius: var(--act-radius-card); box-shadow: var(--act-shadow-demo); overflow: hidden; }
.h-panel-head { height: 3.25rem; display: flex; align-items: center; justify-content: space-between; padding: 0 1.375rem; border-bottom: thin solid var(--act-line-soft); font-size: .9375rem; font-weight: 600; }
.h-panel-head > span { display: flex; align-items: center; gap: .5625rem; }
.h-panel-head .ex { color: var(--act-muted); font-weight: 500; }
.h-row { position: relative; height: 3rem; display: grid; grid-template-columns: minmax(0,1.5fr) minmax(0,1fr) 5.25rem; gap: .875rem; align-items: center; padding: 0 1.375rem; border-bottom: thin solid var(--act-line-soft); font-size: .9375rem; }
.h-row:last-child { border-bottom: 0; }
.h-row::before { content: ""; position: absolute; inset: 0; background: var(--act-ember-tint); opacity: var(--f, 0); pointer-events: none; }
.h-row > span { position: relative; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.h-row > span:first-child b { font-weight: 600; }
.h-row > span:nth-child(2) { color: var(--act-muted); }
.h-row > span:nth-child(2).named { color: var(--act-ink); }
.h-row > span:last-child { color: var(--act-muted); text-align: right; }
.h-ex { text-align: center; font-size: .8125rem; font-weight: 600; color: var(--act-muted); }
/* 390: the row wraps to two lines so the confidence word is never cut off (who is always shown with its confidence) */
/* 599: the history rows are laid out in the phone block at the end of this file */

/* the animated hero: pinned, 370vh, positions set by public/js/home-motion.js */
html.mk .hero { height: 370vh; }
html.mk .h-stage { position: sticky; top: 0; height: 100vh; height: 100svh; }
html.mk .h-copy { position: absolute; left: 0; right: 0; top: max(19vh, 9rem); z-index: 3; }
html.mk .h-clockbox { position: absolute; left: 0; right: 0; top: max(10vh, 5.625rem); opacity: 0; z-index: 2; }
html.mk .h-card { position: absolute; left: 0; top: 0; width: 17.5rem; z-index: 1; will-change: transform; }
html.mk .h-img { height: 10.875rem; }
html.mk .h-stamp { position: absolute; left: 0; top: 0; z-index: 4; opacity: 0; }
html.mk .h-title { position: absolute; left: 0; right: 0; top: 0; opacity: 0; }
html.mk .h-panel { position: absolute; left: 0; top: 0; width: 73.75rem; opacity: 0; z-index: 2; }
html.mk .h-row > span { opacity: 0; }
html.mk .h-ex { position: absolute; left: 0; right: 0; top: 0; z-index: 2; }
/* the finished page: copy, then the finished day. No tiles, stamps or clock. */
html:not(.mk) .h-stage { padding: 8rem 0 var(--act-section-pad-home); }
html:not(.mk) .h-clockbox, html:not(.mk) .h-card, html:not(.mk) .h-stamp, html:not(.mk) .h-ex { display: none; }
html:not(.mk) .h-title { margin-top: 5rem; }
html:not(.mk) .h-panel { width: min(73.75rem, calc(100% - 2rem)); margin: 2rem auto 0; }

/* ---------------------------------------------------------------- 02 overwrite (Shopify-admin look-alike, tokens --act-admin-*) */
.admin { border-radius: var(--act-radius-admin); }
.over { border-radius: 1.375rem; overflow: hidden; box-shadow: var(--act-shadow-demo); background: var(--act-admin-ground); font-family: var(--act-font-admin); color: var(--act-admin-ink); }
.admin-bar { height: 3rem; background: var(--act-admin-bar); display: flex; align-items: center; padding: 0 1.125rem; gap: .875rem; }
.admin-bar .ex-tag { flex: none; font-size: .8125rem; font-weight: 600; color: var(--act-white); opacity: .8; }
.admin-search { flex: 1; display: flex; justify-content: center; }
.admin-search div { width: min(26.25rem, 60%); height: 1.875rem; background: var(--act-admin-search); border-radius: .5rem; display: flex; align-items: center; padding: 0 .75rem; font-size: .8125rem; color: var(--act-body-on-ink); }
.over-grid { padding: 1.5rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 18.75rem), 1fr)); gap: 1rem; }
.over-col { display: flex; flex-direction: column; gap: 1rem; }
.over-prod { display: flex; align-items: center; gap: .75rem; }
.over-prod b { font-size: 1.25rem; font-weight: 700; }
.ph { flex: none; border-radius: .625rem; background: var(--h-ph); }
.over-card { background: var(--act-white); border-radius: var(--act-radius-admin); padding: 1.125rem; box-shadow: 0 0.0625rem 0 rgba(0,0,0,.08); }
.over-card h3 { margin: 0 0 .875rem; font-size: var(--act-small); font-weight: 650; }
.over-label { font-size: var(--act-micro); margin-bottom: .375rem; }
.over-field { position: relative; }
.over-ghosts { position: absolute; left: 0; right: 0; top: 0; height: 2.5rem; pointer-events: none; z-index: 2; }
.over-input { height: 2.5rem; border: thin solid var(--h-field-line); border-radius: .5rem; display: flex; align-items: center; padding: 0 .75rem; font-size: .9375rem; font-variant-numeric: tabular-nums; background: var(--act-white); }
.over-input i { width: 0.09375rem; height: 1.0625rem; background: var(--act-admin-ink); margin-left: 0.0625rem; animation: blink 1s steps(1) infinite; }
.over-saved { font-size: .75rem; color: var(--act-admin-muted); margin-top: .5rem; height: 1rem; }
.over-input.quiet { border-color: var(--h-field-quiet); color: var(--h-field-line); margin-top: 0; }
.over-hist { background: var(--act-white); border-radius: var(--act-radius-admin); box-shadow: 0 0 0 0.09375rem var(--act-ember); display: flex; flex-direction: column; overflow: hidden; }
.over-hist-head { display: flex; align-items: center; justify-content: space-between; padding: .875rem 1.125rem; border-bottom: thin solid var(--act-unknown-bg); }
.over-hist-head > span:first-child { display: flex; align-items: center; gap: .5rem; font-size: var(--act-small); font-weight: 650; }
.over-hist-head > span:last-child { font-size: var(--act-micro); color: var(--act-admin-muted); }
.over-hist-head b { font-weight: 650; color: var(--act-admin-ink); font-variant-numeric: tabular-nums; }
.over-list { display: flex; flex-direction: column; min-height: 13.75rem; }
.over-foot { padding: .625rem 1.125rem; font-size: .75rem; color: var(--act-admin-muted); border-top: thin solid var(--act-unknown-bg); margin-top: auto; }
.o-row { display: grid; grid-template-columns: 5.625rem 1fr auto; align-items: center; gap: .625rem; padding: 0 1.125rem; height: 3rem; border-bottom: thin solid var(--act-admin-ground); font-size: var(--act-small); background: var(--act-white); opacity: 1; transform: none; transition: opacity .4s ease, transform .7s var(--act-ease-settle), background 1.4s ease; }
.o-row.is-fresh { background: var(--act-ember-wash); opacity: 0; transform: translateY(-12px); }
.o-row .p { font-weight: 650; font-variant-numeric: tabular-nums; }
.o-row .w { color: var(--act-admin-muted); }
.o-tag { justify-self: end; font-size: .75rem; font-weight: 600; padding: 3px .625rem; border-radius: var(--act-radius-pill); background: var(--act-now-bg); color: var(--act-now-fg); }
.o-tag.is-old { background: transparent; color: var(--act-admin-ink); box-shadow: inset 0 0 0 0.0625rem var(--h-field-quiet); }
.o-ghost { position: absolute; left: .8125rem; top: .625rem; z-index: 2; font-size: .9375rem; color: var(--act-was-fg); text-decoration: line-through; background: var(--act-was-bg); padding: 0 .375rem; margin-left: -.375rem; border-radius: 0.25rem; font-variant-numeric: tabular-nums; transition: transform .9s var(--act-ease-settle), opacity .9s ease; }

/* ---------------------------------------------------------------- 03 what it tracks */
.tracks { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16.875rem), 1fr)); gap: .875rem; }
.tk { background: var(--act-white); border-radius: 1.375rem; padding: 1.375rem; box-shadow: var(--act-ring); display: flex; flex-direction: column; gap: .875rem; transition: box-shadow .3s ease; }
.tk > b { font-size: 1.125rem; font-weight: 700; letter-spacing: -.015em; }
.tk > span { font-size: .9375rem; line-height: 1.45; }
.tk .was { color: var(--act-muted); transition: color .4s; }
.tk .now { font-weight: 600; transition: opacity .4s; }
html.mk .tk { opacity: 0; transform: translateY(1.25rem); }
html.mk .tk .now { opacity: 0; }
html.mk .tk.is-on .was { text-decoration: line-through; color: var(--act-ember-text); }
html.mk .tk.is-on .now { opacity: 1; }
html.mk .tk.is-ring { box-shadow: var(--act-ring-active); }
html:not(.mk) .tk .was { text-decoration: line-through; color: var(--act-ember-text); }
.sources { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .625rem; margin-top: 1.75rem; }
.sources > span:first-child { font-size: 1rem; font-weight: 600; margin-right: .375rem; }
.src { height: 2.5rem; padding: 0 1rem; border-radius: var(--act-radius-pill); background: var(--act-ink); color: var(--act-paper); font-size: .9375rem; font-weight: 600; display: flex; align-items: center; }
html.mk .src { opacity: 0; transform: translateY(0.875rem) scale(.9); }

/* ---------------------------------------------------------------- 04 search */
.srch { border-radius: 1.375rem; overflow: hidden; box-shadow: var(--act-shadow-demo); background: var(--act-white); font-family: var(--act-font-admin); color: var(--act-admin-ink); }
.srch-head { display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.375rem; background: var(--act-admin-head); border-bottom: thin solid var(--act-unknown-bg); }
.srch-head > span:first-child { display: flex; align-items: center; gap: .5625rem; font-size: .9375rem; font-weight: 650; }
.srch-head > span:last-child { font-size: var(--act-micro); color: var(--act-admin-muted); }
.srch-box { padding: .75rem 1.375rem; border-bottom: thin solid var(--act-unknown-bg); }
.srch-field { height: 2.375rem; border-radius: .5rem; box-shadow: inset 0 0 0 0.0625rem var(--h-field-line); display: flex; align-items: center; gap: .5rem; padding: 0 .75rem; font-size: var(--act-small); }
.srch-field svg { flex: none; stroke: var(--act-admin-muted); }
.srch-field i { width: 0.09375rem; height: 1rem; background: var(--act-admin-ink); margin-left: -6px; animation: blink 1s steps(1) infinite; }
.srch-field [data-q-ph] { color: var(--h-field-hint); }
.srch-cols, .q-line { display: grid; grid-template-columns: minmax(0,1.4fr) minmax(0,1fr) minmax(0,1fr) 8.75rem; gap: .875rem; }
.srch-cols { padding: .625rem 1.375rem; font-size: .75rem; font-weight: 600; color: var(--act-admin-muted); background: var(--act-admin-head); border-bottom: thin solid var(--act-unknown-bg); }
.srch-rows { height: 26rem; overflow: hidden; }
.q-row { height: 3.25rem; overflow: hidden; transition: height .45s var(--act-ease-settle), background .4s ease; }
.q-row.is-out { height: 0; }
.q-row.is-hit { background: var(--act-ember-wash); }
.q-line { height: 3.25rem; align-items: center; padding: 0 1.375rem; border-bottom: thin solid var(--act-admin-ground); font-size: var(--act-small); }
.q-line b { font-weight: 600; }
.q-line .dim { color: var(--act-admin-muted); }

/* ---------------------------------------------------------------- 05 how it works (pinned, 380vh, ink) */
.beats { position: relative; background: var(--act-ink); color: var(--act-paper); }
.beats-stage { display: flex; flex-direction: column; justify-content: center; padding: 5.625rem var(--act-gutter) 2.5rem; }
.beats-grid { max-width: var(--act-demo-max); width: 100%; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: clamp(1.5rem, 4vw, 48px); row-gap: 0; grid-template-rows: 1fr auto auto 1fr; align-items: center; }
.beat-item { display: contents; }
.rail { grid-column: 1; grid-row: 2; display: flex; gap: .5rem; max-width: 15rem; margin-bottom: 1.625rem; }
.rail > span { flex: 1; height: 0.25rem; border-radius: 2px; background: var(--act-ink-line); overflow: hidden; }
.rail i { display: block; height: 100%; background: var(--act-ember); transform-origin: 0 50%; transform: scaleX(0); }
.beat-head { grid-column: 1; grid-row: 3; align-self: start; min-height: clamp(11.25rem, 30vh, 260px); }
.beat-head h2 { margin: 0 0 1.25rem; font-variation-settings: var(--act-display-wdth); font-weight: var(--act-weight-display); font-size: var(--act-h2-pinned); line-height: var(--act-lh-h2); letter-spacing: var(--act-track-h2); }
.beat-head p { margin: 0; font-size: var(--act-body-long); line-height: var(--act-lh-lede); color: var(--act-body-on-ink); max-width: 42ch; }
.beat-panel { grid-column: 2; grid-row: 1 / 5; align-self: stretch; height: min(27.5rem, 56vh); min-height: 21.25rem; background: var(--act-white); border-radius: var(--act-radius-card); padding: 1.5rem; display: flex; flex-direction: column; gap: .75rem; box-shadow: var(--act-shadow-ink-panel); font-family: var(--act-font-admin); color: var(--act-admin-ink); }
.bp-who { display: flex; align-items: center; gap: .75rem; }
.bp-who .t { display: block; font-size: 1rem; font-weight: 650; }
.bp-who .s { font-size: var(--act-micro); color: var(--act-admin-muted); }
.bp-who .ph { width: 2.5rem; height: 2.5rem; }
.wn { flex: none; border: thin solid var(--act-admin-line); border-radius: var(--act-radius-inner); overflow: hidden; margin-top: .375rem; }
.wn-h, .wn-r { display: grid; grid-template-columns: 6.875rem 1fr 1fr; padding: .625rem 1rem; }
.wn-h { background: var(--act-admin-head); font-size: .75rem; font-weight: 600; color: var(--act-admin-muted); }
.wn-r { padding: .8125rem 1rem; font-size: 1rem; border-top: thin solid var(--act-unknown-bg); align-items: center; }
.wn-r b { font-weight: 600; }
.chip-was, .chip-now { padding: 3px .5rem; border-radius: 6px; transition: background .4s, color .4s; }
.chip-now { font-weight: 650; }
.chip-was { background: var(--act-was-bg); color: var(--act-was-fg); text-decoration: line-through; }
.chip-now { background: var(--act-now-bg); color: var(--act-now-fg); }
html.mk .chip-was, html.mk .chip-now { background: transparent; color: var(--act-admin-ink); text-decoration: none; }
html.mk .chip-was.is-on { background: var(--act-was-bg); color: var(--act-was-fg); text-decoration: line-through; }
html.mk .chip-now.is-on { background: var(--act-now-bg); color: var(--act-now-fg); }
.bp-note { font-size: var(--act-micro); color: var(--act-admin-muted); margin-top: auto; }
.bp-q { font-size: 1rem; font-weight: 650; }
.b1-step { display: flex; justify-content: space-between; gap: .75rem; padding: .625rem .875rem; background: var(--act-admin-head); border-radius: .75rem; font-size: var(--act-small); }
.b1-step b { font-weight: 600; }
.b1-final { display: flex; align-items: center; gap: .75rem; padding: .625rem .875rem; border-radius: var(--act-radius-inner); box-shadow: 0 0 0 0.0625rem var(--act-admin-line); }
.b1-final .av { width: 2.375rem; height: 2.375rem; border-radius: 50%; background: var(--h-avatar-bg); color: var(--h-avatar-fg); font-size: var(--act-micro); font-weight: 700; display: flex; align-items: center; justify-content: center; }
.b1-final .nm { flex: 1; }
.b1-final .nm b { display: block; font-size: 1rem; font-weight: 650; font-variant-numeric: tabular-nums; }
.b1-final .nm span { font-size: var(--act-micro); color: var(--act-admin-muted); }
.pill-likely, .pill-unknown { padding: 0.25rem .625rem; border-radius: var(--act-radius-pill); font-size: var(--act-micro); font-weight: 600; }
.pill-likely { background: var(--act-likely-bg); color: var(--act-likely-fg); }
.pill-unknown { background: var(--act-unknown-bg); color: var(--act-unknown-fg); }
.b1-unk { display: flex; align-items: center; gap: .75rem; padding: .625rem .875rem; border-radius: var(--act-radius-inner); background: var(--act-admin-head); margin-top: auto; }
.b1-unk > span:first-child { flex: 1; font-size: var(--act-small); }
.b1-unk b { font-weight: 600; }
.b1-unk small { display: block; font-size: var(--act-micro); color: var(--act-admin-muted); }
.b2-price { font-family: var(--act-font-display); font-variation-settings: var(--act-display-wdth); font-weight: var(--act-weight-display); font-size: clamp(48px, 9vh, 88px); line-height: 1; letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.b2-steps { display: flex; flex-direction: column; gap: 6px; font-size: var(--act-small); color: var(--act-admin-muted); }
.b2-ok { display: flex; align-items: center; gap: .625rem; font-size: .9375rem; color: var(--act-confirmed-fg); }
.b2-ok svg circle { fill: var(--act-confirmed-bg); }
.b2-ok svg path { fill: none; stroke: var(--act-confirmed-fg); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.b2-btn { align-self: flex-start; height: 2.875rem; padding: 0 1.375rem; background: var(--act-confirmed-fg); color: var(--act-white); border-radius: var(--act-radius-pill); font-size: .9375rem; font-weight: 600; display: flex; align-items: center; transition: transform .15s ease, background .3s ease; }
.b2-steps .is-ok { color: var(--act-confirmed-fg); }
.beats-flex { flex: 1; }

html.mk .beats { height: 380vh; }
html.mk .beats-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
html.mk .beat-head:not(.is-first), html.mk .beat-panel:not(.is-first) { opacity: 0; transform: translateY(1.5rem); }
html.mk .b2-btn { background: var(--act-admin-ink); }
html.mk .b2-btn.is-done { background: var(--act-confirmed-fg); }
html.mk .b2-steps span { opacity: .3; color: var(--act-admin-muted); }
html.mk .b2-steps span.is-lit { opacity: 1; }
html.mk .b2-steps span.is-ok { color: var(--act-confirmed-fg); }
html.mk .b2-ok { opacity: 0; }
html.mk .b1-step { opacity: .3; }
html.mk .b1-final, html.mk .b1-unk { opacity: 0; }
/* the finished page: the three beats one after another, each finished */
html:not(.mk) .beats-stage { padding: var(--act-section-pad) var(--act-gutter); }
html:not(.mk) .beats-grid { display: flex; flex-direction: column; gap: 4.5rem; }
html:not(.mk) .rail { display: none; }
html:not(.mk) .beat-item { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: clamp(1.5rem, 4vw, 48px); align-items: center; }
html:not(.mk) .beat-head { grid-row: 1; min-height: 0; }
html:not(.mk) .beat-panel { grid-row: 1; height: auto; min-height: 17.5rem; }
@media (max-width: 51.25rem) {
  .beats-grid, html:not(.mk) .beat-item { grid-template-columns: minmax(0, 1fr); }
  .beats-grid { grid-template-rows: none; row-gap: 1.625rem; }
  .rail, .beat-head { grid-column: 1; }
  .rail { grid-row: 1; margin-bottom: 0; }
  .beat-head { grid-row: 2; }
  .beat-panel { grid-column: 1; grid-row: 3; }
  html:not(.mk) .beat-head { grid-row: 1; margin-bottom: 1.5rem; }
  html:not(.mk) .beat-panel { grid-row: 2; }
}

/* ---------------------------------------------------------------- 06 timeline */
.tl { background: var(--act-paper); border-radius: var(--act-radius-stage); padding: 2.25rem clamp(1.25rem, 3vw, 2.5rem) 2rem; }
.tl-rows { display: flex; flex-direction: column; gap: 1.375rem; }
.tl-row { display: grid; grid-template-columns: minmax(0, 10.625rem) minmax(0, 1fr); gap: 1.25rem; align-items: center; }
.tl-row > span { font-size: .9375rem; font-weight: 600; }
.tl-track { position: relative; height: 2.75rem; }
.tl-sq { position: absolute; top: .75rem; width: 1.25rem; height: 1.25rem; margin-left: -.625rem; border-radius: 6px; }
.tl-a.before { box-shadow: inset 0 0 0 2px var(--h-tick); }
.tl-a.after { background: var(--act-ink); }
.tl-b { background: var(--act-ember); }
.tl-gap { position: absolute; left: 0; width: 37%; top: .375rem; bottom: .375rem; border-radius: .625rem; background: repeating-linear-gradient(135deg, var(--h-hatch-a) 0 6px, var(--h-hatch-b) 6px 0.75rem); display: flex; align-items: center; justify-content: center; font-size: var(--act-micro); font-weight: 600; color: var(--act-muted); }
.tl-mark { position: relative; height: 0; }
.tl-line { position: absolute; left: 38%; top: -7.625rem; height: 8.25rem; width: 2px; margin-left: -1px; background: var(--act-ink); }
.tl-label { position: absolute; left: 38%; top: 1rem; transform: translateX(-50%); background: var(--act-ink); color: var(--act-paper); font-size: var(--act-micro); font-weight: 600; padding: 6px .75rem; border-radius: var(--act-radius-pill); white-space: nowrap; }
.tl-scan { position: absolute; left: 38%; top: -7.625rem; height: 8.25rem; width: 2px; margin-left: -1px; background: var(--act-ember); opacity: 0; }
html.mk .tl-a { opacity: 0; transform: translateY(-16px); }
html.mk .tl-b { opacity: 0; transform: scale(.4); }
html:not(.mk) .tl-scan { display: none; }
.tl-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16.25rem), 1fr)); gap: 1rem; margin-top: 4.75rem; }
.tl-stat { background: var(--act-white); border-radius: 1.125rem; padding: 1.25rem 1.375rem; }
.tl-stat .n { font-variation-settings: var(--act-display-wdth); font-weight: var(--act-weight-display); font-size: 2.75rem; letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.tl-stat.hot .n { color: var(--act-ember-text); }
.tl-stat .d { font-size: .9375rem; color: var(--act-body); }
.tl-ex { margin: 1rem 0 0; font-size: var(--act-micro); color: var(--act-muted); }
@media (max-width: 520px) {
  .tl-row { grid-template-columns: minmax(0, 1fr); gap: .5rem; }
  /* stacked rows: the install line still crosses both tracks, so the day the record starts stays on the picture */
  .tl-row:last-child > span:first-child { display: none; }
  .tl-line, .tl-scan { top: -9.2rem; height: 9.95rem; }
}

/* ---------------------------------------------------------------- 07 pricing */
.toggle { display: flex; gap: 0.25rem; padding: 0.25rem; border-radius: var(--act-radius-pill); background: var(--act-white); box-shadow: var(--act-ring); margin-top: 1.25rem; }
.toggle button { height: 2.5rem; padding: 0 1.125rem; border: 0; border-radius: var(--act-radius-pill); font: inherit; font-size: .9375rem; font-weight: 600; cursor: pointer; background: transparent; color: var(--act-ink); transition: background .25s ease, color .25s ease; }
.toggle button[aria-pressed="true"] { background: var(--act-ink); color: var(--act-paper); }
html:not(.js) .toggle { display: none; }
.plans { width: 100%; max-width: var(--act-demo-max); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 23.75rem), 1fr)); gap: 1.125rem; margin-top: 1.25rem; }
.plan { border-radius: 1.625rem; padding: clamp(26px, 3vw, 2.5rem); display: flex; flex-direction: column; gap: 1.625rem; background: var(--act-white); box-shadow: var(--act-ring); }
.plan.restore { background: var(--act-ink); color: var(--act-paper); box-shadow: 0 1.875rem 3.75rem -30px rgba(18,16,14,.6); }
.plan h3 { margin: 0; font-size: var(--act-card-title); font-weight: 700; letter-spacing: var(--act-track-card); }
.plan .tag { font-size: 1rem; color: var(--act-body); margin-top: .375rem; }
.plan.restore .tag { color: var(--act-body-on-ink); }
.price-row { display: flex; align-items: baseline; gap: .625rem; }
.price-row .amt { font-variation-settings: var(--act-display-wdth); font-weight: var(--act-weight-display); font-size: 4.5rem; letter-spacing: -.05em; line-height: 1; font-variant-numeric: tabular-nums; display: inline-block; }
.price-row .unit { font-size: 1rem; color: var(--act-body); }
.plan.restore .price-row { height: 4.5rem; overflow: hidden; }
.plan.restore .unit { color: var(--act-body-on-ink); }
.price-alt { font-size: .9375rem; color: var(--act-body-on-ink); margin-top: -1rem; }
html.js .price-alt { display: none; }
.plan .btn { height: 3.25rem; font-size: 1rem; }
.plan .rule { height: 0.0625rem; background: var(--act-line-soft); }
.plan.restore .rule { background: var(--act-ink-line); }
.grp { display: flex; flex-direction: column; gap: .625rem; }
.grp > b { font-size: var(--act-micro); font-weight: 700; letter-spacing: .02em; color: var(--act-muted); text-transform: uppercase; }
.plan.restore .grp > b { color: var(--act-body-on-ink); }
.it { display: flex; gap: .625rem; align-items: flex-start; font-size: .9375rem; line-height: 1.4; }
.it svg { flex: none; margin-top: 0.0625rem; }
.it .c-fill { fill: var(--act-ink); }
.it .c-tick { fill: none; stroke: var(--act-white); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.plan.restore .it .c-fill { fill: var(--act-ember); }
.plan.restore .it .c-tick { stroke: var(--act-ink); }
.it small { display: block; font-size: var(--act-micro); opacity: .7; margin-top: 2px; }
html.mk .plans > .plan { opacity: 0; transform: translateY(2.5rem); }

.cmp { width: 100%; max-width: var(--act-demo-max); margin-top: 2rem; background: var(--act-white); border-radius: var(--act-radius-card); box-shadow: var(--act-ring); overflow: hidden; }
.cmp-r { display: grid; grid-template-columns: minmax(0,1.6fr) minmax(0,1fr) minmax(0,1fr); gap: 1rem; padding: 1rem 1.5rem; border-bottom: thin solid var(--act-line-soft); font-size: .9375rem; align-items: center; }
.cmp-r:last-child { border-bottom: 0; }
.cmp-r.head { padding: 1.125rem 1.5rem; background: var(--act-table-head); font-weight: 700; }
.cmp-r > span:last-child { font-weight: 600; }
.cmp-r.head > span:last-child { font-weight: 700; }
.yes { color: var(--act-confirmed-fg); font-weight: 600; }
.no { color: var(--act-muted); font-weight: 400; }
.fine { margin: 1rem 0 0; font-size: var(--act-small); color: var(--act-muted); text-align: center; }
@media (max-width: 600px) { .cmp-r { grid-template-columns: minmax(0,1.3fr) minmax(0,1fr) minmax(0,1fr); gap: .5rem; padding: .875rem 1rem; font-size: var(--act-small); } }

/* ---------------------------------------------------------------- 08 faq */
.faq { background: var(--act-white); padding: 9.375rem var(--act-gutter) 8.75rem; }
.faq-in { max-width: var(--act-faq-max); margin: 0 auto; }
.faq h2 { margin: 0 0 3rem; font-variation-settings: var(--act-display-wdth); font-weight: var(--act-weight-display); font-size: clamp(2.5rem, 5.2vw, 5rem); line-height: var(--act-lh-h2); letter-spacing: var(--act-track-h2); }
.faq details { border-top: thin solid var(--act-line); }
.faq details:last-child { border-bottom: thin solid var(--act-line); }
.faq summary { cursor: pointer; display: flex; justify-content: space-between; gap: 1.25rem; padding: 1.5rem 0; font-size: 1.25rem; font-weight: 600; letter-spacing: -.015em; }
.faq summary [data-plus] { font-size: 1.625rem; font-weight: 400; transition: transform .3s var(--act-ease-settle); }
.faq p { margin: 0 0 1.5rem; font-size: 1.0625rem; line-height: var(--act-lh-body); color: var(--act-body); max-width: 64ch; }

/* ---------------------------------------------------------------- 09 closing (ink) */
.close { background: var(--act-ink); color: var(--act-paper); padding: 9.375rem var(--act-gutter) 10rem; overflow: hidden; }
.orbit { position: relative; height: 25rem; max-width: var(--act-content-max); margin: 0 auto; }
.chip { position: absolute; left: 50%; top: 50%; background: var(--act-chip-on-ink); border-radius: var(--act-radius-pill); padding: .5625rem .9375rem; font-size: var(--act-small); font-weight: 600; white-space: nowrap; }
.c-mark { position: absolute; left: 50%; top: 50%; margin: -3.75rem 0 0 -3.75rem; overflow: visible; }
.orbit-ex { position: absolute; left: 0; right: 0; bottom: 0; text-align: center; font-size: var(--act-micro); color: var(--act-body-on-ink); }
.close-in { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 1.5rem; margin-top: 1.5rem; }
.close h2 { margin: 0; font-variation-settings: var(--act-display-wdth); font-weight: var(--act-weight-display); font-size: var(--act-h2); line-height: var(--act-lh-h2); letter-spacing: var(--act-track-h2); }
.close .lede { color: var(--act-body-on-ink); max-width: 35rem; }
.close-ctas { display: flex; gap: .625rem; flex-wrap: wrap; justify-content: center; }
.close-ctas .btn { height: 3.5rem; padding: 0 1.875rem; font-size: 1.0625rem; }
.close-ctas .btn-ghost-ink { padding: 0 1.625rem; font-weight: 600; }
html.mk .c-mark { opacity: 0; transform: scale(.6); }
html.mk .c-mark [data-c-bar] { opacity: 0; }
html:not(.mk) .chip { display: none; }
html:not(.mk) .orbit { height: 9.5rem; }
html:not(.mk) .orbit-ex { display: none; }


@media (prefers-reduced-motion: reduce) {
  .home * { scroll-behavior: auto !important; }
}

/* ---------------------------------------------------------------- small screens */
@media (max-width: 520px) {
  .h-copy h1 [data-mk-line] { white-space: normal; }
}
@media (max-width: 51.25rem) {
  .beat-head { min-height: 9.5rem; }
  .beat-panel { height: min(26rem, 52vh); min-height: 20rem; }
  html:not(.mk) .beat-panel { height: auto; }
}
/* the finished page has room: history rows wrap instead of cutting the text */
html:not(.mk) .h-row { height: auto; min-height: 3rem; padding-top: .5rem; padding-bottom: .5rem; }
html:not(.mk) .h-row > span { white-space: normal; }
@media (max-width: 600px) { html:not(.mk) .h-row { grid-template-columns: minmax(0, 1fr) minmax(0, .8fr) 4.5rem; gap: .5rem; padding-left: 1rem; padding-right: 1rem; font-size: .875rem; } }

/* ACT-255: links the specimen carries (the coverage page exists now) and the quiet compare-at row of beat 1 */
.cov-link { margin-top: .75rem; font-size: 1rem; font-weight: 600; text-decoration: underline; text-decoration-color: var(--act-ember); text-underline-offset: 5px; }
.faq-link { color: var(--act-ember-text); text-decoration: underline; text-underline-offset: .25rem; }
.wn-r.wn-quiet { padding: .8125rem 1rem; font-size: .9375rem; color: var(--act-admin-muted); }

/* the Shopify glyph slots of the specimen (data-shopify-glyph-slot): Shopify's trademark, files in public/assets/third-party/, never recoloured or cropped */
.glyph { display: inline-block; flex: none; background: center / contain no-repeat; }
.glyph-white { width: 1.0625rem; height: 1.0625rem; background-image: url('/assets/third-party/shopify-glyph-white.png'); }
.glyph-black { width: 1.0625rem; height: 1.0625rem; background-image: url('/assets/third-party/shopify-glyph-black.png'); }
.glyph-color { width: 1.0625rem; height: 1.0625rem; background-image: url('/assets/third-party/shopify-glyph-color.png'); }
.plan .btn { gap: .625rem; }
.home .btn-ink:hover .glyph-white { background-image: url('/assets/third-party/shopify-glyph-black.png'); }
.glyph-h1 { width: .68em; height: .78em; vertical-align: -.06em; margin-right: .12em; background-image: url('/assets/third-party/shopify-glyph-color.png'); }
.h-ctas .btn-ink, .close-ctas .btn-ember { gap: 10px; }
.admin-bar .glyph { width: 1rem; height: 1rem; }
.beat-panel.is-who { gap: .5rem; padding: 1.375rem; }
.beat-panel.is-restore { gap: .875rem; }

/* drawn product art (ACT-254): inline SVG on brand tokens */
.art { display: block; width: 100%; height: 100%; }
.art-sand { background: var(--h-sand); } .art-sage { background: var(--h-sage); } .art-sky { background: var(--h-sky); } .art-lilac { background: var(--h-lilac); }
.art .f-ink { fill: var(--act-ink); } .art .f-white { fill: var(--act-white); } .art .f-ember { fill: var(--act-ember); }
.art .s-ink { stroke: var(--act-ink); } .art .s-white { stroke: var(--act-white); }
.art .w5 { stroke-width: 5; stroke-linejoin: round; stroke-linecap: round; } .art .w14 { stroke-width: 14; stroke-linecap: round; }
.ph { overflow: hidden; }
@media (max-width: 520px) { .close { padding: 5rem var(--act-gutter) 5.5rem; } }

@media (max-width: 480px) { .h-ctas { gap: .5rem; } .h-ctas .btn, .h-ctas .btn-ghost { padding: 0 1rem; font-size: .9375rem; } }
html:not(.mk) .beats-grid { align-items: stretch; }

.mb { display: none; }
@media (max-width: 480px) { .mb { display: inline; } .h-ctas { padding-bottom: 1.75rem; } }

@media (min-width: 481px) { .h-copy h1 { font-size: calc(var(--act-h1-home) * .88); } }
@media (max-width: 480px) { .h-ctas { padding-left: var(--act-gutter); padding-right: var(--act-gutter); } }
@media (max-width: 419px) { .h-ctas { flex-direction: column; align-items: stretch; } }

/* ================================================================ PHONES (ACT-271): 599px and below
 * The desktop rules above are the specimen's and stay as they are. On a phone the pinned scenes are shorter (260svh, not
 * 370vh and 380vh: a thumb covers the distance in a third of the time), the tile grid is two full-width columns that
 * public/js/home-motion.js fits to the screen height, a stamp is sized to land inside its own tile, sections breathe
 * less, and every grid collapses to what a 390px screen can read. svh, so the browser bar does not move the scene. */
@media (max-width: 599px) {
  html.mk .hero { height: 260vh; height: 260svh; }
  html.mk .beats { height: 260vh; height: 260svh; }

  /* hero: tile captions, stamps, history rows */
  .h-cap { padding: .4375rem .125rem 0; font-size: .8125rem; line-height: 1.25; }
  .h-val { height: 1.125rem; margin-top: .0625rem; }
  html.mk .h-stamp { width: max-content; white-space: normal; padding: .375rem .5rem; font-size: .6875rem; line-height: 1.25; }
  html.mk .h-stamp span { font-size: .625rem; }
  .h-clock { font-size: 2.75rem; }
  .h-note { font-size: .9375rem; margin-top: .25rem; height: 1.125rem; }
  .h-title { font-size: 1.875rem; padding: 0 1rem; }
  .h-panel-head { height: 2.75rem; padding: 0 .875rem; font-size: .875rem; }
  html.mk .h-row { grid-template-columns: minmax(0, 1fr) 4.25rem; grid-template-rows: auto auto; column-gap: .5rem; row-gap: .125rem; align-content: center; padding: 0 .875rem; font-size: .8125rem; line-height: 1.25; }
  html.mk .h-row > span { white-space: normal; text-overflow: clip; }
  html.mk .h-row > span:nth-child(1) { grid-column: 1; grid-row: 1; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; }
  html.mk .h-row > span:nth-child(2) { grid-column: 1; grid-row: 2; font-size: .6875rem; white-space: nowrap; text-overflow: ellipsis; }
  html.mk .h-row > span:nth-child(3) { grid-column: 2; grid-row: 1 / 3; align-self: center; font-size: .6875rem; white-space: nowrap; }

  /* section rhythm */
  .sec { padding: 4.5rem var(--act-gutter) 4.5rem; }
  .sec-in { gap: 1rem; }
  .demo { margin-top: 1.5rem; }
  .h2 { font-size: 2.25rem; }
  .lede { font-size: 1.0625rem; line-height: 1.5; }

  /* 02 overwrite */
  .over-grid { padding: 1rem; gap: .75rem; }
  .over-list { min-height: 12.25rem; }
  .o-row { grid-template-columns: 4.5rem 1fr auto; gap: .5rem; padding: 0 .875rem; font-size: .8125rem; }
  .o-row .w { white-space: nowrap; }
  .over-hist-head { padding: .75rem .875rem; }

  /* 03 what it tracks: a compact two-column grid, one aligned label above its chips */
  .tracks { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .625rem; }
  .tk { padding: .875rem .875rem 1rem; border-radius: 1rem; gap: .5rem; }
  .tk > b { font-size: .9375rem; line-height: 1.2; }
  .tk > span { font-size: .8125rem; line-height: 1.4; overflow-wrap: anywhere; }
  .sources { margin-top: 1.25rem; gap: .5rem; }
  .sources > span:first-child { flex: 0 0 100%; text-align: center; margin: 0 0 .25rem; font-size: .9375rem; }
  .src { height: 2.25rem; padding: 0 .875rem; font-size: .875rem; }
  .cov-link { display: inline-flex; align-items: center; justify-content: center; text-align: center; min-height: 3rem; margin-top: .5rem; padding: .5rem 1.25rem; border-radius: var(--act-radius-pill); background: var(--act-white); box-shadow: inset 0 0 0 0.0625rem var(--act-outline); text-decoration: none; line-height: 1.25; }

  /* 04 search: a row is three short lines, not four cramped columns */
  .srch-head { padding: .75rem 1rem; }
  .srch-box { padding: .625rem 1rem; }
  .srch-cols { display: none; }
  .srch-rows { height: 16rem; }
  .q-row { height: 4rem; }
  .q-line { height: 4rem; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "a d" "b b" "c c"; column-gap: .75rem; row-gap: .125rem; align-content: center; align-items: baseline; padding: 0 1rem; font-size: .8125rem; line-height: 1.25; }
  .q-line > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .q-line > span:nth-child(1) { grid-area: a; }
  .q-line > span:nth-child(2) { grid-area: b; }
  .q-line > span:nth-child(3) { grid-area: c; font-size: .75rem; }
  .q-line > span:nth-child(4) { grid-area: d; font-size: .75rem; text-align: right; }

  /* 05 how it works: the card is as tall as its own content */
  .beats-stage { justify-content: flex-start; padding: 6rem var(--act-gutter) 2rem; }
  .beats-grid { row-gap: 1.25rem; }
  .rail { max-width: 12rem; }
  .beat-head { min-height: 0; }
  .beat-head h2 { font-size: 2rem; margin-bottom: .75rem; }
  .beat-head p { font-size: 1rem; line-height: 1.5; max-width: none; }
  .beat-panel { align-self: start; height: auto; min-height: 0; padding: 1.125rem; border-radius: 1.5rem; }
  .beat-panel.is-who { padding: 1.125rem; }
  .wn-h, .wn-r { grid-template-columns: 5.25rem 1fr 1fr; padding-left: .75rem; padding-right: .75rem; }
  .wn-r, .wn-r.wn-quiet { font-size: .875rem; }
  .b2-price { font-size: 3rem; }
  .b2-steps { font-size: .8125rem; }
  .beats-flex { display: none; }
  .b2-btn { margin-top: .25rem; }
  .b1-step { font-size: .8125rem; }
  .b1-unk { margin-top: .5rem; }
  .bp-note { margin-top: .5rem; }

  /* 06 timeline: the same thirty-five squares, small enough to sit on one 300px track */
  .tl { padding: 1.5rem .875rem 1.25rem; }
  .tl-row > span { font-size: .8125rem; white-space: nowrap; }
  .tl-sq { width: .1875rem; height: .75rem; margin-left: -.09375rem; border-radius: 2px; top: .8125rem; }
  .tl-a.before { box-shadow: none; background: var(--h-tick); }
  .tl-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .625rem; margin-top: 4rem; }
  .tl-stat { padding: 1rem; border-radius: 1rem; }
  .tl-stat .n { font-size: 2.25rem; }
  .tl-stat .d { font-size: .8125rem; line-height: 1.35; }

  /* 07 pricing */
  .plan { padding: 1.375rem; gap: 1.25rem; border-radius: 1.5rem; }
  .price-row .amt { font-size: 3.5rem; }
  .plan.restore .price-row { height: 3.5rem; }
  .price-alt { margin-top: -.75rem; }
  .plans { gap: .875rem; }
  .cmp { margin-top: 1.5rem; }

  /* 08 faq, 09 closing */
  .faq { padding: 4.5rem var(--act-gutter) 4.5rem; }
  .faq h2 { margin-bottom: 1.75rem; font-size: 2.25rem; }
  .faq summary { padding: 1.125rem 0; font-size: 1.0625rem; align-items: center; line-height: 1.3; }
  .faq summary [data-plus] { line-height: 1; }
  .faq p { font-size: 1rem; margin-bottom: 1.125rem; }
  .close { padding: 4rem var(--act-gutter) 4.5rem; }
  .orbit { height: 15rem; }
  .chip { padding: .4375rem .75rem; font-size: .75rem; }
  .c-mark { width: 5.5rem; height: 5.5rem; margin: -2.75rem 0 0 -2.75rem; }
  .close-in { margin-top: .5rem; }
  .close h2 { font-size: 2.25rem; }

  /* the footer is the shared chrome; on the Home page its sixteen links sit in two columns */
  .home .am-foot-top { padding: 1.5rem 0; }
  .home .am-foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.75rem 1rem; padding: 2rem 0; }
  .home .am-foot-cols div { gap: .625rem; font-size: .9375rem; }
  .home .am-foot-sign-wrap { padding: 1.25rem 0 2rem; gap: 1.25rem; }
  .home .am-foot-about { font-size: .9375rem; }
  .home .am-foot-legal { padding: 1.5rem 0 2rem; }
}

/* a short phone (375x667): the stamp keeps its title only; the history row it lands in carries the time and who, with its confidence */
@media (max-width: 599px) and (max-height: 699px) { html.mk .h-stamp span { display: none; } }
