:root {
    --navy: #061a35;
    --blue: #0c5b9f;
    --sky: #65b8ff;
    --red: #c4213a;
    --ice: #edf7ff;
    --ink: #0a1b2b;
    --muted: #5c6e7d;
    --white: #fff;
    --shadow: 0 30px 80px rgba(5, 28, 55, .13)
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--ink);
    background: #f8fbfe;
    overflow-x: hidden
}

a {
    color: inherit
}

.wrap {
    width: min(1180px, calc(100% - 40px));
    margin: auto
}

.noise {
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: .025;
    z-index: 99;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E")
}

.hero {
    min-height: 94vh;
    background: radial-gradient(circle at 80% 20%, #144e7f 0, transparent 35%), linear-gradient(135deg, #04152c, #082b52 55%, #0c487b);
    color: #fff;
    position: relative;
    overflow: hidden
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 28px 0;
    position: relative;
    z-index: 3
}

.brand {
    text-decoration: none;
    font-weight: 800;
    letter-spacing: -.04em;
    font-size: 19px
}

.brand span {
    color: #8acbff
}

.brand-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--red);
    margin-right: 8px;
    box-shadow: 0 0 0 6px rgba(196, 33, 58, .15)
}

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

.navlinks a {
    text-decoration: none;
    font-size: 14px;
    color: #cfe8ff;
    transition: .25s
}

.navlinks a:hover {
    color: #fff
}

.hero-grid {
    min-height: calc(94vh - 90px);
    display: grid;
    grid-template-columns: 1.35fr .65fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 2;
    padding: 70px 0 110px
}

.eyebrow,
.section-kicker {
    text-transform: uppercase;
    letter-spacing: .18em;
    font-size: 12px;
    font-weight: 800;
    color: #78c2ff
}

h1 {
    font-size: clamp(55px, 8vw, 108px);
    line-height: .88;
    letter-spacing: -.065em;
    margin: 18px 0 30px;
    max-width: 900px
}

h1 em {
    font-style: normal;
    color: #ff5268
}

.lead {
    font-size: 20px;
    line-height: 1.65;
    color: #c4ddf2;
    max-width: 720px
}

.button {
    display: inline-flex;
    align-items: center;
    gap: 20px;
    padding: 16px 22px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 750;
    margin-top: 18px
}

.primary {
    background: #fff;
    color: var(--navy);
    box-shadow: 0 12px 40px rgba(0, 0, 0, .18)
}

.primary span {
    color: var(--red)
}

.hero-card {
    padding: 34px;
    border: 1px solid rgba(255, 255, 255, .16);
    background: rgba(255, 255, 255, .08);
    backdrop-filter: blur(18px);
    border-radius: 28px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .18);
    transform: rotate(2deg);
    animation: float 7s ease-in-out infinite
}

.big-number {
    font-size: 42px;
    font-weight: 900;
    letter-spacing: -.05em;
    margin: 18px 0
}

.hero-card p {
    font-size: 18px;
    line-height: 1.5
}

.hero-card small {
    color: #a9c9e2;
    line-height: 1.5
}

.pulse {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #ff425b;
    box-shadow: 0 0 0 0 rgba(255, 66, 91, .6);
    animation: pulse 2.2s infinite
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(2px);
    opacity: .5
}

.orb-a {
    width: 440px;
    height: 440px;
    background: radial-gradient(circle, #1d78c0, transparent 70%);
    right: -120px;
    top: 10%;
    animation: drift 12s ease-in-out infinite
}

.orb-b {
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, #c4213a, transparent 70%);
    left: -160px;
    bottom: -80px;
    animation: drift 10s ease-in-out infinite reverse
}

.intro {
    padding: 120px 0
}

.intro h2,
.section-head h2,
.sources h2,
.disclaimer h2 {
    font-size: clamp(38px, 5vw, 68px);
    line-height: 1;
    letter-spacing: -.05em;
    margin: 14px 0 35px
}

.intro h2 span {
    color: var(--red)
}

.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.75
}

.disease-section {
    padding: 110px 0;
    background: #eaf4fb;
    position: relative
}

.quiz-section {
    padding: 110px 0;
    background: var(--navy);
    color: var(--white)
}

.quiz-layout {
    display: grid;
    grid-template-columns: .82fr 1.18fr;
    gap: 90px;
    align-items: start
}

.quiz-intro {
    position: sticky;
    top: 30px
}

.quiz-intro h2 {
    font-size: clamp(38px, 5vw, 64px);
    line-height: 1;
    letter-spacing: -.05em;
    margin: 14px 0 28px
}

.quiz-intro p {
    color: #c4ddf2;
    font-size: 17px;
    line-height: 1.7;
    max-width: 480px
}

.quiz-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    margin-top: 36px
}

.quiz-facts span {
    color: #8acbff;
    font-size: 24px;
    font-weight: 900;
    letter-spacing: -.03em
}

.quiz-facts small {
    display: block;
    color: #a9c9e2;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .04em;
    margin-top: 5px;
    text-transform: uppercase
}

.quiz-panel {
    min-height: 480px;
    padding: 34px;
    border: 1px solid rgba(255, 255, 255, .16);
    background: rgba(255, 255, 255, .07);
    box-shadow: 0 30px 80px rgba(0, 0, 0, .18)
}

.quiz-progress {
    display: flex;
    align-items: center;
    gap: 18px;
    color: #c4ddf2;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase
}

.quiz-progress-track {
    height: 7px;
    flex: 1;
    overflow: hidden;
    background: rgba(255, 255, 255, .16)
}

.quiz-progress-track span {
    display: block;
    width: 0;
    height: 100%;
    background: #ff5268;
    transition: width .35s ease
}

#quiz-question h3,
#quiz-result h3 {
    font-size: clamp(25px, 3vw, 38px);
    line-height: 1.15;
    letter-spacing: -.03em;
    margin: 42px 0 28px
}

.quiz-answers {
    display: grid;
    gap: 11px
}

.quiz-answer,
.quiz-next,
.quiz-restart,
.share-button {
    font: inherit;
    cursor: pointer
}

.quiz-answer {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 16px;
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 0;
    background: transparent;
    color: var(--white);
    font-weight: 700;
    line-height: 1.4;
    text-align: left;
    transition: background .2s, border-color .2s, transform .2s
}

.quiz-answer:hover:not(:disabled),
.quiz-answer:focus-visible {
    border-color: #8acbff;
    background: rgba(138, 203, 255, .13);
    transform: translateX(5px)
}

.quiz-answer span {
    display: grid;
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .4);
    border-radius: 50%;
    color: #8acbff;
    font-size: 12px
}

.quiz-answer.correct {
    border-color: #6dd9a7;
    background: rgba(55, 166, 111, .25)
}

.quiz-answer.incorrect {
    border-color: #ff7c8c;
    background: rgba(196, 33, 58, .25)
}

.quiz-answer:disabled {
    cursor: default
}

.quiz-feedback {
    margin-top: 22px;
    padding: 19px;
    border-left: 3px solid #8acbff;
    background: rgba(138, 203, 255, .12)
}

.quiz-feedback.is-correct {
    border-left-color: #6dd9a7
}

.quiz-feedback.is-incorrect {
    border-left-color: #ff7c8c
}

.quiz-feedback p,
#quiz-result>p {
    margin: 7px 0 0;
    color: #c4ddf2;
    line-height: 1.55
}

.quiz-next,
.share-button,
.quiz-restart {
    margin-top: 18px;
    padding: 12px 16px;
    border: 0;
    border-radius: 0;
    background: #fff;
    color: var(--navy);
    font-weight: 900
}

.quiz-next:hover,
.share-button:hover,
.quiz-restart:hover {
    background: #8acbff
}

.result-kicker {
    color: #8acbff !important;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase
}

.quiz-score {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 22px
}

.quiz-score strong {
    color: #ff5268;
    font-size: 86px;
    letter-spacing: -.07em;
    line-height: .8
}

.quiz-score span {
    color: #c4ddf2;
    font-weight: 800;
    line-height: 1.25
}

.quiz-ranking {
    min-height: 50px;
    color: #8acbff !important;
    font-weight: 800
}

.share-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 25px
}

.share-actions a,
.share-network {
    padding: 12px 0;
    border: 0;
    background: transparent;
    color: #8acbff;
    cursor: pointer;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none
}

.share-actions a:hover,
.share-actions a:focus-visible,
.share-network:hover,
.share-network:focus-visible {
    color: var(--white);
    text-decoration: underline;
    text-underline-offset: 4px
}

.quiz-restart {
    margin-top: 22px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, .35);
    color: var(--white)
}

@media(max-width:800px) {
    .quiz-layout {
        grid-template-columns: 1fr;
        gap: 45px
    }

    .quiz-intro {
        position: static
    }
}

@media(max-width:650px) {
    .quiz-section {
        padding: 80px 0
    }

    .quiz-panel {
        min-height: 0;
        padding: 23px
    }

    .quiz-progress {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px
    }

    .quiz-progress-track {
        width: 100%;
        flex: auto
    }

    .quiz-facts {
        gap: 20px
    }
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 40px;
    margin-bottom: 55px
}

.controls {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end
}

.sort {
    border: 1px solid #b8cbd9;
    background: #fff;
    color: #244157;
    padding: 11px 15px;
    border-radius: 999px;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: .2s
}

.sort:hover,
.sort.active {
    background: var(--navy);
    color: #fff;
    border-color: var(--navy)
}

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

.card {
    background: #fff;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 12px 42px rgba(5, 40, 70, .07);
    display: grid;
    grid-template-columns: 190px 1fr;
    min-height: 300px;
    opacity: 0;
    transform: translateY(22px);
    transition: transform .55s cubic-bezier(.2, .8, .2, 1), opacity .55s, box-shadow .35s
}

.card.visible {
    opacity: 1;
    transform: none
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow)
}

.visual {
    position: relative;
    overflow: hidden
}

.visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .7s
}

.card:hover .visual img {
    transform: scale(1.06)
}

.rank {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(3, 18, 36, .78);
    color: #fff;
    border-radius: 999px;
    padding: 8px 10px;
    font-size: 11px;
    font-weight: 800;
    backdrop-filter: blur(8px)
}

.card-body {
    padding: 26px
}

.tag {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .14em;
    color: var(--red);
    font-weight: 850
}

.card h3 {
    font-size: 25px;
    letter-spacing: -.035em;
    margin: 8px 0 15px;
    line-height: 1.05
}

.facts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    border-top: 1px solid #e3edf4;
    border-bottom: 1px solid #e3edf4;
    padding: 14px 0;
    margin-bottom: 14px
}

.fact span {
    display: block;
    color: #8093a1;
    text-transform: uppercase;
    font-size: 9px;
    letter-spacing: .12em;
    font-weight: 800
}

.fact strong {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    line-height: 1.35
}

.story {
    color: #526a7b;
    font-size: 14px;
    line-height: 1.58
}

.therapy {
    background: #f2f8fc;
    border-left: 3px solid var(--blue);
    padding: 12px 14px;
    border-radius: 0 10px 10px 0;
    font-size: 13px;
    line-height: 1.5;
    margin: 14px 0
}

.therapy strong {
    color: var(--blue)
}

.source-btn {
    display: inline-flex;
    text-decoration: none;
    color: var(--red);
    font-weight: 800;
    font-size: 12px;
    align-items: center;
    gap: 8px
}

.source-btn:after {
    content: "↗";
    transition: .2s
}

.source-btn:hover:after {
    transform: translate(2px, -2px)
}

.sources {
    padding: 110px 0
}

.sources p {
    max-width: 850px;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.75
}

.source-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    margin: 38px 0 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid var(--line)
}

.source-list li {
    border-bottom: 1px solid var(--line)
}

.source-list a {
    display: block;
    padding: 16px 0;
    color: var(--ink);
    font-weight: 800;
    text-decoration: none
}

.source-list a:hover,
.source-list a:focus-visible {
    color: var(--red);
    text-decoration: underline;
    text-underline-offset: 4px
}

.source-list li:nth-child(odd) {
    padding-right: 28px
}

.source-list li:nth-child(even) {
    padding-left: 28px;
    border-left: 1px solid var(--line)
}

.disclaimer {
    background: var(--red);
    color: #fff;
    padding: 80px 0
}

.disclaimer-grid {
    display: grid;
    grid-template-columns: .55fr 1fr;
    gap: 80px;
    align-items: start
}

.disclaimer h2 {
    margin: 0
}

.disclaimer p {
    font-size: 17px;
    line-height: 1.7;
    margin: 5px 0;
    color: #ffe7eb
}

footer {
    background: #04152c;
    color: #fff;
    padding: 50px 0
}

.footer-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px
}

.footer-grid p {
    color: #8cabc4;
    font-size: 13px
}

.footer-link {
    background: none;
    border: 0;
    color: #cce3f6;
    text-decoration: underline;
    text-underline-offset: 4px;
    font: inherit;
    cursor: pointer;
    margin-left: 18px
}

dialog {
    width: min(680px, calc(100% - 32px));
    border: 0;
    border-radius: 24px;
    padding: 35px 38px;
    color: var(--ink);
    box-shadow: 0 40px 120px rgba(0, 0, 0, .35)
}

dialog::backdrop {
    background: rgba(2, 14, 29, .74);
    backdrop-filter: blur(6px)
}

dialog h2 {
    font-size: 34px;
    margin: 0 0 22px
}

.close {
    position: absolute;
    right: 18px;
    top: 14px;
    border: 0;
    background: #edf4f8;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    font-size: 24px;
    cursor: pointer
}

.legal-placeholder {
    background: #fff0f2;
    border: 1px solid #ffc3cb;
    border-radius: 14px;
    padding: 16px;
    line-height: 1.6
}

.small {
    font-size: 12px;
    color: #667d8d;
    line-height: 1.6
}

@keyframes pulse {
    70% {
        box-shadow: 0 0 0 18px rgba(255, 66, 91, 0)
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 66, 91, 0)
    }
}

@keyframes float {
    50% {
        transform: translateY(-12px) rotate(-1deg)
    }
}

@keyframes drift {
    50% {
        transform: translate(50px, 40px) scale(1.12)
    }
}

@media(max-width:950px) {
    .hero-grid {
        grid-template-columns: 1fr
    }

    .hero-card {
        max-width: 560px
    }

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

    .section-head {
        align-items: flex-start;
        flex-direction: column
    }

    .controls {
        justify-content: flex-start
    }

    .disclaimer-grid {
        grid-template-columns: 1fr;
        gap: 20px
    }
}

@media(max-width:650px) {
    .wrap {
        width: min(100% - 26px, 1180px)
    }

    .navlinks {
        display: none
    }

    .hero {
        min-height: auto
    }

    .hero-grid {
        padding: 70px 0 90px
    }

    .hero-card {
        transform: none
    }

    .intro {
        padding: 80px 0
    }

    .intro-grid {
        grid-template-columns: 1fr;
        gap: 15px
    }

    .disease-section {
        padding: 80px 0
    }

    .cards {
        gap: 18px
    }

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

    .visual {
        height: 190px
    }

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

    .sources {
        padding: 80px 0
    }

    .source-list {
        grid-template-columns: 1fr
    }

    .source-list li:nth-child(odd) {
        padding-right: 0
    }

    .source-list li:nth-child(even) {
        padding-left: 0;
        border-left: 0
    }

    .footer-grid {
        align-items: flex-start;
        flex-direction: column
    }

    .footer-link {
        margin: 0 18px 0 0
    }
}

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

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

    .card {
        opacity: 1;
        transform: none
    }
}