/* hum: for two — marketing site
 * Single stylesheet for index.html, support.html, privacy.html.
 * Mobile-first. Matches the in-app design system.
 *
 * NOTE on .phone aspect ratio:
 *   We do NOT use `aspect-ratio: 1206/2622` on the `.phone` wrapper.
 *   When a flex child has both `aspect-ratio` and `padding`, WebKit
 *   ignores the padding when computing main-axis size, which warps the
 *   image (vertically squished). Instead, the inner <img> drives the
 *   height via its intrinsic dimensions + width:100% / height:auto, and
 *   the bezel is a `border` on the <img> itself (no padding container).
 *   See: https://github.com/WebKit/WebKit/pull/49514 (fix in flight).
 */

:root {
  --bg: #0b0b12;
  --surface: #13131c;
  --card: #1a1924;
  --card-soft: #16151f;
  --border: #2a2535;
  --border-soft: rgba(42, 37, 53, 0.55);

  --text: #faf7f4;
  --muted: #b0aab8;
  --dim: #7a7490;

  --primary: #ff8e9b;
  --primary-warm: #ffb392;
  --secondary: #9fb8d2;
  --bloom: #a990c2;
  --spark: #9fb7ba;
  --sage: #b5c68f;
  --crimson: #d27373;
  --gold: #e9c685;

  --radius-md: 18px;
  --radius-lg: 28px;
  --shadow-deep: 0 32px 80px rgba(0, 0, 0, 0.55);

  --t-eyebrow: clamp(0.68rem, 0.62rem + 0.2vw, 0.78rem);
  --t-h1: clamp(2.6rem, 2rem + 4.5vw, 4.6rem);
  --t-h2: clamp(1.8rem, 1.4rem + 1.6vw, 2.6rem);
  --t-h3: clamp(1.05rem, 1rem + 0.4vw, 1.2rem);
  --t-body: clamp(0.95rem, 0.92rem + 0.2vw, 1.05rem);
  --t-sub: clamp(1.1rem, 1rem + 0.5vw, 1.35rem);
}

* {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family:
    -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', Roboto,
    'Helvetica Neue', system-ui, sans-serif;
  font-feature-settings: 'ss01', 'cv11', 'tnum';
  font-weight: 300;
  line-height: 1.55;
  letter-spacing: -0.005em;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Ambient halo */
.halo {
  position: fixed;
  inset: -20% -20% auto -20%;
  height: 90vh;
  background:
    radial-gradient(
      60% 60% at 50% 0%,
      rgba(255, 142, 155, 0.18) 0%,
      rgba(255, 179, 146, 0.08) 30%,
      rgba(255, 142, 155, 0.02) 55%,
      transparent 75%
    );
  filter: blur(20px);
  pointer-events: none;
  z-index: 0;
}

body.page-doc .halo {
  display: none;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: opacity 0.15s ease;
}

a:hover,
a:focus-visible {
  opacity: 0.85;
}

a:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: 2px;
}

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

main {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2.5rem);
}

/* TOP BAR ─────────────────────────────────────────────────────────── */
.topbar {
  position: relative;
  z-index: 2;
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(1.1rem, 3vw, 1.5rem) clamp(1rem, 4vw, 2.5rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--text);
}

.brand-mark {
  width: 22px;
  height: 22px;
  border-radius: 5px;
  display: block;
  object-fit: cover;
  box-shadow:
    0 0 0 1px rgba(255, 142, 155, 0.25),
    0 0 18px rgba(255, 142, 155, 0.35);
}

.brand-name {
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.topnav {
  display: flex;
  gap: clamp(0.9rem, 2.5vw, 1.6rem);
  font-size: 0.9rem;
  color: var(--muted);
}

.topnav a {
  color: var(--muted);
}

/* HERO ───────────────────────────────────────────────────────────── */
.hero {
  text-align: center;
  padding: clamp(1.5rem, 4vw, 3rem) 0 clamp(2rem, 5vw, 4rem);
}

.eyebrow {
  margin: 0 0 1rem;
  font-size: var(--t-eyebrow);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dim);
}

.eyebrow-center {
  text-align: center;
}

.hero h1 {
  margin: 0 auto;
  max-width: 18ch;
  font-size: var(--t-h1);
  font-weight: 200;
  line-height: 1.04;
  letter-spacing: -0.04em;
  color: var(--text);
  text-wrap: balance;
}

.hero-accent {
  display: inline-block;
  background: linear-gradient(180deg, var(--primary-warm) 0%, var(--primary) 55%, #cc7080 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.hero-sub {
  margin: clamp(0.85rem, 2vw, 1.1rem) auto 0;
  max-width: 32ch;
  font-size: var(--t-sub);
  line-height: 1.45;
  color: var(--muted);
  font-weight: 300;
  text-wrap: balance;
}

/* PHONE MOCKUP ────────────────────────────────────────────────────── */
.hero-stage {
  margin-top: clamp(2rem, 5vw, 3rem);
  display: grid;
  place-items: center;
  position: relative;
  z-index: 1;
}

/* Two-layer atmospheric halo — warm core + cooler outer atmosphere.
 * Static. The depth makes the phone feel "lit in space" rather than
 * "stickered onto a flat circle". */
.hero-stage::before,
.hero-stage::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
}

/* Outer atmosphere — large, soft, low-saturation; reads as ambient light. */
.hero-stage::before {
  width: clamp(360px, 100vw, 720px);
  height: clamp(360px, 100vw, 720px);
  background: radial-gradient(
    circle,
    rgba(255, 142, 155, 0.18) 0%,
    rgba(169, 144, 194, 0.08) 35%,
    transparent 70%
  );
  filter: blur(28px);
}

/* Warm core — tighter, brighter, anchored behind the phone. */
.hero-stage::after {
  width: clamp(260px, 70vw, 480px);
  height: clamp(260px, 70vw, 480px);
  background: radial-gradient(
    circle,
    rgba(255, 142, 155, 0.34) 0%,
    rgba(255, 179, 146, 0.16) 38%,
    transparent 72%
  );
  filter: blur(16px);
}

/*
 * `.phone` is a wrapper that gives the screenshot a device-style border
 * and shadow — but the *image itself* drives the height (no aspect-ratio
 * on the wrapper, no padding-based bezel). This sidesteps the WebKit
 * flex+aspect-ratio+padding bug entirely.
 */
.phone {
  --phone-w: clamp(200px, 58vw, 300px);
  width: var(--phone-w);
  display: block;
  position: relative;
  filter: drop-shadow(0 22px 56px rgba(0, 0, 0, 0.55));
}

/* Honest screenshot: the <img>'s intrinsic 1206×2622 ratio drives the
 * height. No crop, no aspect-ratio override — what the user sees in
 * the App Store is what they see here. */
.phone img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: clamp(26px, calc(var(--phone-w) * 0.12), 38px);
  border: 1px solid rgba(255, 142, 155, 0.18);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

/* Hero phone — bigger, layered shadow (dark grounding + accent glow),
 * top-edge rim light. Apple-style "museum gallery" treatment. */
.phone--hero {
  --phone-w: clamp(230px, 64vw, 360px);
  filter:
    drop-shadow(0 32px 80px rgba(0, 0, 0, 0.65))
    drop-shadow(0 0 28px rgba(255, 142, 155, 0.22));
}

/* Soft rim highlight on the top edge — suggests an overhead light
 * source. Static, no animation. KB §restraint compliant. */
.phone--hero::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: clamp(26px, calc(var(--phone-w) * 0.12), 38px);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.18) 0%,
    rgba(255, 255, 255, 0.04) 6%,
    transparent 14%
  );
  mix-blend-mode: overlay;
  pointer-events: none;
  z-index: 2;
}

/* CTA BUTTON ─────────────────────────────────────────────────────── */
/* Min-height 44px hits WCAG 2.2 + Apple HIG tap-target floors. */
.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 48px;
  margin-top: clamp(1.8rem, 4vw, 2.4rem);
  padding: 0.85rem 1.6rem;
  background: var(--text);
  color: var(--bg);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  border-radius: 999px;
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.cta-button:hover,
.cta-button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 8px 32px rgba(255, 142, 155, 0.22);
  opacity: 1;
}

.cta-button:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

.cta-button:active {
  transform: translateY(0);
}

.cta-button--bottom {
  margin-top: 1.2rem;
}

.cta-button--secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}

.cta-button--secondary:hover,
.cta-button--secondary:focus-visible {
  border-color: var(--primary);
  box-shadow: 0 8px 32px rgba(255, 142, 155, 0.12);
}

.cta-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: clamp(1.8rem, 4vw, 2.4rem);
}

.cta-group .cta-button {
  margin-top: 0;
}

.cta-apple {
  flex-shrink: 0;
}

/* TRUST ROW ──────────────────────────────────────────────────────── */
.trust-row {
  margin: clamp(2rem, 4vw, 2.5rem) auto 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem 1.4rem;
  font-size: 0.85rem;
  color: var(--dim);
  letter-spacing: 0.02em;
}

.trust-row li {
  position: relative;
  padding-left: 1rem;
}

.trust-row li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: var(--primary);
  opacity: 0.65;
}

.trust-row li:first-child {
  padding-left: 0;
}

.trust-row li:first-child::before {
  display: none;
}

/* SECTIONS ───────────────────────────────────────────────────────── */
section {
  padding: clamp(3rem, 6vw, 5rem) 0;
}

section h2 {
  margin: 0 auto;
  max-width: 22ch;
  text-align: center;
  font-size: var(--t-h2);
  font-weight: 200;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--text);
  text-wrap: balance;
}

.features,
.promise,
.final-cta {
  border-top: 1px solid var(--border-soft);
}

/* FEATURES ────────────────────────────────────────────────────────── */
.features {
  position: relative;
  padding-bottom: clamp(2rem, 4vw, 3rem);
}

.feature-rail {
  --gap: clamp(1rem, 3vw, 1.75rem);
  margin-top: clamp(2rem, 5vw, 3rem);
  display: flex;
  gap: var(--gap);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: clamp(1rem, 4vw, 2.5rem);
  padding: 1rem clamp(1rem, 4vw, 2.5rem) 1.5rem;
  margin-inline: calc(-1 * clamp(1rem, 4vw, 2.5rem));
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.feature-rail::-webkit-scrollbar {
  display: none;
}

.feature {
  flex: 0 0 min(78vw, 290px);
  scroll-snap-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
  padding: 1.6rem 1.2rem 1.4rem;
  background: linear-gradient(
    180deg,
    rgba(30, 28, 39, 0.85) 0%,
    rgba(23, 21, 30, 0.85) 100%
  );
  border: 1px solid var(--feature-color, var(--border-soft));
  border-radius: var(--radius-lg);
  position: relative;
  isolation: isolate;
  backdrop-filter: blur(6px);
  transition: transform 0.2s ease;
}

.feature:hover {
  transform: translateY(-2px);
}

.feature::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    80% 50% at 50% 0%,
    var(--feature-glow, rgba(232, 160, 154, 0.2)) 0%,
    transparent 70%
  );
  opacity: 0.95;
  pointer-events: none;
  z-index: -1;
}

.feature--mood {
  --feature-color: rgba(169, 144, 194, 0.4);
  --feature-glow: rgba(169, 144, 194, 0.24);
  --feature-tag-color: var(--bloom);
}
.feature--habits {
  --feature-color: rgba(181, 198, 143, 0.4);
  --feature-glow: rgba(181, 198, 143, 0.22);
  --feature-tag-color: var(--sage);
}
.feature--decide {
  --feature-color: rgba(159, 183, 186, 0.42);
  --feature-glow: rgba(159, 183, 186, 0.24);
  --feature-tag-color: var(--spark);
}
.feature--awards {
  --feature-color: rgba(233, 198, 133, 0.4);
  --feature-glow: rgba(233, 198, 133, 0.24);
  --feature-tag-color: var(--gold);
}
.feature--reasons {
  --feature-color: rgba(210, 115, 115, 0.42);
  --feature-glow: rgba(210, 115, 115, 0.26);
  --feature-tag-color: var(--crimson);
}
.feature--you {
  --feature-color: rgba(232, 160, 154, 0.42);
  --feature-glow: rgba(232, 160, 154, 0.24);
  --feature-tag-color: var(--primary);
}

/* The phone inside a feature card — bigger relative to the card so the
 * screenshot is the dominant chunk (visual-first). */
.feature .phone {
  --phone-w: min(60vw, 200px);
}

/* Tag now sits as a footer caption beneath the screenshot — no chip
 * background, just typography. Mirrors the studio-landing status-line
 * treatment and Linear's March 2026 "remove colored backgrounds from
 * supporting elements" refresh. */
.feature-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--feature-tag-color, var(--primary));
}

/* h3 leads the card — the question or promise lands first, the
 * screenshot beneath it reads as the answer/proof. */
.feature h3 {
  margin: 0;
  max-width: 22ch;
  font-size: 1.1rem;
  font-weight: 300;
  font-style: italic;
  letter-spacing: -0.01em;
  color: var(--text);
  line-height: 1.3;
  text-align: center;
  text-wrap: balance;
}

/* Inline accent on feature h3 — colors the bracketed feature word the
 * same hue used in the v12 promotional deck (synced with
 * humm/marketing/generate.py FRAMES). Inherits each card's
 * --feature-tag-color cascade variable. */
.feature-accent {
  color: var(--feature-tag-color, var(--primary));
  font-style: inherit;
  font-weight: 400;
}

@media (min-width: 880px) {
  .feature-rail {
    overflow: visible;
    scroll-snap-type: none;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-inline: 0;
    padding: 1rem 0 0;
  }
  .feature {
    flex: initial;
  }
  .feature .phone {
    --phone-w: min(220px, 100%);
  }
  .rail-hint {
    display: none;
  }
}

.rail-hint {
  margin: 0.4rem 0 0;
  text-align: center;
  font-size: 0.78rem;
  color: var(--dim);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.7;
}

/* PROMISE / MANIFESTO ────────────────────────────────────────────── */
.promise {
  text-align: center;
  padding: clamp(3rem, 6vw, 5rem) 0;
  position: relative;
}

.promise-headline {
  margin: 0 auto;
  max-width: 18ch;
  font-size: clamp(2rem, 1.6rem + 2.5vw, 3rem);
  font-weight: 200;
  letter-spacing: -0.025em;
  line-height: 1.05;
  color: var(--text);
}

.promise-accent {
  display: inline-block;
  background: linear-gradient(180deg, var(--primary-warm) 0%, var(--primary) 55%, #cc7080 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.promise-list {
  list-style: none;
  margin: clamp(2rem, 4vw, 2.6rem) auto 0;
  padding: 1.4rem 1.6rem;
  max-width: 28rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem 1.4rem;
  background: rgba(255, 142, 155, 0.03);
  border: 1px solid rgba(255, 142, 155, 0.18);
  border-radius: var(--radius-lg);
  font-size: clamp(0.95rem, 0.9rem + 0.4vw, 1.08rem);
  font-weight: 400;
  color: var(--text);
  letter-spacing: -0.01em;
}

.promise-list li {
  position: relative;
  padding-left: 1.5rem;
  text-align: left;
}

/* Subtle ✕ marker — these are *absences*, not features. */
.promise-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 14px;
  height: 14px;
  transform: translateY(-50%);
  background-image:
    linear-gradient(45deg, transparent 45%, var(--primary) 45%, var(--primary) 55%, transparent 55%),
    linear-gradient(-45deg, transparent 45%, var(--primary) 45%, var(--primary) 55%, transparent 55%);
  opacity: 0.7;
}

/* MOBILE POLISH (≤480px) ─────────────────────────────────────────
 * Surgical adjustments for phone-class viewports. Tightens padding,
 * stacks CTAs full-width (KB §full-width mobile CTA pattern, +40%
 * tap accuracy per getglued.co/manifestos/full-width-mobile-buttons),
 * trims section rhythm. */
@media (max-width: 480px) {
  /* Promise card — already tightened, kept here for clarity */
  .promise-list {
    grid-template-columns: 1fr;
    max-width: 22rem;
    gap: 0.55rem;
    padding: 1.15rem 1.3rem;
  }

  /* Stack CTAs vertically, full-width inside their container.
   * `white-space: nowrap` already on .cta-button prevents label wrap. */
  .cta-group {
    flex-direction: column;
    align-items: stretch;
    gap: 0.6rem;
    max-width: 22rem;
    margin-inline: auto;
  }

  .cta-group .cta-button {
    width: 100%;
    padding: 0.9rem 1.2rem;
    font-size: 0.98rem;
  }

  /* Topbar — tighten padding so logo + nav don't feel adrift */
  .topbar {
    padding: 1rem 1.1rem;
  }

  /* Hero section — slightly tighter top/bottom rhythm on mobile */
  .hero {
    padding: 1.25rem 0 2rem;
  }

  /* Section vertical rhythm — Apple/Linear use ~36-40px on mobile,
   * not the 48px our desktop scale produces. */
  section {
    padding: 2.5rem 0;
  }

  /* Final-cta needs slightly more breathing room than other sections */
  .final-cta {
    padding: 2.5rem 0 2rem;
  }

  /* Trust row — tighter horizontal gap on mobile */
  .trust-row {
    gap: 0.5rem 1rem;
    font-size: 0.82rem;
  }
}

.promise-coda {
  margin: clamp(1.6rem, 3vw, 2rem) auto 0;
  max-width: 30ch;
  font-size: clamp(0.95rem, 0.9rem + 0.4vw, 1.08rem);
  color: var(--muted);
  font-style: italic;
  font-weight: 300;
  letter-spacing: -0.005em;
}

/* FINAL CTA ──────────────────────────────────────────────────────── */
.final-cta {
  text-align: center;
  padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(2rem, 4vw, 3rem);
}

.final-cta p {
  margin: 1rem auto 0;
  color: var(--muted);
  font-size: var(--t-body);
}

.final-cta .cta-button {
  margin-top: 1.4rem;
}

/* FOOTER ─────────────────────────────────────────────────────────── */
.site-footer {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(1.5rem, 4vw, 2.5rem) clamp(1rem, 4vw, 2.5rem) 2.5rem;
  text-align: center;
  border-top: 1px solid var(--border-soft);
  display: grid;
  gap: 0.65rem;
}

.footer-brand {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--text);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.4rem;
  font-size: 0.88rem;
}

.site-footer nav a {
  color: var(--muted);
}

.footer-meta {
  margin: 0;
  font-size: 0.78rem;
  color: var(--dim);
}

/* DOC PAGES (support, privacy) ───────────────────────────────────── */
body.page-doc main {
  max-width: 720px;
  padding-bottom: 3rem;
}

body.page-doc h1 {
  font-size: clamp(2rem, 1.6rem + 2vw, 2.8rem);
  font-weight: 200;
  letter-spacing: -0.025em;
  margin: 0 0 0.6rem;
}

body.page-doc h2 {
  text-align: left;
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: -0.005em;
  margin: 0 0 0.65rem;
  max-width: none;
}

body.page-doc p,
body.page-doc li {
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.6;
}

body.page-doc strong {
  color: var(--text);
  font-weight: 500;
}

.card {
  background: var(--card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 1.4rem 1.5rem 1.25rem;
  margin-bottom: 1.1rem;
}

.card p,
.card li {
  margin: 0 0 0.6rem;
}

.card p:last-child,
.card li:last-child {
  margin-bottom: 0;
}

.card ul,
.card ol {
  margin: 0;
  padding-left: 1.2rem;
}

.card li {
  margin-bottom: 0.35rem;
}

.privacy h2 {
  margin: 1.6rem 0 0.6rem;
}

.privacy h2:first-of-type {
  margin-top: 0;
}

.meta {
  font-size: 0.8rem;
  color: var(--dim);
  margin-bottom: 1rem;
}

/* ENTRANCE ──────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: no-preference) {
  .topbar       { animation: rise 0.6s cubic-bezier(.2,.7,.2,1) both; }
  .hero .eyebrow  { animation: rise 0.6s cubic-bezier(.2,.7,.2,1) 0.05s both; }
  .hero h1     { animation: rise 0.7s cubic-bezier(.2,.7,.2,1) 0.1s both; }
  .hero-sub    { animation: rise 0.7s cubic-bezier(.2,.7,.2,1) 0.15s both; }
  /* Hero stage gets a dedicated scale+rise — more cinematic arrival.
   * One-shot, KB §restraint compliant (entrance stagger is allowed). */
  .hero-stage  { animation: hero-arrive 0.95s cubic-bezier(.2,.7,.2,1) 0.22s both; }
  .cta-group   { animation: rise 0.6s cubic-bezier(.2,.7,.2,1) 0.35s both; }
  .trust-row   { animation: rise 0.6s cubic-bezier(.2,.7,.2,1) 0.42s both; }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes hero-arrive {
  from { opacity: 0; transform: translateY(18px) scale(0.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* REDUCE MOTION ──────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
