.discovery-page {
    background: #eef3f0;
}

.discovery-hero {
    padding: 4.5rem 0 4rem;
    background: radial-gradient(circle at 80% 15%, #0c4a35 0, transparent 34%), #061710;
    color: #fff;
}

.discovery-hero-grid {
    display: grid;
    grid-template-columns: 1.35fr .65fr;
    align-items: end;
    gap: 4rem;
}

.discovery-hero h1 {
    max-width: 800px;
    margin: 0;
    font-size: clamp(2.8rem, 5.5vw, 5rem);
    line-height: 1;
    letter-spacing: -.05em;
}

.discovery-hero p {
    max-width: 760px;
    margin: 1.25rem 0 0;
    color: #b8c9c0;
    font-size: 1.05rem;
}

.discovery-hero aside {
    padding: 1.4rem;
    border-left: 4px solid var(--bright);
    background: #ffffff0b;
}

.discovery-hero aside strong {
    color: var(--bright);
}

.discovery-hero aside p {
    margin-top: .55rem;
    font-size: .82rem;
}

.discovery-shell {
    padding-block: 2.5rem 5rem;
}

.discovery-toolbar {
    position: sticky;
    top: 74px;
    z-index: 10;
    display: grid;
    grid-template-columns: auto minmax(140px, 1fr) auto;
    align-items: center;
    gap: 1.5rem;
    padding: 1rem 1.25rem;
    border: 1px solid #cbd8d1;
    background: #fff;
    box-shadow: 0 12px 30px #092d1d12;
}

.discovery-toolbar strong,
.discovery-toolbar span {
    display: block;
}

.discovery-toolbar span {
    color: var(--muted);
    font-size: .75rem;
}

.discovery-progress {
    height: 5px;
    background: #dce7e1;
}

.discovery-progress i {
    display: block;
    width: 0;
    height: 100%;
    background: var(--green);
    transition: width .2s ease;
}

.toolbar-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: .65rem;
}

button.button {
    border-radius: 0;
    font: inherit;
    font-size: .78rem;
    cursor: pointer;
}

.button.secondary.light {
    border-color: #b9c9c1;
    background: #fff;
    color: var(--ink);
}

.respondent-card,
.question-section {
    margin-top: 1.5rem;
    padding: clamp(1.4rem, 4vw, 2.6rem);
    border: 1px solid #d6e0db;
    background: #fff;
}

.section-number {
    color: var(--green);
    font-size: .7rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .16em;
}

.respondent-card h2,
.question-section h2 {
    margin: .35rem 0 .6rem;
    font-size: clamp(1.55rem, 3vw, 2.25rem);
    letter-spacing: -.025em;
}

.respondent-card > p,
.question-section > p {
    max-width: 850px;
    margin: 0 0 1.5rem;
    color: var(--muted);
}

.identity-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 1.6rem;
}

.identity-grid label {
    color: #294238;
    font-size: .78rem;
    font-weight: 800;
}

.identity-grid input,
.question-card textarea,
.priorities textarea {
    width: 100%;
    margin-top: .45rem;
    border: 1px solid #b9c9c1;
    border-radius: 0;
    background: #fbfdfc;
    color: var(--ink);
    font: inherit;
}

.identity-grid input {
    min-height: 48px;
    padding: .8rem;
}

.question-list {
    margin-top: 1.4rem;
    border-top: 1px solid #dce4e0;
}

.question-card {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: .5rem 1.1rem;
    padding: 1.45rem 0;
    border-bottom: 1px solid #dce4e0;
}

.question-number {
    grid-row: span 2;
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    background: #073e2b;
    color: #fff;
    font-size: .75rem;
    font-weight: 900;
}

.question-card.is-answered .question-number {
    background: #10b981;
    color: #032117;
}

.question-copy {
    font-weight: 750;
}

.question-card textarea {
    min-height: 108px;
    padding: .9rem;
    resize: vertical;
}

.priorities textarea {
    min-height: 135px;
    padding: .9rem;
    resize: vertical;
}

.identity-grid input:focus,
.question-card textarea:focus,
.priorities textarea:focus {
    border-color: var(--green);
    outline: 3px solid #34d39944;
}

.form-finish {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    margin-top: 1.5rem;
    padding: 1.6rem;
    background: #073e2b;
    color: #fff;
}

.form-finish p {
    max-width: 650px;
    margin: .35rem 0 0;
    color: #b8dbca;
    font-size: .85rem;
}

.clear-button {
    padding: .8rem .4rem;
    border: 0;
    background: transparent;
    color: #b8dbca;
    font: inherit;
    font-size: .75rem;
    text-decoration: underline;
    cursor: pointer;
}

.paper-option {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem 1.25rem;
    padding: 1.25rem 0;
    color: var(--muted);
    font-size: .82rem;
}

.paper-option a {
    color: var(--green);
    font-weight: 800;
}

@media (max-width: 900px) {
    .discovery-hero-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .discovery-toolbar {
        position: static;
        grid-template-columns: 1fr;
        gap: .8rem;
    }

    .discovery-toolbar .toolbar-actions {
        justify-content: flex-start;
    }
}

@media (max-width: 620px) {
    .discovery-hero {
        padding-block: 3rem;
    }

    .discovery-hero h1 {
        font-size: 2.65rem;
    }

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

    .question-card {
        grid-template-columns: 34px 1fr;
        gap: .6rem .8rem;
    }

    .question-number {
        width: 32px;
        height: 32px;
    }

    .form-finish {
        align-items: flex-start;
        flex-direction: column;
    }

    .form-finish .toolbar-actions,
    .form-finish .button {
        width: 100%;
    }
}

@media print {
    @page {
        size: A4;
        margin: 12mm;
    }

    .site-header,
    .discovery-toolbar,
    .toolbar-actions,
    .paper-option,
    footer {
        display: none !important;
    }

    .discovery-page,
    .discovery-hero,
    .respondent-card,
    .question-section {
        background: #fff;
        color: #000;
    }

    .discovery-hero {
        padding: 0 0 8mm;
    }

    .discovery-hero-grid {
        display: block;
    }

    .discovery-hero h1 {
        font-size: 24pt;
    }

    .discovery-hero p,
    .discovery-hero aside p {
        color: #333;
    }

    .discovery-hero aside {
        margin-top: 6mm;
        border: 1px solid #aaa;
    }

    .discovery-shell {
        width: 100%;
        padding: 0;
    }

    .respondent-card,
    .question-section {
        margin-top: 6mm;
        padding: 6mm;
        break-before: page;
        border-color: #aaa;
        box-shadow: none;
    }

    .respondent-card {
        break-before: auto;
    }

    .question-card {
        break-inside: avoid;
    }

    textarea {
        overflow: visible;
        background: #fff !important;
    }

    .form-finish {
        display: none;
    }
}
