:root {
    color-scheme: dark;
    --background: #080b12;
    --surface: rgba(19, 25, 39, 0.88);
    --surface-strong: #171e2d;
    --border: rgba(255, 255, 255, 0.11);
    --text: #f4f7fb;
    --muted: #aab4c6;
    --accent: #9d6cff;
    --accent-light: #c9b4ff;
    --success: #65d6ad;
    --shadow: 0 24px 64px rgba(0, 0, 0, 0.32);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    margin: 0;
    color: var(--text);
    background:
        radial-gradient(circle at 12% 5%, rgba(116, 72, 217, 0.24), transparent 32rem),
        radial-gradient(circle at 92% 85%, rgba(40, 175, 147, 0.14), transparent 30rem),
        var(--background);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.65;
}

a {
    color: var(--accent-light);
    text-underline-offset: 0.2em;
    transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

a:hover {
    color: #ffffff;
}

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

.site-header {
    border-bottom: 1px solid var(--border);
    background: rgba(8, 11, 18, 0.78);
    backdrop-filter: blur(18px);
}

.site-header__inner,
.page,
.site-footer__inner {
    width: min(100% - 2rem, 920px);
    margin-inline: auto;
}

.site-header__inner {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text);
    font-weight: 750;
    letter-spacing: -0.02em;
    text-decoration: none;
}

.brand img {
    width: 40px;
    height: 40px;
    border-radius: 11px;
    object-fit: cover;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.header-nav a {
    color: var(--muted);
    font-size: 0.92rem;
    font-weight: 650;
    text-decoration: none;
}

.header-nav a[aria-current="page"],
.header-nav a:hover {
    color: var(--text);
}

.page {
    padding-block: 5rem 4rem;
}

.hero {
    max-width: 720px;
    margin-bottom: 2.5rem;
}

.eyebrow {
    margin: 0 0 0.75rem;
    color: var(--success);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

h1,
h2,
h3 {
    line-height: 1.18;
    letter-spacing: -0.03em;
}

h1 {
    margin: 0;
    font-size: clamp(2.35rem, 7vw, 4.5rem);
}

.lead {
    margin: 1.25rem 0 0;
    color: var(--muted);
    font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.meta {
    margin-top: 1rem;
    color: var(--muted);
    font-size: 0.9rem;
}

.content-card {
    margin-top: 1rem;
    padding: clamp(1.35rem, 4vw, 2.25rem);
    border: 1px solid var(--border);
    border-radius: 20px;
    background: linear-gradient(145deg, var(--surface), rgba(13, 17, 27, 0.92));
    box-shadow: var(--shadow);
}

.content-card h2 {
    margin: 0 0 0.8rem;
    font-size: 1.35rem;
}

.content-card h3 {
    margin: 1.5rem 0 0.5rem;
    font-size: 1.05rem;
}

.content-card p:last-child,
.content-card ul:last-child,
.content-card ol:last-child {
    margin-bottom: 0;
}

.content-card ul,
.content-card ol {
    padding-left: 1.25rem;
}

.content-card li + li {
    margin-top: 0.45rem;
}

.callout {
    border-color: rgba(157, 108, 255, 0.38);
    background: linear-gradient(145deg, rgba(93, 54, 167, 0.28), var(--surface));
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    margin-top: 0.5rem;
    padding: 0.65rem 1rem;
    border: 1px solid rgba(201, 180, 255, 0.35);
    border-radius: 11px;
    color: #fff;
    background: rgba(157, 108, 255, 0.2);
    font-weight: 750;
    text-decoration: none;
}

.button:hover {
    border-color: var(--accent-light);
    background: rgba(157, 108, 255, 0.32);
}

.site-footer {
    border-top: 1px solid var(--border);
    color: var(--muted);
}

.site-footer__inner {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding-block: 1.5rem;
    font-size: 0.88rem;
}

@media (max-width: 620px) {
    .site-header__inner,
    .site-footer__inner {
        align-items: flex-start;
        flex-direction: column;
        justify-content: center;
    }

    .site-header__inner {
        padding-block: 0.9rem;
    }

    .header-nav {
        flex-wrap: wrap;
    }

    .page {
        padding-block: 3.5rem 3rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    a {
        transition: none;
    }
}
