:root {
  --ink: #352e3a;
  --ink-soft: #665d6d;
  --forest: #67566f;
  --forest-deep: #493c50;
  --mint: #e7dfea;
  --mint-light: #f4f0f5;
  --cream: #f1edf3;
  --paper: #fbf9fc;
  --coral: #985d78;
  --coral-dark: #7c4861;
  --gold: #d4b4c3;
  --line: #dcd3e0;
  --shadow: 0 22px 60px rgba(73, 60, 80, .13);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 18%, rgba(184, 135, 156, .12) 0 4px, transparent 5px),
    radial-gradient(circle at 91% 73%, rgba(103, 86, 111, .08) 0 5px, transparent 6px),
    var(--cream);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

button, input { font: inherit; }
button { -webkit-tap-highlight-color: transparent; }

.page-shell {
  width: min(1180px, calc(100% - 40px));
  min-height: 100vh;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.site-header {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
  font-size: .96rem;
  font-weight: 750;
  letter-spacing: -.01em;
}
.brand-copy { display: grid; gap: 2px; line-height: 1.1; }
.brand-copy strong { font-size: .96rem; }
.brand-copy small { color: var(--ink-soft); font-size: .62rem; font-weight: 650; }

.brand-mark {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: flex-end;
  justify-content: center;
  gap: 3px;
  padding: 9px;
  border-radius: 50%;
  background: var(--forest);
}

.brand-mark span {
  width: 5px;
  display: block;
  border-radius: 5px 5px 2px 2px;
  background: var(--cream);
  transform-origin: bottom;
}
.brand-mark span:nth-child(1) { height: 12px; transform: rotate(-18deg); }
.brand-mark span:nth-child(2) { height: 17px; }
.brand-mark span:nth-child(3) { height: 12px; transform: rotate(18deg); }

.privacy-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-soft);
  font-size: .82rem;
  font-weight: 650;
}

.header-links { display: flex; align-items: center; gap: 22px; }
.header-links[hidden] { display: none !important; }
.header-links a, footer a { color: var(--ink-soft); font-size: .8rem; font-weight: 700; text-decoration: none; }
.header-links a:hover, footer a:hover { color: var(--coral-dark); }

.privacy-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #8b7692;
  box-shadow: 0 0 0 4px rgba(139, 118, 146, .15);
}

main { flex: 1; display: flex; align-items: center; }
.screen { display: none; width: 100%; animation: appear .35s ease both; }
.screen.is-active { display: block; }

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

.start-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, .85fr);
  gap: clamp(42px, 7vw, 100px);
  align-items: center;
  padding: 48px 0 72px;
}

.intro-copy { max-width: 690px; }
.eyebrow, .card-kicker {
  margin: 0 0 14px;
  color: var(--coral-dark);
  font-size: .73rem;
  font-weight: 850;
  letter-spacing: .14em;
  text-transform: uppercase;
}

h1, h2, p { text-wrap: pretty; }
h1, h2 { font-family: Georgia, "Times New Roman", serif; }

.intro-copy h1 {
  margin: 0;
  max-width: 670px;
  font-size: clamp(3rem, 6vw, 5.6rem);
  font-weight: 500;
  line-height: .98;
  letter-spacing: -.055em;
}

.lead {
  max-width: 590px;
  margin: 28px 0 32px;
  color: var(--ink-soft);
  font-size: clamp(1.04rem, 2vw, 1.2rem);
  line-height: 1.7;
}

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 12px 23px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 780;
  transition: transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.button:hover { transform: translateY(-2px); }
.button:focus-visible, .text-button:focus-visible, .answer-option:focus-within, .brand:focus-visible {
  outline: 3px solid rgba(152, 93, 120, .32);
  outline-offset: 3px;
}
.button-primary { color: #fff; background: var(--coral); box-shadow: 0 10px 24px rgba(124, 72, 97, .22); }
.button-primary:hover { background: var(--coral-dark); }
.button-secondary { color: var(--ink); background: transparent; border-color: #bdb1c2; }
.button-secondary:hover { border-color: var(--forest); background: rgba(255,255,255,.55); }
.button-large { min-height: 58px; padding-inline: 29px; }
.button:disabled { opacity: .42; cursor: not-allowed; transform: none; box-shadow: none; }

.time-note { margin: 18px 0 0; color: #756a7c; font-size: .83rem; }

.info-card {
  position: relative;
  overflow: hidden;
  padding: clamp(30px, 5vw, 50px);
  border-radius: var(--radius-lg);
  background: var(--forest);
  color: rgba(255,255,255,.82);
  box-shadow: var(--shadow);
}
.info-card::after {
  content: "";
  position: absolute;
  width: 170px;
  height: 170px;
  right: -68px;
  bottom: -77px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 50%;
  box-shadow: 0 0 0 23px rgba(255,255,255,.035), 0 0 0 48px rgba(255,255,255,.025);
}
.info-card .card-kicker { color: #e5c7d5; }
.info-card h2 { margin: 0 0 17px; color: #fff; font-size: 2rem; font-weight: 500; line-height: 1.15; }
.info-card p { margin: 0; }
.check-list { margin: 27px 0; padding: 0; list-style: none; }
.check-list li { display: flex; gap: 12px; margin: 12px 0; }
.check-list span { color: #e5c7d5; font-weight: 900; }
.info-card .disclaimer { padding-top: 21px; border-top: 1px solid rgba(255,255,255,.15); font-size: .78rem; opacity: .72; }

.card-decoration { display: flex; gap: 7px; margin: 0 0 34px; align-items: end; height: 42px; }
.card-decoration span { display: block; width: 15px; border-radius: 10px 10px 3px 3px; background: rgba(255,255,255,.78); }
.card-decoration span:nth-child(1) { height: 25px; transform: rotate(-17deg); }
.card-decoration span:nth-child(2) { height: 41px; background: #e5c7d5; }
.card-decoration span:nth-child(3) { height: 25px; transform: rotate(17deg); }

.quiz-screen { max-width: 820px; margin: 0 auto; padding: 34px 0 70px; }

.contact-screen { padding: 34px 0 70px; }
.contact-layout { display: grid; grid-template-columns: minmax(270px, .7fr) minmax(480px, 1.3fr); gap: clamp(40px, 7vw, 90px); align-items: start; }
.contact-intro { padding-top: 22px; }
.contact-intro .text-button { margin-bottom: 46px; }
.contact-intro h1 { margin: 0 0 20px; font-size: clamp(2.5rem, 5vw, 4.4rem); font-weight: 500; line-height: 1; letter-spacing: -.045em; }
.contact-intro > p:not(.eyebrow) { color: var(--ink-soft); font-size: 1.02rem; line-height: 1.7; }
.privacy-promise { display: flex; gap: 14px; align-items: flex-start; margin-top: 30px; padding-top: 25px; border-top: 1px solid rgba(103,86,111,.14); color: var(--ink-soft); font-size: .84rem; }
.privacy-promise strong { color: var(--ink); }
.privacy-promise-icon { flex: 0 0 auto; width: 29px; height: 29px; display: grid; place-items: center; border-radius: 50%; color: var(--forest); background: var(--mint); font-weight: 900; }
.contact-card { padding: clamp(28px, 5vw, 48px); border: 1px solid rgba(103,86,111,.1); border-radius: var(--radius-lg); background: var(--paper); box-shadow: var(--shadow); }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field-group { margin-bottom: 20px; }
.field-group label { display: block; margin-bottom: 7px; color: var(--ink); font-size: .82rem; font-weight: 780; }
.field-group label span { color: var(--coral-dark); }
.field-group label small { margin-left: 5px; color: #887e8e; font-weight: 600; }
.field-group input, .field-group select { width: 100%; height: 50px; padding: 10px 14px; border: 1.5px solid var(--line); border-radius: 10px; color: var(--ink); background: #fff; outline: 0; transition: border-color .15s, box-shadow .15s; }
.field-group input:focus, .field-group select:focus { border-color: var(--forest); box-shadow: 0 0 0 3px rgba(103,86,111,.12); }
.consent-row { display: grid; grid-template-columns: 20px 1fr; gap: 11px; margin: 14px 0; color: var(--ink-soft); font-size: .8rem; line-height: 1.5; cursor: pointer; }
.consent-row input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--forest); }
.consent-row a { color: var(--forest); font-weight: 750; }
.consent-row b { color: var(--coral-dark); }
.consent-row em { color: #887e8e; font-style: normal; }
.form-error { min-height: 22px; margin: 14px 0 8px; color: #a13f30; font-size: .83rem; font-weight: 700; }
.full-button { width: 100%; }
.required-note { margin: 12px 0 0; color: #887e8e; text-align: center; font-size: .72rem; }
.quiz-topline { display: flex; align-items: center; justify-content: space-between; margin-bottom: 13px; }
.quiz-topline p { margin: 0; color: var(--ink-soft); font-size: .8rem; font-weight: 750; letter-spacing: .04em; }
.text-button { display: inline-flex; gap: 8px; border: 0; padding: 5px 0; background: transparent; color: var(--ink-soft); cursor: pointer; font-weight: 700; }
.progress-track { width: 100%; height: 7px; overflow: hidden; border-radius: 99px; background: #ddd5e1; }
.progress-track span { display: block; width: 5%; height: 100%; border-radius: inherit; background: var(--coral); transition: width .35s ease; }

.question-card {
  margin-top: 32px;
  padding: clamp(28px, 5vw, 52px);
  border: 1px solid rgba(103,86,111,.09);
  border-radius: var(--radius-lg);
  background: rgba(251, 249, 252, .96);
  box-shadow: 0 20px 50px rgba(73,60,80,.09);
}
.question-number { margin: 0 0 13px; color: var(--coral-dark); font-family: Georgia, serif; font-size: .9rem; font-weight: 700; }
fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
legend { max-width: 720px; padding: 0; color: var(--ink); font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.65rem, 3.5vw, 2.45rem); font-weight: 500; line-height: 1.2; letter-spacing: -.025em; }
.question-prompt { margin: 14px 0 27px; color: var(--ink-soft); font-size: .88rem; }
.answers { display: grid; gap: 12px; }
.answer-option { position: relative; display: grid; grid-template-columns: 26px 1fr; gap: 15px; align-items: center; padding: 17px 19px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: #fff; cursor: pointer; transition: border .16s ease, background .16s ease, transform .16s ease; }
.answer-option:hover { border-color: #a996b1; transform: translateX(2px); }
.answer-option.is-selected { border-color: var(--forest); background: var(--mint-light); }
.answer-option input { position: absolute; opacity: 0; pointer-events: none; }
.radio-mark { width: 22px; height: 22px; display: grid; place-items: center; border: 1.5px solid #aa9eaf; border-radius: 50%; background: #fff; }
.radio-mark::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--forest); transform: scale(0); transition: transform .14s ease; }
.answer-option.is-selected .radio-mark { border-color: var(--forest); }
.answer-option.is-selected .radio-mark::after { transform: scale(1); }
.answer-copy { color: #453a4b; line-height: 1.45; }
.validation-message { min-height: 22px; margin: 16px 0 -18px; color: #a13f30; font-size: .85rem; font-weight: 700; }
.quiz-actions { display: flex; justify-content: space-between; gap: 16px; margin-top: 25px; }

.result-screen { max-width: 960px; margin: 0 auto; padding: 28px 0 75px; }
.result-hero { position: relative; overflow: hidden; padding: clamp(38px, 7vw, 70px); border-radius: var(--radius-lg); text-align: center; background: var(--forest); color: #fff; box-shadow: var(--shadow); }
.result-hero::before, .result-hero::after { content: ""; position: absolute; border: 1px solid rgba(255,255,255,.09); border-radius: 50%; }
.result-hero::before { width: 290px; height: 290px; left: -160px; top: -170px; }
.result-hero::after { width: 190px; height: 190px; right: -80px; bottom: -110px; box-shadow: 0 0 0 35px rgba(255,255,255,.025); }
.result-symbol { position: relative; width: 68px; height: 68px; margin: 0 auto 22px; border-radius: 50%; background: var(--gold); }
.result-symbol::before { content: ""; position: absolute; width: 29px; height: 36px; left: 20px; top: 17px; border: solid var(--forest); border-width: 0 4px 4px 0; transform: rotate(45deg) skew(3deg); border-radius: 2px; }
.eyebrow.light { position: relative; color: #e5c7d5; }
.result-hero h1 { position: relative; margin: 3px 0 8px; font-size: clamp(2.5rem, 6vw, 4.7rem); font-weight: 500; line-height: 1; letter-spacing: -.04em; }
.result-tagline { position: relative; margin: 0; color: #ead3df; font-weight: 750; }
.result-summary { position: relative; max-width: 710px; margin: 25px auto 0; color: rgba(255,255,255,.82); font-size: 1.02rem; line-height: 1.7; }
.result-body { padding: 32px 14px 0; }
.result-context { max-width: 760px; margin: 0 auto 31px; color: var(--ink-soft); text-align: center; font-size: .88rem; }
.result-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.result-card, .recommendations-card { border: 1px solid rgba(103,86,111,.1); border-radius: var(--radius-md); background: var(--paper); box-shadow: 0 10px 30px rgba(73,60,80,.06); }
.result-card { padding: 30px; }
.result-card-icon { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; font-weight: 900; }
.result-card-icon.strengths { color: var(--forest); background: var(--mint); }
.result-card-icon.watch { color: #80566b; background: #f0e2e9; }
.result-card h2, .recommendations-card h2 { margin: 16px 0 13px; font-size: 1.45rem; font-weight: 600; }
.result-card ul { margin: 0; padding-left: 20px; color: var(--ink-soft); }
.result-card li { margin: 8px 0; padding-left: 3px; }
.recommendations-card { display: grid; grid-template-columns: .75fr 1.25fr; gap: 35px; align-items: start; margin-top: 20px; padding: 32px; }
.recommendations-card .card-kicker { margin-bottom: 0; }
.recommendations-card h2 { margin-top: 6px; }
.recommendations-card ol { margin: 0; padding: 0; list-style: none; counter-reset: rec; }
.recommendations-card li { position: relative; counter-increment: rec; padding: 0 0 17px 42px; color: var(--ink-soft); }
.recommendations-card li:last-child { padding-bottom: 0; }
.recommendations-card li::before { content: counter(rec); position: absolute; left: 0; top: -2px; width: 27px; height: 27px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--coral); font-size: .75rem; font-weight: 850; }
.result-actions { display: flex; justify-content: center; gap: 14px; margin-top: 30px; }
.access-code-card { display: grid; grid-template-columns: 1.2fr .8fr; gap: 30px; align-items: center; margin-top: 20px; padding: 30px 32px; border: 1px solid #dac6df; border-radius: var(--radius-md); background: #f7f1f8; }
.access-code-card h2 { margin: 4px 0 7px; font-size: 1.5rem; font-weight: 600; }
.access-code-card p { margin: 0; color: var(--ink-soft); font-size: .86rem; }
.access-code-card .card-kicker { color: var(--coral-dark); }
.access-code { padding: 17px; border: 1px dashed #a77c91; border-radius: 12px; color: var(--forest); background: #fff; text-align: center; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: clamp(1.1rem, 3vw, 1.55rem); font-weight: 900; letter-spacing: .12em; user-select: all; }
.access-code-card.is-returning .access-code { font-size: .9rem; letter-spacing: .06em; }
.final-note { max-width: 720px; margin: 27px auto 0; color: #756a7c; text-align: center; font-size: .78rem; }

footer { padding: 23px 0 28px; border-top: 1px solid rgba(103,86,111,.12); color: #7c7282; text-align: center; font-size: .72rem; }
footer p { margin: 0; }
footer strong { color: var(--ink); }

@media (max-width: 820px) {
  .start-layout { grid-template-columns: 1fr; padding-top: 35px; }
  .intro-copy { text-align: center; margin-inline: auto; }
  .lead { margin-inline: auto; }
  .result-grid, .recommendations-card { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .contact-intro { text-align: center; }
  .contact-intro .text-button { margin-bottom: 32px; }
  .privacy-promise { justify-content: center; text-align: left; }
  .recommendations-card { gap: 5px; }
}

@media (max-width: 560px) {
  .page-shell { width: min(100% - 24px, 1180px); }
  .site-header { min-height: 76px; }
  .privacy-note { display: none; }
  .header-links a:last-child { display: none; }
  .header-links { gap: 12px; }
  .field-grid, .access-code-card { grid-template-columns: 1fr; }
  .intro-copy h1 { font-size: 3rem; }
  .start-layout { gap: 38px; padding: 30px 0 55px; }
  .info-card { border-radius: 22px; }
  .quiz-screen { padding-top: 20px; }
  .question-card { margin-top: 22px; padding: 25px 18px 30px; border-radius: 20px; }
  .answer-option { padding: 15px 13px; gap: 11px; }
  .quiz-actions .button { flex: 1; padding-inline: 13px; }
  .result-screen { padding-top: 14px; }
  .result-hero { padding: 42px 21px; border-radius: 22px; }
  .result-body { padding-inline: 0; }
  .result-card, .recommendations-card { padding: 25px 21px; }
  .result-actions { flex-direction: column; }
}

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

@media print {
  body { background: #fff; }
  .page-shell { width: 100%; }
  .site-header, footer, .result-actions { display: none; }
  main { display: block; }
  .screen { display: none !important; }
  .result-screen.is-active { display: block !important; padding: 0; }
  .result-hero { box-shadow: none; print-color-adjust: exact; -webkit-print-color-adjust: exact; }
  .result-card, .recommendations-card { break-inside: avoid; box-shadow: none; }
}
