/* RHAD45 webinar registration page, built to the "Final Copy & Structure" review (three compact scrolls).
   Tokens follow the RHAD45 LP. Fonts: Unbounded (display) + Plus Jakarta Sans (text) only. */

:root {
  --hero-ink: #12161C;
  --ink: #1F2124;
  --ink-soft: #565C64;
  --step: #F3F2EF;
  --step-2: #E8E6E1;
  --line: #D8D3CC;
  --canvas: #FFFFFF;
  --red: #D21131;
  --red-press: #A90C26;
  --red-hot: #F03131;
  --red-on-ink: #FF5A5F;
  --on-ink-1: #F1F2F4; --on-ink-2: #D9DCE0; --on-ink-3: #B9BEC5;
  --card-soft: #232931;
  --ok: #176348;
  --err: #A21D24;

  --display: "Unbounded", "Arial Black", system-ui, sans-serif;
  --text: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --m: clamp(18px, 3.6vw, 56px);
  --max: 1320px;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 16px; }
body { margin: 0; font: 400 17px/1.6 var(--text); color: var(--ink); background: var(--canvas); }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
h1, h2, h3 { text-wrap: balance; }
p, li, dd, summary { text-wrap: pretty; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--m); }
.needs { background: #FFE58A; color: #1F2124; font: 700 12px/1.4 var(--text); padding: 1px 6px; letter-spacing: 0; text-transform: none; white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 60; background: #fff; color: var(--ink); padding: 12px 16px; font-weight: 700; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--red-hot); outline-offset: 3px; }

/* Buttons and links */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 28px; font: 700 16px/1 var(--text); letter-spacing: .01em; text-decoration: none; border: 0; cursor: pointer; transition: background-color .2s, transform .2s var(--ease); }
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: var(--red-press); }
.btn--red:active { transform: translateY(1px); }
.btn--lg { min-height: 60px; padding: 0 36px; font-size: 17px; }
.btn[aria-busy="true"] { opacity: .7; cursor: progress; }
.link { color: inherit; font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.link:hover { text-decoration-color: var(--red); }

.h2 { font: 600 clamp(28px, 3.3vw, 46px)/1.12 var(--display); letter-spacing: -0.025em; }

/* ---------- Header: logo and the dates, over the hero ---------- */
.top { position: absolute; inset: 0 0 auto; z-index: 10; padding-block: 22px; }
.top__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.top__logo { display: inline-flex; align-items: center; min-height: 44px; }
.top__logo img { height: 34px; width: auto; }
.top__short { display: none; }
.top__tag { color: var(--on-ink-3); font: 600 14px/1.3 var(--text); }

/* ---------- SCROLL 01 · Hero ---------- */
.hero { background: var(--hero-ink); color: var(--on-ink-1); padding: 112px 0 clamp(48px, 6vw, 88px); position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: var(--red); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.hero h1 { margin-top: 14px; font: 700 clamp(30px, 3.5vw, 52px)/1.08 var(--display); letter-spacing: -0.03em; color: #fff; max-width: 20ch; }
.hero__quote { display: block; color: var(--red-on-ink); }


.hero__promise { margin-top: clamp(22px, 2.6vw, 30px); font: 600 clamp(19px, 1.7vw, 23px)/1.35 var(--display); letter-spacing: -0.02em; color: #fff; max-width: 30ch; }
.hero__lede { margin-top: 14px; color: var(--on-ink-2); max-width: 54ch; }
.hero__lede strong { color: #fff; font-weight: 700; }

.hero__when { margin-top: 28px; padding-top: 22px; border-top: 1px solid #2E353F; }
.when__h { font: 700 16px/1.3 var(--text); color: #fff; }
.when { margin-top: 12px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.when li { display: grid; gap: 2px; padding: 12px 14px; background: var(--card-soft); border-left: 3px solid var(--red); }
.when b { color: #fff; font-weight: 700; }
.when span { color: var(--on-ink-2); font-size: 15px; font-variant-numeric: tabular-nums; }
.hero__free { margin-top: 12px; color: var(--on-ink-3); font-size: 15px; }
.hero__cta { display: none; margin-top: 24px; }

/* The compact registration form */
.hero__form { position: sticky; top: 24px; }
.form { background: var(--canvas); color: var(--ink); padding: clamp(22px, 2.4vw, 32px); border-top: 6px solid var(--red); }
.form__h { font: 700 clamp(22px, 2vw, 27px)/1.15 var(--display); letter-spacing: -0.025em; }
.form__sub { margin-top: 6px; color: var(--ink-soft); font-size: 15px; }
.field { margin-top: 16px; }
.field label { display: block; font: 700 14px/1.3 var(--text); margin-bottom: 6px; }
.opt { font-weight: 500; color: var(--ink-soft); }
.field input, .field select { width: 100%; min-height: 48px; padding: 10px 12px; font: 400 16px/1.3 var(--text); color: var(--ink); background: var(--step); border: 1px solid var(--line); border-bottom: 2px solid #9EA4AC; border-radius: 0; appearance: none; }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%231F2124' stroke-width='2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }
.field input:focus, .field select:focus { outline: 2px solid var(--red); outline-offset: 0; border-color: var(--red); background-color: #fff; }
.field [aria-invalid="true"] { border-bottom-color: var(--err); }
.field__err { margin-top: 6px; color: var(--err); font: 600 14px/1.35 var(--text); }
.form__submit { width: 100%; margin-top: 22px; min-height: 56px; font-size: 17px; }
.form__status { margin-top: 12px; font: 600 15px/1.45 var(--text); }
.form__status:empty { display: none; }
.form__status.is-ok { color: var(--ok); }
.form__status.is-err { color: var(--err); }
.form__note { margin-top: 12px; color: var(--ink-soft); font-size: 14px; line-height: 1.5; }
.form__note--warn { color: var(--err); font-weight: 600; }

/* ---------- SCROLL 01 · Speakers and credibility ---------- */
.people { background: var(--step); padding: clamp(56px, 7vw, 104px) 0; }
.people__head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 5vw, 80px); align-items: end; }
.people__head .h2 { max-width: 20ch; }
.people__sub { color: var(--ink-soft); max-width: 46ch; }

.speakers { margin-top: clamp(32px, 4vw, 52px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.speaker { display: flex; flex-direction: column; }
.speaker__play { all: unset; display: block; cursor: default; }
.speaker__play.is-ready { cursor: pointer; }
.speaker__frame { position: relative; display: grid; place-items: center; aspect-ratio: 4 / 3; background: var(--hero-ink); overflow: hidden; }
.speaker__frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.speaker__mono { font: 700 clamp(56px, 6vw, 88px)/1 var(--display); letter-spacing: -0.05em; color: #2C333C; }
.speaker__btn { position: absolute; left: 16px; bottom: 16px; width: 52px; height: 52px; background: var(--red); transition: transform .3s var(--ease), background-color .2s; }
.speaker__btn::after { content: ""; position: absolute; left: 21px; top: 17px; border-left: 14px solid #fff; border-top: 9px solid transparent; border-bottom: 9px solid transparent; }
.speaker__play:not(.is-ready) .speaker__btn { background: #3A424C; }
.speaker__play.is-ready:hover .speaker__btn { transform: scale(1.08); background: var(--red-press); }
.speaker__play:focus-visible { outline: 3px solid var(--red-hot); outline-offset: 3px; }
.speaker__watch { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; padding: 12px 0 0; font-size: 14px; color: var(--ink-soft); }
.speaker__watch b { color: var(--ink); font-size: 14px; }
.speaker__role { margin-top: 18px; font: 700 15px/1.3 var(--text); color: var(--red); }
.speaker__n { margin-top: 6px; font: 600 clamp(20px, 1.7vw, 24px)/1.2 var(--display); letter-spacing: -0.02em; }
.speaker__p { margin-top: 8px; color: var(--ink-soft); font-size: 16px; }

.proof { margin-top: clamp(44px, 5vw, 72px); padding-top: clamp(28px, 3vw, 40px); border-top: 2px solid var(--ink); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 16px clamp(24px, 4vw, 64px); align-items: center; }
.proof__h { font: 600 clamp(19px, 1.6vw, 23px)/1.3 var(--display); letter-spacing: -0.02em; }
.proof__copy p { margin-top: 8px; color: var(--ink-soft); font-size: 16px; }
.logos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: #fff; border: 1px solid var(--line); }
.logos li { display: grid; place-items: center; min-height: 88px; padding: 14px 16px; }
.logos li + li { border-left: 1px solid var(--line); }
.logos img { width: auto; height: auto; max-width: 86%; max-height: 30px; filter: grayscale(1) contrast(1.1); opacity: .85; transition: filter .25s, opacity .25s; }
.logos img.is-mark { max-height: 46px; }
.logos img.is-light { filter: grayscale(1) brightness(.55) contrast(1.6); }
.logos li:hover img { filter: none; opacity: 1; }
.proof__note { grid-column: 2; color: var(--ink-soft); font-size: 14px; }

/* ---------- SCROLL 02 · The four demonstrations ---------- */
.demos { padding: clamp(64px, 8vw, 120px) 0; }
.demos__h { max-width: 22ch; }
.demos__h span { display: block; color: var(--red); }
.cards { margin-top: clamp(32px, 4vw, 52px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 22px); counter-reset: none; }
.card { display: flex; flex-direction: column; padding: clamp(22px, 2.4vw, 34px); background: var(--step); border-top: 3px solid var(--ink); transition: border-color .25s; }
.card:hover { border-top-color: var(--red); }
.card__top { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; }
.card__no { font: 700 clamp(26px, 2.4vw, 34px)/1 var(--display); letter-spacing: -0.04em; color: var(--red); }
.card__product { font: 700 15px/1.3 var(--text); color: var(--ink-soft); }
.card__h { margin-top: 18px; font: 600 clamp(21px, 1.9vw, 27px)/1.2 var(--display); letter-spacing: -0.025em; }
.card__ex { margin-top: 12px; font-size: 18px; line-height: 1.5; }
.card__live { margin-top: auto; padding-top: 18px; color: var(--ink-soft); font-size: 15.5px; }
.card__ex + .card__live { margin-top: 18px; border-top: 1px solid var(--line); }
.card__live b { color: var(--red); }

.demos__foot { margin-top: clamp(28px, 3.4vw, 44px); display: flex; align-items: center; justify-content: space-between; gap: 20px 40px; flex-wrap: wrap; padding: clamp(22px, 2.4vw, 32px); background: var(--hero-ink); color: var(--on-ink-2); }
.demos__sum { max-width: 62ch; }
.demos__sum b { display: block; color: #fff; font: 600 clamp(18px, 1.6vw, 22px)/1.3 var(--display); letter-spacing: -0.02em; margin-bottom: 4px; }

/* ---------- SCROLL 03 · Why attend, the founding offer, the final call ---------- */
.why { background: var(--step); padding: clamp(64px, 8vw, 120px) 0 0; }
.why__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.why__lede { margin-top: 14px; color: var(--ink-soft); }
.takes { margin-top: 24px; border-top: 1px solid var(--line); }
.takes li { padding: 16px 0 16px 34px; position: relative; border-bottom: 1px solid var(--line); color: var(--ink-soft); }
.takes li::before { content: ""; position: absolute; left: 0; top: 24px; width: 18px; height: 10px; border-left: 3px solid var(--red); border-bottom: 3px solid var(--red); transform: rotate(-45deg) translateY(-4px); }
.takes b { display: block; color: var(--ink); font-size: 18px; }

.offer { position: relative; background: var(--hero-ink); color: var(--on-ink-2); padding: clamp(26px, 3vw, 40px); overflow: hidden; }
.offer__lead { position: relative; font: 600 17px/1.4 var(--text); color: #fff; max-width: 30ch; }
.offer > :not(.offer__big) { position: relative; z-index: 1; }
.offer__big { position: absolute; z-index: 0; right: -8px; bottom: -28px; font: 800 clamp(120px, 12vw, 180px)/1 var(--display); letter-spacing: -0.06em; color: #1D232B; pointer-events: none; }
.offer__h { position: relative; margin-top: 18px; font: 600 clamp(20px, 1.8vw, 25px)/1.25 var(--display); letter-spacing: -0.02em; color: #fff; }
.offer p:not(.offer__lead):not(.offer__big) { position: relative; margin-top: 14px; font-size: 16px; }
.offer .offer__note { padding-top: 14px; border-top: 1px solid #2E353F; color: var(--on-ink-3); font-size: 14px; }

.close { position: relative; margin-top: clamp(56px, 7vw, 96px); padding-block: clamp(44px, 5vw, 72px); display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.close::before { content: ""; position: absolute; top: 0; left: var(--m); right: var(--m); height: 2px; background: var(--ink); }
.close__h { max-width: 18ch; }
.close__sub { margin-top: 14px; font: 600 clamp(17px, 1.4vw, 20px)/1.45 var(--text); max-width: 44ch; }
.close .btn { margin-top: 26px; }
.close__note { margin-top: 12px; color: var(--ink-soft); font-size: 15px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 40px 18px 0; position: relative; font: 700 17px/1.4 var(--text); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: translateY(-70%) rotate(45deg); transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq summary:hover { color: var(--red); }
.faq details p { padding: 0 0 18px; color: var(--ink-soft); }

/* ---------- Footer ---------- */
.foot { background: var(--hero-ink); color: var(--on-ink-3); padding: 36px 0 40px; }
.foot__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; }
.foot__sign { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; color: #fff; font: 600 17px/1.3 var(--display); letter-spacing: -0.02em; }
.foot__sign img { height: 30px; width: auto; }
.foot__small { font-size: 14px; }

/* ---------- The dock: always one tap from the form ---------- */
.dock { position: fixed; z-index: 40; right: 24px; bottom: 24px; display: flex; align-items: center; gap: 16px; padding: 8px 8px 8px 18px; background: #fff; border: 1px solid var(--line); transition: opacity .3s, transform .3s var(--ease); }
.dock[hidden] { display: flex; opacity: 0; pointer-events: none; transform: translateY(16px); visibility: hidden; }
.dock__t { font: 600 14px/1.2 var(--text); color: var(--ink-soft); white-space: nowrap; }
.dock__cta { min-height: 48px; }

/* ---------- Video player ---------- */
.player { padding: 0; border: 0; background: transparent; max-width: min(92vw, 960px); width: 100%; }
.player::backdrop { background: rgba(10, 12, 16, .82); }
.player__in { position: relative; }
.player video { display: block; width: 100%; max-height: 82vh; background: #000; }
.player__x { position: absolute; right: 0; top: -52px; width: 44px; height: 44px; border: 0; background: #fff; color: var(--ink); font: 400 28px/1 var(--text); cursor: pointer; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .when { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 900px) {
  .top__long { display: none; }
  .top__short { display: inline; }
  .top__tag { font-size: 13px; }
  .hero { padding-top: 96px; }
  .hero__grid, .people__head, .proof, .why__grid, .close { grid-template-columns: minmax(0, 1fr); }
  .hero__form { position: static; }
  .hero__cta { display: inline-flex; }
  .speakers { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .speaker { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: 18px; align-items: start; }
  .speaker__play { grid-row: 1 / span 4; }
  .speaker__role { margin-top: 0; }
  .speaker__watch { font-size: 13px; }
  .proof__note { grid-column: 1; }
  .cards { grid-template-columns: minmax(0, 1fr); }
  .dock { left: 0; right: 0; bottom: 0; padding: 10px var(--m) calc(10px + env(safe-area-inset-bottom)); border: 0; border-top: 1px solid var(--line); justify-content: space-between; }
  .dock__cta { flex: 1 1 auto; max-width: 260px; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .hero h1 { font-size: clamp(26px, 7.4vw, 32px); }
  .speaker { grid-template-columns: minmax(0, 1fr); }
  .speaker__play { grid-row: auto; }
  .speaker__frame { aspect-ratio: 16 / 9; }
  .speaker__mono { font-size: 56px; }
  .speaker__role { margin-top: 0; }
  .logos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .logos li + li { border-left: 0; }
  .logos li:nth-child(even) { border-left: 1px solid var(--line); }
  .logos li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .demos__foot .btn, .close .btn, .hero__cta { width: 100%; }
  .dock__t { display: none; }
  .dock__cta { max-width: none; width: 100%; }
  .foot { padding-bottom: 96px; }
}

@media (max-width: 380px) {
  .hero h1 { font-size: 25px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}

/* =====================================================================================
   SCROLL LAYER (v10): layered hero, the crack, speaker portraits, the pinned catch,
   tick-on-scroll, the 45 count and the "Answered." wipe.
   Everything here is progressive: without scripts (no .is-armed) or with reduced motion,
   the page shows every end state, static and stacked.
   ===================================================================================== */

/* Header dot: the session is live, not a badge */
.live-dot { display: inline-block; width: 8px; height: 8px; margin-right: 10px; background: var(--red-on-ink); vertical-align: 1px; }
@keyframes live { 50% { opacity: .35; } }

/* ---------- Hero: the 9:47 pm counter under a scrim, moving slower than the page ---------- */
.hero { isolation: isolate; }
.hero__plate { position: absolute; inset: -6% 0 -6%; z-index: -2; will-change: transform; transform: translate3d(0, var(--plate-y, 0px), 0); }
.hero__plate picture, .hero__plate img { width: 100%; height: 100%; object-fit: cover; }
.hero__plate img { filter: grayscale(1) contrast(1.1) brightness(1.05); }
/* slop-ok: a readability scrim over the photograph, heavier on the text side; not a decorative gradient */
.hero__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(18, 22, 28, .92) 0%, rgba(18, 22, 28, .84) 42%, rgba(18, 22, 28, .38) 100%); }
.hero::before { z-index: 2; }

/* ---------- The crack: four paper notes on the counter, sinking into a red seam ---------- */
.crack { --f: 0; position: relative; margin-top: clamp(24px, 3vw, 36px); padding: 10px 8px 22px; overflow: hidden; }
.notes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; }
.note { --r: 0deg; position: relative; padding: 16px 16px 16px 18px; background: #F2EEE5; color: var(--ink); font: 600 15.5px/1.35 var(--text); transform: rotate(var(--r)); box-shadow: 0 2px 0 rgba(0, 0, 0, .35); will-change: transform, opacity; }
.note::before { content: ""; position: absolute; left: 50%; top: -5px; width: 10px; height: 10px; margin-left: -5px; background: var(--red); }
.crack__seam { position: absolute; left: 0; right: 0; bottom: 0; height: calc(3px + var(--f) * 13px); background: #07090C; border-top: 2px solid var(--red-hot); }

/* ---------- Speakers: the edited portraits ---------- */
.speaker__frame { aspect-ratio: 4 / 5; background: #15191F; }
.speaker__frame img { object-position: 50% 18%; transition: transform .6s var(--ease); }
.speaker__frame::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--red); transform-origin: top; transform: scaleY(.25); transition: transform .5s var(--ease); }
.speaker__frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .3s; }
.speaker__frame video.is-on { opacity: 1; }
.speaker__play:hover .speaker__frame img, .speaker__play:focus-visible .speaker__frame img { transform: scale(1.035); }
.speaker__play:hover .speaker__frame::after, .speaker__play:focus-visible .speaker__frame::after { transform: scaleY(1); }
.speaker__btn { z-index: 1; }
.is-armed .speaker { transform: translateY(28px); transition: transform .8s var(--ease); }
.is-armed .speaker:nth-child(2) { transition-delay: .1s; }
.is-armed .speaker:nth-child(3) { transition-delay: .2s; }
.is-armed .speakers.is-in .speaker { transform: none; }

/* ---------- The peak: four cards catch the four notes ---------- */
.demos { padding-top: 0; }
.demos__in { padding-block: clamp(64px, 8vw, 120px) 0; }
.demos__head { display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.demos__count { flex: none; font: 600 15px/1.2 var(--text); color: var(--ink-soft); white-space: nowrap; }
.demos__count b { font: 700 28px/1 var(--display); color: var(--red); margin-right: 4px; font-variant-numeric: tabular-nums; }
.demos__example { margin-top: 14px; font-size: 13px; color: var(--ink-soft); }

.card { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); align-content: start; transition: background-color .5s, border-color .5s; }
.card__note { position: absolute; right: 18px; top: -12px; z-index: 2; max-width: 46%; padding: 8px 10px; background: #F2EEE5; color: var(--ink); font: 600 12.5px/1.3 var(--text); transform: rotate(3deg); box-shadow: 0 2px 0 rgba(0, 0, 0, .25); }
.card__note::before { content: ""; position: absolute; left: 50%; top: -4px; width: 8px; height: 8px; margin-left: -4px; background: var(--red); }
.card:nth-child(even) .card__note { transform: rotate(-2.5deg); }

.demo { margin-top: 18px; }
.demo + .card__live { margin-top: 18px; border-top: 1px solid var(--line); }

/* 01 chat */
.demo--chat { display: grid; gap: 8px; padding: 14px; background: var(--hero-ink); }
.bub { max-width: 88%; padding: 8px 11px 6px; font: 500 13.5px/1.4 var(--text); }
.bub time { display: block; margin-top: 2px; font-size: 11px; opacity: .7; text-align: right; }
.bub--in { justify-self: start; background: #2A3038; color: #F1F2F4; }
.bub--out { justify-self: end; background: #F1F2F4; color: var(--ink); border-left: 3px solid var(--red); }
.demo--chat .bub--in { grid-row: 1; } .demo--chat .bub--typing, .demo--chat .bub--out { grid-row: 2; grid-column: 1; } .demo--chat .demo__tag { grid-row: 3; }
.bub--typing { display: inline-flex; opacity: 0; align-self: start; justify-self: end; gap: 4px; padding: 10px 12px; background: #F1F2F4; }
.bub--typing i { width: 6px; height: 6px; border-radius: 50%; background: #9EA4AC; animation: dot 1s infinite; }
.bub--typing i:nth-child(2) { animation-delay: .15s; } .bub--typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 50% { transform: translateY(-3px); opacity: .5; } }
.demo__tag { font: 700 13px/1.35 var(--text); color: var(--red-on-ink); }
.demo--dash .demo__tag { color: var(--red); margin-top: 10px; }

/* 02 and 03 steps */
.demo--steps { list-style: none; padding: 0; display: grid; gap: 6px; }
.demo--steps li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 9px 12px 9px 36px; position: relative; background: #fff; border: 1px solid var(--line); font-size: 14px; }
.demo--steps li::before { content: ""; position: absolute; left: 12px; top: 50%; width: 14px; height: 14px; margin-top: -7px; background: var(--red); clip-path: polygon(14% 52%, 0 66%, 38% 100%, 100% 22%, 86% 8%, 38% 72%); }
.demo--steps span { color: var(--ink-soft); font-size: 13px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.stars { display: inline-flex; gap: 3px; }
.stars i { width: 13px; height: 13px; background: var(--red); clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); }

/* 04 dashboard */
.demo--dash { padding: 14px; background: #fff; border: 1px solid var(--line); }
.bars { display: flex; align-items: end; gap: 8px; height: 64px; }
.bars i { flex: 1; height: calc(var(--h) * 100%); background: #C9CDD3; transform-origin: bottom; }
.bars i:nth-child(6) { background: var(--red); }
.bars i:nth-child(1) { --i: 0; } .bars i:nth-child(2) { --i: 1; } .bars i:nth-child(3) { --i: 2; } .bars i:nth-child(4) { --i: 3; } .bars i:nth-child(5) { --i: 4; } .bars i:nth-child(6) { --i: 5; } .bars i:nth-child(7) { --i: 6; }
.stars i:nth-child(1) { --i: 0; } .stars i:nth-child(2) { --i: 1; } .stars i:nth-child(3) { --i: 2; } .stars i:nth-child(4) { --i: 3; } .stars i:nth-child(5) { --i: 4; }

/* Armed (scripts on, motion allowed): cards wait, then catch */
.is-armed .card { background: #ECEAE5; }
.is-armed .card:not(.is-caught) { border-top-color: var(--line); }
.is-armed .card.is-caught { background: var(--step); border-top-color: var(--red); }
.is-armed .card__note { transition: transform .75s cubic-bezier(.3, 1.35, .5, 1), opacity .3s; }
.is-armed .card:not(.is-caught) .card__note { opacity: 0; transform: translate(-40px, -120px) rotate(-14deg); }

.is-armed .card .demo > *, .is-armed .card .bars i, .is-armed .card .stars i { transition: opacity .4s, transform .5s var(--ease); }
.is-armed .card:not(.is-caught) .demo > *, .is-armed .card:not(.is-caught) .stars i { opacity: 0; transform: translateY(8px); }
.is-armed .card:not(.is-caught) .bars i { transform: scaleY(0); }
.is-armed .card .demo--chat .bub--typing { transition: none; }
.is-armed .card.is-caught .demo > :nth-child(1) { transition-delay: .55s; }
.is-armed .card.is-caught .demo > :nth-child(2) { transition-delay: .9s; }
.is-armed .card.is-caught .demo > :nth-child(3) { transition-delay: 1.25s; }
.is-armed .card.is-caught .demo > :nth-child(4) { transition-delay: 1.6s; }
.is-armed .card.is-caught .demo--chat .bub--out { transition-delay: 2s; }
.is-armed .card.is-caught .demo--chat .demo__tag { transition-delay: 2.4s; }
.is-armed .card.is-caught .bub--typing { animation: typing 1.3s .7s both; }
@keyframes typing { 0% { opacity: 0; } 12%, 85% { opacity: 1; } 100% { opacity: 0; } }
.is-armed .card.is-caught .bars i { transition-delay: calc(.5s + var(--i) * .08s); }
.is-armed .card.is-caught .stars i { transition-delay: calc(1.5s + var(--i) * .1s); }

/* Pin mode, only when the stage fits the screen (JS measures it): the stage holds while the four catches play */
.is-pin .demos__track { height: 260vh; }
.is-pin .demos__stage { position: sticky; top: 0; min-height: 100vh; display: flex; align-items: center; }
.is-pin .demos__in { padding-block: 24px; }
.is-pin .demos__h { font-size: clamp(26px, 2.3vw, 34px); max-width: none; }
.is-pin .cards { margin-top: 26px; }
.is-pin .card { padding: 20px 24px 16px; }
.is-pin .card .card__live { margin-top: 12px; padding-top: 12px; }
.is-pin .demos__example { margin-top: 10px; }

/* ---------- Takeaways tick as they reach the middle of the screen ---------- */
.is-armed .takes li::before { opacity: .18; transform: rotate(-45deg) translateY(-4px) scale(.6); transition: opacity .35s, transform .5s cubic-bezier(.3, 1.6, .5, 1); }
.is-armed .takes li.is-on::before { opacity: 1; transform: rotate(-45deg) translateY(-4px) scale(1); }
.is-armed .takes li b { transition: color .35s; }
.is-armed .takes li:not(.is-on) b { color: var(--ink-soft); }

/* ---------- 45 ---------- */
.offer__big { color: #232A33; font-variant-numeric: tabular-nums; }

/* ---------- The close: "Still waiting…" then red slides across, "Answered." ---------- */
.answered { --a: 1; position: relative; margin-top: clamp(56px, 7vw, 96px); height: clamp(140px, 18vw, 240px); background: var(--hero-ink); overflow: hidden; }
.answered p { margin: 0; position: absolute; inset: 0; display: flex; align-items: center; padding-inline: var(--m); font: 700 clamp(40px, 8.4vw, 128px)/1 var(--display); letter-spacing: -0.05em; white-space: nowrap; }
.answered__late { color: #4A535E; }
.dots i { font-style: normal; animation: live 1.4s 6; }
.dots i:nth-child(2) { animation-delay: .2s; } .dots i:nth-child(3) { animation-delay: .4s; }
.answered__red { position: absolute; inset: 0; background: var(--red); clip-path: inset(0 calc((1 - var(--a)) * 100%) 0 0); }
.answered__red p { color: #fff; }
.close { margin-top: 0; }
.close::before { display: none; }

/* ---------- Responsive for the scroll layer ---------- */
@media (max-width: 900px) {
  .hero__shade { background: rgba(18, 22, 28, .86); }
  .speaker { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); }
  .card__note { right: 12px; max-width: 58%; }
  .demos__head { display: block; }
  .demos__count { margin-top: 12px; }
  .card { padding-top: 34px; }
}
@media (max-width: 600px) {
  .speaker { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); column-gap: 16px; }
  .speaker__play { grid-row: 1 / span 4; }
  .speaker__frame { aspect-ratio: 4 / 5; }
  .speaker__role { margin-top: 0; }

  .speaker__len { display: block; width: 100%; }
  .notes { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .note { padding: 12px 14px; font-size: 15px; }
  }
@media (prefers-reduced-motion: reduce) {
  .live-dot, .dots i { animation: none; }
  .hero__plate { transform: none !important; }
}

/* In-stage action: only while the demonstrations hold in place (otherwise the repeat CTA below covers it) */
.demos__side { display: flex; align-items: center; gap: 20px; flex: none; }
.demos__cta { display: none; min-height: 46px; padding: 0 20px; font-size: 15px; }
.is-pin .demos__cta { display: inline-flex; }

/* =====================================================================================
   COPY v2 (23 Nov): hook line, five notes, money line, date strip, kit, journey row
   ===================================================================================== */
.hero__hook { font: 600 clamp(18px, 1.6vw, 22px)/1.3 var(--display); letter-spacing: -0.02em; color: var(--on-ink-2); }
.hero__hook .hero__quote { display: inline; }

.notes { display: flex; flex-wrap: wrap; gap: 12px 12px; grid-template-columns: none; }
.note { flex: 0 1 auto; padding: 12px 16px; font-size: 15px; }

.money { margin-top: 20px; padding: 14px 18px; border-left: 4px solid var(--red); background: rgba(255, 255, 255, .06); color: var(--on-ink-2); font-size: 15.5px; max-width: 58ch; }
.money strong { color: #fff; }
.hero__kit { margin-top: 6px; color: var(--red-on-ink); font-weight: 700; font-size: 15px; }

/* Urgency without a countdown: today and the two live days, drawn as a strip */
.days { margin-bottom: 14px; padding: 14px 16px 12px; background: var(--card-soft); color: var(--on-ink-2); }
.days__row { display: flex; gap: 4px; }
.days__row li { flex: 1 1 0; min-width: 0; display: grid; justify-items: center; gap: 2px; padding: 6px 0 5px; background: #2E353F; font-variant-numeric: tabular-nums; }
.days__row b { font: 600 10.5px/1 var(--text); color: var(--on-ink-3); }
.days__row span { font: 700 15px/1.1 var(--display); color: var(--on-ink-1); }
.days__row .is-today { background: transparent; box-shadow: inset 0 0 0 2px var(--on-ink-3); }
.days__row .is-live { background: var(--red); }
.days__row .is-live b, .days__row .is-live span { color: #fff; }
.days__t { margin-top: 10px; font-size: 13.5px; line-height: 1.45; }
.days__t b { color: #fff; }

.regcount { margin-top: 10px; font: 600 14px/1.4 var(--text); color: var(--ok); }
.check { display: flex !important; align-items: center; gap: 10px; margin-top: 10px; font: 500 14.5px/1.35 var(--text) !important; cursor: pointer; }
.check input { width: 20px; height: 20px; min-height: 0; flex: none; accent-color: var(--red); }
.field input::placeholder { color: #8A9099; }

.pilot { grid-column: 1 / -1; margin-top: 4px; }

/* Cards in the journey */
.card__step { font: 700 14px/1.3 var(--text); color: var(--red); }
.card__h { margin-top: 10px; }
.card__product { margin-top: 10px; font: 700 14px/1.3 var(--text); color: var(--ink); }
.card__ex { margin-top: 8px; }

/* 01 AI marketing: an ad assembling itself (shapes only, no text) */
.demo--build { display: grid; grid-template-columns: 1fr; gap: 6px; padding: 12px; background: #fff; border: 1px solid var(--line); }
.build__img { height: 54px; background: #C9CDD3; }
.build__line { height: 8px; background: #9EA4AC; width: 92%; }
.build__line--short { width: 60%; }
.build__btn { justify-self: start; width: 44%; height: 16px; background: var(--red); }

/* The why column: kit above the founding offer */
.why__side { display: grid; gap: 16px; }
.kit { padding: clamp(22px, 2.4vw, 30px); background: #fff; border: 2px solid var(--red); }
.kit__h { font: 600 clamp(17px, 1.4vw, 20px)/1.3 var(--display); letter-spacing: -0.02em; color: var(--red); }
.kit__list { margin-top: 12px; display: grid; gap: 8px; }
.kit__list li { position: relative; padding-left: 20px; font-size: 15.5px; }
.kit__list li::before { content: ""; position: absolute; left: 0; top: 9px; width: 8px; height: 8px; background: var(--red); }
.kit__note { margin-top: 12px; font-size: 14px; color: var(--ink-soft); }

/* Stacked journey (below 1180 px, or no pin): a red thread down the left joins the five steps */
ol.cards { position: relative; grid-template-columns: minmax(0, 1fr); gap: 16px; padding-left: 22px; }
.cards::before { content: ""; position: absolute; left: 6px; top: 8px; bottom: 8px; width: 3px; background: var(--line); }
.cards::after { content: ""; position: absolute; left: 6px; top: 8px; width: 3px; height: calc((100% - 16px) * var(--thread, 1)); background: var(--red); transition: height .6s var(--ease); }
.card::before { content: ""; position: absolute; left: -22px; top: 22px; width: 15px; height: 15px; background: var(--red); box-shadow: 0 0 0 4px var(--canvas); }
.is-armed .card:not(.is-caught)::before { background: var(--line); }
@media (min-width: 700px) and (max-width: 1179px) {
  .card { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 24px; }
  .card > :not(.demo):not(.card__note) { grid-column: 1; }
  .card .demo { grid-column: 2; grid-row: 1 / span 4; align-self: start; margin-top: 4px; }
  .card .card__live { grid-column: 1 / -1; }
}

/* Journey row (1180 px and wider): five cards in one row, the thread runs left to right */
.is-row ol.cards { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; padding-left: 0; padding-top: 50px; }
.is-row .cards::before { left: 8px; right: 8px; top: 6px; bottom: auto; width: auto; height: 3px; }
.is-row .cards::after { left: 8px; top: 6px; height: 3px; width: calc((100% - 16px) * var(--thread, 1)); }
.is-row .card { padding: 20px 18px 16px; }
.is-row .card::before { left: 18px; top: -50px; }
.is-row .card__note { top: -36px; left: 40px; right: auto; max-width: calc(100% - 48px); font-size: 12px; padding: 6px 9px; }
.is-row .card__h { font-size: clamp(17px, 1.3vw, 20px); }
.is-row .card__ex { font-size: 15px; line-height: 1.45; }
.is-row .card__live { font-size: 14px; margin-top: auto; padding-top: 12px; }
.is-row .demo { margin-top: 12px; }
.is-row .demo + .card__live { margin-top: 12px; }
.is-row .bub { font-size: 12px; padding: 6px 8px 5px; max-width: 94%; }
.is-row .demo--chat { padding: 10px; gap: 5px; }
.is-row .demo--steps li { padding: 7px 8px 7px 28px; font-size: 12.5px; gap: 6px; }
.is-row .demo--steps li::before { left: 8px; width: 12px; height: 12px; margin-top: -6px; }
.is-row .demo--steps span { font-size: 11.5px; }
.is-row .bars { height: 48px; gap: 5px; }
.is-row .demo__tag { font-size: 12px; }
.is-row .card { display: flex; flex-direction: column; }
.is-pin .demos__h { font-size: clamp(26px, 2.3vw, 34px); max-width: none; }
.is-pin .cards { margin-top: 22px; }
@media (max-width: 600px) {
  .money { font-size: 15px; }
  .days__row b { font-size: 11px; }
  .days__row span { font-size: 13px; }
}

.pilot .needs { white-space: normal; display: inline-block; }
.days__row .is-today { flex: 1.7 1 0; }

.check { min-height: 44px; }
.field__hint { margin-top: 6px; font-size: 13.5px; color: var(--ink-soft); }
.days__row b { font-size: 11px; }

/* =====================================================================================
   IMAGE PACK (23 Nov): paper notes, problem photos, the morning plate, tighter hero
   ===================================================================================== */
/* The notes are real paper now: the texture under HTML text */
.note, .card__note { background: #F2EEE5 url(../img/note-paper-600.webp) center / 100% 100% no-repeat; }

/* The new plate carries the after-hours counter and its seam; the scrim can ease off on the plate side */
/* slop-ok: a readability scrim over the photograph, heaviest under the text column */
.hero__shade { background: linear-gradient(90deg, rgba(18, 22, 28, .9) 0%, rgba(18, 22, 28, .8) 40%, rgba(18, 22, 28, .3) 100%); }
.hero__plate img { filter: none; }

/* Tighter hero: the headline, the notes and the promise carry it */
.hero__lede { margin-top: 12px; }
.hero__when { margin-top: 22px; padding-top: 18px; }

/* The money line now opens Scroll 3 */
.money--light { margin: 18px 0 0; background: #fff; color: var(--ink); border-left-color: var(--red); max-width: none; }
.money--light strong { color: var(--ink); }

/* Each step shows its problem photo until it catches its note; then the fix plays over it */
.demo { position: relative; }
.card.has-photo .demo::after { content: ""; position: absolute; inset: 0; z-index: 1; background: #ccc center / cover no-repeat; opacity: 0; pointer-events: none; transition: opacity .6s var(--ease); }
.is-armed .card.has-photo:not(.is-caught) .demo::after { opacity: 1; }
.is-armed .card.has-photo.is-caught .demo::after { transition-delay: .25s; }

/* The close: "Still waiting…" over the next morning's counter, then red slides across */
.answered { background: var(--hero-ink) url(../img/close-plate-1280.webp) center / cover no-repeat; }
.answered::before { content: ""; position: absolute; inset: 0; background: rgba(18, 22, 28, .55); }
.answered__late { color: var(--on-ink-3); z-index: 1; }
.answered__red { z-index: 2; }
@media (min-width: 1400px) { .answered { background-image: url(../img/close-plate-2560.webp); } }

.card[data-card="1"] .demo::after { background-image: url(../img/demos/demo-01-800.webp); }
.card[data-card="2"] .demo::after { background-image: url(../img/demos/demo-02-800.webp); }
.card[data-card="3"] .demo::after { background-image: url(../img/demos/demo-03-800.webp); }
.card[data-card="4"] .demo::after { background-image: url(../img/demos/demo-04-800.webp); }
@media (max-width: 900px) { .hero__shade { background: rgba(18, 22, 28, .8); } }

/* =====================================================================================
   DEMOS POLISH (owner feedback): poster headline, step nudge, framed reveals
   ===================================================================================== */
/* Poster headline: it grows with the spare screen height, so the held stage fills the screen instead of
   floating in white space. At 900 px tall it stays at its old size, so the stage still fits. */
.demos__h { font-size: clamp(32px, 5.2vw, 76px); line-height: 1; letter-spacing: -0.045em; max-width: 15ch; }
.is-pin .demos__h { font-size: clamp(30px, calc(100vh * .13 - 83px), 120px); max-width: 21ch; }
.is-pin .demos__head { align-items: end; }
.is-pin .cards { margin-top: clamp(22px, calc(100vh * .04 - 12px), 48px); }

/* The meter: how many steps are connected, and what scrolling does next */
.demos__meter { display: grid; justify-items: end; gap: 4px; }
.demos__nudge { display: none; align-items: center; gap: 8px; font: 600 14px/1.3 var(--text); color: var(--ink); }
.is-pin .demos__nudge { display: inline-flex; }
.nudge__arrow { position: relative; width: 12px; height: 18px; flex: none; }
.nudge__arrow::before { content: ""; position: absolute; left: 5px; top: 0; width: 2px; height: 13px; background: var(--red); }
.nudge__arrow::after { content: ""; position: absolute; left: 1px; bottom: 2px; width: 7px; height: 7px; border-right: 2px solid var(--red); border-bottom: 2px solid var(--red); transform: rotate(45deg); }
.is-armed .nudge__arrow { animation: nudge 1.3s var(--ease) 8; }
@keyframes nudge { 0%, 100% { transform: translateY(-2px); } 50% { transform: translateY(4px); } }
.demos__nudge.is-done .nudge__arrow { display: none; }
.demos__nudge.is-done { color: var(--red); }

/* Framed reveal: each demo frame wipes open from the bottom as the steps arrive, photo settling in */
.is-armed .card .demo { clip-path: inset(100% 0 0 0); transition: clip-path .9s var(--ease); }
.is-armed .card.is-seen .demo { clip-path: inset(0 0 0 0); }
.is-armed .card.has-photo .demo::after { transform: scale(1.12); transition: opacity .6s var(--ease), transform 1.4s var(--ease); }
.is-armed .card.has-photo.is-seen .demo::after { transform: scale(1); }
.is-armed .card .card__step, .is-armed .card .card__h { transform: translateY(14px); transition: transform .8s var(--ease); }
.is-armed .card.is-seen .card__step, .is-armed .card.is-seen .card__h { transform: none; }
@media (prefers-reduced-motion: reduce) { .demos__nudge .nudge__arrow { animation: none; } }

/* Speaker bios (Nov 2026): the longer bios run full width under the photo on phones, instead of a narrow column beside it */
@media (max-width: 600px) {
  .speaker__play { grid-row: 1 / span 3; }
  .speaker__p { grid-column: 1 / -1; grid-row: 4; margin-top: 14px; }
}

/* ---------- Live site audit fixes (24 Nov 2026) ---------- */

/* Small type: nothing a visitor reads is under 12px */
.days__row b { font-size: 12px; }
.bub time { font-size: 12px; margin-top: 0; line-height: 1.15; }  /* tighter, so the larger size keeps the held stage within 1440 x 900 */
.is-row .demo--steps span { font-size: 12px; }

/* Date strip: no default list indent, so it lines up with the text under it */
.days__row { margin: 0; padding: 0; list-style: none; }

/* Phones under 380px: the date strip as rows of five, so the dates never run together */
@media (max-width: 379px) {
  .days__row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .days__row span { font-size: 14px; }
}

/* Wide but short screens (e.g. 1280 x 800), where the five steps scroll instead of holding:
   smaller titles, so each wraps to two even lines in the narrow columns */
.is-row:not(.is-pin) .card__h { font-size: clamp(15px, 1.17vw, 19px); text-wrap: pretty; }

/* Large screens: the held stage grows to ~1500px and its card text scales with it */
@media (min-width: 1700px) {
  .demos__in.wrap { max-width: 1560px; }
  .is-row .card__h { font-size: clamp(20px, 1.15vw, 23px); }
  .is-row .card__ex { font-size: 16px; }
  .is-row .card__live { font-size: 15px; }
}
