/* ============================================================
   Creative Architect — Homepage
   Shares the quiz's brand system: fixed navy background, cream
   text, single orange accent, SF Pro Display + Nic Handwriting.
   Fonts/marks are loaded from moneyblocks/ (single source of
   truth for brand assets, no duplication).
   Shape system: cards / buttons / inputs = 18px radius.
                 pills / tags = full radius.
   ============================================================ */

@font-face {
  font-family: "SF Pro Display";
  src: url("moneyblocks/fonts/SFPRODISPLAYREGULAR.OTF") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "SF Pro Display";
  src: url("moneyblocks/fonts/SFPRODISPLAYMEDIUM.OTF") format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "SF Pro Display";
  src: url("moneyblocks/fonts/SFPRODISPLAYBOLD.OTF") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "SF Pro Display";
  src: url("moneyblocks/fonts/SFPRODISPLAYBLACKITALIC.OTF") format("opentype");
  font-weight: 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Nic Handwriting";
  src: url("moneyblocks/fonts/Nic_handwriting-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --cream: #ffeddf;
  --navy: #2d3047;
  --orange: #f15106;
  --sage: #708d81;
  --bg-deep: #14151f;

  --bg: var(--navy);
  --text: var(--cream);
  --text-secondary: rgba(255, 237, 223, 0.76);
  --text-tertiary: rgba(255, 237, 223, 0.56);
  --border: rgba(255, 237, 223, 0.14);
  --border-strong: rgba(255, 237, 223, 0.28);
  --shadow-orange: 0 10px 26px rgba(241, 81, 6, 0.32);

  --radius: 18px;
  --radius-sm: 12px;
  --radius-lg: 28px;
  --container: 1120px;
  --container-narrow: 760px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding-top: 156px;
  overflow-x: hidden;
  background: var(--bg-deep);
  color: var(--text);
  font-family: "SF Pro Display", -apple-system, BlinkMacSystemFont, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}
@media (max-width: 860px) {
  body {
    padding-top: 84px;
  }
}

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

/* Living background field — same system as the Creative Architect app:
   blobs spawn at a random point, drift, fade out, respawn elsewhere.
   Never a fixed loop. Spawned/animated from script.js (spawnBlobField). */
.bg-blobs {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.bg-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  mix-blend-mode: screen;
  will-change: transform, opacity;
}
.bg-grain {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.5;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.7' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

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

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--orange);
  color: var(--cream);
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  z-index: 100;
}
.skip-link:focus {
  left: 16px;
  top: 16px;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}
.container.narrow {
  max-width: var(--container-narrow);
}

/* ---------- Nav ----------
   A floating island, inset from the edges, rather than a bar glued
   to the top — only shown while the page is at rest at the very
   top. As soon as you scroll, it slides away instead of staying
   pinned (see .nav--hidden, toggled from script.js). */
.nav {
  position: fixed;
  top: 16px;
  left: 16px;
  right: 16px;
  max-width: calc(var(--container) + 32px);
  margin: 0 auto;
  z-index: 40;
  /* No overflow:hidden here on purpose: combined with border-radius +
     backdrop-filter, it stops Safari from animating `transform`
     smoothly, so the hide-on-scroll reads as an instant pop instead
     of a slide+fade. The rounded-corner clipping for the open mobile
     menu lives on .nav-mobile itself instead (see below). */
  background: rgba(20, 21, 31, 0.78);
  backdrop-filter: blur(20px) saturate(130%);
  -webkit-backdrop-filter: blur(20px) saturate(130%);
  border: 1px solid rgba(255, 237, 223, 0.14);
  border-radius: 22px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 237, 223, 0.08);
  transition: transform 0.6s cubic-bezier(0.65, 0, 0.35, 1), opacity 0.5s ease;
  will-change: transform;
}
.nav--hidden {
  transform: translateY(calc(-100% - 32px));
  opacity: 0;
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
  .nav {
    transition: none;
  }
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0 8px;
  gap: 24px;
}
.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--cream);
}
.nav-logo-full {
  height: 96px;
  width: auto;
}
.nav-logo-compact {
  display: none;
}

/* On mobile the nav is just the menu trigger: no logo competing for
   room in a 52px-tall pill. The brand mark instead lives in the
   page itself, at the top of the hero (see .hero-brand), where it
   has real space and doesn't need to align against anything. */
@media (max-width: 860px) {
  /* Closed: a small corner button, not an empty full-width bar with
     one icon adrift in it. Open: widens to a proper menu panel.
     No transition on the width/position change itself (instant is
     the norm for a menu expanding, and animating width/left isn't
     GPU-safe anyway) — the motion that matters is the fade-in on
     the revealed links themselves, see .nav-mobile a below. */
  .nav {
    top: 12px;
    right: 12px;
    left: auto;
    width: 52px;
    border-radius: 16px;
  }
  .nav.is-open {
    left: 12px;
    width: auto;
  }
  .nav-inner {
    height: 52px;
    padding: 0 4px;
    justify-content: flex-end;
  }
  .nav-logo {
    display: none;
  }
  .nav-toggle {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
  }
}
.nav-links {
  display: flex;
  gap: 28px;
  margin-right: auto;
  margin-left: 40px;
}
.nav-links a {
  text-decoration: none;
  font-size: 15.5px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s var(--ease);
}
.nav-links a:hover {
  color: var(--cream);
}
.nav-cta {
  white-space: nowrap;
}
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 22px;
  background: var(--cream);
  margin: 0 auto;
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}
.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 8px 24px 24px;
  border-top: 1px solid var(--border);
  background: var(--bg-deep);
  /* Matches .nav's own mobile border-radius (18px) so the open panel
     still reads as part of the same rounded pill, now that .nav no
     longer clips via overflow:hidden (see the comment on .nav). */
  border-bottom-left-radius: 18px;
  border-bottom-right-radius: 18px;
}
.nav-mobile a {
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: 500;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}
.nav.is-open .nav-mobile a {
  opacity: 1;
  transform: translateY(0);
}
.nav.is-open .nav-mobile a:nth-child(1) { transition-delay: 0.04s; }
.nav.is-open .nav-mobile a:nth-child(2) { transition-delay: 0.08s; }
.nav.is-open .nav-mobile a:nth-child(3) { transition-delay: 0.12s; }
.nav.is-open .nav-mobile a:nth-child(4) { transition-delay: 0.16s; }
.nav.is-open .nav-mobile a:nth-child(5) { transition-delay: 0.20s; }
.nav.is-open .nav-mobile a:nth-child(6) { transition-delay: 0.24s; }
@media (prefers-reduced-motion: reduce) {
  .nav-mobile a {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
.nav-mobile .btn {
  margin-top: 14px;
  text-align: center;
}

@media (max-width: 860px) {
  .nav-links,
  .nav-inner .nav-cta {
    display: none;
  }
  .nav-toggle {
    display: flex;
  }
  .nav.is-open .nav-mobile {
    display: flex;
  }
  .nav.is-open .nav-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .nav.is-open .nav-toggle span:nth-child(2) {
    opacity: 0;
  }
  .nav.is-open .nav-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
}

/* ---------- Buttons ----------
   One filled CTA + a plain text link for the secondary action, not
   two competing pill buttons — closer to how Apple actually pairs
   a primary button with a "Learn more >" link. */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 700;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.btn-primary {
  background: var(--orange);
  color: var(--cream);
  box-shadow: var(--shadow-orange);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(241, 81, 6, 0.4);
}
.btn-primary:active {
  transform: translateY(0) scale(0.98);
  box-shadow: 0 6px 16px rgba(241, 81, 6, 0.36);
}
.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border-color: transparent;
  padding-left: 4px !important;
  padding-right: 4px !important;
}
.btn-ghost:hover {
  color: var(--cream);
}
.btn-ghost:active {
  transform: scale(0.98);
}
.btn-arrow {
  display: inline-block;
  transition: transform 0.2s var(--ease);
}
.btn-ghost:hover .btn-arrow {
  transform: translateY(3px);
}
.btn-sm {
  padding: 9px 18px;
  font-size: 14px;
}
.btn-lg {
  padding: 16px 30px;
  font-size: 16px;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
  border-radius: 4px;
}
.btn:focus-visible {
  outline-offset: 4px;
}

/* ---------- Type ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--orange);
  margin: 0 0 20px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(241, 81, 6, 0.10);
  border: 1px solid rgba(241, 81, 6, 0.22);
}
h1 {
  font-size: clamp(34px, 5.4vw, 60px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0 0 22px;
  overflow-wrap: break-word;
  text-wrap: balance;
}
h2 {
  font-size: clamp(28px, 3.6vw, 42px);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -0.01em;
  margin: 0 0 20px;
  overflow-wrap: break-word;
  text-wrap: balance;
}
h3 {
  font-size: 19px;
  font-weight: 700;
  margin: 0 0 10px;
}
p {
  color: var(--text-secondary);
}

/* ---------- Sections ---------- */
.section {
  padding: 96px 0;
  scroll-margin-top: 172px;
}
@media (max-width: 860px) {
  .section {
    scroll-margin-top: 96px;
  }
}
@media (max-width: 640px) {
  .section {
    padding: 64px 0;
  }
}

/* ---------- Liquid glass ----------
   Apple-style frosted material, warmed up with the brand's cream
   tint and the paper-grain overlay (already fixed over the whole
   page) instead of cold blue, so it reads as ours, not generic.
   Double-bezel: an outer shell plus a concentric inner edge (via
   ::before, no extra markup), like a glass plate set in a tray
   instead of one flat translucent layer. */
.glass,
.glass-panel {
  position: relative;
  background: linear-gradient(155deg, rgba(255, 237, 223, 0.12), rgba(255, 237, 223, 0.04));
  border: 1px solid rgba(255, 237, 223, 0.18);
  box-shadow:
    inset 0 1px 0 rgba(255, 237, 223, 0.22),
    0 24px 60px rgba(8, 9, 20, 0.32);
  backdrop-filter: blur(28px) saturate(160%);
  -webkit-backdrop-filter: blur(28px) saturate(160%);
}
.glass::before,
.glass-panel::before {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: calc(var(--radius) - 6px);
  pointer-events: none;
  border: 1px solid rgba(255, 237, 223, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 237, 223, 0.10);
}
.glass {
  border-radius: var(--radius);
}
.glass-panel {
  border-radius: var(--radius-lg);
  padding: 44px 48px;
}
.glass-panel::before {
  inset: 8px;
  border-radius: calc(var(--radius-lg) - 8px);
}
@media (max-width: 640px) {
  .glass-panel {
    padding: 30px 26px;
  }
}

/* ---------- Hero ---------- */
.hero {
  padding: 84px 0 96px;
}
.hero-inner {
  max-width: 780px;
}
@media (max-width: 640px) {
  /* Tightened so the full hero, CTA included, has a real shot at
     fitting above the fold on a phone on first load, instead of
     cutting off mid-button. Numbers are backed by measuring
     .hero-actions against a real iOS Safari viewport (~650px tall
     with the address bar expanded, the worst case on first load). */
  .hero {
    padding: 8px 0 36px;
  }
  .hero-brand {
    width: min(170px, 52%);
    margin-bottom: 8px;
  }
  .hero .eyebrow {
    margin-bottom: 8px;
  }
  .hero h1 {
    font-size: 27px;
    margin-bottom: 8px;
  }
  .hero-sub {
    font-size: 15px;
    margin-bottom: 12px;
  }
  .hero-actions {
    margin-bottom: 6px;
  }
}
/* Desktop already shows the logo in the nav, so this is hidden by
   default and only shown on mobile, where the nav is menu-only. */
.hero-brand {
  display: none;
}
@media (max-width: 860px) {
  /* Sized by width, not height: this lockup is a wide horizontal
     wordmark, so width is what actually controls how present it
     reads. (It also uses lockup-cream.png, whose content fills 90%
     of its canvas, rather than the nav variant that carries 31%
     empty padding and therefore renders visibly smaller at the
     same CSS height.) */
  .hero-brand {
    display: block;
    width: min(300px, 84%);
    height: auto;
    margin-bottom: 36px;
  }
}
.hero-sub {
  font-size: 19px;
  max-width: 620px;
  margin: 0 0 34px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}
.hero-note {
  font-size: 14.5px;
  color: var(--text-tertiary);
  margin: 0;
}
.hero-note strong {
  color: var(--cream);
}

/* ---------- Problem list ---------- */
.problem-list {
  list-style: none;
  margin: 0 0 32px;
  padding: 0;
  display: grid;
  gap: 16px;
  max-width: 760px;
}
.problem-list li {
  position: relative;
  padding-left: 30px;
  font-size: 17px;
  color: var(--text-secondary);
}
.problem-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 10px;
  height: 2px;
  background: var(--orange);
}
.problem-close {
  font-size: 19px;
  font-weight: 700;
  color: var(--cream);
  max-width: 620px;
}

/* ---------- Philosophy / outcome ---------- */
.philosophy-body p {
  font-size: 17px;
  margin: 0 0 18px;
}
.philosophy-body em {
  color: var(--cream);
  font-style: italic;
}
.pull-quote {
  margin-top: 40px;
  text-align: center;
}
.handwriting {
  font-family: "Nic Handwriting", cursive;
  font-size: 40px;
  color: var(--orange);
  line-height: 1.3;
}

/* ---------- Phases ----------
   Sequential steps, not three equal feature cards: an oversized
   chapter number bleeding above each card, plus a slight vertical
   stagger, so it reads as a timeline instead of a repeated grid. */
.phases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 64px 0 32px;
}
.phase-card {
  position: relative;
  padding: 28px 26px;
}
@media (min-width: 861px) {
  .phase-card:nth-child(2) {
    transform: translateY(22px);
  }
}
.phase-num {
  display: block;
  position: absolute;
  top: -34px;
  left: 26px;
  font-size: 52px;
  font-weight: 900;
  font-style: italic;
  color: rgba(241, 81, 6, 0.35);
  letter-spacing: 0;
  line-height: 1;
}
@supports (-webkit-text-stroke: 1px black) {
  .phase-num {
    color: transparent;
    -webkit-text-stroke: 1.5px rgba(241, 81, 6, 0.55);
  }
}
.phase-card h3 {
  margin-top: 14px;
}
.phase-when {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--sage);
  margin: 0 0 12px;
}
.phase-card p:last-child {
  font-size: 15.5px;
  margin: 0;
}
.phases-note {
  font-size: 15px;
  color: var(--text-tertiary);
  max-width: 720px;
}
@media (max-width: 860px) {
  .phases {
    grid-template-columns: 1fr;
    margin-top: 48px;
  }
  .phase-num {
    top: -30px;
    font-size: 44px;
  }
}

/* ---------- Includes grid ----------
   Card 4 (the toolkit list) genuinely has more content than the
   other three, so it spans the full row instead of forcing a
   uniform 2x2 grid onto uneven content. */
.includes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.include-card {
  padding: 28px 26px;
}
.include-card:last-child {
  grid-column: 1 / -1;
}
.include-card p {
  font-size: 15.5px;
  margin: 0;
}
.include-card:last-child p {
  max-width: 640px;
}
@media (max-width: 720px) {
  .includes-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Fit grid ---------- */
.fit-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.fit-card {
  padding: 30px 28px;
}
.fit-card h3 {
  color: var(--sage);
}
.fit-card-skip h3 {
  color: var(--orange);
}
.fit-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}
.fit-card li {
  font-size: 15.5px;
  color: var(--text-secondary);
  padding-left: 20px;
  position: relative;
}
.fit-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 8px;
  height: 2px;
  background: var(--text-tertiary);
}
@media (max-width: 720px) {
  .fit-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Guarantee ---------- */
.guarantee {
  padding: 30px 32px;
  margin-bottom: 20px;
}
.guarantee:last-child {
  margin-bottom: 0;
}
.guarantee p {
  font-size: 15.5px;
  margin: 0;
}

/* ---------- Founder ---------- */
.founder-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 40px;
  align-items: start;
}
.founder-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-strong);
  background: rgba(255, 237, 223, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
}
.founder-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.founder-text p {
  font-size: 17px;
  margin: 0 0 18px;
}
.founder-text p:last-child {
  margin-bottom: 0;
}
@media (max-width: 640px) {
  .founder-grid {
    grid-template-columns: 1fr;
  }
  .founder-photo {
    max-width: 220px;
  }
}

/* ---------- FAQ ---------- */
.faq-list {
  display: grid;
  gap: 12px;
  margin-top: 36px;
}
.faq-item {
  padding: 4px 22px;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 26px 18px 0;
  font-weight: 700;
  font-size: 16px;
  color: var(--cream);
  position: relative;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 16px;
  font-size: 22px;
  color: var(--orange);
  transition: transform 0.2s var(--ease);
}
.faq-item[open] summary::after {
  transform: rotate(45deg);
}
.faq-item p {
  margin: 0 0 20px;
  font-size: 15.5px;
}

/* ---------- Final CTA ---------- */
.final-cta {
  text-align: center;
}
.final-cta .hero-sub {
  margin-left: auto;
  margin-right: auto;
}
.final-cta .hero-actions {
  justify-content: center;
}

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-inner p {
  font-size: 13.5px;
  margin: 0;
  color: var(--text-tertiary);
}
.footer-link {
  margin-left: auto;
  font-size: 13.5px;
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: 500;
}
.footer-link:hover {
  color: var(--orange);
}
.footer-legal {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  text-align: center;
}
.footer-legal p {
  font-size: 11.5px;
  line-height: 1.7;
  color: var(--text-tertiary);
  opacity: 0.7;
  margin: 0 0 4px;
}
.footer-legal p:last-child {
  margin-bottom: 0;
}

/* ---------- Reveal-on-scroll ----------
   Slower and staggered on purpose: eyebrow first, then the heading,
   then the body/cards, so each section unfolds in sequence instead
   of every line popping in at once — a calmer, more deliberate
   rhythm as you scroll. */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: 0.16s;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.eyebrow.reveal {
  transition-delay: 0s;
}
h1.reveal,
h2.reveal {
  transition-delay: 0.08s;
}

/* Grid items sit at the same vertical position, so without their
   own delay they'd all arrive in the same instant — stagger each
   one a beat after the last. */
.phases .phase-card:nth-child(1) { transition-delay: 0.16s; }
.phases .phase-card:nth-child(2) { transition-delay: 0.26s; }
.phases .phase-card:nth-child(3) { transition-delay: 0.36s; }

.includes-grid .include-card:nth-child(1) { transition-delay: 0.16s; }
.includes-grid .include-card:nth-child(2) { transition-delay: 0.24s; }
.includes-grid .include-card:nth-child(3) { transition-delay: 0.32s; }
.includes-grid .include-card:nth-child(4) { transition-delay: 0.40s; }

.fit-grid .fit-card:nth-child(1) { transition-delay: 0.16s; }
.fit-grid .fit-card:nth-child(2) { transition-delay: 0.26s; }

.faq-list .faq-item:nth-child(1) { transition-delay: 0.16s; }
.faq-list .faq-item:nth-child(2) { transition-delay: 0.22s; }
.faq-list .faq-item:nth-child(3) { transition-delay: 0.28s; }
.faq-list .faq-item:nth-child(4) { transition-delay: 0.34s; }
.faq-list .faq-item:nth-child(5) { transition-delay: 0.40s; }
.faq-list .faq-item:nth-child(6) { transition-delay: 0.46s; }
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
