:root {
  --wh-ink: #17243a;
  --wh-muted: #5e6878;
  --wh-cream: #f7f3ea;
  --wh-paper: #fffdf8;
  --wh-teal: #167d78;
  --wh-teal-dark: #0f5e5a;
  --wh-coral: #ed765f;
  --wh-line: #dfe4e7;
  --wh-shadow: 0 1.25rem 3rem rgba(23, 36, 58, 0.1);
}

html { scroll-behavior: smooth; }

body {
  color: var(--wh-ink);
  background: var(--wh-paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

a { color: var(--wh-teal-dark); }
a:hover { color: var(--wh-teal); }

.draft-bar {
  background: var(--wh-ink);
  color: #fff;
  font-size: .82rem;
  letter-spacing: .02em;
}

.site-nav {
  background: rgba(255, 253, 248, .96);
  border-bottom: 1px solid rgba(23, 36, 58, .08);
  backdrop-filter: blur(12px);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  color: var(--wh-ink);
  font-weight: 800;
  letter-spacing: -.035em;
}

.brand-mark:hover { color: var(--wh-ink); }

.brand-dot {
  width: 1.85rem;
  height: 1.85rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--wh-coral);
  font-size: 1.1rem;
}

.navbar-nav .nav-link {
  color: var(--wh-ink);
  font-weight: 600;
}

.navbar-nav .nav-link.active,
.navbar-nav .nav-link:hover { color: var(--wh-teal-dark); }

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(4.5rem, 9vw, 8rem) 0;
  background:
    radial-gradient(circle at 85% 15%, rgba(237, 118, 95, .18), transparent 30%),
    linear-gradient(135deg, var(--wh-cream), #eef7f5);
}

.hero::after {
  content: "?";
  position: absolute;
  right: max(2vw, 1rem);
  bottom: -7rem;
  color: rgba(22, 125, 120, .075);
  font-size: clamp(18rem, 42vw, 38rem);
  font-weight: 900;
  line-height: .8;
  pointer-events: none;
}

.eyebrow {
  color: var(--wh-teal-dark);
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.display-title {
  max-width: 13ch;
  font-size: clamp(2.8rem, 7vw, 5.9rem);
  font-weight: 850;
  line-height: .97;
  letter-spacing: -.055em;
}

.display-title .accent { color: var(--wh-teal-dark); }
.lead-copy { max-width: 42rem; color: var(--wh-muted); font-size: clamp(1.05rem, 2vw, 1.3rem); }

.btn-wh-primary {
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--wh-teal-dark);
  --bs-btn-border-color: var(--wh-teal-dark);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--wh-teal);
  --bs-btn-hover-border-color: var(--wh-teal);
  --bs-btn-focus-shadow-rgb: 22, 125, 120;
  padding: .85rem 1.25rem;
  font-weight: 700;
}

.btn-wh-outline {
  --bs-btn-color: var(--wh-ink);
  --bs-btn-border-color: rgba(23, 36, 58, .35);
  --bs-btn-hover-color: var(--wh-ink);
  --bs-btn-hover-bg: #fff;
  --bs-btn-hover-border-color: var(--wh-ink);
  padding: .85rem 1.25rem;
  font-weight: 700;
}

.section-space { padding: clamp(4rem, 8vw, 7rem) 0; }
.section-soft { background: var(--wh-cream); }
.section-heading { max-width: 18ch; font-weight: 800; letter-spacing: -.035em; }
.section-intro { max-width: 46rem; color: var(--wh-muted); }

.feature-card,
.topic-card,
.content-card,
.quiz-card {
  height: 100%;
  border: 1px solid var(--wh-line);
  border-radius: 1.2rem;
  background: #fff;
  box-shadow: 0 .4rem 1.5rem rgba(23, 36, 58, .04);
}

.feature-card { padding: 1.6rem; }
.feature-number {
  width: 2.7rem;
  height: 2.7rem;
  display: grid;
  place-items: center;
  border-radius: .85rem;
  background: #dff0ed;
  color: var(--wh-teal-dark);
  font-weight: 800;
}

.topic-card { padding: 1.5rem; transition: transform .2s ease, box-shadow .2s ease; }
.topic-card:hover { transform: translateY(-4px); box-shadow: var(--wh-shadow); }
.topic-card .status { color: var(--wh-muted); font-size: .82rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }

.promise-panel {
  padding: clamp(2rem, 5vw, 4rem);
  border-radius: 1.5rem;
  background: var(--wh-ink);
  color: #fff;
  box-shadow: var(--wh-shadow);
}

.promise-panel p { color: rgba(255,255,255,.72); }

.page-hero {
  padding: clamp(3.5rem, 7vw, 6rem) 0;
  background: linear-gradient(135deg, var(--wh-cream), #edf7f4);
  border-bottom: 1px solid var(--wh-line);
}

.page-title { max-width: 17ch; font-size: clamp(2.4rem, 6vw, 4.6rem); font-weight: 850; line-height: 1; letter-spacing: -.05em; }
.content-card { padding: clamp(1.5rem, 4vw, 3rem); }
.content-card h2 { margin-top: 2.5rem; font-size: 1.45rem; font-weight: 800; }
.content-card h2:first-child { margin-top: 0; }
.content-card h3 { margin-top: 1.8rem; font-size: 1.1rem; font-weight: 800; }

.quiz-card { padding: clamp(1.4rem, 4vw, 2.5rem); }
.quiz-step { padding: 1.4rem 0; border-bottom: 1px solid var(--wh-line); }
.quiz-step:last-of-type { border-bottom: 0; }
.quiz-step legend { display: grid; grid-template-columns: 2.1rem minmax(0, 1fr); column-gap: 1rem; align-items: center; width: 100%; margin-bottom: .85rem; font-size: 1.1rem; font-weight: 800; line-height: 1.35; }
.question-number { width: 2.1rem; height: 2.1rem; display: grid; place-items: center; border-radius: 50%; background: #dff0ed; color: var(--wh-teal-dark); font-size: .82rem; line-height: 1; }
.question-title { display: block; min-width: 0; }
.form-check { padding: .5rem .5rem .5rem 2rem; }
.check-choice { margin: .45rem 0; border: 1px solid transparent; border-radius: .75rem; transition: background-color .15s ease, border-color .15s ease; }
.check-choice:hover { border-color: var(--wh-line); background: var(--wh-cream); }
.check-choice:has(.form-check-input:checked) { border-color: rgba(15, 94, 90, .35); background: #eaf6f3; }
.form-check-input:checked { background-color: var(--wh-teal-dark); border-color: var(--wh-teal-dark); }
.quiz-result { border-left: .35rem solid var(--wh-coral); background: #fff4ef; border-radius: .75rem; }
.quiz-result:focus { outline: .2rem solid rgba(22, 125, 120, .25); outline-offset: .2rem; }
.answer-summary summary { color: var(--wh-teal-dark); cursor: pointer; font-weight: 700; }
.answer-summary dt { font-size: .92rem; }
.answer-summary dd { margin-bottom: .8rem; color: var(--wh-muted); }
.check-aside { top: 7.5rem; height: auto; }
.breadcrumb a { color: var(--wh-teal-dark); }

.legal-draft {
  padding: 1rem 1.2rem;
  border: 1px solid #edc26e;
  border-radius: .8rem;
  background: #fff7df;
  color: #5c4613;
}

.placeholder { color: #9c3d31; font-weight: 700; }

.site-footer { padding: 3rem 0; border-top: 1px solid var(--wh-line); background: #fff; }
.footer-note { max-width: 34rem; color: var(--wh-muted); font-size: .92rem; }
.footer-links a { color: var(--wh-ink); text-decoration: none; }
.footer-links a:hover { color: var(--wh-teal-dark); text-decoration: underline; }

@media (max-width: 991.98px) {
  .navbar-collapse { padding: 1rem 0; }
  .hero::after { opacity: .55; }
}

@media (max-width: 575.98px) {
  .row.g-5 { --bs-gutter-x: 1.5rem; }
  .page-title,
  .content-card h2 {
    overflow-wrap: anywhere;
    hyphens: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .topic-card { transition: none; }
}
