:root {
    color-scheme: dark;

    --bg: #090b10;
    --surface: #11141b;
    --surface-hover: #171b24;
    --border: #252a35;

    --text: #f5f7fa;
    --text-secondary: #9ca3af;
    --accent: #7c8cff;
    --accent-hover: #98a4ff;

    --radius: 16px;
    --max-width: 920px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
    line-height: 1.7;
}

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

a:hover {
    color: var(--accent-hover);
}

.container {
    width: min(calc(100% - 32px), var(--max-width));
    margin: 0 auto;
}

header {
    border-bottom: 1px solid var(--border);
    background: rgba(9, 11, 16, 0.88);
    backdrop-filter: blur(14px);
    position: sticky;
    top: 0;
    z-index: 10;
}

.header-inner {
    min-height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.logo {
    font-weight: 700;
    font-size: 18px;
    color: var(--text);
}

nav {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

nav a {
    color: var(--text-secondary);
    font-size: 14px;
}

nav a:hover {
    color: var(--text);
}

main {
    padding: 64px 0 80px;
}

.hero {
    margin-bottom: 48px;
}

h1 {
    margin: 0 0 12px;
    font-size: clamp(32px, 6vw, 48px);
    line-height: 1.15;
}

h2 {
    margin-top: 42px;
    margin-bottom: 14px;
    font-size: 24px;
}

h3 {
    margin-top: 28px;
    margin-bottom: 10px;
    font-size: 18px;
}

p {
    margin: 12px 0;
}

.muted,
.updated {
    color: var(--text-secondary);
}

.updated {
    font-size: 14px;
}

.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    margin: 18px 0;
}

.card:hover {
    background: var(--surface-hover);
}

.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 18px;
    border-radius: 10px;
    background: var(--accent);
    color: #fff;
    font-weight: 600;
}

.button:hover {
    color: #fff;
    opacity: 0.9;
}

ul,
ol {
    padding-left: 24px;
}

li {
    margin: 7px 0;
}

.notice {
    padding: 18px 20px;
    border-left: 3px solid var(--accent);
    background: var(--surface);
    border-radius: 0 12px 12px 0;
}

footer {
    border-top: 1px solid var(--border);
    color: var(--text-secondary);
    padding: 28px 0;
    font-size: 14px;
}

@media (max-width: 720px) {
    .header-inner {
        flex-direction: column;
        align-items: flex-start;
        padding: 16px 0;
    }

    .grid {
        grid-template-columns: 1fr;
    }

    main {
        padding-top: 40px;
    }
}
