/* AOB Assist - shared site styles
   System font stack only. No external requests. */

:root {
  --eucalyptus: #3E5A4C;
  --eucalyptus-pressed: #31473C;
  --sage: #9CAF97;
  --sage-soft: #E3EAE0;
  --paper: #F7F6F1;
  --surface: #FFFFFF;
  --ink: #20241F;
  --ink-secondary: #6A7168;
  --amber: #B97C24;
  --border: rgba(32, 36, 31, 0.10);
  --shadow: 0 1px 2px rgba(32, 36, 31, 0.06), 0 8px 24px rgba(32, 36, 31, 0.06);
  --radius: 14px;
  --radius-lg: 20px;
  --max-width: 1080px;
  --focus-ring: 0 0 0 3px rgba(62, 90, 76, 0.35);
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --eucalyptus: #7FA98F;
    --eucalyptus-pressed: #9CC4AC;
    --sage: #6E8A72;
    --sage-soft: #26302A;
    --paper: #141715;
    --surface: #1D211E;
    --ink: #E9EDE8;
    --ink-secondary: #A6AEA3;
    --amber: #E0A050;
    --border: rgba(233, 237, 232, 0.12);
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 8px 24px rgba(0, 0, 0, 0.35);
  }
}

:root[data-theme="dark"] {
  --eucalyptus: #7FA98F;
  --eucalyptus-pressed: #9CC4AC;
  --sage: #6E8A72;
  --sage-soft: #26302A;
  --paper: #141715;
  --surface: #1D211E;
  --ink: #E9EDE8;
  --ink-secondary: #A6AEA3;
  --amber: #E0A050;
  --border: rgba(233, 237, 232, 0.12);
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 8px 24px rgba(0, 0, 0, 0.35);
}

:root[data-theme="light"] {
  --eucalyptus: #3E5A4C;
  --eucalyptus-pressed: #31473C;
  --sage: #9CAF97;
  --sage-soft: #E3EAE0;
  --paper: #F7F6F1;
  --surface: #FFFFFF;
  --ink: #20241F;
  --ink-secondary: #6A7168;
  --amber: #B97C24;
  --border: rgba(32, 36, 31, 0.10);
  --shadow: 0 1px 2px rgba(32, 36, 31, 0.06), 0 8px 24px rgba(32, 36, 31, 0.06);
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--eucalyptus);
  text-decoration: underline;
  text-decoration-color: rgba(62, 90, 76, 0.35);
  text-underline-offset: 2px;
}

a:hover {
  text-decoration-color: currentColor;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
  border-radius: 6px;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header / Nav ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--paper);
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 17px;
  color: var(--ink);
  text-decoration: none;
}

.brand img {
  width: 30px;
  height: 30px;
  border-radius: 8px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--ink);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
}

.nav-links a:hover {
  color: var(--eucalyptus);
}

.nav-toggle-label {
  display: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
}

.nav-toggle-label span,
.nav-toggle-label span::before,
.nav-toggle-label span::after {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  position: relative;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle-label span::before,
.nav-toggle-label span::after {
  content: "";
  position: absolute;
}

.nav-toggle-label span::before {
  top: -7px;
}

.nav-toggle-label span::after {
  top: 7px;
}

#nav-toggle {
  display: none;
}

@media (max-width: 720px) {
  .nav-toggle-label {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    max-height: 0;
    overflow: hidden;
    padding: 0 24px;
    transition: max-height 0.25s ease, padding 0.25s ease;
  }

  .nav-links a {
    display: block;
    width: 100%;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
  }

  #nav-toggle:checked ~ .nav-links {
    max-height: 320px;
    padding: 8px 24px 16px;
  }

  #nav-toggle:checked ~ .nav-toggle-label span {
    background: transparent;
  }

  #nav-toggle:checked ~ .nav-toggle-label span::before {
    top: 0;
    transform: rotate(45deg);
  }

  #nav-toggle:checked ~ .nav-toggle-label span::after {
    top: 0;
    transform: rotate(-45deg);
  }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: var(--eucalyptus);
  color: #FFFFFF;
}

.btn-primary:hover {
  background: var(--eucalyptus-pressed);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--border);
  text-decoration: none;
}

.btn-ghost:hover {
  border-color: var(--eucalyptus);
  color: var(--eucalyptus);
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid var(--ink);
}

@media (prefers-color-scheme: dark) {
  .badge-pill {
    background: var(--surface);
    color: var(--ink);
    border-color: var(--border);
  }
}

:root[data-theme="dark"] .badge-pill {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--border);
}

.badge-pill .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--sage);
}

/* ---------- Hero shared bits (used inside the settle beat, see ACT 1 below) ---------- */

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 14px;
}

.hero-note {
  font-size: 13px;
  color: var(--ink-secondary);
}

/* ---------- Sections ---------- */

section {
  padding: 56px 0;
}

.section-head {
  max-width: 640px;
  margin: 0 auto 40px;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(32px, 4.5vw, 56px);
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}

.section-head p {
  color: var(--ink-secondary);
  font-size: 16px;
  margin: 0;
}

.eyebrow {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--eucalyptus);
  background: var(--sage-soft);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.alt-bg {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* ---------- Cards / grids ---------- */

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 860px) {
  .grid-3 {
    grid-template-columns: 1fr;
  }
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
}

.card h3 {
  margin: 0 0 10px;
  font-size: 18px;
}

.card p {
  margin: 0;
  color: var(--ink-secondary);
  font-size: 15px;
}

.card .icon-chip {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--sage-soft);
  color: var(--eucalyptus);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  margin-bottom: 14px;
  font-weight: 700;
}

/* How it works - see ACT 2 sticky step scenes further down for layout */

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--eucalyptus);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 16px;
}

/* Privacy section - see ACT 3 proof band below for layout */

.privacy-list {
  list-style: none;
  margin: 28px auto 0;
  padding: 0;
  display: grid;
  gap: 14px;
  max-width: 52ch;
  text-align: left;
}

.privacy-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 15.5px;
  color: #F7F6F1;
}

.privacy-list li::before {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  margin-top: 7px;
  border-radius: 50%;
  background: #F7F6F1;
}

.privacy-note {
  margin: 36px auto 0;
  padding: 16px 18px;
  background: rgba(247, 246, 241, 0.12);
  border-radius: var(--radius);
  font-size: 14px;
  color: rgba(247, 246, 241, 0.82);
  max-width: 52ch;
}

/* Pricing */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 760px;
  margin: 0 auto;
}

@media (max-width: 720px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }
}

.price-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  text-align: center;
  box-shadow: var(--shadow);
  position: relative;
  transition: transform 120ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 120ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 120ms cubic-bezier(0.22, 1, 0.36, 1);
}

.price-card:hover {
  transform: translateY(-4px);
  border-color: var(--eucalyptus);
  box-shadow: 0 2px 4px rgba(32, 36, 31, 0.08), 0 20px 44px rgba(32, 36, 31, 0.14);
}

.price-card.featured {
  border-color: var(--eucalyptus);
}

.price-card.featured:hover {
  border-color: var(--eucalyptus-pressed);
}

@media (prefers-reduced-motion: reduce) {
  .price-card {
    transition: none;
  }

  .price-card:hover {
    transform: none;
  }
}

.price-card .save-tag {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--eucalyptus);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
  white-space: nowrap;
}

.price-card .plan-name {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink-secondary);
  margin-bottom: 10px;
}

.price-card .amount {
  font-size: 38px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.price-card .period {
  font-size: 15px;
  color: var(--ink-secondary);
  font-weight: 500;
}

.price-card .detail {
  margin-top: 10px;
  font-size: 14px;
  color: var(--ink-secondary);
}

.pricing-foot {
  text-align: center;
  margin-top: 24px;
  color: var(--ink-secondary);
  font-size: 14px;
}

/* FAQ */

.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

details.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 4px 20px;
}

details.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 0;
  font-weight: 600;
  font-size: 15.5px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

details.faq-item summary::-webkit-details-marker {
  display: none;
}

details.faq-item summary::after {
  content: "+";
  flex: none;
  font-size: 20px;
  font-weight: 400;
  color: var(--eucalyptus);
  transition: transform 0.2s ease;
}

details.faq-item[open] summary::after {
  transform: rotate(45deg);
}

details.faq-item p {
  margin: 0 0 18px;
  color: var(--ink-secondary);
  font-size: 14.5px;
  max-width: 68ch;
}

/* ---------- Legal / content pages ---------- */

.page-hero {
  padding: 48px 0 8px;
}

.page-hero h1 {
  font-size: clamp(28px, 4vw, 38px);
  margin: 0 0 10px;
}

.page-hero .meta {
  color: var(--ink-secondary);
  font-size: 14.5px;
}

.legal {
  max-width: 760px;
  margin: 0 auto;
  padding: 24px 0 64px;
}

.legal h2 {
  font-size: 20px;
  margin: 38px 0 12px;
  letter-spacing: -0.005em;
}

.legal h2:first-child {
  margin-top: 0;
}

.legal p {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: 15.5px;
}

.legal ul,
.legal ol {
  margin: 0 0 16px;
  padding-left: 22px;
  color: var(--ink);
  font-size: 15.5px;
}

.legal li {
  margin-bottom: 8px;
}

.legal strong {
  color: var(--ink);
}

.placeholder {
  background: rgba(185, 124, 36, 0.14);
  color: var(--amber);
  border: 1px dashed rgba(185, 124, 36, 0.5);
  border-radius: 6px;
  padding: 1px 7px;
  font-size: 0.94em;
  font-weight: 600;
  white-space: nowrap;
}

.legal .disclaimer-box {
  margin-top: 32px;
  padding: 18px 20px;
  background: var(--sage-soft);
  border-radius: var(--radius);
  font-size: 14px;
  color: var(--ink);
}

.legal-toc {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 22px;
  margin-bottom: 32px;
}

.legal-toc p {
  margin: 0 0 8px;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink-secondary);
}

.legal-toc ol {
  margin: 0;
  padding-left: 20px;
  font-size: 14.5px;
}

.legal-toc li {
  margin-bottom: 4px;
}

/* ---------- Support page ---------- */

.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
  box-shadow: var(--shadow);
  max-width: 520px;
  margin: 0 auto;
}

.contact-card .email {
  display: inline-block;
  font-size: 19px;
  font-weight: 700;
  color: var(--eucalyptus);
  margin: 12px 0 6px;
  word-break: break-word;
}

.quick-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  counter-reset: qstep;
}

@media (max-width: 860px) {
  .quick-steps {
    grid-template-columns: 1fr;
  }
}

.quick-steps .card {
  position: relative;
  padding-top: 30px;
}

.quick-steps .card::before {
  counter-increment: qstep;
  content: counter(qstep);
  position: absolute;
  top: -14px;
  left: 22px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--eucalyptus);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.trouble-list {
  max-width: 760px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 44px 0 36px;
  background: var(--surface);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 28px;
}

@media (max-width: 720px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  margin-bottom: 10px;
}

.footer-brand img {
  width: 26px;
  height: 26px;
  border-radius: 7px;
}

.footer-col h4 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink-secondary);
  margin: 0 0 12px;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 9px;
}

.footer-col a {
  color: var(--ink);
  text-decoration: none;
  font-size: 14.5px;
}

.footer-col a:hover {
  color: var(--eucalyptus);
}

.footer-legal {
  border-top: 1px solid var(--border);
  padding-top: 22px;
  font-size: 13px;
  color: var(--ink-secondary);
  display: grid;
  gap: 8px;
}

.footer-legal strong {
  color: var(--ink);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  background: var(--eucalyptus);
  color: #fff;
  padding: 10px 16px;
  border-radius: 8px;
  z-index: 50;
  text-decoration: none;
  transition: top 0.15s ease;
}

.skip-link:focus {
  top: 12px;
}


/* ================================================================
   Motion system (v3 - scrollytelling)
   One easing family site-wide: cubic-bezier(0.22, 1, 0.36, 1)
   ================================================================ */

/* ---------- Reveal choreography (translateY+fade, 500ms, 80ms stagger, once) ---------- */

.reveal {
  transition: opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1), transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

html.js .reveal {
  opacity: 0;
  transform: translateY(24px);
}

html.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

.reveal:nth-child(1) { transition-delay: 0ms; }
.reveal:nth-child(2) { transition-delay: 80ms; }
.reveal:nth-child(3) { transition-delay: 160ms; }
.reveal:nth-child(4) { transition-delay: 240ms; }
.reveal:nth-child(5) { transition-delay: 320ms; }
.reveal:nth-child(6) { transition-delay: 400ms; }

/* ================================================================
   ACT 1 - the scrubbed hero
   Default state below is the static fallback (no-JS, reduced-motion,
   video error, or duration unavailable). html.scrub-ready upgrades it
   into the pinned, scroll-scrubbed cinematic stage.

   The film owns its tonality: the stage is always the film's cream,
   in BOTH themes, so no rectangle edge is ever perceivable. The page
   below fades in via the vignette's bottom layer.
   ================================================================ */

:root {
  --film: #F1F0E9;            /* the film's own cream - theme-invariant */
  --film-ink: #20241F;        /* text on film, both themes */
  --film-ink-secondary: #5D645B;
  --film-accent: #3E5A4C;
}

.scrolly-hero {
  /* No `overflow` here: an ancestor of a `position: sticky` element with
     overflow other than visible on EITHER axis breaks its stickiness
     (and browsers force the other axis to `auto` the moment one axis is
     non-visible, so overflow-x:hidden alone still breaks it). Clipping is
     instead handled by `.scrolly-stage`'s own overflow:hidden, which is
     safe because it's the sticky element itself, not its containing block. */
  position: relative;
  min-height: 100vh;
  padding: 0;
  background: var(--film);
  isolation: isolate;
}

.scrolly-stage {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--film);
}

.stage-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.scrub-video {
  display: none;
}

/* The film runs full-bleed (object-fit: cover), so no edge treatment is
   needed inside the stage - only a soft hand-off into the page tone at
   the very bottom, so light and dark pages both receive the film cleanly. */
.stage-vignette {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(241, 240, 233, 0) 90%, var(--paper) 100%);
}

.beats {
  position: relative;
  z-index: 2;
  width: 100%;
}

.beat {
  display: none;
}

.beat-kicker {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--film-accent);
  margin: 0 0 14px;
}

.beat-display {
  font-size: clamp(36px, min(5.4vw, 8.5vh), 84px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.04;
  margin: 0;
  color: var(--film-ink);
  max-width: 16ch;
}

.beat-subhead {
  font-size: clamp(17px, 1.6vw, 20px);
  color: var(--film-ink-secondary);
  max-width: 44ch;
  margin: 18px 0 0;
}

/* On the film, the CTAs keep the light-theme look in both themes */
.scrolly-hero .badge-pill {
  background: var(--film-ink);
  color: #F7F6F1;
  border-color: var(--film-ink);
}

.scrolly-hero .badge-pill .dot {
  background: #9CAF97;
}

.scrolly-hero .btn-ghost {
  color: var(--film-ink);
  border-color: rgba(32, 36, 31, 0.26);
}

.scrolly-hero .btn-ghost:hover {
  border-color: var(--film-accent);
  color: var(--film-accent);
}

.scrolly-hero .hero-note {
  color: var(--film-ink-secondary);
}

.beat-3,
.beat-settle {
  display: block;
  position: relative;
  opacity: 1;
  transform: none;
  padding: 0 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.beat-settle {
  margin-top: 28px;
}

.scroll-hint {
  display: none;
}

/* ---------- html.scrub-ready: full pinned, scroll-scrubbed presentation ---------- */

html.scrub-ready .scrolly-hero {
  height: 340vh;
  min-height: 0;
}

html.scrub-ready .scrolly-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  min-height: 0;
  display: block;
  overflow: hidden;
}

html.scrub-ready .stage-poster {
  display: none;
}

html.scrub-ready .scrub-video {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

html.scrub-ready .beats {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

html.scrub-ready .beat {
  display: block;
  position: absolute;
  left: max(24px, calc((100vw - 1080px) / 2 + 24px));
  top: 50%;
  transform: translateY(-50%);
  width: min(52ch, calc(100vw - 48px));
  max-width: 640px;
  opacity: 0;
  padding: 0;
  will-change: opacity, transform;
}

html.scrub-ready .beat-settle {
  /* keep the CTAs on the film's empty cream, clear of the settled phone */
  max-width: 420px;
}

html.scrub-ready .beat-settle .hero-actions {
  align-items: flex-start;
}

html.scrub-ready .scroll-hint {
  display: block;
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  color: var(--film-ink-secondary);
  opacity: 0.7;
  z-index: 3;
  animation: hint-bounce 1.6s ease-in-out infinite;
  transition: opacity 0.6s ease;
}

.scroll-hint.is-hidden {
  opacity: 0 !important;
}

@keyframes hint-bounce {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 8px); }
}

@media (max-width: 700px) {
  html.scrub-ready .scrolly-hero {
    height: 260vh;
  }

  html.scrub-ready .beat {
    left: 24px;
    right: 24px;
    top: auto;
    bottom: 10%;
    width: auto;
    max-width: none;
    transform: none;
    /* Narrow viewports crop the film so its phone can sit under the lower-third text.
       A soft film-tone scrim keeps the words legible without reading as a box.
       The stage is always the film's cream, in both themes. */
    padding: 18px 16px;
    border-radius: 16px;
    background:
      radial-gradient(120% 140% at 50% 60%,
        rgba(241, 240, 233, 0.94) 0%,
        rgba(241, 240, 233, 0.8) 62%,
        rgba(241, 240, 233, 0) 100%);
  }

  html.scrub-ready .beat-display {
    max-width: none;
  }
}

/* ---------- Trust strip ---------- */

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 28px;
  padding: 22px 24px 0;
  text-align: center;
}

.trust-strip span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-secondary);
}

.trust-strip span::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--eucalyptus);
  flex: none;
}

/* ---------- Oversized date numerals (reused by ACT 3 proof band) ---------- */

.date-numerals {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 32px;
  margin: 8px auto 44px;
  text-align: center;
}

.numeral-block {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.numeral {
  font-size: clamp(44px, 8vw, 84px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--eucalyptus);
}

.numeral-year {
  font-size: clamp(20px, 2.6vw, 28px);
  font-weight: 700;
  color: var(--ink);
  margin-top: 2px;
}

.numeral-label {
  font-size: 13.5px;
  color: var(--ink-secondary);
  margin-top: 6px;
  max-width: 22ch;
}

.numeral-divider {
  width: 1px;
  height: 64px;
  background: var(--border);
}

@media (max-width: 640px) {
  .numeral-divider {
    display: none;
  }
}

/* ================================================================
   ACT 2 - the steps film (one scroll-scrubbed turntable shot)
   html.steps-ready swaps the stacked fallback for the pinned film.
   Beat windows are driven by JS exactly like the hero.
   ================================================================ */

.steps-scrolly {
  display: none;
}

html.steps-ready .steps-scrolly {
  display: block;
  position: relative;
  height: 460vh;
  background: var(--film);
  isolation: isolate;
}

html.steps-ready .steps-fallback {
  display: none;
}

.steps-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  background: var(--film);
}

.steps-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.steps-stage .beats {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

html.steps-ready .steps-stage .beat {
  display: block;
  position: absolute;
  left: max(24px, calc((100vw - 1080px) / 2 + 24px));
  top: 50%;
  transform: translateY(-50%);
  width: min(46ch, calc(100vw - 48px));
  max-width: 520px;
  opacity: 0;
  padding: 0;
  will-change: opacity, transform;
}

.steps-stage .step-num {
  margin-bottom: 18px;
}

.beat-title {
  font-size: clamp(28px, 3.2vw, 42px);
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1.08;
  margin: 0 0 12px;
  color: var(--film-ink);
}

/* ================================================================
   ACT 2 fallback - sticky step scenes (scroll-driven choreography)
   JS feeds each .scene a --sp custom property (eased 0→1 progress).
   Caption lines (.cl) toggle .on at staggered progress thresholds.
   ================================================================ */

.scenes {
  padding: 56px 0 0;
}

.scenes .section-head {
  padding: 0 24px;
}

.scene {
  position: relative;
  height: 165vh;
}

.scene-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5vw;
  padding: 0 24px;
  overflow: hidden;
}

.scene--media-left .scene-stage {
  flex-direction: row;
}

.scene--media-right .scene-stage {
  flex-direction: row-reverse;
}

.scene-numeral {
  position: absolute;
  top: 8vh;
  font-size: clamp(180px, 24vw, 420px);
  font-weight: 800;
  color: var(--ink);
  opacity: calc(var(--sp, 0) * 0.07);
  line-height: 1;
  z-index: 0;
  pointer-events: none;
  user-select: none;
  transform: translateY(calc((1 - var(--sp, 0)) * 7vh));
  letter-spacing: -0.04em;
}

.scene--media-right .scene-numeral {
  right: 3vw;
}

.scene--media-left .scene-numeral {
  left: 3vw;
}

.scene-media {
  position: relative;
  z-index: 1;
  flex: none;
  /* the phone is ~2.11:1 tall - keep it inside the pinned viewport */
  width: min(380px, 32vw, 40vh);
  transform: translateY(calc((1 - var(--sp, 1)) * 52px)) scale(calc(0.94 + var(--sp, 1) * 0.06));
  will-change: transform;
}

/* The soft cream plate: extends the films' background so their masked
   edges land on the same tone, and gives the still phones a stage.
   In light theme it melts into the paper; in dark it reads as a
   deliberate spotlight. */
.scene-media::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 320%;
  aspect-ratio: 1 / 1.3;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse 50% 50% at 50% 50%,
    var(--film) 30%, rgba(241, 240, 233, 0.55) 55%, rgba(241, 240, 233, 0) 82%);
  z-index: -1;
  pointer-events: none;
}

.scene-media img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 26px 44px rgba(32, 36, 31, 0.22));
}

/* In the dark theme the cream plate reads as ambient screen-glow -
   keep it gentle. */
@media (prefers-color-scheme: dark) {
  .scene-media::before {
    opacity: 0.6;
  }

  .scene-media img {
    filter: drop-shadow(0 26px 44px rgba(0, 0, 0, 0.5)) brightness(0.94);
  }
}

:root[data-theme="dark"] .scene-media::before {
  opacity: 0.6;
}

:root[data-theme="dark"] .scene-media img {
  filter: drop-shadow(0 26px 44px rgba(0, 0, 0, 0.5)) brightness(0.94);
}

.scene-caption {
  position: relative;
  z-index: 1;
  max-width: 40ch;
}

.scene-caption h3 {
  font-size: clamp(24px, 2.8vw, 34px);
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}

.scene-caption p {
  color: var(--ink-secondary);
  font-size: 16.5px;
  margin: 0;
}

/* Caption lines stagger in as the scene's progress advances */
html.js .cl {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1), transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

html.js .cl.on {
  opacity: 1;
  transform: none;
}

@media (max-width: 860px) {
  .scene {
    height: auto;
    padding: 48px 0;
  }

  .scene-stage {
    position: relative;
    top: auto;
    height: auto;
    flex-direction: column !important;
    gap: 28px;
    text-align: center;
    padding: 0 24px;
  }

  .scene-numeral {
    font-size: 34vw;
    top: 0;
  }

  .scene--media-right .scene-numeral,
  .scene--media-left .scene-numeral {
    left: 50%;
    right: auto;
    transform: translateX(-50%) translateY(calc((1 - var(--sp, 0)) * 4vh));
  }

  .scene-media {
    width: min(300px, 68vw);
  }

  .scene-caption {
    max-width: 40ch;
    margin: 0 auto;
  }
}

.sig-mini {
  margin-top: 20px;
  display: flex;
  justify-content: flex-start;
  color: var(--eucalyptus);
}

@media (max-width: 860px) {
  .sig-mini {
    justify-content: center;
  }
}

.sig-svg-mini {
  width: 180px;
  height: auto;
}

/* ================================================================
   ACT 3 - the proof band (privacy by architecture)
   ================================================================ */

.proof-band {
  background: #31473C;
  color: #F7F6F1;
  padding: 96px 0;
  text-align: center;
}

.proof-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.proof-sig {
  color: #F7F6F1;
  margin-bottom: 8px;
}

.proof-band .eyebrow {
  background: rgba(247, 246, 241, 0.14);
  color: #F7F6F1;
}

.proof-band h2 {
  font-size: clamp(32px, 4.5vw, 56px);
  margin: 0 0 18px;
  letter-spacing: -0.02em;
  color: #F7F6F1;
}

.proof-lede {
  color: rgba(247, 246, 241, 0.82);
  font-size: 17px;
  max-width: 56ch;
  margin: 0 auto;
}

.proof-numerals {
  margin-top: 56px;
}

.proof-band .numeral {
  color: #F7F6F1;
}

.proof-band .numeral-year {
  color: #F7F6F1;
}

.proof-band .numeral-label {
  color: rgba(247, 246, 241, 0.72);
}

.proof-band .numeral-divider {
  background: rgba(247, 246, 241, 0.25);
}

/* ---------- Signature ink moment ----------
   Three strokes drawn in sequence, like a real pen:
   the name, the t-dash, then the underline swash. */

.sig-svg {
  width: min(440px, 82%);
  height: auto;
}

.sig-path {
  fill: none;
  stroke: currentColor;
  stroke-width: 6.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sig-p1 {
  transition: stroke-dashoffset 1.15s cubic-bezier(0.4, 0, 0.2, 1) 0.1s;
}

.sig-p2 {
  transition: stroke-dashoffset 0.28s cubic-bezier(0.4, 0, 0.2, 1) 1.3s;
}

.sig-p3 {
  transition: stroke-dashoffset 0.5s cubic-bezier(0.4, 0, 0.2, 1) 1.62s;
  stroke-width: 5;
}

@media (prefers-reduced-motion: reduce) {
  .sig-path {
    stroke-dashoffset: 0 !important;
    transition: none !important;
  }
}

/* ================================================================
   ACT 4 - pricing, FAQ, final CTA
   ================================================================ */

.cta-band {
  position: relative;
  overflow: hidden;
  text-align: center;
  isolation: isolate;
}

.cta-sig-ghost {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.07;
  pointer-events: none;
  z-index: 0;
  color: var(--ink);
}

.sig-svg-ghost {
  width: min(900px, 140%);
  height: auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cta-band .container {
  position: relative;
  z-index: 1;
}

.cta-band h2 {
  font-size: clamp(32px, 4.5vw, 56px);
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}

.cta-band p {
  color: var(--ink-secondary);
  font-size: 16px;
  max-width: 52ch;
  margin: 0 auto 24px;
}

/* ---------- Global reduced-motion dignified fallbacks ---------- */

@media (prefers-reduced-motion: reduce) {
  .reveal,
  html.js .reveal,
  .cl,
  html.js .cl {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .scene-media,
  .scene-numeral {
    transform: none !important;
  }

  .scene-numeral {
    opacity: 0.07 !important;
  }

  .scroll-hint {
    animation: none !important;
    display: none !important;
  }

  * {
    scroll-behavior: auto !important;
  }
}
