body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: #17202a;
    background: #fbfcfd;
    line-height: 1.5;
}

header,
main,
footer {
    max-width: 960px;
    margin: 0 auto;
    padding: 20px;
}

header {
    border-bottom: 1px solid #e5e7eb;
    background: #fff;
}

footer {
    border-top: 1px solid #e5e7eb;
    color: #667085;
    font-size: 14px;
}

nav a,
.links a {
    margin-right: 14px;
}

a {
    color: #155eef;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

h1,
h2,
h3 {
    line-height: 1.2;
}

h1 {
    margin-bottom: 8px;
}

h2 {
    margin-top: 34px;
}

ul {
    padding-left: 22px;
}

.intro {
    max-width: 680px;
    color: #344054;
    font-size: 17px;
}

.intro--lead {
    max-width: 800px;
    font-size: 20px;
    line-height: 1.45;
}

.subscribe-panel {
    margin: 24px 0;
    padding: 18px;
    border: 1px solid #d8dee8;
    border-radius: 8px;
    background: #fff;
}

.subscribe-panel h2 {
    margin-top: 0;
}

.subscribe-summary {
    max-width: 680px;
    color: #344054;
}

.action-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 14px 0;
}

.action-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 8px 14px;
    border: 1px solid #155eef;
    border-radius: 6px;
    background: #fff;
    color: #155eef;
    cursor: pointer;
    font: inherit;
    text-align: center;
}

.action-link--primary {
    background: #155eef;
    color: #fff;
}

.action-link:hover {
    text-decoration: none;
}

.setup-details {
    margin-top: 14px;
}

.trust-line {
    margin: 6px 0 12px;
    color: #344054;
    font-weight: 700;
}

.setup-details summary {
    cursor: pointer;
    font-weight: 700;
}

.league-list,
.team-list {
    list-style: none;
    padding-left: 0;
}

.league-list li,
.team-list li {
    padding: 4px 0;
}

.team-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 4px 18px;
}

.event-list {
    list-style: none;
    padding-left: 0;
}

.event-list li {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 12px;
    align-items: baseline;
    padding: 8px 0;
    border-bottom: 1px solid #eef0f3;
}

.event-title {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.event-date,
.meta {
    color: #667085;
}

.footer-note {
    max-width: 760px;
}

@media (max-width: 560px) {
    header,
    main,
    footer {
        padding: 16px;
    }

    .event-list li {
        grid-template-columns: 1fr;
        gap: 2px;
    }

    .action-link {
        width: 100%;
    }
}
