:root {
    --paper: #f7f5e7;
    --navy-900: #031b2a;
    --navy-700: #133d58;
    --blue: #004c7c;
    --accent: #ce5343;
    --teal: #72c6ca;
    --card: #ffffff;
    --border: rgba(0, 76, 124, 0.14);
    --text: #202225;
    --muted: #4b5563;
    --shadow: 0 16px 40px rgba(3, 27, 42, 0.12);
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Space Grotesk', 'Segoe UI', sans-serif;
    background: radial-gradient(circle at 10% 20%, rgba(114, 198, 202, 0.08), transparent 28%),
                radial-gradient(circle at 70% 0%, rgba(206, 83, 67, 0.08), transparent 28%),
                var(--paper);
    color: var(--text);
    margin: 0;
    min-height: 100vh;
    padding: 32px 18px 48px;
}

.page {
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
}

.page::before {
    content: "";
    position: absolute;
    inset: -18px;
    background: linear-gradient(135deg, rgba(114, 198, 202, 0.12), rgba(206, 83, 67, 0.12));
    filter: blur(80px);
    opacity: 0.55;
    z-index: -1;
}

.masthead {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 28px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(247, 245, 231, 0.97));
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.masthead-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
    min-width: 0;
}

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

.masthead-art {
    flex-shrink: 0;
    width: 320px;
    max-width: 40%;
    display: grid;
    place-items: center;
    padding-left: 10px;
}

.masthead-art img {
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 10px 18px rgba(3, 27, 42, 0.25));
}

.logo-mark {
    width: 72px;
    height: 72px;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(247, 245, 231, 0.9));
    border: 1px solid var(--border);
    display: grid;
    place-items: center;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 10px 20px rgba(3, 27, 42, 0.15);
}

.logo-mark img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.brand-copy h1 {
    margin: 6px 0 4px 0;
    font-size: 28px;
    letter-spacing: -0.02em;
}

.brand-copy .lede {
    margin: 0;
    color: var(--muted);
    line-height: 1.4;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 11px;
    color: var(--teal);
    margin: 0;
}

.meta-tags {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 12px;
    letter-spacing: 0.01em;
    background: rgba(3, 27, 42, 0.04);
    border: 1px solid var(--border);
    color: var(--text);
}

.pill.live {
    background: linear-gradient(135deg, rgba(206, 83, 67, 0.12), rgba(114, 198, 202, 0.12));
    border-color: rgba(206, 83, 67, 0.28);
}

.pill.outline {
    color: var(--muted);
}

.summary-grid {
    margin-top: 22px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 14px;
}

.summary-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 18px 18px 16px;
    box-shadow: var(--shadow);
}

.summary-card h2 {
    margin: 6px 0 8px 0;
    font-size: 32px;
    letter-spacing: -0.01em;
}

.label {
    margin: 0;
    color: var(--teal);
    letter-spacing: 0.02em;
    font-weight: 600;
    font-size: 13px;
}

.note {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
}

.table-section {
    margin-top: 28px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 18px 18px 12px;
    box-shadow: var(--shadow);
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 12px;
    padding: 6px 4px 14px;
}

.section-heading h3 {
    margin: 4px 0 0;
    font-size: 20px;
}

.table-wrapper {
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 245, 231, 0.96));
}

#stats-table {
    width: 100%;
    border-collapse: collapse;
    color: var(--text);
}

#stats-table thead {
    background: rgba(3, 27, 42, 0.06);
    border-bottom: 1px solid var(--border);
}

#stats-table th, #stats-table td {
    padding: 14px 16px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

#stats-table th {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--muted);
}

#stats-table tbody tr:nth-child(odd) {
    background: rgba(3, 27, 42, 0.03);
}

#stats-table tbody tr:hover {
    background: rgba(114, 198, 202, 0.15);
}

#stats-table td:nth-child(2),
#stats-table td:nth-child(3) {
    font-weight: 600;
}

.footnote {
    margin: 12px 6px 2px;
    color: var(--muted);
    font-size: 12px;
}

@media (max-width: 720px) {
    .masthead {
        flex-direction: column;
        align-items: flex-start;
    }

    .brand {
        width: 100%;
    }

    .masthead-art {
        width: 100%;
        max-width: 100%;
        padding: 0;
    }

    .masthead-art img {
        width: 100%;
    }

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