:root {
    --bg: #07090d;
    --panel: #0d1117;
    --panel-2: #111720;
    --border: #202936;

    --text: #f3f6fa;
    --muted: #8995a5;

    --accent: #66f0c2;
    --accent-soft: rgba(102, 240, 194, .10);

    --danger: #ff6b6b;

    --radius: 18px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background:
        radial-gradient(
            circle at 50% 0%,
            #101a20 0,
            var(--bg) 38%
        );

    color: var(--text);

    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    min-height: 100vh;
}

button,
input {
    font: inherit;
}

button {
    color: inherit;
}

.topbar {
    height: 76px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    max-width: 1180px;
    margin: auto;

    padding: 0 24px;

    border-bottom: 1px solid rgba(255,255,255,.05);
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;

    color: white;
    text-decoration: none;
}

.brand-mark {
    width: 40px;
    height: 40px;

    display: grid;
    place-items: center;

    border: 1px solid var(--accent);
    border-radius: 11px;

    color: var(--accent);
    font-weight: 800;

    box-shadow:
        0 0 25px rgba(102,240,194,.12);
}

.brand strong {
    display: block;
    letter-spacing: .04em;
}

.brand small {
    display: block;

    margin-top: 2px;

    color: var(--muted);

    font-size: 9px;
    letter-spacing: .22em;
}

.system-status {
    display: flex;
    align-items: center;
    gap: 8px;

    color: var(--muted);
    font-size: 13px;
}

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

    background: var(--accent);
    border-radius: 50%;

    box-shadow:
        0 0 12px var(--accent);
}

main {
    max-width: 1180px;
    margin: auto;
    padding: 0 24px;
}

.hero {
    max-width: 850px;

    margin: 100px auto 80px;

    text-align: center;
}

.eyebrow,
.section-heading > span,
.form-heading > span,
.progress-label,
.result-label {
    color: var(--accent);

    font-size: 11px;
    font-weight: 700;
    letter-spacing: .22em;
}

.hero h1 {
    margin: 20px 0;

    font-size: clamp(
        42px,
        7vw,
        76px
    );

    line-height: .98;
    letter-spacing: -.055em;
}

.hero h1 span {
    display: block;

    color: var(--muted);
}

.hero-copy {
    max-width: 680px;

    margin: 28px auto;

    color: var(--muted);

    font-size: 18px;
    line-height: 1.7;
}

.privacy-note {
    display: inline-flex;
    gap: 8px;
    align-items: center;

    color: #b9c5d1;

    font-size: 13px;
}

.privacy-note span {
    color: var(--accent);
}

.investigation-section {
    padding-bottom: 110px;
}

.section-heading {
    margin-bottom: 30px;
}

.section-heading h2 {
    margin: 8px 0 5px;
    font-size: 30px;
}

.section-heading p {
    margin: 0;
    color: var(--muted);
}

.cards {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 18px;
}

.investigation-card {
    min-height: 300px;

    padding: 26px;

    text-align: left;

    background:
        linear-gradient(
            145deg,
            var(--panel-2),
            var(--panel)
        );

    border: 1px solid var(--border);
    border-radius: var(--radius);

    cursor: pointer;

    transition:
        transform .2s ease,
        border-color .2s ease,
        box-shadow .2s ease;
}

.investigation-card:not(.disabled):hover {
    transform: translateY(-4px);

    border-color:
        rgba(102,240,194,.55);

    box-shadow:
        0 18px 60px rgba(0,0,0,.35);
}

.card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-icon {
    width: 46px;
    height: 46px;

    display: grid;
    place-items: center;

    background: var(--accent-soft);

    border: 1px solid
        rgba(102,240,194,.18);

    border-radius: 13px;

    font-size: 20px;
}

.available,
.coming {
    font-size: 9px;
    letter-spacing: .12em;
    font-weight: 800;
}

.available {
    color: var(--accent);
}

.coming {
    color: var(--muted);
}

.investigation-card h3 {
    margin: 35px 0 12px;
    font-size: 22px;
}

.investigation-card p {
    min-height: 74px;

    color: var(--muted);

    line-height: 1.6;
    font-size: 14px;
}

.card-action {
    margin-top: 25px;

    display: flex;
    justify-content: space-between;

    color: #dfe7ef;

    font-size: 13px;
    font-weight: 650;
}

.disabled {
    opacity: .46;
    cursor: not-allowed;
}

.form-section,
.progress-section,
.result-section {
    padding:
        30px 0
        110px;
}

.form-panel,
.progress-panel,
.result-panel {
    max-width: 760px;
    margin: auto;

    padding: 38px;

    background:
        rgba(13,17,23,.92);

    border: 1px solid var(--border);
    border-radius: 22px;
}

.back-button {
    padding: 0;

    background: transparent;
    border: 0;

    color: var(--muted);

    cursor: pointer;
}

.form-heading {
    margin: 40px 0 32px;
}

.form-heading h2 {
    margin: 9px 0;
    font-size: 32px;
}

.form-heading p {
    color: var(--muted);
    line-height: 1.6;
}

.field-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.field {
    margin-bottom: 20px;
}

.field label {
    display: block;

    margin-bottom: 8px;

    font-size: 13px;
    font-weight: 650;
}

.field input {
    width: 100%;

    padding: 15px 16px;

    color: white;

    background: #080c11;

    border: 1px solid var(--border);
    border-radius: 11px;

    outline: none;
}

.field input:focus {
    border-color:
        rgba(102,240,194,.65);

    box-shadow:
        0 0 0 3px
        rgba(102,240,194,.07);
}

.field small {
    display: block;

    margin-top: 7px;

    color: var(--muted);

    font-size: 11px;
}

.consent-box {
    display: flex;
    gap: 12px;

    margin: 15px 0 25px;

    padding: 16px;

    background: var(--accent-soft);

    border: 1px solid
        rgba(102,240,194,.15);

    border-radius: 11px;

    color: #b7c3cf;

    font-size: 12px;
    line-height: 1.55;
}

.consent-box input {
    margin-top: 3px;
}

.primary-button,
.secondary-button {
    width: 100%;

    padding: 16px 20px;

    border-radius: 11px;

    font-weight: 750;

    cursor: pointer;
}

.primary-button {
    display: flex;
    justify-content: space-between;

    background: var(--accent);
    color: #05110d;

    border: 0;
}

.primary-button:disabled {
    opacity: .5;
    cursor: wait;
}

.secondary-button {
    margin-top: 25px;

    background: transparent;

    color: white;

    border: 1px solid var(--border);
}

.form-error {
    margin-bottom: 18px;

    padding: 13px 15px;

    color: #ffc0c0;

    background:
        rgba(255,107,107,.08);

    border: 1px solid
        rgba(255,107,107,.2);

    border-radius: 10px;

    font-size: 13px;
}

.progress-panel,
.result-panel {
    text-align: center;
}

.scanner {
    position: relative;

    width: 100px;
    height: 100px;

    margin:
        10px auto
        32px;

    display: grid;
    place-items: center;
}

.scanner-core {
    width: 64px;
    height: 64px;

    display: grid;
    place-items: center;

    background: var(--accent-soft);

    border: 1px solid var(--accent);
    border-radius: 18px;

    color: var(--accent);

    font-size: 28px;
    font-weight: 850;
}

.scanner-ring {
    position: absolute;
    inset: 0;

    border: 1px solid
        rgba(102,240,194,.25);

    border-radius: 50%;

    animation:
        scan 1.8s infinite ease-out;
}

@keyframes scan {
    from {
        transform: scale(.65);
        opacity: 1;
    }

    to {
        transform: scale(1.35);
        opacity: 0;
    }
}

.progress-panel h2,
.result-panel h2 {
    margin: 12px 0;
    font-size: 31px;
}

.progress-panel p,
.result-panel p {
    color: var(--muted);
}

.progress-track {
    width: 100%;
    height: 5px;

    margin: 35px 0 18px;

    overflow: hidden;

    background: #161d26;

    border-radius: 10px;
}

.progress-bar {
    width: 12%;
    height: 100%;

    background: var(--accent);

    transition: width .6s ease;
}

.investigation-id {
    color: var(--muted);
    font-size: 11px;
}

.investigation-id code {
    color: #bac6d2;
}

.success-mark {
    width: 68px;
    height: 68px;

    margin:
        5px auto
        28px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background: var(--accent-soft);
    border: 1px solid var(--accent);

    color: var(--accent);

    font-size: 30px;
}

.result-stats {
    display: grid;
    grid-template-columns:
        repeat(3, 1fr);

    margin-top: 35px;

    border: 1px solid var(--border);
    border-radius: 14px;

    overflow: hidden;
}

.result-stats div {
    padding: 22px 10px;

    border-right:
        1px solid var(--border);
}

.result-stats div:last-child {
    border-right: 0;
}

.result-stats strong {
    display: block;

    font-size: 28px;
}

.result-stats span {
    display: block;

    margin-top: 5px;

    color: var(--muted);
    font-size: 11px;
}

footer {
    max-width: 1180px;

    margin: auto;

    padding: 35px 24px 55px;

    display: flex;
    justify-content: space-between;
    gap: 30px;

    border-top:
        1px solid rgba(255,255,255,.06);

    color: var(--muted);

    font-size: 11px;
}

footer strong {
    color: #dce5ed;
}

.hidden {
    display: none !important;
}

@media (
    max-width: 800px
) {

    .hero {
        margin-top: 65px;
    }

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

    .field-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .system-status {
        display: none;
    }

    .form-panel,
    .progress-panel,
    .result-panel {
        padding: 25px;
    }

    footer {
        flex-direction: column;
    }
}

.report-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 28px;
}

.report-primary,
.report-secondary {
    min-height: 54px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 18px;

    border-radius: 11px;

    text-decoration: none;
    font-size: 14px;
    font-weight: 750;

    transition:
        transform .18s ease,
        border-color .18s ease;
}

.report-primary {
    background: var(--accent);
    color: #05110d;
    border: 1px solid var(--accent);
}

.report-secondary {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border);
}

.report-primary:hover,
.report-secondary:hover {
    transform: translateY(-2px);
}

.report-secondary:hover {
    border-color:
        rgba(102,240,194,.55);
}

@media (max-width: 600px) {
    .report-actions {
        grid-template-columns: 1fr;
    }
}
