.landing-body {
    background: #f5f6f8;
}

.landing-page {
    --landing-red: #c8102e;
    --landing-red-dark: #9b0d22;
    --landing-ink: #101828;
    --landing-navy: #111827;
    --landing-muted: #5d6675;
    --landing-soft: #f5f6f8;
    --landing-soft-red: #fff1f3;
    --landing-line: #e3e7ee;
    --landing-card: #ffffff;
    --landing-shadow: 0 18px 42px rgba(16, 24, 40, .08);
    color: var(--landing-ink);
    background: #ffffff;
    overflow-x: hidden;
}

.landing-page * {
    box-sizing: border-box;
}

.landing-page h1,
.landing-page h2,
.landing-page h3,
.landing-page p {
    margin-top: 0;
}

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

.landing-hero {
    padding: 72px 0 56px;
    background:
        linear-gradient(90deg, #ffffff 0%, #ffffff 58%, #f5f6f8 58%, #f5f6f8 100%);
    border-bottom: 1px solid var(--landing-line);
}

.landing-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 520px);
    gap: 48px;
    align-items: center;
}

.landing-hero-content {
    max-width: 700px;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 5px 12px;
    border: 1px solid rgba(200, 16, 46, .22);
    border-radius: 999px;
    background: var(--landing-soft-red);
    color: var(--landing-red-dark);
    font-size: .78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.landing-hero h1 {
    max-width: 760px;
    margin: 18px 0 18px;
    color: var(--landing-navy);
    font-size: 3.7rem;
    line-height: 1.05;
    font-weight: 900;
}

.landing-hero-text {
    max-width: 640px;
    margin-bottom: 0;
    color: var(--landing-muted);
    font-size: 1.12rem;
    line-height: 1.75;
}

.landing-quick-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.landing-cta {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    border: 1px solid #d8dde6;
    border-radius: 8px;
    background: #ffffff;
    color: var(--landing-ink);
    font-weight: 800;
    text-decoration: none;
    text-align: center;
    transition: background-color .16s ease, border-color .16s ease, color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.landing-cta:hover {
    border-color: var(--landing-red);
    color: var(--landing-red-dark);
    transform: translateY(-1px);
}

.landing-cta:focus-visible,
.landing-text-link:focus-visible,
.filter-pill:focus-visible {
    outline: 3px solid rgba(200, 16, 46, .28);
    outline-offset: 3px;
}

.landing-cta-primary {
    border-color: var(--landing-red);
    background: var(--landing-red);
    color: #ffffff;
    box-shadow: 0 12px 26px rgba(200, 16, 46, .22);
}

.landing-cta-primary:hover {
    background: var(--landing-red-dark);
    border-color: var(--landing-red-dark);
    color: #ffffff;
}

.landing-hero-media {
    position: relative;
    min-height: 440px;
}

.landing-hero-image {
    width: 100%;
    height: 440px;
    display: block;
    object-fit: cover;
    border: 1px solid rgba(16, 24, 40, .08);
    border-radius: 8px;
    box-shadow: var(--landing-shadow);
}

.landing-hero-stats {
    position: absolute;
    right: 20px;
    bottom: 20px;
    left: 20px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .7);
    border-radius: 8px;
    background: rgba(255, 255, 255, .68);
    box-shadow: 0 14px 34px rgba(16, 24, 40, .16);
    backdrop-filter: blur(12px);
}

.landing-hero-stats article {
    min-height: 100px;
    padding: 16px;
    background: rgba(255, 255, 255, .92);
}

.landing-hero-stats span,
.stat-card span,
.application-stats span {
    display: block;
    color: var(--landing-red-dark);
    font-size: 1.9rem;
    line-height: 1;
    font-weight: 900;
}

.landing-hero-stats p,
.stat-card p,
.application-stats p {
    margin: 10px 0 0;
    color: var(--landing-muted);
    font-weight: 750;
    line-height: 1.35;
}

.landing-section {
    padding: 72px 0;
    scroll-margin-top: 80px;
}

.platform-section,
.affiliations-section {
    background: var(--landing-soft);
}

.section-intro {
    max-width: 760px;
    margin: 0 auto 34px;
    text-align: center;
}

.section-intro-left {
    margin-left: 0;
    text-align: left;
}

.section-heading {
    margin: 14px 0 0;
    color: var(--landing-navy);
    font-size: 2.15rem;
    line-height: 1.2;
    font-weight: 900;
}

.section-subtitle {
    margin: 14px 0 0;
    color: var(--landing-muted);
    font-size: 1.02rem;
    line-height: 1.72;
}

.platform-grid {
    display: grid;
    grid-template-columns: minmax(280px, .72fr) minmax(0, 1fr);
    gap: 42px;
    align-items: start;
}

.platform-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.platform-list article,
.stat-card,
.sport-preview-card,
.affiliation-preview-card,
.directory-item,
.application-stats article {
    border: 1px solid var(--landing-line);
    border-radius: 8px;
    background: var(--landing-card);
    box-shadow: 0 10px 26px rgba(16, 24, 40, .05);
}

.platform-list article {
    min-height: 140px;
    padding: 20px;
}

.platform-list h3 {
    margin: 0 0 10px;
    color: var(--landing-navy);
    font-size: 1.04rem;
    font-weight: 900;
}

.platform-list p {
    margin: 0;
    color: var(--landing-muted);
    line-height: 1.62;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 28px;
}

.stat-card {
    min-height: 126px;
    padding: 20px;
}

.filter-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 0 0 24px;
}

.filter-pill {
    min-height: 38px;
    padding: 8px 14px;
    border: 1px solid #d8dde6;
    border-radius: 999px;
    background: #ffffff;
    color: var(--landing-ink);
    font-weight: 800;
    cursor: pointer;
    transition: background-color .16s ease, border-color .16s ease, color .16s ease;
}

.filter-pill:hover,
.filter-pill.is-active {
    border-color: var(--landing-red);
    background: var(--landing-soft-red);
    color: var(--landing-red-dark);
}

.sports-preview-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.sport-preview-card {
    min-height: 126px;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
}

.sport-preview-icon {
    width: 54px;
    height: 54px;
    flex: 0 0 54px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: var(--landing-red);
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 900;
}

.sport-preview-content {
    min-width: 0;
}

.sport-preview-card h3,
.affiliation-preview-card h3,
.directory-item h3 {
    margin: 0;
    color: var(--landing-navy);
    font-size: 1.04rem;
    font-weight: 900;
    overflow: hidden;
    text-overflow: ellipsis;
    overflow-wrap: anywhere;
}

.sport-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
}

.sport-tags span {
    max-width: 100%;
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 4px 8px;
    border-radius: 999px;
    background: #f0f2f5;
    color: #4b5563;
    font-size: .78rem;
    font-weight: 800;
}

.landing-section-actions {
    display: flex;
    justify-content: center;
    margin-top: 28px;
}

.affiliations-preview-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.affiliation-preview-card {
    min-height: 286px;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 18px;
}

.affiliation-card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 78px;
}

.affiliation-logo {
    width: 64px;
    height: 64px;
    flex: 0 0 64px;
    display: block;
    object-fit: contain;
    border: 1px solid var(--landing-line);
    border-radius: 8px;
    background: #ffffff;
}

.affiliation-title {
    min-width: 0;
}

.affiliation-title p {
    margin: 6px 0 0;
    color: var(--landing-muted);
    font-weight: 800;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.affiliation-details {
    display: grid;
    gap: 11px;
    margin: 18px 0 0;
}

.affiliation-details div {
    min-width: 0;
}

.affiliation-details dt {
    color: var(--landing-muted);
    font-size: .78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.affiliation-details dd {
    margin: 3px 0 0;
    color: var(--landing-ink);
    line-height: 1.42;
    overflow: hidden;
    text-overflow: ellipsis;
    overflow-wrap: anywhere;
}

.affiliation-details a {
    color: var(--landing-red-dark);
    text-decoration: none;
}

.affiliation-details a:hover {
    text-decoration: underline;
}

.landing-directory {
    display: none;
    padding: 60px 0;
    background: #ffffff;
    border-top: 1px solid var(--landing-line);
    border-bottom: 1px solid var(--landing-line);
    scroll-margin-top: 80px;
}

.landing-directory:target {
    display: block;
}

.directory-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 24px;
}

.landing-text-link {
    color: var(--landing-red-dark);
    font-weight: 850;
    text-decoration: none;
}

.landing-text-link:hover {
    text-decoration: underline;
}

.directory-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.directory-item {
    min-height: 92px;
    padding: 16px;
}

.directory-item p {
    margin: 8px 0 0;
    color: var(--landing-muted);
    font-weight: 750;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.application-section {
    background: var(--landing-navy);
    color: #ffffff;
}

.application-panel {
    display: grid;
    grid-template-columns: minmax(280px, 1fr) minmax(260px, .62fr);
    gap: 28px;
    align-items: center;
}

.application-section .section-heading {
    color: #ffffff;
}

.application-section .section-subtitle {
    color: rgba(255, 255, 255, .76);
}

.application-section .section-badge {
    border-color: rgba(255, 255, 255, .24);
    background: rgba(255, 255, 255, .1);
    color: #ffffff;
}

.application-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.application-stats article {
    min-height: 128px;
    padding: 20px;
    background: rgba(255, 255, 255, .06);
    border-color: rgba(255, 255, 255, .14);
    box-shadow: none;
}

.application-stats p {
    color: rgba(255, 255, 255, .76);
}

.landing-quick-links-final {
    grid-column: 1 / -1;
    margin-top: 0;
}

.application-section .landing-cta {
    border-color: rgba(255, 255, 255, .34);
    background: transparent;
    color: #ffffff;
}

.application-section .landing-cta-primary {
    border-color: #ffffff;
    background: #ffffff;
    color: var(--landing-red-dark);
}

.landing-empty {
    margin: 0;
    padding: 18px;
    border: 1px dashed #c4cad4;
    border-radius: 8px;
    background: #ffffff;
    color: var(--landing-muted);
    text-align: center;
}

.landing-filter-empty {
    margin-top: 14px;
}

[hidden] {
    display: none !important;
}

@media (max-width: 1100px) {
    .sports-preview-grid,
    .affiliations-preview-grid,
    .directory-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 940px) {
    .landing-hero {
        padding-top: 50px;
        background: #ffffff;
    }

    .landing-hero-grid,
    .platform-grid,
    .application-panel {
        grid-template-columns: 1fr;
    }

    .landing-hero h1 {
        font-size: 3rem;
    }

    .landing-hero-media {
        min-height: auto;
    }

    .stats-grid,
    .platform-list,
    .sports-preview-grid,
    .affiliations-preview-grid,
    .directory-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .landing-section {
        padding: 54px 0;
    }

    .landing-hero {
        padding: 42px 0 48px;
    }

    .landing-hero h1 {
        font-size: 2.35rem;
    }

    .landing-hero-text,
    .section-subtitle {
        font-size: 1rem;
    }

    .section-heading {
        font-size: 1.75rem;
    }

    .landing-hero-image {
        height: 320px;
    }

    .landing-hero-stats {
        position: static;
        margin-top: 12px;
        grid-template-columns: 1fr;
        border-color: var(--landing-line);
        background: #ffffff;
        box-shadow: none;
    }

    .landing-hero-stats article {
        min-height: 86px;
    }

    .stats-grid,
    .platform-list,
    .sports-preview-grid,
    .affiliations-preview-grid,
    .directory-grid,
    .application-stats {
        grid-template-columns: 1fr;
    }

    .filter-pills {
        justify-content: flex-start;
    }

    .directory-header {
        display: block;
    }

    .directory-header .landing-text-link {
        display: inline-flex;
        margin-top: 14px;
    }
}

@media (max-width: 480px) {
    .landing-container {
        width: min(100% - 24px, 1180px);
    }

    .landing-quick-links,
    .landing-section-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .landing-cta {
        width: 100%;
    }

    .landing-hero h1 {
        font-size: 2rem;
    }

    .landing-hero-image {
        height: 260px;
    }

    .sport-preview-card,
    .affiliation-card-header {
        align-items: flex-start;
    }
}
