:root {
    --bg: #f5f0e8;
    --bg-deep: #ede4d7;
    --paper: #fbf7f1;
    --paper-strong: #f3ecdf;
    --ink: #1d2723;
    --muted: #617068;
    --line: rgba(29, 39, 35, 0.14);
    --line-soft: rgba(29, 39, 35, 0.08);
    --olive: #26483e;
    --olive-soft: rgba(38, 72, 62, 0.1);
    --sand: #b18e62;
    --shadow: 0 22px 50px rgba(34, 43, 39, 0.1);
    --radius-xl: 28px;
    --radius-lg: 20px;
    --radius-md: 14px;
    --content: 1180px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-width: 320px;
    color: var(--ink);
    font-family: "Segoe UI", Tahoma, sans-serif;
    line-height: 1.5;
    background:
        radial-gradient(circle at top left, rgba(177, 142, 98, 0.16), transparent 30%),
        linear-gradient(180deg, #f7f2ea 0%, var(--bg) 46%, #f7f2ea 100%);
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.4)),
        repeating-linear-gradient(
            90deg,
            transparent 0,
            transparent 88px,
            rgba(29, 39, 35, 0.02) 88px,
            rgba(29, 39, 35, 0.02) 89px
        );
    opacity: 0.8;
}

a {
    color: inherit;
}

button,
input {
    font: inherit;
}

.page {
    position: relative;
    overflow: clip;
}

.page::before,
.page::after {
    content: "";
    position: absolute;
    pointer-events: none;
    z-index: 0;
}

.page::before {
    top: 120px;
    right: -120px;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    border: 1px solid rgba(38, 72, 62, 0.14);
}

.page::after {
    top: 190px;
    right: 40px;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(177, 142, 98, 0.24), rgba(177, 142, 98, 0));
}

.topbar,
main,
.footer {
    position: relative;
    z-index: 1;
    width: min(calc(100% - 40px), var(--content));
    margin: 0 auto;
}

.topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    padding: 24px 0 12px;
}

.brand-word,
h1,
h2,
h3,
.trust-strip strong,
.fact-index {
    font-family: "Palatino Linotype", "Book Antiqua", Georgia, serif;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--ink);
    text-decoration: none;
}

.brand-mark {
    flex: 0 0 auto;
    width: 46px;
    height: 46px;
    display: block;
}

.brand-lockup {
    display: grid;
    gap: 3px;
}

.brand-word {
    font-size: 1.08rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.brand-caption {
    color: var(--muted);
    font-size: 0.68rem;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.topbar-note {
    padding: 10px 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--muted);
    background: rgba(251, 247, 241, 0.82);
    font-size: 0.92rem;
}

.brand:hover .brand-word,
.brand:focus-visible .brand-word {
    color: var(--olive);
}

.brand:focus-visible {
    outline: 2px solid rgba(191, 152, 101, 0.42);
    outline-offset: 6px;
    border-radius: 16px;
}

main {
    padding-bottom: 72px;
}

.hero,
.quiz-section,
.editorial-grid,
.photo-story,
.lead-section,
.trust-section {
    margin-top: 56px;
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 0.96fr) minmax(360px, 1.04fr);
    gap: 48px;
    align-items: center;
    min-height: calc(100vh - 150px);
}

.hero-copy {
    max-width: 40rem;
}

.eyebrow {
    margin: 0 0 18px;
    color: var(--olive);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

h1,
h2,
h3 {
    margin: 0;
    letter-spacing: -0.035em;
    line-height: 0.96;
}

h1 {
    max-width: 9.2ch;
    font-size: clamp(3rem, 7vw, 5.4rem);
    line-height: 0.9;
}

h1 span {
    display: block;
}

h2 {
    font-size: clamp(2.3rem, 4vw, 3.8rem);
}

.hero-text,
.section-heading-text,
.brief-note,
.lead-text,
.lead-summary-text,
.form-note,
.footer p {
    color: var(--muted);
}

.hero-text {
    max-width: 30rem;
    margin: 26px 0 0;
    font-size: 1.06rem;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 58px;
    padding: 0 24px;
    border-radius: 999px;
    border: 1px solid transparent;
    text-decoration: none;
    font-size: 0.98rem;
    font-weight: 700;
    cursor: pointer;
    transition:
        transform 0.22s ease,
        background-color 0.22s ease,
        border-color 0.22s ease,
        color 0.22s ease,
        box-shadow 0.22s ease;
}

.button-primary {
    background: var(--olive);
    color: #fffdf8;
    box-shadow: 0 14px 28px rgba(38, 72, 62, 0.22);
}

.button-primary:hover,
.button-primary:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 18px 32px rgba(38, 72, 62, 0.28);
}

.button-secondary {
    background: transparent;
    border-color: var(--line);
    color: var(--ink);
}

.button-secondary:hover,
.button-secondary:focus-visible {
    transform: translateY(-2px);
    border-color: rgba(29, 39, 35, 0.26);
}

.hero-time {
    margin: 0;
    color: var(--muted);
    font-size: 0.98rem;
}

.hero-facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    margin: 42px 0 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid rgba(29, 39, 35, 0.1);
    padding-top: 20px;
}

.hero-facts li,
.editorial-panel,
.lead-summary,
.lead-form-shell,
.trust-strip,
.footer,
.thank-you-shell {
    background: rgba(251, 247, 241, 0.9);
    border: 1px solid var(--line-soft);
    box-shadow: var(--shadow);
}

.hero-facts li {
    min-height: auto;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.fact-value {
    display: block;
    color: var(--sand);
    font-family: "Palatino Linotype", "Book Antiqua", Georgia, serif;
    font-size: 1.42rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.fact-label {
    display: block;
    margin-top: 6px;
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.45;
}

.hero-aside {
    position: relative;
    padding-bottom: 28px;
}

.hero-montage {
    position: relative;
    min-height: 800px;
}

.hero-photo {
    margin: 0;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.hero-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-photo-main {
    position: absolute;
    inset: 0 28px 110px 0;
    border-radius: 38px;
    background: #101514;
}

.hero-photo-main::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(14, 19, 18, 0.04) 0%, rgba(14, 19, 18, 0.56) 100%),
        linear-gradient(90deg, rgba(14, 19, 18, 0.22), rgba(14, 19, 18, 0.03));
    pointer-events: none;
}

.hero-photo-main figcaption {
    position: absolute;
    left: 24px;
    bottom: 24px;
    max-width: 270px;
    padding: 14px 16px;
    border: 1px solid rgba(255, 253, 248, 0.18);
    border-radius: 14px;
    background: rgba(17, 23, 21, 0.46);
    color: rgba(255, 253, 248, 0.86);
    font-size: 0.92rem;
    line-height: 1.4;
    backdrop-filter: blur(8px);
}

.hero-photo-secondary {
    position: absolute;
    top: 52px;
    right: 0;
    width: 294px;
    aspect-ratio: 1.28;
    border: 8px solid rgba(251, 247, 241, 0.96);
    border-radius: 22px;
    transform: rotate(2.5deg);
    z-index: 2;
}

.quiz-bottom,
.result-actions,
.form-topline,
.footer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.brief-caption span,
.rail-note-label,
.lead-summary-label,
.result-note-label {
    margin: 0;
    color: var(--olive);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.brief-caption {
    position: absolute;
    bottom: 0;
    left: 22px;
    width: min(300px, 78%);
    padding: 18px 20px;
    border-radius: 16px;
    background: var(--ink);
    color: #fffdf8;
    box-shadow: 0 16px 32px rgba(29, 39, 35, 0.2);
}

.brief-caption strong {
    display: block;
    margin-top: 8px;
    line-height: 1.4;
}

.photo-story {
    display: grid;
    grid-template-columns: minmax(320px, 0.92fr) minmax(0, 1fr);
    gap: 26px;
    align-items: center;
    margin-top: 56px;
}

.photo-story-image {
    position: relative;
    margin: 0;
    min-height: 520px;
    border-radius: 30px;
    overflow: hidden;
    background: #151a19;
    border: 1px solid rgba(29, 39, 35, 0.08);
    box-shadow: var(--shadow);
}

.photo-story-image img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 64% center;
}

.photo-story-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(17, 23, 21, 0.08) 0%, rgba(17, 23, 21, 0.24) 100%);
}

.photo-story-copy {
    padding: 18px 6px 18px 6px;
}

.photo-story-text {
    margin: 22px 0 0;
    color: var(--muted);
    font-size: 1.06rem;
}

.photo-story-list {
    display: grid;
    gap: 14px;
    margin: 28px 0 0;
    padding: 0;
    list-style: none;
}

.photo-story-list li {
    position: relative;
    padding: 16px 0 16px 24px;
    border-bottom: 1px solid rgba(29, 39, 35, 0.08);
}

.photo-story-list li::before {
    content: "";
    position: absolute;
    top: 24px;
    left: 0;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--sand);
}

.trust-headline {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(260px, 0.78fr);
    gap: 28px;
    align-items: end;
    margin-bottom: 22px;
}

.trust-headline-text {
    margin: 0;
    max-width: 34rem;
    color: var(--muted);
    font-size: 1.02rem;
}

.quiz-layout {
    display: grid;
    grid-template-columns: minmax(240px, 0.36fr) minmax(0, 1fr);
    gap: 30px;
    align-items: start;
}

.quiz-rail {
    position: sticky;
    top: 24px;
}

.quiz-rail-head {
    margin-bottom: 28px;
}

.quiz-rail-head h2 {
    max-width: 11ch;
    font-size: clamp(1.95rem, 3.1vw, 2.8rem);
    line-height: 0.96;
}

.quiz-rail-text {
    max-width: 19rem;
    margin: 18px 0 0;
    color: var(--muted);
    font-size: 0.98rem;
    line-height: 1.65;
}

.rail-steps {
    margin: 0;
    padding: 0;
    list-style: none;
    border-left: 1px solid rgba(29, 39, 35, 0.12);
}

.rail-step {
    position: relative;
    display: grid;
    grid-template-columns: 50px 1fr;
    gap: 12px;
    padding: 0 0 20px 20px;
    color: rgba(29, 39, 35, 0.42);
}

.rail-step::before {
    content: "";
    position: absolute;
    top: 8px;
    left: -6px;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: #d8d0c2;
    border: 1px solid rgba(29, 39, 35, 0.12);
}

.rail-step strong {
    display: block;
    font-size: 0.98rem;
}

.rail-step p {
    margin: 4px 0 0;
    font-size: 0.88rem;
}

.rail-step.is-active,
.rail-step.is-complete {
    color: var(--ink);
}

.rail-step.is-active::before {
    background: var(--olive);
    border-color: var(--olive);
    box-shadow: 0 0 0 6px rgba(38, 72, 62, 0.1);
}

.rail-step.is-complete::before {
    background: var(--sand);
    border-color: var(--sand);
}

.rail-number {
    color: var(--sand);
    font-size: 0.98rem;
    font-weight: 700;
}

.quiz-sheet {
    padding: 38px;
    border-radius: var(--radius-xl);
    background:
        linear-gradient(180deg, rgba(251, 247, 241, 0.98) 0%, rgba(243, 236, 223, 0.98) 100%);
    border: 1px solid rgba(29, 39, 35, 0.1);
    box-shadow: 0 28px 56px rgba(34, 43, 39, 0.1);
}

.quiz-sheet-top {
    display: grid;
    gap: 12px;
}

.quiz-sheet-meta {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 14px;
}

.quiz-step,
.quiz-progress-text {
    margin: 0;
    color: var(--muted);
    font-size: 0.94rem;
}

.quiz-sheet-note {
    margin: 0;
    color: rgba(29, 39, 35, 0.56);
    font-size: 0.9rem;
    text-align: right;
}

.progress {
    height: 6px;
    border-radius: 999px;
    background: rgba(29, 39, 35, 0.08);
    overflow: hidden;
}

.progress-bar {
    display: block;
    width: 25%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--olive), var(--sand));
    transition: width 0.32s ease;
}

.quiz-title {
    max-width: 13ch;
    margin-top: 18px;
    font-size: clamp(2rem, 3.5vw, 2.85rem);
    line-height: 0.98;
}

.quiz-options {
    display: grid;
    gap: 12px;
    margin-top: 24px;
}

.option {
    position: relative;
    display: grid;
    grid-template-columns: 50px 1fr;
    gap: 16px;
    align-items: center;
    min-height: 78px;
    padding: 16px 18px;
    border-radius: 16px;
    border: 1px solid rgba(29, 39, 35, 0.11);
    background: rgba(255, 253, 249, 0.92);
    color: var(--ink);
    text-align: left;
    cursor: pointer;
    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        background-color 0.2s ease,
        box-shadow 0.2s ease;
}

.option:hover,
.option:focus-visible {
    transform: translateY(-1px);
    border-color: rgba(38, 72, 62, 0.32);
    box-shadow: 0 10px 18px rgba(34, 43, 39, 0.06);
}

.option.is-selected {
    background: rgba(38, 72, 62, 0.96);
    border-color: rgba(38, 72, 62, 0.96);
    color: #fffdf8;
}

.option-index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid rgba(29, 39, 35, 0.12);
    color: rgba(177, 142, 98, 0.9);
    font-family: "Palatino Linotype", "Book Antiqua", Georgia, serif;
    font-size: 0.88rem;
    font-weight: 700;
}

.option.is-selected .option-index {
    border-color: rgba(255, 253, 248, 0.24);
    color: rgba(255, 253, 248, 0.9);
}

.option-copy strong {
    display: block;
    font-size: 1rem;
}

.option-copy span {
    display: block;
    margin-top: 3px;
    color: rgba(29, 39, 35, 0.64);
    font-size: 0.88rem;
    line-height: 1.45;
}

.option.is-selected .option-copy span {
    color: rgba(255, 253, 248, 0.76);
}

.quiz-bottom {
    margin-top: 22px;
}

.quiz-result {
    margin-top: 30px;
}

.result-header h3 {
    font-size: clamp(2rem, 4vw, 3.1rem);
}

.result-summary,
.lead-summary-list {
    display: grid;
    gap: 12px;
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
}

.result-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.result-summary li,
.lead-summary-list li {
    padding: 16px 18px;
    border-radius: 14px;
    border: 1px solid rgba(29, 39, 35, 0.08);
    background: rgba(255, 253, 249, 0.86);
}

.result-summary span,
.lead-summary-list span {
    display: block;
    color: var(--muted);
    font-size: 0.86rem;
}

.result-summary strong,
.lead-summary-list strong {
    display: block;
    margin-top: 6px;
}

.result-note {
    margin-top: 20px;
    padding: 22px;
    border-radius: 18px;
    background: rgba(38, 72, 62, 0.07);
    border: 1px solid rgba(38, 72, 62, 0.12);
}

.result-points {
    display: grid;
    gap: 12px;
    margin-top: 14px;
}

.result-point {
    position: relative;
    padding-left: 20px;
}

.result-point::before {
    content: "";
    position: absolute;
    top: 0.68em;
    left: 0;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--sand);
}

.result-actions {
    margin-top: 24px;
    justify-content: flex-start;
}

.editorial-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.editorial-panel {
    display: block;
    padding: 26px;
    border-radius: var(--radius-xl);
}

.editorial-panel-dark {
    background: linear-gradient(180deg, rgba(38, 72, 62, 0.98) 0%, rgba(47, 84, 73, 0.96) 100%);
    color: #fffdf8;
}

.editorial-panel-dark .eyebrow {
    color: rgba(255, 253, 248, 0.72);
}

.editorial-panel-dark .panel-lead {
    color: rgba(255, 253, 248, 0.78);
}

.editorial-panel-dark .editorial-list li {
    border-color: rgba(255, 253, 248, 0.14);
}

.panel-content h2 {
    max-width: 9ch;
    font-size: clamp(2rem, 3.1vw, 3rem);
    line-height: 0.98;
}

.panel-lead,
.panel-bridge {
    max-width: 29rem;
    margin: 18px 0 0;
    color: var(--muted);
    font-size: 0.98rem;
    line-height: 1.6;
}

.editorial-list {
    display: grid;
    gap: 8px;
    margin: 22px 0 0;
    padding: 0;
    list-style: none;
}

.editorial-list li {
    position: relative;
    padding: 13px 0 13px 20px;
    border-bottom: 1px solid rgba(29, 39, 35, 0.06);
    line-height: 1.45;
}

.editorial-list li::before {
    content: "";
    position: absolute;
    top: 20px;
    left: 0;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(177, 142, 98, 0.8);
}

.editorial-list-compact {
    gap: 0;
}

.panel-bridge {
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid rgba(29, 39, 35, 0.08);
}

.lead-section {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.9fr);
    gap: 26px;
    align-items: start;
}

.lead-summary {
    margin-top: 26px;
    padding: 24px;
    border-radius: var(--radius-lg);
}

.lead-summary-empty,
.lead-summary-text {
    margin: 16px 0 0;
}

.lead-form-shell {
    padding: 28px;
    border-radius: var(--radius-xl);
    background:
        linear-gradient(180deg, rgba(251, 247, 241, 0.98) 0%, rgba(241, 232, 218, 0.98) 100%);
}

.form-topline {
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(29, 39, 35, 0.1);
}

.form-topline span {
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.76rem;
    font-weight: 700;
}

.form-topline strong {
    font-size: 0.96rem;
}

.lead-form {
    display: grid;
    gap: 18px;
    margin-top: 22px;
}

.input-field {
    display: grid;
    gap: 10px;
}

.input-field span {
    font-size: 0.94rem;
    font-weight: 700;
}

.input-field input {
    min-height: 62px;
    padding: 0 18px;
    border-radius: 12px;
    border: 1px solid rgba(29, 39, 35, 0.12);
    background: rgba(255, 253, 249, 0.94);
    color: var(--ink);
    transition:
        border-color 0.18s ease,
        box-shadow 0.18s ease;
}

.input-field input:focus {
    outline: none;
    border-color: rgba(38, 72, 62, 0.36);
    box-shadow: 0 0 0 4px rgba(38, 72, 62, 0.08);
}

.submit-button.is-blocked {
    opacity: 0.84;
}

.trust-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.trust-strip article {
    padding: 24px;
    border-right: 1px solid rgba(29, 39, 35, 0.08);
}

.trust-strip article:last-child {
    border-right: 0;
}

.trust-strip strong {
    display: block;
    color: var(--olive);
    font-size: clamp(1.7rem, 3vw, 2.5rem);
    line-height: 1;
}

.trust-strip p {
    margin: 12px 0 0;
}

.footer {
    margin-top: 18px;
    margin-bottom: 24px;
    padding: 22px 24px;
    border-radius: 20px;
    display: grid;
    gap: 18px;
}

.footer-top p {
    margin: 0;
    max-width: 42rem;
}

.footer a {
    color: var(--olive);
    font-weight: 700;
    text-decoration: none;
}

.legal-block {
    display: grid;
    gap: 14px;
    padding-top: 18px;
    border-top: 1px solid rgba(29, 39, 35, 0.1);
}

.legal-title {
    margin: 0;
    color: var(--olive);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.legal-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 22px;
    margin: 0;
}

.legal-grid div {
    padding-top: 12px;
    border-top: 1px solid rgba(29, 39, 35, 0.08);
}

.legal-grid dt {
    margin: 0;
    color: var(--muted);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.legal-grid dd {
    margin: 8px 0 0;
    color: var(--ink);
    line-height: 1.5;
}

.thank-you-page {
    min-height: 100vh;
}

.thank-you-page main {
    display: grid;
    align-items: center;
    min-height: calc(100vh - 140px);
}

.thank-you-shell {
    max-width: 760px;
    margin: 0 auto;
    padding: 38px;
    border-radius: var(--radius-xl);
}

.thank-you-shell h1 {
    max-width: none;
    font-size: clamp(3rem, 7vw, 5rem);
}

.thank-you-shell p {
    max-width: 38rem;
    color: var(--muted);
}

.thank-you-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 24px;
}

[data-reveal] {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.75s ease, transform 0.75s ease;
}

[data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1080px) {
    .hero,
    .lead-section,
    .quiz-layout,
    .photo-story,
    .trust-headline {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: auto;
        gap: 28px;
    }

    .hero-aside {
        padding-bottom: 0;
    }

    .hero-montage {
        min-height: 700px;
    }

    .brief-caption {
        position: relative;
        left: 0;
        bottom: auto;
        width: 100%;
        margin-top: 14px;
    }

    .quiz-rail {
        position: static;
    }
}

@media (max-width: 820px) {
    .topbar,
    .footer-top,
    .quiz-bottom,
    .result-actions,
    .quiz-sheet-meta {
        align-items: flex-start;
        flex-direction: column;
    }

    .hero-facts,
    .editorial-grid,
    .result-summary,
    .trust-strip {
        grid-template-columns: 1fr;
    }

    .hero-facts {
        gap: 16px;
    }

    .trust-strip article {
        border-right: 0;
        border-bottom: 1px solid rgba(29, 39, 35, 0.08);
    }

    .trust-strip article:last-child {
        border-bottom: 0;
    }

    .legal-grid {
        grid-template-columns: 1fr;
    }

    .topbar,
    main,
    .footer {
        width: min(calc(100% - 28px), var(--content));
    }
}

@media (max-width: 620px) {
    .hero,
    .quiz-section,
    .editorial-grid,
    .photo-story,
    .lead-section,
    .trust-section {
        margin-top: 38px;
    }

    h1 {
        font-size: clamp(2.6rem, 13vw, 4rem);
    }

    h2,
    .quiz-title,
    .result-header h3 {
        font-size: clamp(2rem, 9vw, 3rem);
    }

    .quiz-sheet,
    .editorial-panel,
    .lead-summary,
    .lead-form-shell,
    .thank-you-shell,
    .footer {
        padding: 22px;
    }

    .button {
        width: 100%;
    }

    .brand {
        gap: 10px;
    }

    .brand-mark {
        width: 42px;
        height: 42px;
    }

    .brand-word {
        font-size: 0.98rem;
        letter-spacing: 0.1em;
    }

    .brand-caption {
        display: none;
    }

    .hero-actions,
    .thank-you-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .hero-montage {
        min-height: auto;
    }

    .hero-photo-main,
    .hero-photo-secondary {
        position: relative;
        inset: auto;
        right: auto;
        bottom: auto;
        width: 100%;
        transform: none;
    }

    .hero-photo-main {
        min-height: 500px;
    }

    .hero-photo-secondary {
        width: 72%;
        margin: -42px 0 0 auto;
    }

    .photo-story-image {
        min-height: 360px;
    }

    .option {
        grid-template-columns: 52px 1fr;
        padding: 16px;
    }

}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }
}
