:root {
    color-scheme: dark;
    font-family:
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
    font-size: 16px;
    line-height: 1.65;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    background: #111827;
    color: #f9fafb;
}

header {
    border-bottom: 1px solid #374151;
    background: #1f2937;
}

.header-inner,
main,
footer {
    width: min(54rem, calc(100% - 2rem));
    margin-inline: auto;
}

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

.site-name {
    color: #f9fafb;
    font-size: 1.1rem;
    font-weight: 750;
    text-decoration: none;
}

nav {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

nav a,
footer a,
main a {
    color: #93c5fd;
}

main {
    padding: 2rem 0 3rem;
}

.panel {
    padding: clamp(1.25rem, 4vw, 2.75rem);
    border: 1px solid #374151;
    border-radius: 1rem;
    background: #1f2937;
    box-shadow: 0 1.5rem 4rem rgb(0 0 0 / 25%);
}

h1,
h2 {
    line-height: 1.25;
}

h1 {
    margin-top: 0;
}

h2 {
    margin-top: 2rem;
    font-size: 1.3rem;
}

.updated,
.muted {
    color: #9ca3af;
}

.notice {
    padding: 1rem;
    border-left: 0.3rem solid #60a5fa;
    border-radius: 0.25rem;
    background: #172554;
}

footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1rem;
    padding: 0 0 2rem;
    color: #9ca3af;
    font-size: 0.875rem;
}

ul {
    padding-left: 1.4rem;
}

a:focus-visible {
    outline: 3px solid #93c5fd;
    outline-offset: 3px;
}

@media (max-width: 38rem) {
    .header-inner {
        align-items: flex-start;
        flex-direction: column;
    }
}
