* {
    box-sizing: border-box;
}

html {
    font-family:
        Inter,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
    background: #f5f7fa;
    color: #111827;
}

body {
    margin: 0;
}

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

.site-header {
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 36px;
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
}

.brand {
    font-weight: 800;
    letter-spacing: .04em;
}

.brand span {
    font-weight: 400;
}

.site-header nav {
    display: flex;
    gap: 28px;
    font-size: 14px;
}

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

.hero,
.match-hero {
    padding: 72px 0 46px;
}

.hero h1,
.match-hero h1 {
    margin: 6px 0 12px;
    font-size: clamp(36px, 6vw, 64px);
    letter-spacing: -.04em;
    line-height: 1;
}

.match-hero h1 span {
    color: #9ca3af;
    font-weight: 400;
}

.hero p {
    max-width: 650px;
    color: #6b7280;
    font-size: 18px;
    line-height: 1.6;
}

.eyebrow {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .13em;
    color: #6b7280;
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    margin-bottom: 18px;
}

.section-heading h2 {
    margin: 4px 0 0;
}

.match-list {
    border-top: 1px solid #dfe3e8;
}

.match-row {
    display: grid;
    grid-template-columns: 70px 1fr auto 30px;
    gap: 20px;
    align-items: center;
    padding: 20px 4px;
    border-bottom: 1px solid #dfe3e8;
}

.match-row:hover {
    background: #ffffff;
}

.match-time {
    font-weight: 700;
}

.league {
    color: #6b7280;
    font-size: 12px;
    margin-bottom: 4px;
}

.teams {
    display: flex;
    gap: 9px;
}

.teams span {
    color: #9ca3af;
}

.market-mini {
    display: flex;
    gap: 8px;
}

.market-mini span {
    min-width: 52px;
    padding: 7px;
    text-align: center;
    border: 1px solid #e5e7eb;
    background: #fff;
    border-radius: 7px;
    font-variant-numeric: tabular-nums;
}

.intelligence-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    margin-bottom: 60px;
}

.panel {
    padding: 28px;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
}

.panel h2 {
    margin: 7px 0 22px;
}

.odds-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.odds-grid div {
    padding: 16px;
    background: #f7f8fa;
    border-radius: 10px;
}

.odds-grid span {
    display: block;
    color: #6b7280;
    font-size: 12px;
}

.odds-grid strong {
    display: block;
    margin-top: 5px;
    font-size: 22px;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th,
td {
    padding: 11px 8px;
    text-align: right;
    border-bottom: 1px solid #edf0f3;
}

th:first-child,
td:first-child {
    text-align: left;
}

.metric {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #edf0f3;
}

.muted,
.kickoff,
.back {
    color: #6b7280;
}

.back {
    display: inline-block;
    margin-top: 30px;
    font-size: 14px;
}

.site-footer {
    margin-top: 60px;
    padding: 35px;
    text-align: center;
    color: #9ca3af;
    border-top: 1px solid #e5e7eb;
}

@media (max-width: 760px) {

    .site-header {
        padding: 0 20px;
    }

    .site-header nav {
        display: none;
    }

    .match-row {
        grid-template-columns: 50px 1fr;
    }

    .market-mini,
    .arrow {
        display: none;
    }

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

    .teams {
        flex-direction: column;
        gap: 2px;
    }
}
