:root {
    --ink: #14251f;
    --forest: #173d32;
    --forest-deep: #0d2d25;
    --mint: #d9eadc;
    --cream: #f6f3e9;
    --paper: #fffdf7;
    --yellow: #f8d447;
    --orange: #ed7b45;
    --red: #c5483b;
    --muted: #66736e;
    --line: #dfe4dc;
    --shadow: 0 24px 70px rgba(25, 53, 44, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "DM Sans", sans-serif; }
button, select, input { font: inherit; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }

.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 100; padding: .8rem 1rem; background: white; border-radius: .4rem; }
.skip-link:focus { top: 1rem; }
.site-header { height: 84px; display: flex; align-items: center; justify-content: space-between; padding: 0 clamp(1.4rem, 5vw, 5rem); border-bottom: 1px solid rgba(20, 37, 31, .1); background: rgba(255, 253, 247, .92); backdrop-filter: blur(16px); position: relative; z-index: 20; }
.brand { display: inline-flex; align-items: center; gap: .7rem; font-family: Manrope, sans-serif; font-size: 1.15rem; font-weight: 700; letter-spacing: -.03em; }
.brand strong { color: var(--orange); }
.brand-mark { width: 38px; height: 38px; display: grid; place-items: center; background: var(--yellow); border: 3px solid var(--ink); border-radius: 9px; transform: rotate(45deg); box-shadow: 3px 3px 0 var(--ink); }
.brand-mark span { transform: rotate(-45deg); font-size: .72rem; font-weight: 800; }
.site-nav { display: flex; align-items: center; gap: 2.2rem; font-size: .88rem; font-weight: 600; }
.site-nav > a:not(.nav-cta):hover { color: var(--orange); }
.nav-cta { padding: .75rem 1.05rem; border: 1px solid var(--ink); border-radius: 999px; }
.nav-cta:hover { background: var(--ink); color: white; }
.menu-toggle { display: none; background: none; border: 0; padding: .6rem; }

.hero { min-height: 680px; display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(420px, .98fr); align-items: center; gap: clamp(2rem, 7vw, 7rem); padding: 5.5rem clamp(1.4rem, 7vw, 8rem); overflow: hidden; }
.eyebrow { display: inline-flex; align-items: center; gap: .55rem; color: var(--forest); text-transform: uppercase; letter-spacing: .16em; font-size: .72rem; font-weight: 800; }
.eyebrow > span { width: 24px; height: 2px; background: var(--orange); }
.eyebrow.light { color: #dce9df; }
.hero h1, .section-heading h2, .how-copy h2, .final-cta h2, .quiz-side-copy h1, .setup-panel h2, .question-title, .result-panel h2 { font-family: Manrope, sans-serif; letter-spacing: -.055em; line-height: 1.02; }
.hero h1 { max-width: 720px; margin: 1.1rem 0 1.5rem; font-size: clamp(3.4rem, 6.1vw, 6.5rem); }
.hero h1 em { position: relative; color: var(--orange); font-style: normal; white-space: nowrap; }
.hero h1 em::after { content: ""; position: absolute; left: 4%; bottom: -8px; width: 88%; height: 11px; border-top: 3px solid var(--orange); border-radius: 50%; transform: rotate(-2deg); }
.hero-lead { max-width: 590px; margin: 0; color: var(--muted); font-size: 1.08rem; line-height: 1.75; }
.hero-actions { display: flex; align-items: center; gap: 1.8rem; margin-top: 2.2rem; }
.button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: .85rem; border: 0; border-radius: 6px; padding: .85rem 1.3rem; cursor: pointer; font-weight: 700; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--yellow); color: var(--ink); box-shadow: 5px 5px 0 var(--ink); }
.button-primary:hover { box-shadow: 7px 7px 0 var(--ink); }
.button-light { background: white; color: var(--ink); box-shadow: 5px 5px 0 var(--yellow); }
.button-outline { border: 1px solid var(--ink); background: transparent; }
.text-link { font-weight: 700; border-bottom: 1px solid var(--ink); padding-bottom: .2rem; }
.trust-row { display: flex; flex-wrap: wrap; gap: 1.1rem 1.6rem; margin-top: 3.2rem; color: var(--muted); font-size: .82rem; }
.trust-row b { display: inline-grid; place-items: center; width: 20px; height: 20px; margin-right: .35rem; background: var(--mint); color: var(--forest); border-radius: 50%; }

.hero-visual { position: relative; min-height: 520px; display: grid; place-items: center; }
.sun-disc { position: absolute; width: 520px; height: 520px; border-radius: 50%; background: var(--yellow); opacity: .86; }
.road-card { position: relative; width: min(100%, 500px); height: 390px; overflow: hidden; background: #bcded9; border: 4px solid var(--ink); border-radius: 8px; box-shadow: 14px 14px 0 var(--forest); transform: rotate(1.5deg); }
.road-sky { height: 52%; position: relative; background: #b7dcdb; }
.cloud { position: absolute; width: 82px; height: 20px; background: white; border-radius: 50px; opacity: .85; }
.cloud::before, .cloud::after { content: ""; position: absolute; background: white; border-radius: 50%; }
.cloud::before { width: 38px; height: 38px; left: 12px; bottom: 0; }.cloud::after { width: 48px; height: 48px; right: 9px; bottom: 0; }
.cloud-one { left: 8%; top: 18%; }.cloud-two { right: 8%; top: 34%; transform: scale(.7); }
.mountain { position: absolute; bottom: 45%; width: 0; height: 0; border-left: 150px solid transparent; border-right: 150px solid transparent; border-bottom: 180px solid #6d9d77; }
.mountain-one { left: -70px; }.mountain-two { right: -70px; border-bottom-color: #8db485; transform: scale(.75); transform-origin: bottom; }
.road { position: absolute; left: 0; right: 0; bottom: 0; height: 58%; background: #45534f; clip-path: polygon(36% 0, 64% 0, 100% 100%, 0 100%); }
.road-line { position: absolute; left: 49%; width: 2%; background: var(--yellow); transform: translateX(-50%); }.line-one { top: 14%; height: 16%; }.line-two { top: 45%; height: 20%; }.line-three { top: 80%; height: 28%; }
.road-sign, .mini-sign { display: grid; place-items: center; background: var(--yellow); border: 4px solid var(--ink); transform: rotate(45deg); }
.road-sign { position: absolute; right: 12%; top: 28%; width: 82px; height: 82px; border-radius: 8px; box-shadow: 5px 5px 0 rgba(20,37,31,.75); }
.road-sign span, .mini-sign { font-family: Manrope; font-weight: 800; }.road-sign span { transform: rotate(-45deg); font-size: 2.1rem; }
.car { position: absolute; left: 22%; bottom: 12%; width: 118px; height: 48px; background: var(--orange); border: 4px solid var(--ink); border-radius: 40px 50px 12px 12px; transform: rotate(-2deg); }
.car::before { content: ""; position: absolute; left: 30px; top: -32px; width: 62px; height: 38px; border: 4px solid var(--ink); border-bottom: 0; border-radius: 28px 32px 0 0; background: var(--orange); }
.car-window { position: absolute; z-index: 1; left: 44px; top: -24px; width: 38px; height: 24px; background: #d9f0ee; border: 2px solid var(--ink); border-radius: 13px 16px 2px 2px; }
.car i { position: absolute; bottom: -13px; width: 25px; height: 25px; background: var(--ink); border: 5px solid #81918a; border-radius: 50%; }.car i:first-of-type { left: 15px; }.car i:last-of-type { right: 13px; }
.score-chip { position: absolute; right: 0; bottom: 1.5rem; display: flex; align-items: center; gap: .8rem; padding: .85rem 1.1rem; background: white; border: 2px solid var(--ink); border-radius: 7px; box-shadow: 6px 6px 0 var(--yellow); transform: rotate(-2deg); }
.score-ring { width: 48px; height: 48px; display: grid; place-items: center; border: 5px solid var(--orange); border-radius: 50%; font-weight: 800; }.score-chip b,.score-chip small { display: block; }.score-chip small { margin-top: .15rem; color: var(--muted); font-size: .72rem; }
.spark { position: absolute; color: var(--orange); font-size: 2.2rem; }.spark-one { right: 1%; top: 4%; }.spark-two { left: 1%; bottom: 13%; color: var(--forest); }

.stats-strip { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--forest); color: white; padding: 2.3rem clamp(1.4rem, 8vw, 9rem); }
.stats-strip div { display: flex; flex-direction: column; align-items: center; border-right: 1px solid rgba(255,255,255,.18); }.stats-strip div:last-child { border: 0; }
.stats-strip strong { color: var(--yellow); font-family: Manrope; font-size: 2.2rem; }.stats-strip span { margin-top: .25rem; color: #c5d5ce; font-size: .8rem; }
.section { padding: 7rem clamp(1.4rem, 8vw, 9rem); }
.section-heading { max-width: 740px; }.section-heading h2, .how-copy h2, .final-cta h2 { margin: 1rem 0; font-size: clamp(2.5rem, 4vw, 4.4rem); }.section-heading p { max-width: 570px; color: var(--muted); line-height: 1.7; }
.category-grid { margin-top: 3.8rem; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.category-card { min-height: 160px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1rem; padding: 1.6rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .2s, transform .2s; }
.category-card:hover { position: relative; z-index: 1; background: #eef5ed; transform: translateY(-3px); }
.category-icon { width: 48px; height: 48px; display: grid; place-items: center; background: var(--yellow); border: 2px solid var(--ink); border-radius: 50%; font-weight: 800; font-size: 1.2rem; }.category-card:nth-child(2n) .category-icon { background: var(--mint); }.category-card:nth-child(3n) .category-icon { background: #f2bd9a; }
.category-card b, .category-card small { display: block; }.category-card b { margin-bottom: .4rem; }.category-card small { color: var(--muted); }.card-arrow { font-size: 1.3rem; }
.how-section { display: grid; grid-template-columns: .9fr 1.1fr; gap: 8vw; background: var(--forest); color: white; padding: 7rem clamp(1.4rem, 8vw, 9rem); }.how-copy p { max-width: 520px; color: #bcd0c8; line-height: 1.75; margin-bottom: 2rem; }
.steps-list { list-style: none; margin: 0; padding: 0; }.steps-list li { display: grid; grid-template-columns: 70px 1fr; gap: 1.2rem; padding: 1.7rem 0; border-bottom: 1px solid rgba(255,255,255,.15); }.steps-list li > span { color: var(--yellow); font-family: Manrope; font-size: 1.4rem; }.steps-list b { font-size: 1.08rem; }.steps-list p { margin: .4rem 0 0; color: #bcd0c8; line-height: 1.5; }
.final-cta { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 2rem; padding: 5rem clamp(1.4rem, 8vw, 9rem); }.final-cta h2 { font-size: clamp(2rem, 3vw, 3.4rem); }.mini-sign { width: 80px; height: 80px; border-radius: 8px; font-size: 2rem; }
.site-footer { display: flex; justify-content: space-between; align-items: end; gap: 2rem; padding: 3rem clamp(1.4rem, 8vw, 9rem); background: #0b251e; color: white; }.site-footer p { color: #99ada5; font-size: .82rem; }.brand-footer .brand-mark { transform: rotate(45deg) scale(.8); }.fine-print { max-width: 470px; text-align: right; line-height: 1.5; }

/* Quiz */
.quiz-shell { min-height: calc(100vh - 84px); display: grid; grid-template-columns: minmax(300px, 34%) 1fr; }
.quiz-sidebar { position: relative; overflow: hidden; min-height: 760px; display: flex; flex-direction: column; justify-content: space-between; padding: 3rem clamp(2rem, 4vw, 4.5rem); background: var(--forest); color: white; }
.back-link { color: #c4d5cd; font-size: .85rem; }.quiz-side-copy { position: relative; z-index: 2; }.quiz-side-copy h1 { margin: 1rem 0; font-size: clamp(3rem, 5vw, 5.6rem); }.quiz-side-copy p { max-width: 390px; color: #bcd0c8; line-height: 1.7; }
.side-road { position: absolute; left: -10%; right: -10%; bottom: 20%; height: 170px; background: #2d423b; transform: rotate(-8deg); }.side-road span { position: absolute; left: 0; right: 0; top: 48%; border-top: 4px dashed var(--yellow); }.side-road i { position: absolute; top: 42%; width: 22px; height: 22px; background: var(--yellow); border: 3px solid var(--ink); transform: rotate(45deg); }.side-road i:nth-child(2) { left: 20%; }.side-road i:nth-child(3) { left: 55%; }.side-road i:nth-child(4) { left: 82%; }
.side-tip { position: relative; z-index: 2; display: grid; grid-template-columns: 38px 1fr; gap: .8rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.18); }.side-tip > span { width: 34px; height: 34px; display: grid; place-items: center; color: var(--ink); background: var(--yellow); border-radius: 50%; font-weight: 800; }.side-tip p { margin: 0; color: #bcd0c8; font-size: .82rem; line-height: 1.5; }.side-tip b { color: white; display: block; }
.quiz-main { display: grid; place-items: center; padding: 3rem clamp(1.4rem, 7vw, 7rem); background: var(--cream); }
.setup-panel, .question-panel, .result-panel { width: min(100%, 850px); }.setup-panel h2 { max-width: 680px; margin: 1rem 0 2.5rem; font-size: clamp(2.5rem, 4.5vw, 4.6rem); }
.setup-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 2.2rem; }.field-label, .count-choice legend { display: block; color: var(--muted); font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; }.field-label select { width: 100%; margin-top: .7rem; padding: .95rem 1rem; background: white; color: var(--ink); border: 1px solid #cbd3cc; border-radius: 5px; text-transform: none; letter-spacing: 0; }
.count-choice { margin: 0; padding: 0; border: 0; }.count-choice > label { display: inline-block; margin: .7rem .35rem 0 0; }.count-choice input { position: absolute; opacity: 0; }.count-choice span { display: grid; place-items: center; width: 55px; height: 50px; background: white; border: 1px solid #cbd3cc; border-radius: 5px; color: var(--ink); cursor: pointer; }.count-choice input:checked + span { background: var(--yellow); border: 2px solid var(--ink); box-shadow: 3px 3px 0 var(--ink); }
.mode-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 2rem 0; }.mode-card { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1rem; min-height: 92px; padding: 1rem 1.1rem; background: white; border: 2px solid transparent; border-radius: 6px; cursor: pointer; }.mode-card.selected { border-color: var(--forest); box-shadow: 4px 4px 0 var(--forest); }.mode-card input { position: absolute; opacity: 0; }.mode-card .mode-icon { width: 44px; height: 44px; display: grid; place-items: center; background: var(--mint); border-radius: 50%; font-size: 1.3rem; }.mode-card b,.mode-card small { display: block; }.mode-card small { margin-top: .25rem; color: var(--muted); }.mode-card i { opacity: 0; color: var(--forest); font-style: normal; }.mode-card.selected i { opacity: 1; }.start-button { min-width: 240px; }.setup-note { color: var(--muted); font-size: .78rem; }
.quiz-progress-row, .question-meta { display: flex; justify-content: space-between; align-items: center; }.quiz-progress-row { color: var(--muted); font-size: .78rem; }.progress-track { height: 7px; margin: .6rem 0 2rem; overflow: hidden; background: #d6ddd5; border-radius: 10px; }.progress-track span { display: block; width: 0; height: 100%; background: var(--orange); transition: width .35s; }.question-meta > span { display: inline-flex; padding: .4rem .65rem; background: var(--mint); color: var(--forest); border-radius: 999px; font-size: .72rem; font-weight: 700; }.quit-button { border: 0; background: transparent; color: var(--muted); cursor: pointer; }.question-title { margin: 1.4rem 0 1.8rem; font-size: clamp(1.8rem, 3.2vw, 3rem); line-height: 1.15; }.question-images { display: flex; align-items: center; justify-content: center; gap: 1rem; max-height: 240px; margin: 1.4rem 0; padding: 1rem; background: white; border: 1px solid var(--line); border-radius: 8px; }.question-images img { max-height: 205px; width: auto; object-fit: contain; }
.answer-list { display: grid; gap: .75rem; }.answer-option { width: 100%; display: grid; grid-template-columns: 38px 1fr; align-items: center; gap: .9rem; padding: .95rem 1rem; text-align: left; background: white; color: var(--ink); border: 1px solid #cbd3cc; border-radius: 6px; cursor: pointer; line-height: 1.35; transition: transform .15s, border .15s, background .15s; }.answer-option:hover:not(:disabled) { transform: translateX(3px); border-color: var(--forest); }.answer-letter { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid #b9c4bd; border-radius: 50%; font-size: .8rem; font-weight: 800; }.answer-option.selected { border: 2px solid var(--forest); background: #edf5ed; }.answer-option.correct { border-color: #387b55; background: #e6f3e9; }.answer-option.incorrect { border-color: var(--red); background: #faeae6; }.answer-option:disabled { cursor: default; color: var(--ink); }
.feedback { display: grid; grid-template-columns: 42px 1fr; gap: .9rem; margin-top: 1rem; padding: 1rem; border-radius: 6px; background: #e6f3e9; border-left: 4px solid #387b55; }.feedback.incorrect { background: #faeae6; border-left-color: var(--red); }.feedback-icon { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: #387b55; color: white; font-weight: 800; }.feedback.incorrect .feedback-icon { background: var(--red); }.feedback p { margin: .25rem 0 0; color: var(--muted); font-size: .88rem; line-height: 1.5; }.next-button { margin-top: 1.3rem; float: right; }.next-button:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.result-panel { text-align: center; }.result-kicker { color: var(--orange); text-transform: uppercase; letter-spacing: .14em; font-size: .76rem; font-weight: 800; }.result-gauge { width: 170px; height: 170px; display: grid; place-items: center; margin: 1.3rem auto; border-radius: 50%; background: conic-gradient(var(--yellow) var(--score-angle, 0deg), #dce3dc 0); position: relative; }.result-gauge::after { content: ""; position: absolute; inset: 14px; background: var(--cream); border-radius: 50%; }.result-gauge span { position: relative; z-index: 1; font-family: Manrope; font-size: 2.6rem; font-weight: 800; }.result-panel h2 { margin: .5rem 0; font-size: 3rem; }.result-panel > p { max-width: 540px; margin: 0 auto; color: var(--muted); line-height: 1.65; }.result-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin: 2rem 0; background: var(--line); border: 1px solid var(--line); }.result-stats div { padding: 1.2rem; background: white; }.result-stats strong,.result-stats span { display: block; }.result-stats strong { font-family: Manrope; font-size: 1.8rem; }.result-stats span { color: var(--muted); font-size: .75rem; }.result-actions { display: flex; justify-content: center; gap: 1rem; }
.toast { position: fixed; z-index: 100; right: 1.5rem; bottom: 1.5rem; max-width: 360px; padding: .9rem 1.1rem; background: var(--ink); color: white; border-radius: 6px; box-shadow: var(--shadow); }

@media (max-width: 980px) {
    .site-nav { display: none; position: absolute; left: 0; right: 0; top: 84px; flex-direction: column; align-items: stretch; gap: 0; padding: 1rem 1.5rem 1.5rem; background: var(--paper); border-bottom: 1px solid var(--line); }.site-nav.open { display: flex; }.site-nav a { padding: .8rem; }.menu-toggle { display: grid; gap: 5px; }.menu-toggle span { display: block; width: 25px; border-top: 2px solid var(--ink); }
    .hero { grid-template-columns: 1fr; padding-top: 4rem; }.hero-visual { min-height: 480px; }.category-grid { grid-template-columns: 1fr 1fr; }.how-section { grid-template-columns: 1fr; }.final-cta { grid-template-columns: auto 1fr; }.final-cta .button { grid-column: 2; justify-self: start; }
    .quiz-shell { grid-template-columns: 1fr; }.quiz-sidebar { min-height: auto; padding: 2rem 1.5rem; }.quiz-side-copy h1 { font-size: 3rem; }.side-road,.side-tip { display: none; }.quiz-main { min-height: 700px; }
}

@media (max-width: 650px) {
    .hero { padding: 3.5rem 1.3rem; }.hero h1 { font-size: 3.35rem; }.hero-actions { align-items: stretch; flex-direction: column; }.hero-actions .button { width: 100%; }.hero-actions .text-link { align-self: flex-start; }.hero-visual { min-height: 390px; }.sun-disc { width: 360px; height: 360px; }.road-card { height: 300px; }.score-chip { right: 3%; bottom: 0; }.spark { display: none; }
    .stats-strip { grid-template-columns: 1fr 1fr; gap: 1.6rem 0; }.stats-strip div:nth-child(2) { border-right: 0; }.category-grid { grid-template-columns: 1fr; }.section,.how-section { padding: 5rem 1.3rem; }.final-cta { grid-template-columns: 1fr; padding: 4rem 1.3rem; }.final-cta .button { grid-column: 1; }.site-footer { align-items: start; flex-direction: column; }.fine-print { text-align: left; }
    .quiz-main { padding: 2.5rem 1rem; }.setup-panel h2 { font-size: 2.6rem; }.setup-grid,.mode-cards { grid-template-columns: 1fr; }.question-title { font-size: 1.8rem; }.question-images { max-height: 190px; }.question-images img { max-height: 155px; }.result-stats { grid-template-columns: 1fr; }.result-actions { flex-direction: column; }.result-actions .button { width: 100%; }.answer-option { grid-template-columns: 32px 1fr; padding: .85rem; font-size: .92rem; }
}

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