:root {
    color-scheme: light dark;
    --bg: #0b0f14;
    --card: #111827;
    --text: #e5e7eb;
    --muted: #9ca3af;
    --link: #93c5fd;
    --ring: rgba(147, 197, 253, 0.35);
    --border: rgba(255, 255, 255, 0.10);
}

@media (prefers-color-scheme: light) {
    :root {
        --bg: #f6f7fb;
        --card: #ffffff;
        --text: #111827;
        --muted: #6b7280;
        --link: #2563eb;
        --ring: rgba(37, 99, 235, 0.25);
        --border: rgba(17, 24, 39, 0.10);
    }
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, "Noto Sans", "Liberation Sans", sans-serif;
    line-height: 1.5;
    background: var(--bg);
    color: var(--text);
}

.wrap {
    max-width: 820px;
    margin: 0 auto;
    padding: 28px 16px 40px;
}

header {
    margin-bottom: 18px;
}

h1 {
    margin: 0 0 6px;
    letter-spacing: 0.2px;
}

.card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

li {
    display: flex;
    gap: 10px;
    align-items: baseline;
    padding: 12px 14px;
    border-top: 1px solid var(--border);
}

li:first-child {
    border-top: none;
}

.num {
    width: 2.2rem;
    flex: 0 0 auto;
    color: var(--muted);
    font-variant-numeric: tabular-nums;
}

a {
    color: var(--link);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

a:focus-visible {
    outline: 3px solid var(--ring);
    outline-offset: 3px;
    border-radius: 6px;
}
