/* Red Desert Check-In homepage. Self-contained: does not use styles.css. */
:root {
    --ink: #241a14;
    --ink-soft: #6d5d50;
    --red: #b93628;
    --red-hover: #9c2c20;
    --bg: #f8f3ec;
    --bg-alt: #f1e8dc;
    --surface: #fffcf8;
    --on-red: #faf5ee;
    --line: #e3d7c9;
    --line-warm: #d8bfb2;
    --footer-bg: #201711;
    --footer-text: #e8ddd0;
    --serif: 'Zodiak', 'Fraunces', Georgia, serif;
    --sans: 'Work Sans', 'Helvetica Neue', Arial, sans-serif;
    --radius: 22px;
    --shadow: 0 8px 24px rgba(50, 34, 24, .06);
    --wrap: 1180px;
    color-scheme: light;
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 17px;
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--red);
}

h1,
h2,
h3 {
    font-family: var(--serif);
    letter-spacing: -.025em;
    line-height: 1.12;
    margin: 0 0 .6em;
    color: var(--ink);
}

h1 {
    font-size: clamp(2.15rem, 1.4rem + 3vw, 3.5rem);
    font-weight: 700;
}

h2 {
    font-size: clamp(1.8rem, 1.3rem + 1.8vw, 2.5rem);
    font-weight: 700;
}

h3 {
    font-size: 1.45rem;
    font-weight: 600;
}

p {
    margin: 0 0 1em;
}

.wrap {
    width: min(var(--wrap), calc(100% - 32px));
    margin: 0 auto;
}

.eyebrow {
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--red);
    margin: 0 0 .9rem;
}

.lead {
    font-size: 1.12rem;
    color: var(--ink-soft);
    max-width: 62ch;
}

.section {
    padding: clamp(56px, 8vw, 104px) 0;
}

.section.alt {
    background: var(--bg-alt);
}

.section-head {
    max-width: 720px;
    margin-bottom: 40px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    padding: 14px 24px;
    border-radius: 999px;
    font-family: var(--sans);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    border: 1.5px solid transparent;
    transition: background .2s, color .2s, border-color .2s;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background: var(--red);
    color: var(--on-red);
}

.btn-primary:hover {
    background: var(--red-hover);
}

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

.btn-secondary:hover {
    background: var(--ink);
    color: var(--on-red);
}

.btn[aria-disabled="true"] {
    opacity: .55;
    pointer-events: none;
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.text-link {
    font-weight: 600;
    color: var(--red);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 252, 248, .96);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--line);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 72px;
}

.brand img {
    width: 190px;
    mix-blend-mode: multiply;
}

.nav {
    display: flex;
    gap: 28px;
}

.nav a {
    color: var(--ink);
    text-decoration: none;
    font-weight: 500;
    font-size: .95rem;
}

.nav a:hover {
    color: var(--red);
}

.header-cta {
    padding: 11px 20px;
    font-size: .92rem;
}

.menu-toggle {
    display: none;
    background: none;
    border: 1.5px solid var(--ink);
    border-radius: 999px;
    padding: 8px 16px;
    font: 600 .9rem var(--sans);
    color: var(--ink);
    cursor: pointer;
}

.mobile-nav {
    display: none;
}

/* Hero */
.hero {
    padding: clamp(40px, 6vw, 80px) 0 clamp(56px, 7vw, 96px);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: clamp(32px, 5vw, 72px);
    align-items: center;
}

.hero h1 {
    max-width: 16ch;
}

.hero .lead {
    margin-bottom: 28px;
}

.hero-photo img {
    width: 100%;
    aspect-ratio: 4 / 4.2;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.trust {
    list-style: none;
    padding: 0;
    margin: 28px 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 10px;
}

.trust li {
    background: var(--surface);
    border: 1px solid var(--line-warm);
    border-radius: 999px;
    padding: 6px 14px;
    font-size: .85rem;
    font-weight: 500;
    color: var(--ink-soft);
}

.area-note {
    margin-top: 14px;
    font-size: .92rem;
    color: var(--ink-soft);
}

/* Cards */
.card {
    background: var(--surface);
    border: 1px solid var(--line-warm);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: clamp(24px, 3vw, 32px);
}

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

.service {
    display: flex;
    flex-direction: column;
}

.service h3 {
    margin-bottom: .35em;
}

.price {
    font-family: var(--serif);
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.1;
    margin: 0 0 4px;
}

.price small {
    font-family: var(--sans);
    font-size: .95rem;
    font-weight: 500;
    color: var(--ink-soft);
}

.meta {
    font-size: .92rem;
    color: var(--ink-soft);
    margin-bottom: 14px;
}

.service p.desc {
    color: var(--ink-soft);
    flex: 1;
}

.service .actions {
    margin-top: 8px;
    align-items: center;
}

.not-sure {
    margin: 14px 0 0;
    font-size: .92rem;
    color: var(--ink-soft);
}

.service.featured {
    border-color: var(--red);
    border-width: 1.5px;
}

.no-surprises {
    margin-top: 20px;
    background: var(--bg-alt);
    border-style: dashed;
    box-shadow: none;
}

.section.alt .no-surprises {
    background: var(--surface);
}

.no-surprises h3 {
    margin-bottom: 14px;
}

.check-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 32px;
}

.check-list li {
    position: relative;
    padding-left: 28px;
    color: var(--ink-soft);
    font-size: .98rem;
}

.check-list li::before {
    content: "";
    position: absolute;
    left: 2px;
    top: .45em;
    width: 12px;
    height: 7px;
    border-left: 2.5px solid var(--red);
    border-bottom: 2.5px solid var(--red);
    transform: rotate(-45deg);
}

/* Steps */
.steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    counter-reset: step;
}

.steps li {
    counter-increment: step;
}

.steps li::before {
    content: counter(step);
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--red);
    color: var(--on-red);
    font-family: var(--serif);
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 16px;
}

.steps h3 {
    font-size: 1.2rem;
    margin-bottom: .4em;
}

.steps p {
    color: var(--ink-soft);
    font-size: .98rem;
    margin: 0;
}

/* Free tools */
.tool-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.tool {
    display: flex;
    flex-direction: column;
}

.tool h3 {
    font-size: 1.2rem;
}

.tool p {
    color: var(--ink-soft);
    font-size: .96rem;
    flex: 1;
}

.tag {
    align-self: flex-start;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--bg-alt);
    color: var(--ink-soft);
    margin-bottom: 14px;
}

.tag.paid {
    background: var(--red);
    color: var(--on-red);
}

.tool .btn {
    align-self: flex-start;
    padding: 11px 18px;
    font-size: .92rem;
}

/* About */
.about-grid {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: clamp(32px, 5vw, 72px);
    align-items: center;
}

.about-grid img {
    border-radius: var(--radius);
    aspect-ratio: 1;
    object-fit: cover;
    width: 100%;
    box-shadow: var(--shadow);
}

.about-grid p {
    color: var(--ink-soft);
}

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

.creds li {
    padding-left: 22px;
    position: relative;
    font-weight: 500;
}

.creds li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .55em;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--red);
}

/* Fit */
.fit-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.fit-grid .check-list {
    grid-template-columns: 1fr;
}

.x-list li::before {
    width: 12px;
    height: 12px;
    top: .4em;
    border: none;
    transform: none;
    background:
        linear-gradient(45deg, transparent 44%, var(--ink-soft) 44%, var(--ink-soft) 56%, transparent 56%),
        linear-gradient(-45deg, transparent 44%, var(--ink-soft) 44%, var(--ink-soft) 56%, transparent 56%);
}

/* CTA */
.cta-band {
    text-align: center;
}

.cta-band .lead {
    margin: 0 auto 28px;
}

.cta-band .actions {
    justify-content: center;
}

/* Footer */
.footer {
    background: var(--footer-bg);
    color: var(--footer-text);
    padding: 56px 0 32px;
    font-size: .95rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 32px;
}

.footer h4 {
    font-family: var(--sans);
    font-size: .75rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    margin: 0 0 12px;
    color: var(--footer-text);
}

.footer a {
    display: block;
    color: var(--footer-text);
    opacity: .65;
    text-decoration: none;
    margin-bottom: 6px;
    overflow-wrap: anywhere;
}

.footer a:hover {
    opacity: 1;
}

.footer-brand p {
    opacity: .65;
    margin: 0;
}

.footer-bottom {
    border-top: 1px solid rgba(232, 221, 208, .15);
    margin-top: 40px;
    padding-top: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px;
    opacity: .65;
    font-size: .85rem;
}

.footer-bottom p {
    margin: 0;
}

/* Tablet */
@media (max-width: 1000px) {
    .tool-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

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

    .nav {
        gap: 18px;
    }
}

/* Phone */
@media (max-width: 820px) {
    body {
        font-size: 16px;
    }

    .nav,
    .header-cta {
        display: none;
    }

    .menu-toggle {
        display: inline-block;
    }

    .brand img {
        width: 160px;
    }

    .mobile-nav.is-open {
        display: grid;
        gap: 4px;
        padding: 8px 0 20px;
    }

    .mobile-nav a:not(.btn) {
        color: var(--ink);
        text-decoration: none;
        font-weight: 500;
        padding: 10px 0;
        border-bottom: 1px solid var(--line);
    }

    .mobile-nav .btn {
        margin-top: 12px;
    }

    .hero-grid,
    .about-grid {
        grid-template-columns: 1fr;
    }

    .hero-photo {
        order: -1;
    }

    .hero-photo img {
        aspect-ratio: 4 / 3;
    }

    .hero h1 {
        max-width: none;
    }

    .actions .btn {
        flex: 1 1 100%;
    }

    .service .actions .btn,
    .tool .btn {
        flex: 0 0 auto;
    }

    .service-grid,
    .fit-grid,
    .check-list {
        grid-template-columns: 1fr;
    }

    .about-grid img {
        max-width: 320px;
    }
}

@media (max-width: 560px) {

    .tool-grid,
    .steps,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .service .actions .btn {
        flex: 1 1 100%;
    }
}

/* ---- v3 additions ---- */

/* Why families call */
.reasons {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.reason h3 {
    font-size: 1.2rem;
    margin-bottom: .4em;
}

.reason p {
    color: var(--ink-soft);
    font-size: .98rem;
    margin: 0;
}

/* Featured service: photo + details */
.feature {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: clamp(24px, 4vw, 48px);
    align-items: center;
    margin-bottom: 20px;
}

.feature.reverse {
    grid-template-columns: .85fr 1.15fr;
}

.feature.reverse .feature-photo {
    order: -1;
}

.feature-photo img {
    width: 100%;
    aspect-ratio: 5 / 4;
    object-fit: cover;
    border-radius: 16px;
}

.feature h3 {
    font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem);
    margin-bottom: .3em;
}

.best-for {
    background: var(--bg-alt);
    border-radius: 12px;
    padding: 12px 16px;
    font-size: .95rem;
    color: var(--ink);
    margin: 16px 0;
}

.best-for strong {
    color: var(--red);
}

.feature .desc {
    color: var(--ink-soft);
}

.feature .actions {
    align-items: center;
}

.indep-note {
    font-size: .9rem;
    color: var(--ink-soft);
    margin: 14px 0 0;
}

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

/* Free tool eyebrow question */
.tool .ask {
    font-size: .8rem;
    font-weight: 600;
    color: var(--red);
    margin: 0 0 6px;
}

.binder-row {
    margin-top: 20px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 24px;
    align-items: center;
}

.binder-row img {
    width: 120px;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.binder-row h3 {
    margin-bottom: .25em;
}

.binder-row p {
    color: var(--ink-soft);
    margin: 0;
}

.more-note {
    margin-top: 18px;
    font-size: .92rem;
    color: var(--ink-soft);
}

/* About */
.about-grid h2 {
    font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.2rem);
}

/* Fit */
.fit {
    max-width: 860px;
    margin: 0 auto;
    text-align: center;
}

.fit .lead {
    margin: 0 auto;
}

.fit-card {
    margin-top: 28px;
    text-align: left;
}

.fit-card p {
    color: var(--ink-soft);
    margin: 0;
}

/* FAQ */
.faq {
    max-width: 860px;
}

.faq details {
    border-bottom: 1px solid var(--line-warm);
    padding: 18px 0;
}

.faq summary {
    cursor: pointer;
    list-style: none;
    font-family: var(--serif);
    font-weight: 600;
    font-size: 1.2rem;
    display: flex;
    justify-content: space-between;
    gap: 16px;
}

.faq summary::-webkit-details-marker {
    display: none;
}

.faq summary::after {
    content: "+";
    color: var(--red);
    font-family: var(--sans);
    font-weight: 600;
    font-size: 1.4rem;
    line-height: 1;
}

.faq details[open] summary::after {
    content: "\2212";
}

.faq details p {
    color: var(--ink-soft);
    margin: 12px 0 0;
    max-width: 70ch;
}

@media (max-width: 1000px) {
    .reasons {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 820px) {

    .feature,
    .feature.reverse,
    .service-pair {
        grid-template-columns: 1fr;
    }

    .feature.reverse .feature-photo,
    .feature-photo {
        order: -1;
    }

    .binder-row {
        grid-template-columns: auto 1fr;
    }

    .binder-row .btn {
        grid-column: 1 / -1;
    }

    .binder-row img {
        width: 88px;
    }
}

@media (max-width: 560px) {
    .reasons {
        grid-template-columns: 1fr;
    }
}

.card-photo {
    margin: calc(clamp(24px, 3vw, 32px) * -1) calc(clamp(24px, 3vw, 32px) * -1) 20px;
}

.card-photo img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: var(--radius) var(--radius) 0 0;
}

.service-pair .card {
    overflow: hidden;
}

.tool p.ask {
    flex: 0 0 auto;
    color: var(--red);
    font-size: .8rem;
}

/* ---- v4: compact service grid ---- */
.svc-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.svc {
    display: flex;
    flex-direction: column;
    padding: 0;
    overflow: hidden;
}

.svc.featured {
    border: 1.5px solid var(--red);
}

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

.svc-body {
    padding: 22px 26px 26px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.svc .eyebrow {
    margin-bottom: 6px;
}

.svc-title {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
}

.svc-title h3 {
    margin: 0;
    font-size: 1.35rem;
}

.svc-title .price {
    font-size: 1.6rem;
    margin: 0;
    white-space: nowrap;
}

.svc .meta {
    margin: 4px 0 12px;
}

.svc .desc {
    color: var(--ink-soft);
    font-size: .98rem;
    margin-bottom: 10px;
}

.svc .best-for {
    margin: 0 0 18px;
    padding: 10px 14px;
    font-size: .9rem;
}

.svc .actions {
    margin-top: auto;
    align-items: center;
}

.svc-note {
    margin: 22px 0 0;
    text-align: center;
}

@media (max-width: 820px) {
    .svc-grid {
        grid-template-columns: 1fr;
    }

    .svc-photo img {
        height: 150px;
    }

    .svc .actions .btn {
        flex: 0 0 auto;
    }
}

/* smaller hero + about photos */
.hero-photo img {
    aspect-ratio: 5 / 4;
    max-height: 460px;
}

.about-grid {
    grid-template-columns: 340px 1fr;
}

.about-grid img {
    max-width: 340px;
}

@media (max-width: 820px) {
    .hero-photo img {
        aspect-ratio: 16 / 10;
        max-height: 260px;
    }

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

    .about-grid img {
        max-width: 220px;
    }
}

.svc-photo img {
    object-position: center 30%;
}

/* ---- Quiz pages (Care Confidence, Home Safety Checkup) ---- */
.quiz-shell {
    width: min(760px, calc(100% - 32px));
    margin: 0 auto;
    padding: clamp(32px, 5vw, 64px) 0 72px;
}

.quiz-intro {
    text-align: center;
    margin-bottom: 28px;
}

.quiz-intro .lead {
    margin: 0 auto;
}

.quiz-note {
    font-size: .88rem;
    color: var(--ink-soft);
    margin-top: 14px;
}

.quiz-card {
    padding: clamp(24px, 4vw, 40px);
}

.progress-meta {
    display: flex;
    justify-content: space-between;
    font-size: .85rem;
    color: var(--ink-soft);
    margin-bottom: 8px;
}

.progress-track {
    height: 6px;
    background: var(--bg-alt);
    border-radius: 999px;
    overflow: hidden;
    margin-bottom: 28px;
}

.progress-bar {
    height: 100%;
    width: 0;
    background: var(--red);
    transition: width .25s ease;
}

.q-title {
    font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem);
    margin-bottom: .4em;
}

.q-help {
    color: var(--ink-soft);
    margin-bottom: 18px;
}

.answers {
    display: grid;
    gap: 10px;
    margin: 18px 0 26px;
}

.answer {
    text-align: left;
    padding: 15px 18px;
    border: 1.5px solid var(--line-warm);
    border-radius: 14px;
    background: var(--surface);
    font: 500 1rem var(--sans);
    color: var(--ink);
    cursor: pointer;
}

.answer:hover {
    border-color: var(--ink-soft);
}

.answer.selected {
    border-color: var(--red);
    background: #fbefe9;
    box-shadow: inset 0 0 0 1px var(--red);
}

.quiz-nav {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.quiz-nav .btn[disabled],
.quiz-nav .btn.is-off {
    opacity: .45;
    pointer-events: none;
}

.hidden {
    display: none !important;
}

.urgent {
    background: var(--red);
    color: var(--on-red);
    border-radius: 16px;
    padding: 18px 20px;
    margin-bottom: 22px;
}

.urgent a {
    color: var(--on-red);
    font-weight: 700;
}

.areas {
    display: grid;
    gap: 10px;
    margin: 20px 0 30px;
}

.area {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 4px 16px;
    align-items: center;
    padding: 14px 18px;
    border: 1px solid var(--line-warm);
    border-radius: 14px;
    background: var(--surface);
}

.area strong {
    font-family: var(--serif);
    font-size: 1.1rem;
}

.area p {
    grid-column: 1 / -1;
    margin: 0;
    color: var(--ink-soft);
    font-size: .93rem;
}

.pill {
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: 5px 11px;
    border-radius: 999px;
    white-space: nowrap;
}

.pill.good {
    background: #e4ece3;
    color: #3d5a3f;
}

.pill.look {
    background: #f6e8cf;
    color: #7a5212;
}

.pill.attn {
    background: #f6dcd5;
    color: #9c2c20;
}

.next-steps-list {
    display: grid;
    gap: 14px;
    margin: 16px 0 26px;
}

.step-card {
    border: 1px solid var(--line-warm);
    border-radius: 18px;
    padding: 20px 22px;
    background: var(--surface);
}

.step-card.offer {
    border: 1.5px solid var(--red);
}

.step-card .tag {
    margin-bottom: 10px;
    display: inline-block;
}

.step-card h3 {
    font-size: 1.25rem;
    margin-bottom: .35em;
}

.step-card p {
    color: var(--ink-soft);
    margin: 0 0 14px;
}

.step-card .actions {
    align-items: center;
}

.fix-list {
    list-style: none;
    padding: 0;
    margin: 16px 0 28px;
    display: grid;
    gap: 10px;
}

.fix-list li {
    border-left: 4px solid var(--red);
    background: var(--surface);
    border-radius: 0 12px 12px 0;
    padding: 12px 16px;
}

.fix-list li.medium {
    border-left-color: #c9962e;
}

.fix-list strong {
    display: block;
    margin-bottom: 2px;
}

.fix-list span {
    color: var(--ink-soft);
    font-size: .95rem;
}

.email-box {
    border-top: 1px solid var(--line-warm);
    margin-top: 10px;
    padding-top: 24px;
}

.email-box form {
    display: grid;
    gap: 12px;
}

.email-box .row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.email-box label {
    font-size: .9rem;
    font-weight: 600;
    display: grid;
    gap: 6px;
}

.email-box input[type=text],
.email-box input[type=email] {
    padding: 12px 14px;
    border: 1.5px solid var(--line-warm);
    border-radius: 10px;
    font: 400 1rem var(--sans);
    background: #fff;
}

.email-box .consent {
    display: flex;
    gap: 10px;
    font-weight: 400;
    color: var(--ink-soft);
    align-items: flex-start;
}

.form-status {
    font-size: .92rem;
    margin: 0;
}

.form-status.error {
    color: var(--red);
}

.form-status.success {
    color: #3d5a3f;
}

@media (max-width: 560px) {
    .email-box .row {
        grid-template-columns: 1fr;
    }

    .quiz-nav .btn {
        flex: 1;
    }
}

/* ---- Legal pages ---- */
.legal {
    width: min(780px, calc(100% - 32px));
    margin: 0 auto;
    padding: clamp(36px, 6vw, 72px) 0 72px;
}

.legal h1 {
    margin-bottom: .2em;
}

.legal .effective {
    color: var(--ink-soft);
    font-size: .95rem;
    margin-bottom: 28px;
}

.legal h2 {
    font-size: 1.35rem;
    margin: 32px 0 10px;
}

.legal p,
.legal li {
    color: var(--ink);
    line-height: 1.7;
}

.legal ul {
    padding-left: 1.2rem;
    margin: 0 0 1em;
}

.legal li {
    margin-bottom: 6px;
}

.legal .callout {
    background: var(--bg-alt);
    border-radius: 14px;
    padding: 16px 20px;
    margin: 20px 0;
}
