/* GrowthJar marketing site — design language (rebuilt on the new brand).
   ============================================================================
   Self-contained, zero third-party requests. Every colour/space/shadow comes
   from the vendored token files (tokens/*.css); this file only composes them
   into sections and components. Two layers coexist and never mix within an
   element: KID (Lilita One, 3px espresso outline, HARD sticker shadow, chunky
   radii) and PARENT (Nunito, 1.5px hairline, SOFT blurred shadow). Night is a
   theme variant on :root[data-theme="night"] (tokens flip to deep warm navy +
   glows). Ported from Design/website-rebrand/exported/ — see RECONCILIATION.md.
   ============================================================================ */

@import "tokens/fonts.css";
@import "tokens/colors.css";
@import "tokens/typography.css";
@import "tokens/spacing.css";
@import "tokens/effects.css";

/* ============================ base ============================ */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
body {
  margin: 0;
  background: var(--surface-app);
  color: var(--text-body);
  font-family: var(--font-text);
  font-size: var(--parent-body);
  line-height: var(--lh-normal);
  font-weight: var(--w-semibold);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 { font-family: var(--font-display); line-height: var(--lh-tight); margin: 0; color: var(--text-display); font-weight: 400; letter-spacing: var(--ls-tight); }
p { margin: 0 0 1em; }
a { color: var(--brand-grow); text-decoration: none; font-weight: var(--w-heavy); text-underline-offset: 3px; }
a:hover { color: var(--green-700); }
:root[data-theme="night"] a:hover { color: var(--green-300); }
img, svg { max-width: 100%; height: auto; }
strong { font-weight: var(--w-heavy); }
em { font-style: normal; color: var(--text-display); font-weight: var(--w-heavy); }

:focus-visible { outline: 3px solid var(--focus-ring); outline-offset: 3px; border-radius: 8px; }
:root[data-theme="night"] :focus-visible { outline-color: var(--brand-air); }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 48px); }
.narrow { max-width: 760px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ============================ buttons ============================ */
/* Kid pill: chunky, thick ink outline, HARD coloured underside, squish on press.
   AA note: the site's PRIMARY CTA is the Apple App Store badge (black/white).
   In-site pills use gold with dark --text-on-gold (AA-safe) or a deep green. */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-display); font-size: 18px; line-height: 1;
  color: var(--text-on-gold); text-decoration: none;
  background: var(--grad-money); border: var(--stroke-kid) solid var(--outline-kid);
  border-radius: var(--radius-pill); padding: 16px 26px; min-height: var(--tap-kid);
  box-shadow: var(--shadow-money); cursor: pointer;
  transition: transform var(--dur-tap) var(--ease-out), box-shadow var(--dur-tap) var(--ease-out);
}
.btn:hover { transform: translateY(-2px); color: var(--text-on-gold); }
.btn:active { transform: var(--press-squish); box-shadow: 0 1px 0 0 var(--gold-600); }
.btn-small { font-size: 15px; padding: 10px 18px; min-height: 44px; }
.btn-block { display: flex; width: 100%; }

/* Deep-green secondary (white text on green-700 → AA-safe ≥4.5:1) */
.btn-green { color: var(--text-on-color); background: var(--green-700); border-color: var(--outline-kid); box-shadow: 0 5px 0 0 var(--green-800); }
.btn-green:hover { color: var(--text-on-color); }
.btn-green:active { box-shadow: 0 1px 0 0 var(--green-800); }
:root[data-theme="night"] .btn-green { background: var(--green-700); box-shadow: 0 0 16px rgba(70, 220, 87, 0.35); }

.btn-note { display: block; margin-top: 12px; font-size: var(--parent-small); font-weight: var(--w-heavy); color: var(--text-faint); }

/* App Store badge link (the primary CTA everywhere) */
.appstore { display: inline-flex; border-radius: 10px; }
.appstore img { display: block; height: 54px; width: auto; }
.appstore:focus-visible { outline-offset: 4px; }
.appstore-small img { height: 40px; }

/* ============================ nav ============================ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(1.1) blur(6px);
  background: color-mix(in srgb, var(--surface-app) 82%, transparent);
  border-bottom: var(--stroke-thin) solid var(--outline-parent);
}
.site-header .wrap { display: flex; align-items: center; gap: 18px; padding-top: 12px; padding-bottom: 12px; }
.logo { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo .logo-mark { font-size: 30px; line-height: 1; flex-shrink: 0; display: inline-block; }
.site-footer .logo .logo-mark { font-size: 26px; }
.logo .wordmark { font-family: var(--font-display); font-size: 26px; line-height: 1; color: var(--text-display); font-weight: 400; }
.logo .wordmark b { color: var(--brand-grow); font-weight: 400; }
.site-nav { display: flex; align-items: center; gap: 24px; margin-left: 14px; }
.site-nav a { color: var(--text-muted); font-weight: var(--w-heavy); font-size: 15px; }
.site-nav a:hover { color: var(--brand-grow); }
.nav-spacer { flex: 1; }
.nav-cta { flex-shrink: 0; }
.theme-toggle {
  flex-shrink: 0; width: 42px; height: 42px; border-radius: var(--radius-pill);
  border: var(--stroke-thin) solid var(--outline-parent); background: var(--surface-card);
  color: var(--text-muted); font-size: 18px; cursor: pointer; display: grid; place-items: center;
  transition: transform var(--dur-tap) var(--ease-out);
}
.theme-toggle:hover { transform: translateY(-1px); }
@media (max-width: 860px) { .site-nav { display: none; } }

/* ============================ generic sections ============================ */
.section { padding: clamp(48px, 7vw, 96px) 0; }
.section-tint { background: color-mix(in srgb, var(--brand-grow) 7%, var(--surface-app)); }
.section-head { max-width: 660px; margin: 0 auto clamp(30px, 4vw, 48px); text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }
.section-head h2 { font-size: clamp(34px, 5vw, 58px); line-height: 1.02; }
.section-head p { font-size: 18px; font-weight: var(--w-semibold); color: var(--text-muted); margin: 14px 0 0; }
.kicker { font-family: var(--font-text); font-weight: var(--w-heavy); font-size: 13px; letter-spacing: var(--ls-caps); text-transform: uppercase; color: var(--brand-grow); }
.kicker.muted { color: var(--text-muted); }

/* ============================ hero ============================ */
.hero { padding: clamp(28px, 5vw, 60px) 0 clamp(40px, 6vw, 72px);
  background: linear-gradient(180deg, color-mix(in srgb, var(--brand-air) 14%, var(--surface-app)) 0%, var(--surface-app) 60%); }
.hero-card {
  position: relative; overflow: visible; border-radius: 36px;
  border: var(--stroke-kid) solid var(--outline-kid); box-shadow: var(--shadow-kid-lg);
  padding: clamp(26px, 4vw, 52px);
  background: linear-gradient(135deg, color-mix(in srgb, var(--paper) 60%, var(--cream)) 0%, var(--cream) 40%, color-mix(in srgb, var(--green-100) 70%, var(--cream)) 100%);
}
:root[data-theme="night"] .hero-card { background: linear-gradient(140deg, #1E2E4E 0%, #16233F 55%, #101B31 100%); }
.hero-grid { display: grid; grid-template-columns: 1.06fr 0.94fr; gap: clamp(20px, 3vw, 36px); align-items: center; }
.hero-copy { position: relative; z-index: 3; }
.badge-pill {
  display: inline-flex; align-items: center; gap: 8px; font-weight: var(--w-heavy); font-size: 13.5px;
  color: var(--brand-grow); background: var(--surface-card); border: 2px solid var(--outline-kid);
  border-radius: var(--radius-pill); padding: 6px 14px; box-shadow: var(--shadow-kid-sm);
}
.hero h1 { font-size: clamp(46px, 7.4vw, 86px); line-height: 0.98; margin: 20px 0 0; }
.hero h1 .accent { color: var(--brand-grow); }
.hero .lede { font-size: clamp(17px, 1.5vw, 20px); font-weight: var(--w-semibold); line-height: 1.45; color: var(--text-muted); margin: 18px 0 0; max-width: 32ch; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 28px; }
.hero-actions .textlink { font-family: var(--font-display); font-size: 18px; color: var(--text-display); }
.hero-fine { font-size: 13.5px; font-weight: var(--w-heavy); color: var(--text-faint); margin: 18px 0 0; }

/* floating hero decorations (idle only) */
.flt { position: absolute; }
@media (prefers-reduced-motion: no-preference) {
  .flt { animation: gj-float 5s ease-in-out infinite; }
  .twk { animation: gj-twinkle 2.6s ease-in-out infinite; }
}
@keyframes gj-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes gj-twinkle { 0%,100% { opacity: .35; transform: scale(.8); } 50% { opacity: 1; transform: scale(1.2); } }

/* facts bar */
.facts-bar { margin-top: clamp(22px, 3vw, 34px); padding-top: 24px; border-top: 2px dashed var(--outline-parent); display: flex; flex-wrap: wrap; gap: 18px; }
.fact { flex: 1; min-width: 130px; }
.fact .fact-label { font-weight: var(--w-heavy); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--text-muted); }
.fact .fact-value { font-family: var(--font-display); font-size: clamp(30px, 4.4vw, 44px); line-height: 1; color: var(--text-display); margin-top: 6px; }
.fact .fact-tag { display: inline-flex; align-items: center; gap: 6px; margin-top: 9px; font-weight: var(--w-heavy); font-size: 12.5px; }
.fact .dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.tone-air { color: var(--brand-air); } .tone-air .dot { background: var(--brand-air); }
.tone-grow { color: var(--brand-grow); } .tone-grow .dot { background: var(--brand-grow); }
.tone-money { color: var(--brand-money); } .tone-money .dot { background: var(--brand-money); }

/* ============================ Toby running mascot (hero chrome) ============================ */
/* Website-only limb + coin rig wrapped around the untouched Jar (jar.js). */
.toby-scale { width: 360px; height: 520px; transform-origin: top center; margin: 0 auto; }
.toby { position: relative; width: 360px; height: 520px; }
@media (prefers-reduced-motion: no-preference) { .toby.run { animation: gj-bounce 2.8s ease-in-out infinite; } }
@keyframes gj-bounce { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
.toby-shadow { position: absolute; left: 50%; bottom: 2px; transform: translateX(-50%); width: 170px; height: 24px; border-radius: 50%; background: radial-gradient(closest-side, rgba(44,35,24,.24), transparent 72%); z-index: 0; }
.toby-limb { position: absolute; }
.toby-shin { background: var(--soil-300); border: var(--stroke-kid) solid var(--outline-kid); border-radius: 12px; }
.toby-shoe { background: var(--grad-grow); border: var(--stroke-kid) solid var(--outline-kid); box-shadow: var(--shadow-grow); }
.toby-hand { background: #fff; border: var(--stroke-kid) solid var(--outline-kid); border-radius: 50%; box-shadow: var(--shadow-kid-sm); }
.toby-jarslot { position: absolute; left: 40px; top: 30px; z-index: 2; width: 280px; height: 432px; }
.toby-coinbtn { position: absolute; top: -46px; left: 50%; margin-left: -29px; width: 58px; height: 58px; border: 0; background: none; padding: 0; cursor: pointer; }
.toby-coin { width: 58px; height: 58px; border-radius: 50%; background: radial-gradient(circle at 34% 28%, #FFE9A8, var(--gold-400) 52%, var(--gold-500)); border: var(--stroke-kid) solid var(--outline-kid); box-shadow: var(--shadow-money); display: grid; place-items: center; font-family: var(--font-display); font-size: 26px; color: var(--gold-700); }
@media (prefers-reduced-motion: no-preference) {
  .toby-coinbtn { animation: gj-coinbob 2.6s ease-in-out infinite; }
  .toby-limb.pop { animation: gj-pop .6s var(--ease-spring) both; }
}
.toby-coin.dropped { animation: gj-drop .9s var(--ease-out) forwards; }
@keyframes gj-coinbob { 0%,100% { transform: translateY(0) rotate(-9deg); } 50% { transform: translateY(-9px) rotate(9deg); } }
@keyframes gj-pop { 0% { transform: scale(.82); } 55% { transform: scale(1.14); } 100% { transform: scale(1); } }
@keyframes gj-drop { 0% { transform: translateY(0) scale(1); opacity: 1; } 100% { transform: translateY(150px) scale(.5); opacity: 0; } }
@media (max-width: 600px) { .toby-scale { transform: scale(.78); height: 406px; } }

/* ============================ how it works / kid cards ============================ */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 22px; margin-top: clamp(30px, 4vw, 48px); }
.card {
  background: var(--surface-card); border: var(--stroke-kid) solid var(--outline-kid);
  border-radius: var(--radius-kid); box-shadow: var(--shadow-kid); padding: 28px;
}
.card .icon-chip { width: 58px; height: 58px; border-radius: 16px; border: var(--stroke-kid) solid var(--outline-kid); display: grid; place-items: center; font-size: 28px; }
.chip-money { background: var(--grad-money); box-shadow: var(--shadow-money); }
.chip-grow { background: var(--green-100); box-shadow: var(--shadow-grow); }
.chip-air { background: var(--grad-air); box-shadow: var(--shadow-air); }
.card h3 { font-family: var(--font-display); font-size: 26px; margin: 18px 0 0; }
.card p { font-size: 16px; font-weight: var(--w-semibold); line-height: 1.5; color: var(--text-muted); margin: 8px 0 0; }
.card .step-num { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: var(--grad-money); border: 2px solid var(--outline-kid); font-family: var(--font-display); font-size: 16px; color: var(--text-on-gold); margin-bottom: 12px; }
.chip-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 26px; }
.pill-soft { font-weight: var(--w-heavy); font-size: 13.5px; color: var(--text-muted); background: var(--surface-sunken); border: var(--stroke-thin) solid var(--outline-parent); border-radius: var(--radius-pill); padding: 8px 15px; }

/* ============================ meet toby ============================ */
.toby-section { background: linear-gradient(180deg, var(--surface-app), color-mix(in srgb, var(--brand-grow) 8%, var(--surface-app))); }
.toby-split { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: clamp(24px, 4vw, 56px); align-items: center; max-width: 1080px; }
.toby-split h2 { font-size: clamp(38px, 5.4vw, 64px); line-height: 1; margin: 12px 0 0; }
.toby-split p { font-size: 18px; font-weight: var(--w-semibold); line-height: 1.5; color: var(--text-muted); margin: 16px 0 0; }
.toby-split p.strong { font-weight: var(--w-heavy); color: var(--text-display); }
.toby-split p.hint { font-size: 14.5px; font-weight: var(--w-bold); color: var(--text-faint); }
.toby-stage { display: flex; justify-content: center; align-items: center; min-height: 460px; }

/* ============================ price ============================ */
.price-wrap { max-width: 1000px; }
.price-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; margin-top: clamp(30px, 4vw, 48px); }
.price-card { background: var(--surface-card); border: var(--stroke-kid) solid var(--outline-kid); border-radius: var(--radius-kid); box-shadow: var(--shadow-kid); padding: 30px; display: flex; flex-direction: column; }
.price-card.featured { position: relative; background: linear-gradient(160deg, var(--green-50), var(--surface-card)); box-shadow: var(--shadow-grow); }
:root[data-theme="night"] .price-card.featured { background: linear-gradient(160deg, color-mix(in srgb, var(--brand-grow) 14%, var(--surface-card)), var(--surface-card)); }
.price-tag { position: absolute; top: -15px; right: 22px; font-family: var(--font-text); font-weight: var(--w-black); font-size: 11px; letter-spacing: .07em; text-transform: uppercase; color: var(--text-on-color); background: var(--green-700); border: 2px solid var(--outline-kid); border-radius: var(--radius-pill); padding: 6px 13px; box-shadow: var(--shadow-grow); }
.price-eyebrow { font-family: var(--font-text); font-weight: var(--w-black); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--brand-grow); }
.price-eyebrow.muted { color: var(--text-muted); }
.price-amount { display: flex; align-items: baseline; gap: 10px; margin-top: 10px; }
.price-amount .num { font-family: var(--font-display); font-size: clamp(44px, 6vw, 60px); line-height: 1; color: var(--text-display); }
.price-amount .per { font-weight: var(--w-heavy); font-size: 15px; color: var(--text-muted); }
.price-amount .per.grow { color: var(--brand-grow); }
.price-card .blurb { font-size: 16px; font-weight: var(--w-bold); line-height: 1.5; color: var(--text-muted); margin: 10px 0 0; }
.price-feats { display: flex; flex-direction: column; gap: 11px; margin: 20px 0 0; }
.price-feats .feat { display: flex; align-items: center; gap: 10px; font-weight: var(--w-bold); font-size: 15px; color: var(--text-body); }
.price-feats .feat .tick { width: 22px; height: 22px; border-radius: 50%; background: var(--green-100); color: var(--brand-grow); display: grid; place-items: center; font-size: 12px; flex-shrink: 0; font-weight: var(--w-black); }
.price-card .cta { margin-top: 24px; display: flex; }
.price-note { text-align: center; font-size: 15px; font-weight: var(--w-bold); color: var(--text-muted); margin: 26px auto 0; max-width: 62ch; }

/* ============================ for parents (PARENT layer) ============================ */
.parents { background: var(--surface-app-parent); }
.parents-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: clamp(24px, 4vw, 44px); align-items: start; }
.parents-intro { position: sticky; top: 90px; }
.parents-intro h2 { font-size: clamp(34px, 4.6vw, 54px); line-height: 1.03; margin: 12px 0 0; }
.parents-intro p { font-size: 17px; font-weight: var(--w-semibold); line-height: 1.5; color: var(--text-muted); margin: 14px 0 0; }
.parent-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.parent-card { background: var(--surface-card); border: var(--stroke-thin) solid var(--outline-parent); border-radius: var(--radius-md); box-shadow: var(--shadow-soft); padding: 22px; }
.parent-card .emoji { font-size: 24px; }
.parent-card h3 { font-family: var(--font-text); font-weight: var(--w-black); font-size: 18px; color: var(--text-display); margin: 12px 0 0; }
.parent-card p { font-size: 15px; font-weight: var(--w-semibold); line-height: 1.5; color: var(--text-muted); margin: 6px 0 0; }

/* ApprovalCard demo (parent surface) */
.approval-card { max-width: 360px; margin-top: 24px; background: var(--surface-card); border: var(--stroke-thin) solid var(--outline-parent); border-radius: var(--radius-md); box-shadow: var(--shadow-soft); padding: 16px; }
.approval-top { display: flex; align-items: center; gap: 12px; }
.approval-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--cream-deep); display: grid; place-items: center; font-size: 20px; flex-shrink: 0; }
.approval-name { font-family: var(--font-text); font-weight: var(--w-black); font-size: 16px; color: var(--text-display); }
.approval-when { margin-left: auto; font-size: 12px; font-weight: var(--w-bold); color: var(--text-faint); }
.approval-body { display: flex; align-items: center; gap: 12px; margin: 14px 0; }
.approval-icon { width: 40px; height: 40px; border-radius: 12px; background: var(--grad-money); border: var(--stroke-thin) solid var(--outline-parent); display: grid; place-items: center; font-size: 18px; flex-shrink: 0; }
.approval-label { font-size: 12px; font-weight: var(--w-bold); color: var(--text-muted); }
.approval-title { font-family: var(--font-text); font-weight: var(--w-black); font-size: 16px; color: var(--text-display); }
.approval-amt { margin-left: auto; font-family: var(--font-text); font-weight: var(--w-black); font-size: 17px; color: var(--brand-grow); }
.approval-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.approval-btn { font-family: var(--font-text); font-weight: var(--w-heavy); font-size: 15px; border-radius: var(--radius-sm); padding: 12px; border: var(--stroke-thin) solid var(--outline-parent); cursor: default; }
.approval-reject { background: var(--surface-card); color: var(--text-muted); }
.approval-approve { background: var(--green-700); color: var(--text-on-color); border-color: var(--green-800); }

/* ============================ privacy banner (KID; AA-safe deep green) ============================ */
/* Design used green-500/600 + white text (fails AA). Darkened to green-700/800
   so white body text passes AA ≥4.5:1 (requirements §6 C2 caution). */
.privacy-band { padding: clamp(40px, 6vw, 80px) 0; }
.privacy-banner { border-radius: 32px; border: var(--stroke-kid) solid var(--outline-kid); box-shadow: var(--shadow-kid-lg); padding: clamp(28px, 4vw, 52px); color: #fff; background: linear-gradient(140deg, var(--green-700), var(--green-800)); }
:root[data-theme="night"] .privacy-banner { background: linear-gradient(140deg, var(--green-800), #0F3A16); box-shadow: 0 0 30px rgba(70,220,87,.18); }
.privacy-banner h2 { color: #fff; font-size: clamp(32px, 4.6vw, 54px); line-height: 1.03; }
.privacy-banner h2 .hl { color: var(--gold-300); }
.privacy-banner .lede { font-size: 18px; font-weight: var(--w-bold); line-height: 1.5; margin: 14px 0 0; max-width: 60ch; color: #fff; }
.privacy-checks { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px 26px; margin-top: 26px; }
.privacy-checks .check { display: flex; align-items: center; gap: 10px; font-weight: var(--w-heavy); font-size: 16px; color: #fff; }
.privacy-checks .check .tick { width: 26px; height: 26px; border-radius: 50%; background: rgba(255,255,255,.20); display: grid; place-items: center; flex-shrink: 0; }
.privacy-kicker { margin-top: 28px; padding-top: 22px; border-top: 2px solid rgba(255,255,255,.28); font-family: var(--font-display); font-size: clamp(20px, 2.4vw, 28px); color: #fff; }
.privacy-kicker .hl { color: var(--gold-300); }
.privacy-band .footnote { max-width: 760px; margin: 22px auto 0; font-size: 15px; font-weight: var(--w-semibold); color: var(--text-muted); }

/* ============================ not a bank ============================ */
.notbank .wrap { max-width: 820px; }
.notbank h2 { font-size: clamp(30px, 4vw, 46px); }
.notbank p { font-size: 17.5px; font-weight: var(--w-semibold); line-height: 1.55; color: var(--text-muted); }

/* ============================ founder story ============================ */
.founder-grid { max-width: 1000px; display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(24px, 4vw, 48px); align-items: center; }
.founder-photo-wrap { position: relative; }
.founder-photo { position: relative; aspect-ratio: 4/5; border: var(--stroke-kid) solid var(--outline-kid); border-radius: 28px; box-shadow: var(--shadow-kid); overflow: hidden; background: var(--surface-sunken); display: grid; place-items: center; text-align: center; padding: 24px; }
.founder-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 18%; padding: 0; }
.founder-photo .ph { font-weight: var(--w-heavy); color: var(--text-faint); font-size: 15px; }
.founder-photo .ph .big { font-size: 40px; display: block; margin-bottom: 10px; }
.made-in { position: absolute; bottom: -14px; left: -12px; font-family: var(--font-display); font-size: 14px; color: var(--text-on-gold); background: var(--grad-money); border: var(--stroke-kid) solid var(--outline-kid); box-shadow: var(--shadow-money); border-radius: var(--radius-pill); padding: 7px 14px; transform: rotate(-4deg); }
.founder-copy h2 { font-size: clamp(30px, 4vw, 48px); line-height: 1.05; margin: 12px 0 0; }
.founder-copy p { font-size: 17.5px; font-weight: var(--w-semibold); line-height: 1.55; color: var(--text-muted); margin: 16px 0 0; }
.founder-sign { font-family: var(--font-display); font-size: 20px; color: var(--text-display); margin: 18px 0 0; }

/* ============================ what's inside (reframed roadmap) ============================ */
.inside .wrap { max-width: 1000px; }
.inside-panel { background: linear-gradient(140deg, color-mix(in srgb, var(--brand-money) 18%, var(--surface-card)), var(--surface-card)); border: var(--stroke-kid) solid var(--outline-kid); border-radius: 32px; box-shadow: var(--shadow-kid); padding: clamp(28px, 4vw, 52px); }
:root[data-theme="night"] .inside-panel { background: linear-gradient(140deg, color-mix(in srgb, var(--brand-money) 12%, var(--surface-card)), var(--surface-card)); }
.inside-head { max-width: 640px; }
.inside-head .pill-money { display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-text); font-weight: var(--w-black); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-on-gold); background: var(--grad-money); border: 2px solid var(--outline-kid); border-radius: var(--radius-pill); padding: 6px 12px; }
.inside-head h2 { font-size: clamp(30px, 4.2vw, 50px); line-height: 1.02; margin: 14px 0 0; }
.inside-head p { font-size: 17.5px; font-weight: var(--w-semibold); line-height: 1.55; color: var(--text-muted); margin: 14px 0 0; }
.inside-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-top: 28px; }
.inside-card { background: var(--surface-card); border: var(--stroke-kid) solid var(--outline-kid); border-radius: var(--radius-kid); box-shadow: var(--shadow-kid-sm); padding: 20px; }
.inside-card .emoji { font-size: 26px; }
.inside-card h3 { font-family: var(--font-display); font-size: 19px; color: var(--text-display); margin: 12px 0 0; }
.inside-card p { font-size: 14.5px; font-weight: var(--w-semibold); line-height: 1.5; color: var(--text-muted); margin: 6px 0 0; }

/* ============================ FAQ (PARENT layer, accessible accordion) ============================ */
.faq-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; align-items: start; }
.faq details { background: var(--surface-card); border: var(--stroke-thin) solid var(--outline-parent); border-radius: var(--radius-md); box-shadow: var(--shadow-soft-sm); overflow: hidden; }
.faq summary { cursor: pointer; list-style: none; padding: 20px 48px 20px 22px; position: relative; font-family: var(--font-text); font-weight: var(--w-black); font-size: 17.5px; color: var(--text-display); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 18px; font-size: 24px; font-weight: var(--w-black); color: var(--brand-grow); line-height: 1; }
.faq details[open] summary::after { content: "\2013"; }
.faq details > .a { padding: 0 22px 20px; }
.faq details > .a p { font-size: 15.5px; font-weight: var(--w-semibold); line-height: 1.5; color: var(--text-muted); margin: 0; }

/* ============================ tell a family ============================ */
.tell-quote, .morning-quote {
  font-family: var(--font-display); font-weight: 400; font-size: clamp(22px, 3.4vw, 34px); line-height: 1.2;
  background: linear-gradient(140deg, color-mix(in srgb, var(--brand-money) 18%, var(--surface-card)), var(--surface-card));
  border: var(--stroke-kid) solid var(--outline-kid); border-radius: var(--radius-kid); box-shadow: var(--shadow-kid);
  padding: 28px 32px; margin: 28px 0; color: var(--text-display);
}
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 40px); align-items: center; }
.two-col p { font-size: 17px; font-weight: var(--w-semibold); line-height: 1.55; color: var(--text-muted); }

/* share card mock */
.share-card { background: var(--surface-card); border: var(--stroke-kid) solid var(--outline-kid); border-radius: var(--radius-kid); box-shadow: var(--shadow-kid); padding: 30px 26px; max-width: 340px; text-align: center; margin: 0 auto; }
.coin-pair { display: inline-flex; align-items: center; gap: 14px; font-family: var(--font-display); }
.coin { display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #FFE38A, var(--gold-400) 55%, var(--gold-500)); border: var(--stroke-kid) solid var(--outline-kid); color: var(--text-on-gold); box-shadow: var(--shadow-money); }
.coin-sm { width: 56px; height: 56px; font-size: 15px; }
.coin-lg { width: 74px; height: 74px; font-size: 18px; }
.share-card .grow-line { font-family: var(--font-display); font-size: 22px; margin: 16px 0 6px; color: var(--text-display); }
.share-card .brand-line { color: var(--text-muted); font-size: 14px; font-weight: var(--w-bold); margin: 0; }

/* ============================ final CTA ============================ */
.final-cta { text-align: center; max-width: 820px; margin: 0 auto; background: linear-gradient(140deg, color-mix(in srgb, var(--paper) 60%, var(--cream)), color-mix(in srgb, var(--brand-air) 12%, var(--cream))); border: var(--stroke-kid) solid var(--outline-kid); border-radius: 36px; box-shadow: var(--shadow-kid-lg); padding: clamp(30px, 4vw, 56px); }
:root[data-theme="night"] .final-cta { background: linear-gradient(140deg, #1E2E4E, #16233F); }
.final-cta .spr { font-size: 40px; }
.final-cta h2 { font-size: clamp(32px, 4.8vw, 56px); line-height: 1.02; margin: 10px 0 0; }
.final-cta p { font-size: 18px; font-weight: var(--w-bold); color: var(--text-muted); margin: 14px 0 0; }
.final-cta .cta-row { display: flex; justify-content: center; margin-top: 26px; }

/* ============================ footer ============================ */
/* The footer is a permanently-DARK surface in BOTH themes (bg is dark in light
   via --ink, and overridden dark in night). So its text must use FIXED light
   colours — NOT --cream, which flips to dark navy under [data-theme="night"]
   and made the links invisible (dark-on-dark). */
.site-footer { background: var(--ink); color: #FFF9EE; padding: clamp(40px, 5vw, 64px) 0 40px; }
:root[data-theme="night"] .site-footer { background: #0C1424; }
.footer-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px; }
.footer-brand .logo .wordmark { color: #fff; }
.footer-brand p { font-size: 15px; font-weight: var(--w-bold); color: rgba(255,249,238,.72); margin: 14px 0 0; max-width: 26ch; }
.footer-col h3 { font-family: var(--font-text); font-weight: var(--w-black); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,249,238,.55); margin: 0 0 14px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: #FFF9EE; font-weight: var(--w-bold); font-size: 15px; }
.footer-col a:hover { color: var(--brand-money); }
.small-print { max-width: 1180px; margin: 32px auto 0; padding-top: 22px; border-top: var(--stroke-thin) solid rgba(255,249,238,.16); font-size: 12.5px; font-weight: var(--w-semibold); line-height: 1.5; color: rgba(255,249,238,.55); }
.small-print a { color: rgba(255,249,238,.75); }

/* ============================ prose pages (privacy, support) ============================ */
.prose { max-width: 760px; margin: 0 auto; padding: 48px clamp(20px, 5vw, 48px) 80px; }
.prose h1 { font-size: clamp(34px, 5vw, 48px); }
.prose h2 { font-family: var(--font-display); font-size: clamp(22px, 3vw, 30px); margin: 1.6em 0 .4em; }
.prose p { font-size: 17px; font-weight: var(--w-semibold); line-height: 1.6; color: var(--text-body); }
.prose .lede { font-size: 19px; color: var(--text-muted); }
.prose ul { padding-left: 1.3em; margin: 0 0 1em; }
.prose li { margin-bottom: 6px; font-weight: var(--w-semibold); color: var(--text-body); }
.prose a { color: var(--brand-grow); text-decoration: underline; }

/* ============================ share page copy blocks ============================ */
.hero-lite { padding: clamp(28px, 5vw, 56px) 0 24px; background: linear-gradient(180deg, color-mix(in srgb, var(--brand-air) 12%, var(--surface-app)) 0%, var(--surface-app) 70%); }
.hero-lite h1 { font-size: clamp(38px, 6vw, 64px); margin: 16px 0 0; }
.hero-lite .lede { font-size: 19px; font-weight: var(--w-semibold); color: var(--text-muted); margin: 16px 0 0; max-width: 40ch; }
.copy-block { background: var(--surface-card); border: var(--stroke-thin) solid var(--outline-parent); border-radius: var(--radius-md); box-shadow: var(--shadow-soft-sm); padding: 22px; margin-bottom: 18px; }
.copy-block h3 { font-family: var(--font-text); font-weight: var(--w-black); font-size: 14px; letter-spacing: .04em; text-transform: uppercase; color: var(--text-muted); margin: 0 0 10px; }
.copy-block blockquote { margin: 0 0 14px; font-size: 17px; font-weight: var(--w-semibold); line-height: 1.55; border-left: 4px solid var(--brand-money); padding-left: 16px; color: var(--text-body); }
.copy-block .copied { color: var(--brand-grow); font-weight: var(--w-heavy); margin-left: 10px; font-size: 14px; }

/* ============================ responsive collapses ============================ */
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art-col { order: -1; }
  .founder-grid { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .approval-actions { grid-template-columns: 1fr; }
}

/* ============================ night: soft glows replace hard shadows on kid cards ============================ */
/* effects.css already flips --shadow-kid* to glows under [data-theme="night"];
   the coloured undersides below get gentle glows so night never shows hard bars. */
:root[data-theme="night"] .chip-money { box-shadow: 0 0 16px rgba(255,210,77,.28); }
:root[data-theme="night"] .chip-grow  { box-shadow: 0 0 16px rgba(70,220,87,.28); }
:root[data-theme="night"] .chip-air   { box-shadow: 0 0 16px rgba(87,199,255,.28); }
:root[data-theme="night"] .toby-shoe  { box-shadow: 0 0 14px rgba(70,220,87,.30); }
:root[data-theme="night"] .made-in,
:root[data-theme="night"] .coin,
:root[data-theme="night"] .btn { box-shadow: 0 0 16px rgba(255,210,77,.30); }

/* Print: default pages shouldn't waste ink; chart.html has its own print CSS. */
@media print { .site-header, .theme-toggle { display: none; } }

/* ============================================================
   GUIDES — long-form parent guides (GEO content hub)
   Prose styling for /guides/*; reuses brand tokens only.
   ============================================================ */
.guide-main { padding: clamp(28px, 5vw, 56px) 0 clamp(48px, 7vw, 88px); }
.breadcrumb { font-family: var(--font-text); font-size: 14px; font-weight: var(--w-semibold); color: var(--text-muted); margin: 0 0 18px; }
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--brand-grow); }
.guide h1 { font-size: clamp(34px, 5.2vw, 56px); line-height: 1.02; }
.guide .updated { font-family: var(--font-text); font-size: 13px; font-weight: var(--w-semibold); color: var(--text-faint); margin: 14px 0 0; }
.guide .byline { font-family: var(--font-text); font-size: 15px; font-weight: var(--w-semibold); color: var(--text-muted); margin: 8px 0 0; }
.guide .byline b { color: var(--text-body); }
.guide .standfirst { font-size: clamp(18px, 1.6vw, 21px); font-weight: var(--w-semibold); line-height: 1.5; color: var(--text-body); margin: 22px 0 0; }
.guide h2 { font-family: var(--font-display); font-size: clamp(26px, 3.4vw, 38px); line-height: 1.05; margin: clamp(38px, 5vw, 56px) 0 0; }
.guide h3 { font-family: var(--font-display); font-size: clamp(20px, 2.4vw, 26px); margin: 30px 0 0; }
.guide p, .guide li { font-family: var(--font-text); font-size: 17px; font-weight: var(--w-semibold); line-height: 1.62; color: var(--text-body); }
.guide p { margin: 16px 0 0; }
.guide ul, .guide ol { margin: 16px 0 0; padding-left: 1.3em; }
.guide li { margin: 8px 0 0; }
.guide a { color: var(--brand-grow); text-decoration: underline; text-underline-offset: 2px; }
.guide strong { color: var(--text-display); }
.key-takeaway { margin: 26px 0 0; padding: 20px 22px; background: color-mix(in srgb, var(--brand-grow) 9%, var(--surface-app)); border-left: var(--stroke-kid, 3px) solid var(--brand-grow); border-radius: var(--radius-md, 14px); }
.key-takeaway p { margin: 0; }
.key-takeaway .label { display: block; font-family: var(--font-text); font-weight: var(--w-heavy); font-size: 12px; letter-spacing: var(--ls-caps); text-transform: uppercase; color: var(--brand-grow); margin-bottom: 6px; }
.guide-table-wrap { overflow-x: auto; margin: 22px 0 0; }
.guide-table { border-collapse: collapse; width: 100%; min-width: 420px; font-family: var(--font-text); font-size: 16px; }
.guide-table th, .guide-table td { text-align: left; padding: 11px 14px; border-bottom: 1.5px solid var(--divider); font-weight: var(--w-semibold); }
.guide-table th { font-weight: var(--w-heavy); color: var(--text-display); background: var(--surface-sunken); }
.guide-table caption { caption-side: bottom; font-size: 13px; color: var(--text-faint); margin-top: 8px; text-align: left; }
.sources { margin: 40px 0 0; padding: 22px; background: var(--surface-card); border: 1.5px solid var(--divider); border-radius: var(--radius-md, 14px); }
.sources h2 { font-size: 20px; margin: 0; }
.sources ol { margin: 12px 0 0; }
.sources li { font-size: 14px; line-height: 1.5; color: var(--text-muted); }
.guide-cta { margin: 40px 0 0; padding: clamp(24px, 4vw, 34px); background: color-mix(in srgb, var(--brand-money) 12%, var(--surface-app)); border-radius: var(--radius-lg, 20px); text-align: center; }
.guide-cta h2 { margin: 0; font-size: clamp(24px, 3vw, 32px); }
.guide-cta p { margin: 12px auto 0; max-width: 46ch; }
.guide-cta .hero-actions { justify-content: center; margin-top: 20px; }
.faq-q { font-family: var(--font-display); font-size: clamp(19px, 2.2vw, 23px); margin: 28px 0 0; }
.faq-a { margin: 10px 0 0; }
/* Guides hub grid */
.guides-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: clamp(16px, 2.5vw, 24px); margin: clamp(28px, 4vw, 40px) 0 0; }
.guide-card { display: block; padding: 24px; background: var(--surface-card); border: 1.5px solid var(--divider); border-radius: var(--radius-lg, 20px); box-shadow: var(--shadow-soft, 0 3px 12px rgba(44,35,24,.08)); }
.guide-card:hover { border-color: var(--brand-grow); }
.guide-card h2 { font-family: var(--font-display); font-size: 22px; margin: 0; color: var(--text-display); }
.guide-card p { font-family: var(--font-text); font-size: 15px; font-weight: var(--w-semibold); line-height: 1.5; color: var(--text-muted); margin: 10px 0 0; }
