:root {
    color-scheme: dark;
    --background: #07100e;
    --surface: rgba(17, 37, 32, 0.84);
    --border: rgba(132, 255, 190, 0.16);
    --text: #f1fff7;
    --muted: #9db8aa;
    --accent: #76ffad;
    --accent-text: #04150c;
    --warning: #ffdc7c;
}

* {
    box-sizing: border-box;
}

html {
    font-family:
        Inter, ui-sans-serif, system-ui, -apple-system,
        BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: var(--background);
    color: var(--text);
}

body {
    min-height: 100vh;
    margin: 0;
    background:
        radial-gradient(
            circle at 15% 5%,
            #133b2d 0,
            transparent 34rem
        ),
        radial-gradient(
            circle at 95% 20%,
            #102f39 0,
            transparent 32rem
        ),
        var(--background);
}

a {
    color: inherit;
}

.header,
footer,
main {
    width: min(1180px, calc(100% - 32px));
    margin-left: auto;
    margin-right: auto;
}

.header {
    min-height: 84px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.brand-icon {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: var(--accent);
    color: var(--accent-text);
    font-size: 1.35rem;
    font-weight: 900;
}

.brand strong,
.brand small {
    display: block;
}

.brand small,
.version,
article small,
footer {
    color: var(--muted);
}

.version {
    font-size: 0.85rem;
}

main {
    margin-top: 34px;
    margin-bottom: 70px;
}

.hero {
    padding: clamp(36px, 7vw, 88px);
    border: 1px solid var(--border);
    border-radius: 32px;
    background:
        linear-gradient(
            135deg,
            rgba(18, 58, 43, 0.96),
            rgba(6, 18, 16, 0.9)
        );
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.32);
}

.eyebrow {
    color: var(--accent);
    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

h1 {
    max-width: 850px;
    margin: 18px 0;
    font-size: clamp(2.5rem, 7vw, 5.3rem);
    line-height: 0.98;
    letter-spacing: -0.055em;
}

.hero p {
    max-width: 750px;
    color: var(--muted);
    font-size: clamp(1rem, 2vw, 1.24rem);
    line-height: 1.7;
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.button {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    border-radius: 14px;
    font-weight: 850;
    text-decoration: none;
}

.primary {
    background: var(--accent);
    color: var(--accent-text);
}

.secondary {
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.04);
}

.disabled {
    cursor: default;
}

.access-grid,
.module-grid {
    display: grid;
    gap: 14px;
}

.access-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 20px 0 70px;
}

.access-grid article,
.module {
    border: 1px solid var(--border);
    background: var(--surface);
    backdrop-filter: blur(14px);
}

.access-grid article {
    min-height: 150px;
    padding: 22px;
    border-radius: 20px;
}

.access-grid span,
.access-grid strong,
.access-grid small,
.module strong,
.module small {
    display: block;
}

.access-grid span {
    margin-bottom: 18px;
    color: var(--muted);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.access-grid strong {
    margin-bottom: 8px;
    font-size: 1.08rem;
}

.access-grid small,
.module small {
    line-height: 1.5;
}

.section-title {
    margin-bottom: 24px;
}

h2 {
    margin: 8px 0 0;
    font-size: clamp(1.9rem, 4vw, 3rem);
    letter-spacing: -0.04em;
}

.module-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.module {
    min-height: 94px;
    padding: 20px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.module small {
    margin-top: 6px;
}

.status {
    flex: none;
    padding: 7px 10px;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.08em;
}

.status.complete {
    background: var(--accent);
    color: var(--accent-text);
}

.status.next {
    background: var(--warning);
    color: #2b1d00;
}

.status.planned {
    background: rgba(255, 255, 255, 0.08);
    color: var(--muted);
}

footer {
    min-height: 90px;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.85rem;
}

@media (max-width: 850px) {
    .access-grid,
    .module-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .version {
        display: none;
    }

    main {
        margin-top: 18px;
    }

    .hero {
        padding: 32px 24px;
        border-radius: 24px;
    }

    .access-grid,
    .module-grid {
        grid-template-columns: 1fr;
    }

    .module {
        align-items: flex-start;
    }

    footer {
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        gap: 6px;
    }
}
