:root {
    color-scheme: light;
    --ink: #111318;
    --muted: #5d6675;
    --line: #e0e6ef;
    --paper: #ffffff;
    --wash: #f5f8fc;
    --accent: #0f6bff;
    --accent-soft: #e9f2ff;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    overflow-x: hidden;
    color: var(--ink);
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: linear-gradient(180deg, #f7fbff 0%, #fff 42%, var(--wash) 100%);
}

a {
    color: inherit;
}

.shell {
    width: min(980px, calc(100% - 32px));
    margin: 0 auto;
}

.nav {
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(16px);
}

.nav-inner,
.hero-actions,
.related {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.nav-inner {
    min-height: 68px;
    justify-content: space-between;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 900;
    text-decoration: none;
}

.brand img {
    width: 42px;
    height: 42px;
    border-radius: 10px;
}

.button {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    border-radius: 8px;
    color: #fff;
    font-weight: 900;
    text-decoration: none;
    background: var(--accent);
    box-shadow: 0 12px 26px rgba(15, 107, 255, 0.28);
}

.button-secondary {
    color: var(--ink);
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: none;
}

.hero {
    padding: 60px 0 34px;
}

.eyebrow {
    margin: 0 0 12px;
    color: #00876c;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

h1 {
    max-width: 780px;
    margin: 0;
    font-size: clamp(34px, 5vw, 58px);
    line-height: 1.04;
    letter-spacing: 0;
}

.lead {
    max-width: 760px;
    margin: 20px 0 0;
    color: var(--muted);
    font-size: 20px;
    line-height: 1.65;
}

.hero-image {
    overflow: hidden;
    margin-top: 30px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
}

.hero-image img {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
}

.section {
    padding: 34px 0;
}

.article {
    display: grid;
    gap: 22px;
}

.article h2,
.article h3 {
    margin: 0;
    line-height: 1.2;
    letter-spacing: 0;
}

.article p,
.article li {
    color: var(--muted);
    font-size: 17px;
    line-height: 1.72;
}

.article p,
.article ul,
.article ol {
    margin: 0;
}

.panel {
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--paper);
}

.panel h2 {
    margin-bottom: 10px;
}

.toc,
.related {
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
}

.toc a,
.related a {
    padding: 8px 10px;
    border-radius: 8px;
    font-weight: 850;
    text-decoration: none;
    background: var(--accent-soft);
}

.mobile-store {
    display: none;
}

@media (max-width: 720px) {
    body {
        padding-bottom: 78px;
    }

    .nav .button {
        display: none;
    }

    .hero {
        padding-top: 42px;
    }

    h1 {
        font-size: 34px;
        overflow-wrap: anywhere;
    }

    .lead {
        font-size: 18px;
    }

    .hero-actions .button {
        width: 100%;
    }

    .mobile-store {
        position: fixed;
        right: 14px;
        bottom: 14px;
        left: 14px;
        z-index: 20;
        display: flex;
    }
}
