* {
    box-sizing: border-box;
}
:root {
    color-scheme: only light;
    --gradient-top: #111827;
    --gradient-bottom: #020617;
    --glass: rgba(15, 23, 42, 0.72);
    --glass-alt: rgba(17, 24, 39, 0.6);
    --stroke: rgba(148, 163, 184, 0.18);
    --text-primary: #f8fafc;
    --text-muted: #94a3b8;
    --accent: #38bdf8;
    --accent-strong: #6366f1;
    --table-stripe: rgba(148, 163, 184, 0.06);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
body {
    margin: 0;
    min-height: 100vh;
    color: var(--text-primary);
    background: radial-gradient(circle 750px at top,
        rgba(99, 102, 241, 0.35) 0%,
        rgba(15, 23, 42, 0.95) 70%,
        #020617 100%);
}
body::before {
    content: '';
    position: fixed;
    inset: 0;
    height: 500px;
    background:
        radial-gradient(circle 250px at 18% 20%, rgba(56, 189, 248, 0.28), transparent),
        radial-gradient(circle 200px at 82% 8%, rgba(99, 102, 241, 0.24), transparent),
        radial-gradient(circle 300px at 50% 70%, rgba(236, 72, 153, 0.12), transparent);
    background-repeat: no-repeat;
    background-size: 100% 500px;
    opacity: 0.6;
    pointer-events: none;
    z-index: -1;
}
a {
    color: var(--accent);
    text-decoration: none;
    transition: color 200ms ease;
}
a:hover {
    color: var(--accent-strong);
}
code {
    font-family: 'JetBrains Mono', 'Fira Code', monospace;
    background: rgba(15, 23, 42, 0.6);
    padding: 0.2rem 0.4rem;
    border-radius: 6px;
    color: var(--accent);
    font-size: 0.8rem;
}
.page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3.5rem 1.75rem 4rem;
    position: relative;
}
.hero {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2rem;
    padding: 2.75rem;
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.85), rgba(15, 23, 42, 0.65));
    border: 1px solid var(--stroke);
    border-radius: 32px;
    box-shadow: 0 30px 80px -45px rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(24px);
    margin-bottom: 2.75rem;
}
.hero-brand {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex: 1 1 360px;
}
.logo-mark {
    width: clamp(56px, 15vw, 72px);
    flex: 0 0 clamp(56px, 15vw, 72px);
    aspect-ratio: 1 / 1;
    border-radius: 22px;
    background: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: clamp(8px, 2vw, 12px);
    box-shadow: 0 15px 30px -20px rgba(56, 189, 248, 0.8);
    overflow: hidden;
}

.logo-mark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}
.hero-eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.25em;
    font-size: 0.75rem;
    color: var(--accent);
    margin-bottom: 0.65rem;
}
.hero h1 {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-size: clamp(2rem, 4vw, 2.75rem);
    letter-spacing: -0.02em;
    margin: 0;
}
.hero-subtitle {
    margin-top: 0.5rem;
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 520px;
}
.hero-meta {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: flex-end;
}
.language-switch {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    justify-content: flex-end;
}
.language-switch-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--text-muted);
}
.language-button {
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.25);
    background: rgba(15, 23, 42, 0.55);
    color: var(--text-muted);
    font-size: 0.82rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 160ms ease;
}
.language-button:hover {
    color: var(--text-primary);
    border-color: rgba(56, 189, 248, 0.45);
}
.language-button.active {
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.18), rgba(99, 102, 241, 0.35));
    color: var(--text-primary);
    border-color: rgba(56, 189, 248, 0.45);
}
.hero-chip {
    padding: 0.55rem 1rem;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.25);
    background: rgba(15, 23, 42, 0.55);
    font-size: 0.85rem;
    color: var(--text-muted);
    backdrop-filter: blur(12px);
}
.hero-chip--labeled {
    display: inline-flex;
    flex-direction: column;
    align-items: end;
    gap: 0.15rem;
    min-width: 0;
    border: 0;
    padding: 0;
    background: none;
    backdrop-filter: none;
}
.hero-chip-label {
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: -7px;
}
.hero-chip.accent {
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.18), rgba(99, 102, 241, 0.35));
    color: var(--text-primary);
}
.hero-chip strong {
    color: var(--text-primary);
}
.hero-chip .muted {
    color: var(--text-muted);
    margin-left: 0.35rem;
}
.hero-chip--labeled .muted {
    margin-left: 0;
}
.metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
    margin-bottom: 2.5rem;
}
.metric-card {
    display: flex;
    flex-direction: column;
    padding: 1.75rem;
    background: var(--glass);
    border-radius: 24px;
    border: 1px solid var(--stroke);
    box-shadow: 0 22px 60px -40px rgba(15, 23, 42, 1);
    position: relative;
    overflow: hidden;
}
.metric-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 1px solid rgba(148, 163, 184, 0.22);
    opacity: 0.6;
    pointer-events: none;
}
.metric-label {
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--text-muted);
}
.metric-value {
    margin-top: 0.25rem;
    font-size: clamp(2rem, 4vw, 2.6rem);
    font-weight: 600;
    letter-spacing: -0.015em;
}
.metric-footnote {
    margin-top: 0.85rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}
.ticker-badges,
.chip-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.75rem;
}
.sources {
    margin-bottom: 2.5rem;
}
.section-header {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.section-header h2 {
    margin: 0;
    font-size: 1.35rem;
    letter-spacing: 0.02em;
}
.section-header p {
    margin: 0;
    color: var(--text-muted);
}
.chip {
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.2);
    background: rgba(15, 23, 42, 0.65);
    font-size: 0.82rem;
    color: var(--text-muted);
    backdrop-filter: blur(10px);
}
.chip.highlight {
    border-color: rgba(56, 189, 248, 0.35);
    color: var(--accent);
}
.table-section {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}
.table-shell {
    border-radius: 28px;
    border: 1px solid var(--stroke);
    background: var(--glass);
    overflow: hidden;
    box-shadow: 0 34px 80px -45px rgba(15, 23, 42, 1);
}
.table-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 1.75rem 1.5rem;
    background: rgba(10, 16, 28, 0.72);
    border-top: 1px solid rgba(148, 163, 184, 0.16);
}
.pagination-info {
    font-size: 0.9rem;
    color: var(--text-muted);
}
.pagination {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}
.pagination-button,
.pagination-page {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 0.65rem;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.35);
    background: rgba(15, 23, 42, 0.55);
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 160ms ease;
}
.pagination-page.active,
.pagination-page:hover,
.pagination-page:focus,
.pagination-button:hover,
.pagination-button:focus {
    color: var(--text-primary);
    border-color: rgba(56, 189, 248, 0.45);
    background: rgba(56, 189, 248, 0.18);
    outline: none;
}
.pagination-page.active {
    border-color: rgba(56, 189, 248, 0.6);
    background: rgba(56, 189, 248, 0.25);
}
.pagination-button.disabled {
    opacity: 0.4;
    pointer-events: none;
}
.pagination-ellipsis {
    color: var(--text-muted);
    font-size: 0.9rem;
}
table {
    width: 100%;
    border-collapse: collapse;
    min-width: 720px;
}
thead {
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.18), rgba(99, 102, 241, 0.38));
}
th, td {
    padding: 1rem 1.25rem;
    text-align: left;
}
th {
    font-size: 0.82rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(248, 250, 252, 0.85);
}
tbody tr.article-row {
    border-bottom: 1px solid rgba(148, 163, 184, 0.12);
    transition: background 180ms ease;
}
tbody tr.article-row--alt {
    background: var(--table-stripe);
}
tbody tr.article-row:hover {
    background: rgba(56, 189, 248, 0.08);
}
tbody tr.article-details {
    display: none;
    background: rgba(15, 23, 42, 0.78);
}
tbody tr.article-details.is-open {
    display: table-row;
}
tbody tr.article-details--alt {
    background: rgba(15, 23, 42, 0.9);
}
tbody tr.article-details td {
    border-top: 0;
}
td {
    font-size: 0.95rem;
    color: var(--text-primary);
    vertical-align: top;
}
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.details-col,
.expand-cell {
    width: 52px;
}
.expand-cell {
    padding-right: 0.5rem;
}
.expand-button {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: 1px solid rgba(148, 163, 184, 0.35);
    background: rgba(15, 23, 42, 0.55);
    color: var(--text-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 160ms ease;
}
.expand-button:hover,
.expand-button:focus {
    border-color: rgba(56, 189, 248, 0.45);
    color: var(--accent);
    outline: none;
}
.expand-icon {
    display: inline-block;
    transition: transform 160ms ease;
    font-size: 0.85rem;
}
.expand-button[aria-expanded="true"] .expand-icon {
    transform: rotate(180deg);
}
.article-body {
    line-height: 1.6;
}
.article-body p {
    margin: 0 0 1rem;
}
.article-body p:last-child {
    margin-bottom: 0;
}
.source-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    border: 1px solid rgba(56, 189, 248, 0.3);
    background: rgba(56, 189, 248, 0.1);
    color: var(--accent);
    font-size: 0.82rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 160ms ease;
}
a.source-pill:hover,
a.source-pill:focus {
    border-color: rgba(56, 189, 248, 0.5);
    background: rgba(56, 189, 248, 0.18);
    color: var(--accent-strong);
}
.datetime {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}
.datetime .muted {
    font-size: 0.78rem;
    color: var(--text-muted);
}
.title-cell span {
    display: inline-block;
    font-weight: 600;
    color: var(--text-primary);
}
.ticker-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}
.ticker-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 46px;
    padding: 0.35rem 0.6rem;
    border-radius: 999px;
    border: 1px solid rgba(99, 102, 241, 0.28);
    background: rgba(99, 102, 241, 0.18);
    color: #c7d2fe;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 600;
}
.ticker-pill.small {
    padding: 0.3rem 0.55rem;
    font-size: 0.72rem;
}
.empty-pill {
    color: var(--text-muted);
    font-size: 0.85rem;
}
@media (max-width: 1080px) {
    .hero {
        padding: 2.25rem;
    }
    .hero-meta {
        align-items: flex-start;
    }
}
@media (max-width: 900px) {
    .hero {
        flex-direction: column;
        align-items: flex-start;
    }
    .hero-meta {
        width: 100%;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    .hero-chip {
        width: fit-content;
    }
    .language-switch {
        justify-content: flex-start;
    }
    .table-shell {
        border-radius: 20px;
    }
    .table-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
        padding: 1.1rem 1.25rem 1.35rem;
    }
    .pagination {
        flex-wrap: wrap;
        gap: 0.35rem;
    }
    table,
    thead,
    tbody,
    th,
    td,
    tr {
        display: block;
        min-width: initial;
    }
    thead {
        display: none;
    }
    tbody {
        display: grid;
        gap: 1rem;
        padding: 1.25rem;
    }
    tbody tr.article-row {
        border: 1px solid var(--stroke);
        border-radius: 18px;
        padding: 1.1rem 1.25rem;
        background: rgba(17, 24, 39, 0.88);
    }
    tbody tr.article-row--alt {
        background: rgba(17, 24, 39, 0.88);
    }
    tbody tr.article-details {
        display: none;
        border: none;
        border-radius: 0;
        padding: 0 1.25rem 1.25rem;
        background: transparent;
    }
    tbody tr.article-details.is-open {
        display: block;
    }
    tbody tr.article-details--alt {
        background: transparent;
    }
    tbody tr.article-details td {
        padding: 0;
    }
    tbody tr.article-details .article-body {
        margin-top: 0.75rem;
    }
    td {
        padding: 0.35rem 0;
    }
    .article-row .expand-cell {
        margin-bottom: 0.75rem;
    }
    td::before {
        content: attr(data-label);
        display: block;
        font-size: 0.78rem;
        text-transform: uppercase;
        letter-spacing: 0.18em;
        color: var(--text-muted);
        margin-bottom: 0.2rem;
    }
    .article-details td::before {
        display: none;
    }
    .datetime {
        flex-direction: row;
        gap: 0.5rem;
        align-items: baseline;
    }
}
