@import url("https://fonts.googleapis.com/css2?family=Commissioner:wght@400;500;600;700;800&family=Teko:wght@500;600;700&display=swap");

:root {
    color-scheme: dark;
    --bg: oklch(0.17 0.025 165);
    --bg-strong: oklch(0.12 0.02 165);
    --surface: oklch(0.985 0.003 120);
    --surface-alt: oklch(0.95 0.01 140);
    --ink: oklch(0.24 0.03 175);
    --ink-soft: oklch(0.4 0.02 175);
    --line: oklch(0.82 0.02 150);
    --brand: oklch(0.73 0.17 150);
    --brand-strong: oklch(0.56 0.14 153);
    --signal: oklch(0.84 0.16 104);
    --white: oklch(1 0 0);
    --shadow: 0 18px 40px rgb(0 0 0 / 0.18);
    --radius-lg: 1rem;
    --radius-md: 0.75rem;
    --radius-sm: 0.5rem;
    --shell: min(1120px, calc(100vw - 2rem));
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Commissioner", sans-serif;
    line-height: 1.6;
    color: var(--white);
    background:
        radial-gradient(circle at top left, rgb(109 241 159 / 0.18), transparent 28rem),
        radial-gradient(circle at top right, rgb(255 222 124 / 0.14), transparent 24rem),
        linear-gradient(180deg, var(--bg-strong) 0%, var(--bg) 38%, oklch(0.2 0.025 166) 100%);
    min-height: 100vh;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 20% 10%, rgb(255 255 255 / 0.08), transparent 10rem),
        radial-gradient(circle at 80% 12%, rgb(255 255 255 / 0.05), transparent 14rem);
    opacity: 0.9;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
}

h1,
h2,
h3 {
    margin: 0;
    font-family: "Teko", sans-serif;
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 0.95;
    text-wrap: balance;
}

p,
li,
summary,
a,
span,
time {
    text-wrap: pretty;
}

p {
    margin: 0;
}

.page-shell {
    position: relative;
    z-index: 1;
}

.site-header,
.section-shell,
.site-footer {
    width: var(--shell);
    margin: 0 auto;
}

.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.2rem 0 0;
}

.brand-mark {
    font-family: "Teko", sans-serif;
    font-size: clamp(1.8rem, 3vw, 2.45rem);
    letter-spacing: 0.02em;
    text-decoration: none;
    color: var(--white);
}

.site-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.8rem;
}

.site-nav a {
    color: rgb(255 255 255 / 0.8);
    text-decoration: none;
    font-size: 0.94rem;
}

.site-nav a:hover,
.site-nav a:focus-visible {
    color: var(--white);
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: clamp(1.5rem, 3vw, 3rem);
    align-items: end;
    padding: clamp(2.4rem, 6vw, 5.5rem) 0 clamp(2rem, 5vw, 4rem);
}

.hero-copy {
    display: grid;
    gap: 1.35rem;
}

.hero-kicker,
.promise-label {
    display: inline-flex;
    width: fit-content;
    border-radius: 999px;
    padding: 0.42rem 0.85rem;
    color: var(--signal);
    background: rgb(255 255 255 / 0.08);
    font-size: 0.9rem;
    font-weight: 600;
}

.hero h1 {
    max-width: 10ch;
    font-size: clamp(4rem, 10vw, 6rem);
}

.hero-lead {
    max-width: 62ch;
    color: rgb(255 255 255 / 0.84);
    font-size: clamp(1rem, 2.1vw, 1.18rem);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
}

.hero-subnote {
    color: rgb(255 255 255 / 0.68);
    font-size: 0.96rem;
}

.hero-subnote a {
    color: var(--signal);
    font-weight: 700;
    text-decoration: none;
}

.hero-subnote a:hover,
.hero-subnote a:focus-visible {
    text-decoration: underline;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3.2rem;
    padding: 0.9rem 1.25rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    transition:
        transform 180ms ease,
        background-color 180ms ease,
        color 180ms ease;
}

.button:hover,
.button:focus-visible {
    transform: translateY(-1px);
}

.button-primary {
    color: var(--white);
    background: var(--brand-strong);
}

.button-secondary {
    color: var(--white);
    background: rgb(255 255 255 / 0.09);
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.meta-chip {
    display: inline-flex;
    flex-direction: column;
    gap: 0.18rem;
    padding: 0.95rem 1rem;
    border-radius: var(--radius-md);
    background: rgb(255 255 255 / 0.08);
    min-width: 12rem;
}

.meta-label {
    color: rgb(255 255 255 / 0.62);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.hero-media {
    display: grid;
    gap: 1rem;
}

.hero-figure,
.guide-figure {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.hero-figure img,
.guide-figure img {
    width: 100%;
    aspect-ratio: 4 / 4.2;
    object-fit: cover;
}

.hero-figure::after,
.guide-figure::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 35%, rgb(8 17 13 / 0.74) 100%);
}

.hero-figure figcaption,
.guide-figure figcaption {
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    z-index: 1;
    color: rgb(255 255 255 / 0.92);
    font-size: 0.95rem;
}

.hero-aside,
.spotlight-main,
.spotlight-side,
.promise-panel,
.faq-item,
.simple-panel {
    border-radius: var(--radius-lg);
    background: var(--surface);
    color: var(--ink);
    box-shadow: var(--shadow);
}

.hero-aside {
    padding: 1.25rem 1.15rem;
}

.aside-title {
    font-family: "Teko", sans-serif;
    font-size: 1.8rem;
    margin-bottom: 0.75rem;
}

.aside-list {
    margin: 0;
    padding-left: 1.15rem;
    color: var(--ink-soft);
}

.aside-list li + li {
    margin-top: 0.35rem;
}

.section-shell {
    padding: clamp(1.25rem, 4vw, 2.25rem) 0;
}

.section-heading {
    display: grid;
    gap: 0.7rem;
    margin-bottom: 1.3rem;
}

.section-heading h2,
.guide-copy h2,
.promise-panel h2 {
    color: var(--white);
    font-size: clamp(2.55rem, 6vw, 4rem);
}

.section-heading p {
    max-width: 60ch;
    color: rgb(255 255 255 / 0.74);
}

.route-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.route-card {
    display: grid;
    gap: 0.95rem;
    padding: 1.25rem;
    border-radius: var(--radius-lg);
    background: rgb(255 255 255 / 0.08);
    box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.05);
}

.route-card h3 {
    font-size: clamp(2rem, 4vw, 2.5rem);
}

.route-card p {
    color: rgb(255 255 255 / 0.76);
}

.spotlight-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
    gap: 1rem;
}

.spotlight-main,
.spotlight-side {
    padding: 1.4rem;
}

.spotlight-main {
    grid-row: span 2;
}

.spotlight-main h3,
.spotlight-side h3 {
    color: var(--ink);
    font-size: clamp(2rem, 4vw, 2.85rem);
    margin-bottom: 0.75rem;
}

.spotlight-main p,
.spotlight-side p,
.promise-panel p,
.faq-item p,
.simple-panel p {
    color: var(--ink-soft);
}

.check-list {
    margin: 1rem 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.75rem;
}

.check-list li {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}

.check-list li::before {
    content: "";
    flex: none;
    width: 0.8rem;
    height: 0.8rem;
    margin-top: 0.42rem;
    border-radius: 999px;
    background: var(--brand);
}

.league-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.league-cloud span,
.topic-cloud span {
    padding: 0.58rem 0.8rem;
    border-radius: 999px;
    background: var(--surface-alt);
    color: var(--ink);
    font-size: 0.94rem;
    font-weight: 600;
}

.topic-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.spotlight-cta {
    display: grid;
    gap: 1rem;
    align-content: space-between;
}

.text-link {
    color: var(--brand-strong);
    font-weight: 700;
    text-decoration: none;
}

.text-link:hover,
.text-link:focus-visible {
    text-decoration: underline;
}

.guide {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
    gap: 1rem;
    align-items: center;
}

.guide-copy {
    display: grid;
    gap: 1rem;
}

.guide-copy p,
.guide-copy li {
    color: rgb(255 255 255 / 0.8);
}

.guide-steps {
    margin: 0;
    padding-left: 1.15rem;
    display: grid;
    gap: 1rem;
}

.guide-steps strong {
    color: var(--white);
}

.promise-panel {
    padding: clamp(1.5rem, 4vw, 2.25rem);
}

.promise-panel h2 {
    color: var(--ink);
    margin: 0.5rem 0 0.9rem;
}

.source-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 1rem;
}

.source-card {
    display: grid;
    gap: 0.6rem;
    min-height: 13rem;
    padding: 1.2rem;
    border-radius: var(--radius-lg);
    color: var(--white);
    text-decoration: none;
    background:
        linear-gradient(145deg, rgb(255 255 255 / 0.12), rgb(255 255 255 / 0.06)),
        rgb(255 255 255 / 0.05);
    box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.08);
    transition:
        transform 180ms ease,
        box-shadow 180ms ease,
        background-color 180ms ease;
}

.source-card:hover,
.source-card:focus-visible {
    transform: translateY(-2px);
    background-color: rgb(255 255 255 / 0.08);
    box-shadow:
        inset 0 0 0 1px rgb(255 255 255 / 0.16),
        0 18px 34px rgb(0 0 0 / 0.14);
}

.source-label {
    width: fit-content;
    border-radius: 999px;
    padding: 0.28rem 0.65rem;
    color: var(--signal);
    background: rgb(255 255 255 / 0.08);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.source-card strong {
    font-family: "Teko", sans-serif;
    font-size: clamp(2rem, 4vw, 2.65rem);
    line-height: 0.95;
}

.source-card span:last-child {
    color: rgb(255 255 255 / 0.76);
}

.faq-list {
    display: grid;
    gap: 0.85rem;
}

.faq-item {
    padding: 1.1rem 1.2rem;
}

.faq-item summary {
    cursor: pointer;
    list-style: none;
    font-weight: 700;
    color: var(--ink);
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item p {
    margin-top: 0.75rem;
}

.faq-item a,
.simple-panel a:not(.button) {
    color: var(--brand-strong);
    font-weight: 700;
}

.faq-item a:hover,
.faq-item a:focus-visible,
.simple-panel a:not(.button):hover,
.simple-panel a:not(.button):focus-visible {
    text-decoration: underline;
}

.site-footer {
    padding: 0.5rem 0 2rem;
}

.site-footer p {
    color: rgb(255 255 255 / 0.62);
    font-size: 0.92rem;
}

.simple-body {
    display: grid;
    place-items: center;
    padding: 1.5rem;
}

.simple-panel {
    width: min(42rem, 100%);
    padding: clamp(1.5rem, 4vw, 2.2rem);
}

.simple-panel h1 {
    font-size: clamp(3rem, 8vw, 4.8rem);
    color: var(--ink);
    margin-bottom: 0.85rem;
}

.simple-panel p + p {
    margin-top: 0.7rem;
}

.article-panel {
    width: min(48rem, 100%);
}

.article-panel h2 {
    margin-top: 1.35rem;
    margin-bottom: 0.55rem;
    color: var(--ink);
    font-size: clamp(2rem, 4vw, 2.65rem);
}

.article-panel ul {
    margin: 0.75rem 0 0;
    padding-left: 1.15rem;
    color: var(--ink-soft);
}

.article-panel li + li {
    margin-top: 0.45rem;
}

.query-note {
    margin-top: 1rem;
    padding: 0.85rem 1rem;
    border-radius: var(--radius-md);
    background: var(--surface-alt);
    color: var(--ink-soft);
}

.related-pages {
    display: grid;
    gap: 0.75rem;
    margin-top: 1rem;
}

.related-pages a {
    width: fit-content;
}

.simple-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1.4rem;
}

.countdown-number {
    color: var(--brand-strong);
    font-weight: 800;
}

.reveal {
    transition:
        opacity 500ms ease,
        transform 500ms ease;
}

.reveal.revealed {
    opacity: 1;
    transform: none;
}

@media (max-width: 900px) {
    .hero,
    .spotlight-grid,
    .guide {
        grid-template-columns: 1fr;
    }

    .spotlight-main {
        grid-row: auto;
    }

    .hero h1 {
        max-width: 12ch;
        font-size: clamp(3.4rem, 16vw, 5rem);
    }
}

@media (max-width: 640px) {
    .site-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .site-nav {
        justify-content: flex-start;
    }

    .hero-meta {
        flex-direction: column;
    }

    .meta-chip {
        min-width: 0;
    }

    .button,
    .button-secondary,
    .button-primary {
        width: 100%;
    }

    .simple-actions .button {
        width: auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation: none !important;
        transition-duration: 0.01ms !important;
        transition-delay: 0ms !important;
        scroll-behavior: auto !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}
