.home-page {
  background:
    radial-gradient(circle at 78% 16%, rgba(232, 163, 61, 0.16), transparent 24%),
    radial-gradient(circle at 28% 10%, rgba(181, 84, 42, 0.08), transparent 20%),
    var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

.hero {
  position: relative;
  padding: clamp(64px, 9vw, 120px) 0 clamp(72px, 10vw, 136px);
}

.hero-wash {
  position: absolute;
  inset: 0 0 auto;
  height: 640px;
  background:
    linear-gradient(180deg, rgba(253, 251, 247, 0.18) 0%, rgba(253, 251, 247, 0) 100%);
  pointer-events: none;
}

.hero-stack {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.hero-kicker,
.section-kicker,
.trust-band__label,
.fit-list__label {
  margin: 0 0 clamp(20px, 2.2vw, 32px);
  color: var(--text-subtle);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-title,
.hero h1,
.section-head h2,
.proof-head h2,
.apply-head h2,
.system-head h2 {
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(3rem, 8vw, 6.4rem);
  font-weight: 500;
  line-height: 0.96;
  letter-spacing: -0.04em;
}

.section-head h2,
.proof-head h2,
.apply-head h2,
.system-head h2 {
  font-size: clamp(2rem, 3.4vw, 3.2rem);
  line-height: 1.08;
}

.hero-title em,
.hero h1 em,
.section-head h2 em,
.proof-head h2 em,
.apply-head h2 em,
.system-head h2 em {
  color: var(--accent);
  font-style: italic;
}

.hero-deck {
  margin: clamp(18px, 2vw, 28px) auto 0;
  max-width: 54ch;
  color: var(--text-muted);
  font-family: var(--serif);
  font-size: clamp(1.08rem, 1.35vw, 1.22rem);
  line-height: 1.46;
}

.section-deck {
  margin: 22px 0 0;
  max-width: 42ch;
  color: var(--text-muted);
  font-family: var(--serif);
  font-size: 1.18rem;
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: clamp(24px, 2.5vw, 32px);
}

.hero-privacy {
  margin: 18px auto 0;
  max-width: 56ch;
  color: var(--text-subtle);
  font-size: 13px;
  line-height: 1.55;
}

.hero-privacy a {
  color: var(--text-muted);
}

.hero-privacy a:hover {
  color: var(--accent);
}

.proof,
.system,
.apply {
  padding: 82px 0;
}

.section-head {
  max-width: 720px;
}

.proof-layout {
  display: grid;
  gap: 40px;
  text-align: center;
  justify-items: center;
}

.proof-head {
  max-width: 24ch;
}

.proof-deck {
  max-width: 18ch;
  margin-left: auto;
  margin-right: auto;
}

.proof-lead {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  gap: clamp(24px, 3vw, 42px);
  align-items: center;
  padding: clamp(24px, 2.6vw, 36px) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  width: 100%;
  max-width: 1000px;
  text-align: left;
}

.proof-lead__number {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  color: var(--accent);
  font-family: var(--serif);
  line-height: 0.88;
  letter-spacing: -0.05em;
}

.proof-lead__num,
.proof-lead__denom {
  font-size: clamp(4.8rem, 11vw, 8.8rem);
  font-weight: 500;
}

.proof-lead__in {
  padding-bottom: 0.82em;
  font-size: clamp(1.2rem, 1.8vw, 2rem);
  font-style: italic;
  color: var(--text-muted);
  letter-spacing: -0.02em;
}

.proof-lead__meaning {
  max-width: 32ch;
}

.proof-lead__label {
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(1.2rem, 1.6vw, 1.5rem);
  line-height: 1.4;
}

.proof-lead__source {
  margin: 16px 0 0;
  color: var(--text-subtle);
  font-size: 12px;
  letter-spacing: 0.02em;
}

.proof-minor {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  width: 100%;
  max-width: 1000px;
  text-align: left;
}

.proof-chip {
  padding: 24px 4px 4px;
}

.proof-chip__bar {
  display: block;
  height: 6px;
  background: var(--bg-alt);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 18px;
}

.proof-chip__bar > span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--amber));
  border-radius: 999px;
}

.proof-chip__number {
  margin: 0;
  color: var(--accent);
  font-family: var(--serif);
  font-size: clamp(2.2rem, 3vw, 3rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.04em;
}

.proof-chip__label {
  margin: 10px 0 0;
  max-width: 26ch;
  color: var(--text-muted);
  font-family: var(--serif);
  font-size: 1rem;
  line-height: 1.45;
}

.proof-chip__source {
  margin: 12px 0 0;
  color: var(--text-subtle);
  font-size: 12px;
}

.source-strip,
.fit-list__body,
.trust-band__body {
  margin: 0;
  color: var(--text-muted);
}

.source-strip {
  margin-top: 4px;
  font-size: 12px;
  color: var(--text-subtle);
}

.source-strip a {
  color: var(--text-subtle);
}

.source-strip a:hover {
  color: var(--ink);
}

.system-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  gap: 48px;
  align-items: start;
}

.section-head--sticky {
  position: sticky;
  top: 108px;
}

.system-steps {
  border-top: 1px solid var(--border);
}

.system-step {
  display: grid;
  grid-template-columns: 68px 1fr;
  gap: 22px;
  padding: 26px 0;
  border-bottom: 1px solid var(--border);
}

.system-step__number {
  margin: 0;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.system-step h3 {
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.8rem;
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.025em;
}

.system-step p {
  margin: 10px 0 0;
  max-width: 34ch;
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.55;
}

.trust-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin-top: 54px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}

.system-head {
  text-align: center;
  max-width: 24ch;
  margin: 0 auto;
}

.system-head h2 {
  max-width: none;
  text-wrap: balance;
}

.beats {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(26px, 3vw, 52px);
  margin: clamp(40px, 5vw, 60px) auto 0;
  max-width: 1020px;
  position: relative;
}

.beats::before {
  content: "";
  position: absolute;
  left: 10%;
  right: 10%;
  top: 72px;
  height: 1px;
  background-image: linear-gradient(to right, var(--border-strong) 50%, transparent 50%);
  background-size: 10px 1px;
  background-repeat: repeat-x;
  z-index: 0;
  pointer-events: none;
  opacity: 0.7;
}

@media (max-width: 860px) {
  .beats::before {
    display: none;
  }
}

.beat {
  position: relative;
  padding: 0 8px;
  text-align: center;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.beat__step {
  color: var(--accent);
  font-family: var(--rounded);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  margin-bottom: 14px;
}

.beat h3 {
  margin: 16px 0 8px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 500;
  font-style: italic;
  letter-spacing: -0.015em;
}

.beat p {
  margin: 0 auto;
  max-width: 18ch;
  color: var(--text-muted);
  font-family: var(--serif);
  font-size: 1.02rem;
  line-height: 1.5;
}

.beat__art {
  position: relative;
  width: 96px;
  height: 96px;
  border-radius: 999px;
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: 0 12px 30px rgba(26, 24, 21, 0.05);
}

/* Beat 1 · Reads — sage breathing ring with a steady inner dot */
.beat__ring {
  position: absolute;
  inset: 18px;
  border-radius: 999px;
  border: 2px solid var(--sage);
  opacity: 0.6;
  animation: breathe 3.4s ease-in-out infinite;
}
.beat__pulse {
  position: absolute;
  inset: 42%;
  border-radius: 999px;
  background: var(--sage);
  box-shadow: 0 0 0 6px rgba(95, 127, 98, 0.18);
}

/* Beat 2 · Notices — three amber waves rippling outward */
.beat__wave {
  position: absolute;
  inset: 50%;
  border-radius: 999px;
  border: 2px solid var(--accent);
  animation: ripple 3.2s ease-out infinite;
  opacity: 0;
}
.beat__wave--one   { animation-delay: 0s;   }
.beat__wave--two   { animation-delay: 1.05s;}
.beat__wave--three { animation-delay: 2.1s; }

/* Beat 3 · Nudges — three dots fading in sequence (m/m/e) */
.beat__dot {
  position: absolute;
  top: 50%;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: var(--terracotta);
  transform: translateY(-50%);
  opacity: 0.25;
  animation: glow 3s ease-in-out infinite;
}
.beat__dot--morning { left: 8px;             background: var(--amber); }
.beat__dot--midday  { left: 50%; transform: translate(-50%, -50%); background: var(--accent); animation-delay: 0.9s; }
.beat__dot--evening { right: 8px;            background: var(--terracotta); animation-delay: 1.8s; }

@keyframes breathe {
  0%, 100% { transform: scale(0.94); opacity: 0.55; }
  50%      { transform: scale(1.04); opacity: 0.85; }
}
@keyframes ripple {
  0%   { inset: 48%; opacity: 0.9; }
  100% { inset: 0;   opacity: 0;   }
}
@keyframes glow {
  0%, 100% { opacity: 0.25; transform: translateY(-50%) scale(0.9); }
  50%      { opacity: 1;    transform: translateY(-50%) scale(1.15); }
}
.beat__dot--midday {
  animation-name: glow-mid;
}
@keyframes glow-mid {
  0%, 100% { opacity: 0.25; transform: translate(-50%, -50%) scale(0.9); }
  50%      { opacity: 1;    transform: translate(-50%, -50%) scale(1.15); }
}

@media (prefers-reduced-motion: reduce) {
  .beat__ring, .beat__wave, .beat__dot { animation: none; opacity: 0.85; }
}

.apply-stack {
  display: grid;
  gap: 44px;
  max-width: 680px;
  margin: 0 auto;
}

.apply-head {
  text-align: center;
}

.apply-head h2 {
  margin: 4px auto 0;
  max-width: 24ch;
  text-wrap: balance;
}

.apply-letter {
  margin: 20px auto 0;
  max-width: 46ch;
  color: var(--text-muted);
  font-family: var(--serif);
  font-size: 1.05rem;
  line-height: 1.42;
}

.apply-panel {
  /* Light-mode panel — warm eggshell bg, ivory card, ink text, burnt
     sienna accent. Overrides the site-wide tokens inside this block only
     so the embedded form inherits the right inputs/labels/choices. */
  --bg: #F6F1EA;
  --bg-alt: #EFE9DF;
  --card: #FDFBF7;
  --ink: #1A1815;
  --text: #1A1815;
  --text-muted: #5A544B;
  --text-subtle: #8A8275;
  --border: #E6DFD1;
  --border-strong: #D4CBB8;
  --accent: #B5542A;
  --accent-hover: #9A4620;
  --terracotta: #B94A3A;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--card);
  box-shadow: 0 20px 50px rgba(26, 24, 21, 0.06);
}

.apply-panel .card {
  margin: 18px 0 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.apply-panel .field {
  margin-bottom: 18px;
}

.apply-panel .field label,
.apply-panel .field .fl,
.apply-panel .field legend {
  color: var(--ink);
}

.apply-panel .field-optional {
  color: var(--text-subtle);
  font-weight: 400;
}

.apply-panel .consent-row {
  margin-bottom: 10px;
}

.apply-panel .consent-row:last-of-type {
  margin-bottom: 0;
}

.apply-panel .status {
  min-height: 22px;
  margin-top: 8px;
  color: var(--text-muted);
}

.apply-panel__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 20px;
}

.apply-panel__footer p {
  margin: 0;
  color: var(--text-subtle);
  font-size: 12px;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms var(--ease), transform 520ms var(--ease);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

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

  .section-head--sticky {
    position: static;
  }
}

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

  .proof-lead {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 32px 0;
    text-align: left;
  }

  .proof-lead__number {
    justify-content: flex-start;
  }

  .proof-head {
    max-width: none;
  }

  .apply-panel__footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .hero {
    padding-top: 44px;
    padding-bottom: 60px;
  }

  .hero-title,
  .hero h1,
  .section-head h2,
  .proof-head h2,
  .apply-head h2,
  .system-head h2 {
    font-size: clamp(2.1rem, 9vw, 3rem);
  }

  .hero-deck,
  .section-deck {
    font-size: 1.05rem;
  }

  .system-step h3 {
    font-size: 1.45rem;
  }

  .proof,
  .system,
  .apply {
    padding: 64px 0;
  }
}
