:root {
    --bg: #08090f;
    --ink: #e9ebf2;
    --text: #b4b9c9;
    --muted: #8b90a3;
    --line: rgba(255, 255, 255, 0.08);
    --accent: #22d3ee;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { color-scheme: dark; -webkit-text-size-adjust: 100%; }

body {
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    padding: 0 24px;
    background: var(--bg) radial-gradient(ellipse 70% 420px at 50% 0, rgba(34, 211, 238, 0.09), transparent) no-repeat;
    color: var(--text);
    font: 16px/1.65 -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
h1, h2 { color: var(--ink); letter-spacing: -0.02em; }

/* Home */
.home {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
    padding: 48px 0 40px;
    text-align: center;
}
.home img { width: min(220px, 60vw); height: auto; }
.home h1 { margin-top: 8px; font-size: 32px; line-height: 1.2; font-weight: 700; }
.tagline { margin-top: 6px; color: var(--muted); }
.lead { max-width: 500px; margin-top: 22px; }
.button {
    margin-top: 30px;
    padding: 13px 28px;
    border-radius: 999px;
    background: var(--ink);
    color: var(--bg);
    font-weight: 600;
}
.button:hover { background: #fff; text-decoration: none; }
.note { margin-top: 14px; font-size: 13px; color: var(--muted); }
.points {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    width: 100%;
    margin-top: 56px;
    padding-top: 28px;
    border-top: 1px solid var(--line);
    text-align: left;
    font-size: 14px;
    line-height: 1.55;
    color: var(--muted);
}
.points strong { display: block; margin-bottom: 4px; color: var(--ink); font-size: 15px; font-weight: 600; }

/* Text pages */
.top { width: 100%; max-width: 640px; margin: 0 auto; padding-top: 28px; }
.top a { color: var(--ink); font-weight: 700; letter-spacing: -0.01em; }
.top a:hover { color: var(--accent); text-decoration: none; }
.doc { flex: 1; width: 100%; max-width: 640px; margin: 0 auto; padding: 48px 0 56px; }
.doc h1 { font-size: 30px; line-height: 1.2; font-weight: 700; }
.updated { margin-top: 8px; font-size: 13px; color: var(--muted); }
.doc h2 { margin-top: 36px; font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
.doc p, .doc ul, .doc address { margin-top: 12px; }
.doc ul { padding-left: 20px; }
.doc li + li { margin-top: 6px; }
.doc strong { color: var(--ink); font-weight: 600; }
.doc address { font-style: normal; }

footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px 24px;
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
    padding: 24px 0 32px;
    border-top: 1px solid var(--line);
    font-size: 13px;
    color: var(--muted);
}
footer nav { display: flex; flex-wrap: wrap; gap: 6px 20px; }
footer a { color: var(--muted); }
footer a:hover { color: var(--ink); text-decoration: none; }

@media (max-width: 600px) {
    .points { grid-template-columns: 1fr; gap: 20px; text-align: center; }
    footer, footer nav { justify-content: center; }
}
