:root {
    color-scheme: dark;
    --bg: #090d17;
    --surface: #141c2e;
    --border: #30384e;
    --text: #eef0fb;
    --secondary: #b7c2d7;
    --muted: #99a7bf;
    --accent: #bec9fc;
    --lilac: #b9b5ed;
    --danger: #ffb6bf;
    --mono: "Cascadia Code", Consolas, monospace;
    font-family: Inter, "Segoe UI", "Yu Gothic UI", sans-serif;
    color: var(--text);
    background: var(--bg);
}
* { box-sizing: border-box }
body { margin: 0 }
a { color: var(--accent); text-underline-offset: .22em }
button, input, summary { font: inherit }
button, summary { cursor: pointer }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px }
a:hover, .link:hover { color: white }
.mast { position: relative; z-index: 3; background: #0c101bf5; border-bottom: 1px solid var(--border) }
.brand { display: inline-flex; align-items: center; color: var(--text); text-decoration: none; font-size: 1.15rem; font-weight: 720; letter-spacing: .045em }
.brand span { color: var(--lilac); font-weight: 460 }
.brand img { width: 34px; height: 34px; margin-right: 10px }
.card { background: linear-gradient(125deg,#1c2438db,#101724eb); padding: clamp(22px,4vw,44px); border: 1px solid var(--border); border-top-color: var(--lilac); margin-block: 1.5rem; overflow-wrap: anywhere }
.card h1 { margin: 0 0 1rem; font-size: clamp(1.6rem,4vw,2.3rem); font-weight: 550 }
.muted { color: var(--muted) }
.tag { padding: 3px 7px; border: 1px solid var(--border); color: var(--accent); font: .82rem var(--mono) }
.link { padding: 0; border: 0; background: transparent; color: var(--accent) }
svg { width: 1.1em; height: 1.1em }
.language-switch { color: var(--secondary); font-size: .88rem; white-space: nowrap; text-underline-offset: .25em }
