:root {
    --bg0: #050811;
    --bg1: #0a1020;
    --bg2: #0d1630;

    --panel: rgba(255, 255, 255, 0.045);
    --panel2: rgba(255, 255, 255, 0.06);
    --border: rgba(255, 255, 255, 0.10);

    --text: rgba(255, 255, 255, 0.94);
    --muted: rgba(255, 255, 255, 0.64);

    --accent: #77B6FF;
    --accent2: #A78BFA;
    --cyan: #62e8ff;
    --good: #34D399;
    --warn: #FBBF24;
    --low: #FB7185;

    --shadow: 0 18px 50px rgba(0, 0, 0, 0.55);
    --radius: 18px;
    --maxw: 1180px;

    --bg-deep-1: #07122a;
    --bg-deep-2: #0a1837;
    --bg-deep-3: #1a2352;

    --panel-bg: linear-gradient(145deg,
            rgba(95, 108, 184, 0.16) 0%,
            rgba(70, 83, 160, 0.12) 45%,
            rgba(38, 50, 106, 0.12) 100%);

    --panel-border: rgba(255, 255, 255, 0.09);
    --panel-highlight: rgba(255, 255, 255, 0.06);
    --text-main: rgba(255, 255, 255, 0.96);
    --text-soft: rgba(223, 230, 255, 0.78);
    --text-muted: rgba(210, 218, 246, 0.64);

    --bar-track: rgba(255, 255, 255, 0.08);
    --bar-fill: linear-gradient(90deg, #7ca7ff 0%, #a98cff 48%, #61e7ff 100%);
}

* {
    box-sizing: border-box;
}

html,
body {
    height: 100%;
}

/* body {
    margin: 0;
    color: var(--text);
    font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
    background:
        radial-gradient(900px 480px at 12% -8%, rgba(119, 182, 255, 0.11), transparent 50%),
        radial-gradient(700px 380px at 84% 3%, rgba(167, 139, 250, 0.10), transparent 50%),
        linear-gradient(180deg, #0b1124 0%, #08101f 38%, #050811 100%);
    overflow-x: hidden;
} */

body {
    margin: 0;
    color: var(--text);
    font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;

    /* REMOVE multi radial stacking */
    background: linear-gradient(180deg, #070d18 0%, #04070d 100%);

    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 34px 34px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.35), transparent 85%);
    opacity: 0.18;
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

/* layout */
.topbar-inner,
.container,
.footer-inner {
    width: min(var(--maxw), calc(100% - 56px));
    margin: 0 auto;
}

.container {
    padding: 28px 0 70px;
    position: relative;
    z-index: 1;
}

/* topbar */
.topbar {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    background: linear-gradient(180deg, rgba(7, 10, 15, 0.88), rgba(7, 10, 15, 0.58));
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    padding: 16px 0;
}

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

.brand-mark {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle at 30% 30%, rgba(98, 232, 255, 0.34), transparent 45%),
        linear-gradient(135deg, rgba(119, 182, 255, 0.20), rgba(167, 139, 250, 0.14));
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 10px 20px rgba(0, 0, 0, 0.28);
    font-weight: 900;
    color: #fff;
    font-size: 14px;
}

.brand-copy {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.brand .name {
    font-weight: 900;
    font-size: 20px;
    letter-spacing: -0.3px;
    line-height: 1;
}

.brand .tag {
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 9px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.80);
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
}

.dot,
.badge .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--good);
    box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.12);
}

/* hero */
.hero-shell {
    margin-top: 22px;
    border-radius: 38px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background:
        radial-gradient(circle at 18% 20%, rgba(73, 120, 255, 0.16), transparent 30%),
        radial-gradient(circle at 82% 18%, rgba(166, 103, 255, 0.16), transparent 28%),
        linear-gradient(135deg, #071129 0%, #081533 35%, #0d1a45 70%, #121d4d 100%);
    box-shadow:
        0 24px 80px rgba(0, 0, 0, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    padding: 42px;
}



.hero {
    display: grid;
    grid-template-columns: 1.35fr 0.8fr;
    gap: 22px;
    padding: 0;
}

.hero h1 {
    margin: 0 0 12px;
    font-size: 60px;
    line-height: 1.02;
    letter-spacing: -1.6px;
}

.hero p {
    margin: 0 0 22px;
    color: var(--muted);
    line-height: 1.65;
    font-size: 17px;
    max-width: 72ch;
}

.hero-kickers {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.11);
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.82);
    font-size: 13px;
    font-weight: 800;
}

/* glass + stats */
.glass-panel {
    border: 1px solid rgba(255, 255, 255, 0.10);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.03));
    border-radius: 22px;
    padding: 18px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.panel-label {
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 11px;
    font-weight: 900;
    margin-bottom: 10px;
}

.hero-stat {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 14px;
}

.hero-stat-card {
    border-radius: 18px;
    padding: 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-stat-card .k {
    color: var(--muted);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-weight: 900;
    margin-bottom: 6px;
}

.hero-stat-card .v {
    font-size: 24px;
    font-weight: 900;
}

/* controls */
.controls {
    margin-top: 18px;
    display: grid;
    grid-template-columns: 1.6fr 0.7fr auto;
    gap: 12px;
    align-items: center;
    padding: 16px;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    background: rgba(255, 255, 255, 0.04);
}

.control-group {
    display: grid;
    gap: 7px;
}

.control-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-weight: 900;
    color: var(--muted);
}

.control-input,
.control-select {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.10);
    background: rgba(0, 0, 0, 0.26);
    color: #fff;
    border-radius: 14px;
    padding: 12px 14px;
    font-size: 14px;
    outline: none;
}

.control-submit {
    margin-top: 18px;
    align-self: end;
    border: 1px solid rgba(119, 182, 255, 0.24);
    background: linear-gradient(135deg, rgba(119, 182, 255, 0.18), rgba(167, 139, 250, 0.14));
    color: #fff;
    border-radius: 14px;
    padding: 12px 18px;
    font-weight: 800;
    cursor: pointer;
}

/* results shell */
.results-shell {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    border-radius: 32px;
}

.results-shell::after {
    display: none;
}

.results-shell>* {
    position: relative;
    z-index: 1;
}

/* grid + cards */
.grid {
    margin-top: 18px;
    display: grid;
    gap: 14px;
}

.card {
    display: block;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    border: 1px solid rgba(255, 255, 255, 0.10);
    background:
        radial-gradient(circle at top right, rgba(118, 94, 255, 0.08), transparent 34%),
        radial-gradient(circle at bottom left, rgba(73, 183, 255, 0.06), transparent 28%),
        linear-gradient(180deg, rgba(13, 21, 45, 0.94), rgba(10, 18, 39, 0.96));
    border-radius: 20px;
    padding: 20px;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        0 14px 36px rgba(0, 0, 0, 0.32);
    transition: transform 0.12s ease, border-color 0.12s ease, background 0.12s ease, box-shadow 0.12s ease;
}

.card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg,
            transparent 0%,
            rgba(126, 135, 255, 0.04) 35%,
            rgba(87, 214, 255, 0.05) 55%,
            transparent 100%);
    pointer-events: none;
    z-index: 0;
}

.card>* {
    position: relative;
    z-index: 1;
}

.card:hover {
    transform: translateY(-1px);
    border-color: rgba(119, 182, 255, 0.28);
    background:
        radial-gradient(circle at top right, rgba(118, 94, 255, 0.10), transparent 34%),
        radial-gradient(circle at bottom left, rgba(73, 183, 255, 0.08), transparent 28%),
        linear-gradient(180deg, rgba(15, 24, 50, 0.96), rgba(11, 20, 43, 0.98));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        0 16px 40px rgba(0, 0, 0, 0.40);
}

.titleline {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.pmid {
    flex: 0 0 auto;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-weight: 900;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.82);
    padding: 5px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    background: rgba(255, 255, 255, 0.03);
    line-height: 1;
    margin-top: 3px;
    white-space: nowrap;
}

.card h2,
.card h3 {
    margin: 0;
    line-height: 1.35;
    letter-spacing: -0.3px;
    color: rgba(255, 255, 255, 0.94);
}

.card h2 {
    font-size: 15px;
}

.card h3 {
    font-size: 20px;
}

.card:hover h2,
.card:hover h3 {
    color: var(--accent);
    text-shadow: 0 0 10px rgba(119, 182, 255, 0.20);
}

.summary,
.why {
    margin-top: 10px;
    color: var(--muted);
    line-height: 1.6;
    font-size: 14px;
    max-width: 90ch;
}

.meta {
    margin-top: 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    color: var(--muted);
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    background: rgba(0, 0, 0, 0.22);
    font-size: 13px;
    line-height: 1;
}

.chip strong {
    color: rgba(255, 255, 255, 0.82);
    font-weight: 900;
}

.chip.score {
    border-color: rgba(119, 182, 255, 0.18);
}

.chip.score strong {
    color: var(--accent);
}

.chip.score.high {
    border-color: rgba(52, 211, 153, 0.35);
    background: rgba(52, 211, 153, 0.10);
    box-shadow: 0 0 14px rgba(52, 211, 153, 0.25);
}

.chip.score.high strong {
    color: var(--good);
}

.chip.score.medium {
    border-color: rgba(119, 182, 255, 0.35);
    background: rgba(119, 182, 255, 0.10);
}

.chip.score.medium strong {
    color: var(--accent);
}

.chip.score.warn {
    border-color: rgba(251, 191, 36, 0.35);
    background: rgba(251, 191, 36, 0.10);
}

.chip.score.warn strong {
    color: var(--warn);
}

.chip.score.low {
    border-color: rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.06);
}

.chip.score.low strong {
    color: rgba(255, 255, 255, 0.75);
}

/* grades */
.grade-A {
    border-color: rgba(52, 211, 153, 0.35);
}

.grade-A strong {
    color: var(--good);
}

.grade-B {
    border-color: rgba(119, 182, 255, 0.35);
}

.grade-B strong {
    color: var(--accent);
}

.grade-C {
    border-color: rgba(251, 191, 36, 0.35);
}

.grade-C strong {
    color: var(--warn);
}

.grade-D,
.grade-E,
.grade-U {
    border-color: rgba(251, 113, 133, 0.25);
}

.grade-D strong,
.grade-E strong,
.grade-U strong {
    color: var(--low);
}

/* paper page */
.paper {
    margin-top: 18px;
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    background: rgba(255, 255, 255, 0.04);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.paper h1 {
    margin: 0 0 10px 0;
    font-size: 26px;
    letter-spacing: -0.4px;
}

.paper .back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.75);
    font-weight: 700;
}

.paper pre {
    margin: 14px 0 0 0;
    padding: 14px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    background: rgba(0, 0, 0, 0.28);
    color: rgba(255, 255, 255, 0.78);
    white-space: pre-wrap;
    line-height: 1.5;
    font-size: 13px;
}

/* signal panel */
.signal-panel {
    width: 100%;
    max-width: 560px;
    padding: 6px;
    border-radius: 34px;
    background:
        radial-gradient(circle at top right, rgba(155, 108, 255, 0.14), transparent 34%),
        radial-gradient(circle at bottom left, rgba(67, 180, 255, 0.12), transparent 32%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.32),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.signal-overview-card {
    border-radius: 30px;
    padding: 28px 28px 24px 28px;
    background: var(--panel-bg);
    border: 1px solid var(--panel-border);
    box-shadow:
        inset 0 1px 0 var(--panel-highlight),
        inset 0 -20px 60px rgba(15, 20, 48, 0.22),
        0 10px 30px rgba(8, 13, 35, 0.22);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.signal-label {
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0.22em;
    color: var(--text-muted);
    margin-bottom: 22px;
}

.signal-row {
    display: grid;
    grid-template-columns: 118px 1fr;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.signal-row span {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-main);
}

.signal-bar {
    height: 12px;
    border-radius: 999px;
    background: var(--bar-track);
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.2);
}

.signal-fill {
    height: 100%;
    border-radius: 999px;
    background: var(--bar-fill);
    box-shadow:
        0 0 16px rgba(123, 185, 255, 0.28),
        0 0 24px rgba(132, 115, 255, 0.14);
    transition: width 0.4s ease;
}

.signal-fill.coverage {
    width: 88%;
}

.signal-fill.scoring {
    width: 24%;
}

.signal-fill.ai {
    width: 18%;
}

.signal-fill.alt {
    background: linear-gradient(90deg, #34D399, #62e8ff);
}

.signal-fill.alt2 {
    background: linear-gradient(90deg, #A78BFA, #F472B6);
}

.signal-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 18px;
}

.signal-stat-card {
    min-height: 130px;
    border-radius: 28px;
    padding: 24px 24px 20px 24px;
    background: linear-gradient(180deg,
            rgba(122, 132, 201, 0.13) 0%,
            rgba(68, 78, 146, 0.11) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        0 12px 28px rgba(7, 10, 28, 0.18);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.signal-stat-label {
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    color: var(--text-muted);
}

.signal-stat-value {
    font-size: clamp(2.1rem, 4vw, 3.5rem);
    line-height: 1;
    font-weight: 800;
    color: var(--text-main);
    letter-spacing: -0.04em;
}

/* optional paper-card support */
.paper-card,
.paper-row,
.result-card {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    border-radius: 28px;
}

.paper-card {
    background:
        radial-gradient(circle at top right, rgba(118, 94, 255, 0.10), transparent 34%),
        radial-gradient(circle at bottom left, rgba(73, 183, 255, 0.08), transparent 28%),
        linear-gradient(180deg, rgba(13, 21, 45, 0.94), rgba(10, 18, 39, 0.96));
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        0 14px 36px rgba(0, 0, 0, 0.28);
}

.paper-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg,
            transparent 0%,
            rgba(126, 135, 255, 0.04) 35%,
            rgba(87, 214, 255, 0.05) 55%,
            transparent 100%);
    pointer-events: none;
    z-index: 0;
}

.paper-card>* {
    position: relative;
    z-index: 1;
}

/* pagination */
.pagination {
    margin-top: 22px;
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.page-link,
.page-current {
    padding: 10px 14px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    background: rgba(255, 255, 255, 0.04);
    font-size: 14px;
    font-weight: 800;
}

.page-current {
    border-color: rgba(119, 182, 255, 0.24);
    color: var(--accent);
}

/* footer */
.footer {
    margin-top: 60px;
    padding: 40px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.35));
    position: relative;
}

.footer::before {
    content: "";
    position: absolute;
    top: -1px;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(119, 182, 255, 0.4), transparent);
}

.footer-inner {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-title {
    font-size: 12px;
    letter-spacing: 0.18em;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 10px;
}

.footer-text {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.75);
}

.footer-link a {
    font-size: 16px;
    font-weight: 800;
    color: #7dd3fc;
}

.footer-link a:hover {
    text-decoration: underline;
    color: #a5f3fc;
}

/* responsive */
@media (max-width: 980px) {

    .hero,
    .hero-stat,
    .controls,
    .footer-inner {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .signal-panel {
        max-width: 100%;
    }

    .signal-overview-card {
        padding: 22px;
        border-radius: 26px;
    }

    .signal-row {
        grid-template-columns: 96px 1fr;
        gap: 12px;
    }

    .signal-row span {
        font-size: 0.95rem;
    }

    .signal-stats-grid {
        grid-template-columns: 1fr;
    }

    .signal-stat-card {
        min-height: 115px;
    }

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

@media (max-width: 720px) {

    .topbar-inner,
    .container,
    .footer-inner {
        width: min(var(--maxw), calc(100% - 28px));
    }

    .hero-shell {
        padding: 26px;
        border-radius: 28px;
    }

    .hero h1 {
        font-size: 42px;
    }

    .titleline {
        flex-direction: column;
    }

    .signal-row {
        margin-top: 14px;
    }

    .signal-label {
        font-size: 12px;
        margin-bottom: 6px;
        font-weight: 700;
    }

    .signal-bar {
        height: 8px;
    }
}


/* .hero-shell {
    outline: 2px solid red !important;
} */

.app-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

body {
    margin: 0;
    color: var(--text);
    font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
    background:
        radial-gradient(760px 320px at 18% -4%, rgba(119, 182, 255, 0.06), transparent 60%),
        radial-gradient(620px 260px at 80% 3%, rgba(167, 139, 250, 0.05), transparent 58%),
        linear-gradient(180deg, #080f1d 0%, #060b15 48%, #04070d 100%);
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(rgba(255, 255, 255, 0.012) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.012) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.22), transparent 78%);
    opacity: 0.16;
}

body {
    margin: 0;
    color: var(--text);
    font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
    background: linear-gradient(180deg, #070d18 0%, #04070d 100%);
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 340px;
    pointer-events: none;
    z-index: 0;
    background:
        radial-gradient(900px 320px at 14% -8%, rgba(119, 182, 255, 0.12), transparent 62%),
        radial-gradient(700px 260px at 82% 0%, rgba(167, 139, 250, 0.10), transparent 60%);
}

.topbar,
.container,
.footer {
    position: relative;
    z-index: 1;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 280px;
    pointer-events: none;
    z-index: 0;
    background:
        radial-gradient(760px 260px at 16% -6%, rgba(119, 182, 255, 0.09), transparent 64%),
        radial-gradient(620px 220px at 80% 0%, rgba(167, 139, 250, 0.08), transparent 62%);
}

.partner-shell {
    margin: 28px 0 32px;
}

.partner-panel {
    border: 1px solid rgba(125, 211, 252, 0.16);
    background:
        radial-gradient(circle at top left, rgba(94, 234, 212, 0.11), transparent 30%),
        radial-gradient(circle at bottom right, rgba(96, 165, 250, 0.10), transparent 32%),
        rgba(6, 18, 34, 0.78);
    border-radius: 28px;
    padding: clamp(26px, 4vw, 46px);
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.32);
}

.section-kicker {
    color: #7dd3fc;
    font-size: 12px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-weight: 800;
    margin-bottom: 12px;
}

.partner-panel h2 {
    margin: 0;
    max-width: 900px;
    font-size: clamp(34px, 5vw, 64px);
    line-height: 0.98;
    letter-spacing: -0.05em;
    color: #f4fbff;
}

.section-lede {
    margin-top: 22px;
    max-width: 920px;
    color: #b7c9d8;
    font-size: 18px;
    line-height: 1.7;
}

.partner-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 30px;
}

.partner-card {
    border: 1px solid rgba(255, 255, 255, 0.09);
    background: rgba(4, 14, 28, 0.72);
    border-radius: 22px;
    padding: 24px;
}

.partner-icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: rgba(125, 211, 252, 0.12);
    color: #7dd3fc;
    font-size: 24px;
    font-weight: 900;
    margin-bottom: 18px;
}

.partner-card h3 {
    margin: 0 0 10px;
    color: #eaf7ff;
    font-size: 20px;
}

.partner-card p {
    margin: 0;
    color: #9fb5c7;
    line-height: 1.65;
    font-size: 15px;
}

.velocity-panel {
    margin-top: 22px;
    display: grid;
    grid-template-columns: 0.9fr 1.3fr;
    gap: 26px;
    align-items: center;
    border: 1px solid rgba(94, 234, 212, 0.15);
    background: rgba(10, 28, 48, 0.72);
    border-radius: 22px;
    padding: 26px;
}

.velocity-panel h3 {
    margin: 0;
    color: #f4fbff;
    font-size: clamp(24px, 3vw, 36px);
    line-height: 1.05;
    letter-spacing: -0.03em;
}

.velocity-panel p {
    margin: 0;
    color: #b7c9d8;
    line-height: 1.7;
}

.partner-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 26px;
}

.partner-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 800;
}

.partner-button.primary {
    background: linear-gradient(90deg, #7dd3fc, #5eead4);
    color: #03101d;
}

.partner-button.secondary {
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #dceeff;
    background: rgba(255, 255, 255, 0.04);
}

@media (max-width: 900px) {

    .partner-grid,
    .velocity-panel {
        grid-template-columns: 1fr;
    }
}

.system-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 12px 0 20px;
    padding: 8px 14px;
    border: 1px solid rgba(100, 255, 218, 0.28);
    border-radius: 999px;
    background: rgba(0, 20, 28, 0.72);
    color: #9fffe6;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.paper-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    margin-top: 10px;
    color: rgba(235, 245, 255, 0.68);
    font-size: 0.82rem;
}

.paper-score-row {
    display: flex;
    gap: 10px;
    margin-top: 14px;
}

.score-box {
    min-width: 72px;
    padding: 10px 12px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
}

.score-label {
    display: block;
    margin-bottom: 4px;
    color: rgba(235, 245, 255, 0.58);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.score-box strong {
    color: #ffffff;
    font-size: 1.05rem;
}

.last-ingest-pill {
    display: inline-flex;
    align-items: center;
    gap: 12px;

    margin-top: 10px;
    margin-bottom: 26px;

    padding: 10px 16px;

    border-radius: 999px;

    background: rgba(0, 255, 180, 0.07);
    border: 1px solid rgba(0, 255, 180, 0.18);

    color: #cffff1;
}

.last-ingest-label {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: #7dffe0;
}

.last-ingest-time {
    font-size: 0.9rem;
    font-weight: 700;
    color: #ffffff;
}

.last-ingest-pill {
    display: inline-flex;
    align-items: center;
    gap: 12px;

    margin-top: 10px;
    margin-bottom: 26px;

    padding: 10px 16px;

    border-radius: 999px;

    background: rgba(0, 255, 180, 0.07);
    border: 1px solid rgba(0, 255, 180, 0.18);

    color: #cffff1;
}

.last-ingest-label {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: #7dffe0;
}

.last-ingest-time {
    font-size: 0.9rem;
    font-weight: 700;
    color: #ffffff;
}

/* =========================================================
   MILLION DOLLAR NEUROCOMPUTE FOOTER
   ========================================================= */

.site-footer-premium {
    position: relative;
    overflow: hidden;

    padding: 70px 50px 50px 50px;

    background:
        radial-gradient(circle at top left,
            rgba(255, 255, 255, 0.05) 0%,
            transparent 30%),

        radial-gradient(circle at bottom right,
            rgba(120, 120, 120, 0.08) 0%,
            transparent 35%),

        linear-gradient(180deg,
            #0b0b0c 0%,
            #111214 35%,
            #090909 100%);

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

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.04),
        0 -10px 40px rgba(0, 0, 0, 0.65);

    color: #f3f3f3;

    font-family:
        "Inter",
        "Helvetica Neue",
        sans-serif;
}

/* subtle animated glow line */
.site-footer-premium::before {
    content: "";

    position: absolute;
    top: 0;
    left: 0;

    width: 100%;
    height: 1px;

    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.35),
            rgba(160, 160, 160, 0.7),
            rgba(255, 255, 255, 0.35),
            transparent);
}

/* =========================================================
   GRID LAYOUT
   ========================================================= */

.footer-shell {
    display: grid;

    grid-template-columns:
        1.3fr 1fr 0.7fr;

    gap: 50px;

    align-items: start;

    margin-bottom: 45px;
}

/* =========================================================
   TYPOGRAPHY
   ========================================================= */

.footer-kicker {
    display: inline-block;

    margin-bottom: 18px;

    padding-bottom: 6px;

    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;

    color: #9c9c9c;

    border-bottom:
        1px solid rgba(255, 255, 255, 0.12);

    font-family:
        "IBM Plex Sans",
        "Inter",
        sans-serif;
}

.footer-mainline {
    margin-bottom: 18px;

    font-size: 30px;
    font-weight: 700;
    letter-spacing: -1px;

    color: #ffffff;

    font-family:
        "Space Grotesk",
        "Helvetica Neue",
        sans-serif;

    text-shadow:
        0 0 12px rgba(255, 255, 255, 0.05);
}

.footer-copy {
    max-width: 540px;

    font-size: 15px;
    line-height: 1.9;
    font-weight: 400;

    color: #c8c8c8;
}

/* =========================================================
   EMAIL
   ========================================================= */

.footer-email {
    position: relative;

    display: inline-block;

    margin-top: 12px;

    color: #ffffff;

    text-decoration: none;

    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.3px;

    transition:
        color 0.25s ease,
        transform 0.25s ease;
}

.footer-email::after {
    content: "";

    position: absolute;
    left: 0;
    bottom: -5px;

    width: 100%;
    height: 1px;

    background:
        linear-gradient(90deg,
            rgba(255, 255, 255, 0.6),
            rgba(140, 140, 140, 0.15));

    transform: scaleX(0.4);
    transform-origin: left;

    transition: transform 0.25s ease;
}

.footer-email:hover {
    color: #ffffff;

    transform: translateY(-1px);
}

.footer-email:hover::after {
    transform: scaleX(1);
}

/* =========================================================
   DISCLAIMER BLOCK
   ========================================================= */

.footer-disclaimer {
    position: relative;

    padding: 34px;

    border-radius: 18px;

    background:
        linear-gradient(180deg,
            rgba(255, 255, 255, 0.03),
            rgba(255, 255, 255, 0.015));

    border:
        1px solid rgba(255, 255, 255, 0.07);

    backdrop-filter: blur(6px);

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.03),
        0 8px 30px rgba(0, 0, 0, 0.35);
}

.footer-disclaimer-text {
    font-size: 13px;

    line-height: 2;

    color: #9e9e9e;

    font-weight: 400;

    letter-spacing: 0.1px;
}

/* =========================================================
   OPTIONAL SPOT COLOR HIGHLIGHTS
   ========================================================= */

.footer-mainline,
.footer-email:hover {
    color: #d7dde6;
}

.footer-kicker {
    color: #7f8b97;
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 900px) {

    .site-footer-premium {
        padding:
            50px 22px 40px 22px;
    }

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

        gap: 35px;
    }

    .footer-mainline {
        font-size: 24px;
    }

    .footer-copy {
        font-size: 14px;
        line-height: 1.8;
    }

    .footer-disclaimer {
        padding: 24px;
    }

    .footer-disclaimer-text {
        font-size: 12px;
        line-height: 1.85;
    }
}

/* =========================================================
   DISCLAIMER TITLE
   ========================================================= */

.footer-disclaimer-title {

    margin-bottom: 22px;

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 3px;
    text-transform: uppercase;

    color: #d7dde6;

    font-family:
        "IBM Plex Sans",
        "Inter",
        sans-serif;

    opacity: 0.95;
}

/* =========================================================
   BIGGER DISCLAIMER TEXT
   ========================================================= */

.footer-disclaimer-text {

    font-size: 15px;
    /* increased from 13px */

    line-height: 2.05;

    color: #a9a9a9;

    font-weight: 400;

    letter-spacing: 0.15px;

    max-width: 1600px;
}

/* =========================================================
   OPTIONAL — SLIGHTLY BIGGER MAIN COPY
   ========================================================= */

.footer-copy {

    font-size: 17px;

    line-height: 2;

    color: #cfcfcf;
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 900px) {

    .footer-disclaimer-title {

        font-size: 11px;
        letter-spacing: 2px;
    }

    .footer-disclaimer-text {

        font-size: 13px;
        line-height: 1.95;
    }

    .footer-copy {

        font-size: 15px;
        line-height: 1.85;
    }
}

.infographic-reveal-section {
    padding: 70px 44px;
    background: #070809;
}

.infographic-card {
    position: relative;
    max-width: 980px;
    margin: 0 auto;
    height: 420px;
    overflow: hidden;
    border-radius: 28px;
    cursor: pointer;
    background: #111;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.65);
    transform: translateY(0) scale(1);
    transition: transform 0.45s ease, box-shadow 0.45s ease;
}

.infographic-card:hover {
    transform: translateY(-8px) scale(1.015);
    box-shadow: 0 45px 120px rgba(0, 0, 0, 0.85);
}

.infographic-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.56;
    filter: grayscale(0.35) contrast(1.15) brightness(0.72);
    transform: scale(1.04);
    transition: transform 0.75s ease, opacity 0.45s ease, filter 0.45s ease;
}

.infographic-card:hover .infographic-thumb {
    transform: scale(1.1);
    opacity: 0.72;
    filter: grayscale(0.1) contrast(1.2) brightness(0.82);
}

.infographic-overlay {
    position: absolute;
    inset: 0;
    z-index: 3;
    padding: 44px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background:
        linear-gradient(90deg, rgba(0, 0, 0, 0.88), rgba(0, 0, 0, 0.25)),
        linear-gradient(0deg, rgba(0, 0, 0, 0.85), transparent 60%);
}

.infographic-kicker {
    margin-bottom: 12px;
    font-size: 12px;
    letter-spacing: 3px;
    font-weight: 800;
    color: #9aa7b5;
}

.infographic-overlay h2 {
    margin: 0 0 12px;
    max-width: 680px;
    font-size: clamp(34px, 5vw, 62px);
    line-height: 0.95;
    letter-spacing: -2px;
    color: #fff;
}

.infographic-overlay p {
    max-width: 560px;
    margin: 0 0 24px;
    font-size: 17px;
    line-height: 1.7;
    color: #c7c7c7;
}

.infographic-button {
    display: inline-flex;
    width: fit-content;
    padding: 13px 18px;
    border-radius: 999px;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(10px);
}

.infographic-glow {
    position: absolute;
    inset: -40%;
    z-index: 2;
    background: radial-gradient(circle at 20% 20%, rgba(122, 144, 170, 0.28), transparent 38%);
    pointer-events: none;
}

/* Modal */
.infographic-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    padding: 34px;
    background: rgba(0, 0, 0, 0.88);
    backdrop-filter: blur(14px);
}

.infographic-modal.is-open {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: modalFade 0.35s ease forwards;
}

.infographic-modal-shell {
    position: relative;
    width: min(96vw, 1500px);
    max-height: 92vh;
    animation: artifactZoom 0.55s cubic-bezier(.2, .9, .2, 1) forwards;
}

.infographic-full {
    width: 100%;
    max-height: 92vh;
    object-fit: contain;
    border-radius: 22px;
    box-shadow: 0 40px 140px rgba(0, 0, 0, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.16);
}

.infographic-close {
    position: absolute;
    top: -18px;
    right: -18px;
    z-index: 10;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(10, 10, 10, 0.9);
    color: white;
    font-size: 30px;
    cursor: pointer;
}

@keyframes modalFade {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes artifactZoom {
    from {
        opacity: 0;
        transform: scale(0.82) translateY(40px);
        filter: blur(8px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
        filter: blur(0);
    }
}

/* =========================================================
   INFOGRAPHIC SECTION
   ========================================================= */

.infographic-reveal-section {

    padding:
        60px 44px 90px 44px;

    background:
        linear-gradient(180deg,
            #050607 0%,
            #060708 100%);
}

/* =========================================================
   MAIN CARD
   SAME WIDTH + STYLE AS DISCLAIMER BOX
   ========================================================= */

.infographic-card {

    position: relative;

    width: 100%;
    max-width: 100%;

    min-height: 540px;

    overflow: hidden;

    border-radius: 26px;

    cursor: pointer;

    background:
        linear-gradient(180deg,
            rgba(255, 255, 255, 0.02),
            rgba(255, 255, 255, 0.01));

    border:
        1px solid rgba(255, 255, 255, 0.07);

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.03),
        0 12px 40px rgba(0, 0, 0, 0.45);

    transition:
        transform 0.45s ease,
        box-shadow 0.45s ease;

    padding: 26px;
}

/* hover */
.infographic-card:hover {

    transform:
        translateY(-6px);

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        0 30px 80px rgba(0, 0, 0, 0.65);
}

/* =========================================================
   THUMBNAIL IMAGE
   ========================================================= */

.infographic-thumb {

    position: absolute;

    inset: 26px;

    width: calc(100% - 52px);
    height: calc(100% - 52px);

    object-fit: cover;

    border-radius: 18px;

    opacity: 0.42;

    filter:
        brightness(0.65) contrast(1.1) saturate(0.9);

    transform: scale(1.02);

    transition:
        transform 0.8s ease,
        opacity 0.45s ease,
        filter 0.45s ease;
}

.infographic-card:hover .infographic-thumb {

    transform: scale(1.06);

    opacity: 0.72;

    filter:
        brightness(0.82) contrast(1.12) saturate(1);
}

/* =========================================================
   OVERLAY
   ========================================================= */

.infographic-overlay {

    position: relative;

    z-index: 4;

    min-height: 490px;

    padding: 34px;

    display: flex;

    flex-direction: column;

    justify-content: flex-end;

    border-radius: 18px;

    background:
        linear-gradient(90deg,
            rgba(0, 0, 0, 0.88) 0%,
            rgba(0, 0, 0, 0.52) 40%,
            rgba(0, 0, 0, 0.10) 100%),

        linear-gradient(0deg,
            rgba(0, 0, 0, 0.82) 0%,
            rgba(0, 0, 0, 0.10) 60%);
}

/* =========================================================
   KICKER
   ========================================================= */

.infographic-kicker {

    margin-bottom: 18px;

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 4px;

    text-transform: uppercase;

    color: #aab6c3;

    font-family:
        "IBM Plex Sans",
        sans-serif;
}

/* =========================================================
   HEADLINE
   ========================================================= */

.infographic-overlay h2 {

    max-width: 760px;

    margin: 0 0 18px 0;

    font-size:
        clamp(56px, 7vw, 92px);

    line-height: 0.92;

    letter-spacing: -4px;

    color: #ffffff;

    font-weight: 700;

    font-family:
        "Space Grotesk",
        "Inter",
        sans-serif;

    text-shadow:
        0 10px 30px rgba(0, 0, 0, 0.45);
}

/* =========================================================
   SUBTEXT
   ========================================================= */

.infographic-overlay p {

    max-width: 700px;

    margin-bottom: 28px;

    font-size: 20px;

    line-height: 1.8;

    color: #d2d2d2;
}

/* =========================================================
   BUTTON
   ========================================================= */

.infographic-button {

    display: inline-flex;

    align-items: center;

    width: fit-content;

    padding:
        16px 24px;

    border-radius: 999px;

    background:
        rgba(255, 255, 255, 0.08);

    border:
        1px solid rgba(255, 255, 255, 0.14);

    backdrop-filter: blur(8px);

    color: #ffffff;

    font-size: 13px;

    font-weight: 700;

    letter-spacing: 2px;

    text-transform: uppercase;

    transition:
        background 0.3s ease,
        transform 0.3s ease;
}

.infographic-card:hover .infographic-button {

    background:
        rgba(255, 255, 255, 0.12);

    transform:
        translateY(-2px);
}

/* =========================================================
   MODAL IMAGE
   ========================================================= */

.infographic-full {

    width: 100%;

    max-height: 92vh;

    object-fit: contain;

    border-radius: 24px;

    border:
        1px solid rgba(255, 255, 255, 0.10);

    box-shadow:
        0 40px 120px rgba(0, 0, 0, 0.9);
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 900px) {

    .infographic-reveal-section {

        padding:
            40px 20px 70px 20px;
    }

    .infographic-card {

        min-height: 420px;

        padding: 18px;
    }

    .infographic-thumb {

        inset: 18px;

        width: calc(100% - 36px);
        height: calc(100% - 36px);
    }

    .infographic-overlay {

        min-height: 380px;

        padding: 24px;
    }

    .infographic-overlay h2 {

        font-size:
            clamp(38px, 10vw, 56px);

        letter-spacing: -2px;
    }

    .infographic-overlay p {

        font-size: 16px;

        line-height: 1.7;
    }

    .infographic-button {

        padding:
            14px 18px;

        font-size: 11px;
    }
}

/* =========================================================
   MAIN CARD
   ========================================================= */

.infographic-card {

    position: relative;

    width: 100%;

    min-height: 540px;

    overflow: hidden;

    border-radius: 24px;

    cursor: pointer;

    /* SAME LOOK AS DISCLAIMER BOX */
    background:
        linear-gradient(180deg,
            rgba(255, 255, 255, 0.025),
            rgba(255, 255, 255, 0.01));

    border:
        1px solid rgba(255, 255, 255, 0.08);

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.03),
        0 12px 40px rgba(0, 0, 0, 0.45);

    transition:
        transform 0.45s ease,
        box-shadow 0.45s ease;

    /* IMPORTANT */
    padding: 18px;
}

/* =========================================================
   REAL IMAGE THUMBNAIL
   ========================================================= */

.infographic-thumb {

    position: absolute;

    top: 18px;
    left: 18px;
    right: 18px;
    bottom: 18px;

    width: calc(100% - 36px);
    height: calc(100% - 36px);

    object-fit: cover;

    border-radius: 18px;

    /* IMAGE NOW MUCH MORE VISIBLE */
    opacity: 0.72;

    filter:
        brightness(0.42) contrast(1.08) saturate(0.95);

    transition:
        transform 0.8s ease,
        opacity 0.45s ease,
        filter 0.45s ease;
}

.infographic-card:hover .infographic-thumb {

    transform: scale(1.03);

    opacity: 0.9;

    filter:
        brightness(0.58) contrast(1.1) saturate(1);
}

/* =========================================================
   OVERLAY
   ========================================================= */

.infographic-overlay {

    position: relative;

    z-index: 5;

    min-height: 500px;

    padding: 42px;

    display: flex;

    flex-direction: column;

    justify-content: flex-end;

    border-radius: 18px;

    /* DARK FADE OVER IMAGE */
    background:
        linear-gradient(90deg,
            rgba(0, 0, 0, 0.86) 0%,
            rgba(0, 0, 0, 0.58) 38%,
            rgba(0, 0, 0, 0.18) 100%),

        linear-gradient(0deg,
            rgba(0, 0, 0, 0.82) 0%,
            rgba(0, 0, 0, 0.10) 60%);
}

/* =========================================================
   HEADLINE
   ========================================================= */

.infographic-overlay h2 {

    max-width: 820px;

    margin: 0 0 18px 0;

    /* SMALLER */
    font-size:
        clamp(48px, 6vw, 76px);

    line-height: 0.92;

    letter-spacing: -3px;

    color: #ffffff;

    font-weight: 700;

    font-family:
        "Space Grotesk",
        "Inter",
        sans-serif;

    text-shadow:
        0 10px 30px rgba(0, 0, 0, 0.55);
}

/* =========================================================
   SUBTEXT
   ========================================================= */

.infographic-overlay p {

    max-width: 640px;

    margin-bottom: 28px;

    font-size: 20px;

    line-height: 1.8;

    color: rgba(255, 255, 255, 0.82);
}

/* =========================================================
   BUTTON
   ========================================================= */

.infographic-button {

    display: inline-flex;

    align-items: center;

    width: fit-content;

    padding:
        16px 24px;

    border-radius: 999px;

    background:
        rgba(255, 255, 255, 0.10);

    border:
        1px solid rgba(255, 255, 255, 0.14);

    backdrop-filter: blur(10px);

    color: #ffffff;

    font-size: 13px;

    font-weight: 700;

    letter-spacing: 2px;

    text-transform: uppercase;

    transition:
        background 0.3s ease,
        transform 0.3s ease;
}

/* =========================================================
   REMOVE WEIRD EXTRA TEXT ABOVE CARD
   ========================================================= */

.infographic-card-title,
.infographic-title,
.infographic-caption {

    display: none !important;
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 900px) {

    .infographic-card {

        min-height: 420px;

        padding: 14px;
    }

    .infographic-thumb {

        top: 14px;
        left: 14px;
        right: 14px;
        bottom: 14px;

        width: calc(100% - 28px);
        height: calc(100% - 28px);
    }

    .infographic-overlay {

        min-height: 380px;

        padding: 26px;
    }

    .infographic-overlay h2 {

        font-size:
            clamp(34px, 10vw, 54px);

        letter-spacing: -2px;
    }

    .infographic-overlay p {

        font-size: 16px;
    }
}

/* =========================================================
   REMOVE THE BIG OUTER BORDER COMPLETELY
   ========================================================= */

.infographic-card {

    border: none !important;

    background: transparent !important;

    box-shadow: none !important;

    padding: 0 !important;

    min-height: 540px;
}

/* =========================================================
   KEEP ONLY THE INNER CINEMATIC PANEL
   ========================================================= */

.infographic-inner {

    position: relative;

    overflow: hidden;

    border-radius: 24px;

    min-height: 540px;

    /* THIS IS NOW THE ONLY PANEL */
    border:
        1px solid rgba(255, 255, 255, 0.06);

    background:
        #040404;

    box-shadow:
        0 25px 80px rgba(0, 0, 0, 0.55),
        inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

/* =========================================================
   IMAGE
   ========================================================= */

.infographic-thumb {

    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;

    opacity: 0.82;

    filter:
        brightness(0.42) contrast(1.08) saturate(0.95);

    transition:
        transform 0.8s ease,
        opacity 0.45s ease;
}

/* =========================================================
   BRING TEXT UP
   ========================================================= */

.infographic-overlay {

    position: relative;

    z-index: 5;

    min-height: 540px;

    padding:
        54px 46px 80px 46px;

    display: flex;

    flex-direction: column;

    justify-content: center;
    /* THIS MOVES TEXT UP */

    background:
        linear-gradient(90deg,
            rgba(0, 0, 0, 0.86) 0%,
            rgba(0, 0, 0, 0.56) 40%,
            rgba(0, 0, 0, 0.12) 100%);
}

/* =========================================================
   HEADLINE SLIGHTLY SMALLER
   ========================================================= */

.infographic-overlay h2 {

    max-width: 760px;

    margin:
        0 0 18px 0;

    font-size:
        clamp(44px, 5.5vw, 72px);

    line-height: 0.92;

    letter-spacing: -3px;
}

/* =========================================================
   BUTTON
   ========================================================= */

.infographic-button {

    margin-top: 12px;
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 900px) {

    .infographic-inner {

        min-height: 420px;
    }

    .infographic-overlay {

        min-height: 420px;

        justify-content: center;

        padding:
            34px 26px 42px 26px;
    }

    .infographic-overlay h2 {

        font-size:
            clamp(34px, 10vw, 52px);
    }
}

/* =========================================================
   BRIGHTER IMAGE
   LESS DARK OVERLAY
   ========================================================= */

.infographic-thumb {

    opacity: 0.92;

    filter:
        brightness(0.58) contrast(1.05) saturate(1);

    transition:
        transform 0.8s ease,
        opacity 0.45s ease,
        filter 0.45s ease;
}

.infographic-card:hover .infographic-thumb {

    opacity: 1;

    transform: scale(1.03);

    filter:
        brightness(0.72) contrast(1.08) saturate(1.02);
}

/* =========================================================
   LIGHTER OVERLAY
   ========================================================= */

.infographic-overlay {

    background:
        linear-gradient(90deg,
            rgba(0, 0, 0, 0.72) 0%,
            rgba(0, 0, 0, 0.38) 40%,
            rgba(0, 0, 0, 0.06) 100%),

        linear-gradient(0deg,
            rgba(0, 0, 0, 0.42) 0%,
            rgba(0, 0, 0, 0.04) 60%);
}

/* =========================================================
   MODAL
   ========================================================= */

.infographic-modal {

    position: fixed;

    inset: 0;

    z-index: 99999;

    display: none;

    align-items: center;

    justify-content: center;

    padding: 30px;

    background:
        rgba(0, 0, 0, 0.88);

    backdrop-filter: blur(12px);
}

.infographic-modal.is-open {

    display: flex;

    animation:
        fadeInModal 0.35s ease;
}

.infographic-modal-shell {

    position: relative;

    width: min(96vw, 1600px);

    animation:
        infographicZoom 0.45s cubic-bezier(.2, .9, .2, 1);
}

.infographic-full {

    width: 100%;

    max-height: 92vh;

    object-fit: contain;

    border-radius: 22px;

    border:
        1px solid rgba(255, 255, 255, 0.08);

    box-shadow:
        0 40px 120px rgba(0, 0, 0, 0.9);
}

.infographic-close {

    position: absolute;

    top: -18px;
    right: -18px;

    width: 48px;
    height: 48px;

    border-radius: 50%;

    border:
        1px solid rgba(255, 255, 255, 0.12);

    background:
        rgba(15, 15, 15, 0.92);

    color: white;

    font-size: 30px;

    cursor: pointer;
}

@keyframes fadeInModal {

    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes infographicZoom {

    from {

        opacity: 0;

        transform:
            scale(0.9) translateY(30px);

        filter: blur(10px);
    }

    to {

        opacity: 1;

        transform:
            scale(1) translateY(0);

        filter: blur(0);
    }
}

.intro-screen {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 34px;
    background: #030405;
}

.intro-screen.is-hidden {
    display: none;
}

.intro-card {
    position: relative;
    width: min(96vw, 1700px);
    height: min(86vh, 850px);
    overflow: hidden;
    border-radius: 34px;
    background: #050505;
    box-shadow: 0 40px 140px rgba(0, 0, 0, 0.95);
}

.intro-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.9;
    filter: brightness(0.72) contrast(1.08);
}

.intro-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.34), rgba(0, 0, 0, 0.05)),
        linear-gradient(0deg, rgba(0, 0, 0, 0.65), transparent 55%);
}

.intro-content {
    position: relative;
    z-index: 3;
    height: 100%;
    padding: 72px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.intro-kicker {
    margin-bottom: 22px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 4px;
    color: #b7c3d1;
}

.intro-content h1 {
    margin: 0 0 24px;
    max-width: 850px;
    font-size: clamp(56px, 7vw, 112px);
    line-height: 0.9;
    letter-spacing: -5px;
    color: #fff;
}

.intro-content p {
    max-width: 680px;
    margin-bottom: 34px;
    font-size: 21px;
    line-height: 1.6;
    color: #dedede;
}

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

.intro-btn,
.replay-intro-btn {
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    padding: 15px 24px;
    cursor: pointer;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #fff;
}

.intro-btn.primary {
    background: rgba(255, 255, 255, 0.16);
}

.intro-btn.ghost,
.replay-intro-btn {
    background: rgba(255, 255, 255, 0.06);
}

.replay-intro-btn {
    margin: 30px auto;
    display: flex;
}

/* =========================================================
   FLOATING CINEMATIC PANEL
   ========================================================= */

.intro-card {

    position: relative;

    width: min(96vw, 1700px);

    height: min(88vh, 900px);

    overflow: hidden;

    border-radius: 34px;

    background: #050505;

    /* FLOATING EFFECT */
    border:
        1px solid rgba(255, 255, 255, 0.12);

    box-shadow:
        0 50px 140px rgba(0, 0, 0, 0.92),
        0 0 0 1px rgba(255, 255, 255, 0.03),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);

    transition:
        transform 0.45s ease,
        box-shadow 0.45s ease;
}

/* subtle glow ring */
.intro-card::before {

    content: "";

    position: absolute;

    inset: -2px;

    border-radius: 36px;

    background:
        linear-gradient(135deg,
            rgba(255, 255, 255, 0.10),
            rgba(120, 120, 120, 0.02),
            rgba(255, 255, 255, 0.06));

    z-index: 0;

    pointer-events: none;

    opacity: 0.7;
}

/* =========================================================
   PANEL FLOAT ANIMATION
   ========================================================= */

.intro-card {

    animation:
        introFloat 7s ease-in-out infinite;
}

@keyframes introFloat {

    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-6px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* =========================================================
   BUTTONS
   ========================================================= */

.intro-btn {

    position: relative;

    overflow: hidden;

    border-radius: 999px;

    padding:
        16px 28px;

    font-size: 13px;

    font-weight: 800;

    letter-spacing: 2px;

    text-transform: uppercase;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease,
        border-color 0.25s ease;
}

/* PRIMARY BUTTON */

.intro-btn.primary {

    background:
        rgba(255, 255, 255, 0.12);

    border:
        1px solid rgba(255, 255, 255, 0.18);

    color: white;

    backdrop-filter: blur(12px);
}

/* GHOST BUTTON */

.intro-btn.ghost {

    background:
        rgba(255, 255, 255, 0.05);

    border:
        1px solid rgba(255, 255, 255, 0.12);

    color: rgba(255, 255, 255, 0.92);
}

/* =========================================================
   GLOW HOVER EFFECT
   ========================================================= */

.intro-btn:hover {

    transform:
        translateY(-2px);

    box-shadow:
        0 0 25px rgba(255, 255, 255, 0.16),
        0 0 55px rgba(120, 160, 255, 0.12);

    border-color:
        rgba(255, 255, 255, 0.28);
}

/* animated shimmer */
.intro-btn::before {

    content: "";

    position: absolute;

    top: 0;
    left: -120%;

    width: 80%;
    height: 100%;

    background:
        linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.22),
            transparent);

    transform: skewX(-22deg);

    transition:
        left 0.65s ease;
}

.intro-btn:hover::before {

    left: 140%;
}

/* =========================================================
   OPTIONAL EXTRA CINEMATIC EDGE LIGHT
   ========================================================= */

.intro-card::after {

    content: "";

    position: absolute;

    inset: 0;

    border-radius: 34px;

    background:
        linear-gradient(180deg,
            rgba(255, 255, 255, 0.06),
            transparent 22%);

    pointer-events: none;

    z-index: 2;
}

/* FULL SCREEN INTRO */
.intro-screen {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: #030405;
}

/* FLOATING IMAGE FRAME */
.intro-card {
    position: relative;
    width: min(96vw, 1800px);
    height: min(92vh, 980px);
    overflow: hidden;
    border-radius: 34px;
    background: #050505;
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow:
        0 50px 150px rgba(0, 0, 0, 0.95),
        0 0 0 1px rgba(255, 255, 255, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    animation: introFloat 7s ease-in-out infinite;
}

/* SHOW THE ENTIRE IMAGE */
.intro-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* key change */
    background: #020202;
    opacity: 1;
    filter: brightness(0.82) contrast(1.05) saturate(1.05);
}

/* ONLY A NICE FADE */
.intro-card::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background:
        linear-gradient(90deg,
            rgba(0, 0, 0, 0.62) 0%,
            rgba(0, 0, 0, 0.26) 36%,
            rgba(0, 0, 0, 0.04) 100%);
}

/* TEXT BLOCK */
.intro-content {
    position: relative;
    z-index: 4;
    height: 100%;
    padding: 60px 72px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* SMALLER TEXT */
.intro-content h1 {
    margin: 0 0 20px;
    max-width: 760px;
    font-size: clamp(42px, 5vw, 72px);
    line-height: 0.92;
    letter-spacing: -3px;
    color: #fff;
}

.intro-content p {
    max-width: 620px;
    margin-bottom: 30px;
    font-size: 18px;
    line-height: 1.55;
    color: #eeeeee;
}

.intro-kicker {
    margin-bottom: 18px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 4px;
    color: #c1ccd8;
}

/* BUTTON GLOW */
.intro-btn:hover {
    transform: translateY(-2px);
    box-shadow:
        0 0 26px rgba(255, 255, 255, 0.24),
        0 0 70px rgba(120, 160, 255, 0.20);
    border-color: rgba(255, 255, 255, 0.35);
}

@keyframes introFloat {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-7px);
    }

    100% {
        transform: translateY(0);
    }
}

.intro-card,
.infographic-card {
    width: min(94vw, 1720px);
    height: min(72vh, 760px);
    margin: 40px auto;
    border-radius: 28px;
    overflow: hidden;
    position: relative;
    background: #050505;
    box-shadow: 0 35px 120px rgba(0, 0, 0, 0.85);
}

.intro-bg,
.infographic-thumb {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.95;
    filter: brightness(0.62) contrast(1.08);
}

.intro-card::after,
.infographic-overlay {
    position: absolute;
    inset: 0;
    content: "";
    background:
        linear-gradient(90deg, rgba(0, 0, 0, .78), rgba(0, 0, 0, .38), rgba(0, 0, 0, .05)),
        linear-gradient(0deg, rgba(0, 0, 0, .55), transparent 55%);
}

.intro-content,
.infographic-overlay {
    z-index: 3;
    padding: 64px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.intro-content h1,
.infographic-overlay h2 {
    font-size: clamp(48px, 6vw, 88px);
    line-height: .9;
    letter-spacing: -4px;
    max-width: 900px;
}

/* TRUE FULL SCREEN MAP MODAL */

.infographic-modal {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: none;

    width: 100vw;
    height: 100vh;

    background: rgba(0, 0, 0, 0.96);
    backdrop-filter: blur(10px);
}

.infographic-modal.is-open {
    display: block;
}

.infographic-modal-shell {
    position: fixed;
    inset: 0;

    width: 100vw;
    height: 100vh;

    overflow: auto;

    padding: 76px 28px 36px 28px;

    box-sizing: border-box;
}

.infographic-full {
    display: block;

    width: 96vw;
    max-width: none;

    height: auto;

    margin: 0 auto;

    border-radius: 18px;

    cursor: zoom-in;

    box-shadow:
        0 40px 140px rgba(0, 0, 0, 0.95);
}

.infographic-full.zoomed {
    width: 180vw;
    cursor: zoom-out;
}

.infographic-close {
    position: fixed;
    top: 22px;
    right: 28px;
    z-index: 1000000;

    width: 50px;
    height: 50px;

    border-radius: 999px;

    border: 1px solid rgba(255, 255, 255, 0.16);

    background: rgba(10, 10, 10, 0.92);

    color: white;

    font-size: 32px;

    cursor: pointer;
}

.infographic-zoom-hint {
    position: fixed;
    top: 28px;
    left: 28px;
    z-index: 1000000;

    padding: 10px 15px;

    border-radius: 999px;

    background: rgba(255, 255, 255, 0.08);

    border: 1px solid rgba(255, 255, 255, 0.14);

    color: #ddd;

    font-size: 12px;

    letter-spacing: 1.5px;

    text-transform: uppercase;
}

body {
    background:
        radial-gradient(circle at 12% 8%, rgba(80, 90, 255, .32), transparent 34%),
        radial-gradient(circle at 88% 78%, rgba(255, 55, 150, .26), transparent 36%),
        linear-gradient(135deg, #050713 0%, #080b18 48%, #03050c 100%);
    color: #f7f8ff;
}

.page-wrap {
    max-width: 1280px;
    margin: 0 auto;
    padding: 28px 28px 80px;
}

.hero-panel,
.stat-card,
.search-panel,
.article-card {
    background: rgba(15, 18, 32, .72);
    border: 1px solid rgba(255, 255, 255, .11);
    box-shadow: 0 24px 70px rgba(0, 0, 0, .42);
    backdrop-filter: blur(18px);
}

.hero-panel {
    border-radius: 30px;
    padding: 58px 44px;
    background:
        linear-gradient(135deg, rgba(20, 24, 42, .82), rgba(10, 12, 26, .72)),
        radial-gradient(circle at 90% 15%, rgba(39, 238, 217, .12), transparent 35%);
}

.hero-panel h1 {
    font-size: clamp(48px, 7vw, 88px);
    letter-spacing: -.07em;
    line-height: .92;
}

.hero-panel p {
    max-width: 760px;
    font-size: 18px;
    color: rgba(245, 248, 255, .78);
    line-height: 1.6;
}

.eyebrow,
.section-kicker {
    color: #8efcff;
    letter-spacing: .22em;
}

.stat-grid {
    gap: 22px;
}

.stat-card {
    border-radius: 22px;
    padding: 28px;
}

.stat-card strong,
.stat-card .stat-number {
    font-size: 34px;
}

.search-panel {
    border-radius: 24px;
    padding: 22px;
}

.article-card {
    border-radius: 24px;
    margin-bottom: 18px;
    padding: 22px;
}

.article-card:hover {
    transform: translateY(-2px);
    border-color: rgba(142, 252, 255, .24);
    box-shadow:
        0 28px 80px rgba(0, 0, 0, .48),
        0 0 42px rgba(36, 240, 220, .08);
}

.score-pill {
    border-radius: 14px;
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .12);
}

.ai-summary-box,
.why-box {
    border-radius: 18px;
    background: rgba(255, 255, 255, .055);
}

.ai-summary-box {
    border: 1px solid rgba(70, 220, 255, .22);
}

.why-box {
    border: 1px solid rgba(75, 255, 170, .20);
}

.search-button,
button[type="submit"] {
    border-radius: 16px;
    background: linear-gradient(135deg, #7b4dff, #19f0d8);
    box-shadow: 0 0 30px rgba(25, 240, 216, .22);
}

.search-button:hover,
button[type="submit"]:hover {
    transform: translateY(-1px);
    box-shadow: 0 0 44px rgba(25, 240, 216, .34);
}