:root {
  --ink: #172036;
  --muted: #68738a;
  --line: #e3e7ef;
  --paper: #f6f8fb;
  --card: #ffffff;
  --violet: #6558d8;
  --violet-dark: #4437b7;
  --lavender: #f1efff;
  --green: #167854;
  --green-bg: #e8f7ee;
  --amber: #a56613;
  --amber-bg: #fff4df;
  --coral: #b94c4c;
  --coral-bg: #fff0ef;
  --shadow: 0 20px 70px rgba(39, 48, 75, .08), 0 2px 8px rgba(39, 48, 75, .04);
}

* { box-sizing: border-box; }
html { max-width: 100%; scroll-behavior: smooth; }
body { max-width: 100%; margin: 0; overflow-x: hidden; background: var(--paper); color: var(--ink); font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; overflow-wrap: anywhere; }

.app-shell { max-width: 1040px; min-height: 100vh; margin: auto; padding: 0 28px; }
.site-header { height: 82px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); font-weight: 700; text-decoration: none; letter-spacing: -.03em; font-size: 20px; }
.brand-mark { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 9px; color: white; background: var(--violet); font-family: Georgia, serif; font-size: 21px; font-weight: 700; }
.site-footer { border-top: 1px solid var(--line); margin: 68px 0 28px; padding-top: 22px; color: var(--muted); font-size: 12px; line-height: 1.55; }
.site-footer p { margin: 4px 0; }

.hero { display: grid; grid-template-columns: 1.15fr .85fr; gap: 46px; align-items: center; min-height: 600px; padding: 46px 0 72px; }
.eyebrow, .section-label { color: var(--violet); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 650px; margin: 15px 0 20px; letter-spacing: -.052em; font: 700 clamp(46px, 6vw, 70px)/.98 "Fraunces", Georgia, serif; }
h2 { margin-bottom: 10px; letter-spacing: -.035em; font: 700 clamp(32px, 4vw, 46px)/1.03 "Fraunces", Georgia, serif; }
h3 { letter-spacing: -.025em; font-size: 18px; }
.lead { max-width: 550px; color: var(--muted); font-size: 18px; line-height: 1.55; }
.hero-note { display: flex; gap: 12px; margin-top: 34px; color: var(--muted); font-size: 13px; line-height: 1.45; }
.hero-note svg { flex: 0 0 auto; color: var(--violet); }
.hero-art { position: relative; min-height: 430px; overflow: hidden; border-radius: 34px; background: #e6e3ff; box-shadow: var(--shadow); }
.orb { position: absolute; border-radius: 50%; }
.orb.one { width: 260px; height: 260px; top: -70px; right: -45px; background: #b9b0fa; }
.orb.two { width: 210px; height: 210px; left: -85px; bottom: -75px; background: #ffdfb0; }
.orb.three { width: 94px; height: 94px; left: 73px; top: 81px; background: #75c9b0; }
.hero-art-copy { position: absolute; inset: auto 32px 35px; z-index: 1; color: var(--ink); }
.hero-art-copy span { display: block; margin-bottom: 10px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.hero-art-copy strong { display: block; max-width: 280px; font: 700 30px/1.05 "Fraunces", Georgia, serif; letter-spacing: -.04em; }

.button-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 31px; }
.primary-button, .secondary-button, .quiet-button, .choice { min-height: 48px; border-radius: 14px; border: 1px solid transparent; font-weight: 700; transition: transform .15s ease, box-shadow .15s ease, background .15s ease; }
.primary-button { padding: 0 21px; color: #fff; background: var(--violet); box-shadow: 0 10px 24px rgba(101, 88, 216, .2); }
.primary-button:hover { background: var(--violet-dark); transform: translateY(-1px); }
.secondary-button { padding: 0 18px; color: var(--ink); border-color: var(--line); background: #fff; }
.secondary-button:hover { background: #f9faff; }
.quiet-button { min-height: 38px; padding: 0 12px; color: var(--violet); border-color: transparent; background: transparent; }
.quiet-button:hover { background: var(--lavender); }

.step-shell { max-width: 780px; margin: 54px auto 0; }
.step-head { margin-bottom: 28px; }
.step-head .lead { font-size: 16px; }
.stepper { display: flex; gap: 7px; margin: 0 0 36px; }
.stepper span { height: 4px; flex: 1; border-radius: 99px; background: #e0e4ed; }
.stepper span.done { background: var(--violet); }
.form-card, .info-card { padding: 30px; border: 1px solid rgba(218, 223, 234, .8); border-radius: 22px; background: var(--card); box-shadow: 0 7px 26px rgba(54, 65, 96, .035); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; }
.field.full { grid-column: 1/-1; }
label { color: #46516a; font-size: 13px; font-weight: 700; }
input, select, textarea { min-width: 0; width: 100%; border: 1px solid #dce1eb; border-radius: 12px; outline: none; color: var(--ink); background: #fff; padding: 13px 14px; transition: border .15s, box-shadow .15s; }
textarea { min-height: 105px; resize: vertical; line-height: 1.45; }
input:focus, select:focus, textarea:focus { border-color: var(--violet); box-shadow: 0 0 0 4px var(--lavender); }
.age-suggestion { margin: 16px 0 0; padding: 13px 15px; border-radius: 13px; color: #4a4775; background: var(--lavender); font-size: 14px; }
.mini-disclaimer { margin: 21px 0 0; color: var(--muted); font-size: 12px; line-height: 1.5; }

.checklist-top { display: flex; gap: 20px; align-items: flex-start; justify-content: space-between; margin-bottom: 24px; }
.progress-copy { color: var(--muted); font-size: 13px; text-align: right; white-space: nowrap; }
.progress-track { width: 160px; height: 6px; overflow: hidden; border-radius: 99px; background: #e7eaf0; margin-top: 9px; }
.progress-fill { height: 100%; border-radius: inherit; background: var(--violet); transition: width .3s ease; }
.notice { display: flex; gap: 11px; padding: 15px 17px; margin-bottom: 30px; border-radius: 15px; color: #4c566b; background: #eef3fa; font-size: 14px; line-height: 1.45; }
.notice svg { flex: 0 0 auto; color: #6177a3; }
.domain { margin: 34px 0 15px; }
.domain-title { display: flex; align-items: center; gap: 9px; margin: 0; font-size: 17px; }
.domain-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--domain, var(--violet)); }
.domain-note { margin: 4px 0 0 19px; color: var(--muted); font-size: 12px; }
.milestone { padding: 20px; margin: 10px 0; border: 1px solid var(--line); border-radius: 17px; background: #fff; }
.milestone-top { display: flex; gap: 14px; align-items: flex-start; }
.milestone-number { display: grid; place-items: center; flex: 0 0 25px; height: 25px; border-radius: 50%; color: var(--violet); background: var(--lavender); font-size: 12px; font-weight: 700; }
.milestone-text { padding-top: 2px; font-weight: 600; line-height: 1.4; }
.answer-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; margin-top: 17px; }
.choice { padding: 10px 8px; color: #58647a; border-color: #dde2ea; background: #fff; font-size: 13px; }
.choice:hover { border-color: #c3bbf5; background: #faf9ff; }
.choice.selected.yes { color: var(--green); border-color: #55bb90; background: var(--green-bg); }
.choice.selected.unsure { color: var(--amber); border-color: #e4b44d; background: var(--amber-bg); }
.choice.selected.no { color: var(--coral); border-color: #e78a87; background: var(--coral-bg); }
.bottom-actions { display: flex; justify-content: space-between; gap: 16px; margin-top: 34px; }

.question-block { margin-bottom: 25px; }
.question-title { margin: 0 0 13px; font-size: 16px; }
.yes-no { display: flex; gap: 10px; }
.yes-no .choice { min-width: 100px; }
.hint { color: var(--muted); font-size: 13px; line-height: 1.45; }

.result-head { margin-bottom: 25px; }
.result-date { color: var(--violet); font-size: 12px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.summary-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; margin: 25px 0; }
.summary-card { padding: 19px; border-radius: 17px; background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--violet); }
.summary-card.green { border-top-color: #55bb90; }.summary-card.amber { border-top-color: #e4b44d; }.summary-card.coral { border-top-color: #e78a87; }
.summary-card strong { display: block; font-size: 34px; letter-spacing: -.06em; }.summary-card span { color: var(--muted); font-size: 13px; }
.result-message { padding: 23px; border: 1px solid #d7cffc; border-radius: 20px; background: var(--lavender); line-height: 1.55; }
.result-message h3 { margin-bottom: 7px; }.result-message p { margin: 0; color: #4e4973; }
.result-section { margin-top: 35px; }
.result-section > p { color: var(--muted); font-size: 14px; line-height: 1.5; }
.result-list { display: grid; gap: 9px; }
.result-item { padding: 15px 16px; border: 1px solid var(--line); border-left: 4px solid var(--amber); border-radius: 13px; background: #fff; }
.result-item.no { border-left-color: #e77873; }.result-item small { display: block; margin-bottom: 4px; color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.export-card { padding: 27px; margin-top: 36px; border-radius: 22px; color: #fff; background: #25243a; box-shadow: var(--shadow); }
.export-card h2 { margin-bottom: 8px; font: 700 27px/1.1 "Fraunces", Georgia, serif; }.export-card p { max-width: 550px; color: #d9d6f1; line-height: 1.5; }
.export-card .secondary-button { color: #fff; border-color: #5b5a79; background: transparent; }.export-card .secondary-button:hover { background: #34334d; }
.legal-note { margin: 26px 0; color: var(--muted); font-size: 12px; line-height: 1.55; }
.hidden { display: none !important; }

@media (max-width: 700px) { .app-shell { padding: 0 18px; }.hero { grid-template-columns: 1fr; gap: 25px; min-height: 0; padding-top: 24px; }.hero-art { min-height: 260px; }.hero-art-copy strong { font-size: 26px; }.form-grid { grid-template-columns: 1fr; }.field.full { grid-column: auto; }.step-shell { margin-top: 26px; }.form-card, .info-card { padding: 21px; }.checklist-top { display: block; }.progress-copy { margin-top: 15px; text-align: left; }.summary-grid { grid-template-columns: 1fr; }.answer-row { grid-template-columns: 1fr; }.choice { text-align: left; padding-left: 14px; }.bottom-actions { align-items: stretch; flex-direction: column-reverse; }.bottom-actions button { width: 100%; }.yes-no { display: grid; grid-template-columns: 1fr 1fr; }.yes-no .choice { min-width: 0; } }

@media (max-width: 420px) { .app-shell { padding: 0 16px; }.site-header { height: 70px; }.brand { font-size: 18px; }.brand-mark { width: 26px; height: 26px; font-size: 19px; }.quiet-button { padding: 0 8px; font-size: 13px; }.hero { padding: 20px 0 48px; }.hero h1 { font-size: 40px; line-height: 1; }.hero h2, h2 { font-size: 30px; }.lead { font-size: 16px; }.hero-art { min-height: 225px; border-radius: 26px; }.hero-art-copy { right: 24px; bottom: 25px; left: 24px; }.hero-art-copy strong { max-width: 235px; font-size: 24px; }.orb.one { width: 190px; height: 190px; }.orb.two { width: 165px; height: 165px; }.orb.three { width: 72px; height: 72px; left: 52px; top: 52px; }.step-shell { margin-top: 20px; }.step-head { margin-bottom: 22px; }.stepper { margin-bottom: 28px; }.form-card, .info-card { padding: 18px; border-radius: 18px; }.milestone { padding: 16px; border-radius: 15px; }.milestone-top { gap: 10px; }.milestone-text { font-size: 15px; }.notice { padding: 13px; font-size: 13px; }.progress-track { width: 100%; }.summary-card { padding: 16px; }.summary-card strong { font-size: 30px; }.export-card { padding: 21px; border-radius: 18px; }.export-card h2 { font-size: 24px; }.button-row { display: grid; grid-template-columns: 1fr; }.button-row > button { width: 100%; }.site-footer { margin-top: 48px; } }

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

@media print { body { background: white; }.site-header, .site-footer, .restart-button, .export-card, .bottom-actions, .result-actions { display: none !important; }.app-shell { max-width: none; padding: 0; }.step-shell { max-width: none; margin: 0; }.result-head h1 { font-size: 40px; }.result-message, .summary-card, .result-item { box-shadow: none; break-inside: avoid; }.result-section { margin-top: 22px; } }
