:root {
  /* ==== Palette (edit freely) ==== */
  --pink: #DBBEC1;            /* your must-have Pastel Muted Pink */
  --blue: #A2B9CF;            /* your must-have Pastel Gray Blue */
  --sage: #A7C4A0;            /* CTA block */
  --deep: #3A4856;            /* charcoal navy for text / buttons */
  --lavender: #CDAEBC;        /* soft accent (optional) */
  --bg: #F7F5F6;              /* page background */
  --ink: #24282D;             /* body text */
  --ink-soft: #47505B;
  --ink-red: #4D2A30;
  --ink-blue: #0F2230;
  --ink-sage: #15231D;
  --white: #FFFFFF;

  /* Type scale */
  --h1: clamp(4.8rem, 8vw + 1.5rem, 6.5rem);
  --h2: clamp(2.8rem, 4vw + 1.5rem, 5rem);
  --h3: clamp(1.3rem, 1.2vw + 1rem, 1.75rem);
  --body: 1.07rem;
  --lead: clamp(1.05rem, 0.6vw + 1rem, 1.25rem);
  --radius: 14px;
  --gap: clamp(20px, 3vw, 48px);
  --pad: clamp(20px, 4vw, 64px);
  --shadow: 24px 32px 48px rgba(20, 25, 35, 0.18);
  --shadow-soft: 16px 24px 36px rgba(20, 25, 35, 0.14);

  /* Typeface tokens */
  --font-body: "Noto Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  /* --font-heading: "DM Serif Display", serif; */
  --font-heading: "Gloock", serif;

  
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--body);
  line-height: 1.45;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

main {
  /* padding-top: calc(clamp(70px, 12vw, 140px) + 80px); */
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 400;
  margin: 0;
  line-height: 1.1;
}

h1 {
  font-size: var(--h1);
}

h2 {
  font-size: var(--h2);
}

h3 {
  font-size: var(--h3);
}

.noto-sans {
  font-family: var(--font-body);
  font-weight: 400;
}

.dm-serif-display-regular {
  font-family: var(--font-heading);
  font-weight: 400;
  font-style: normal;
}

.dm-serif-display-regular-italic {
  font-family: var(--font-heading);
  font-weight: 400;
  font-style: italic;
}

.gloock-regular {
  font-family: var(--font-heading);
  font-weight: 400;
}


img {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: center;
}

.visually-hidden,
.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 var(--pad);
}

.section {
  --section-bg: transparent;
  --section-text: var(--ink);
  --section-heading: var(--section-text);
  --section-columns: repeat(2, minmax(0, 1fr));
  padding: clamp(48px, 8vw, 120px) 0;
  background: var(--section-bg);
  color: var(--section-text);
}

.section :is(h2, h3) {
  color: var(--section-heading);
}

.section h2 {
  margin: 0 0 1rem;
}

.section p {
  margin: 0;
  font-size: var(--lead);
  color: inherit;
}

.section :is(.grid) {
  display: grid;
  align-items: center;
  gap: var(--gap);
  grid-template-columns: var(--section-columns);
}

/* ========== HEADER ========== */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: transparent;
  border-bottom: none;
  z-index: 20;
}

.logobar {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: clamp(10px, 2.5vw, 22px);
  padding: clamp(18px, 3vw, 36px) 0;
  margin-top: clamp(10px, 2vw, 28px);
}

.logo-footer {
  margin-bottom: clamp(12px, 2vw, 24px);
}

.logo-footer__wrap {
  max-width: clamp(160px, 22vw, 240px);
  margin: 0 auto;
}

.logo-footer__wrap svg {
  display: block;
  width: 100%;
  height: auto;
}

.logo-footer__wrap svg path {
  fill: var(--deep);
}

.btn--header {
  padding: 0.8rem 1.6rem;
  border-radius: 999px;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ========== HEAL YOUR MONEY STORY ========== */
.heal {
  --section-bg: var(--pink);
  --section-columns: 1.2fr 0.9fr;
  overflow: hidden;
  position: relative;
}

.heal h1 {
  letter-spacing: -0.02em;
  line-height: 1.02;
  margin-bottom: 22px;
}

.heal .tagline {
  font-size: 0.95rem;
  color: #7A3A4A;
}

.tilt {
  --tilt-angle: -4deg;
  --tilt-zoom: 1.06;
  width: clamp(200px, 30vw, 260px);
  box-shadow: var(--shadow);
  transform: rotate(var(--tilt-angle));
  transform-origin: center;
  overflow: hidden;
}

.tilt img {
  transform: rotate(calc(-1 * var(--tilt-angle))) scale(var(--tilt-zoom));
  transform-origin: center;
}

.tilt--feature {
  --tilt-zoom: 1.2;
  width: clamp(200px, 28vw, 260px);
}

.tilt--small-note {
  text-align: center;
  font-size: 0.85rem;
  margin-top: 12px;
  color: #7A3A4A;
}

/* ========== FIN HABIT ========== */
.fin_habit {
  --section-bg: var(--blue);
  --section-text: #132531;
  --section-columns: 0.95fr 1.05fr;
  position: relative;
}

/* ========== WHAT INHERIT SECTION ========== */
.what_inherit {
  --section-bg: var(--pink);
  --section-text: #2D2A2A;
  --section-columns: 1.05fr 0.95fr;
}

/* ========== CTA SECTION ========== */
.cta {
  --section-bg: var(--sage);
  --section-text: #15231D;
}

.eyebrow {
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 0.85rem;
  color: #2D4636;
}


.cta h2 {
  margin: 0.4rem 0 1.1rem;
}

.cta p {
  max-width: 46ch;
}

.btn {
  display: inline-block;
  background: var(--deep);
  color: var(--white);
  border-radius: 12px;
  padding: 14px 22px;
  font-weight: 600;
  box-shadow: var(--shadow-soft);
  transition: 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.btn:active {
  transform: translateY(0);
}

/* Make quiz CTA buttons full-width in their columns */
.quiz .btn,
.about .btn,
.button-row .btn {
  width: 100%;
  text-align: center;
}

/* ========== ABOUT ========== */
.about {
  --section-bg: var(--blue);
  --section-text: #2D2A2A;
  --section-columns: 1.05fr 0.95fr;
}

/* ========== SIX STORIES ========== */
.stories {
  --section-bg: var(--bg);
  --section-text: #423A3C;
}

.stories h2 {
  text-align: center;
  margin: 0 0 10px;
}

.stories .sub {
  text-align: center;
  max-width: 64ch;
  margin: 0 auto 36px;
  font-size: var(--body);
  color: inherit;
}

.six_stories_grid img {
  width: min(100%, 420px);
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  justify-self: center;
  display: block;
}

.stories-grid__intro {
  font-size: 0.96rem;
  color: rgba(36, 40, 45, 0.75);
}

.stories-grid__intro p {
  margin: 0;
}

.stories-grid__token {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(58, 72, 86, 0.12);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-right: 6px;
}

.stories-matrix__legend .stories-grid__token {
  margin-right: 0;
}

.stories-matrix__wrap {
  overflow-x: auto;
}

.stories-matrix {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
  background: var(--white);
}

.stories-matrix caption {
  text-align: left;
  font-weight: 600;
  margin-bottom: 12px;
}

.stories-matrix th,
.stories-matrix td {
  padding: clamp(14px, 3vw, 18px);
  border: 1px solid rgba(36, 40, 45, 0.12);
  vertical-align: top;
}

.stories-matrix thead th {
  background: rgba(58, 72, 86, 0.08);
  font-weight: 600;
  text-align: left;
}

.stories-matrix__axis {
  display: block;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.85rem;
}

.stories-matrix__axis-label {
  display: block;
  font-size: 0.85rem;
  color: rgba(36, 40, 45, 0.7);
  margin-top: 4px;
}

.stories-matrix__rowlabel {
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.stories-matrix__story {
  display: block;
  font-weight: 600;
  font-size: 1rem;
}

.stories-matrix__mix {
  display: block;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(36, 40, 45, 0.7);
  margin-top: 6px;
}

.stories-matrix__note {
  display: block;
  font-size: 0.92rem;
  color: rgba(36, 40, 45, 0.75);
  margin-top: 8px;
}

.stories-matrix__cell--future {
  background: rgba(167, 196, 160, 0.12);
}

.stories-matrix__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  margin: clamp(12px, 3vw, 20px) 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.95rem;
}

.stories-matrix__legend li {
  display: flex;
  align-items: center;
  gap: 10px;
}

@media (max-width: 720px) {
  .stories-matrix {
    min-width: 580px;
  }

  .stories-grid__intro {
    font-size: 0.9rem;
  }

  .stories-matrix__legend {
    font-size: 0.9rem;
  }
}

.legend {
  display: grid;
  grid-template-columns: repeat(4, minmax(180px, 1fr));
  gap: 18px;
  justify-items: center;
  max-width: 720px;
  margin: 10px auto 0;
}

.swatch {
  background: #EADADF;
  border-radius: 10px;
  width: 160px;
  height: 120px;
  box-shadow: var(--shadow-soft);
  position: relative;
}

.swatch.s1 {
  background: #DDE5D7; /* gentle green */
}

.swatch.s2 {
  background: #E7E0E5; /* lavender */
}

.swatch.s3 {
  background: #CBB7C4; /* mauve */
}

.swatch.s4 {
  background: #D9D5E3; /* periwinkle */
}

.swatch::after {
  content: "";
  position: absolute;
  right: 12px;
  top: 12px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #2B3A46;
  opacity: 0.85;
  box-shadow: 0 0 0 8px rgba(43, 58, 70, 0.12);
}

.legend label {
  display: block;
  text-align: center;
  margin-top: 10px;
  font-size: 0.95rem;
  color: inherit;
}

.legend .row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 18px;
}


/* ========== SECTION SYSTEM ========== */
.vtm-section {
  padding: clamp(48px, 8vw, 96px) 0;
  background: var(--bg);
}

.vtm-section[data-theme="cream"] {
  background: var(--bg);
}

.vtm-section[data-theme="pink"] {
  background: var(--pink);
}

.vtm-section[data-theme="deep"] {
  background: var(--deep);
}

.vtm-section[data-theme="blue"] {
  background: var(--blue);
}

.vtm-section[data-theme="sage"] {
  background: var(--sage);
}

.vtm-section[data-theme="white"] {
  background: var(--white);
}

.vtm-section[data-layout="split"] .vtm-section__grid {
  display: grid;
  gap: var(--gap);
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  align-items: center;
}

.vtm-section[data-layout="grid"] .vtm-section__grid {
  display: grid;
  gap: var(--gap);
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.vtm-section[data-layout="simple"] .vtm-section__grid {
  display: block;
}

.vtm-section__grid {
  display: grid;
  gap: var(--gap);
}

.vtm-section__narrow {
  max-width: 640px;
  margin: 0 auto;
}

.vtm-section__bleed {
  margin: 0;
  width: 100%;
}

.vtm-section h1,
.vtm-section h2,
.vtm-section h3,
.vtm-section h4 {
  color: var(--ink);
}

.vtm-section[data-theme="deep"] :is(h1, h2, h3, h4) {
  color: var(--white);
}

.vtm-section[data-theme="deep"] .section-eyebrow {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.vtm-section[data-theme="blue"] .section-eyebrow {
  background: rgba(58, 72, 86, 0.18);
  color: var(--ink);
}

.vtm-section[data-theme="pink"] .section-eyebrow {
  background: rgba(58, 72, 86, 0.15);
  color: var(--ink);
}

.vtm-section[data-theme="sage"] .section-eyebrow {
  background: rgba(21, 35, 29, 0.12);
  color: var(--ink);
}

@media (max-width: 720px) {
  .vtm-section[data-layout="split"] .vtm-section__grid {
    grid-template-columns: 1fr;
  }
}


.section-intro {
  text-align: center;
  max-width: 720px;
  margin: 0 auto clamp(28px, 5vw, 48px);
}

.section-intro > p {
  margin-top: clamp(12px, 2vw, 20px);
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.9rem;
  margin-bottom: clamp(12px, 2vw, 18px);
  border-radius: 999px;
  background: rgba(20, 25, 35, 0.08);
  color: var(--deep);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.story-benefits {
  --section-bg: var(--bg);
  --section-text: var(--ink);
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--gap);
}

.benefit-card {
  display: grid;
  gap: clamp(10px, 2vw, 16px);
  padding: clamp(18px, 3vw, 28px);
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  height: 100%;
}

.benefit-card__icon {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
}

.color-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: clamp(16px, 3vw, 28px);
  margin: 0 auto;
}

.color-chip {
  --chip-color: var(--bg);
  display: grid;
  gap: 10px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: clamp(16px, 3vw, 24px);
  text-align: center;
  color: var(--ink);
}

.color-chip::before {
  content: "";
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  border-radius: calc(var(--radius) - 6px);
  background: var(--chip-color);
}

.color-chip__label {
  font-weight: 600;
}

.type-stack {
  display: grid;
  gap: clamp(18px, 3vw, 28px);
  max-width: 720px;
  margin: 0 auto;
}

.type-label {
  display: block;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(20, 25, 35, 0.6);
  margin-bottom: 8px;
}

.text-muted {
  color: rgba(36, 40, 45, 0.65);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

.btn--ghost {
  background: rgba(58, 72, 86, 0.08);
  color: var(--deep);
}

.btn--ghost:hover {
  box-shadow: var(--shadow);
}

.btn--outline {
  background: transparent;
  color: var(--deep);
  border: 1px solid rgba(58, 72, 86, 0.25);
}

.btn--outline:hover {
  border-color: var(--deep);
  box-shadow: var(--shadow);
}

.story-lines .section-intro {
  max-width: 620px;
}

.story-lines__panels {
  display: grid;
  gap: clamp(16px, 3vw, 24px);
  max-width: 680px;
  margin: 0 auto;
}

.story-lines__panels details {
  border: 1px solid rgba(20, 25, 35, 0.12);
  border-radius: var(--radius);
  padding: clamp(16px, 3vw, 22px);
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.story-lines__panels summary {
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.story-lines__panels summary::-webkit-details-marker {
  display: none;
}

.story-lines__panels summary::after {
  content: "\u2304";
  transform: rotate(-90deg);
  transition: transform 0.2s ease;
}

.story-lines__panels details[open] summary::after {
  transform: rotate(0deg);
}

.story-lines__panels p {
  margin: clamp(12px, 2vw, 18px) 0 0;
}

.story-reasons {
  --section-bg: var(--bg);
}

.reason-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(16px, 3vw, 28px);
  max-width: 840px;
  margin: 0 auto;
}

.reason-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: clamp(18px, 3vw, 26px);
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: 12px;
  text-align: center;
}

.reason-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(58, 72, 86, 0.1);
  display: grid;
  place-items: center;
  margin: 0 auto;
  font-size: 1.4rem;
}

.asset-gallery {
  display: grid;
  gap: clamp(16px, 3vw, 28px);
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.asset-gallery figure {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.asset-gallery img {
  display: block;
  width: 100%;
  height: auto;
}

.asset-gallery figcaption {
  padding: clamp(12px, 2vw, 18px);
  font-size: 0.9rem;
  text-align: center;
}



/* ========== LEGAL PAGES ========== */
.legal-body {
  --section-bg: var(--bg);
}

.legal-columns {
  display: grid;
  gap: clamp(20px, 3vw, 28px);
  max-width: 840px;
  margin: 0 auto;
}

.legal-block {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: clamp(18px, 3vw, 26px);
  display: grid;
  gap: clamp(12px, 2vw, 18px);
}

.legal-block h3 {
  margin: 0;
}

.legal-block ul {
  margin: 0;
  padding-left: 1.2rem;
  display: grid;
  gap: 8px;
}

.legal-block p {
  margin: 0;
}

/* ========== FOOTER ========== */
footer {
  background: var(--blue);
  color: var(--ink);
  padding: 1.25rem 0 1.5rem 0;
  font-size: 0.95rem;
}

footer.footer-minimal {
  background: transparent;
  padding: 1rem 0;
}

footer.footer-minimal .foot-grid {
  text-align: center;
  display: block;
}

footer.footer-minimal small {
  color: rgba(58, 72, 86, 0.8);
}

.foot-grid {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.nav {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

/* ========== UTILS & RESPONSIVE ========== */
.spacer {
  height: 10px;
}

@media (max-width: 960px) {
  .logobar {
    align-items: center;
    gap: 12px;
    padding: 16px 0;
  }

  .btn--header {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 960px) {
  .section :is(.grid) {
    grid-template-columns: 1fr;
  }

  .tilt {
    --tilt-angle: 0deg;
  }

  .legend {
    grid-template-columns: repeat(2, minmax(160px, 1fr));
  }
}

@media (max-width: 520px) {
  .legend {
    grid-template-columns: 1fr;
  }

  .btn {
    width: 100%;
    text-align: center;
  }
}

.logo-header__wrap {
  display: block;
  max-width: clamp(160px, 24vw, 240px);
  margin: clamp(40px, 8vw, 72px) auto clamp(8px, 2vw, 16px);
  padding: 0 var(--pad);
}


.logo-header__wrap svg {
  display: block;
  width: 100%;
  height: auto;
}

.logo-header__wrap svg path {
  fill: var(--pink);
}


/* ========== QUIZ APP ========== */
.quiz-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: rgba(167, 196, 160, 0.2);
  z-index: 9999;
}

.quiz-progress-bar__fill {
  height: 100%;
  width: 0%;
  background: var(--sage);
  transition: width 0.4s ease-out;
}

.quiz-shell {
  display: grid;
  gap: clamp(24px, 4vw, 36px);
}

.quiz-header {
  text-align: center;
  display: grid;
  gap: clamp(12px, 2vw, 18px);
}

.quiz-header .section-eyebrow {
  margin-bottom: 0;
}

.quiz-header p {
  margin-top: 0;
}

.quiz-card__title {
  margin: 0;
  font-size: var(--lead);
  line-height: 1.25;
}

.quiz-card__hint {
  margin: 0;
  color: rgba(36, 40, 45, 0.75);
}

.quiz-card__note {
  font-size: 0.85rem;
  margin: 0;
  color: rgba(36, 40, 45, 0.6);
  transition: color 0.2s ease;
}

[data-quiz-essay-note][data-tone="error"] {
  color: #c43d3d;
}

[data-quiz-essay-note][data-tone="info"] {
  color: rgba(36, 40, 45, 0.75);
}

[data-quiz-essay-note][data-tone="success"] {
  color: #2b7a4b;
}

.quiz-view[hidden] {
  display: none !important;
}

.quiz-loader {
  display: grid;
  place-items: center;
  min-height: 160px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.quiz-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: clamp(18px, 4vw, 28px);
  display: grid;
  gap: clamp(16px, 3vw, 24px);
}

.quiz-essay textarea {
  width: 100%;
  min-height: clamp(180px, 35vh, 260px);
  padding: 1rem;
  border-radius: calc(var(--radius) - 4px);
  border: 1px solid rgba(58, 72, 86, 0.25);
  font-size: 1rem;
  font-family: inherit;
  resize: vertical;
  background: rgba(58, 72, 86, 0.04);
}

.quiz-essay textarea:focus {
  outline: 2px solid rgba(53, 94, 252, 0.35);
  background: #fff;
}

.quiz-essay.is-loading textarea,
.quiz-essay.is-loading button {
  opacity: 0.65;
  cursor: progress;
  pointer-events: none;
}

.quiz-item__prompt {
  font-size: var(--lead);
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 1.5rem 0;
}

.quiz-question-form fieldset {
  border: none;
  padding: 0;
  margin: 0;
}

.quiz-next-btn {
  width: 100%;
  margin-top: 8px;
  background: var(--deep);
  border: 2px solid transparent;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.quiz-next-btn.has-selection {
  background: var(--sage);
  color: var(--ink-sage);
  border-color: var(--sage);
}

.quiz-next-btn.has-selection:hover {
  border-color: var(--ink-sage);
}

.quiz-next-btn:hover {
  background: var(--sage);
  color: var(--ink-sage);
  border-color: var(--sage);
}

.quiz-progress {
  font-size: 0.9rem;
  text-align: center;
  color: rgba(58, 72, 86, 0.6);
  margin-top: 16px;
  font-weight: 500;
}

.quiz-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}

.quiz-option {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 12px;
  padding: 0.75rem 1rem;
  border-radius: calc(var(--radius) - 4px);
  border: 1px solid rgba(58, 72, 86, 0.18);
  background: rgba(58, 72, 86, 0.04);
}

.quiz-option input[type="radio"] {
  width: 18px;
  height: 18px;
  accent-color: var(--deep);
}

/* Card-based answer options - 2x2 grid */
.quiz-option-card {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem;
  min-height: 140px;
  border-radius: var(--radius);
  border: 2px solid rgba(58, 72, 86, 0.15);
  background: white;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  opacity: 1;
}

.quiz-option-card:hover {
  border-color: rgba(58, 72, 86, 0.3);
  background: rgba(58, 72, 86, 0.02);
}

.quiz-option-card.is-selected {
  border-color: var(--sage);
  background: white;
  opacity: 1;
}

/* Fade non-selected options when one is selected */
.quiz-options.has-selection .quiz-option-card:not(.is-selected) {
  opacity: 0.4;
}

.quiz-option-card__text {
  display: block;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--text);
}

.quiz-options[data-error]::after {
  content: attr(data-error);
  color: #C43D3D;
  font-size: 0.85rem;
  grid-column: 1 / -1;
}

.quiz-results-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: clamp(20px, 4vw, 32px);
  display: grid;
  gap: clamp(14px, 3vw, 20px);
  text-align: center;
}

.quiz-axes {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.quiz-axis {
  padding: 1rem;
  border-radius: calc(var(--radius) - 4px);
  background: rgba(58, 72, 86, 0.05);
  text-align: left;
}

.quiz-self {
  display: grid;
  gap: clamp(18px, 4vw, 28px);
}

.quiz-self__axes {
  display: grid;
  gap: clamp(16px, 3vw, 24px);
}

@media (min-width: 720px) {
  .quiz-self__axes {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }
}

.quiz-self__axis {
  display: grid;
  gap: 12px;
  padding: clamp(14px, 3vw, 20px);
  border-radius: calc(var(--radius) - 4px);
  background: rgba(58, 72, 86, 0.04);
}

.quiz-self__axis header h3 {
  margin: 0;
}

.quiz-self__axis header p {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(36, 40, 45, 0.65);
}

.quiz-self__label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.9rem;
  color: rgba(36, 40, 45, 0.8);
}

.quiz-self input[type="range"] {
  width: 100%;
}

.quiz-self-vs {
  display: grid;
  gap: 12px;
  text-align: left;
}

.quiz-self-vs__axis {
  padding: 0.9rem 1rem;
  border-radius: calc(var(--radius) - 6px);
  background: rgba(58, 72, 86, 0.04);
  border-left: 3px solid rgba(58, 72, 86, 0.25);
}

.quiz-self-vs__axis h4 {
  margin: 0 0 6px;
  font-size: 1rem;
}

.quiz-self-vs__axis p {
  margin: 0;
  font-size: 0.9rem;
}

.quiz-self-vs__axis em {
  color: rgba(36, 40, 45, 0.75);
}

.quiz-phrases {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
  text-align: left;
}

.quiz-phrases li {
  padding: 0.75rem 1rem;
  border-radius: calc(var(--radius) - 6px);
  background: rgba(58, 72, 86, 0.08);
  font-style: italic;
}

#quiz-result-cta[disabled] {
  pointer-events: none;
  opacity: 0.6;
}

.quiz-error {
  background: rgba(196, 61, 61, 0.1);
  border-radius: var(--radius);
  padding: clamp(18px, 3vw, 28px);
  text-align: center;
  display: grid;
  gap: 12px;
}

/* ========== RESULTS PAGES ========== */
.results-hero {
  text-align: center;
  color: var(--white);
  display: grid;
  gap: clamp(16px, 4vw, 26px);
}

.results-hero .section-eyebrow {
  justify-self: center;
}

.results-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.results-chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: var(--white);
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

.results-quote {
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-style: italic;
  margin: 0;
}

.results-micro-cta {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  font-size: 0.85rem;
  margin: 0;
}

.results-section {
  display: block;
}

.results-section h2 {
  margin-bottom: clamp(12px, 3vw, 20px);
}

.results-section h3 {
  margin-top: clamp(18px, 4vw, 28px);
  margin-bottom: clamp(8px, 2vw, 14px);
}

.results-section p + h3 {
  margin-top: clamp(20px, 4vw, 32px);
}

.results-list {
  padding-left: 1.2em;
  margin: 0;
  display: grid;
  gap: 0.55em;
  list-style: disc;
}

.results-list.results-list--plain {
  list-style: none;
  padding-left: 0;
}

.results-columns {
  display: grid;
  gap: clamp(18px, 3vw, 32px);
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin-top: clamp(18px, 4vw, 32px);
}

.results-callout {
  margin-top: clamp(18px, 4vw, 32px);
  padding: clamp(16px, 3vw, 22px);
  background: rgba(58, 72, 86, 0.08);
  border-radius: var(--radius);
  border-left: 4px solid rgba(58, 72, 86, 0.2);
}

.results-callout h3 {
  margin-top: 0;
  margin-bottom: 0.35em;
}

.results-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(58, 72, 86, 0.1);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.results-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: clamp(18px, 4vw, 32px);
  font-size: 0.98rem;
}

.results-table th,
.results-table td {
  padding: 14px 12px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid rgba(58, 72, 86, 0.15);
}

.results-table th {
  font-weight: 600;
  background: rgba(58, 72, 86, 0.06);
}

.results-steps {
  padding-left: 1.2em;
  margin: 0;
  display: grid;
  gap: clamp(12px, 3vw, 18px);
}

.results-steps > li {
  margin: 0;
}

.results-steps ul {
  padding-left: 1.1em;
  margin-top: 0.6em;
  display: grid;
  gap: 0.45em;
}

.results-scores {
  display: grid;
  gap: clamp(18px, 4vw, 28px);
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.results-score {
  position: relative;
  padding: clamp(18px, 4vw, 26px);
  border-radius: var(--radius);
  background: rgba(58, 72, 86, 0.08);
  box-shadow: inset 0 0 0 1px rgba(58, 72, 86, 0.1);
  display: grid;
  gap: 12px;
}

.results-score[data-active="true"] {
  background: rgba(167, 196, 160, 0.22);
  box-shadow: inset 0 0 0 2px rgba(21, 35, 29, 0.28);
}

.results-score__heading {
  display: flex;
  align-items: center;
  gap: 12px;
}

.results-score__acronym {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(58, 72, 86, 0.85);
  color: var(--white);
  display: grid;
  place-items: center;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.results-score__label {
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.results-score__value {
  font-size: clamp(2rem, 4vw, 2.6rem);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--deep);
}

.results-score__note {
  font-size: 0.95rem;
  color: rgba(36, 40, 45, 0.75);
}

.results-matrix {
  margin-top: clamp(24px, 6vw, 40px);
}

.results-matrix table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.results-matrix thead {
  background: rgba(58, 72, 86, 0.12);
}

.results-matrix th,
.results-matrix td {
  padding: clamp(14px, 3vw, 18px);
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid rgba(58, 72, 86, 0.12);
}

.results-matrix__row.is-active {
  background: rgba(167, 196, 160, 0.18);
}

.results-matrix__row.is-active td {
  font-weight: 600;
}

.results-matrix td:first-child {
  font-weight: 600;
}

.results-matrix__axes {
  font-family: monospace;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

@media (max-width: 640px) {
  .results-hero {
    gap: clamp(12px, 6vw, 20px);
  }

  .results-chip {
    font-size: 0.9rem;
  }

  .results-scores {
    grid-template-columns: 1fr;
  }

  .results-matrix table,
  .results-table {
    font-size: 0.9rem;
  }
}
.results-hero p,
.results-hero .results-quote {
  margin-left: auto;
  margin-right: auto;
  max-width: 60ch;
}
