:root {
  font-family: "Avenir Next", Avenir, "Century Gothic", Montserrat, Arial, sans-serif;
  color: #292638;
  background: #fffdf5;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  --green: #292638;
  --cream: #fffdf5;
  --gold: #8a7850;
  --mint: #80d4a0;
}

* {
  box-sizing: border-box;
}

[hidden] { display: none !important; }

a { color: inherit; text-underline-offset: 4px; }

input, select { font: inherit; color: inherit; }

button:disabled { opacity: .6; cursor: wait; }

.home-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1180px;
  margin: auto;
  min-height: 86px;
  padding: 8px 28px;
}
.home-tagline { font-size: 12px; color: #77717c; }
.home-banner { background: #17132b; text-align: center; line-height: 0; }
.home-banner img {
  display: block;
  width: 100%;
  max-width: 1080px;
  height: auto;
  object-fit: contain;
  margin: auto;
}
.home-footer { display: flex; justify-content: space-between; gap: 20px; padding: 24px 32px; font-size: 12px; border-top: 1px solid #e3ded8; }
.brand-decoration { object-fit: contain; opacity: .17; height: 80px; }
.intro-content .brand-decoration { width: 170px; }
.intro-content > :not(.brand-decoration) { position: relative; z-index: 2; }
.contact-screen { min-height: 100svh; background: #f7f5ef; padding-bottom: 70px; }
.contact-card { max-width: 580px; margin: 36px auto 0; padding: 42px; background: white; border: 1px solid #e5e0d8; border-radius: 14px; box-shadow: 0 24px 60px #21142e08; }
.contact-card h1 { font-size: clamp(2rem, 5vw, 2.8rem); line-height: 1.1; letter-spacing: -.05em; margin: 0; }
.contact-lead { color: #6b6571; line-height: 1.6; margin: 18px 0 28px; }
.contact-form { display: grid; gap: 20px; }
.contact-form > label:not(.consent-label) { display: grid; gap: 9px; font-weight: 600; font-size: 13px; }
.contact-form input:not([type=checkbox]) { width: 100%; min-height: 50px; border: 1px solid #d3ced7; border-radius: 7px; padding: 12px 14px; background: #fff; font-size: 16px; }
input:focus-visible, select:focus-visible, a:focus-visible { outline: 3px solid #b55b393d; outline-offset: 3px; }
.consent-label { display: grid; grid-template-columns: 20px 1fr; align-items: start; gap: 10px; font-size: 12px; line-height: 1.6; color: #625c69; }
.consent-label input { width: 18px; height: 18px; margin: 2px 0; accent-color: #98381f; }
.form-error { margin: 0; color: #a82a29; font-size: 13px; line-height: 1.5; }
.form-error:empty { display: none; }
.privacy-note { text-align: center; margin: 0; color: #77717c; font-size: 11px; line-height: 1.6; }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.saving-card { text-align: center; }
.saving-card p { line-height: 1.7; }
.delivery-note { background: #f0ede6; border-bottom: 1px solid #ddd7cc; padding: 18px 28px; text-align: center; font-size: 13px; line-height: 1.6; }
.answer-review { width: min(1180px, calc(100% - 48px)); margin: 0 auto 64px; padding: 24px; border: 1px solid #ddd7cc; border-radius: 8px; }
.answer-review summary { cursor: pointer; font-weight: 700; }
.answer-review li { padding: 16px 8px; line-height: 1.6; }
.answer-review p { margin: 6px 0 0; color: #69616c; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

@media(max-width: 900px) {
  .intro-content .brand-decoration { width: 110px; opacity: .1; }
}
@media(max-width: 680px) {
  .home-header { justify-content: center; min-height: 75px; }
  .home-tagline { display: none; }
  .home-header .brand-mark { width: 210px; }
  .home-footer { padding: 20px; font-size: 10px; }
  .intro-content { padding: 44px 22px 50px; }
  .contact-card { margin: 24px 16px 0; padding: 28px 22px; }
  .site-footer .brand-mark { width: 160px; }
  .brand-mark--compact img { height: 50px; }
}

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

html {
  background: var(--cream);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  color: var(--green);
  background: var(--cream);
}

button {
  color: inherit;
  font: inherit;
}

button:focus-visible {
  outline: 3px solid rgba(0, 73, 3, 0.3);
  outline-offset: 4px;
}

.brand-mark {
  position: absolute;
  top: 32px;
  left: 50%;
  z-index: 3;
  width: 240px;
  transform: translateX(-50%);
}

.brand-mark img {
  display: block;
  width: 100%;
  height: 70px;
  object-fit: cover;
}

.brand-mark--compact {
  position: static;
  width: 200px;
  transform: none;
}

.eyebrow,
.section-kicker {
  margin: 0 0 13px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

.intro-screen {
  position: relative;
  display: block;
  min-height: 100svh;
  overflow: hidden;
  padding: 0;
  background: #faf8f2;
}

.intro-screen::after {
  position: absolute;
  inset: 0;
  content: none;
  background: radial-gradient(circle at 50% 44%, transparent 20%, rgba(37, 60, 43, 0.05) 100%);
  pointer-events: none;
}

.intro-content {
  position: relative;
  z-index: 2;
  width: 100%;
  margin: 0;
  padding: 62px 24px 64px;
  text-align: center;
}

.intro-content h1,
.result-intro h1 {
  margin: 0;
  font-size: clamp(3.5rem, 8vw, 6.5rem);
  font-weight: 700;
  letter-spacing: -0.065em;
  line-height: 0.96;
}

.intro-copy {
  width: min(650px, 100%);
  margin: 34px auto 28px;
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  line-height: 1.78;
}

.intro-copy p {
  margin: 0 0 12px;
}

.outline-button,
.solid-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  min-height: 56px;
  padding: 12px 28px;
  border: 2px solid var(--green);
  border-radius: 999px;
  background: transparent;
  font-size: 15px;
  font-weight: 700;
  text-transform: lowercase;
  cursor: pointer;
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease;
}

.outline-button span {
  font-size: 21px;
  transition: transform 180ms ease;
}

.outline-button:hover {
  color: #fff;
  background: var(--green);
  transform: translateY(-2px);
}

.outline-button:hover span {
  transform: translateX(4px);
}

.time-note {
  margin: 15px 0 0;
  font-size: 12px;
  opacity: 0.72;
}

.leaf {
  position: absolute;
  z-index: 1;
  width: 190px;
  fill: none;
  stroke: rgba(0, 73, 3, 0.13);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.3;
  pointer-events: none;
}

.leaf--left {
  bottom: 32px;
  left: 20px;
  transform: none;
}

.leaf--right {
  top: 32px;
  right: 20px;
  transform: none;
}

.reveal {
  animation: reveal 700ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes reveal {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

.quiz-screen {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  background:
    radial-gradient(circle at 100% 100%, #f5e7cb 0, transparent 34%),
    linear-gradient(145deg, #fffdf6 0%, #faf7ed 100%);
}

.quiz-header,
.result-header {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 106px;
  padding: 18px clamp(24px, 5vw, 76px);
}

.back-button,
.restart-link {
  justify-self: start;
  padding: 8px 0;
  border: 0;
  background: transparent;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: lowercase;
  cursor: pointer;
}

.back-button span {
  display: inline-block;
  margin-right: 7px;
  transition: transform 160ms ease;
}

.back-button:hover span {
  transform: translateX(-4px);
}

.question-count {
  justify-self: end;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.13em;
}

.progress-track {
  position: relative;
  z-index: 3;
  width: calc(100% - clamp(48px, 10vw, 152px));
  height: 2px;
  margin: 0 auto;
  overflow: hidden;
  background: rgba(0, 73, 3, 0.13);
}

.progress-track span {
  display: block;
  height: 100%;
  background: var(--green);
  transition: width 450ms cubic-bezier(0.22, 1, 0.36, 1);
}

.question-stage {
  position: relative;
  z-index: 2;
  width: min(850px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(48px, 7vh, 82px) 0 60px;
}

.question-heading {
  width: min(740px, 100%);
  margin: 0 auto 38px;
  text-align: center;
}

.question-heading h2 {
  margin: 0;
  font-size: clamp(2rem, 4.1vw, 3.65rem);
  font-weight: 700;
  letter-spacing: -0.047em;
  line-height: 1.09;
}

.answers {
  display: grid;
  gap: 12px;
}

.answer-card {
  display: grid;
  grid-template-columns: 38px 1fr 30px;
  gap: 18px;
  align-items: center;
  width: 100%;
  min-height: 78px;
  padding: 15px 21px;
  border: 1.5px solid rgba(0, 73, 3, 0.22);
  border-radius: 5px;
  color: var(--green);
  background: rgba(255, 255, 255, 0.58);
  box-shadow: 0 10px 38px rgba(0, 73, 3, 0);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.45;
  text-align: left;
  cursor: pointer;
  transition: border-color 170ms ease, box-shadow 170ms ease, transform 170ms ease, background 170ms ease;
}

.answer-card:hover {
  border-color: var(--green);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 32px rgba(0, 73, 3, 0.07);
  transform: translateY(-2px);
}

.answer-card.is-selected {
  border-color: var(--green);
  background: #eef5e7;
  transform: scale(0.995);
}

.answer-letter {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 700;
}

.answer-check {
  justify-self: end;
  opacity: 0;
  transform: scale(0.4);
  transition: opacity 160ms ease, transform 160ms ease;
}

.is-selected .answer-check {
  opacity: 1;
  transform: scale(1);
}

.answer-hint {
  margin: 20px 0 0;
  font-size: 12px;
  text-align: center;
  opacity: 0.62;
}

.slide-forward {
  animation: slideForward 480ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.slide-back {
  animation: slideBack 480ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes slideForward {
  from { opacity: 0; transform: translateX(24px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes slideBack {
  from { opacity: 0; transform: translateX(-24px); }
  to { opacity: 1; transform: translateX(0); }
}

.leaf--question {
  right: -58px;
  bottom: -45px;
  width: 260px;
  transform: rotate(-18deg);
}

.result-screen {
  min-height: 100vh;
  background: var(--cream);
}

.result-header {
  min-height: 102px;
  border-bottom: 1px solid rgba(0, 73, 3, 0.12);
}

.result-header .brand-mark {
  grid-column: 2;
}

.restart-link {
  grid-column: 3;
  justify-self: end;
}

.result-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr);
  align-items: center;
  min-height: 560px;
  overflow: hidden;
  padding: clamp(65px, 8vw, 118px) clamp(28px, 8vw, 120px);
  background:
    radial-gradient(circle at 88% 15%, rgba(255,255,255,.58), transparent 29%),
    var(--accent-soft);
}

.result-hero::after {
  position: absolute;
  right: -8vw;
  bottom: -20vw;
  width: 46vw;
  height: 46vw;
  border: 1px solid color-mix(in srgb, var(--accent), transparent 65%);
  border-radius: 50%;
  content: '';
}

.result-intro {
  position: relative;
  z-index: 1;
  max-width: 640px;
}

.result-intro h1 {
  color: var(--green);
  font-size: clamp(4rem, 7vw, 7.2rem);
}

.result-headline {
  max-width: 530px;
  margin: 25px 0 0;
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  font-weight: 500;
  line-height: 1.45;
}

.scores {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  gap: clamp(15px, 2.4vw, 34px);
}

.score-item {
  display: grid;
  justify-items: center;
  animation: scoreIn 600ms cubic-bezier(0.22, 1, 0.36, 1) var(--delay) both;
}

@keyframes scoreIn {
  from { opacity: 0; transform: translateY(18px) scale(.92); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.score-ring {
  display: grid;
  place-items: center;
  width: clamp(96px, 10.5vw, 146px);
  aspect-ratio: 1;
  margin-bottom: 15px;
  border-radius: 50%;
  transform: rotate(-90deg);
}

.score-ring > div {
  display: grid;
  place-items: center;
  width: calc(100% - 9px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(255, 253, 245, 0.96);
  transform: rotate(90deg);
}

.score-ring img {
  width: 50%;
  height: 50%;
  object-fit: contain;
}

.score-item strong {
  font-size: 14px;
}

.score-item > span {
  color: var(--ring-color);
  font-size: 12px;
  font-weight: 700;
}

.result-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 0.58fr);
  gap: clamp(50px, 8vw, 130px);
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: clamp(75px, 10vw, 135px) 0;
}

.result-story h2 {
  margin: 0 0 25px;
  font-size: clamp(2.3rem, 4.2vw, 4rem);
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.result-story > p:not(.section-kicker) {
  max-width: 680px;
  margin: 0;
  font-size: 17px;
  line-height: 1.8;
}

.balance-note {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 18px;
  margin-top: 43px;
  padding: 28px 30px;
  border-left: 4px solid var(--accent);
  background: var(--accent-soft);
}

.balance-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  color: var(--accent);
}

.balance-note h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.balance-note p {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
}

.elements-card {
  align-self: start;
  padding: 34px;
  border: 1px solid rgba(0, 73, 3, 0.14);
  background: #fff;
  box-shadow: 0 24px 80px rgba(0, 73, 3, 0.08);
}

.element-row {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  gap: 15px;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid rgba(0, 73, 3, 0.11);
}

.element-row:last-child {
  border-bottom: 0;
}

.element-row img {
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.element-row div {
  display: grid;
}

.element-row strong {
  font-size: 15px;
}

.element-row span {
  font-size: 12px;
  opacity: 0.64;
}

.element-row em {
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
}

.result-actions {
  display: grid;
  justify-items: center;
  gap: 24px;
  padding: 72px 24px;
  color: #fff;
  background: var(--green);
  text-align: center;
}

.result-actions p {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2.3rem);
  font-weight: 700;
  letter-spacing: -0.035em;
}

.solid-button {
  border-color: #fff;
  color: var(--green);
  background: #fff;
}

.solid-button:hover {
  color: #fff;
  background: transparent;
  transform: translateY(-2px);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 30px clamp(24px, 6vw, 90px);
  background: #fff;
}

.site-footer p {
  margin: 0;
  font-size: 11px;
  opacity: .62;
}

@media (max-width: 980px) {
  .result-hero {
    grid-template-columns: 1fr;
    gap: 56px;
    min-height: 0;
  }

  .result-intro {
    text-align: center;
    margin-inline: auto;
  }

  .result-body {
    grid-template-columns: 1fr;
  }

  .elements-card {
    width: min(620px, 100%);
  }
}

@media (max-width: 680px) {
  .brand-mark {
    top: 23px;
    width: 98px;
  }

  .intro-screen {
    padding: 0;
  }

  .intro-content h1 {
    font-size: clamp(3.4rem, 18vw, 4.8rem);
  }

  .intro-copy {
    margin-top: 26px;
    font-size: 14px;
    line-height: 1.65;
  }

  .outline-button {
    width: min(330px, 100%);
  }

  .leaf--right {
    display: none;
  }

  .quiz-header,
  .result-header {
    min-height: 82px;
    padding: 12px 20px;
  }

  .quiz-header .brand-mark,
  .result-header .brand-mark {
    width: 142px;
  }

  .progress-track {
    width: calc(100% - 40px);
  }

  .question-stage {
    width: calc(100% - 32px);
    padding-top: 42px;
  }

  .question-heading {
    margin-bottom: 27px;
  }

  .question-heading h2 {
    font-size: clamp(1.8rem, 8.8vw, 2.5rem);
  }

  .answer-card {
    grid-template-columns: 34px 1fr 18px;
    gap: 12px;
    min-height: 76px;
    padding: 13px 14px;
    font-size: 13px;
  }

  .answer-letter {
    width: 32px;
    height: 32px;
  }

  .result-hero {
    gap: 42px;
    padding: 66px 20px;
  }

  .result-intro h1 {
    font-size: clamp(3.4rem, 16vw, 5rem);
  }

  .scores {
    gap: 12px;
  }

  .score-ring {
    width: min(27vw, 112px);
  }

  .score-item strong {
    font-size: 12px;
  }

  .result-body {
    width: calc(100% - 36px);
    padding: 72px 0;
  }

  .result-story > p:not(.section-kicker) {
    font-size: 15px;
  }

  .balance-note,
  .elements-card {
    padding: 24px 20px;
  }

  .site-footer {
    flex-direction: column;
    gap: 18px;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: 1ms !important;
    transition-duration: 1ms !important;
  }
}
