:root {
    color-scheme: dark;
    --bg: #0a0b0f;
    --surface: #111319;
    --surface-strong: #1a1d25;
    --text: #f0f2f5;
    --muted: #aab2bf;
    --accent: #338dff;
    --border: rgba(240, 242, 245, 0.12);
    --focus: rgba(51, 141, 255, 0.38);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    background:
        radial-gradient(circle at 50% 0, rgba(0, 112, 243, 0.14), transparent 34rem),
        var(--bg);
    color: var(--text);
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.7;
}

a { color: var(--accent); }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }

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

.header-inner,
.page,
.site-footer {
    width: min(100% - 32px, 860px);
    margin-inline: auto;
}

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

.brand {
    color: var(--text);
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.04em;
    text-decoration: none;
}

.brand span { color: var(--accent); }

.header-link {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.header-link:hover { border-color: var(--accent); background: var(--surface-strong); }

.page { padding: 64px 0 48px; }

.eyebrow {
    margin: 0 0 10px;
    color: var(--accent);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

h1, h2 { line-height: 1.25; }

h1 {
    margin: 0;
    font-size: clamp(2rem, 6vw, 3.25rem);
    letter-spacing: -0.04em;
}

h2 {
    margin: 42px 0 12px;
    font-size: clamp(1.25rem, 4vw, 1.55rem);
}

p, li { color: var(--muted); }

.updated {
    margin: 14px 0 0;
    color: var(--muted);
    font-size: 14px;
}

.summary {
    margin: 32px 0;
    padding: 22px 24px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--surface);
}

.summary p { margin: 0; }

ul { padding-left: 24px; }
li + li { margin-top: 8px; }

.contact-card {
    margin-top: 42px;
    padding: 24px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--surface);
}

.contact-card h2 { margin-top: 0; }
.contact-card p { margin-bottom: 0; }

.site-footer {
    padding: 24px 0 40px;
    border-top: 1px solid var(--border);
    color: var(--muted);
    font-size: 14px;
}

.site-footer nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }

@media (max-width: 560px) {
    .header-inner { align-items: flex-start; flex-direction: column; padding: 14px 0; }
    .header-link { width: 100%; justify-content: center; }
    .page { padding-top: 42px; }
    .summary, .contact-card { padding: 18px; }
}

@media print {
    :root { color-scheme: light; }
    body { background: #fff; color: #111; }
    .site-header { position: static; background: #fff; }
    .brand, h1, h2 { color: #111; }
    p, li, .updated, .site-footer { color: #333; }
    .header-link { display: none; }
}
