/* =====================================================================
   AI ACADEMY — STYLE
   ---------------------------------------------------------------------
   Brand palette (warm, human, community — charity meets modern tech)

     --terracotta   #C85A3F   primary, CTAs, accents
     --terracotta-d #A04428   darker, hover states
     --amber        #E8A53F   secondary, highlights
     --sage         #7A8F6A   tertiary, growth/calm
     --coral        #F4A88E   soft accent
     --cream        #FAF6F0   page background
     --beige        #F0E6D6   secondary background
     --sand         #E5D7BF   bands, strips
     --ink          #2B2420   primary text
     --muted        #5C5651   secondary text
     --hush         #A39E98   tertiary text, borders

   Typography
     Display / headings:  "Fraunces" (humanist contemporary serif, warm)
     Body / UI:           "Inter"    (clean humanist sans)

   No images. All visual rhythm from type, colour, spacing.
   Single file. Section comments mark major blocks.
   ===================================================================== */

/* ---------- 1. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body, h1, h2, h3, h4, h5, h6, p, ul, ol, li, figure, blockquote, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: transparent; }
input, select, textarea { font: inherit; }

/* ---------- 2. Tokens ---------- */
:root {
  --terracotta:   #C85A3F;
  --terracotta-d: #A04428;
  --terracotta-l: #E07A60;
  --amber:        #E8A53F;
  --amber-d:      #C78420;
  --sage:         #7A8F6A;
  --sage-d:       #5E7251;
  --coral:        #F4A88E;
  --cream:        #FAF6F0;
  --beige:        #F0E6D6;
  --sand:         #E5D7BF;
  --ink:          #2B2420;
  --muted:        #5C5651;
  --hush:         #A39E98;
  --line:         #DCCFBA;
  --white:        #FFFFFF;

  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 20px;
  --r-xl: 32px;

  --shadow-sm: 0 1px 2px rgba(43, 36, 32, 0.05), 0 2px 6px rgba(43, 36, 32, 0.04);
  --shadow-md: 0 4px 10px rgba(43, 36, 32, 0.06), 0 12px 28px rgba(43, 36, 32, 0.06);
  --shadow-lg: 0 10px 24px rgba(43, 36, 32, 0.08), 0 24px 48px rgba(43, 36, 32, 0.08);

  --measure: 64ch;
  --container: 1180px;
  --container-narrow: 880px;
}

/* ---------- 3. Base ---------- */
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  background-image:
    radial-gradient(rgba(43, 36, 32, 0.018) 1px, transparent 1px),
    radial-gradient(rgba(43, 36, 32, 0.014) 1px, transparent 1px);
  background-size: 32px 32px, 19px 19px;
  background-position: 0 0, 11px 13px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.15;
  color: var(--ink);
  font-variation-settings: "SOFT" 50, "WONK" 0, "opsz" 36;
}

h1 { font-size: clamp(2.4rem, 5.5vw, 4.2rem); line-height: 1.05; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.9rem, 3.8vw, 2.8rem); }
h3 { font-size: clamp(1.35rem, 2.4vw, 1.75rem); }
h4 { font-size: 1.15rem; font-weight: 600; letter-spacing: 0; }

p { max-width: var(--measure); }
p + p { margin-top: 1em; }

strong { font-weight: 600; color: var(--ink); }
em { font-style: italic; }

a:not(.btn) {
  color: var(--terracotta-d);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  text-decoration-color: rgba(160, 68, 40, 0.35);
  transition: text-decoration-color .2s, color .2s;
}
a:not(.btn):hover { text-decoration-color: var(--terracotta-d); }

::selection { background: var(--amber); color: var(--ink); }

/* ---------- 4. Layout primitives ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container-narrow { width: 100%; max-width: var(--container-narrow); margin: 0 auto; padding: 0 24px; }

.section { padding: 88px 0; }
.section-tight { padding: 56px 0; }
.section-loose { padding: 120px 0; }

.eyebrow {
  display: inline-block;
  font-family: "Inter", sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terracotta-d);
  margin-bottom: 14px;
}

.lead {
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  line-height: 1.55;
  color: var(--muted);
  max-width: 60ch;
}

.band-sand   { background: var(--sand); }
.band-beige  { background: var(--beige); }
.band-cream  { background: var(--cream); }
.band-ink    { background: var(--ink); color: var(--cream); }
.band-ink h1, .band-ink h2, .band-ink h3, .band-ink h4 { color: var(--cream); }
.band-ink .lead { color: rgba(250, 246, 240, 0.78); }
.band-terracotta { background: var(--terracotta); color: var(--cream); }
.band-terracotta h1, .band-terracotta h2, .band-terracotta h3 { color: var(--cream); }

.rule {
  height: 1px;
  background: var(--line);
  border: 0;
  margin: 0;
}

/* ---------- 5. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: var(--r-md);
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none !important;
  transition: transform .15s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
  white-space: nowrap;
  cursor: pointer;
}
.btn-primary {
  background: var(--terracotta);
  color: var(--cream);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--terracotta-d); transform: translateY(-1px); box-shadow: var(--shadow-md); }

.btn-secondary {
  background: var(--ink);
  color: var(--cream);
}
.btn-secondary:hover { background: #1a1410; transform: translateY(-1px); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: var(--cream); }

.btn-light {
  background: var(--cream);
  color: var(--ink);
}
.btn-light:hover { background: var(--white); transform: translateY(-1px); }

.btn-block { display: flex; width: 100%; justify-content: center; }

.btn-arrow::after {
  content: "→";
  display: inline-block;
  transition: transform .2s ease;
}
.btn-arrow:hover::after { transform: translateX(3px); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--terracotta-d);
  text-decoration: none !important;
}
.link-arrow::after { content: "→"; transition: transform .2s ease; }
.link-arrow:hover::after { transform: translateX(3px); }

/* ---------- 6. Header & nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 246, 240, 0.92);
  backdrop-filter: saturate(140%) blur(8px);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Fraunces", serif;
  font-weight: 600;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-decoration: none !important;
}
.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--amber), var(--terracotta) 70%);
  position: relative;
  flex: none;
}
.brand-mark::after {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  background: var(--cream);
}
.brand-mark::before {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 8px; height: 8px;
  margin: -4px 0 0 -4px;
  border-radius: 50%;
  background: var(--terracotta);
  z-index: 1;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none !important;
}
.nav-links a:hover { color: var(--terracotta-d); }
.nav-links a.active { color: var(--terracotta-d); }

.nav-cta { margin-left: 8px; }

.nav-toggle {
  display: none;
  font-size: 1.4rem;
  padding: 6px 10px;
  border-radius: var(--r-sm);
}
.nav-toggle:hover { background: var(--beige); }

@media (max-width: 880px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 16px 24px 24px;
    gap: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }
  .nav-links a:last-child { border-bottom: 0; }
  .nav-cta { margin-left: 0; margin-top: 12px; }
}

/* ---------- 7. Hero ---------- */
.hero {
  padding: 96px 0 88px;
  position: relative;
  overflow: hidden;
}
.hero-inner { max-width: 920px; position: relative; z-index: 1; }
.hero h1 { margin-bottom: 20px; }
.hero .lead { font-size: clamp(1.15rem, 1.7vw, 1.4rem); max-width: 56ch; margin-bottom: 36px; color: var(--muted); }

.hero-bg-mark {
  position: absolute;
  right: -120px;
  top: -80px;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--coral), var(--terracotta) 70%);
  opacity: 0.14;
  filter: blur(2px);
  pointer-events: none;
}
.hero-bg-mark.green {
  right: auto; left: -160px; top: auto; bottom: -180px;
  width: 380px; height: 380px;
  background: radial-gradient(circle at 60% 40%, var(--sage), var(--sage-d) 80%);
  opacity: 0.10;
}

/* ---------- 8. Inline email capture ---------- */
.email-capture {
  display: flex;
  gap: 8px;
  max-width: 520px;
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: var(--r-md);
  padding: 6px;
  box-shadow: var(--shadow-sm);
}
.email-capture input {
  flex: 1;
  border: 0;
  background: transparent;
  padding: 12px 14px;
  font-size: 1rem;
  color: var(--ink);
  outline: none;
  min-width: 0;
}
.email-capture input::placeholder { color: var(--hush); }
.email-capture button {
  background: var(--terracotta);
  color: var(--cream);
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
  transition: background .2s;
}
.email-capture button:hover { background: var(--terracotta-d); }
.email-capture-center { margin: 0 auto; }

.email-note {
  margin-top: 12px;
  font-size: 0.85rem;
  color: var(--muted);
}

.mailerlite-embed {
  max-width: 520px;
}

.section-head + .mailerlite-embed,
.band-ink > .container > .mailerlite-embed {
  margin: 0 auto;
}

.mailerlite-embed .ml-form-embedContainer {
  margin: 0 !important;
}

.mailerlite-embed .ml-form-align-center,
.mailerlite-embed .ml-form-embedWrapper.embedForm {
  width: 100% !important;
  max-width: 100% !important;
}

.mailerlite-embed .ml-form-embedWrapper {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.mailerlite-embed .ml-form-embedBody {
  padding: 0 !important;
}

.mailerlite-embed .ml-form-embedContent {
  display: none !important;
}

.mailerlite-embed .ml-block-form {
  display: flex !important;
  align-items: stretch !important;
  gap: 8px !important;
}

.mailerlite-embed .ml-form-formContent {
  flex: 1 1 auto !important;
  margin: 0 !important;
}

.mailerlite-embed .ml-form-fieldRow,
.mailerlite-embed .ml-field-group {
  margin: 0 !important;
  padding: 0 !important;
}

.mailerlite-embed input.form-control {
  width: 100% !important;
  min-height: 52px !important;
  border: 1px solid var(--line) !important;
  border-radius: 8px !important;
  background: var(--cream) !important;
  color: var(--ink) !important;
  font-family: inherit !important;
  font-size: 1rem !important;
  padding: 12px 14px !important;
  outline: none !important;
}

.mailerlite-embed input.form-control::placeholder {
  color: var(--hush) !important;
}

.mailerlite-embed .ml-form-embedSubmit {
  flex: 0 0 auto !important;
  margin: 0 !important;
}

.mailerlite-embed .ml-form-embedSubmit button.primary {
  min-height: 52px !important;
  width: auto !important;
  background: var(--terracotta) !important;
  border: 0 !important;
  border-radius: 8px !important;
  color: var(--cream) !important;
  font-family: inherit !important;
  font-size: 0.95rem !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  padding: 12px 20px !important;
  white-space: nowrap !important;
}

.mailerlite-embed .ml-form-embedSubmit button.primary:hover {
  background: var(--terracotta-d) !important;
}

.footer-brand .mailerlite-embed {
  max-width: 360px;
  margin-top: 18px;
}

.footer-brand .mailerlite-embed .ml-block-form {
  max-width: 360px !important;
}

.footer-brand .mailerlite-embed input.form-control,
.footer-brand .mailerlite-embed .ml-form-embedSubmit button.primary {
  min-height: 44px !important;
}

.footer-brand .mailerlite-embed .ml-form-embedSubmit button.primary {
  padding-left: 14px !important;
  padding-right: 14px !important;
}

.band-ink .mailerlite-embed input.form-control,
.cta-block .mailerlite-embed input.form-control {
  border-color: transparent !important;
}

.mailerlite-status {
  max-width: 520px;
  margin-top: 8px;
  min-height: 1.15em;
  font-size: 0.78rem;
  line-height: 1.45;
  font-weight: 600;
  color: var(--terracotta-d);
}

.site-footer .mailerlite-status {
  max-width: 360px;
  color: var(--coral);
}

.band-ink .mailerlite-status,
.cta-block .mailerlite-status { color: var(--coral); }

.band-ink .email-note { color: rgba(250, 246, 240, 0.5); }

.privacy-copy h2 {
  margin-top: 48px;
  margin-bottom: 12px;
}

.privacy-copy h2:first-child { margin-top: 0; }

.privacy-copy p { color: var(--muted); }

@media (max-width: 520px) {
  .email-capture { flex-direction: column; padding: 8px; }
  .email-capture button { padding: 14px; }
  .mailerlite-embed .ml-block-form { flex-direction: column !important; }
  .mailerlite-embed .ml-form-embedSubmit button.primary { width: 100% !important; }
}

/* ---------- 9. Three-pathways grid (homepage) ---------- */
.pathways {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 940px) { .pathways { grid-template-columns: 1fr; } }

.pathway-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 36px 32px 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}
.pathway-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

.pathway-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 6px;
}
.pathway-card.pa::before { background: linear-gradient(90deg, var(--amber), var(--terracotta)); }
.pathway-card.pb::before { background: linear-gradient(90deg, var(--sage), var(--amber)); }
.pathway-card.pc::before { background: linear-gradient(90deg, var(--terracotta), var(--coral)); }

.pathway-icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  font-family: "Fraunces", serif;
  font-weight: 600;
  font-size: 1.6rem;
  color: var(--cream);
}
.pa .pathway-icon { background: var(--amber); color: var(--ink); }
.pb .pathway-icon { background: var(--sage); }
.pc .pathway-icon { background: var(--terracotta); }

.pathway-card h3 { margin-bottom: 10px; }
.pathway-card .who {
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}
.pathway-card .desc { color: var(--muted); margin-bottom: 22px; }
.pathway-card ul.benefits {
  margin: 0 0 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pathway-card ul.benefits li {
  position: relative;
  padding-left: 22px;
  color: var(--ink);
  font-size: 0.96rem;
}
.pathway-card ul.benefits li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.6em;
  width: 10px; height: 2px;
  background: var(--terracotta);
}
.pathway-card .card-cta { margin-top: auto; }

/* ---------- 10. Stats strip ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
@media (max-width: 880px) { .stats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .stats { grid-template-columns: 1fr; } }

.stat { padding: 8px 0; }
.stat-num {
  font-family: "Fraunces", serif;
  font-weight: 500;
  font-size: clamp(2.2rem, 3.5vw, 3rem);
  line-height: 1;
  color: var(--terracotta);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.band-ink .stat-num { color: var(--amber); }
.stat-label {
  font-size: 1rem;
  color: var(--ink);
  margin-bottom: 6px;
  line-height: 1.4;
}
.band-ink .stat-label { color: var(--cream); }
.stat-source {
  font-size: 0.78rem;
  color: var(--hush);
  letter-spacing: 0.04em;
}
.band-ink .stat-source { color: rgba(250, 246, 240, 0.5); }

/* ---------- 11. How it works ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  counter-reset: step;
}
@media (max-width: 880px) { .steps { grid-template-columns: 1fr; } }
.step {
  counter-increment: step;
  position: relative;
  padding: 28px 24px;
  background: var(--white);
  border-radius: var(--r-md);
  border: 1px solid var(--line);
}
.step::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  font-family: "Fraunces", serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--terracotta);
  margin-bottom: 14px;
}
.step h4 { margin-bottom: 8px; font-family: "Fraunces", serif; font-weight: 500; font-size: 1.25rem; }
.step p { color: var(--muted); font-size: 0.96rem; }

/* ---------- 12. Footer ---------- */
.site-footer {
  background: var(--ink);
  color: rgba(250, 246, 240, 0.78);
  padding: 72px 0 32px;
  margin-top: 0;
}
.site-footer a { color: var(--cream); text-decoration: none !important; }
.site-footer a:hover { color: var(--amber); }

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(250, 246, 240, 0.12);
}
@media (max-width: 880px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-top { grid-template-columns: 1fr; gap: 32px; } }

.footer-brand .brand { color: var(--cream); }
.footer-brand p { margin-top: 14px; font-size: 0.94rem; max-width: 38ch; }

.footer-col h5 {
  font-family: "Inter", sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col li a { font-size: 0.95rem; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  font-size: 0.85rem;
  color: rgba(250, 246, 240, 0.5);
  gap: 16px;
  flex-wrap: wrap;
}

.footer-email {
  display: flex;
  gap: 8px;
  background: rgba(250, 246, 240, 0.08);
  border: 1px solid rgba(250, 246, 240, 0.18);
  border-radius: var(--r-md);
  padding: 4px;
  margin-top: 18px;
  max-width: 360px;
}
.footer-email input {
  flex: 1; background: transparent; border: 0; padding: 10px 12px;
  color: var(--cream); outline: none; font-size: 0.95rem; min-width: 0;
}
.footer-email input::placeholder { color: rgba(250, 246, 240, 0.45); }
.footer-email button {
  padding: 8px 16px; border-radius: 8px;
  background: var(--amber); color: var(--ink); font-weight: 600; font-size: 0.9rem;
}
.footer-email button:hover { background: #f5b755; }

/* ---------- 14. Page heads (interior pages) ---------- */
.page-head {
  padding: 80px 0 56px;
  position: relative;
  overflow: hidden;
}
.page-head .pathway-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--beige);
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 18px;
}
.page-head .pathway-tag .dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--terracotta);
}
.page-head h1 { margin-bottom: 18px; max-width: 22ch; }
.page-head .lead { font-size: clamp(1.1rem, 1.5vw, 1.3rem); max-width: 60ch; }

.page-head.pa { background: linear-gradient(180deg, var(--cream) 0%, var(--beige) 100%); }
.page-head.pb { background: linear-gradient(180deg, var(--cream) 0%, #E7EBE0 100%); }
.page-head.pc { background: linear-gradient(180deg, var(--cream) 0%, #FAE6DC 100%); }

/* ---------- 15. Content blocks (long-form pages) ---------- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
@media (max-width: 880px) { .two-col { grid-template-columns: 1fr; gap: 36px; } }

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 880px) { .split { grid-template-columns: 1fr; gap: 32px; } }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 32px;
}
.card-warm {
  background: var(--beige);
  border: 0;
  border-radius: var(--r-lg);
  padding: 32px;
}
.card h3 { margin-bottom: 12px; }
.card h4 { margin-bottom: 8px; margin-top: 20px; }
.card h4:first-of-type { margin-top: 0; }
.card p { color: var(--muted); }
.card ul { margin: 14px 0; display: flex; flex-direction: column; gap: 10px; }
.card ul li {
  position: relative;
  padding-left: 22px;
  color: var(--ink);
  font-size: 0.96rem;
}
.card ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.65em;
  width: 10px; height: 2px;
  background: var(--terracotta);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 880px) { .feature-grid { grid-template-columns: 1fr; } }
.feature {
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
}
.feature-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--beige);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  font-family: "Fraunces", serif;
  font-weight: 600;
  color: var(--terracotta);
}
.feature h4 { margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: 0.95rem; }

ol.numbered {
  counter-reset: ord;
  display: flex; flex-direction: column;
  gap: 18px;
}
ol.numbered li {
  counter-increment: ord;
  position: relative;
  padding-left: 48px;
  min-height: 32px;
}
ol.numbered li::before {
  content: counter(ord);
  position: absolute;
  left: 0; top: 0;
  width: 32px; height: 32px;
  background: var(--terracotta);
  color: var(--cream);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 600;
  font-size: 0.95rem;
}

/* pricing / tier table */
.tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 880px) { .tiers { grid-template-columns: 1fr; } }
.tier {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 32px 28px;
  display: flex; flex-direction: column;
}
.tier.featured {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
  position: relative;
  transform: translateY(-8px);
}
.tier.featured h3, .tier.featured .price { color: var(--cream); }
.tier.featured .tier-features li { color: var(--cream); }
.tier .label {
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--terracotta-d); margin-bottom: 14px;
}
.tier.featured .label { color: var(--amber); }
.tier h3 { margin-bottom: 8px; font-size: 1.4rem; }
.tier .price {
  font-family: "Fraunces", serif;
  font-size: 2rem;
  font-weight: 500;
  margin-bottom: 6px;
  line-height: 1.1;
}
.tier .price-note { font-size: 0.88rem; color: var(--muted); margin-bottom: 22px; }
.tier.featured .price-note { color: rgba(250, 246, 240, 0.6); }
.tier-features { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
.tier-features li {
  position: relative; padding-left: 22px; font-size: 0.95rem;
}
.tier-features li::before {
  content: "✓"; position: absolute; left: 0; top: 0; color: var(--terracotta); font-weight: 700;
}
.tier.featured .tier-features li::before { color: var(--amber); }
.tier .btn { margin-top: auto; }

/* ---------- 16. FAQ accordion ---------- */
.faq-list { display: flex; flex-direction: column; gap: 0; }
.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 24px 0;
}
.faq-item:last-child { border-bottom: 0; }
.faq-q {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
  width: 100%;
  text-align: left;
  font-family: "Fraunces", serif;
  font-weight: 500;
  font-size: 1.25rem;
  color: var(--ink);
  padding: 0;
}
.faq-q::after {
  content: "+";
  font-size: 1.6rem;
  color: var(--terracotta);
  transition: transform .2s ease;
  flex: none;
}
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, margin .35s ease;
  color: var(--muted);
}
.faq-item.open .faq-a {
  max-height: 800px;
  margin-top: 16px;
}
.faq-a p { max-width: 70ch; }

/* ---------- 17. Forms ---------- */
.form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 560px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }

.field { display: flex; flex-direction: column; gap: 6px; }
.field label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.02em;
}
.field input,
.field select,
.field textarea {
  border: 1.5px solid var(--line);
  background: var(--white);
  border-radius: var(--r-sm);
  padding: 12px 14px;
  font-size: 1rem;
  color: var(--ink);
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 120px; font-family: inherit; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--terracotta);
  box-shadow: 0 0 0 4px rgba(200, 90, 63, 0.12);
}
.field-hint { font-size: 0.82rem; color: var(--muted); }

/* ---------- 18. Quiz ---------- */
.quiz-shell {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 24px 96px;
}
.quiz-progress {
  height: 6px;
  background: var(--beige);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 24px;
}
.quiz-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--amber), var(--terracotta));
  border-radius: 999px;
  transition: width .35s ease;
  width: 0%;
}
.quiz-step-label {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.85rem; color: var(--muted);
  margin-bottom: 16px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
}

.quiz-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 44px 40px;
  box-shadow: var(--shadow-sm);
  transition: opacity .25s ease, transform .25s ease;
}
@media (max-width: 600px) { .quiz-card { padding: 32px 24px; border-radius: var(--r-lg); } }

.quiz-q {
  font-family: "Fraunces", serif;
  font-weight: 500;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  line-height: 1.2;
  margin-bottom: 28px;
}
.quiz-hint {
  font-size: 0.95rem;
  color: var(--muted);
  margin-top: -16px;
  margin-bottom: 24px;
}

.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}
.quiz-option {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  border: 1.5px solid var(--line);
  background: var(--cream);
  border-radius: var(--r-md);
  cursor: pointer;
  font-size: 1rem;
  text-align: left;
  width: 100%;
  transition: border-color .15s, background .15s, transform .15s;
}
.quiz-option:hover { border-color: var(--terracotta); background: var(--white); }
.quiz-option.selected {
  border-color: var(--terracotta);
  background: rgba(200, 90, 63, 0.06);
}
.quiz-option .opt-dot {
  width: 22px; height: 22px;
  border: 1.5px solid var(--hush);
  border-radius: 50%;
  flex: none;
  display: flex; align-items: center; justify-content: center;
  transition: border-color .15s;
}
.quiz-option.selected .opt-dot { border-color: var(--terracotta); }
.quiz-option.selected .opt-dot::after {
  content: ""; width: 10px; height: 10px;
  background: var(--terracotta); border-radius: 50%;
}

.quiz-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.quiz-controls .btn-back {
  background: transparent;
  color: var(--muted);
  font-weight: 500;
  padding: 12px 8px;
}
.quiz-controls .btn-back:hover { color: var(--ink); }
.quiz-controls .btn-back:disabled { opacity: 0.4; cursor: not-allowed; }

.quiz-scale {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}
.quiz-scale button {
  padding: 18px 0;
  border: 1.5px solid var(--line);
  background: var(--cream);
  border-radius: var(--r-md);
  font-family: "Fraunces", serif;
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--ink);
  transition: all .15s;
}
.quiz-scale button:hover { border-color: var(--terracotta); }
.quiz-scale button.selected {
  background: var(--terracotta); color: var(--cream); border-color: var(--terracotta);
}
.quiz-scale-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 24px;
}

.results-pathway {
  text-align: center;
  padding: 24px 0 32px;
}
.results-pathway .eyebrow { margin-bottom: 12px; }
.results-pathway h2 {
  font-size: clamp(2.2rem, 4vw, 3rem);
  margin-bottom: 16px;
}
.results-pathway p { margin: 0 auto; }

.results-bars {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 36px 0;
}
.results-bar {
  display: grid;
  grid-template-columns: 140px 1fr 60px;
  gap: 14px;
  align-items: center;
  font-size: 0.95rem;
}
@media (max-width: 520px) { .results-bar { grid-template-columns: 1fr; gap: 4px; } }
.results-bar-name { font-weight: 600; }
.results-bar-track {
  height: 12px;
  background: var(--beige);
  border-radius: 999px;
  overflow: hidden;
}
.results-bar-fill {
  height: 100%;
  border-radius: 999px;
  transition: width .8s ease;
  width: 0%;
}
.results-bar.a .results-bar-fill { background: linear-gradient(90deg, var(--amber), var(--terracotta)); }
.results-bar.b .results-bar-fill { background: linear-gradient(90deg, var(--sage), var(--amber)); }
.results-bar.c .results-bar-fill { background: linear-gradient(90deg, var(--terracotta), var(--coral)); }
.results-bar-val {
  text-align: right;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  color: var(--muted);
}

.email-gate {
  background: var(--beige);
  border-radius: var(--r-lg);
  padding: 32px;
  margin-top: 16px;
}
.email-gate h3 { margin-bottom: 8px; }
.email-gate p { color: var(--muted); margin-bottom: 22px; max-width: 60ch; }

.results-detail { display: none; }
.results-detail.show { display: block; }

.next-steps {
  margin: 24px 0;
  display: flex; flex-direction: column; gap: 14px;
}
.next-step {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 18px 20px;
  background: var(--cream);
  border-radius: var(--r-md);
  border-left: 4px solid var(--terracotta);
}
.next-step .ns-num {
  font-family: "Fraunces", serif;
  font-weight: 600;
  color: var(--terracotta);
  font-size: 1.2rem;
  flex: none;
}
.next-step .ns-body strong { display: block; margin-bottom: 4px; }
.next-step .ns-body p { color: var(--muted); font-size: 0.95rem; margin: 0; }

/* ---------- 19. Misc utility ---------- */
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }

.tag-list {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-top: 12px;
}
.tag {
  display: inline-flex;
  padding: 4px 12px;
  background: var(--beige);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--muted);
}

.callout {
  padding: 24px 28px;
  background: var(--beige);
  border-left: 4px solid var(--terracotta);
  border-radius: var(--r-md);
  margin: 24px 0;
}
.callout p { color: var(--ink); }

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}
.section-head .lead { margin: 12px auto 0; }

.cta-row {
  display: flex; flex-wrap: wrap; gap: 14px; align-items: center;
}

.cta-block {
  text-align: center;
  padding: 88px 32px;
  background: linear-gradient(135deg, var(--terracotta) 0%, var(--terracotta-d) 100%);
  border-radius: var(--r-xl);
  color: var(--cream);
}
.cta-block h2 { color: var(--cream); margin-bottom: 14px; }
.cta-block .lead { color: rgba(250, 246, 240, 0.85); margin: 0 auto 28px; max-width: 50ch; }
.cta-block .email-capture {
  margin: 0 auto;
  background: rgba(250, 246, 240, 0.12);
  border-color: rgba(250, 246, 240, 0.25);
}
.cta-block .email-capture input { color: var(--cream); }
.cta-block .email-capture input::placeholder { color: rgba(250, 246, 240, 0.6); }
.cta-block .email-capture button { background: var(--cream); color: var(--terracotta-d); }
.cta-block .email-capture button:hover { background: var(--white); }
