/* DoPascal site styles. CSP style-src 'self': classes only, no style attributes, no external URLs.
   Fonts: latin + latin-ext subsets (Polish letters live in latin-ext); licence in ../fonts/OFL.txt.
   Font URLs carry ?v=1 so they are cached as immutable like the asp-append-version files: change the number when a
   font file changes, here and in the preload links of Pages/Shared/_Layout.cshtml. */
@font-face{font-family:"Space Grotesk";font-weight:600;font-display:swap;src:url("../fonts/space-grotesk-latin-ext-600.woff2?v=1");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Space Grotesk";font-weight:600;font-display:swap;src:url("../fonts/space-grotesk-latin-600.woff2?v=1");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Space Grotesk";font-weight:700;font-display:swap;src:url("../fonts/space-grotesk-latin-ext-700.woff2?v=1");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Space Grotesk";font-weight:700;font-display:swap;src:url("../fonts/space-grotesk-latin-700.woff2?v=1");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Manrope";font-weight:400;font-display:swap;src:url("../fonts/manrope-latin-ext-400.woff2?v=1");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Manrope";font-weight:400;font-display:swap;src:url("../fonts/manrope-latin-400.woff2?v=1");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Manrope";font-weight:600;font-display:swap;src:url("../fonts/manrope-latin-ext-600.woff2?v=1");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Manrope";font-weight:600;font-display:swap;src:url("../fonts/manrope-latin-600.woff2?v=1");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Manrope";font-weight:700;font-display:swap;src:url("../fonts/manrope-latin-ext-700.woff2?v=1");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Manrope";font-weight:700;font-display:swap;src:url("../fonts/manrope-latin-700.woff2?v=1");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"JetBrains Mono";font-weight:400;font-display:swap;src:url("../fonts/jetbrains-mono-latin-ext-400.woff2?v=1");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"JetBrains Mono";font-weight:400;font-display:swap;src:url("../fonts/jetbrains-mono-latin-400.woff2?v=1");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}

/* Tokens */
:root {
    color-scheme: dark;
    --bg: #0b0d10;
    --bg-band: #0d1014;
    --surface: #0f1217;
    --code-bg: #0f1318;
    --code-bar: #13181f;
    --term-bg: #090b0e;
    --text: #e9edf2;
    --text-strong: #f4f6f9;
    --muted: #9aa3ae;
    --muted-2: #8b94a0;
    --dim: #7d8590;
    --accent: #ff7a33;
    --accent-hover: #ff8c4d;
    --accent-2: #ff9a5a;
    --accent-soft: #ffb088;
    --cyan: #6cc6d8;
    --green: #4ec77f;
    --amber: #f0b54a;
    --danger: #f2667c;
    --line: rgba(255,255,255,.08);
    --line-soft: rgba(255,255,255,.05);
    --line-strong: rgba(255,255,255,.14);
    --line-input: #5f6873; /* 3:1 against the page, as form controls need */
    --radius: 12px;
    --radius-lg: 16px;
    --radius-xl: 22px;
    --shadow: 0 24px 60px rgba(0,0,0,.45);
    --font-sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --font-display: "Space Grotesk", "Manrope", system-ui, sans-serif;
    --font-mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
    --container: 1280px;
    --narrow: 760px;
    --wide: 1440px;
    --gutter: clamp(16px, 4vw, 32px);
    --header-h: 64px;
}

/* Base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
    display: flex; flex-direction: column; min-height: 100vh; margin: 0; background: var(--bg); color: var(--text);
    font: 400 1rem/1.65 var(--font-sans);
    -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
/* Manrope's standard ligatures turn "(c)" into ©, "->" and "<-" into arrows and " <3 " into a heart (for example
   "Art. 6(1)(c)" in the privacy policy). The font shorthand of buttons, badges and inputs would switch them back on. */
* { font-variant-ligatures: no-common-ligatures !important; }
main { flex: 1 0 auto; }
img, svg, video { max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4, h5, h6 {
    margin: 0 0 .5em; color: var(--text-strong); text-wrap: balance;
    font-family: var(--font-display); font-weight: 700; line-height: 1.15; letter-spacing: -.02em;
}
h3, h4, h5, h6 { font-weight: 600; letter-spacing: -.01em; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { margin: 0 0 1em; padding-left: 1.3rem; }
li::marker { color: var(--accent-2); }
strong, b { color: var(--text-strong); font-weight: 700; }
a {
    color: var(--accent-2);
    text-decoration: underline 1px rgba(255,154,90,.45);
    text-underline-offset: .2em;
}
a:hover { color: var(--accent-soft); text-decoration-color: currentColor; }
:focus-visible { outline: 2px solid var(--accent-soft); outline-offset: 3px; }
::selection { background: rgba(255,122,51,.32); color: #fff; }
code, kbd, samp, pre { font-family: var(--font-mono); }
hr { margin: 2rem 0; border: 0; border-top: 1px solid var(--line); }
[id] { scroll-margin-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

/* Layout primitives */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: var(--narrow); margin-inline: auto; }
.wide { max-width: var(--wide); margin-inline: auto; }
.wide > .narrow { margin-inline: 0; }
.stack > * { margin-block: 0; }
.stack > * + * { margin-block-start: var(--stack-space, 1rem); }
.stack-lg > * + * { margin-block-start: clamp(2.75rem, 5vw, 4rem); }
.cluster { display: flex; flex-wrap: wrap; align-items: center; gap: var(--cluster-space, .75rem); }
ul.cluster, ol.cluster { padding: 0; list-style: none; }
.grid-2, .grid-3 { display: grid; gap: clamp(16px, 2.2vw, 24px); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 720px) { .grid-2, .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.span-all { grid-column: 1 / -1; }
.page { padding-block: clamp(28px, 4.5vw, 56px) clamp(56px, 8vw, 96px); }

/* Type helpers */
.eyebrow, .scope-list dt, .scope-never strong { font: 400 .76rem/1.4 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; }
.eyebrow { margin: 0 0 .9rem; color: var(--accent-2); }
.lead { max-width: 62ch; color: var(--muted); font-size: clamp(1.06rem, 1rem + .35vw, 1.2rem); line-height: 1.6; }
.measure { max-width: 40rem; } /* readable line length for text in a wide box */
.page-title { margin-bottom: .4em; font-size: clamp(1.9rem, 1.45rem + 1.7vw, 2.6rem); letter-spacing: -.028em; overflow-wrap: anywhere; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.mono { font-family: var(--font-mono); }
.nowrap { white-space: nowrap; }
.code-inline, :not(pre) > code {
    padding: .08em .38em; border: 1px solid rgba(255,255,255,.07); border-radius: 6px;
    background: rgba(255,255,255,.045); color: var(--accent-soft);
    font-family: var(--font-mono); font-size: .86em; overflow-wrap: anywhere;
}
/* Wraps instead of scrolling sideways: a scroller without focusable content would be out of reach for the keyboard. */
.code-block, .markdown pre {
    padding: 1rem 1.15rem; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius);
    background: var(--code-bg); color: #c5ccd6; font-size: .875rem; line-height: 1.7; white-space: pre-wrap; overflow-wrap: anywhere;
}
.code-block { margin: 0; }

/* Pascal syntax colours */
.tok-kw { color: #ff9a5a; }
.tok-id { color: #6cc6d8; }
.tok-str { color: #9fd687; }
.tok-num { color: #ffb088; }
.tok-dir { color: #f0b54a; }
.tok-com { color: #8a94a0; }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
    min-height: 44px; padding: .65rem 1.15rem;
    border: 1px solid transparent; border-radius: 10px; background: transparent; color: var(--text);
    font: 700 .95rem/1.2 var(--font-sans); text-align: center; text-decoration: none; white-space: nowrap;
    cursor: pointer; transition: background-color .15s, border-color .15s, color .15s;
}
.btn svg { flex: none; width: 16px; height: 16px; }
.btn-primary { background: var(--accent); color: #0b0d10; box-shadow: 0 8px 22px rgba(255,122,51,.22); }
.btn-primary:hover { background: var(--accent-hover); color: #0b0d10; }
.btn-secondary { border-color: rgba(255,255,255,.18); background: rgba(255,255,255,.02); color: #dde2e8; font-weight: 600; }
.btn-secondary:hover { border-color: rgba(255,255,255,.34); background: rgba(255,255,255,.05); color: var(--text-strong); }
.btn-danger { background: var(--danger); color: #0b0d10; }
.btn-danger:hover { background: #f68496; color: #0b0d10; }
.btn-link {
    min-height: 0; padding: 0; border: 0; background: none; color: var(--accent-2); font-weight: 600;
    text-decoration: underline 1px rgba(255,154,90,.45); text-underline-offset: .2em;
}
.btn-link:hover { color: var(--accent-soft); text-decoration-color: currentColor; }
.btn-small { min-height: 36px; padding: .4rem .8rem; border-radius: 8px; font-size: .85rem; }
.btn-link.btn-small { min-height: 0; padding: 0; }
.btn-large { min-height: 50px; padding: .85rem 1.45rem; border-radius: 11px; font-size: 1rem; }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; box-shadow: none; }

/* Badges and tags */
.badge {
    display: inline-flex; align-items: center; gap: .45rem; padding: .18rem .65rem;
    border: 1px solid var(--line-strong); border-radius: 999px; background: rgba(255,255,255,.04);
    color: var(--muted); font: 600 .75rem/1.45 var(--font-sans); white-space: nowrap; vertical-align: middle;
}
.badge::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge-ok { border-color: rgba(78,199,127,.35); background: rgba(78,199,127,.1); color: var(--green); }
.badge-warn { border-color: rgba(240,181,74,.35); background: rgba(240,181,74,.1); color: var(--amber); }
.badge-error { border-color: rgba(242,102,124,.38); background: rgba(242,102,124,.1); color: var(--danger); }
.badge-muted { color: var(--muted-2); }
.badge-accent { border-color: rgba(255,122,51,.4); background: rgba(255,122,51,.1); color: var(--accent-2); }
.tag {
    display: inline-flex; align-items: center; padding: .12rem .55rem;
    border: 1px solid rgba(255,255,255,.11); border-radius: 7px; background: rgba(255,255,255,.03);
    color: #d4dae2; font: 400 .8rem/1.55 var(--font-mono); white-space: nowrap;
}
.tags { display: flex; flex-wrap: wrap; gap: .45rem; }

/* Cards */
.card {
    padding: clamp(20px, 3vw, 28px); border: 1px solid var(--line); border-radius: var(--radius-lg);
    background: linear-gradient(180deg, rgba(255,255,255,.028), rgba(255,255,255,.006)), var(--surface);
}
.card > :last-child { margin-bottom: 0; }
.card-header {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1rem;
    margin-bottom: 1.25rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line);
}
.card-header > * { margin: 0; }
h2.card-header, .card-header h2, .card-header h3 { font-size: 1.15rem; }

/* Alerts: block layout, so inline content (strong, code, links) flows as text next to the icon */
.alert {
    --tone: var(--cyan); --tone-text: #d4edf2;
    position: relative; margin: 0 0 1rem; padding: .85rem 1rem .85rem 2.85rem;
    border: 1px solid var(--line-strong); border-color: color-mix(in srgb, var(--tone) 38%, transparent);
    border-radius: var(--radius);
    background: rgba(255,255,255,.03); background: color-mix(in srgb, var(--tone) 9%, transparent);
    color: var(--tone-text); font-size: .95rem; line-height: 1.55; overflow-wrap: break-word;
}
.alert::before {
    content: "i"; content: "i" / "";
    position: absolute; top: .95rem; left: 1rem; display: grid; place-items: center; width: 1.3rem; height: 1.3rem;
    border-radius: 50%; background: var(--tone); color: #0b0d10; font: 700 .75rem/1 var(--font-sans);
}
.alert p { margin: 0 0 .4rem; }
.alert ul { margin: 0; padding-left: 1.15rem; }
.alert > :last-child { margin-bottom: 0; }
.alert strong { color: inherit; }
.alert a { color: inherit; text-decoration-color: currentColor; }
.alert-info { --tone: var(--cyan); --tone-text: #d4edf2; }
.alert-success { --tone: var(--green); --tone-text: #d2f0de; }
.alert-success::before { content: "\2713"; content: "\2713" / ""; }
.alert-warning { --tone: var(--amber); --tone-text: #f5e3bf; }
.alert-warning::before { content: "!"; content: "!" / ""; }
.alert-error { --tone: var(--danger); --tone-text: #f9d3da; }
.alert-error::before { content: "\00d7"; content: "\00d7" / ""; font-size: 1rem; }

/* Forms */
.form { display: grid; align-content: start; gap: 1.15rem; }
.form > * { margin: 0; }
.form > .btn { justify-self: start; }
.wide .form:has(.textarea) { max-width: 64rem; }
.field { display: grid; align-content: start; gap: .45rem; min-width: 0; }
.field-row { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 1rem 1.15rem; }
.field-row > .field { flex: 1 1 14rem; }
fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
legend { padding: 0; }
legend.label { margin-bottom: .4rem; }
.label { color: var(--text); font-size: .92rem; font-weight: 600; }
.hint { margin: 0; color: var(--muted-2); font-size: .85rem; line-height: 1.5; }
.input, .select, .textarea {
    width: 100%; min-height: 46px; padding: .7rem .85rem;
    border: 1px solid var(--line-input); border-radius: 10px; background: var(--code-bg); color: var(--text-strong);
    font: 400 1rem/1.4 var(--font-sans); transition: border-color .15s, box-shadow .15s;
}
.textarea { min-height: 10rem; resize: vertical; line-height: 1.6; }
.textarea.mono { font: 400 .9rem/1.65 var(--font-mono); }
.input::placeholder, .textarea::placeholder { color: var(--dim); }
.input:hover, .select:hover, .textarea:hover { border-color: #7d8590; }
.input:focus, .select:focus, .textarea:focus {
    outline: 2px solid transparent; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(255,122,51,.3);
}
.select {
    appearance: none; padding-right: 2.6rem;
    background: var(--code-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' fill='none' stroke='%239aa3ae' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right .85rem center / 16px;
}
.input[aria-invalid="true"], .select[aria-invalid="true"], .textarea[aria-invalid="true"], .input-validation-error { border-color: var(--danger); }
.input[aria-invalid="true"]:focus, .input-validation-error:focus { box-shadow: 0 0 0 3px rgba(242,102,124,.32); }
.checkbox { display: flex; align-items: flex-start; gap: .7rem; color: var(--text); font-size: .95rem; line-height: 1.55; cursor: pointer; }
.checkbox input { flex: none; width: 1.15rem; height: 1.15rem; margin: .2rem 0 0; accent-color: var(--accent); cursor: pointer; }
.checkbox .hint { display: block; margin-top: .15rem; }
.checkbox-hint { margin-left: 1.85rem; } /* a hint outside a .checkbox label, aligned with its text (box 1.15rem + gap .7rem) */
.field-error, .field-validation-error { display: block; color: var(--danger); font-size: .86rem; font-weight: 600; line-height: 1.45; }
.field-validation-valid { display: none; }
.validation-summary ul { margin: 0; padding-left: 1.15rem; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem; }
/* Answers of equal weight (the newsletter question on the account page): the same width, and on phones each one
   fills its own row. */
.answers .btn { min-width: 12.5rem; }
@media (max-width: 519.98px) { .answers > * { flex: 1 1 100%; } .answers .btn { width: 100%; } }
.honeypot { position: absolute !important; top: auto !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.visually-hidden {
    position: absolute !important; width: 1px !important; height: 1px !important; margin: -1px !important;
    padding: 0 !important; overflow: hidden !important; clip: rect(0 0 0 0) !important; white-space: nowrap !important; border: 0 !important;
}

/* Definition lists (account and admin details), progress, disclosure */
dl:not([class]) { display: grid; grid-template-columns: minmax(0, 1fr); margin: 0; }
dl:not([class]) > dt { padding-top: .55rem; color: var(--muted-2); font-size: .84rem; font-weight: 600; }
dl:not([class]) > dd { margin: 0; padding: .1rem 0 .55rem; border-bottom: 1px solid var(--line-soft); overflow-wrap: anywhere; }
dl:not([class]) > :first-child { padding-top: 0; }
dl:not([class]) > dd:last-child { padding-bottom: 0; border-bottom: 0; }
@media (min-width: 480px) {
    dl:not([class]) { grid-template-columns: minmax(7rem, 2fr) minmax(0, 3fr); }
    dl:not([class]) > dt, dl:not([class]) > dd { padding: .55rem 0; border-bottom: 1px solid var(--line-soft); }
    dl:not([class]) > dd { padding-left: 1.25rem; }
    dl:not([class]) > :nth-child(-n+2) { padding-top: 0; }
    dl:not([class]) > :nth-last-child(-n+2) { padding-bottom: 0; border-bottom: 0; }
}
progress {
    display: block; width: 100%; height: .6rem; overflow: hidden; border: 0; border-radius: 999px;
    background: rgba(255,255,255,.08); color: var(--accent); accent-color: var(--accent); -webkit-appearance: none; appearance: none;
}
progress::-webkit-progress-bar { background: rgba(255,255,255,.08); }
progress::-webkit-progress-value { border-radius: 999px; background: var(--accent); }
progress::-moz-progress-bar { border-radius: 999px; background: var(--accent); }
summary { width: fit-content; color: var(--accent-2); font-weight: 600; cursor: pointer; }
summary:hover { color: var(--accent-soft); }
details[open] > summary { margin-bottom: 1rem; }

/* Tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); }
.table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.table caption { padding: .85rem 1rem; caption-side: top; color: var(--muted); font-size: .88rem; text-align: left; }
.table th, .table td { padding: .75rem 1rem; border-bottom: 1px solid var(--line-soft); text-align: left; vertical-align: middle; }
.table thead th {
    border-bottom-color: var(--line); background: rgba(255,255,255,.025); color: var(--muted-2);
    font: 600 .72rem/1.3 var(--font-sans); letter-spacing: .08em; text-transform: uppercase; white-space: nowrap;
}
.table tbody tr:last-child > * { border-bottom: 0; }
.table tbody tr:hover { background: rgba(255,255,255,.02); }
.table .num { text-align: right; font-variant-numeric: tabular-nums; }
.table input[type="checkbox"] { width: 1.05rem; height: 1.05rem; margin: 0; accent-color: var(--accent); vertical-align: middle; }
.table a { font-weight: 600; }
.table ul { margin: 0; }
/* Admin tables scroll sideways instead of breaking dates, addresses and codes; free-text cells (td.small) wrap. */
.wide .table td:not(.small) { white-space: nowrap; }
.wide .table td.small { min-width: 16rem; }

/* KPIs and chart (an <svg class="chart"> drawn with presentation attributes; the colours come from here) */
.kpis { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); }
.kpi {
    display: flex; flex-direction: column; gap: .3rem; padding: 1.1rem 1.25rem 1.2rem;
    border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface);
}
.kpi-value { color: var(--text-strong); font: 700 clamp(1.7rem, 1.35rem + 1vw, 2.15rem)/1.1 var(--font-display); letter-spacing: -.02em; }
.kpi-label { color: var(--muted-2); font-size: .85rem; line-height: 1.4; }
.chart { display: block; width: 100%; height: auto; overflow: visible; color: var(--text); }
.chart .chart-bar { fill: var(--accent); fill-opacity: 1; }
.chart .chart-bar-unconfirmed { fill: var(--accent-soft); }
.chart .chart-day:hover .chart-bar { fill: #fff; }
.chart .chart-grid { stroke: #fff; stroke-opacity: .08; shape-rendering: crispEdges; }
.chart line { shape-rendering: crispEdges; }
.chart text { fill: var(--muted-2); stroke: none; font: 400 6.5px var(--font-mono); }
@media (max-width: 1279.98px) { .chart text { font-size: 8px; } }
@media (max-width: 999.98px) { .chart text { font-size: 11px; } }
@media (max-width: 719.98px) { .chart text { font-size: 21px; } }
/* Too narrow for readable axis labels: the bars stay as a sparkline and the data table below has the numbers. */
@media (max-width: 479.98px) { .chart text { display: none; } }

/* Admin navigation and pagination */
.admin-nav, .admin-nav ul { display: flex; flex-wrap: nowrap; gap: .25rem; margin: 0; padding: 0; list-style: none; }
.admin-nav { margin-bottom: 1rem; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: thin; }
.admin-nav li { flex: none; }
.admin-nav a {
    display: block; margin-bottom: -1px; padding: .8rem .9rem; border-bottom: 2px solid transparent;
    color: var(--muted); font-size: .92rem; font-weight: 600; text-decoration: none; white-space: nowrap;
}
.admin-nav a:hover { color: var(--text-strong); }
.admin-nav a[aria-current="page"] { border-bottom-color: var(--accent); color: var(--text-strong); }
.pagination { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; margin: 1.5rem 0 0; padding: 0; list-style: none; }
.pagination li { display: flex; }
.pagination a, .pagination span {
    display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 .75rem;
    border: 1px solid var(--line-strong); border-radius: 9px; color: var(--muted); font-size: .9rem; font-weight: 600; text-decoration: none;
}
.pagination a:hover { border-color: rgba(255,255,255,.3); color: var(--text-strong); }
.pagination a[aria-current="page"] { border-color: var(--accent); background: var(--accent); color: #0b0d10; }
.pagination span[aria-current="page"] { border-color: transparent; color: var(--text); }
.pagination [aria-disabled="true"] { opacity: .45; }

/* Two-factor setup */
.qr { display: block; width: fit-content; margin-block: .75rem; padding: 12px; border-radius: var(--radius); background: #fff; line-height: 0; }
.qr svg, .qr img { display: block; width: min(208px, 62vw); height: auto; }
.key-box {
    display: block; padding: .85rem 1rem; border: 1px dashed rgba(255,255,255,.24); border-radius: 10px;
    background: var(--code-bg); color: var(--text-strong); font: 400 1rem/1.55 var(--font-mono);
    letter-spacing: .06em; overflow-wrap: anywhere; user-select: all;
}
.recovery-codes {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .45rem 1.5rem; margin: 0; padding: 1rem 1.25rem;
    border: 1px solid var(--line); border-radius: var(--radius); background: var(--code-bg); list-style: none;
    color: var(--text-strong); font: 400 .95rem/1.6 var(--font-mono); letter-spacing: .04em;
}
.key-box .code-inline, .recovery-codes .code-inline { padding: 0; border: 0; background: none; color: inherit; font-size: inherit; }

/* Rendered Markdown and long-form text */
.markdown, .prose { color: var(--text); line-height: 1.7; overflow-wrap: break-word; }
.markdown > *, .prose > * { margin-block: 0; }
.markdown > * + *, .prose > * + * { margin-block-start: 1em; }
.markdown :is(h1, h2, h3, h4, h5, h6), .prose h2, .prose h3 { margin-block-start: 1.7em; }
.markdown > :first-child, .prose > :first-child { margin-block-start: 0; }
.markdown h1 { font-size: 1.75rem; }
.markdown h2, .prose h2 { font-size: 1.4rem; }
.markdown h3, .prose h3 { font-size: 1.15rem; }
.markdown :is(h4, h5, h6) { font-size: 1rem; }
.markdown li + li, .prose li + li { margin-top: .4em; }
.markdown blockquote {
    margin-inline: 0; padding: .6rem 1rem; border-left: 3px solid var(--accent); border-radius: 0 8px 8px 0;
    background: rgba(255,255,255,.025); color: var(--muted);
}
.code-block code, .markdown pre code { padding: 0; border: 0; background: none; color: inherit; font-size: inherit; }
.markdown hr { margin-block: 2em; }
.markdown table { display: block; overflow-x: auto; border-collapse: collapse; font-size: .92rem; }
.markdown th, .markdown td { padding: .5rem .8rem; border: 1px solid var(--line); text-align: left; }
.markdown th { background: rgba(255,255,255,.03); color: var(--text-strong); }
.prose h2 { padding-top: 1.4rem; border-top: 1px solid var(--line-soft); }
.prose .table-wrap { margin-block: 1.25rem; }
/* Information that must stand apart from the rest (the right to object, Art. 21(4) GDPR). */
.prose .callout { padding: .85rem 1.1rem; border-left: 3px solid var(--accent); border-radius: 0 8px 8px 0; background: rgba(255,255,255,.035); }
@media (min-width: 640px) { .table-stack td:first-child { white-space: nowrap; } }
@media (max-width: 639.98px) {
    .table-stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
    .table-stack tr { display: block; padding: .8rem 1rem; border-bottom: 1px solid var(--line-soft); }
    .table-stack tbody tr:last-child { border-bottom: 0; }
    .table-stack td { display: block; padding: .15rem 0; border: 0; }
    .table-stack td[data-label]::before {
        content: attr(data-label); display: block; color: var(--muted-2);
        font: 600 .7rem/1.7 var(--font-sans); letter-spacing: .08em; text-transform: uppercase;
    }
}
.doc-meta { margin: 0 0 2.25rem; color: var(--muted-2); font: 400 .82rem/1.5 var(--font-mono); }

/* Header */
.skip-link {
    position: absolute; top: -100px; left: var(--gutter); z-index: 100; padding: .6rem 1rem; border-radius: 8px;
    background: var(--accent); color: #0b0d10; font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; color: #0b0d10; }
.site-header {
    position: sticky; top: 0; z-index: 50; border-bottom: 1px solid rgba(255,255,255,.07);
    background: rgba(11,13,16,.86); -webkit-backdrop-filter: saturate(140%) blur(14px); backdrop-filter: saturate(140%) blur(14px);
}
.header-inner { position: relative; display: flex; align-items: center; gap: 1.25rem; min-height: var(--header-h); }
.brand {
    display: inline-flex; flex: none; align-items: center; gap: .65rem; color: var(--text-strong);
    font: 700 1.2rem/1 var(--font-display); letter-spacing: -.02em; text-decoration: none;
}
.brand img { width: 30px; height: 30px; }
.brand:hover { color: #fff; }
.nav-toggle {
    display: inline-grid; place-items: center; width: 44px; height: 44px; margin-left: auto; padding: 0;
    border: 1px solid var(--line-strong); border-radius: 10px; background: transparent; color: var(--text); cursor: pointer;
}
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
    display: block; width: 18px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .2s, background-color .2s;
}
.nav-toggle-bars { position: relative; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }
.site-nav a, .nav-link { color: #c3cad3; font-weight: 600; text-decoration: none; }
.site-nav a:hover, .nav-link:hover, .nav-link[aria-current] { color: var(--text-strong); }
button.nav-link { padding: 0; border: 0; background: none; font: inherit; font-weight: 600; cursor: pointer; }
.account-nav ul { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem; margin: 0; padding: 0; list-style: none; }
.account-nav form { margin: 0; }
.lang-switch {
    display: inline-flex; align-items: center; justify-content: center; min-height: 34px; padding: .3rem .6rem;
    border: 1px solid var(--line-strong); border-radius: 8px; color: var(--muted); font-size: .85rem; font-weight: 600; text-decoration: none;
}
.lang-switch:hover { border-color: rgba(255,255,255,.32); color: var(--text-strong); }
/* Below 64em (1024px at the default font size; em so a larger default font collapses the menu earlier) the menu is one
   column of rows: sections, account links, the call to action, the language. site.js uses the same breakpoint. */
@media (max-width: 63.99em) {
    .site-menu { display: none; }
    .site-menu.is-open {
        position: absolute; top: 100%; right: 0; left: 0; display: block; max-height: calc(100vh - var(--header-h)); overflow-y: auto;
        margin-top: 1px; padding: .5rem var(--gutter) 1.5rem;
        border-bottom: 1px solid var(--line); background: var(--bg); box-shadow: 0 30px 40px rgba(0,0,0,.45);
    }
    .site-nav, .account-nav ul { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
    .site-nav a, .account-nav .nav-link {
        display: block; width: 100%; padding: .85rem .1rem; border-bottom: 1px solid var(--line-soft); font-size: 1.05rem; text-align: left;
    }
    .header-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 1.25rem; }
    .account-nav { align-self: stretch; }
    .account-nav li:has(> .btn) { margin-top: 1.25rem; }
    .account-nav .btn { width: 100%; min-height: 46px; font-size: .95rem; }
    .header-actions .lang-switch { order: 1; }
}
@media (min-width: 64em) {
    .nav-toggle { display: none; }
    .site-menu { display: flex; flex: 1; align-items: center; gap: 1.5rem; }
    .site-nav { display: flex; gap: .1rem; margin-left: .5rem; }
    .site-nav a { padding: .5rem .75rem; border-radius: 8px; font-size: .93rem; }
    .site-nav a:hover { background: rgba(255,255,255,.05); }
    .header-actions { display: flex; align-items: center; gap: 1.25rem; margin-left: auto; }
    .account-nav ul { flex-wrap: nowrap; white-space: nowrap; }
    .account-nav .nav-link { font-size: .93rem; }
}

/* Footer */
.site-footer { border-top: 1px solid rgba(255,255,255,.07); background: #0a0c0f; color: var(--muted-2); font-size: .9rem; }
.footer-inner { display: grid; gap: 1.1rem; padding-block: 2.5rem 2.25rem; }
.footer-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; }
.footer-top .brand { font-size: 1.05rem; }
.footer-top .brand img { width: 26px; height: 26px; }
.footer-links { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.5rem; margin: 0; padding: 0; list-style: none; }
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-links a:hover, .footer-links a[aria-current="page"] { color: var(--text-strong); text-decoration: underline; }
.footer-links .lang-switch { min-height: 0; padding: 0; border: 0; border-radius: 0; font-size: inherit; font-weight: 400; }
.footer-legal { max-width: 90ch; margin: 0; color: var(--dim); font-size: .82rem; line-height: 1.6; }
.footer-copy { margin: 0; color: var(--dim); font: 400 .78rem/1.5 var(--font-mono); }

/* Landing: sections */
.section { padding-block: clamp(56px, 7.5vw, 96px); border-top: 1px solid var(--line-soft); }
.section-band { background: var(--bg-band); }
.section-head { max-width: 46rem; margin-bottom: clamp(28px, 4.5vw, 48px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .lead { margin-inline: auto; }
.section-head .lead { margin-bottom: 0; }
.section-title { margin-bottom: .45em; font-size: clamp(1.85rem, 1.3rem + 2.1vw, 2.75rem); letter-spacing: -.028em; }

/* Landing: hero */
.hero { position: relative; overflow: hidden; padding-block: clamp(40px, 6.5vw, 88px) clamp(48px, 6vw, 80px); }
.hero::before {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background: radial-gradient(640px 400px at 10% 0%, rgba(241,90,28,.17), transparent 70%),
        radial-gradient(720px 480px at 96% 0%, rgba(58,120,180,.13), transparent 70%);
}
.hero-grid { position: relative; display: grid; gap: clamp(36px, 5vw, 56px); align-items: center; }
.hero-copy { max-width: 40rem; }
.hero-status {
    display: inline-flex; align-items: center; gap: .6rem; margin: 0 0 1.6rem; padding: .4rem .85rem;
    border: 1px solid rgba(255,122,51,.32); border-radius: 999px; background: rgba(255,122,51,.08);
    color: #ffbd9c; font: 400 .78rem/1.3 var(--font-mono); letter-spacing: .03em;
}
.status-dot { flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px rgba(255,122,51,.22); }
.hero-title { margin: 0 0 1.35rem; font-size: clamp(2.5rem, 1.6rem + 2.6vw, 3.5rem); line-height: 1.04; letter-spacing: -.035em; }
.accent { color: var(--accent); }
.hero .lead { margin: 0 0 2rem; color: #a5aeb9; font-size: clamp(1.08rem, 1rem + .4vw, 1.22rem); }
.hero-actions { --cluster-space: .85rem; }
.demo { display: grid; gap: 12px; min-width: 0; max-width: 680px; margin: 0; }
.code-window, .terminal { overflow: hidden; border: 1px solid rgba(255,255,255,.1); border-radius: 14px; background: var(--code-bg); }
.code-window { box-shadow: var(--shadow); }
.window-bar {
    display: flex; align-items: center; gap: .5rem; min-height: 40px; padding: .55rem 1rem;
    border-bottom: 1px solid rgba(255,255,255,.06); background: var(--code-bar);
}
.window-dots { display: flex; gap: 7px; }
.window-dots span { width: 11px; height: 11px; border-radius: 50%; background: #ff5f56; }
.window-dots span:nth-child(2) { background: #ffbd2e; }
.window-dots span:nth-child(3) { background: #27c93f; }
.window-title { margin-left: .4rem; color: var(--dim); font: 400 .75rem/1 var(--font-mono); }
.code-window pre, .terminal pre { margin: 0; padding: 1.05rem 1.25rem 1.2rem; overflow-x: auto; font: 400 .78125rem/1.7 var(--font-mono); }
.code-window pre { color: #c5ccd6; }
.code-window pre:focus-visible, .table-wrap:focus-visible { outline-offset: -2px; }
.terminal { background: var(--term-bg); }
.terminal .window-bar { min-height: 34px; background: #0e1116; }
.terminal pre { color: #dfe4ea; }
.term-prompt { color: var(--dim); }
.demo-caption { margin: 2px 4px 0; color: var(--muted-2); font-size: .82rem; line-height: 1.5; }
@media (max-width: 519.98px) { .hero-actions .btn { flex: 1 1 100%; } }
@media (min-width: 720px) and (max-width: 1279.98px) {
    .hero-copy, .hero .lead, .demo { margin-inline: auto; }
    .hero-copy, .demo-caption { text-align: center; }
    .hero-actions { justify-content: center; }
}
@media (min-width: 1280px) { .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 680px); } }
@media (prefers-reduced-motion: no-preference) {
    .status-dot { animation: pulse 2.6s ease-in-out infinite; }
    @keyframes pulse { 50% { box-shadow: 0 0 0 6px rgba(255,122,51,0); } }
}

/* Landing: why */
.points { margin-bottom: clamp(20px, 3vw, 28px); }
.point {
    padding: clamp(22px, 2.6vw, 30px); border: 1px solid var(--line); border-radius: var(--radius-lg);
    background: linear-gradient(180deg, rgba(255,255,255,.028), rgba(255,255,255,0));
}
.point h3 { margin-bottom: .55rem; font-size: 1.22rem; }
.point p { margin: 0; color: var(--muted); font-size: .97rem; }
.proof {
    display: grid; gap: clamp(24px, 4vw, 48px); padding: clamp(24px, 4vw, 44px);
    border: 1px solid rgba(255,122,51,.3); border-radius: var(--radius-xl);
    background: radial-gradient(640px 300px at 0% 0%, rgba(241,90,28,.1), transparent 70%), #0e1116;
}
.proof h3 { margin-bottom: .7rem; font-size: clamp(1.35rem, 1.15rem + .8vw, 1.75rem); font-weight: 700; letter-spacing: -.02em; }
.proof-text { margin: 0; color: var(--muted); }
.timeline { display: grid; gap: 1.15rem; margin: 0; padding: 0; list-style: none; }
.timeline li { position: relative; display: grid; gap: .1rem; padding-left: 1.75rem; color: var(--text); }
.timeline li::before {
    content: ""; position: absolute; top: .5rem; left: 0; width: 11px; height: 11px;
    border: 2px solid var(--accent); border-radius: 50%; background: #0e1116;
}
.timeline li:not(:last-child)::after {
    content: ""; position: absolute; top: calc(.5rem + 15px); bottom: calc(-1.15rem + 4px - .5rem); left: 5px;
    width: 1px; background: rgba(255,255,255,.16);
}
.timeline li.is-now::before { border-color: var(--green); background: var(--green); }
.timeline-year { color: var(--accent-2); font: 400 .8rem/1.6 var(--font-mono); letter-spacing: .06em; }
.timeline li.is-now .timeline-year { color: var(--green); }
@media (min-width: 900px) { .proof { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: center; } }

/* Landing: status */
.scope { display: grid; gap: 20px; }
.scope-card { padding: clamp(22px, 3vw, 32px); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); }
.scope-yes { border-color: rgba(78,199,127,.26); }
.scope-no { border-color: rgba(240,181,74,.24); }
.scope-title { display: flex; align-items: center; gap: .7rem; margin-bottom: 1.1rem; font-size: 1.3rem; }
.scope-title::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(78,199,127,.16); }
.scope-no .scope-title::before { border: 2px solid var(--amber); background: transparent; box-shadow: 0 0 0 4px rgba(240,181,74,.12); }
.scope-list { margin: 0; }
.scope-list > div { display: grid; gap: .55rem; padding: 1rem 0; border-top: 1px solid var(--line-soft); }
.scope-list > div:last-child { padding-bottom: 0; }
.scope-list dt { color: var(--muted-2); }
.scope-list dd { margin: 0; }
.scope-note { margin: .6rem 0 0; color: var(--muted); font-size: .92rem; }
.scope-summary { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--line-soft); }
.scope-items { display: grid; gap: .7rem; margin: 0 0 1.1rem; padding: 1rem 0 0; border-top: 1px solid var(--line-soft); list-style: none; }
.scope-items li { position: relative; padding-left: 1.5rem; }
.scope-items li::before { content: ""; position: absolute; top: .58rem; left: 2px; width: 9px; height: 9px; border: 2px solid var(--amber); border-radius: 50%; }
.scope-items .muted { font-size: .92rem; }
.scope-never { margin-top: 1.25rem; padding: 1rem 1.1rem; border: 1px dashed rgba(255,255,255,.16); border-radius: var(--radius); color: var(--muted); font-size: .92rem; }
.scope-never p { margin: 0; }
.scope-never strong { display: block; margin-bottom: .35rem; color: var(--muted-2); }
.scope-never code { padding: 0; border: 0; background: none; color: var(--text); }
@media (min-width: 640px) { .scope-list > div { grid-template-columns: 7.5rem minmax(0, 1fr); align-items: baseline; gap: 1rem; } }
@media (min-width: 960px) { .scope { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); } }
.facts-title { margin: clamp(44px, 6vw, 64px) 0 1.25rem; font-size: 1.3rem; }
.facts { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.fact { position: relative; padding: 1.6rem 1.5rem 1.5rem; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); }
.fact::before { content: ""; position: absolute; top: -1px; left: 1.5rem; width: 64px; height: 2px; background: var(--accent); }
.fact-value { margin: 0 0 .7rem; color: var(--text-strong); font: 700 clamp(2.4rem, 1.9rem + 1.8vw, 3.2rem)/1 var(--font-display); letter-spacing: -.035em; }
.fact-value span { color: var(--muted-2); }
.fact-label { margin: 0 0 .9rem; color: var(--text); line-height: 1.5; }
.fact-meta { margin: 0; color: var(--muted-2); font: 400 .78rem/1.6 var(--font-mono); }
@media (min-width: 900px) { .facts { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Landing: roadmap */
.roadmap-grid { display: grid; gap: clamp(28px, 5vw, 64px); }
.roadmap { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.roadmap-item {
    display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .9rem; padding: 1.15rem 1.1rem;
    border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface);
}
.roadmap-step {
    align-self: start; padding: .4rem .5rem; border: 1px solid rgba(255,122,51,.32); border-radius: 8px;
    background: rgba(255,122,51,.07); color: var(--accent-2); font: 400 .78rem/1 var(--font-mono);
}
.roadmap-item h3 { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .7rem; margin: .1rem 0 .4rem; font-size: 1.15rem; }
.roadmap-item p { margin: 0; color: var(--muted); font-size: .97rem; }
.roadmap-item.is-design { border-style: dashed; border-color: rgba(255,255,255,.2); background: transparent; }
.roadmap-item.is-design .roadmap-step { border-color: rgba(255,255,255,.18); background: transparent; color: var(--muted-2); }
@media (min-width: 640px) { .roadmap-item { gap: 1.1rem; padding: 1.35rem 1.5rem; } }
@media (min-width: 960px) {
    .roadmap-grid { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: start; }
    .roadmap-grid .section-head { position: sticky; top: calc(var(--header-h) + 32px); margin-bottom: 0; }
}

/* Landing: beta */
.beta-card {
    position: relative; overflow: hidden; padding: clamp(32px, 6vw, 68px) clamp(16px, 5vw, 56px);
    border: 1px solid rgba(255,122,51,.24); border-radius: var(--radius-xl);
    background: radial-gradient(760px 320px at 50% 0%, rgba(241,90,28,.18), transparent 70%), #0f1217;
}
.steps { display: grid; gap: 12px; max-width: 980px; margin: 0 auto 1.75rem; padding: 0; list-style: none; }
.step {
    display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .15rem .9rem; padding: 1.1rem 1.15rem;
    border: 1px solid var(--line); border-radius: var(--radius); background: rgba(11,13,16,.6);
}
.step-num {
    display: inline-grid; grid-row: span 2; place-items: center; width: 2rem; height: 2rem; border-radius: 50%;
    background: var(--accent); color: #0b0d10; font: 700 .95rem/1 var(--font-display);
}
.step h3 { margin: .25rem 0 .2rem; font-size: 1.08rem; }
.step p { margin: 0; color: var(--muted); font-size: .95rem; }
.beta-note { max-width: 72ch; margin: 0 auto 1.75rem; color: var(--muted); font-size: .93rem; text-align: center; }
.beta-actions { justify-content: center; }
@media (min-width: 800px) {
    .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
    .step { display: block; padding: 1.3rem 1.3rem 1.35rem; }
    .step-num { margin-bottom: .9rem; }
    .step h3 { margin-top: 0; }
}

/* Landing: FAQ */
.faq { margin: 0; }
.faq-item { padding: 1.35rem 0; border-top: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-item h3 { margin: 0 0 .45rem; font-size: 1.12rem; }
.faq-item p { margin: 0; color: var(--muted); }

/* Accessibility and media */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
@media (forced-colors: active) {
    .btn, .badge, .tag, .lang-switch, .nav-toggle { border: 1px solid ButtonText; }
    .input:focus, .select:focus, .textarea:focus { outline: 2px solid Highlight; }
    .chart .chart-bar { fill: CanvasText; }
    .chart .chart-bar-unconfirmed { fill: GrayText; }
}
