:root {
    --bg: #0b0f14;
    --surface: #0f1520;
    --text: #e6edf3;
    --muted: #9fb3c8;
    --accent: #7cc2ff;
    --card: #111927;
    --ring: #2b3a55;
    --shadow: 0 10px 25px rgba(0, 0, 0, .35);
}

:root.light {
    --bg: #f6f9fc;
    --surface: #ffffff;
    --text: #0a1623;
    --muted: #4a6074;
    --accent: #0a84ff;
    --card: #ffffff;
    --ring: #cfe3ff;
    --shadow: 0 10px 25px rgba(0, 0, 0, .08);
}

@media (prefers-color-scheme: light) {
    :root:not(.dark) {
        --bg: #f6f9fc;
        --surface: #ffffff;
        --text: #0a1623;
        --muted: #4a6074;
        --accent: #0a84ff;
        --card: #ffffff;
        --ring: #cfe3ff;
        --shadow: 0 10px 25px rgba(0, 0, 0, .08);
    }
}

* {
    box-sizing: border-box
}

html,
body {
    height: 100%
}

body {
    margin: 0;
    font: 16px/1.6 system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, "Helvetica Neue", Arial, "Apple Color Emoji", "Segoe UI Emoji";
    color: var(--text);
    background:
        radial-gradient(1200px 600px at 10% -10%, rgba(124, 194, 255, .15), transparent 60%),
        radial-gradient(800px 400px at 100% 0%, rgba(112, 255, 197, .12), transparent 50%),
        var(--bg);
}

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

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 24px
}

header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 0;
    position: sticky;
    top: 0;
    backdrop-filter: saturate(180%) blur(10px);
}

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

/*
.logo {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(124, 194, 255, .25), rgba(112, 255, 197, .2));
    box-shadow: var(--shadow)
}
    */

.brand h1 {
    font-size: 18px;
    margin: 0
}

.muted {
    color: var(--muted)
}

.toggle {
    border: 1px solid var(--ring);
    background: var(--surface);
    color: var(--text);
    padding: 8px 12px;
    border-radius: 10px;
    cursor: pointer;
    box-shadow: var(--shadow);
}

main {
    display: grid;
    gap: 28px
}

.hero {
    background: linear-gradient(180deg, rgba(124, 194, 255, .08), rgba(124, 194, 255, 0));
    border: 1px solid var(--ring);
    border-radius: 16px;
    padding: 24px;
    box-shadow: var(--shadow)
}

.hero h2 {
    margin: 0 0 6px 0;
    font-size: 28px
}

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

.card {
    background: var(--card);
    border: 1px solid var(--ring);
    border-radius: 14px;
    padding: 16px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: transform .15s ease, border-color .2s ease;
}

.card:hover {
    transform: translateY(-2px);
    border-color: var(--accent)
}

.card h3 {
    margin: 4px 0 0 0;
    font-size: 18px
}

.pill {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 12px;
    background: color-mix(in oklab, var(--accent) 18%, transparent);
    border: 1px solid var(--ring);
}

.cta {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid var(--ring);
    background: var(--surface);
}

.list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 0;
    list-style: none
}

.list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 12px;
    border: 1px solid var(--ring);
    border-radius: 10px;
    background: var(--card)
}

.list a span {
    color: var(--muted);
    font-size: 14px
}

footer {
    color: var(--muted);
    text-align: center;
    padding: 24px 0
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0
}

/* small nuance for links */
.card p a {
    text-decoration: underline;
    text-decoration-thickness: 1.5px;
    text-underline-offset: 2px;
    color: var(--accent);
}