/* ============================================================
   THE MONEY SAVVY TEEN — site styles
   ------------------------------------------------------------
   >>> CHANGE YOUR BRAND COLORS HERE AND ONLY HERE <<<
   Every color on both pages comes from the variables below.
   Swap a hex value, save, re-upload this one file, done.
   These values were sampled directly from your book cover.
   ============================================================ */
:root {
  --brand:       #6878C8;  /* cornflower blue  (cover background) */
  --brand-deep:  #352E73;  /* deep indigo      (MONEY $AVVY text) */
  --accent:      #DD6E22;  /* orange           (subtitle / CTAs)  */
  --accent-deep: #B4520F;  /* darker orange for small text on light */
  --gold:        #F5C65A;  /* gold             (the dollar signs) */
  --ink:         #241F52;  /* body + heading text (dark indigo)  */
  --muted:       #6A6A86;  /* secondary text */
  --paper:       #F5F6FC;  /* page background (cool near-white)  */
  --card:        #FFFFFF;  /* card / panel background */
  --line:        #DCDFEF;  /* hairlines + borders */
  --line-strong: #241F52;  /* strong rules */

  /* ---- type (Google Fonts, loaded in each HTML <head>) ---- */
  --display: "Poppins", system-ui, sans-serif;          /* bold geometric, echoes cover lettering */
  --script:  "Caveat", "Segoe Script", cursive;          /* handwritten accent, echoes cover script */
  --body:    "Hanken Grotesk", system-ui, -apple-system, Segoe UI, sans-serif;
  --mono:    "Space Mono", ui-monospace, "Courier New", monospace;

  --maxw: 1140px;
  --radius: 14px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--body); font-size: 18px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.06; margin: 0; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.5rem, 6vw, 4.3rem); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.8rem, 4vw, 2.7rem); }
h3 { font-size: 1.25rem; }
p  { margin: 0 0 1rem; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.eyebrow {
  font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--accent-deep); margin: 0 0 1rem;
}
.script-kicker { font-family: var(--script); font-size: 2rem; line-height: 1; color: var(--accent); transform: rotate(-3deg); display: inline-block; margin: 0 0 0.2rem; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--body); font-weight: 700; font-size: 1rem; text-decoration: none;
  border: 2px solid var(--ink); padding: 0.85rem 1.4rem; border-radius: 999px;
  cursor: pointer; transition: transform .12s ease, background .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.btn--primary { background: var(--ink); color: #fff; }
.btn--primary:hover { background: var(--brand-deep); border-color: var(--brand-deep); }
.btn--accent { background: var(--accent); color: #fff; border-color: var(--ink); }
.btn--accent:hover { background: #c25e16; }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }

/* ---------- header ---------- */
.site-head {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(8px); border-bottom: 1px solid var(--line);
}
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand-mark { font-family: var(--display); font-weight: 700; font-size: 1.18rem; text-decoration: none; color: var(--ink); display: flex; align-items: center; gap: 0.55rem; letter-spacing: -0.01em; }
.brand-mark .coin { width: 27px; height: 27px; border-radius: 50%; background: var(--gold); border: 2px solid var(--ink); display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 0.85rem; color: var(--ink); }
.brand-mark .the { font-family: var(--script); font-weight: 700; color: var(--accent); font-size: 1.25rem; margin-right: -0.15rem; }
.nav { display: flex; align-items: center; gap: 1.5rem; }
.nav a { text-decoration: none; font-weight: 600; font-size: 0.98rem; color: var(--ink); }
.nav a:hover { color: var(--accent); }
.nav .btn { padding: 0.55rem 1.1rem; }
.nav-links { display: flex; gap: 1.4rem; }
@media (max-width: 880px){ .nav-links { display: none; } }

/* ---------- hero ---------- */
.hero { padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(2rem,5vw,4rem); }
.hero .wrap { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(2rem,5vw,4rem); align-items: center; }
@media (max-width: 900px){ .hero .wrap { grid-template-columns: 1fr; } }
.hero h1 span.hl { color: var(--accent); }
.hero .lead { font-size: 1.2rem; color: var(--muted); max-width: 36ch; margin: 1.3rem 0 2rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.8rem; }

/* book / receipt signature card */
.bookcard { background: var(--card); border: 2px solid var(--line-strong); border-radius: 6px; box-shadow: 14px 14px 0 var(--brand); overflow: hidden; max-width: 360px; margin-inline: auto; }
.bookcard .topline { background: var(--brand-deep); color: #fff; font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; padding: 0.5rem 1rem; display:flex; justify-content: space-between; }
.bookcard .cover-slot { aspect-ratio: 3 / 4; background: var(--brand); display: grid; place-items: center; text-align: center; padding: 1.5rem; border-bottom: 1px dashed var(--line-strong); }
.cover-slot .the { font-family: var(--script); font-size: 1.6rem; color: #fff; display:block; line-height: 1; }
.cover-slot .title { font-family: var(--display); font-weight: 800; font-size: 2.1rem; line-height: 0.98; color: #fff; letter-spacing: -0.01em; }
.cover-slot .title b { color: var(--gold); }
.cover-slot .teen { font-family: var(--script); font-size: 1.7rem; color: #fff; display:block; line-height: 1; }
.cover-slot .sub { font-family: var(--display); font-weight: 700; font-size: 0.78rem; color: var(--gold); margin-top: 0.7rem; line-height: 1.2; }
.cover-slot .note { font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.1em; color: rgba(255,255,255,0.7); margin-top: 1rem; }
.bookcard .receipt { font-family: var(--mono); font-size: 0.82rem; padding: 0.9rem 1rem 1.1rem; }
.bookcard .receipt .row { display: flex; justify-content: space-between; padding: 0.18rem 0; }
.bookcard .receipt .row.total { border-top: 2px solid var(--line-strong); margin-top: 0.4rem; padding-top: 0.5rem; font-weight: 700; }

/* ---------- proof strip ---------- */
.proof { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--card); }
.proof .wrap { display: flex; flex-wrap: wrap; gap: 1rem 2.5rem; padding: 1.1rem 24px; align-items: center; }
.proof span { font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.05em; color: var(--ink); display: flex; align-items: center; gap: 0.5rem; }
.proof span::before { content: "✓"; color: var(--accent); font-weight: 700; }

/* ---------- section shell ---------- */
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section--alt { background: var(--card); }
.section-head { max-width: 60ch; margin-bottom: 2.6rem; }
.section-head .eyebrow { margin-bottom: 0.8rem; }
.section-head p { color: var(--muted); font-size: 1.1rem; }

/* ---------- pillars ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
@media (max-width: 820px){ .pillars { grid-template-columns: 1fr; } }
.pillar { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; position: relative; }
.section--alt .pillar { background: var(--paper); }
.pillar .tag { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.12em; color: var(--accent-deep); text-transform: uppercase; }
.pillar h3 { margin: 0.7rem 0 0.6rem; }
.pillar p { color: var(--muted); font-size: 0.98rem; margin: 0; }
.pillar .num { position: absolute; top: 1.2rem; right: 1.4rem; font-family: var(--mono); color: var(--brand); opacity: 0.5; font-size: 1.4rem; }

/* ---------- learn list ---------- */
.learn-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem 2.4rem; list-style: none; padding: 0; margin: 0; }
@media (max-width: 720px){ .learn-grid { grid-template-columns: 1fr; } }
.learn-grid li { display: flex; gap: 0.8rem; padding: 0.6rem 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
.learn-grid li .dollar { font-family: var(--display); font-weight: 800; color: var(--accent); }

/* ---------- standards ---------- */
.std-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 2.5rem; align-items: start; }
@media (max-width: 820px){ .std-grid { grid-template-columns: 1fr; } }
.std-list { list-style: none; padding: 0; margin: 0; border-top: 2px solid var(--line-strong); }
.std-list li { display: flex; justify-content: space-between; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 0.92rem; }
.std-list li b { font-family: var(--body); font-weight: 700; }
.std-list .what { color: var(--muted); text-align: right; }

/* ---------- praise ---------- */
.praise { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.4rem; }
@media (max-width: 820px){ .praise { grid-template-columns: 1fr; } }
.quote { background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: 10px; padding: 1.5rem; }
.quote p { font-family: var(--display); font-weight: 600; font-size: 1.12rem; line-height: 1.3; color: var(--ink); margin: 0 0 0.9rem; }
.quote .who { font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.04em; color: var(--muted); text-transform: uppercase; }
.section--alt .quote { background: var(--paper); }

/* ---------- curriculum kits ---------- */
.curr-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
@media (max-width: 920px){ .curr-grid { grid-template-columns: 1fr; max-width: 460px; margin-inline:auto; } }
.kit { background: var(--card); border: 2px solid var(--line-strong); border-radius: 8px; display: flex; flex-direction: column; overflow: hidden; box-shadow: 8px 8px 0 var(--gold); }
.kit .head { background: var(--brand-deep); color: #fff; padding: 1.3rem 1.4rem; }
.kit .head .len { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); }
.kit .head h3 { color: #fff; margin: 0.4rem 0 0.2rem; font-size: 1.45rem; }
.kit .head .for { font-size: 0.9rem; color: #cfd2ee; margin: 0; }
.kit .body { padding: 1.3rem 1.4rem; flex: 1; }
.kit .body .label { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.7rem; }
.kit ul { list-style: none; margin: 0 0 0.5rem; padding: 0; }
.kit ul li { font-size: 0.93rem; padding: 0.32rem 0; border-bottom: 1px dotted var(--line); display: flex; gap: 0.6rem; }
.kit ul li::before { content: "+"; color: var(--accent); font-family: var(--display); font-weight: 800; }
.kit .foot { padding: 0 1.4rem 1.4rem; }
.kit .foot .fmt { font-family: var(--mono); font-size: 0.72rem; color: var(--muted); margin-bottom: 0.8rem; }
.kit .foot .btn { width: 100%; justify-content: center; }

/* ---------- about ---------- */
.about { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 2.5rem; align-items: center; }
@media (max-width: 820px){ .about { grid-template-columns: 1fr; } }
.about .portrait { aspect-ratio: 1; background: var(--brand); border: 2px solid var(--line-strong); border-radius: var(--radius); display: grid; place-items: center; color: #fff; font-family: var(--mono); font-size: 0.8rem; text-align:center; padding: 1rem; box-shadow: 10px 10px 0 var(--gold); }

/* ---------- final CTA ---------- */
.cta-band { background: var(--brand-deep); color: #fff; }
.cta-band .wrap { padding: clamp(3rem,7vw,5rem) 24px; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #cfd2ee; max-width: 46ch; margin: 1rem auto 2rem; }
.cta-band .hero-cta { justify-content: center; }
.cta-band .btn--ghost { color: #fff; border-color: #fff; }
.cta-band .btn--ghost:hover { background: #fff; color: var(--brand-deep); }

/* ---------- footer ---------- */
.site-foot { background: var(--ink); color: #c9cbe6; font-size: 0.92rem; }
.site-foot .wrap { padding: 3rem 24px 2rem; display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 2rem; }
@media (max-width: 720px){ .site-foot .wrap { grid-template-columns: 1fr; } }
.site-foot h4 { font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: #fff; margin: 0 0 0.9rem; }
.site-foot a { color: #c9cbe6; text-decoration: none; display: block; padding: 0.2rem 0; }
.site-foot a:hover { color: var(--gold); }
.site-foot .brand-mark { color: #fff; margin-bottom: 0.8rem; }
.site-foot .brand-mark .the { color: var(--gold); }
.site-foot .legal { grid-column: 1 / -1; border-top: 1px solid #38335f; margin-top: 1.5rem; padding-top: 1.3rem; font-family: var(--mono); font-size: 0.72rem; color: #8a8cb0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem; }
.flag { background: #fff5e8; border: 1px dashed var(--accent-deep); color: #6b4a00; font-family: var(--mono); font-size: 0.72rem; padding: 0.15rem 0.45rem; border-radius: 4px; display: inline-block; }

@media (prefers-reduced-motion: reduce){ * { scroll-behavior: auto !important; transition: none !important; } }
