/* =========================================================
   Imo Sands Doula — Design System
   Palette: Terracotta / Sage / Cream / Ink
   Type:    Cormorant Garamond (headings) · Jost (body)
   ========================================================= */

:root {
  --terracotta: #C4714A;
  --terracotta-dark: #A85A37;
  --sage: #8A9E85;
  --sage-dark: #6F8369;
  --cream: #F9F5EE;
  --cream-deep: #F1E9DB;
  --ink: #2C2318;
  --ink-soft: #4A4034;
  --white: #FFFFFF;

  --font-head: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Jost", "Segoe UI", system-ui, -apple-system, sans-serif;

  --maxw: 1140px;
  --maxw-narrow: 760px;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 12px 40px rgba(44, 35, 24, 0.10);
  --shadow-sm: 0 4px 18px rgba(44, 35, 24, 0.08);
  --transition: 0.25s ease;
}

/* ----------------------------- Reset ----------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
  font-size: 1.05rem;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--terracotta-dark); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--ink); }

/* --------------------------- Typography -------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 500;
  line-height: 1.12;
  color: var(--ink);
  letter-spacing: 0.2px;
}
h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.45rem, 2.5vw, 1.9rem); }
h4 { font-size: 1.25rem; }
p { margin-bottom: 1.1rem; }
p:last-child { margin-bottom: 0; }

.eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--terracotta-dark);
  margin-bottom: 1rem;
  display: inline-block;
}
.lead { font-size: 1.25rem; line-height: 1.6; color: var(--ink-soft); }

/* ----------------------------- Layout ---------------------------- */
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: var(--maxw-narrow); margin-left: auto; margin-right: auto; }
.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.section--cream-deep { background: var(--cream-deep); }
.section--sage { background: var(--sage); color: var(--cream); }
.section--sage h1, .section--sage h2, .section--sage h3 { color: var(--white); }
.section--ink { background: var(--ink); color: var(--cream); }
.section--ink h1, .section--ink h2, .section--ink h3 { color: var(--white); }
.text-center { text-align: center; }
.section__head { max-width: 680px; margin: 0 auto 3rem; text-align: center; }
.section__head p { color: var(--ink-soft); }

/* ----------------------------- Buttons --------------------------- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.98rem;
  letter-spacing: 0.04em;
  padding: 0.95em 2em;
  border-radius: 50px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
}
.btn--primary { background: var(--terracotta); color: var(--white); }
.btn--primary:hover { background: var(--terracotta-dark); color: var(--white); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn--ghost { background: transparent; color: var(--ink); border-color: 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); color: var(--ink); transform: translateY(-2px); }
.btn--outline-light { background: transparent; color: var(--cream); border-color: var(--cream); }
.btn--outline-light:hover { background: var(--cream); color: var(--ink); }
.btn-row { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn-row.center { justify-content: center; }

/* ----------------------------- Header ---------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(249, 245, 238, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(44, 35, 24, 0.08);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 24px; max-width: var(--maxw); margin: 0 auto;
}
.brand { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--font-head); font-size: 1.7rem; font-weight: 600; color: var(--ink); }
.brand__tag { font-size: 0.66rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--terracotta-dark); margin-top: 3px; }
.brand:hover .brand__name { color: var(--terracotta-dark); }

.nav__links { display: flex; align-items: center; gap: 1.6rem; list-style: none; }
.nav__links a { color: var(--ink-soft); font-size: 0.95rem; font-weight: 400; }
.nav__links a:hover, .nav__links a.active { color: var(--terracotta-dark); }
.nav__links .btn { padding: 0.6em 1.4em; font-size: 0.9rem; }
.nav__links .btn:hover { color: var(--white); }

.nav__item--dropdown { position: relative; }
.nav__item--dropdown > a::after {
  content: "";
  display: inline-block;
  width: 6px; height: 6px;
  margin-left: 6px; margin-bottom: 2px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  opacity: 0.6;
}
.nav__dropdown {
  list-style: none; margin: 0.6rem 0 0; padding: 0.5rem 0;
  position: absolute; top: 100%; left: 0; min-width: 230px;
  background: var(--cream); border: 1px solid rgba(44,35,24,0.08);
  border-radius: 10px; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
  z-index: 10;
}
.nav__item--dropdown:hover .nav__dropdown,
.nav__item--dropdown:focus-within .nav__dropdown {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.nav__dropdown li { padding: 0; }
.nav__dropdown a { display: block; padding: 0.6rem 1.2rem; font-size: 0.9rem; white-space: nowrap; border-bottom: none; }
.nav__dropdown a:hover { background: rgba(196,113,74,0.08); }

.nav__toggle {
  display: none; background: none; border: none; cursor: pointer;
  width: 44px; height: 44px; padding: 10px;
}
.nav__toggle span { display: block; height: 2px; background: var(--ink); margin: 5px 0; transition: var(--transition); border-radius: 2px; }
.nav__toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.open span:nth-child(2) { opacity: 0; }
.nav__toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 880px) {
  .nav__toggle { display: block; }
  .nav__links {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--cream); border-bottom: 1px solid rgba(44,35,24,0.1);
    padding: 0.5rem 0; box-shadow: var(--shadow);
    max-height: 0; overflow: hidden; transition: max-height 0.3s ease;
  }
  .nav__links.open { max-height: 720px; }
  .nav__links li { padding: 0 24px; }
  .nav__links a { display: block; padding: 0.85rem 0; border-bottom: 1px solid rgba(44,35,24,0.06); }
  .nav__links .btn { margin: 0.6rem 0; }

  .nav__item--dropdown > a::after { float: right; margin-top: 8px; }
  .nav__dropdown {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: none; background: transparent;
    margin: 0; padding: 0 0 0.4rem;
  }
  .nav__dropdown a { padding: 0.6rem 0 0.6rem 1.2rem; font-size: 0.88rem; color: var(--ink-soft); border-bottom: 1px solid rgba(44,35,24,0.06); }
}

/* ------------------------------ Hero ----------------------------- */
.hero {
  background:
    radial-gradient(circle at 80% 20%, rgba(138,158,133,0.18), transparent 55%),
    radial-gradient(circle at 15% 85%, rgba(196,113,74,0.12), transparent 50%),
    var(--cream);
  padding: clamp(3.5rem, 9vw, 7rem) 0;
  overflow: hidden;
}
.hero__grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero h1 { margin-bottom: 1.4rem; }
.hero .lead { margin-bottom: 2rem; }
.hero__visual {
  aspect-ratio: 4/5; border-radius: 200px 200px var(--radius) var(--radius);
  background: linear-gradient(160deg, var(--sage), var(--sage-dark));
  position: relative; overflow: hidden; box-shadow: var(--shadow);
  display: flex; align-items: center; justify-content: center;
}
.hero__visual::after {
  content: "♥"; font-size: 6rem; color: rgba(249,245,238,0.35);
}
.hero__visual span {
  position: absolute; bottom: 1.5rem; left: 0; right: 0; text-align: center;
  font-family: var(--font-head); font-size: 1.1rem; color: var(--cream);
  font-style: italic; padding: 0 2rem;
}
.hero__visual--photo { background: none; }
.hero__visual--photo::after { content: none; }
.hero__visual--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__visual--photo span { text-shadow: 0 2px 10px rgba(0,0,0,0.55); }
@media (max-width: 820px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { max-width: 380px; margin: 0 auto; order: -1; }
}

/* ---------------------------- Trust strip ------------------------ */
.trust { background: var(--ink); color: var(--cream); }
.trust__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; text-align: center; }
.trust__item strong { font-family: var(--font-head); font-size: 1.35rem; color: var(--white); display: block; margin-bottom: 0.2rem; }
.trust__item span { font-size: 0.82rem; letter-spacing: 0.08em; color: rgba(249,245,238,0.7); text-transform: uppercase; }
@media (max-width: 700px) { .trust__grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; } }

/* ------------------------------ Cards ---------------------------- */
.grid { display: grid; gap: 1.8rem; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 860px) { .grid--3 { grid-template-columns: 1fr; } .grid--2 { grid-template-columns: 1fr; } }

.card {
  background: var(--white); border-radius: var(--radius); padding: 2.2rem;
  box-shadow: var(--shadow-sm); transition: transform var(--transition), box-shadow var(--transition);
  border: 1px solid rgba(44,35,24,0.05); height: 100%;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card__icon {
  width: 52px; height: 52px; border-radius: 50%; background: var(--cream-deep);
  display: flex; align-items: center; justify-content: center; font-size: 1.5rem;
  margin-bottom: 1.2rem; color: var(--terracotta-dark);
}
.card h3 { margin-bottom: 0.7rem; }
.card p { color: var(--ink-soft); font-size: 0.98rem; }
.card a.card__link { font-weight: 500; display: inline-block; margin-top: 1rem; }
.card a.card__link::after { content: " →"; }

/* --------------------------- Steps ------------------------------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; counter-reset: step; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding-top: 1rem; }
.step__num {
  font-family: var(--font-head); font-size: 2.4rem; color: var(--terracotta);
  font-weight: 600; line-height: 1; margin-bottom: 0.6rem;
}
.step h4 { margin-bottom: 0.4rem; }
.step p { font-size: 0.95rem; color: var(--ink-soft); }

/* --------------------------- Testimonial ------------------------- */
.quote { max-width: 760px; margin: 0 auto; text-align: center; }
.quote blockquote {
  font-family: var(--font-head); font-size: clamp(1.6rem, 3.2vw, 2.3rem);
  line-height: 1.3; font-style: italic; color: var(--ink); margin-bottom: 1.4rem;
}
.section--sage .quote blockquote { color: var(--white); }
.quote cite { font-style: normal; font-size: 0.95rem; letter-spacing: 0.05em; opacity: 0.85; }
.stars { color: var(--terracotta); letter-spacing: 3px; font-size: 1.1rem; margin-bottom: 1rem; }
.section--sage .stars { color: var(--cream); }

/* ------------------------- Testimonial cards --------------------- */
.story { background: var(--white); border-radius: var(--radius); padding: 2.2rem; box-shadow: var(--shadow-sm); }
.story .stars { margin-bottom: 0.8rem; }
.story p { font-style: italic; color: var(--ink-soft); margin-bottom: 1.2rem; }
.story__meta { font-weight: 500; color: var(--ink); }
.story__meta span { display: block; font-weight: 300; font-size: 0.88rem; color: var(--sage-dark); }

/* ---------------------------- CTA band --------------------------- */
.cta-band { background: var(--terracotta); color: var(--white); text-align: center; }
.cta-band h2 { color: var(--white); margin-bottom: 1rem; }
.cta-band p { color: rgba(255,255,255,0.92); max-width: 560px; margin: 0 auto 2rem; font-size: 1.15rem; }

/* ----------------------- Content / prose ------------------------- */
.prose h2 { margin: 2.4rem 0 1rem; }
.prose h3 { margin: 2rem 0 0.8rem; }
.prose ul, .prose ol { margin: 0 0 1.4rem 1.3rem; }
.prose li { margin-bottom: 0.6rem; color: var(--ink-soft); }
.prose .lead { margin-bottom: 1.8rem; }

/* ------------------------- Feature list -------------------------- */
.checklist { list-style: none; margin: 0; padding: 0; }
.checklist li { position: relative; padding-left: 2rem; margin-bottom: 0.9rem; color: var(--ink-soft); }
.checklist li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  color: var(--white); background: var(--sage); width: 1.4rem; height: 1.4rem;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; font-weight: 600;
}
.checklist li strong { color: var(--ink); }

/* --------------------------- Page hero --------------------------- */
.page-hero { background: var(--cream-deep); padding: clamp(3rem, 7vw, 5rem) 0 clamp(2.5rem, 5vw, 3.5rem); text-align: center; }
.page-hero .eyebrow { margin-bottom: 0.8rem; }
.page-hero h1 { margin-bottom: 1rem; }
.page-hero p { max-width: 640px; margin: 0 auto; color: var(--ink-soft); font-size: 1.15rem; }

/* --------------------------- Split block ------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.split--reverse .split__media { order: 2; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } .split--reverse .split__media { order: 0; } }
.split__media {
  aspect-ratio: 1/1; border-radius: var(--radius);
  background: linear-gradient(150deg, var(--cream-deep), var(--sage));
  display: flex; align-items: center; justify-content: center;
  font-size: 4rem; color: rgba(255,255,255,0.55); box-shadow: var(--shadow-sm);
}

/* ----------------------------- FAQ ------------------------------- */
.faq-group { margin-bottom: 2.5rem; }
.faq-group > h3 { margin-bottom: 1.2rem; color: var(--terracotta-dark); }
details.faq {
  background: var(--white); border-radius: var(--radius-sm); margin-bottom: 0.8rem;
  box-shadow: var(--shadow-sm); border: 1px solid rgba(44,35,24,0.05); overflow: hidden;
}
details.faq summary {
  cursor: pointer; padding: 1.3rem 1.6rem; font-weight: 500; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  font-size: 1.08rem; color: var(--ink);
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; font-size: 1.6rem; color: var(--terracotta); font-weight: 300; transition: transform var(--transition); }
details.faq[open] summary::after { transform: rotate(45deg); }
details.faq .faq__body { padding: 0 1.6rem 1.4rem; color: var(--ink-soft); }

/* ----------------------------- Forms ----------------------------- */
.form { background: var(--white); border-radius: var(--radius); padding: clamp(1.8rem, 4vw, 2.8rem); box-shadow: var(--shadow-sm); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.field { margin-bottom: 1.2rem; }
.field label { display: block; font-weight: 500; font-size: 0.92rem; margin-bottom: 0.4rem; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; padding: 0.8rem 1rem; border: 1.5px solid rgba(44,35,24,0.15);
  border-radius: var(--radius-sm); font-family: var(--font-body); font-size: 1rem;
  color: var(--ink); background: var(--cream); transition: border-color var(--transition);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--terracotta); }
.field textarea { resize: vertical; min-height: 120px; }
.form__note { font-size: 0.88rem; color: var(--ink-soft); margin-top: 1rem; }

/* ---------------------- Answer box (AEO) ------------------------- */
.answer-box {
  background: var(--white); border: 1.5px solid var(--sage);
  border-left: 5px solid var(--sage); border-radius: var(--radius);
  padding: 1.6rem 1.8rem; margin: 0 0 2rem; box-shadow: var(--shadow-sm);
}
.answer-box .answer-box__label { font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--sage-dark); font-weight: 500; display: block; margin-bottom: 0.5rem; }
.answer-box p { font-size: 1.1rem; color: var(--ink); margin: 0; }
.answer-box p + p { margin-top: 0.8rem; }

/* ----------------------------- Tables ---------------------------- */
.table-wrap { overflow-x: auto; margin: 1.8rem 0; }
table.data { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius-sm); overflow: hidden; box-shadow: var(--shadow-sm); font-size: 0.96rem; }
table.data th, table.data td { padding: 0.85rem 1.1rem; text-align: left; border-bottom: 1px solid rgba(44,35,24,0.08); vertical-align: top; }
table.data th { background: var(--cream-deep); font-family: var(--font-body); font-weight: 500; color: var(--ink); font-size: 0.86rem; letter-spacing: 0.03em; }
table.data tr:last-child td { border-bottom: 0; }
table.data td strong { color: var(--ink); }

/* --------------------------- Breadcrumb -------------------------- */
.crumbs { font-size: 0.85rem; color: var(--ink-soft); margin-bottom: 0.8rem; }
.crumbs a { color: var(--terracotta-dark); }
.crumbs span { opacity: 0.5; margin: 0 0.4rem; }

/* --------------------------- Info box ---------------------------- */
.infobox { background: var(--cream-deep); border-left: 4px solid var(--sage); border-radius: var(--radius-sm); padding: 1.6rem 1.8rem; margin: 1.8rem 0; }
.infobox h4 { color: var(--terracotta-dark); margin-bottom: 0.5rem; }
.infobox p { color: var(--ink-soft); margin: 0; }

/* ---------------------------- Pills ------------------------------ */
.pills { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 1.2rem 0; }
.pill { background: var(--cream-deep); color: var(--ink-soft); padding: 0.4rem 1rem; border-radius: 50px; font-size: 0.85rem; }

/* ---------------------------- Footer ----------------------------- */
.site-footer { background: var(--ink); color: rgba(249,245,238,0.78); padding: 3.5rem 0 2rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; margin-bottom: 2.5rem; }
@media (max-width: 760px) { .footer__grid { grid-template-columns: 1fr; gap: 2rem; } }
.footer__grid h4 { color: var(--cream); margin-bottom: 1rem; font-family: var(--font-body); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.18em; font-weight: 500; }
.footer__brand .brand__name { color: var(--cream); font-size: 1.5rem; }
.footer__brand p { font-size: 0.95rem; max-width: 320px; margin-top: 0.8rem; }
.footer__links { list-style: none; padding: 0; }
.footer__links li { margin-bottom: 0.6rem; }
.footer__links a { color: rgba(249,245,238,0.78); font-size: 0.95rem; }
.footer__links a:hover { color: var(--terracotta); }
.footer__credential {
  display: flex; align-items: center; gap: 0.7rem;
  margin-bottom: 1.5rem;
}
.footer__credential-badge {
  display: block; height: 34px; width: auto;
  background: var(--cream); border-radius: 8px; padding: 4px 6px;
}
.footer__credential span { font-size: 0.85rem; color: rgba(249,245,238,0.65); }
.footer__bottom { border-top: 1px solid rgba(249,245,238,0.12); padding-top: 1.5rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; font-size: 0.85rem; color: rgba(249,245,238,0.55); }
.footer__bottom a { color: rgba(249,245,238,0.7); }

/* ----------------------------- Quiz ------------------------------ */
.quiz {
  background: var(--white); border-radius: var(--radius);
  padding: clamp(1.8rem, 4vw, 2.8rem); box-shadow: var(--shadow);
  border: 1px solid rgba(44,35,24,0.05); max-width: 640px; margin: 0 auto;
}
.quiz__progress { height: 6px; background: var(--cream-deep); border-radius: 50px; overflow: hidden; margin-bottom: 2rem; }
.quiz__progress-bar { height: 100%; width: 0%; background: var(--terracotta); border-radius: 50px; transition: width 0.35s ease; }
.quiz__step { display: none; }
.quiz__step.active { display: block; }
.quiz__count { font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--sage-dark); font-weight: 500; margin-bottom: 0.6rem; display: block; }
.quiz__question { font-family: var(--font-head); font-size: clamp(1.3rem, 2.6vw, 1.6rem); font-weight: 500; color: var(--ink); margin-bottom: 1.4rem; line-height: 1.25; }
.quiz__options { display: grid; gap: 0.8rem; }
.quiz__option {
  display: block; width: 100%; text-align: left; background: var(--cream);
  border: 1.5px solid rgba(44,35,24,0.12); border-radius: var(--radius-sm);
  padding: 0.95rem 1.2rem; font-family: var(--font-body); font-size: 0.98rem;
  color: var(--ink); cursor: pointer; transition: all var(--transition); line-height: 1.4;
}
.quiz__option:hover { border-color: var(--terracotta); background: var(--white); }
.quiz__option.selected { border-color: var(--terracotta); background: var(--cream-deep); font-weight: 500; }
.quiz__content p { color: var(--ink-soft); }
.quiz__content p + p { margin-top: 0.9rem; }
.quiz__nav { display: flex; justify-content: flex-end; margin-top: 1.8rem; }
.quiz__result { display: none; }
.quiz__result.active { display: block; }
.quiz__result h3 { margin-bottom: 1rem; }
.quiz__result p { color: var(--ink-soft); }
.quiz__restart { margin-top: 1.6rem; font-size: 0.88rem; color: var(--ink-soft); background: none; border: none; cursor: pointer; padding: 0; text-decoration: underline; text-underline-offset: 3px; }
.quiz__restart:hover { color: var(--terracotta-dark); }

/* --------------------------- Utilities --------------------------- */
.mt-0 { margin-top: 0; }
.mb-2 { margin-bottom: 2rem; }
.muted { color: var(--ink-soft); }
.divider { height: 1px; background: rgba(44,35,24,0.1); border: 0; margin: 2.5rem 0; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
