:root {
    color-scheme: light dark;
    --brand: #0077cc;
    --brand-text: #0068b5;
    --ink: #17212b;
    --muted: #596673;
    --paper: #ffffff;
    --wash: #f3f8fc;
    --line: #dce7ef;
    --tip: #e8f5ff;
}

* { box-sizing: border-box; }
html { font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.6; }
body { margin: 0; background: var(--wash); color: var(--ink); }
a { color: var(--brand-text); text-underline-offset: .18em; }
a:focus-visible { outline: 3px solid #ffbf47; outline-offset: 3px; }
.skip-link { position: absolute; left: 1rem; top: -5rem; background: var(--paper); padding: .75rem 1rem; z-index: 3; }
.skip-link:focus { top: 1rem; }
.docs-header { min-height: 64px; padding: .75rem max(1rem, calc((100vw - 860px) / 2)); display: flex; align-items: center; justify-content: space-between; background: var(--paper); border-bottom: 1px solid var(--line); }
.brand { color: var(--brand); font-size: 1.35rem; font-weight: 800; text-decoration: none; }
.brand span { color: var(--muted); font-size: .95rem; font-weight: 600; margin-left: .35rem; }
.language { font-weight: 650; }
.docs-shell { width: min(100% - 2rem, 860px); margin: 2.5rem auto 4rem; }
.breadcrumbs { color: var(--muted); font-size: .92rem; margin-bottom: 2rem; }
.eyebrow { color: var(--brand-text); font-weight: 750; letter-spacing: .04em; text-transform: uppercase; font-size: .82rem; }
h1 { font-size: clamp(2rem, 7vw, 3.25rem); line-height: 1.08; letter-spacing: -.035em; margin: .45rem 0 1.2rem; max-width: 18ch; }
h2 { font-size: clamp(1.35rem, 4vw, 1.8rem); line-height: 1.2; margin: 2.5rem 0 .75rem; }
h3 { font-size: 1.08rem; margin-bottom: .35rem; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 64ch; }
.byline { color: var(--muted); margin: 1.5rem 0 2.5rem; }
.article, .guide-card { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 12px 32px rgba(32, 75, 108, .08); }
.article { padding: clamp(1.25rem, 5vw, 3rem); }
.steps { list-style: none; counter-reset: step; padding: 0; }
.steps li { counter-increment: step; position: relative; padding: 0 0 1.35rem 3.25rem; min-height: 3rem; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: -.15rem; width: 2.25rem; height: 2.25rem; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--brand); font-weight: 800; }
.callout { margin: 1.5rem 0; padding: 1rem 1.2rem; border-left: 4px solid var(--brand); border-radius: 8px; background: var(--tip); }
.button { display: inline-block; padding: .8rem 1rem; border-radius: 10px; background: var(--brand); color: white; font-weight: 750; text-decoration: none; }
.button.secondary { background: transparent; color: var(--brand-text); border: 1px solid var(--brand-text); }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.guide-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1rem; margin-top: 2rem; }
.guide-card { display: block; padding: 1.25rem; color: inherit; text-decoration: none; }
.guide-card:hover { border-color: var(--brand); transform: translateY(-2px); }
.guide-card p { color: var(--muted); }
.docs-footer { display: flex; justify-content: center; flex-wrap: wrap; gap: .5rem 1.25rem; text-align: center; color: var(--muted); padding: 2rem 1rem 3rem; }
.docs-footer nav { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 1rem; }
code { overflow-wrap: anywhere; }
@media (prefers-color-scheme: dark) {
    :root { --ink: #edf5fb; --muted: #b3c2cf; --paper: #17232d; --wash: #0f181f; --line: #30414e; --tip: #122f43; --brand-text: #69c5ff; }
}
@media (max-width: 540px) { .docs-shell { margin-top: 1.25rem; } .article { border-radius: 14px; } }
