/* home.css: the home page's own placing and sizing, with the tokens of system.css and the components of
   components.css. */

/* ---------- hero: full-bleed field footage under a giant headline (kit rotate) ---------- */
[data-kit-scene="rotate"] [data-kit-slide] { position: absolute; inset: 0; margin: 0; visibility: hidden; overflow: hidden; }
[data-kit-scene="rotate"] [data-kit-slide][data-kit-on] { visibility: visible; z-index: 2; opacity: var(--kit-move, 1); transform: translateX(calc((1 - var(--kit-move, 1)) * 4%)); }
[data-kit-scene="rotate"]:not(:has([data-kit-slide][data-prev])) [data-kit-slide][data-kit-on] { transform: none; opacity: 1; }
[data-kit-scene="rotate"] [data-kit-slide][data-prev] { visibility: visible; z-index: 1; }
[data-kit-scene="rotate"] [data-kit-slide] video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
[data-kit-scene="rotate"]:not(:has([data-kit-slide][data-kit-on])) [data-kit-slide]:not([data-kit-slide] ~ [data-kit-slide]) { visibility: visible; }
[data-kit-scene="rotate"] [data-kit-slide] video { inset: 1px; width: calc(100% - 2px); height: calc(100% - 2px); }

.hero { position: relative; isolation: isolate; display: grid; background: var(--c-ink); color: var(--c-on-ink); overflow: hidden; }
.hero__media { position: absolute; inset: 0; z-index: -1; background: var(--c-ink); }
.hero__slide video { object-position: var(--pos, 50% 50%); }
/* each slide's own shade, under its card: the blue glow at the far corner, the top darkened for the menu, the words' side
   and the foot darkened */
.hero__slide::after { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(42% 55% at 96% 0%, var(--c-glow) 0%, rgba(0, 85, 255, 0) 70%),
    linear-gradient(180deg, rgba(13, 13, 13, 0.6) 0%, rgba(13, 13, 13, 0) 18%),
    linear-gradient(90deg, rgba(13, 13, 13, 0.95) 0%, rgba(13, 13, 13, 0.9) 30%, rgba(13, 13, 13, 0.8) 48%, rgba(13, 13, 13, 0.55) 62%, rgba(13, 13, 13, 0.16) 80%, rgba(13, 13, 13, 0) 92%),
    linear-gradient(0deg, rgba(13, 13, 13, 0.75) 0%, rgba(13, 13, 13, 0) 30%); }
.hero__card { position: absolute; z-index: 2; right: max(var(--gutter), 4%); bottom: 17%; width: min(22rem, 34%); opacity: 0; transform: translateY(12px); transition: opacity 600ms var(--ease-out) 650ms, transform 700ms var(--ease-out) 650ms; }
[data-kit-slide][data-kit-on] .hero__card, [data-kit-scene="rotate"]:not(:has([data-kit-slide][data-kit-on])) .hero__slide--0 .hero__card { opacity: 1; transform: none; }
.hero__inner { position: relative; z-index: 4; align-self: end; display: grid; justify-items: start; padding-top: calc(var(--header-h) + clamp(2.5rem, 1rem + 5vw, 6rem)); padding-bottom: clamp(5rem, 3rem + 4vw, 7.5rem); pointer-events: none; }
.hero__inner > * { pointer-events: auto; }  /* the empty rest of the words' box lies over the field card: it lets it through */
.hero__title { margin: 0 0 clamp(1.25rem, 0.8rem + 1.2vw, 2rem); font-family: var(--font-display); font-size: clamp(2.5rem, 0.55rem + 5.25vw, 6.5rem); line-height: 1.0; font-weight: 600; letter-spacing: -0.045em; color: var(--c-on-ink); }
.hero__lines { display: block; }
/* each line's mask holds the font's whole height (Inter reaches about 0.11em past a line of 1.0 above and below) */
.hero .line { display: block; overflow: hidden; padding: 0.14em 0 0.16em; margin: -0.14em 0 -0.14em; }
.hero .line__in { display: block; }
/* the field word wipes away toward its full stop and back in: its letters are never squashed */
.hero__word { display: inline-block; padding: 0 0.12em 0.02em; margin-left: -0.02em; border-radius: 0.1em; background: var(--c-brand); color: var(--c-on-brand); clip-path: inset(-0.25em 0 -0.25em calc(var(--kit-swap, 0) * 100%) round 0.1em); opacity: calc(1 - var(--kit-swap, 0) * 0.6); white-space: nowrap; }
.hero__lede { margin: 0 0 clamp(1.5rem, 1rem + 1.5vw, 2.5rem); max-width: 33rem; font-size: var(--fs-lead); line-height: 1.5; color: var(--c-on-ink); }
.picker--hero { width: min(100%, 34rem); background: rgba(13, 13, 13, 0.7); }
.hero__ruler { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 1.75rem; z-index: 4; }
.hero__stop { top: calc(var(--header-h) + 1rem); right: var(--gutter); }
.hero__beat--0 { opacity: 1; box-shadow: 0 0 14px 2px rgba(0, 85, 255, 0.55); }
#hero:has(.hero__slide--1[data-kit-on]) :is(.hero__beat--0, .hero__beat--1),
#hero:has(.hero__slide--2[data-kit-on]) :is(.hero__beat--0, .hero__beat--1, .hero__beat--2),
#hero:has(.hero__slide--3[data-kit-on]) :is(.hero__beat--0, .hero__beat--1, .hero__beat--2, .hero__beat--3),
#hero:has(.hero__slide--4[data-kit-on]) .hero__beat { opacity: 1; box-shadow: 0 0 14px 2px rgba(0, 85, 255, 0.55); }
@media (prefers-reduced-motion: no-preference) {
  .hero .line__in { animation: line-rise var(--dur-slow) var(--ease-out) both; animation-delay: calc(140ms + var(--i, 0) * 110ms); }
  .hero__lede, .picker--hero { animation: soft-in 800ms var(--ease-out) both; animation-delay: 520ms; }
}
@keyframes line-rise { from { transform: translateY(135%); } }
@keyframes soft-in { from { opacity: 0; transform: translateY(14px); } }

@media (min-width: 900px) {
  .hero { min-height: max(40rem, 100svh); }
  .hero__inner { max-width: min(var(--max-w), 100% - 2 * var(--gutter)); }
  .hero__title { max-width: 11.2em; }
}
@media (max-width: 899px) {
  .hero { grid-template-rows: auto auto auto; }
  .hero__media { position: relative; inset: auto; z-index: 0; grid-area: 2 / 1; aspect-ratio: 4 / 5; max-height: 34rem; margin: 0 var(--gutter); border-radius: var(--radius-xl); overflow: hidden; }
  .hero__slide::after { background: radial-gradient(60% 50% at 100% 0%, var(--c-glow) 0%, rgba(0, 85, 255, 0) 70%), linear-gradient(0deg, rgba(13, 13, 13, 0.55) 0%, rgba(13, 13, 13, 0) 38%); }
  .hero__inner { grid-area: 1 / 1; padding-top: calc(var(--header-h) + 2rem); padding-bottom: var(--space-4); }
  /* the longest field line, "plumbing business.", is 8.2em: the headline never grows taller when the field word changes */
  .hero__title { font-size: min(clamp(2.5rem, 0.55rem + 5.25vw, 6.5rem), (100vw - 2 * var(--gutter)) / 8.4); }
  .hero__word { display: inline; white-space: normal; clip-path: none; opacity: calc(1 - var(--kit-swap, 0)); -webkit-box-decoration-break: clone; box-decoration-break: clone; }
  .hero__card { left: 0.75rem; right: 0.75rem; bottom: 0.75rem; width: auto; }
  .hero__ruler { position: relative; grid-area: 3 / 1; left: auto; right: auto; bottom: auto; margin: var(--space-3) var(--gutter) var(--space-6); }
  /* on the phone the stop sits at the top left of the footage panel: clear of the field's card at its foot, and of the
     workers, who stand on the right of every slide */
  .hero__stop { position: relative; grid-area: 2 / 1; z-index: 3; top: auto; right: auto; justify-self: start; align-self: start; margin: 0.75rem 0 0 calc(var(--gutter) + 0.75rem); }
  .hero__slide video { object-position: var(--pos-phone, 50% 50%); }
}

/* ---------- plan: the results-first tour ---------- */
.tour__tabs { display: grid; gap: var(--space-2); margin-bottom: var(--space-3); }
.tour__tab { position: relative; display: grid; gap: 0.25rem; padding: 1rem 1.1rem 0.9rem; border-radius: var(--radius-l); border: 1px solid var(--c-line); background: var(--c-white); color: var(--c-ink); text-align: left; font: inherit; cursor: pointer; transition: border-color var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out); }
.tour__tab:hover { border-color: #C9C9D2; }
.tour__tab[aria-selected="true"] { border-color: var(--c-ink); box-shadow: var(--shadow-m); }
.tour__tab-title { font-family: var(--font-display); font-size: 1.125rem; font-weight: 600; letter-spacing: -0.015em; line-height: 1.25; }
.tour__tab-line { font-size: var(--fs-small); color: var(--c-ink-soft); }
.tour__progress { margin-top: 0.6rem; height: 14px; overflow: hidden; }
.tour__fill { position: absolute; inset: 0 auto 0 0; width: 0; background: linear-gradient(to right, var(--c-brand) 0 1px, transparent 1px) 0 100% / 60px 14px repeat-x, linear-gradient(to right, var(--c-brand) 0 2px, transparent 2px) 0 100% / 12px 9px repeat-x; }
.tour__tab[aria-selected="true"] .tour__fill { width: calc(var(--kit-fill, 1) * 100%); }
.tour__stage { height: clamp(30rem, 26rem + 10vw, 37rem); display: grid; }
.tour__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tour__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13, 13, 13, 0.35), rgba(13, 13, 13, 0.55)); }
.tour__panel { position: relative; z-index: 1; grid-area: 1 / 1; display: grid; place-items: center; padding: clamp(1rem, 0.5rem + 2vw, 2.5rem); outline-offset: -6px; }
.tour__scene { width: 100%; }
.tour__stop { top: 1rem; right: 1rem; }
@media (min-width: 900px) { .tour__tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 899px) { .tour__tab-line { display: none; } .tour__stage { height: 33rem; } }

/* ---------- how: one track, the chat walking across three steps ---------- */
.track { position: relative; overflow: hidden; isolation: isolate; border-radius: var(--radius-xl); padding: clamp(1.25rem, 0.4rem + 3.2vw, 3.5rem); }
.track__media { position: absolute; inset: 0; z-index: -1; }
.track__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.track__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13, 13, 13, 0.3), rgba(13, 13, 13, 0.58)); }
.track__stop { top: 1rem; right: 1rem; }
.track__rail { display: block; margin: 0 0 var(--space-3); }
.track__fill { position: absolute; inset: 0 auto 0 0; width: 16.6%; background: linear-gradient(to right, var(--c-brand) 0 1px, transparent 1px) 0 100% / 60px 14px repeat-x, linear-gradient(to right, var(--c-brand) 0 2px, transparent 2px) 0 100% / 12px 9px repeat-x; transition: width 900ms var(--ease-out); }
.track:has(.step[data-kit-phase="2"][aria-current]) .track__fill { width: 50%; }
.track:has(.step[data-kit-phase="3"][aria-current]) .track__fill { width: 100%; }
.track__steps { display: grid; gap: var(--space-3); margin: 0; padding: 0; list-style: none; }
.step { position: relative; display: grid; align-content: start; gap: 0.6rem; min-height: clamp(28.5rem, 47.5rem - 20.5vw, 36rem); padding: 1.4rem 1.4rem 3.4rem; border-radius: var(--radius-l); background: rgba(13, 13, 13, 0.56); border: 1px solid var(--c-glass-edge); color: var(--c-on-ink); -webkit-backdrop-filter: blur(6px) saturate(1.15); backdrop-filter: blur(6px) saturate(1.15); transition: border-color var(--dur-med) var(--ease-out); }  /* a light blur: the hands on the phone read through the glass */
.step[aria-current] { border-color: rgba(61, 123, 255, 0.7); }
.step__dot { display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%; border: 1px solid var(--c-glass-edge); font-family: var(--font-mono); font-size: var(--fs-mono); letter-spacing: 0.04em; color: var(--c-on-ink); transition: background-color var(--dur-med) var(--ease-out), border-color var(--dur-med) var(--ease-out); }
.step[aria-current] .step__dot, .step:has(~ .step[aria-current]) .step__dot { background: var(--c-brand); border-color: var(--c-brand); color: var(--c-on-brand); }
.step__line { margin: 0; color: var(--c-soft-on-ink); font-size: var(--fs-small); }
.step__chat { display: grid; align-content: start; gap: 0.55rem; margin-top: 0.6rem; }
.msg { margin: 0; max-width: 92%; padding: 0.7rem 0.9rem; border-radius: 16px; font-size: 0.9375rem; line-height: 1.35; opacity: calc(var(--kit-in, 1) * (1 - var(--kit-out, 0))); transform: translateY(calc((1 - var(--kit-in, 1)) * 10px)); }
.msg--bot { justify-self: start; background: rgba(249, 249, 251, 0.1); border: 1px solid var(--c-glass-edge); border-bottom-left-radius: 6px; }
.msg--you { justify-self: end; background: var(--c-brand); color: var(--c-on-brand); border-bottom-right-radius: 6px; font-weight: 600; }
.msg--chips { display: flex; gap: 0.4rem; padding: 0; max-width: none; }
.msg--chips span { display: grid; place-items: center; min-width: 2.6rem; height: 2.3rem; padding: 0 0.6rem; border-radius: 10px; border: 1px solid var(--c-glass-edge); font-family: var(--font-mono); font-size: 0.875rem; transition: background-color 200ms var(--ease-out); }
.msg--chips [data-kit-pick][data-kit-on] { background: var(--c-brand); border-color: var(--c-brand); color: var(--c-on-brand); }
.msg--typing { display: inline-flex; gap: 5px; justify-self: start; padding: 0.85rem 1rem; background: rgba(249, 249, 251, 0.1); border-radius: 16px 16px 16px 6px; }
.msg--typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--c-on-ink); opacity: 0.5; animation: typing-dot 1s infinite ease-in-out; }
.msg--typing i:nth-child(2) { animation-delay: 0.15s; } .msg--typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes typing-dot { 50% { opacity: 1; transform: translateY(-3px); } }
.msg--check { display: grid; gap: 0.5rem; width: 92%; }
.msg__bar { position: relative; display: block; height: 5px; border-radius: 3px; background: rgba(249, 249, 251, 0.14); overflow: hidden; }
.msg__bar [data-kit-bar] { position: absolute; inset: 0 auto 0 0; width: calc(var(--kit-fill, 0) * 100%); border-radius: 3px; background: var(--c-brand); }
.msg--plan { display: grid; gap: 0.3rem; width: 92%; background: var(--c-paper); color: var(--c-ink); border-radius: 16px; }
.msg--plan b { font-size: 1rem; }
.msg--plan span { position: relative; padding-left: 1rem; font-size: 0.875rem; color: var(--c-ink-soft); }
.msg--plan span::before { content: ''; position: absolute; left: 0; top: 0.55em; width: 6px; height: 6px; border-radius: 50%; background: var(--c-brand); }
.msg--booked { display: flex; align-items: center; gap: 0.6rem; width: 92%; padding: 0.5rem 0.75rem 0.5rem 0.55rem; background: rgba(249, 249, 251, 0.08); border: 1px solid var(--c-glass-edge); }
.msg--booked > span:last-child { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.1rem 0.6rem; }
.msg--booked b { font-size: 0.9375rem; }
.msg--booked small { font-family: var(--font-mono); font-size: var(--fs-mono); color: var(--c-soft-on-ink); letter-spacing: 0.03em; }
.msg__icon { flex: none; display: grid; place-items: center; width: 1.75rem; height: 1.75rem; border-radius: 9px; background: var(--c-brand); color: var(--c-on-brand); }
.step__ruler { position: absolute; left: 1.4rem; right: 1.4rem; bottom: 1.1rem; }
.step__beat { position: absolute; left: calc(1.4rem + var(--at, 0.5) * (100% - 2.8rem)); bottom: 1.1rem; width: 3px; height: 22px; margin-left: -1px; border-radius: 2px; background: var(--c-brand); box-shadow: 0 0 14px 2px rgba(0, 85, 255, 0.6); transform-origin: 50% 100%; transform: scaleY(var(--kit-in, 1)); opacity: calc(1 - var(--kit-out, 0)); }
.step { transition: opacity 500ms var(--ease-out), border-color var(--dur-med) var(--ease-out); }
/* on the computer the steps not reached yet rest dimmed while the chat plays */
@media (min-width: 900px) {
  .track__steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .step[aria-current] ~ .step { opacity: 0.72; }
}
/* on the phone the three steps share one place and the chat walks through them in turn; the rail above shows how far */
@media (max-width: 899px) {
  .track__rail { margin: 0.35rem 3.25rem var(--space-2) 0; }
  .track__steps { grid-template-areas: "step"; }
  /* the step leaving fades out first and the next fades in after it: two see-through cards never show at once */
  .step { grid-area: step; min-height: calc(35.875rem - 17.5vw); opacity: 0; transition: opacity 180ms var(--ease-out), border-color var(--dur-med) var(--ease-out); }
  .step[aria-current], .track__steps:not(:has(.step[aria-current])) .step:first-child { opacity: 1; z-index: 1; transition: opacity 420ms var(--ease-out) 200ms, border-color var(--dur-med) var(--ease-out); }
}
@media (max-width: 899px) and (prefers-reduced-motion: reduce) {
  .track__rail { display: none; }
  .track__steps { grid-template-areas: none; }
  .step, .step[aria-current], .track__steps:not(:has(.step[aria-current])) .step:first-child { grid-area: auto; opacity: 1; transition: none; }
}

/* ---------- worth: the calculator, the year as a measured beat ---------- */
.worth__frame { position: relative; }
.worth__stop { top: 1rem; right: 1rem; color: var(--c-ink); background: rgba(249, 249, 251, 0.9); border-color: var(--c-line); }
.worth__stop:hover { background: var(--c-white); }
.worth__box { --calc-ink: var(--c-ink); --calc-ink-soft: var(--c-ink-soft); --calc-track: var(--c-paper-alt); --calc-fill: var(--c-brand); --calc-thumb: var(--c-white); --calc-thumb-edge: var(--c-brand); --calc-focus: var(--c-brand); --calc-surface: var(--c-white); --calc-font: var(--font-ui); --calc-font-figure: var(--font-display); --calc-track-radius: 3px; --calc-thumb-radius: 50%; --calc-value-size: 1.375rem; --calc-total-size: clamp(2.25rem, 1.6rem + 4vw, 5rem); --calc-figure-size: clamp(1.75rem, 1.3rem + 1.4vw, 2.5rem); --calc-gap: 2rem;
  position: relative; display: grid; gap: var(--space-4); padding: clamp(1.25rem, 0.6rem + 2.6vw, 3rem); border-radius: var(--radius-xl); background: var(--c-white); border: 1px solid var(--c-line); box-shadow: var(--shadow-m); overflow: hidden; }
.worth__box::before { content: ''; position: absolute; right: -10%; top: -30%; width: 60%; height: 90%; background: radial-gradient(closest-side, rgba(0, 85, 255, 0.14), rgba(0, 85, 255, 0)); pointer-events: none; }
/* in one column the first slider's figure sits at the box's top right: the stop icon gets a strip of its own above it */
@media (max-width: 959px) { .worth__box { padding-top: 4.25rem; } }
.worth__controls, .worth__result { position: relative; min-width: 0; }
.worth__box .calc-slider__label { font-weight: 600; }
.worth__box .calc-slider__value { font-family: var(--font-mono); font-weight: 500; }
.worth__box .calc-scale { font-family: var(--font-mono); font-size: var(--fs-mono); }
.worth__result { display: grid; gap: var(--space-3); align-content: start; }
.worth__box .calc-total { margin: 0; display: grid; gap: 0.2rem; }
.worth__box .calc-total__value { font-weight: 600; letter-spacing: -0.04em; color: var(--c-ink); }
.worth__box .calc-total__label { font-size: var(--fs-small); color: var(--c-ink-soft); }
.worth__box .calc-figures { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-3); padding-top: var(--space-3); border-top: 1px solid var(--c-line); }
.worth__box .calc-figure { margin: 0; display: grid; gap: 0.15rem; }
/* below 520px the two figures stand one above the other: side by side, the widest monthly figure would be sized by its narrow
   column, and calc.js would keep nudging it */
@media (max-width: 519px) { .worth__box .calc-figures { grid-template-columns: minmax(0, 1fr); gap: var(--space-2); } }
.worth__box .calc-figure__value { font-weight: 600; letter-spacing: -0.03em; }
.worth__box .calc-figure__label { font-size: var(--fs-small); color: var(--c-ink-soft); }
.worth__box .calc-note { margin: 0; font-size: var(--fs-small); color: var(--c-ink-soft); }
.worth__picture { position: relative; }
.beatyear { position: relative; }
.beatyear__svg { display: block; width: 100%; height: clamp(10rem, 8rem + 6vw, 14rem); overflow: visible; }
/* each month fades in as it lands; no transform, so once built the picture never re-rasterizes by itself */
.beatyear__month { fill: var(--c-brand); opacity: 0; transition: opacity 280ms var(--ease-out); }
.beatyear__month[data-kit-on] { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .beatyear__month { transition: none; } }
.beatyear__ruler { display: block; height: 14px; margin-top: 2px; }
.beatyear__months { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); margin-top: 0.4rem; font-family: var(--font-mono); font-size: var(--fs-mono); color: var(--c-ink-soft); }
.beatyear__months span { padding-left: 0.2rem; }
.beatyear__key { display: flex; align-items: center; gap: 0.6rem; margin: 0.2rem 0 0; font-size: var(--fs-small); color: var(--c-ink-soft); }
.beatyear__key-line { flex: none; width: 3px; height: 18px; border-radius: 2px; background: var(--c-brand); }
@media (min-width: 960px) { .worth__box { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-5); align-items: center; } .worth__controls { padding-right: var(--space-4); border-right: 1px solid var(--c-line); } }

/* ---------- outcomes: four cards over footage ---------- */
.outcomes__grid { position: relative; display: grid; gap: var(--space-5) var(--space-3); }
.outcomes__stop { top: -3.5rem; right: 0; }
.ocard { display: grid; gap: 0.6rem; align-content: start; }
.ocard__media { aspect-ratio: 16 / 11; margin-bottom: 0.6rem; }
.ocard__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ocard__media::after { content: ''; position: absolute; inset: 0; background: rgba(13, 13, 13, 0.18); pointer-events: none; }
.ocard__scene { position: absolute; z-index: 2; width: min(92%, 23rem); }
.ocard--found .ocard__scene { right: 3%; bottom: 5%; }
.ocard--answer .ocard__scene { left: 4%; top: 6%; }
.ocard--reviews .ocard__scene { left: 4%; bottom: 5%; }
.ocard--work .ocard__scene { left: 3%; bottom: 5%; }  /* the roofer kneels across the clip's top and right: the chart sits low left, on the shingles */
.ocard__title { color: var(--c-on-ink); }
.ocard__line { margin: 0; max-width: 32rem; color: var(--c-soft-on-ink); }
.ocard__link { justify-self: start; margin-top: 0.2rem; }
@media (min-width: 900px) { .outcomes__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 899px) { .ocard__media { aspect-ratio: 4 / 5; } .outcomes__stop { top: -3.25rem; } }

/* ---------- compare: guesswork against a steady beat ---------- */
.cmp { position: relative; display: grid; gap: var(--space-3); }
.cmp__stop { top: -3.5rem; right: 0; color: var(--c-ink); background: rgba(249, 249, 251, 0.9); border-color: var(--c-line); }
.cmp__side { display: flex; align-items: flex-end; min-height: clamp(32rem, 26rem + 10vw, 38rem); padding: clamp(1rem, 0.6rem + 1.2vw, 1.75rem); }
.cmp__img, .cmp__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cmp__side--before .cmp__img { filter: grayscale(1) contrast(0.92) brightness(0.92); }
.cmp__side--after .cmp__video { object-position: 50% 30%; }
.cmp__card { position: relative; z-index: 1; width: 100%; padding: 1.35rem 1.4rem 1.2rem; border-radius: var(--radius-l); background: rgba(255, 255, 255, 0.9); color: var(--c-ink); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: var(--shadow-l); }
.cmp__card--ink { background: rgba(13, 13, 13, 0.74); color: var(--c-on-ink); border: 1px solid var(--c-glass-edge); }
.cmp__tag { margin: 0; font-family: var(--font-mono); font-size: var(--fs-mono); font-weight: 500; letter-spacing: var(--track-mono); text-transform: uppercase; color: var(--c-ink-soft); }
.cmp__tag--brand { color: var(--c-brand-on-ink); }
.cmp__list { display: grid; gap: 0.6rem; margin: 0.9rem 0 1.3rem; padding: 0; list-style: none; }
.cmp__item { display: flex; align-items: center; gap: 0.65rem; min-height: 1.9rem; font-size: 1.0625rem; font-weight: 500; line-height: 1.3; }
.cmp__text { position: relative; transition: color 300ms var(--ease-out); }
.cmp__strike { position: absolute; left: -2px; right: -2px; top: 52%; height: 2px; border-radius: 1px; background: var(--c-ink); transform-origin: 0 50%; transform: scaleX(calc(var(--kit-in, 0) * (1 - var(--kit-out, 0)))); }
.cmp__text:has(.cmp__strike[data-kit-on]) { color: var(--c-ink-soft); }
.cmp__tick { flex: none; display: grid; place-items: center; width: 1.75rem; height: 1.75rem; border-radius: 50%; background: var(--c-brand); color: var(--c-on-brand); transform: scale(calc(var(--kit-in, 0) * (1 - var(--kit-out, 0)))); }
.cmp__tick svg { width: 14px; height: 14px; }
.cmp__item--yes span { color: var(--c-soft-on-ink); transition: color 300ms var(--ease-out); }
.cmp__item--yes:has(.cmp__tick[data-kit-on]) span { color: var(--c-on-ink); }
.cmp__ruler { display: block; }
.cmp__mark { position: absolute; bottom: 0; left: calc(var(--at, 0.5) * 100%); width: 2px; height: 22px; margin-left: -1px; border-radius: 1px; background: var(--c-ink-soft); transform-origin: 50% 100%; transform: scaleY(var(--kit-in, 0)); opacity: calc(1 - var(--kit-out, 0)); }
.cmp__beat { opacity: calc(0.18 + 0.82 * var(--kit-in, 0) * (1 - var(--kit-out, 0))); box-shadow: 0 0 calc(14px * var(--kit-in, 0)) calc(2px * var(--kit-in, 0)) rgba(0, 85, 255, 0.6); transition: none; }
.promises { display: grid; gap: var(--space-2) var(--space-4); margin: var(--space-4) 0 0; padding: 0; list-style: none; }
.promises li { display: flex; align-items: center; gap: 0.6rem; font-weight: 600; }
.promises svg { flex: none; padding: 4px; width: 26px; height: 26px; border-radius: 50%; background: var(--c-brand); color: var(--c-on-brand); }
@media (min-width: 960px) { .cmp { grid-template-columns: repeat(2, minmax(0, 1fr)); } .promises { grid-template-columns: repeat(4, auto); justify-content: start; } }
@media (min-width: 600px) and (max-width: 959px) { .promises { grid-template-columns: repeat(2, auto); } }

/* ---------- who: the minimalist grid with hover previews ---------- */
.who__grid { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-4) var(--space-3); }
.who__stop { top: -3.5rem; right: 0; }
.tile--more { grid-column: 1 / -1; }
.tile--more .tile__media { aspect-ratio: 16 / 10; }
@media (min-width: 960px) {
  .who__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .tile--more { grid-column: span 2; }
  .tile--more .tile__media { aspect-ratio: 1.66; }
}

/* ---------- faq ---------- */
.faq__grid { display: grid; gap: var(--space-4); }
.faq__head { display: grid; gap: var(--space-3); align-content: start; }
@media (min-width: 960px) { .faq__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-5); } .faq__head { position: sticky; top: calc(var(--header-h) + 2rem); } }

/* ---------- close: the idea's line, lit word by word ---------- */
.close-band { padding-block: clamp(7rem, 4rem + 10vw, 14rem); }
.close-band__stop { top: 1.5rem; right: var(--gutter); }
.close-band__inner { display: grid; gap: var(--space-5); align-items: end; }
.close-band__act { display: grid; gap: var(--space-3); justify-items: start; }
.close-band .close-band__lede { color: var(--c-on-ink); text-shadow: 0 1px 14px rgba(13, 13, 13, 0.7); }
/* the home's shot (a suburb at sunset) is bright on the picker's side too: a second shade behind the lede and the note */
#close .close-band__media::after { background:
  radial-gradient(60% 70% at 18% 62%, rgba(13, 13, 13, 0.84) 0%, rgba(13, 13, 13, 0.42) 60%, rgba(13, 13, 13, 0.18) 100%),
  radial-gradient(42% 60% at 78% 42%, rgba(13, 13, 13, 0.72) 0%, rgba(13, 13, 13, 0.5) 50%, rgba(13, 13, 13, 0) 100%),
  linear-gradient(180deg, var(--c-ink) 0%, rgba(13, 13, 13, 0) 22%, rgba(13, 13, 13, 0) 70%, var(--c-ink) 100%); }
.picker--close { width: min(100%, 34rem); background: rgba(13, 13, 13, 0.72); }
.close-band::before { content: ''; position: absolute; left: 50%; bottom: -20%; width: 70%; height: 70%; background: radial-gradient(closest-side, rgba(0, 85, 255, 0.22), rgba(0, 85, 255, 0)); pointer-events: none; z-index: -1; }
@media (min-width: 960px) { .close-band__inner { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } }
