:root {
  --bg: #f6f3ec;
  --bg-deep: #f1eee6;
  --card: #fbfaf6;
  --ink: #1e2a33;
  --muted: #5c6b76;
  --navy: #2a3548;
  --navy-2: #3c4b61;
  --line: rgba(36, 48, 60, 0.1);
  --gold: #d4b06a;
  --sand: #e4d3a8;
  --ink-card: #1a222c;
  --serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --sans: "Geist", "Geist Sans", Inter, ui-sans-serif, system-ui, sans-serif;
  --wrap: 1120px;
  --shadow: 0 16px 40px rgba(36, 48, 60, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
button, input, select { font-family: inherit; }
button { cursor: pointer; }
h1, h2, h3, p { margin: 0; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
.sprite { position: absolute; }

.wrap {
  width: min(var(--wrap), calc(100% - 48px));
  margin-inline: auto;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 28px;
  background: rgba(246, 243, 236, 0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;
}
.brand img {
  width: 34px;
  height: 31px;
  object-fit: contain;
}
.brand span {
  font-family: var(--serif);
  font-size: 22px;
  letter-spacing: -0.02em;
}

.btn {
  appearance: none;
  border: 0;
  background: var(--navy);
  color: #f7f4ee;
  border-radius: 999px;
  padding: 11px 18px;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.2;
  transition: background 160ms ease;
}
.btn:hover { background: var(--navy-2); }

.hero {
  position: relative;
  min-height: calc(100svh - 74px);
  display: grid;
  place-items: center;
  padding: 56px 24px 88px;
  overflow: hidden;
}
.hero-copy {
  position: relative;
  z-index: 1;
  width: min(640px, 100%);
  text-align: center;
}
.app-icon {
  width: 78px;
  height: 78px;
  margin: 0 auto 28px;
  border-radius: 22px;
  background: linear-gradient(180deg, #fffdfb, #f3eee6);
  box-shadow:
    0 10px 28px rgba(36, 48, 60, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 0 0 1px rgba(36, 48, 60, 0.05);
  display: grid;
  place-items: center;
}
.app-icon img { width: 58px; height: auto; }
.hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(56px, 6.5vw, 88px);
  line-height: 0.98;
  letter-spacing: -0.025em;
  margin-bottom: 22px;
}
.hero-copy > p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
  max-width: 540px;
  margin: 0 auto 26px;
  hyphens: none;
}

.coin {
  position: absolute;
  width: var(--size);
  height: var(--size);
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 34% 30%, #ffffff 0%, #e7edf1 32%, #b4c0c9 72%, #8d99a4 100%);
  box-shadow:
    inset 0 0 0 2px rgba(255, 255, 255, 0.7),
    inset 0 -8px 14px rgba(70, 80, 90, 0.18),
    0 14px 28px rgba(40, 48, 56, 0.16);
  transform: rotate(var(--rot));
  animation: float 8s ease-in-out infinite;
  animation-delay: var(--delay);
  z-index: 0;
}
.coin::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: repeating-conic-gradient(from 0deg, #dfe5ea 0 3deg, #8e99a3 3deg 4deg);
  -webkit-mask: radial-gradient(circle, transparent 63%, #000 66% 78%, transparent 80%);
  mask: radial-gradient(circle, transparent 63%, #000 66% 78%, transparent 80%);
}
.coin img, .coin span { position: relative; z-index: 1; }
.coin img {
  width: 58%;
  height: auto;
  filter: drop-shadow(0 4px 6px rgba(50, 60, 70, 0.2));
}
.coin-word span {
  font-family: var(--serif);
  font-size: calc(var(--size) * 0.2);
  letter-spacing: 0.02em;
  color: #4c5761;
}
.coin-1 { --size: 76px; top: 16%; left: 9%; --rot: -14deg; --delay: -1s; }
.coin-2 { --size: 108px; top: 48%; left: 5%; --rot: 7deg; --delay: -3s; }
.coin-3 { --size: 94px; top: 14%; right: 9%; --rot: 11deg; --delay: -2s; }
.coin-4 { --size: 84px; top: 46%; right: 6.5%; --rot: -9deg; --delay: -4.5s; }
.coin-5 { --size: 46px; bottom: 12%; right: 16%; --rot: 16deg; --delay: -2.5s; }

@keyframes float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -12px; }
}

.land { padding: 24px 0 40px; }
.phone {
  width: 300px;
  height: 624px;
  margin: 12px auto 78px;
  background: #121418;
  border-radius: 46px;
  padding: 10px;
  box-shadow:
    0 30px 70px rgba(36, 48, 60, 0.16),
    inset 0 0 0 1px #3a3e46;
}
.phone-screen {
  position: relative;
  height: 100%;
  background: #fbfaf7;
  border-radius: 36px;
  padding: 54px 20px 22px;
  display: flex;
  flex-direction: column;
  text-align: center;
}
.notch {
  position: absolute;
  top: 10px;
  left: 50%;
  width: 96px;
  height: 24px;
  transform: translateX(-50%);
  background: #121418;
  border-radius: 20px;
}
.cert { margin-top: 8px; padding: 8px; }
.cert-inner {
  position: relative;
  border: 1px solid #c3b8a4;
  outline: 1px solid #c3b8a4;
  outline-offset: 5px;
  padding: 28px 16px 34px;
  background:
    radial-gradient(circle at 80% 80%, rgba(212, 176, 106, 0.16), transparent 40%),
    linear-gradient(180deg, #fffcf7, #f7f1e6);
}
.cert-kicker {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #8a8174;
  margin-bottom: 6px;
}
.cert-amount {
  font-family: var(--serif);
  font-size: 52px;
  letter-spacing: -0.03em;
  line-height: 1;
}
.seal {
  position: absolute;
  right: 14px;
  bottom: -18px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 32% 30%, #f8e7c2, #d4b06a 46%, #8d6a32 100%);
  box-shadow: 0 8px 16px rgba(90, 68, 24, 0.22), inset 0 0 0 2px rgba(255, 255, 255, 0.35);
  font-family: var(--serif);
  font-size: 26px;
  color: #6a5226;
}
.from {
  margin-top: 36px;
  font-size: 13px;
  color: #8b939b;
}
.phone-name {
  font-family: var(--serif);
  font-size: 34px;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-top: 4px;
}
.phone-fine {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
  padding: 0 8px;
}
.phone-cta {
  margin-top: 26px;
  background: var(--navy);
  color: #f7f4ee;
  border-radius: 999px;
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 600;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 980px;
  margin: 0 auto;
}
.feature {
  text-align: center;
  padding: 8px 32px 0;
}
.feature + .feature { box-shadow: inset 1px 0 0 var(--line); }
.icon { width: 64px; height: 50px; margin: 0 auto 18px; }
.feature p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
  max-width: 260px;
  margin: 0 auto;
}

.manage { padding: 108px 0 40px; }
.manage h2, .story h2, .growth h2, .answers h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(46px, 5vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.025em;
}
.manage-scroller {
  margin-top: 36px;
  display: flex;
  gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 8px max(24px, calc((100vw - var(--wrap)) / 2)) 12px;
}
.manage-scroller::-webkit-scrollbar { display: none; }
.manage-card {
  margin: 0;
  flex: 0 0 min(460px, 82vw);
  scroll-snap-align: start;
}
.stage {
  height: 430px;
  border-radius: 28px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}
.stage-sand { background: #e3d0a4; }
.stage-ink { background: var(--ink-card); }
.mini {
  width: 250px;
  height: 460px;
  background: #fbfaf7;
  border-radius: 32px 32px 0 0;
  transform: translateY(36px);
  box-shadow: 0 12px 30px rgba(20, 24, 30, 0.12);
  padding: 18px 16px 0;
}
.mini-top {
  display: grid;
  grid-template-columns: 28px 1fr 22px;
  align-items: center;
  gap: 8px;
}
.mini-top img { width: 26px; }
.pill {
  justify-self: center;
  border: 1px solid rgba(36, 48, 60, 0.12);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.pill i {
  width: 0;
  height: 0;
  border-left: 3.5px solid transparent;
  border-right: 3.5px solid transparent;
  border-top: 4px solid #5c6b76;
}
.menu {
  width: 14px;
  height: 10px;
  justify-self: end;
  background:
    linear-gradient(var(--ink), var(--ink)) 0 0 / 100% 1.5px no-repeat,
    linear-gradient(var(--ink), var(--ink)) 0 50% / 100% 1.5px no-repeat,
    linear-gradient(var(--ink), var(--ink)) 0 100% / 100% 1.5px no-repeat;
}
.mini-balance {
  font-family: var(--serif);
  font-size: 40px;
  letter-spacing: -0.03em;
  margin-top: 22px;
}
.mini-up { color: #1f8a4c; font-size: 12px; margin-top: 4px; }
.mini-sub, .mini-note { color: #8b939b; font-size: 12px; margin-top: 4px; }
.spark { width: 100%; margin-top: 18px; }
.bars {
  margin-top: 28px;
  height: 150px;
  display: flex;
  align-items: flex-end;
  gap: 5px;
}
.bars span {
  flex: 1;
  height: var(--h);
  background: #e7d7b0;
  border-radius: 3px 3px 0 0;
}
.bars span:last-child { background: #c6a15a; }
.bar-meta {
  display: flex;
  justify-content: space-between;
  color: #8b939b;
  font-size: 11px;
  margin-top: 8px;
}
.kid-sheet {
  width: 246px;
  margin: 0 22px 64px auto;
  background: var(--card);
  border-radius: 28px;
  box-shadow: var(--shadow);
  padding: 32px 26px 26px;
}
.kid-sheet ul { list-style: none; margin: 0; padding: 0; text-align: right; }
.kid-sheet li {
  font-family: var(--serif);
  font-size: 30px;
  line-height: 1.35;
  color: #9aa3ab;
}
.kid-sheet .sel { color: var(--ink); }
.kid-sheet .add { color: #b0b7be; font-size: 30px; }
.kid-sheet span { margin-right: 8px; font-family: var(--sans); font-size: 18px; }
.manage-card figcaption {
  margin-top: 18px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.45;
  max-width: 420px;
}
.arrows { display: flex; gap: 10px; margin-top: 22px; }
.arrow {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 0;
  background: #ece7de;
  color: var(--navy);
  display: grid;
  place-items: center;
}
.arrow svg { width: 18px; height: 18px; }
.arrow:disabled { opacity: 0.35; cursor: default; }
.arrow-solid {
  background: var(--navy);
  color: #f7f4ee;
  width: 38px;
  height: 38px;
}
.arrow-solid:hover { background: var(--navy-2); }

.story { padding: 100px 0 40px; text-align: center; }
.story-icon, .growth-icon { width: 54px; margin: 0 auto 14px; }
.story-icon svg, .growth-icon svg { width: 54px; height: 42px; }
.story h2 { margin-bottom: 36px; }
.story-card {
  width: min(1040px, calc(100% - 40px));
  margin: 0 auto;
  background: var(--card);
  border-radius: 32px;
  box-shadow: 0 10px 40px rgba(36, 48, 60, 0.04);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  overflow: hidden;
  text-align: left;
  min-height: 460px;
}
.story-visual {
  margin: 14px;
  border-radius: 22px;
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 255, 255, 0.45), transparent 48%),
    linear-gradient(180deg, #f0e2c6, #e4d0a6);
  position: relative;
  min-height: 420px;
}
.slide-art {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  opacity: 0;
  transition: opacity 280ms ease;
}
.slide-art.is-on { opacity: 1; }
.slide-art svg { width: 280px; height: auto; }
.age-mark {
  font-family: var(--serif);
  font-size: 140px;
  line-height: 0.8;
  letter-spacing: -0.04em;
  color: #6d5428;
}
.age-caption {
  position: absolute;
  bottom: 36px;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7d6840;
}
.story-copy {
  padding: 54px 42px 36px 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}
.slide-copy {
  display: none;
}
.slide-copy.is-on { display: block; }
.story-copy h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(32px, 3vw, 42px);
  line-height: 1.08;
  letter-spacing: -0.02em;
}
.story-copy p {
  margin-top: 16px;
  color: var(--muted);
  font-size: 16px;
  max-width: 420px;
}
.arrows-dark { margin-top: 28px; }

.growth {
  padding: 110px 20px 80px;
  text-align: center;
}
.growth .lede {
  max-width: 620px;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 16px;
}
.ages {
  display: inline-flex;
  gap: 4px;
  margin-top: 28px;
  padding: 4px;
  border-radius: 999px;
  background: #f3efe6;
  border: 1px solid rgba(36, 48, 60, 0.05);
}
.ages button {
  border: 0;
  background: transparent;
  color: #6a7680;
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 600;
}
.ages button[aria-selected="true"] {
  background: var(--navy);
  color: #f7f4ee;
}
.stats {
  width: min(980px, 100%);
  margin: 28px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.stat {
  background: #f1eee6;
  border-radius: 28px;
  padding: 42px 16px 32px;
}
.stat-value {
  font-family: var(--serif);
  font-size: clamp(36px, 4vw, 60px);
  letter-spacing: -0.03em;
  line-height: 1;
  white-space: nowrap;
  transition: opacity 180ms ease;
}
.stat-value.is-long { font-size: clamp(28px, 2.5vw, 42px); }
.stat-value.is-dim { opacity: 0.2; }
.stat-label {
  margin-top: 12px;
  color: var(--muted);
  font-size: 15px;
}
.fine-print {
  max-width: 720px;
  margin: 28px auto 0;
  color: #8b939b;
  font-size: 12px;
  line-height: 1.5;
}

.cohorts { padding: 40px 0 30px; }
.cohorts-grid {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 48px;
  align-items: start;
}
.cohorts-intro h2 {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 26px;
  line-height: 1.3;
  letter-spacing: -0.02em;
  max-width: 340px;
}
.cohorts-intro .btn { margin-top: 22px; }
.cohort-heads {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(36, 48, 60, 0.16);
}
.cohort-heads p {
  font-size: 15px;
  font-weight: 500;
}
.cohort-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding-top: 22px;
}
.cohort-cols h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 28px;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.cohort-cols p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.45;
}

.quote-wrap { padding: 70px 0 30px; }
.quote {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  background: #243044;
  color: #f4efe6;
  border-radius: 32px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 12px;
  padding: 22px 18px 22px 48px;
  align-items: center;
}
.quote blockquote { margin: 0; padding: 28px 12px 28px 0; }
.quote blockquote > p {
  font-family: var(--serif);
  font-size: clamp(24px, 2.3vw, 32px);
  line-height: 1.32;
  letter-spacing: -0.015em;
}
.sign {
  margin-top: 22px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 34px;
  color: #e0c48a;
}
.quote footer { margin-top: 18px; }
.quote footer strong, .quote footer span { display: block; }
.quote footer strong { font-size: 14px; font-weight: 600; }
.quote footer span { margin-top: 2px; color: #c5cdd4; font-size: 13px; }
.quote-visual {
  min-height: 440px;
  border-radius: 22px;
  background:
    radial-gradient(circle at 50% 46%, rgba(255, 255, 255, 0.16), transparent 46%),
    #1a2430;
  display: grid;
  place-items: center;
  padding: 32px;
}
.quote-visual img { width: min(100%, 460px); filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.28)); }

.answers {
  width: min(820px, calc(100% - 40px));
  margin: 0 auto;
  padding: 90px 0 40px;
}
.answers h2 { margin-bottom: 22px; }
.faq-card {
  background: var(--card);
  border-radius: 28px;
  box-shadow: 0 12px 40px rgba(36, 48, 60, 0.045);
  padding: 8px 8px 12px;
}
.faq-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 18px 8px;
}
.faq-head h3 { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; }
.icon-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(36, 48, 60, 0.12);
  background: transparent;
  color: #7b868f;
  font-size: 18px;
  line-height: 1;
}
.faq-group + .faq-group { border-top: 1px solid var(--line); margin-top: 8px; }
.faq-group:not([open]) .faq-body { display: none; }
.faq-item { border-top: 1px solid var(--line); }
.faq-item button {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  padding: 18px 18px;
  font-size: 15.5px;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-item button span {
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  border-radius: 50%;
  border: 1px solid rgba(36, 48, 60, 0.14);
  display: grid;
  place-items: center;
  color: #8b939b;
  font-size: 16px;
}
.faq-item button[aria-expanded="true"] span { transform: rotate(45deg); }
.faq-a { display: none; padding: 0 56px 16px 18px; color: var(--muted); font-size: 15px; }
.faq-item button[aria-expanded="true"] + .faq-a { display: block; }

.footer { padding: 28px 0 48px; border-top: 1px solid var(--line); margin-top: 40px; }
.footer-inner { display: grid; gap: 14px; }
.footer p { max-width: 760px; color: var(--muted); font-size: 13px; line-height: 1.5; }
.footer-link { color: var(--ink); font-size: 14px; font-weight: 600; text-underline-offset: 3px; }

.modal {
  width: min(480px, calc(100% - 28px));
  border: 0;
  border-radius: 24px;
  padding: 22px 22px 20px;
  background: var(--card);
  color: var(--ink);
  box-shadow: 0 24px 80px rgba(20, 28, 36, 0.24);
}
.modal::backdrop { background: rgba(24, 30, 36, 0.38); }
.modal-top { display: flex; justify-content: space-between; align-items: center; }
.modal h3 {
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 400;
  letter-spacing: -0.02em;
}
.modal-lede { color: var(--muted); margin: 8px 0 16px; font-size: 15px; }
.modal label { display: grid; gap: 6px; font-size: 13px; font-weight: 600; margin-bottom: 12px; }
.modal input, .modal select {
  border: 1px solid rgba(36, 48, 60, 0.14);
  background: #f7f4ee;
  border-radius: 10px;
  padding: 11px 12px;
  font-size: 15px;
  font-weight: 400;
  color: var(--ink);
}
.modal-actions { display: flex; justify-content: flex-end; margin-top: 6px; }
.thanks p { color: var(--muted); margin: 12px 0 18px; }

:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 3px;
}

@media (max-width: 980px) {
  .coin-2, .coin-4, .coin-5 { display: none; }
  .features, .stats, .cohorts-grid, .quote, .story-card { grid-template-columns: 1fr; }
  .feature + .feature { box-shadow: none; padding-top: 28px; }
  .cohort-heads, .cohort-cols { grid-template-columns: 1fr; }
  .cohort-heads { display: none; }
  .story-copy { padding: 8px 22px 28px; }
  .quote { padding: 22px; }
  .quote-visual { min-height: 280px; }
  .hero { min-height: 0; }
}

@media (max-width: 720px) {
  .nav { padding: 14px 16px; }
  .brand span { font-size: 18px; }
  .wrap, .cohorts-grid { width: min(var(--wrap), calc(100% - 32px)); }
  .hero h1 { font-size: 52px; }
  .coin-1, .coin-3 { display: none; }
  .manage h2, .story h2, .growth h2, .answers h2 { font-size: 44px; }
  .phone { transform: scale(0.92); transform-origin: top center; margin-bottom: 36px; }
  .kid-sheet { margin-right: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
