@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=DM+Serif+Display:ital@0;1&display=swap');

:root {
    --ink: #20263a;
    --muted: #667085;
    --line: #e5e7eb;
    --olive: #5666a5;
    --forest: #293b78;
    --paper: #f8f7f3;
    --white: #fff;
    --accent: #e9edfb
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: 'DM Sans', Arial, sans-serif;
    font-size: 15px;
    -webkit-font-smoothing: antialiased
}

button,
input,
textarea {
    font: inherit
}

.shell {
    width: min(1120px, calc(100% - 64px));
    margin: auto
}

.site-header {
    border-bottom: 1px solid #e1e3eb;
    background: rgba(248, 247, 243, .96)
}

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

.brand {
    display: flex;
    align-items: center;
    gap: 13px;
    text-decoration: none;
    color: var(--ink);
    font-weight: 700;
    letter-spacing: .12em;
    font-size: 11px;
    line-height: 1.5
}

.brand small {
    display: block;
    color: var(--muted);
    letter-spacing: .18em;
    font-size: 9px
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 37px;
    height: 37px;
    background: var(--forest);
    color: white;
    font: 25px Georgia;
    border-radius: 3px
}

.header-meta {
    font-size: 11px;
    color: var(--muted);
    white-space: nowrap
}

.status-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    background: #8293d1;
    border-radius: 50%;
    margin-right: 7px;
    vertical-align: middle
}

.intro {
    max-width: 100%;
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    letter-spacing: .19em;
    color: #6575b7;
    font-size: 11px;
    font-weight: 700
}

.line {
    width: 30px;
    height: 1px;
    background: #6575b7
}

.intro h1 {
    font: clamp(46px, 6.5vw, 82px)/1.04 'DM Serif Display', Georgia, serif;
    letter-spacing: -.035em;
    font-weight: 400;
    margin: 23px 0 23px
}

.intro h1 em {
    color: #6878bd;
    font-weight: 400
}

.intro>p:not(.privacy) {
    max-width: 100%;
    font-size: 17px;
    line-height: 1.8;
    color: #596174;
    margin: 0
}

.intro-meta {
    display: flex;
    gap: 21px;
    flex-wrap: wrap;
    margin-top: 15px;
    color: #35436f;
    font-size: 12px;
    font-weight: 600
}

.intro .privacy {
    font-size: 12px;
    line-height: 1.65;
    max-width: 680px;
    margin: 22px 0 0;
    color: #879087
}

.layout {
    display: grid;
    grid-template-columns: 230px minmax(0, 1fr);
    gap: 62px;
    align-items: start
}

.sidebar {
    position: sticky;
    top: 28px
}

.sidebar-card {
    padding: 24px 0
}

.side-kicker {
    font-size: 10px;
    letter-spacing: .16em;
    font-weight: 700;
    color: #8790a8;
    margin-bottom: 18px
}

.nav-item {
    display: flex;
    gap: 14px;
    align-items: center;
    padding: 13px 8px;
    color: #7b8192;
    text-decoration: none;
    border-left: 2px solid transparent;
    font-size: 13px
}

.nav-item:hover {
    color: var(--forest);
    background: #f1f2f8
}

.nav-item.complete {
    color: var(--forest)
}

.nav-item.complete .nav-num {
    color: #6879bf
}

.nav-num {
    font-size: 11px;
    color: #a8afa8
}

.side-rule {
    height: 1px;
    background: #dfe2ec;
    margin: 20px 0
}

.sidebar-card>p {
    font-size: 12px;
    line-height: 1.7;
    color: #8a8f9d
}

.form-column {
    min-width: 0
}

.progress-head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    color: #7c8295;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 13px
}

.track {
    height: 4px;
    background: #e4e6ef;
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 44px
}

.track>div {
    height: 100%;
    background: #5369b1;
    width: 0;
    transition: width .25s
}

.question-section {
    margin-bottom: 42px;
    scroll-margin-top: 20px
}

.section-head {
    display: flex;
    gap: 17px;
    align-items: start;
    margin-bottom: 23px
}

.section-index {
    padding-top: 9px;
    color: #6879b8;
    font-size: 12px;
    font-weight: 700
}

.section-title-wrap h2 {
    font: 36px/1.16 'DM Serif Display', Georgia, serif;
    font-weight: 400;
    letter-spacing: -.02em;
    margin: 0 0 9px
}

.section-title-wrap p {
    margin: 0;
    color: #8a8f9d;
    font-size: 13px
}

.question-card {
    border: 1px solid #e5e7ed;
    background: white;
    padding: 27px 31px 28px;
    margin: 0 0 13px;
    min-width: 0;
    border-radius: 5px;
    box-shadow: 0 3px 16px rgba(30, 35, 55, .022)
}

.question-card legend {
    display: block;
    float: left;
    width: 100%;
    padding: 0;
    margin: 0 0 8px;
    font-weight: 700;
    font-size: 15px;
    line-height: 1.55
}

.question-card legend::after {
    content: "";
    display: block;
    clear: both
}

.number {
    color: #a3a9b8;
    margin-right: 11px;
    letter-spacing: .05em;
    font-size: 11px;
    font-weight: 600
}

.question-note {
    clear: both;
    color: #9297a5;
    font-size: 12px;
    margin: 0 0 18px
}

.clear-answer {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 16px;
    border: 1px solid #d4d8e6;
    background: transparent;
    color: var(--forest);
    padding: 8px 12px;
    border-radius: 999px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 700
}

.clear-answer:hover {
    background: #f1f3fa
}

.clear-answer[hidden] {
    display: none
}

.optional {
    color: #6b79b0
}

.choices {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px
}

.choice {
    min-width: 0;
    min-height: 48px;
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid #e7e9ef;
    background: #fff;
    border-radius: 4px;
    padding: 12px 13px;
    cursor: pointer;
    transition: border-color .15s, background .15s;
    flex-wrap: wrap
}

.choice:hover {
    background: #f7f8fc;
    border-color: #c3cbe2
}

.choice:has(input:checked) {
    background: #f0f2fb;
    border-color: #8d9bd0
}

.choice:focus-within {
    outline: 2px solid #8393d1;
    outline-offset: 2px
}

.choice>input[type=radio],
.choice>input[type=checkbox] {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px
}

.choice-marker {
    border: 1.5px solid #bdc4d5;
    width: 17px;
    height: 17px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    border-radius: 50%
}

.choice:has(input[type=checkbox]) .choice-marker {
    border-radius: 3px
}

.choice:has(input:checked) .choice-marker {
    background: #425ba4;
    border-color: #425ba4
}

.choice:has(input:checked) .choice-marker:after {
    content: '✓';
    color: white;
    font-size: 11px;
    font-weight: bold
}

.choice-text {
    flex: 1;
    min-width: 0;
    line-height: 1.45;
    font-size: 12.5px;
    color: #4b5369
}

.other-text {
    display: none;
    width: 100%;
    min-width: 0;
    border: 0;
    border-bottom: 1px solid #a8b2d3;
    padding: 8px 2px;
    background: transparent;
    border-radius: 0;
    outline: 0;
    color: var(--ink)
}

.choice:has(input:checked) .other-text {
    display: block
}

.contact-text {
    display: none;
    width: 100%;
    min-width: 0;
    border: 0;
    border-bottom: 1px solid #a8b2d3;
    padding: 8px 2px;
    background: transparent;
    border-radius: 0;
    outline: 0;
    color: var(--ink)
}

.choice:has(input:checked) .contact-text {
    display: block
}

.long-answer {
    display: block;
    width: 100%;
    border: 1px solid #e1e4ed;
    border-radius: 4px;
    background: #fcfcfe;
    padding: 16px;
    resize: vertical;
    min-height: 130px;
    line-height: 1.6;
    outline: 0
}

.long-answer:focus {
    border-color: #7a8bc8
}

.submit-panel {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 27px 0 8px;
    border-top: 1px solid var(--line)
}

.submit-panel strong {
    font: 26px 'DM Serif Display', Georgia, serif;
    font-weight: 400
}

.submit-panel p {
    font-size: 12px;
    color: #849087;
    line-height: 1.5;
    margin: 7px 0 0
}

.submit-panel button,
.success button,
.admin button {
    border: 0;
    background: var(--forest);
    color: white;
    padding: 16px 24px;
    cursor: pointer;
    border-radius: 3px;
    font-size: 13px;
    font-weight: 700
}

.submit-panel button:hover,
.success button:hover,
.admin button:hover {
    background: #354d9a
}

.submit-panel button:disabled {
    opacity: .6;
    cursor: wait
}

.submit-panel button span {
    margin-left: 12px
}

.form-error {
    color: #af423a;
    font-size: 13px;
    min-height: 22px
}

.needs-answer {
    outline: 2px solid #bd766d
}

.honeypot {
    position: absolute;
    left: -10000px
}

.success {
    padding: 55px 35px;
    background: #fff;
    border: 1px solid var(--line);
    text-align: center;
    margin-top: 20px;
    border-radius: 4px
}

.success-icon {
    font-size: 30px;
    color: #354d9a
}

.success h2 {
    font: 38px 'DM Serif Display', Georgia, serif;
    font-weight: 400
}

.success p {
    max-width: 430px;
    margin: 16px auto 25px;
    line-height: 1.8;
    color: var(--muted)
}

.success .ref {
    font-size: 11px;
    letter-spacing: .08em;
    color: #858ca3
}

.footer {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 70px 0 30px;
    margin-top: 60px;
    border-top: 1px solid var(--line);
    color: #9ba1b1;
    font-size: 10px;
    letter-spacing: .08em
}

[hidden] {
    display: none !important
}

@media(max-width:900px) {
    .layout {
        grid-template-columns: 180px minmax(0, 1fr);
        gap: 30px
    }

    .choices {
        grid-template-columns: 1fr
    }

    .intro {
        padding-top: 60px
    }
}

@media(max-width:680px) {
    .shell {
        width: min(100% - 34px, 520px)
    }

    .header-inner {
        min-height: 72px
    }

    .header-meta {
        font-size: 0
    }

    .status-dot {
        width: 8px;
        height: 8px
    }

    .intro {
        padding: 51px 0 35px
    }

    .intro h1 {
        font-size: clamp(43px, 12vw, 68px);
        margin: 20px 0
    }

    .intro>p:not(.privacy) {
        font-size: 15px;
        line-height: 1.75
    }

    .intro-meta {
        gap: 11px 17px;
        margin-top: 22px;
        font-size: 11px
    }

    .intro .privacy {
        font-size: 11px
    }

    .layout {
        display: block
    }

    .sidebar {
        display: none
    }

    .track {
        margin-bottom: 34px
    }

    .section-title-wrap h2 {
        font-size: 31px
    }

    .question-card {
        padding: 22px 17px 24px;
        margin-bottom: 12px
    }

    .question-card legend {
        font-size: 14px
    }

    .choices {
        gap: 8px
    }

    .choice {
        min-height: 50px
    }

    .choice-text {
        font-size: 13px
    }

    .submit-panel {
        align-items: stretch;
        flex-direction: column
    }

    .submit-panel button {
        width: 100%;
        min-height: 54px
    }

    .footer {
        flex-direction: column;
        gap: 7px;
        padding-top: 30px;
        margin-top: 40px
    }

    .success {
        padding: 34px 20px
    }

    .success h2 {
        font-size: 32px
    }
}

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

    * {
        transition: none !important
    }
}

/* Collapsible platform concept — scoped to the survey page. */
.platform-details{margin:8px 0 40px;border:1px solid #dce0ed;border-radius:18px;background:#fff;overflow:hidden;box-shadow:0 12px 35px rgba(28,35,62,.035)}
.platform-toggle{list-style:none;cursor:pointer;display:flex;align-items:center;gap:18px;padding:22px 25px;min-height:110px}
.platform-toggle::-webkit-details-marker{display:none}
.platform-toggle:focus-visible{outline:3px solid #7c8fc9;outline-offset:-4px;border-radius:18px}
.platform-toggle-icon{width:49px;height:49px;display:grid;place-items:center;flex:none;border-radius:13px;background:#e9edfb;color:#354d91;font-size:29px}
.platform-toggle-copy{display:grid;gap:4px;flex:1;min-width:0}
.platform-eyebrow,.node-overline{font-size:10px;font-weight:700;letter-spacing:.14em;color:#6476ae}
.platform-toggle-copy strong{font:normal 26px/1.15 'DM Serif Display',Georgia,serif;color:#263454}
.platform-toggle-desc{font-size:13px;color:#738077;line-height:1.5}
.platform-toggle-action{display:flex;align-items:center;gap:12px;color:#354d91;font-weight:700;font-size:12px;white-space:nowrap}
.platform-chevron{display:grid;place-items:center;width:34px;height:34px;border:1px solid #d3daee;border-radius:50%;font-size:19px;transition:transform .25s ease;background:#f4f6fc}
.platform-details[open] .platform-chevron{transform:rotate(180deg)}
.platform-content{padding:33px 32px 30px;border-top:1px solid #e8eaf2;background:linear-gradient(160deg,#fbfbfe 0%,#f3f5fb 100%)}
.platform-heading{display:grid;grid-template-columns:1.1fr .9fr;align-items:end;gap:30px;margin-bottom:29px}
.platform-heading h2{font:normal clamp(28px,3.3vw,40px)/1.13 'DM Serif Display',Georgia,serif;letter-spacing:-.025em;margin:10px 0 0;color:#1e315e}
.platform-heading h2 em{color:#6b7fbd}
.platform-heading>p{margin:0;font-size:13px;line-height:1.8;color:#67766d;max-width:410px}
.matter-origin{width:min(100%,410px);margin:0 auto;display:flex;gap:15px;align-items:center;padding:20px 24px;border:1px solid #293f7d;border-radius:15px;background:#293f7d;color:white;box-shadow:0 12px 22px rgba(24,43,105,.14)}
.origin-symbol{display:grid;place-items:center;flex:none;width:44px;height:44px;border-radius:12px;background:#465fa4;font:30px Georgia,serif;color:#e4e9ff}
.matter-origin>div{display:grid;gap:4px}
.matter-origin .node-overline{color:#c2ccef}
.matter-origin strong{font:24px 'DM Serif Display',Georgia,serif}
.matter-origin>div>span:last-child{font-size:11px;line-height:1.5;color:#d8def2}
.workflow-connector{height:40px;display:flex;justify-content:center}
.workflow-connector span{height:100%;width:1px;background:#a6afd0;position:relative}
.workflow-connector span:after{content:'';width:7px;height:7px;border-radius:50%;background:#7184c0;position:absolute;bottom:-3px;left:-3px}
.workflow-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;position:relative}
.workflow-node{position:relative;min-width:0;padding:19px 19px 18px;border:1px solid #dce0ed;border-radius:13px;background:#fff;box-shadow:0 3px 9px rgba(42,48,78,.025)}
.workflow-node:before{content:'';position:absolute;top:0;left:18px;right:18px;height:3px;background:#93a1d0;border-radius:0 0 4px 4px}
.node-top{display:flex;justify-content:space-between;align-items:center;color:#8491b9;margin-bottom:16px}
.node-index{font-size:10px;letter-spacing:.12em;font-weight:700}
.node-symbol{font:24px Georgia,serif;line-height:1}
.workflow-node h3{font:normal 22px/1.18 'DM Serif Display',Georgia,serif;color:#283454;margin:0 0 9px}
.workflow-node p{color:#758076;font-size:12px;line-height:1.65;margin:0 0 17px;min-height:40px}
.workflow-node ul{margin:0;padding:13px 0 0;list-style:none;border-top:1px solid #e8eaf2;display:grid;gap:10px}
.workflow-node li{font-size:12px;line-height:1.4;color:#414e70;display:flex;align-items:baseline;gap:9px}
.workflow-node li:before{content:'';display:inline-block;flex:none;width:5px;height:5px;border:1px solid #8d9bc9;background:#cfd6f0;transform:rotate(45deg)}
.visualization-node{display:flex;gap:16px;align-items:center;margin:22px auto 0;max-width:620px;padding:18px 20px;border-radius:14px;border:1px dashed #a3afd2;background:#edf0fb}
.visualization-symbol{display:grid;place-items:center;flex:none;height:44px;width:44px;border-radius:12px;background:#dce3f7;color:#384f91;font-size:27px}
.visualization-node strong{display:block;font:normal 21px/1.2 'DM Serif Display',Georgia,serif;margin:5px 0;color:#314677}
.visualization-node p{margin:0;color:#697a6d;font-size:12px;line-height:1.65}
.platform-endnote{display:flex;align-items:center;gap:22px;margin-top:25px;padding-top:20px;border-top:1px solid #dce1ef}
.platform-endnote span{font-size:10px;font-weight:700;letter-spacing:.1em;line-height:1.5;color:#53679d;max-width:190px;flex:none}
.platform-endnote p{margin:0;color:#68776b;font-size:12px;line-height:1.7}
@media(max-width:800px){.workflow-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.platform-heading{grid-template-columns:1fr;gap:12px}.platform-content{padding:27px 22px}.workflow-node p{min-height:0}}
@media(max-width:540px){.platform-details{border-radius:14px;margin:5px 0 26px}.platform-toggle{min-height:95px;padding:18px 15px;gap:11px}.platform-toggle-icon{width:39px;height:39px;font-size:23px}.platform-toggle-copy strong{font-size:21px}.platform-toggle-desc{font-size:11px}.platform-eyebrow{font-size:9px}.platform-toggle-label{display:none}.platform-chevron{width:30px;height:30px}.platform-content{padding:25px 15px}.platform-heading h2{font-size:30px}.matter-origin{padding:17px}.workflow-connector{height:26px}.workflow-grid{grid-template-columns:minmax(0,1fr);gap:10px}.workflow-node{padding:17px 17px 16px}.workflow-node h3{font-size:22px}.workflow-node p{margin-bottom:12px}.workflow-node ul{gap:8px}.visualization-node{align-items:flex-start;margin-top:15px;padding:14px}.visualization-node strong{font-size:19px}.platform-endnote{display:block}.platform-endnote p{margin-top:8px}}
@media(prefers-reduced-motion:reduce){.platform-chevron{transition:none}}
