:root {
  color-scheme: light;
  --paper: #fafaf7;
  --surface: #f1f2ed;
  --surface-quiet: #f1f2ed;
  --ink: #0b0c0e;
  --muted: #60656a;
  --line: #dfe1da;
  --green: #0A7352; --green-text: #0A7352;
  --green-wash: #E3F5EE;
  --blue: #244a92;
  --blue-wash: #edf2fb;
  --amber: #75510b;
  --amber-wash: #faf3df;
  --shadow: 0 12px 32px rgb(11 12 14 / 7%);
  --headline: "Inter Tight", Inter, system-ui, sans-serif;
  --sans: Inter, system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  font-family: var(--sans);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: var(--paper);
  color: var(--ink);
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --paper: #0b0c0e;
    --surface: #16191C;
    --surface-quiet: #16191C;
    --ink: #f5f6f3;
    --muted: #a8adb1;
    --line: #30363a;
    --green: #12B886; --green-text: #12B886;
    --green-wash: #102820;
    --blue: #a7c1fa;
    --blue-wash: #172338;
    --amber: #f1ce78;
    --amber-wash: #2b2414;
    --shadow: 0 12px 32px rgb(0 0 0 / 26%);
  }
}

:root[data-theme="light"] {
  color-scheme: light;
  --paper: #fafaf7; --surface: #f1f2ed; --surface-quiet: #f1f2ed; --ink: #0b0c0e;
  --muted: #60656a; --line: #dfe1da; --green: #0A7352; --green-text: #0A7352;
  --green-wash: #E3F5EE; --blue: #244a92; --blue-wash: #edf2fb; --amber: #75510b;
  --amber-wash: #faf3df; --shadow: 0 12px 32px rgb(11 12 14 / 7%);
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: #0b0c0e; --surface: #16191C; --surface-quiet: #16191C; --ink: #f5f6f3;
  --muted: #a8adb1; --line: #30363a; --green: #12B886; --green-text: #12B886;
  --green-wash: #102820; --blue: #a7c1fa; --blue-wash: #172338; --amber: #f1ce78;
  --amber-wash: #2b2414; --shadow: 0 12px 32px rgb(0 0 0 / 26%);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 6rem; }
body { margin: 0; min-width: 320px; background: var(--paper); color: var(--ink); font-size: 16px; line-height: 1.55; }
a { color: var(--ink); text-decoration-color: var(--green); text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 2px; }
button, input, select { font: inherit; }
[hidden] { display: none !important; }
button, a, input, select { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }
::selection { background: var(--green); color: #0b0c0e; }

.skip-link { position: fixed; z-index: 30; top: .5rem; left: .5rem; padding: .7rem 1rem; transform: translateY(-160%); background: var(--ink); color: var(--paper); border-radius: .3rem; }
.skip-link:focus { transform: none; }
.site-header { position: sticky; z-index: 20; top: 0; display: flex; align-items: center; gap: 2.4rem; min-height: 76px; padding: 0 max(24px, calc((100vw - 1160px) / 2)); border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--paper) 94%, transparent); backdrop-filter: blur(12px); }
.wordmark { display: inline-flex; align-items: center; gap: .65rem; color: var(--ink); text-decoration: none; font-family: var(--headline); font-weight: 600; letter-spacing: -.015em; white-space: nowrap; }
.primary-nav { display: flex; align-items: center; gap: clamp(1rem, 2vw, 2rem); margin-left: auto; }
.primary-nav a, .header-login { color: var(--muted); font-size: .86rem; font-weight: 560; text-decoration: none; }
.primary-nav a:hover, .primary-nav a[aria-current="page"], .header-login:hover { color: var(--ink); }
.header-actions { display: flex; align-items: center; gap: 1rem; }
.theme-toggle, .menu-toggle { display: grid; place-items: center; color: var(--ink); background: transparent; border: 1px solid var(--line); border-radius: 5px; cursor: pointer; }
.theme-toggle { width: 36px; height: 36px; }
.theme-symbol { display: block; width: .86rem; height: .86rem; border: 1px solid currentColor; border-radius: 50%; background: var(--surface); }
.menu-toggle { display: none; width: 40px; height: 36px; gap: 4px; padding: 8px 10px; }
.menu-toggle span { width: 18px; height: 1px; background: currentColor; }
.preview-bar { display: flex; justify-content: center; align-items: center; gap: .7rem; min-height: 34px; padding: .35rem 1rem; background: var(--surface-quiet); border-bottom: 1px solid var(--line); color: var(--muted); font-size: .72rem; letter-spacing: .015em; text-align: center; }
.preview-mark { padding: .05rem .4rem; background: var(--amber-wash); color: var(--amber); border: 1px solid color-mix(in srgb, var(--amber) 28%, transparent); border-radius: 3px; font: 600 .62rem var(--mono); text-transform: uppercase; }
main { min-height: 60vh; }

.hero, .section, .page-intro, .closing-cta, .badge-band, .status-live, .notice, .endpoint-list, .steps, .table-wrap, .calculator, .dashboard-grid, .dashboard-status, .auth-panel, .inline-links, main > .source-note, main > p:not(.lede):not(.microcopy), main > .grid, main > .microcopy, main > a, main > .actions, main > .lang-suggest, main > .dash-section { width: min(100% - 48px, 1160px); margin-inline: auto; }
main > a { display: block; }
main > h2 { width: min(100% - 48px, 1160px); margin: 2rem auto 1rem; }
.legal-body { width: min(100% - 48px, 780px); margin-inline: auto; padding-bottom: 3.5rem; }
.legal-body h2 { margin: 2.2rem 0 .8rem; font-size: 1.5rem; }
.legal-body h3 { margin: 1.6rem 0 .6rem; font-size: 1.1rem; }
.legal-body ul, .legal-body ol { padding-inline-start: 1.4rem; }
.legal-body li { margin-block: .3rem; }
.legal-body { overflow-wrap: anywhere; }
main:has(> .legal-body) > .notice { overflow-wrap: anywhere; }
.legal-body hr { margin-block: 2rem; border: 0; border-top: 1px solid var(--line); }
.legal-body table { display: block; overflow-x: auto; }
.legal-body .legal-updated { color: var(--muted); font-size: .85rem; }
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(380px, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; padding-block: clamp(4.4rem, 8vw, 7rem) clamp(3.6rem, 7vw, 6rem); }
.hero-side { display: grid; min-width: 0; gap: .9rem; }
.hero-evidence { display: grid; grid-template-columns: minmax(0, 1fr) minmax(180px, .72fr); gap: .75rem; }
.load-snapshot, .launch-price-slot { min-width: 0; padding: 1rem; border: 1px solid var(--line); border-radius: 7px; background: var(--surface); }
.load-snapshot { border-top: 2px solid var(--line); }
.launch-price-slot { border-left: 2px solid var(--line); }
.launch-price-slot .eyebrow { color: var(--muted); }
.latency-pair { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.latency-pair > div { display: flex; flex-direction: column; gap: .2rem; }
.metric-label { color: var(--muted); font: 500 .62rem var(--mono); text-transform: uppercase; }
.latency-pair strong { font-size: 1.15rem; font-weight: 500; white-space: nowrap; }
.launch-price-slot a { font-size: .78rem; font-weight: 500; }
.launch-tier-prices { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: .6rem; margin-block: .4rem; }
.launch-tier-prices p { display: flex; flex-direction: column; gap: .2rem; margin: 0; }
.launch-tier-prices p > span { color: var(--muted); font: 600 .62rem var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.launch-tier-prices strong { font-size: 1.1rem; font-weight: 500; white-space: nowrap; }
.launch-tier-prices small { color: var(--muted); font-size: .7rem; }
.slot-value { display: grid; gap: .12rem; margin: .2rem 0; font-size: 1.45rem; line-height: 1.1; }
.slot-value span { white-space: nowrap; }
.slot-value span:first-child { color: var(--muted); font: 500 .62rem var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.slot-value .price-unit { white-space: normal; font: 500 .68rem/1.35 var(--mono); letter-spacing: 0; }
.hero-copy { max-width: 660px; }
.eyebrow { margin: 0 0 .9rem; color: var(--muted); font: 600 .68rem var(--mono); letter-spacing: .105em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--headline); line-height: 1.1; letter-spacing: -.015em; }
h1 { max-width: 900px; margin-bottom: 1.3rem; font-size: clamp(3rem, 7.3vw, 4.5rem); font-weight: 600; }
.hero h1 span { color: var(--green-text); }
html[lang="de"] .hero h1 { hyphens: auto; overflow-wrap: anywhere; }
.hero-lede, .lede { max-width: 68ch; color: var(--muted); font-size: clamp(1rem, 1.5vw, 1.125rem); line-height: 1.55; }
.hero-lede { max-width: 610px; margin-bottom: 1.8rem; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; margin-block: 1.4rem; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .65rem; min-height: 44px; padding: .68rem 1rem; border: 1px solid transparent; border-radius: 5px; font-family: var(--headline); font-size: .9rem; font-weight: 500; text-decoration: none; cursor: pointer; transition: background-color .15s ease, border-color .15s ease, transform .15s ease; }
.button:hover { transform: translateY(-1px); }
.button:disabled, .button[aria-disabled="true"] { opacity: .54; cursor: not-allowed; transform: none; }
.button-primary:disabled, .button-primary[aria-disabled="true"] { border-color: var(--line); background: var(--surface-quiet); color: var(--muted); }
.button-primary { background: var(--green); color: #0b0c0e; font-size: 1.2rem; font-weight: 700; }
.button-primary:hover { filter: brightness(.95); }
.button-secondary { border-color: var(--line); background: var(--surface); color: var(--ink); }
.button-secondary:hover { border-color: var(--muted); }
.microcopy, .field-hint, .source-note, .sample-note { color: var(--muted); font-size: .78rem; }
.microcopy { margin: .9rem 0 0; }
.mono, code, pre, .stat-value, .calc-total, .calc-compare { font-family: var(--mono); font-variant-numeric: tabular-nums; }
code { padding: .08em .3em; border-radius: 3px; background: var(--surface-quiet); font-size: .91em; overflow-wrap: anywhere; }

.response-panel { position: relative; overflow: hidden; margin: 0; padding: clamp(1.3rem, 3vw, 2rem); border: 1px solid var(--line); border-radius: 8px; background: var(--surface); box-shadow: var(--shadow); }
.panel-top, .tier-title, .code-head, .prob-meta, .calc-compare, .inline-head { display: flex; justify-content: space-between; align-items: center; gap: .7rem; }
.panel-top { padding-bottom: 1.1rem; border-bottom: 1px solid var(--line); color: var(--muted); font-size: .78rem; }
.status-dot { width: 7px; height: 7px; margin-right: auto; border-radius: 50%; background: var(--green); }
.panel-tag { font: .65rem var(--mono); letter-spacing: .02em; }
.request-label, .response-label { margin-block: 1.3rem .4rem; color: var(--muted); font: 600 .62rem var(--mono); letter-spacing: .1em; }
.request-line { margin-bottom: .45rem; font-size: .82rem; }
.response-rule { height: 1px; margin-top: 1.4rem; background: var(--line); }
.prob-row { margin-top: 1rem; }
.prob-meta { margin-bottom: .35rem; font-size: .81rem; }
.prob-track { height: 5px; overflow: hidden; border-radius: 5px; background: var(--surface-quiet); }
.prob-track span { display: block; width: 0; height: 100%; background: var(--green); animation: bar-in .9s ease-out forwards; }
.prob-track [data-width="91"] { width: 91%; }
.prob-track [data-width="87"] { width: 87%; }
.prob-track [data-width="9"] { width: 9%; }
.prob-track [data-width="4"] { width: 4%; }
.sample-note { margin: 1.2rem 0 0; font-size: .69rem; }
.load-snapshot .sample-note, .launch-price-slot .sample-note { margin-top: .65rem; font-size: .67rem; line-height: 1.45; }
@keyframes bar-in { from { transform: scaleX(.01); transform-origin: left; } to { transform: scaleX(1); transform-origin: left; } }

.section { padding-block: clamp(3.6rem, 7vw, 6rem); border-top: 1px solid var(--line); }
.section-head { max-width: 760px; margin-bottom: 2rem; }
.section-head h2, .closing-cta h2 { margin-bottom: .9rem; font-size: clamp(2rem, 4.2vw, 3.8rem); font-weight: 600; }
.section-head .lede { margin-bottom: 0; font-size: 1.05rem; }
.grid { display: grid; gap: 1rem; }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card, .tier-card, .stat-card { min-width: 0; padding: 1.4rem; border: 1px solid var(--line); border-radius: 7px; background: var(--surface); }
.card h2, .card h3, .tier-card h3 { margin-bottom: .75rem; font-size: 1.2rem; font-weight: 590; }
.card p:not(.eyebrow), .tier-card p:not(.eyebrow) { margin-bottom: .9rem; color: var(--muted); font-size: .9rem; }
.card .eyebrow { margin-bottom: 1rem; }
.card a { overflow-wrap: anywhere; }
.text-link { display: inline-block; margin-top: .2rem; font-size: .86rem; font-weight: 580; }
.future-note { display: inline-block; margin-top: .2rem; color: var(--muted); font-size: .86rem; font-weight: 580; }
.source-note { margin-top: 1rem; }
.tier-grid { gap: 1rem; }
.tier-card { padding: clamp(1.3rem, 3vw, 2rem); }
.tier-grid .tier-card { display: flex; flex-direction: column; }
.tier-grid .tier-card > .text-link { align-self: flex-start; margin-top: auto; padding-top: .7rem; }
.tier-card .tier-future { padding-top: .8rem; border-top: 1px solid var(--line); font-size: .8rem; }
.tier-card h3, .tier-card h2 { margin-top: 1.5rem; font-size: 1.6rem; }
.tier-card h2 { font-weight: 600; }
.tier-title { min-height: 28px; }
.tier-title .tier-status { margin-left: auto; text-align: right; }
.tier-status { color: var(--muted); font: .67rem var(--mono); text-transform: uppercase; letter-spacing: .06em; }
.badge, .pill { display: inline-flex; align-items: center; min-height: 25px; padding: .15rem .5rem; border: 1px solid var(--line); border-radius: 4px; font: 600 .65rem var(--mono); letter-spacing: .04em; }
.badge-eu { border-color: var(--blue); background: var(--blue-wash); color: var(--blue); }
.badge-global { border-color: var(--green-text); background: var(--green-wash); color: var(--green-text); }
.badge-neutral { background: var(--surface-quiet); color: var(--ink); }
.pill-muted { background: var(--surface-quiet); color: var(--muted); }
.check-list { display: grid; gap: .65rem; padding: 0; list-style: none; color: var(--muted); font-size: .87rem; }
.check-list li { position: relative; padding-left: 1.2rem; }
.check-list li::before { position: absolute; left: 0; color: var(--green); content: "✓"; font-weight: 700; }
.check-list.cross-list li::before { color: var(--amber); content: "✕"; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { padding: 1.1rem 0; font-weight: 590; cursor: pointer; }
.faq-list details p { max-width: 800px; padding: 0 1rem 1rem 0; color: var(--muted); }
.closing-cta { display: flex; flex-direction: column; align-items: flex-start; margin-block: 2rem 6rem; padding: clamp(1.5rem, 5vw, 3.4rem); border: 1px solid var(--line); border-radius: 8px; background: var(--surface-quiet); }
.closing-cta h2 { max-width: 750px; }

.page-intro { padding-block: clamp(4rem, 8vw, 7rem) 2.6rem; }
.page-intro h1 { max-width: 920px; font-size: clamp(2.8rem, 6vw, 4.5rem); }
html[lang="de"] .page-intro h1 { hyphens: manual; overflow-wrap: break-word; }
.page-intro .lede { margin-bottom: 0; }
.notice { margin-block: 1rem 2rem; padding: 1rem 1.25rem; border: 1px solid var(--line); border-left: 3px solid var(--line); background: var(--surface); color: var(--ink); }
.notice p:last-child { margin-bottom: 0; }
.notice > strong:first-child { display: block; margin-bottom: .35rem; font-size: .9rem; }
.notice-amber { border-color: var(--amber); background: var(--amber-wash); }
.notice-amber strong { color: var(--amber); }
.legal-hold { margin-top: 2rem; }
.inline-links { display: flex; flex-wrap: wrap; gap: 1.2rem; margin-block: 2rem 4rem; }
.source-note { max-width: 1160px; }
.compact-grid { width: min(calc(100% - 48px), 1160px); margin: 1rem auto 2rem; }
.benchmark-chart { margin: 0; padding: clamp(1.2rem, 3vw, 2rem); border: 1px solid var(--line); border-radius: 7px; background: var(--surface); }
.benchmark-chart > .eyebrow { margin-bottom: 1.3rem; }
.benchmark-axis { display: flex; justify-content: space-between; margin: 0 2.9rem .35rem 0; color: var(--muted); font: .63rem var(--mono); }
.benchmark-row { display: grid; grid-template-columns: minmax(170px, .7fr) minmax(110px, 1fr) 3.5rem; align-items: center; gap: 1rem; padding-block: .85rem; border-top: 1px solid var(--line); }
.benchmark-label { display: flex; flex-direction: column; gap: .2rem; }
.benchmark-label strong { font-family: var(--headline); font-size: 1rem; font-weight: 600; }
.benchmark-label span { color: var(--muted); font-size: .7rem; }
.benchmark-track { height: 9px; overflow: hidden; border-radius: 6px; background: var(--line); }
.benchmark-bar { display: block; height: 100%; border-radius: inherit; background: var(--green); }
.benchmark-jev { background: var(--muted); }
.benchmark-unranked { box-sizing: border-box; border: 1px solid var(--green); background: repeating-linear-gradient(135deg, var(--green) 0 4px, transparent 4px 8px); }
.benchmark-value { font-size: 1.2rem; font-weight: 500; text-align: right; }
.benchmark-chart .source-note { margin: 1.2rem 0 0; }
.status-evidence { width: min(100% - 48px, 1160px); margin: 2rem auto 4rem; padding: clamp(1.2rem, 3vw, 2rem); border: 1px solid var(--line); border-radius: 7px; background: var(--surface); }
.status-evidence h2 { max-width: 760px; margin-bottom: 1rem; font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 600; }
.status-evidence .table-wrap { width: auto; margin: 1.3rem 0 1.4rem; }
.status-evidence .source-note { margin-bottom: 0; }

.code-card { overflow: hidden; margin-block: 1.5rem 2rem; border: 1px solid var(--line); border-radius: 7px; background: var(--surface); color: var(--ink); }
.code-head { min-height: 42px; padding: .45rem .75rem; border-bottom: 1px solid var(--line); color: var(--muted); font: .68rem var(--mono); }
.copy-button { padding: .35rem .55rem; border: 1px solid var(--line); border-radius: 4px; background: transparent; color: var(--ink); font: .68rem var(--mono); cursor: pointer; }
.code-card pre { overflow: auto; max-height: 460px; margin: 0; padding: 1rem; font-size: .78rem; line-height: 1.65; tab-size: 2; }
.code-card code { padding: 0; background: transparent; color: inherit; white-space: pre; }
#hf-slugs pre { max-width: 100%; overflow-x: auto; }
.steps { display: grid; gap: 1rem; padding-left: 1.7rem; counter-reset: steps; }
.steps li { padding: .3rem .4rem .5rem; }
.steps li::marker { color: var(--green); font: 700 .9rem var(--mono); }
.steps h2 { margin-bottom: .45rem; font-size: 1.25rem; }
.steps p { margin-bottom: 0; color: var(--muted); }
.table-wrap { overflow-x: auto; margin-block: 1.3rem 2rem; border: 1px solid var(--line); border-radius: 7px; background: var(--surface); }
table { width: 100%; border-collapse: collapse; text-align: left; font-size: .85rem; }
th, td { padding: .8rem .9rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--surface-quiet); color: var(--muted); font: 600 .66rem var(--mono); letter-spacing: .06em; text-transform: uppercase; }
tr:last-child td { border-bottom: 0; }
.pricing-table { width: 100%; min-width: 0; table-layout: fixed; }
.pricing-table th:first-child { width: 32%; }
.pricing-table th:nth-child(2), .pricing-table th:nth-child(3) { width: 34%; }
.pricing-table td, .pricing-table th[scope="row"] { vertical-align: middle; }
.pricing-table th[scope="row"] code { background: transparent; }
.pricing-table td strong { font: 500 1.45rem var(--mono); font-variant-numeric: tabular-nums; white-space: nowrap; }
.pricing-delta { display: inline-block; margin-top: .3rem; color: var(--green-text); font: 700 1.2rem var(--headline); white-space: nowrap; }
.pricing-table .field-hint { font: .72rem var(--sans); letter-spacing: 0; text-transform: none; }
.pricing-table thead .field-hint { color: var(--muted); }
.section .multi-benchmark-wrap { width: 100%; }
.multi-benchmark-table { min-width: 1080px; table-layout: fixed; }
.multi-benchmark-table col { width: 16.6667%; }
.multi-benchmark-table caption { padding: 1rem; border-bottom: 1px solid var(--line); color: var(--muted); font: 500 .68rem/1.5 var(--mono); text-align: left; }
.multi-benchmark-table th[scope="col"], .multi-benchmark-table th[scope="row"] { font: 600 .82rem/1.45 var(--sans); text-transform: none; letter-spacing: 0; }
.multi-benchmark-table th[scope="col"] a { display: inline-block; }
.multi-benchmark-table small { display: block; margin-top: .4rem; color: var(--muted); font: 400 .72rem/1.5 var(--sans); }
.multi-benchmark-table td { vertical-align: middle; font-size: .83rem; }
@media (max-width: 700px) {
  .multi-benchmark-table th[scope="row"], .multi-benchmark-table thead th:first-child { position: sticky; left: 0; z-index: 1; background: var(--surface); box-shadow: 1px 0 var(--line); }
  .multi-benchmark-table caption { position: sticky; left: 0; width: calc(100vw - 36px); z-index: 2; background: var(--surface); }
  .multi-benchmark-wrap::before { content: "Scroll for all five sources →"; display: block; position: sticky; left: 0; width: 100%; padding: .75rem 1rem; border-bottom: 1px solid var(--line); background: var(--surface); color: var(--muted); font: 500 .72rem/1.5 var(--sans); }
  html[lang="de"] .multi-benchmark-wrap::before { content: "Für alle fünf Quellen wischen →"; }
}
@media (max-width: 420px) { .hero-evidence { grid-template-columns: minmax(0, 1fr); } }
.prose { width: min(100% - 48px, 1160px); margin: 2rem auto 5rem; }
.prose h2 { margin-block: 2.5rem 1rem; font-size: clamp(1.6rem, 3vw, 2.3rem); }
.prose h3 { margin-bottom: .8rem; font-size: 1.25rem; }
.prose p { max-width: 90ch; color: var(--muted); }
.benchmark-method { padding-block: 1.4rem .5rem; border-top: 1px solid var(--line); }
@media (max-width: 700px) { .prose { width: min(100% - 36px, 1160px); } }
.endpoint-list { display: grid; gap: .8rem; margin-block: 1rem 2rem; }
.endpoint { padding: 1.1rem 1.2rem; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); }
.endpoint > div { display: flex; flex-wrap: wrap; gap: .7rem; align-items: center; margin-bottom: .65rem; }
.endpoint p { margin-bottom: .5rem; color: var(--muted); font-size: .88rem; }
.endpoint p:last-child { margin-bottom: 0; }
.method { display: inline-grid; min-width: 48px; min-height: 23px; place-items: center; border-radius: 3px; font: 700 .63rem var(--mono); }
.method-post { background: var(--green-wash); color: var(--ink); }
.method-get { background: var(--surface-quiet); color: var(--ink); }

.calculator { display: grid; grid-template-columns: minmax(0, 1fr) minmax(250px, .65fr); gap: 2rem; padding: clamp(1.3rem, 3vw, 2rem); }
.calculator h2 { margin-bottom: .7rem; font-size: 1.6rem; }
.calculator p { color: var(--muted); font-size: .88rem; }
label { display: block; margin-block: .9rem .35rem; font-size: .83rem; font-weight: 590; }
input, select { width: 100%; min-height: 43px; padding: .6rem .7rem; border: 1px solid var(--line); border-radius: 4px; background: var(--paper); color: var(--ink); }
input::placeholder { color: var(--muted); }
main > .ar-install { width: min(100% - 48px, 1160px); margin: 1.2rem auto 0; }
[data-ar-waitlist] .button { margin-top: .9rem; }
[data-ar-waitlist] .field-hint a { text-decoration: underline; }
.field-hint { margin-block: .5rem 0; line-height: 1.5; }
.calc-result { display: flex; flex-direction: column; justify-content: center; padding: 1.3rem; border-radius: 6px; background: var(--surface-quiet); }
.calc-result .eyebrow { margin-bottom: .7rem; }
.calc-total { margin-bottom: .3rem; font-size: clamp(2.2rem, 4vw, 3.5rem); font-weight: 600; letter-spacing: -.06em; }
.calc-result > p:not(.eyebrow) { margin-bottom: .8rem; }
.calc-compare { margin-block: 1.1rem; padding-top: 1rem; border-top: 1px solid var(--line); font-size: .78rem; }
.calc-compare strong { text-align: right; }

.dashboard-intro { padding-bottom: 1.5rem; }
.dashboard-status { margin-block: 0 1rem; padding: .7rem .9rem; border: 1px solid var(--line); border-radius: 5px; background: var(--surface); color: var(--muted); font-size: .84rem; }
.dashboard-status[data-state="error"] { border-color: var(--amber); color: var(--amber); }
.dashboard-grid { display: grid; grid-template-columns: 175px minmax(0, 1fr); gap: 2rem; padding-bottom: 5rem; }
.dashboard-main { min-width: 0; }
.dashboard-main .table-wrap { width: 100%; margin-inline: 0; }
.dashboard-main .dash-section { scroll-margin-top: max(0px, calc(var(--dashboard-header-height) + 16px - 6rem)); }
.dashboard-nav { position: sticky; top: 100px; display: flex; flex-direction: column; align-self: start; gap: .25rem; }
.dashboard-nav a { padding: .6rem .7rem; border-radius: 4px; color: var(--muted); font-size: .85rem; text-decoration: none; }
.dashboard-nav a:hover, .dashboard-nav a[aria-current="page"] { background: var(--surface-quiet); color: var(--ink); }
.dash-section { padding-block: 1.8rem; border-bottom: 1px solid var(--line); scroll-margin-top: 100px; }
.dash-section h2 { margin-bottom: .7rem; font-size: 1.55rem; }
.invite-panel { width: min(calc(100% - 48px), 1160px); margin: 1rem auto 2rem; padding: 1.5rem; border: 1px solid var(--line); border-radius: 7px; background: var(--surface); }
.invite-panel form { display: grid; grid-template-columns: minmax(0, 28rem) max-content; gap: .5rem .8rem; justify-content: start; }
.invite-panel label { grid-column: 1 / -1; }
.invite-panel button { align-self: end; }
.invite-panel [data-state="error"] { color: var(--amber); }
.invite-panel [data-state="ok"] { color: var(--green-text); }
@media (max-width: 600px) {
  .invite-panel { width: calc(100% - 32px); padding: 1rem; }
  .invite-panel form { grid-template-columns: minmax(0, 1fr); }
  .invite-panel button { justify-self: start; }
}
.topup-form { display: grid; gap: .6rem; max-width: 560px; margin: 1rem 0 1.8rem; padding: 1rem; border: 1px solid var(--line); border-radius: 5px; background: var(--surface); }
.topup-form h3, .topup-form p { margin: 0; }
.topup-form .check-row { margin-block: .4rem; align-items: flex-start; }
#withdrawal form { display: grid; gap: .6rem; max-width: 560px; }
#withdrawal form > .button { justify-self: start; }
.legal-onboarding .check-row { align-items: flex-start; }
.legal-onboarding .check-row input { flex-shrink: 0; margin-top: 3px; }
.legal-onboarding .check-row > span { min-width: 0; }
.stat-grid { gap: .7rem; }
.stat-card { padding: 1rem; }
.stat-value { margin-bottom: .2rem; font-size: 1.5rem; font-weight: 590; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.stat-small { font-size: 1.05rem; }
.stat-card .microcopy { margin-top: .25rem; }
.inline-head { align-items: flex-end; }
.inline-head .section-head { margin-bottom: 0; }
.zero-balance .button { margin-block: .25rem .75rem; }
.zero-curl { margin: 0; padding: .75rem; background: var(--surface); border: 1px solid var(--line); border-radius: 4px; font-size: .8rem; white-space: pre-wrap; overflow-wrap: anywhere; }
.secret-reveal .zero-balance { margin-block: 1rem 0; width: auto; }
.secret-reveal { margin-top: 1rem; padding: 1rem; border: 1px solid var(--green); border-radius: 5px; background: var(--green-wash); overflow-wrap: anywhere; }
.secret-value { font-size: .85rem; }
.toggle-row, .check-row { display: flex; align-items: center; gap: .55rem; }
.toggle-row input, .check-row input { width: 18px; min-height: 18px; margin: 0; accent-color: var(--green); }
.dialog { width: min(500px, calc(100% - 32px)); padding: 1.4rem; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); color: var(--ink); box-shadow: var(--shadow); }
.dialog::backdrop { background: rgb(0 0 0 / 55%); }
.dialog fieldset { margin-block: 1rem; padding: .75rem; border: 1px solid var(--line); border-radius: 5px; }
.dialog legend { padding-inline: .3rem; color: var(--muted); font-size: .8rem; }
.auth-panel { max-width: 640px; margin-block: clamp(4rem, 9vw, 8rem); padding: clamp(1.5rem, 5vw, 3rem); border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
.auth-panel h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
.auth-form { margin-top: 1.4rem; }
.auth-form .button { margin-top: .7rem; }
.dashboard-signout { margin-top: .9rem; align-self: flex-start; }
.legal-updated { margin-block: .6rem 1.2rem; color: var(--muted); font: .72rem var(--mono); }

.site-footer { display: grid; grid-template-columns: minmax(220px, 1fr) 1fr; gap: 3rem; padding: 3.5rem max(24px, calc((100vw - 1160px) / 2)) 1.3rem; border-top: 1px solid var(--line); background: var(--surface-quiet); }
.footer-main p { max-width: 340px; margin-block: 1rem .4rem; color: var(--muted); font-size: .87rem; }
.footer-main .footer-trademark { font-size: .73rem; }
.footer-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; }
.footer-links > div { display: flex; flex-direction: column; align-items: flex-start; gap: .42rem; }
.footer-links .eyebrow { margin-bottom: .4rem; }
.footer-links a, .footer-bottom { color: var(--muted); font-size: .8rem; text-decoration: none; }
.footer-links span { color: var(--muted); font-size: .8rem; }
.footer-links a:hover, .footer-bottom a:hover { color: var(--ink); text-decoration: underline; }
.footer-bottom { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 1rem; margin-top: 1.4rem; padding-top: 1rem; border-top: 1px solid var(--line); font: .68rem var(--mono); }

@media (max-width: 920px) {
  .site-header { gap: 1.2rem; }
  .primary-nav { gap: .9rem; }
  .primary-nav a { font-size: .78rem; }
  .hero { grid-template-columns: minmax(0, 1fr) minmax(360px, 1fr); gap: 2rem; }
  .benchmark-row { grid-template-columns: minmax(150px, .75fr) minmax(90px, 1fr) 3.4rem; gap: .75rem; }
  .grid.three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .calculator { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 700px) {
  html { scroll-padding-top: 4.8rem; }
  .site-header { min-height: 64px; padding-inline: 18px; gap: .7rem; }
  .menu-toggle { display: grid; margin-left: auto; }
  .primary-nav { position: absolute; top: 63px; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: .45rem 18px .9rem; border-bottom: 1px solid var(--line); background: var(--paper); box-shadow: var(--shadow); }
  .primary-nav.is-open { display: flex; }
  .primary-nav a { padding: .7rem .45rem; font-size: .9rem; }
  .header-actions { gap: .55rem; }
  .header-login { font-size: .78rem; }
  .preview-bar { justify-content: flex-start; font-size: .66rem; text-align: left; }
  .hero, .section, .page-intro, .closing-cta, .badge-band, .status-live, .notice, .endpoint-list, .steps, .table-wrap, .calculator, .dashboard-grid, .dashboard-status, .auth-panel, .inline-links, main > .source-note, main > p:not(.lede):not(.microcopy), main > h2, main > .grid, main > .microcopy, main > a, main > .actions, main > .lang-suggest, main > .dash-section, .legal-body { width: min(100% - 36px, 1160px); }
  .legal-body { width: min(100% - 36px, 780px); }
  .hero { grid-template-columns: 1fr; padding-block: 4rem 3.2rem; }
  .hero h1 { font-size: clamp(3rem, 13vw, 4.5rem); }
  html[lang="de"] .hero h1 { font-size: clamp(2.5rem, 11.5vw, 4rem); }
  .hero-lede { font-size: 1.03rem; }
  .response-panel { max-width: none; }
  .section { padding-block: 3.3rem; }
  .grid.three, .grid.two { grid-template-columns: 1fr; }
  .page-intro { padding-block: 3.6rem 1.8rem; }
  .page-intro h1 { font-size: clamp(2.55rem, 10.5vw, 4rem); }
  .calculator { grid-template-columns: 1fr; }
  .dashboard-grid { grid-template-columns: 1fr; gap: .6rem; }
  .dashboard-nav { position: static; min-width: 0; max-width: 100%; flex-direction: row; overflow-x: auto; gap: .2rem; padding-bottom: .3rem; }
  .dashboard-nav a { flex: 0 0 auto; }
  .dashboard-nav .dashboard-signout { flex: 0 0 auto; margin-top: 0; align-self: center; }
  .inline-head { align-items: flex-start; flex-direction: column; }
  .site-footer { grid-template-columns: 1fr; gap: 2rem; padding: 2.8rem 18px 1.2rem; }
  .footer-links { gap: 1rem; }
  .footer-bottom { flex-direction: column; gap: .4rem; }
  th, td { padding: .65rem .7rem; }
  .pricing-table th, .pricing-table td { padding: .55rem .45rem; overflow-wrap: anywhere; }
  .pricing-table th:first-child { width: 30%; }
  .pricing-table th:nth-child(2), .pricing-table th:nth-child(3) { width: 35%; }
  .pricing-table th[scope="col"] { font-size: .58rem; letter-spacing: .03em; }
  .pricing-table .field-hint { font-size: .64rem; }
  .pricing-table td strong { font-size: 1.05rem; white-space: normal; }
  .pricing-delta { font-size: .93rem; }
}

.pricing-table th[scope="row"] { text-transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

@media print {
  .site-header, .preview-bar, .site-footer, .button, .copy-button { display: none !important; }
  body { color: #111; background: #fff; }
  .page-intro, main > * { max-width: 100%; }
}

/* Language switcher */
.lang-switch { display: inline-flex; align-items: center; gap: 2px; margin-inline-start: .4rem; border: 1px solid var(--line); border-radius: 5px; padding: 1px; }
.lang-suggest { display: flex; align-items: center; flex-wrap: wrap; gap: .3rem .8rem; margin-top: 1rem; padding: .6rem .9rem; border: 1px solid var(--line); border-radius: 8px; background: var(--blue-wash); font-size: .85rem; }
.lang-suggest a { color: var(--blue); font-weight: 600; }
.lang-suggest-dismiss { margin-inline-start: auto; padding: .2rem .45rem; border: 0; background: none; color: var(--muted); font-size: 1rem; line-height: 1; cursor: pointer; }
.lang-suggest-dismiss:hover { color: var(--ink); }
.lang-switch a { display: inline-flex; align-items: center; min-height: 24px; padding: 0 .5rem; border-radius: 4px; color: var(--muted); font: 600 .68rem var(--mono); letter-spacing: .04em; text-decoration: none; }
.lang-switch a[aria-current="true"] { background: var(--surface-quiet); color: var(--ink); }
.lang-switch a:hover { color: var(--ink); }

/* EU flag marker — only beside EU facts */
.eu-flag { display: inline-block; width: 26px; height: auto; border-radius: 2px; box-shadow: 0 0 0 1px var(--line); vertical-align: -4px; }
.eu-flag-lg { width: 34px; }

/* Code / example tabs */
.code-tabs { margin-block: 1rem 1.6rem; }
.response-panel .sample-tabs { margin-block: .9rem 0; }
.code-tab-list { display: flex; flex-wrap: wrap; gap: .3rem; margin-bottom: .55rem; }
.code-tab-list [data-code-tab] { min-height: 30px; padding: .15rem .7rem; border: 1px solid var(--line); border-radius: 5px; background: var(--surface); color: var(--muted); font: 600 .7rem var(--mono); letter-spacing: .03em; cursor: pointer; }
.code-tab-list [data-code-tab][aria-selected="true"] { border-color: var(--green-text); color: var(--green-text); background: var(--green-wash); }
.code-tab-list [data-code-tab]:focus-visible { outline: 2px solid var(--blue); outline-offset: 1px; }
[data-code-panel][hidden] { display: none; }

/* Request → response sample pair */
.sample-pair { display: grid; gap: .8rem; grid-template-columns: 1fr; }
@media (min-width: 860px) { .sample-pair { grid-template-columns: 1fr 1fr; } }

/* Benchmark axis table */
.axis-table td:first-child, .axis-table th:first-child { text-align: left; }
.axis-table .axis-bar { display: block; width: 0; height: 7px; margin-bottom: .3rem; border-radius: 3px; background: var(--green); }
.axis-table .axis-bar.axis-blue { background: var(--blue); }
.axis-table .axis-bar.axis-neutral { background: var(--muted); }

/* Pilot access block */
.pilot-panel { display: grid; gap: 1.1rem; grid-template-columns: 1fr; }
@media (min-width: 860px) { .pilot-panel { grid-template-columns: 1.15fr .85fr; } }
.pilot-steps { counter-reset: pilot; list-style: none; padding: 0; margin: 0; display: grid; gap: .8rem; }
.pilot-steps li { counter-increment: pilot; padding-inline-start: 2.1rem; position: relative; }
.pilot-steps li::before { content: counter(pilot, decimal-leading-zero); position: absolute; left: 0; top: .1rem; color: var(--green-text); font: 600 .72rem var(--mono); }

/* ---- Go-live chrome: header actions, region switch, EU banner (30 Sep 2026) ---- */
.header-actions { margin-left: 0; }
.header-cta.button { min-height: 36px; padding: .45rem .85rem; font-size: .84rem; font-weight: 650; white-space: nowrap; }
.header-cta.button:hover { transform: none; }
.header-login { white-space: nowrap; }
.nav-signin { display: none; }
.region-switch { display: inline-flex; align-items: center; gap: 2px; padding: 2px; border: 1px solid var(--line); border-radius: 5px; }
.region-switch a { display: inline-flex; align-items: center; gap: .3rem; min-height: 24px; padding: 0 .5rem; border-radius: 4px; color: var(--muted); font: 600 .68rem var(--mono); letter-spacing: .04em; text-decoration: none; white-space: nowrap; }
.region-switch a[aria-current="true"] { background: var(--surface-quiet); color: var(--ink); }
.region-switch a[data-region="eu"][aria-current="true"] { color: var(--blue); }
.region-switch a:hover { color: var(--ink); }
.region-switch svg { flex: none; }
.region-banner { display: flex; align-items: center; justify-content: center; gap: .8rem; min-height: 38px; padding: .35rem 3rem .35rem 1rem; position: relative; border-bottom: 1px solid var(--line); background: var(--blue-wash); color: var(--ink); font-size: .8rem; }
.region-banner p { margin: 0; }
.region-banner a { color: var(--blue); font-weight: 600; text-decoration: none; }
.region-banner a:hover { text-decoration: underline; }
.region-banner-close { position: absolute; right: max(12px, calc((100vw - 1160px) / 2)); top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 28px; height: 28px; border: 0; border-radius: 4px; background: transparent; color: var(--muted); font-size: 1.1rem; line-height: 1; cursor: pointer; }
.region-banner-close:hover { background: color-mix(in srgb, var(--blue) 10%, transparent); color: var(--ink); }
.region-banner-dismissed .region-banner { display: none; }

/* ---- Trust badges (COPY-SPEC §4) ---- */
.trust-badges { --badge-glyph: var(--paper); display: flex; flex-wrap: wrap; gap: 1rem 1.6rem; margin: 0; padding: 0; list-style: none; }
.trust-badge { display: inline-flex; align-items: center; gap: .7rem; color: var(--ink); text-decoration: none; }
.trust-badge .badge-tile { flex: none; width: 48px; height: 48px; border-radius: 3px; color: var(--ink); }
.trust-badge-label { display: flex; flex-direction: column; font: 400 .7rem/1.25 var(--headline); letter-spacing: .06em; text-transform: uppercase; }
.trust-badge-label span { color: var(--muted); }
.trust-badge-label strong { font-weight: 700; letter-spacing: .05em; }
.trust-badge:hover .trust-badge-label strong { text-decoration: underline; text-decoration-color: var(--green); text-underline-offset: .2em; }
.trust-badges-footer { grid-column: 1 / -1; gap: .9rem 1.5rem; padding-top: 1.6rem; border-top: 1px solid var(--line); }
.trust-badges-footer .badge-tile { width: 40px; height: 40px; }
.trust-badges-footer .trust-badge-label { font-size: .64rem; }
.badge-band { padding-block: 0 clamp(2.6rem, 5vw, 4rem); }
.badge-band .trust-badges { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 1.1rem 1.4rem; }
.badge-band .source-note { margin: 1rem 0 0; }

/* ---- Two tiers ---- */
.tier-today { margin: .2rem 0 1.1rem; padding: .85rem 1rem; border: 1px solid var(--line); border-left: 3px solid var(--green); border-radius: 0 5px 5px 0; background: var(--paper); }
.tier-today p { margin: 0; color: var(--ink) !important; font-size: .86rem !important; }
.tier-card .tier-today .tier-today-label { margin-bottom: .3rem; color: var(--green-text) !important; font: 600 .64rem var(--mono) !important; letter-spacing: .1em; text-transform: uppercase; }
.tier-card-eu { border-top: 2px solid var(--blue); }
.tier-grid .tier-card:first-child { border-top: 2px solid var(--green); }
.tier-footnote { margin-top: 1rem; }
.tier-card .check-list a { color: inherit; }

/* ---- Benchmark headline cards ---- */
.bench-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin-bottom: 1.6rem; }
.bench-stat { display: flex; flex-direction: column; min-width: 0; padding: 1.25rem; border: 1px solid var(--line); border-radius: 7px; background: var(--surface); }
.bench-stat .stat-source { display: flex; flex-direction: column; gap: .2rem; min-height: 2.9rem; margin: 0 0 1rem; font-size: .84rem; font-weight: 600; line-height: 1.3; }
.bench-stat .stat-source a { color: var(--ink); text-decoration: none; }
.bench-stat .stat-source a:hover { text-decoration: underline; text-decoration-color: var(--green); }
.bench-stat .stat-source span { color: var(--muted); font: 500 .62rem var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.bench-stat-value { margin: 0; font: 600 clamp(2rem, 3.4vw, 2.6rem)/1 var(--headline); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.bench-stat .stat-caption { margin: .35rem 0 1rem; color: var(--muted); font-size: .84rem; }
.bench-stat .stat-detail { margin: auto 0 0; padding-top: .8rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .72rem; }
.bench-stat .stat-detail span { opacity: .8; }
.section-link { margin: 1.2rem 0 0; }

/* ---- EU page: data flow, contracts ---- */
.flow { margin: 0; padding: clamp(1.2rem, 3vw, 2rem); border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
.flow-track { display: grid; grid-template-columns: minmax(0, 1fr) minmax(90px, .6fr) minmax(0, 1fr) minmax(90px, .6fr) minmax(0, 1fr); align-items: center; margin: 0; padding: 0; list-style: none; }
.flow-node { display: flex; flex-direction: column; gap: .2rem; padding: 1rem 1.1rem; border: 1px solid var(--line); border-radius: 6px; background: var(--paper); }
.flow-node strong { font-family: var(--headline); font-size: 1rem; font-weight: 600; }
.flow-node span { color: var(--muted); font: 500 .66rem var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.flow-link { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .35rem; min-height: 56px; }
.flow-line { position: relative; width: 100%; height: 2px; background: var(--blue); }
.flow-line::after { position: absolute; right: -1px; top: -4px; width: 0; height: 0; border-top: 5px solid transparent; border-bottom: 5px solid transparent; border-left: 7px solid var(--blue); content: ""; }
.flow-label { padding: .1rem .45rem; border: 1px solid var(--blue); border-radius: 4px; background: var(--blue-wash); color: var(--blue); font-size: .64rem; font-weight: 600; white-space: nowrap; }
.flow-return { margin: 1rem 0 0; color: var(--muted); font-size: .82rem; text-align: center; }
.flow-facts { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem .6rem; margin-top: 1.1rem; padding-top: 1.1rem; border-top: 1px solid var(--line); font-weight: 600; font-size: .9rem; }
.flow-sep { color: var(--muted); }
.doc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; }
.doc-card { display: flex; flex-direction: column; }
.doc-card h3 { font-size: 1.1rem; }
.doc-card .text-link { margin-top: auto; }
.ai-act { max-width: 760px; }
.ai-act p { color: var(--muted); font-size: 1.02rem; }
.closing-cta > div > p:not(.eyebrow) { max-width: 620px; color: var(--muted); }
.status-live { display: flex; gap: .9rem; align-items: flex-start; margin-block: 1rem 2rem; padding: 1.1rem 1.25rem; border: 1px solid var(--line); border-radius: 7px; background: var(--surface); }
.status-live p { margin: .2rem 0 0; color: var(--muted); font-size: .84rem; }
.status-dot { flex: none; width: 10px; height: 10px; margin: .45rem 0 0; border-radius: 50%; background: var(--muted); }
.status-live[data-state="ok"] .status-dot { background: var(--green); box-shadow: 0 0 0 4px var(--green-wash); }
.status-live[data-state="error"] .status-dot { background: #c0392b; }
.auth-actions { margin-block: 1.4rem .8rem; }

@media (max-width: 1180px) {
  .site-header { gap: 1.4rem; }
  .header-login { display: none; }
  .nav-signin { display: inline; }
}
@media (max-width: 1020px) {
  .theme-toggle { display: none; }
  .bench-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 920px) {
  .site-header { flex-wrap: wrap; row-gap: 0; }
  .menu-toggle { display: grid; margin-left: auto; }
  .primary-nav { position: absolute; top: 100%; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: .45rem 24px .9rem; border-bottom: 1px solid var(--line); background: var(--paper); box-shadow: var(--shadow); }
  .primary-nav.is-open { display: flex; }
  .primary-nav a { padding: .7rem .45rem; font-size: .9rem; }
  .header-actions { order: 3; width: 100%; justify-content: flex-start; gap: .6rem; padding-bottom: .7rem; }
  .header-actions .header-cta { margin-left: auto; }
  .lang-switch { margin-inline-start: 0; }
  .flow-track { grid-template-columns: 1fr; gap: 0; }
  .flow-link { min-height: 64px; flex-direction: row; gap: .7rem; }
  .flow-line { width: 2px; height: 44px; }
  .flow-line::after { right: -4px; top: auto; bottom: -1px; border-left: 5px solid transparent; border-right: 5px solid transparent; border-top: 7px solid var(--blue); border-bottom: 0; }
}
@media (max-width: 700px) {
  .primary-nav { top: 100%; padding-inline: 18px; }
  .site-header { min-height: 60px; }
  .header-actions { gap: .45rem; }
  .theme-toggle { display: grid; width: 34px; height: 30px; }
  .region-switch a, .lang-switch a { padding: 0 .42rem; }
  .bench-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; }
  .bench-stat { padding: 1rem; }
  .bench-stat .stat-source { min-height: 3.4rem; }
  .badge-band .trust-badges { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem .8rem; }
  .trust-badges-footer { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .region-banner { justify-content: flex-start; padding-left: 18px; font-size: .74rem; }
  .badge-band, main > .badge-band { width: min(100% - 36px, 1160px); }
}
@media (max-width: 380px) {
  .bench-stats { grid-template-columns: 1fr; }
  .header-cta.button { padding-inline: .6rem; font-size: .78rem; }
}
@media (min-width: 701px) {
  .site-footer { grid-template-columns: minmax(220px, .85fr) 1.5fr; }
  .footer-links { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.trust-badges-footer { justify-content: space-between; }
.footer-bottom { margin-top: 0; }
@media (max-width: 920px) { .trust-badges-footer { justify-content: flex-start; } }
@media (max-width: 700px) {
  .footer-links { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 1.6rem; }
  .header-actions .theme-toggle { display: none; }
  .header-actions { gap: .4rem; }
  .header-cta.button { padding-inline: .6rem; font-size: .8rem; }
  .region-switch a, .lang-switch a { padding: 0 .38rem; }
}
.footer-links > div { min-width: 0; }
.footer-links a, .footer-links .eyebrow { max-width: 100%; overflow-wrap: anywhere; }
@media (min-width: 1140px) { .badge-band .trust-badges { grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 1rem .9rem; } .badge-band .trust-badge-label { font-size: .64rem; } }
@media (min-width: 701px) and (max-width: 1139px) { .badge-band .trust-badges { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.trust-badge-label span, .trust-badge-label strong { white-space: nowrap; }
.trust-badge { gap: .6rem; }
@media (min-width: 1140px) { .badge-band .trust-badges { display: flex; flex-wrap: nowrap; justify-content: space-between; gap: .8rem; } }
@media (max-width: 700px) { .trust-badge-label span, .trust-badge-label strong { white-space: normal; } }
.region-icon { display: block; flex: none; width: 13px; height: 13px; opacity: .85; }
.trust-badge .badge-tile { box-shadow: 0 0 0 1px var(--line); }

/* ---- Design polish after go-live (30 Sep 2026) ---- */
/* Type: one headline rhythm; section titles sit a step below the page H1. */
h1, h2 { letter-spacing: -.028em; }
h1 { line-height: 1.04; }
.section-head h2, .closing-cta h2 { font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1.08; }
h1, h2, h3 { text-wrap: balance; }
html[lang="de"] .hero h1 { text-wrap: wrap; letter-spacing: -.015em; }
.lede, .hero-lede, .section-head p { text-wrap: pretty; }
.section { padding-block: clamp(3.4rem, 6vw, 5.5rem); }

/* Buttons: primary and secondary share size and weight. */
.button { font-size: .95rem; font-weight: 600; }
.button-primary { font-size: .95rem; font-weight: 650; }
.actions .button { min-height: 48px; padding-inline: 1.2rem; }
.closing-cta .actions .button, .closing-cta > .button { min-height: 48px; }

/* FAQ disclosure: custom marker instead of the browser triangle. */
.faq-list summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { flex: none; width: .55rem; height: .55rem; margin-right: .35rem; border-right: 1.5px solid var(--muted); border-bottom: 1.5px solid var(--muted); content: ""; transform: translateY(-25%) rotate(45deg); transition: transform .15s ease; }
.faq-list details[open] summary::after { transform: translateY(25%) rotate(-135deg); }
.faq-list summary:hover::after { border-color: var(--ink); }

/* Status: dot sits beside the label. */
.status-live > div { min-width: 0; }

/* Header below 920px: one row (wordmark · CTA · menu); region, language and theme live in the menu. */
@media (max-width: 920px) {
  .site-header { flex-wrap: nowrap; gap: .6rem; min-height: 64px; }
  .menu-toggle { order: 4; margin-left: 0; }
  .header-actions { order: 3; width: auto; margin-left: auto; padding-bottom: 0; }
  .header-actions .header-cta { margin-left: 0; }
  .header-actions .region-switch, .header-actions .lang-switch, .header-actions .theme-toggle { display: none; }
  .primary-nav { padding-top: 3.9rem; background: linear-gradient(var(--line), var(--line)) no-repeat 24px 3.35rem / calc(100% - 48px) 1px, var(--paper); }
  .primary-nav.is-open ~ .header-actions .region-switch, .primary-nav.is-open ~ .header-actions .lang-switch, .primary-nav.is-open ~ .header-actions .theme-toggle { display: inline-flex; position: absolute; z-index: 1; top: calc(100% + .75rem); }
  .primary-nav.is-open ~ .header-actions .region-switch { left: 24px; }
  .primary-nav.is-open ~ .header-actions .theme-toggle { right: 24px; width: 34px; height: 34px; align-items: center; justify-content: center; }
  .primary-nav.is-open ~ .header-actions .lang-switch { right: calc(24px + 34px + .5rem); }
  .primary-nav.is-open ~ .header-actions .region-switch a, .primary-nav.is-open ~ .header-actions .lang-switch a { min-height: 28px; padding: 0 .6rem; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(2.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-2.5px) rotate(-45deg); }
  .menu-toggle span { transition: transform .15s ease; }
  .primary-nav .developer-menu summary { padding: .7rem .45rem; font-size: .9rem; }
}
@media (max-width: 700px) {
  .site-header { min-height: 60px; }
  .primary-nav { background: linear-gradient(var(--line), var(--line)) no-repeat 18px 3.35rem / calc(100% - 36px) 1px, var(--paper); }
  .primary-nav.is-open ~ .header-actions .region-switch { left: 18px; }
  .primary-nav.is-open ~ .header-actions .theme-toggle { right: 18px; }
  .primary-nav.is-open ~ .header-actions .lang-switch { right: calc(18px + 34px + .5rem); }
  .header-cta.button { min-height: 36px; padding-inline: .75rem; font-size: .82rem; }
  .actions .button { flex: 1 1 auto; }
}

/* Dashboard: section titles stay compact; table actions are small buttons. */
.dash-section .section-head h2 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); }
.dash-section .section-head.inline-head { max-width: none; }
.table-wrap td .button, .dashboard-main td .button { min-height: 32px; padding: .3rem .7rem; font-size: .8rem; font-weight: 600; }
.dashboard-signout.button { min-height: 36px; font-size: .85rem; }
.dashboard-main td { vertical-align: middle; }

.key-cap-form { display: flex; gap: .5rem; align-items: center; min-width: 13rem; }
.key-cap-form input { width: 7rem; min-width: 0; }

.key-processing { width: 16rem; white-space: normal; }
.key-processing .toggle-row { align-items: flex-start; }
.key-processing .toggle-row input { flex: 0 0 32px; width: 32px; height: 18px; min-height: 18px; margin-top: .2rem; appearance: none; border: 1px solid var(--muted); border-radius: 999px; background: var(--surface-quiet); position: relative; cursor: pointer; }
.key-processing .toggle-row input::after { content: ""; position: absolute; width: 12px; height: 12px; top: 2px; left: 2px; border-radius: 50%; background: var(--muted); }
.key-processing .toggle-row input:checked { background: var(--green); border-color: var(--green); }
.key-processing .toggle-row input:checked::after { left: 16px; background: white; }
.key-processing .toggle-row input:disabled { opacity: .5; cursor: default; }
.key-processing .microcopy { margin: .35rem 0 0; }
#processing-dialog { max-height: calc(100dvh - 32px); overflow-y: auto; overscroll-behavior: contain; }
#processing-dialog p { margin-block: .85rem; }
#processing-dialog [role="status"] { color: var(--amber); }

/* ---- Capability section (2 Oct 2026): charts, stats, speed, model cards ---- */
.capability-section { width: min(100% - 48px, 1160px); margin-inline: auto; padding-block: clamp(3.5rem, 6.2vw, 5.7rem); border-top: 1px solid var(--line); }
.capability-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem; align-items: start; margin-top: 2.2rem; }
.capability-grid > *, .cap-summary > *, .cap-model-grid > *, .cap-speed-grid > * { min-width: 0; }
.cap-chart { min-width: 0; padding: clamp(1.2rem, 3vw, 1.9rem); border: 1px solid var(--line); border-radius: 7px; background: var(--surface); }
.cap-chart-title { margin: 0 0 .4rem; font-family: var(--headline); font-size: clamp(1.15rem, 2vw, 1.32rem); font-weight: 600; line-height: 1.2; letter-spacing: -.015em; }
.cap-snapshot { margin: -.8rem 0 1.2rem; color: var(--muted); font-size: .72rem; line-height: 1.5; }
.cap-chart-subtitle { margin: 0 0 1.2rem; color: var(--muted); font-size: .84rem; line-height: 1.5; }
.cap-bars { display: grid; }
.cap-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: .2rem .7rem; min-width: 0; padding-block: .6rem; }
.cap-row + .cap-row { border-top: 1px solid var(--line); }
.cap-label { flex: 1 1 auto; min-width: 0; overflow-wrap: anywhere; font-family: var(--headline); font-size: .95rem; font-weight: 600; line-height: 1.3; }
.cap-rank { display: inline-block; flex: none; margin-inline-start: .45rem; color: var(--muted); font: 500 .66rem var(--mono); letter-spacing: .05em; }
.cap-value { flex: none; margin-left: auto; font: 600 .92rem var(--mono); font-variant-numeric: tabular-nums; white-space: nowrap; }
.cap-track { flex: 1 1 100%; height: 6px; overflow: hidden; border-radius: 3px; background: var(--line); }
.cap-fill { display: block; height: 100%; width: var(--cap-w, 0%); border-radius: inherit; transform-origin: left; animation: cap-fill-in .7s ease-out both; }
@keyframes cap-fill-in { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.cap-row--rune .cap-fill { background: var(--green); }
.cap-row--jev .cap-fill { background: var(--blue); }
.cap-row--other .cap-fill { background: var(--muted); }
.cap-legend { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem 1.3rem; margin: 1rem 0 0; color: var(--muted); font-size: .76rem; line-height: 1.4; }
.cap-legend > * { display: inline-flex; align-items: center; gap: .45rem; min-width: 0; }
.cap-legend > *::before { flex: none; width: .6rem; height: .6rem; border-radius: 2px; background: var(--muted); content: ""; }
.cap-legend > .cap-row--rune::before { background: var(--green); }
.cap-legend > .cap-row--jev::before { background: var(--blue); }
.cap-legend > .cap-row--other::before { background: var(--muted); }
.cap-source { margin: 1rem 0 0; color: var(--muted); font-size: .7rem; line-height: 1.5; overflow-wrap: anywhere; }
.cap-chart .cap-source { padding-top: .85rem; border-top: 1px solid var(--line); }
.cap-summary { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 1.2rem; }
.cap-stat { display: flex; flex-direction: column; min-width: 0; padding: 1.1rem 1.25rem; border: 1px solid var(--line); border-radius: 7px; background: var(--surface); }
.cap-stat-value { font: 600 clamp(1.5rem, 2.6vw, 1.9rem)/1.05 var(--headline); letter-spacing: -.03em; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.cap-stat-label { margin-top: .45rem; color: var(--muted); font-size: .78rem; line-height: 1.45; }
.cap-method { max-width: 820px; margin: 1.5rem 0 0; color: var(--muted); font-size: .76rem; line-height: 1.55; }
.cap-speed-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: .75rem; margin-top: 1.2rem; }
.cap-model-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem; margin-top: 2.2rem; }
.cap-model { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; padding: 1.15rem 1.2rem; border: 1px solid var(--line); border-radius: 7px; background: var(--surface); overflow-wrap: anywhere; }
.cap-model-featured { border-top: 2px solid var(--green); }
.cap-tag { display: inline-flex; align-items: center; min-height: 22px; margin-top: .8rem; padding: .1rem .5rem; border: 1px solid var(--line); border-radius: 3px; background: var(--surface-quiet); color: var(--muted); font: 600 .62rem var(--mono); letter-spacing: .05em; text-transform: uppercase; }
.cap-model-featured .cap-tag { border-color: color-mix(in srgb, var(--green) 35%, var(--line)); background: var(--green-wash); color: var(--green-text); }

@media (max-width: 1020px) {
  .cap-model-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .capability-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 700px) {
  .capability-section { width: min(100% - 36px, 1160px); padding-block: 3.3rem; }
  .cap-summary { grid-template-columns: minmax(0, 1fr); gap: .7rem; }
  .cap-stat { padding: 1rem; }
  .cap-model-grid { grid-template-columns: minmax(0, 1fr); gap: .7rem; }
  .cap-row { padding-block: .5rem; }
  .cap-chart { padding: 1.05rem; }
}

/* Subtle section rhythm refinement (landing / pricing / docs / models / eu) */
.section { padding-block: clamp(3.5rem, 6.2vw, 5.7rem); }
.page-intro { padding-block: clamp(4.2rem, 8vw, 7rem) 2.8rem; }
.prose { margin: 2.2rem auto 5.5rem; }

/* Source charts share a zero-based scale; keep reference rows visible on both themes. */
.cap-chart { margin: 0; }
.cap-bars { list-style: none; margin: 0; padding: 0; }
.cap-row--other .cap-label { color: var(--muted); font-weight: 500; }
.cap-row.cap-row--rune { background: var(--green-wash); border-radius: 4px; }
.cap-row.cap-row--jev { background: var(--blue-wash); border-radius: 4px; }
.cap-row--rune .cap-label { color: var(--green-text); }
.cap-row--jev .cap-label { color: var(--blue); }
.cap-speed-grid { grid-template-columns: minmax(0, 1fr); gap: 1.2rem; margin-top: 2.2rem; }
.cap-reference { color: var(--muted); font-weight: 400; }
.cap-model h3 { margin: .7rem 0 .5rem; font: 600 1.2rem/1.2 var(--headline); }
.cap-model p { margin: .4rem 0 .8rem; font-size: .88rem; line-height: 1.5; }
.cap-model a { margin-top: auto; }
.cap-model .cap-tag { margin-top: 0; }
@media (max-width: 860px) { .cap-speed-grid { grid-template-columns: minmax(0, 1fr); } }
@media (prefers-reduced-motion: reduce) { .cap-fill { animation: none; } }

.cap-heading { font: 600 clamp(1.8rem,3.3vw,2.7rem)/1.12 var(--headline); letter-spacing: -.035em; margin: 0 0 1rem; }
.cap-lede, .cap-fallback { max-width: 900px; color: var(--muted); font-size: .95rem; line-height: 1.65; }
.cap-label { display: flex; flex-wrap: wrap; align-items: baseline; gap: .25rem .5rem; width: 100%; }
.cap-rank { margin: 0; min-width: 1.7rem; }
.cap-name { flex: 1; min-width: 90px; }
.cap-p95, .cap-samples { color: var(--muted); font: 400 .7rem/1.4 var(--mono); }
.cap-chart--speed .cap-p95 { flex-basis: 100%; padding-left: 0; order: 2; }
.cap-chart--speed .cap-samples { order: 3; }
.cap-axis, .cap-note, .cap-keynote, .cap-details { font-size: .78rem; color: var(--muted); line-height: 1.6; }
.cap-details summary { cursor: pointer; margin-block: .8rem; }
.cap-keynote { max-width: 950px; }
.cap-cost-grid { margin-top: 2.2rem; }
.cap-model-sub { color: var(--green-text); }
.cap-model-title { overflow-wrap: anywhere; }
/* Decision Models identity and calm editorial tier overview. */
.wordmark { display:flex; align-items:center; gap:10px; font-family:var(--headline); font-weight:600; letter-spacing:-.015em; text-transform:none; white-space:nowrap; }
.dm-glyph-dark { display:none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .dm-glyph-light { display:none; } :root:not([data-theme="light"]) .dm-glyph-dark { display:inline-flex; } }
:root[data-theme="dark"] .dm-glyph-light { display:none; }
:root[data-theme="dark"] .dm-glyph-dark { display:inline-flex; }
.button-primary { background:var(--green); color:var(--paper); }
:root[data-theme="light"] .button-primary, :root:not([data-theme]) .button-primary { color:white; }
:root[data-theme="light"] .button-primary:hover { background:#085F44; }
@media (prefers-color-scheme: light) { :root:not([data-theme]) .button-primary:hover { background:#085F44; } }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .button-primary { color:#0B0C0E; } }
:root[data-theme="dark"] .button-primary { color:#0B0C0E; }
.text-link { color:var(--green-text); }
.overview-card { padding:clamp(24px,4vw,48px); border:1px solid var(--line); border-radius:16px; display:flex; flex-direction:column; align-items:flex-start; }
.overview-card h3 { font:600 clamp(28px,3vw,40px)/1.1 var(--headline); letter-spacing:-.025em; margin:12px 0 20px; }
.overview-card p { max-width:48ch; }
.overview-card .text-link { margin-top:auto; padding-top:24px; }
.overview-global { background:#0B0C0E; color:#F5F6F3; border-color:#30363a; }
.overview-global .eyebrow { color:#F1CE78; }
.overview-global .text-link { color:#12B886; }
.overview-global .pill { background:#2b2414; color:#F1CE78; }
.overview-eu { background:var(--surface); border-top:3px solid var(--blue); }
.overview-eu .eyebrow { color:var(--blue); }
.hub-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px; }
.dm-rebrand { background:var(--paper); color:var(--ink); border:1px solid var(--line); border-radius:18px; padding:32px; width:calc(100% - 32px); max-width:440px; box-shadow:var(--shadow); }
.dm-rebrand::backdrop { background:rgb(0 0 0 / 60%); }
.dm-rebrand h2 { font:600 28px/1.15 var(--headline); letter-spacing:-.02em; margin:20px 0 16px; }
.dm-rebrand p { font-size:15px; line-height:1.65; }
.dm-rebrand code { overflow-wrap:anywhere; }
.dm-rebrand .button { width:100%; white-space:normal; margin-top:12px; }
.dm-rebrand-close { position:absolute; right:12px; top:10px; border:0; background:transparent; color:var(--muted); font-size:24px; cursor:pointer; }
@media(max-width:1100px) { .hub-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:600px) { .hub-grid { grid-template-columns:1fr; } .overview-grid { grid-template-columns:1fr; } .wordmark { font-size:18px; } .dm-rebrand { padding:24px; } }
.dm-lockup { width:auto; height:24px; max-width:190px; }
:root[data-theme="light"] .text-link:hover { color:#085F44; }
@media (prefers-color-scheme: light) { :root:not([data-theme]) .text-link:hover { color:#085F44; } }
/* Preserve the ink card's accessible emerald accent in either page theme. */
.overview-global .text-link:hover { color:#12B886; }

/* Dashboard top-up: a disabled primary button stays readable and is always explained by #topup-missing. */
:root .button.button-primary:disabled, :root .button.button-primary[aria-disabled="true"] { opacity: 1; border: 1px solid var(--line); background: var(--surface-quiet); color: var(--muted); filter: none; }
.topup-form .topup-submit:not(:disabled) { min-width: 14rem; box-shadow: 0 0 0 3px var(--green-wash); }
.topup-missing { margin: 0; padding: .55rem .75rem; border-left: 3px solid var(--amber); border-radius: 0 4px 4px 0; background: var(--amber-wash); color: var(--ink); font-size: .85rem; line-height: 1.5; }
.topup-missing[hidden] { display: none; }
.topup-missing a { color: var(--ink); font-weight: 600; }
/* An open top-up that blocks a new one: shown at the top of the top-up form, with its way out (cancel, reopen the payment page). */
.topup-conflict { display: grid; gap: .5rem; padding: .75rem .9rem; scroll-margin-top: 6rem; border: 1px solid var(--amber); border-left-width: 4px; border-radius: 0 4px 4px 0; background: var(--amber-wash); color: var(--ink); font-size: .9rem; line-height: 1.5; }
.topup-conflict:focus { outline: 2px solid var(--ink); outline-offset: 2px; }
.topup-conflict p { margin: 0; }
.topup-conflict a { color: var(--ink); font-weight: 600; }
.topup-conflict-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.1rem; }
.topup-reopen { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.1rem; }
.topup-reopen a { font-weight: 600; }
.topup-reopen-note { flex-basis: 100%; }
.topup-reopen-note:empty { display: none; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* API keys: five compact columns, wrapping content, no horizontal scrolling; stacked cards on narrow screens. */
.key-table-wrap { overflow-x: visible; }
.key-table { width: 100%; table-layout: fixed; }
.key-table th, .key-table td { white-space: normal; overflow-wrap: anywhere; vertical-align: top; }
.key-table th:nth-child(1) { width: 26%; }
.key-table th:nth-child(2) { width: 17%; }
.key-table th:nth-child(3) { width: 22%; }
.key-table th:nth-child(5) { width: 6.5rem; }
.key-identity, .key-spend { display: flex; flex-direction: column; gap: .15rem; }
.key-identity .microcopy, .key-spend .microcopy { margin: 0; }
.key-table .key-cap-form { min-width: 0; flex-wrap: wrap; }
.key-table .key-cap-form input { flex: 1 1 5rem; width: auto; }
.key-table .key-processing { width: auto; }
@media (max-width: 1100px) {
  .key-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .key-table, .key-table tbody, .key-table tr, .key-table td { display: block; width: 100%; }
  .key-table tr { padding: .9rem 1rem; border-bottom: 1px solid var(--line); }
  .key-table tr:last-child { border-bottom: 0; }
  .key-table td { padding: .35rem 0; border: 0; }
  .key-table td[data-label]:not(:first-child):not(:last-child)::before { content: attr(data-label); display: block; margin-bottom: .2rem; color: var(--muted); font: 500 .68rem/1.3 var(--mono); letter-spacing: .06em; text-transform: uppercase; }
  .key-table td:last-child { padding-top: .6rem; }
}

/* Long order IDs wrap so amount and document stay visible on phones. */
#invoice-list td:not([colspan]):nth-child(-n+2) { font-family: var(--mono); font-size: .8rem; }
#invoice-list td:nth-child(2) { overflow-wrap: anywhere; word-break: break-all; }
/* Phones: five columns do not fit, so each invoice becomes a labelled card. */
@media (max-width: 560px) {
  .invoice-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .invoice-table, .invoice-table tbody, .invoice-table tr, .invoice-table td { display: block; width: 100%; }
  .invoice-table tr { padding: .8rem 1rem; border-bottom: 1px solid var(--line); }
  .invoice-table tr:last-child { border-bottom: 0; }
  .invoice-table td { padding: .2rem 0; border: 0; }
  .invoice-table td[data-label]:not(:last-child)::before { content: attr(data-label); display: block; margin-bottom: .1rem; color: var(--muted); font: 500 .68rem/1.3 var(--mono); letter-spacing: .06em; text-transform: uppercase; }
  .invoice-table td:last-child { padding-top: .5rem; }
}

/* Recent usage: unchanged table on wide screens; below 600 px each request is a stacked card with every field labelled. */
@media (max-width: 600px) {
  .usage-table-wrap { overflow-x: visible; }
  .usage-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .usage-table, .usage-table tbody, .usage-table tr { display: block; width: 100%; }
  .usage-table tr { padding: .75rem 1rem; border-bottom: 1px solid var(--line); }
  .usage-table tr:last-child { border-bottom: 0; }
  .usage-table td { display: grid; grid-template-columns: minmax(6.5rem, 38%) 1fr; gap: .75rem; align-items: baseline; padding: .2rem 0; border: 0; white-space: normal; overflow-wrap: anywhere; }
  .usage-table td[data-label]::before { content: attr(data-label); color: var(--muted); font: 500 .68rem/1.3 var(--mono); letter-spacing: .06em; text-transform: uppercase; }
  .usage-table td[colspan] { display: block; }
}

/* Launch claims strip, EU highlights and tier notes (13 Oct 2026) */
.eu-highlights { display: flex; flex-wrap: wrap; gap: .5rem 1.2rem; margin: -.6rem 0 1.6rem; padding: 0; list-style: none; }
.eu-highlights li { display: inline-flex; align-items: center; gap: .45rem; color: var(--ink); font-size: .92rem; font-weight: 600; }
.eu-highlights .claim-icon, .claim-list .claim-icon { flex: none; color: var(--green-text); }
.tier-note { max-width: 610px; margin: 1.1rem 0 0; padding: .65rem .85rem; border-left: 2px solid var(--line); background: var(--surface); color: var(--muted); font-size: .84rem; line-height: 1.5; }
.claim-strip { width: min(100% - 48px, 1160px); margin: 0 auto; padding: 1.4rem 0 1.2rem; border-block: 1px solid var(--line); }
.claim-list { display: grid; grid-template-columns: minmax(0, 1.35fr) repeat(2, minmax(0, 1fr)); gap: 1.2rem 2rem; margin: 0; padding: 0; list-style: none; }
.claim-list.claim-list-four { grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr) minmax(0, 1fr) minmax(0, 1fr); }
@media (max-width: 1180px) { .claim-list.claim-list-four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.claim-list li { display: flex; gap: .7rem; align-items: flex-start; }
.claim-list .claim-icon { margin-top: .1rem; }
.claim-list .claim-title { margin: 0 0 .25rem; color: var(--ink); font-size: .95rem; font-weight: 650; }
.claim-list p { margin: 0; color: var(--muted); font-size: .84rem; line-height: 1.5; }
.claim-list p > a { white-space: nowrap; }
.claim-strip > .source-note { margin: .9rem 0 0; }
.engine-section > p { max-width: 74ch; }
/* Home tile "Decision quality ahead of Jev" (22 Oct 2026): bars on a 0-100 axis, widths from data-w (CSP: no inline styles). */
.jev-tile { margin: .45rem 0 0; }
.claim-list .jev-tile p.jev-draw { margin: .45rem 0 .2rem; color: var(--muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .04em; }
.jev-bars { display: grid; gap: .3rem; margin: 0; padding: 0; list-style: none; }
.claim-list .jev-bars li.jev-bar { display: grid; grid-template-columns: minmax(0, 1fr) 2.4rem; grid-template-areas: "label value" "track track"; gap: .1rem .4rem; align-items: baseline; }
.jev-bar-label { grid-area: label; min-width: 0; font-size: .8rem; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.jev-bar-label a { color: inherit; text-decoration: none; }
.jev-bar-label a:hover { text-decoration: underline; }
.jev-bar-value { grid-area: value; text-align: right; font-size: .8rem; color: var(--ink); font-weight: 650; }
.jev-bar-track { grid-area: track; display: block; height: 6px; border-radius: 3px; background: var(--line); overflow: hidden; }
.jev-bar-fill { display: block; height: 100%; border-radius: 3px; background: var(--green-text); }
.jev-bar-ref .jev-bar-fill { background: var(--muted); opacity: .55; }
.jev-bar-ref .jev-bar-label, .jev-bar-ref .jev-bar-value { color: var(--muted); font-weight: 500; }
.jev-tile figcaption { margin-top: .55rem; }
.claim-list .claim-title .fn-ref, .fn-ref { margin-left: .1rem; font-size: .68em; font-weight: 600; line-height: 0; vertical-align: super; }
.fn-ref a { color: var(--green-text); text-decoration: none; }
.claim-strip > .jev-footnote { margin: .55rem 0 0; }
.jev-footnote p { margin: 0; color: var(--muted); font-size: .72rem; line-height: 1.5; }
.jev-footnote .fn-num { display: inline-block; min-width: 1em; font-weight: 650; color: var(--green-text); }
.jev-footnote:target { outline: 2px solid var(--green-text); outline-offset: 4px; border-radius: 4px; }
.jev-bar-fill[data-w="50"] { width: 50%; }
.jev-bar-fill[data-w="51"] { width: 51%; }
.jev-bar-fill[data-w="52"] { width: 52%; }
.jev-bar-fill[data-w="53"] { width: 53%; }
.jev-bar-fill[data-w="54"] { width: 54%; }
.jev-bar-fill[data-w="55"] { width: 55%; }
.jev-bar-fill[data-w="56"] { width: 56%; }
.jev-bar-fill[data-w="57"] { width: 57%; }
.jev-bar-fill[data-w="58"] { width: 58%; }
.jev-bar-fill[data-w="59"] { width: 59%; }
.jev-bar-fill[data-w="60"] { width: 60%; }
.jev-bar-fill[data-w="61"] { width: 61%; }
.jev-bar-fill[data-w="62"] { width: 62%; }
.jev-bar-fill[data-w="63"] { width: 63%; }
.jev-bar-fill[data-w="64"] { width: 64%; }
.jev-bar-fill[data-w="65"] { width: 65%; }
.jev-bar-fill[data-w="66"] { width: 66%; }
.jev-bar-fill[data-w="67"] { width: 67%; }
.jev-bar-fill[data-w="68"] { width: 68%; }
.jev-bar-fill[data-w="69"] { width: 69%; }
.jev-bar-fill[data-w="70"] { width: 70%; }
.jev-bar-fill[data-w="71"] { width: 71%; }
.jev-bar-fill[data-w="72"] { width: 72%; }
.jev-bar-fill[data-w="73"] { width: 73%; }
.jev-bar-fill[data-w="74"] { width: 74%; }
.jev-bar-fill[data-w="75"] { width: 75%; }
.jev-bar-fill[data-w="76"] { width: 76%; }
.jev-bar-fill[data-w="77"] { width: 77%; }
.jev-bar-fill[data-w="78"] { width: 78%; }
.jev-bar-fill[data-w="79"] { width: 79%; }
.jev-bar-fill[data-w="80"] { width: 80%; }
.jev-bar-fill[data-w="81"] { width: 81%; }
.jev-bar-fill[data-w="82"] { width: 82%; }
.jev-bar-fill[data-w="83"] { width: 83%; }
.jev-bar-fill[data-w="84"] { width: 84%; }
.jev-bar-fill[data-w="85"] { width: 85%; }
.jev-bar-fill[data-w="86"] { width: 86%; }
.jev-bar-fill[data-w="87"] { width: 87%; }
.jev-bar-fill[data-w="88"] { width: 88%; }
.jev-bar-fill[data-w="89"] { width: 89%; }
.jev-bar-fill[data-w="90"] { width: 90%; }
.jev-bar-fill[data-w="91"] { width: 91%; }
.jev-bar-fill[data-w="92"] { width: 92%; }
.jev-bar-fill[data-w="93"] { width: 93%; }
.jev-bar-fill[data-w="94"] { width: 94%; }
.jev-bar-fill[data-w="95"] { width: 95%; }
.jev-bar-fill[data-w="96"] { width: 96%; }
.jev-bar-fill[data-w="97"] { width: 97%; }
.jev-bar-fill[data-w="98"] { width: 98%; }
.jev-bar-fill[data-w="99"] { width: 99%; }
.jev-bar-fill[data-w="100"] { width: 100%; }
@media (max-width: 920px) { .claim-list, .claim-list.claim-list-four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) { .claim-list, .claim-list.claim-list-four { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .claim-strip { width: min(100% - 36px, 1160px); } .claim-list, .claim-list.claim-list-four { grid-template-columns: 1fr; } .eu-highlights { margin-top: -.4rem; } }

.claim-icon { display: inline-block; width: 20px; height: 20px; background: currentColor; -webkit-mask: var(--icon) center / contain no-repeat; mask: var(--icon) center / contain no-repeat; }
.claim-icon-eu { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18M12 3a14 14 0 0 1 0 18M12 3a14 14 0 0 0 0 18'/%3E%3C/svg%3E"); }
.claim-icon-shield { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l8 3v6c0 4.5-3.4 8-8 9-4.6-1-8-4.5-8-9V6z'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E"); }
.claim-icon-doc { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 3h7l4 4v14H7z'/%3E%3Cpath d='M14 3v4h4M10 12h5M10 16h5'/%3E%3C/svg%3E"); }
.claim-icon-rank { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 21h8M12 17v4M7 4h10v5a5 5 0 0 1-10 0z'/%3E%3Cpath d='M7 6H4v1a3 3 0 0 0 3 3M17 6h3v1a3 3 0 0 1-3 3'/%3E%3C/svg%3E"); }
.claim-icon-speed { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M13 3 5 14h6l-1 7 8-11h-6z'/%3E%3C/svg%3E"); }
.claim-icon-price { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 12 12 20 4 12V4h8z'/%3E%3Ccircle cx='8.5' cy='8.5' r='1.3'/%3E%3C/svg%3E"); }
.engine-links { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; }

.getting-started { padding: 1rem 1.25rem; border: 1px solid var(--line); border-radius: 7px; margin-bottom: 1.5rem; }
.getting-started .checklist { margin: 0; padding: 0; list-style: none; display: grid; gap: .4rem; }
.getting-started .checklist li { display: flex; flex-wrap: wrap; gap: .25rem; align-items: baseline; }
.getting-started .checklist li[data-step="credit"] { flex-wrap: nowrap; }
.getting-started .checklist li::before { content: "○"; margin-right: .5rem; color: var(--muted, currentColor); }
.getting-started .checklist li.is-done::before { content: "✓"; color: var(--green-text); }
/* 921-1100px: the full header (nav + region/lang switch + CTA) overflowed by ~50px at 1024 (23 Oct 2026). */
@media (min-width: 921px) and (max-width: 1279px) { .site-header { gap: .8rem; } .primary-nav { gap: .65rem; } .primary-nav a { font-size: .76rem; } .header-actions { gap: .5rem; } }
@media (min-width: 961px) and (max-width: 1000px) { .primary-nav { gap: .5rem; } .primary-nav a { font-size: .72rem; } .header-cta.button { padding-inline: .6rem; font-size: .78rem; } }
/* 921-960px: German header (longer CTA + labels) still overflowed; use the menu-button header from 960px down. */
@media (min-width: 921px) and (max-width: 960px) {
  .site-header { flex-wrap: wrap; row-gap: 0; }
  .menu-toggle { display: grid; margin-left: auto; }
  .primary-nav { position: absolute; top: 100%; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: .45rem 24px .9rem; border-bottom: 1px solid var(--line); background: var(--paper); box-shadow: var(--shadow); }
  .primary-nav.is-open { display: flex; }
  .primary-nav a { padding: .7rem .45rem; font-size: .9rem; }
  .header-actions { order: 3; width: 100%; justify-content: flex-start; gap: .6rem; padding-bottom: .7rem; }
  .header-actions .header-cta { margin-left: auto; }
}
/* Landing conversion sections (23 Oct 2026): quickstart, EU-tier spotlight, trust links. */
.qs-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 2.4rem; align-items: start; }
.qs-steps { display: grid; gap: 1.4rem; margin: 0; padding: 0; list-style: none; }
.qs-steps li { display: flex; gap: 1rem; align-items: flex-start; }
.qs-num { flex: none; display: grid; place-items: center; width: 2.2rem; height: 2.2rem; border: 1px solid var(--line); border-radius: 50%; color: var(--green-text); font-size: .78rem; font-weight: 650; }
.qs-steps h3 { margin: .15rem 0 .35rem; font-size: 1.08rem; font-weight: 600; }
.qs-steps p { margin: 0; color: var(--muted); font-size: .92rem; line-height: 1.55; }
.qs-code .code-card { margin-block: 0 1.2rem; }
.qs-code .code-card pre { white-space: pre; }
.eu-spot { padding-block: clamp(2rem, 4vw, 3rem); }
.eu-spot-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.4rem 2rem; margin: 0; padding: 1.6rem 0; list-style: none; border-block: 1px solid var(--line); }
.eu-spot-grid li { display: flex; gap: .7rem; align-items: flex-start; }
.eu-spot-grid .claim-icon { flex: none; margin-top: .15rem; color: var(--green-text); }
.eu-spot-grid h3 { margin: 0 0 .3rem; font-size: 1rem; font-weight: 650; }
.eu-spot-grid p { margin: 0; color: var(--muted); font-size: .88rem; line-height: 1.5; }
.eu-spot-links { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.6rem; margin: 1.4rem 0 0; }
.trust-links { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem 1.4rem; width: min(100% - 48px, 1160px); margin: -4.6rem auto 4.4rem; font-size: .84rem; }
.trust-links a { color: var(--muted); }
.trust-links a:hover { color: var(--ink); }
@media (max-width: 1020px) { .eu-spot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) { .qs-grid { grid-template-columns: minmax(0, 1fr); gap: 1.6rem; } }
@media (max-width: 600px) { .eu-spot-grid { grid-template-columns: minmax(0, 1fr); } .trust-links { width: min(100% - 36px, 1160px); justify-content: flex-start; } }
#pricing-teaser .table-wrap { max-width: 760px; margin-inline: 0; }
/* <=380px: brand + menu button + CTA overflowed by up to 16px (320-350px). */
@media (max-width: 380px) { .trust-badge-label { min-width: 0; hyphens: auto; overflow-wrap: anywhere; } .site-header { padding-inline: 12px; gap: .4rem; } .wordmark { flex: 0 1 136px; min-width: 0; } .wordmark .dm-lockup { width: 100%; height: auto; } }

/* Eight-column comparison tables scroll inside their container on small screens. */
.pricing-table.comparison-table { min-width: 1320px; table-layout: auto; }
.pricing-table.comparison-table th:first-child { width: 13%; }
.pricing-table.comparison-table th:nth-child(2), .pricing-table.comparison-table th:nth-child(3) { width: auto; }

.pricing-table.score-table { min-width: 720px; table-layout: auto; }
.pricing-table.score-table th:first-child { width: 28%; }
.pricing-table.score-table th:nth-child(2), .pricing-table.score-table th:nth-child(3) { width: auto; }

/* Expanded locale picker is used only when more than two locales are enabled. */
.lang-switch details { position: relative; }
.lang-switch summary { cursor: pointer; padding: .25rem .5rem; font: 600 .68rem var(--mono); }
.lang-switch details[open] { min-width: 10rem; }
.lang-switch details[open] a { display: flex; }

/* CJK locales: system fonts only (no web-font download). Latin glyphs keep Inter; Han/kana fall back to platform CJK fonts. */
:lang(ja) { --cjk: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", "Yu Gothic", Meiryo, "Noto Sans CJK JP", "Noto Sans JP", sans-serif; --sans: Inter, var(--cjk); --headline: "Inter Tight", Inter, var(--cjk); }
:lang(ja) body { line-break: strict; word-break: normal; overflow-wrap: anywhere; line-height: 1.8; }
:lang(ja) h1, :lang(ja) h2, :lang(ja) h3 { letter-spacing: 0; line-height: 1.3; word-break: auto-phrase; text-wrap: balance; }
:lang(ja) .eyebrow, :lang(ja) .request-label, :lang(ja) .response-label { letter-spacing: .02em; }

/* Keep the longer Japanese desktop navigation labels intact within the full header. */
@media (min-width: 921px) {
  :lang(ja) .site-header { gap: clamp(.6rem, 1vw, .9rem); }
  :lang(ja) .primary-nav { gap: clamp(.45rem, .65vw, .55rem); }
  :lang(ja) .primary-nav > a, :lang(ja) .primary-nav .developer-menu > summary { white-space: nowrap; }
  :lang(ja) .header-actions { gap: .7rem; }
}

/* pt-BR: longer nav labels and the "Português (Brasil)" language name need tighter header spacing on wide viewports. */
@media (min-width: 1081px) {
  :lang(pt-BR) .site-header { gap: 1.4rem; }
  :lang(pt-BR) .primary-nav { gap: 1.1rem; }
  :lang(pt-BR) .header-actions { gap: .7rem; }
}
@media (min-width: 921px) and (max-width: 1180px) {
  :lang(pt-BR) .site-header { gap: .8rem; padding-inline: 18px; }
  :lang(pt-BR) .primary-nav { gap: .7rem; }
  :lang(pt-BR) .primary-nav a { font-size: .76rem; }
  :lang(pt-BR) .header-actions { gap: .4rem; }
  :lang(pt-BR) .region-switch a { padding-inline: .5rem; }
  :lang(pt-BR) .header-cta { padding-inline: .75rem; }
  :lang(pt-BR) .header-actions .header-login { font-size: .76rem; }
}
@media (min-width: 921px) and (max-width: 1060px) {
  :lang(pt-BR) .site-header { gap: .6rem; padding-inline: 14px; }
  :lang(pt-BR) .primary-nav { gap: .5rem; }
  :lang(pt-BR) .primary-nav a { font-size: .72rem; }
}

/* Model quickstart on the dashboard ("Get an API key" from a model page) */
.quickstart { margin-block: 0 1.25rem; }
.quickstart h2 { margin: .2rem 0 .6rem; }
.quickstart-steps { margin: 0; padding-left: 1.2rem; display: grid; grid-template-columns: minmax(0, 1fr); gap: .45rem; }
.quickstart-steps li { min-width: 0; }
.quickstart { min-width: 0; max-width: 100%; overflow: hidden; }
.quickstart-steps li[data-done="true"] { color: var(--muted, #5b6470); }
.quickstart pre { max-width: 100%; overflow-x: auto; white-space: pre; margin: .4rem 0; }
.quickstart .linklike { background: none; border: 0; padding: 0; color: inherit; text-decoration: underline; cursor: pointer; font: inherit; }
.quickstart-lead { margin: 0 0 .6rem; }
.quickstart-run { margin: 0 0 .8rem; }
.quickstart-run .button { min-height: 44px; }
.quickstart-legal { margin: 0 0 .8rem; font-weight: 600; }
.quickstart-result:empty { display: none; }
.quickstart-result { margin: 0 0 .9rem; }
.quickstart-sent { margin: 0 0 .4rem; font-weight: 600; color: var(--green-text); }
.quickstart-error { margin: 0; color: var(--amber); }
.quickstart-answer { display: grid; grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr)); gap: .4rem .9rem; margin: 0; }
.quickstart-answer dt { font-size: .78rem; color: var(--muted); }
.quickstart-answer dd { margin: 0; font-family: var(--mono); overflow-wrap: anywhere; }
.quickstart .zero-balance { margin: 0 0 .9rem; }
.quickstart-code-lead { margin: .9rem 0 .3rem; }
.quickstart-tabs { display: flex; gap: .25rem; flex-wrap: wrap; }
.quickstart-tabs [role="tab"] { background: none; border: 1px solid var(--line); border-radius: 6px; padding: .3rem .7rem; font: inherit; font-size: .85rem; color: inherit; cursor: pointer; }
.quickstart-tabs [aria-selected="true"] { border-color: var(--ink); font-weight: 600; }
.quickstart-links { margin: .6rem 0 0; }

/* Landing first screen v2 (9 Nov 2026): proof row and click-cost line inside the hero, tighter phone layout. */
.hero-v2 { grid-template-columns: minmax(0, 1.12fr) minmax(380px, 1fr); gap: clamp(2rem, 4vw, 4rem); align-items: start; padding-block: clamp(2.6rem, 5vw, 4.5rem) clamp(2.6rem, 5vw, 4.5rem); }
.hero-v2 h1 { font-size: clamp(2.4rem, 4.1vw, 3.4rem); margin-bottom: 1.1rem; }
.hero-v2 .hero-lede { margin-bottom: 1.2rem; }
.hero-v2 .actions { margin-block: 1.2rem .7rem; }
.hero-assurance { max-width: 610px; margin: 0 0 1.5rem; color: var(--muted); font-size: .86rem; line-height: 1.5; }
.hero-proof { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; max-width: 660px; margin: 0; padding: 0; border-top: 1px solid var(--line); list-style: none; }
.hero-proof li { display: flex; flex-direction: column; gap: .35rem; min-width: 0; padding: .9rem .9rem 0 0; }
.hero-proof li + li { padding-left: .9rem; border-left: 1px solid var(--line); }
.hero-proof strong { color: var(--ink); font-size: 1.3rem; font-weight: 500; line-height: 1.1; white-space: nowrap; }
.hero-proof strong small { color: var(--muted); font-size: .78rem; font-weight: 500; }
.hero-proof span, .hero-proof figcaption { color: var(--muted); font-size: .78rem; line-height: 1.45; }
.hero-proof .hero-proof-bench { display: flex; flex-direction: column; gap: .35rem; margin: 0; }
.hero-proof .hero-proof-bench figcaption { margin: 0; }
.hero-proof .fn-ref { margin-left: .15rem; }
.eu-buyer-facts { flex-direction: column; gap: .5rem; margin: 0 0 1.3rem; }
.eu-buyer-facts li { align-items: flex-start; font-size: .9rem; font-weight: 500; line-height: 1.4; }
.eu-buyer-facts .claim-icon { margin-top: .12rem; }
@media (max-width: 820px) {
  .hero-v2 { grid-template-columns: 1fr; padding-block: 2rem 2.6rem; }
  .hero-v2 h1 { font-size: clamp(2.1rem, 9.6vw, 3.4rem); }
  html[lang="de"] .hero-v2 h1 { font-size: clamp(1.9rem, 8.4vw, 3.2rem); }
  .hero-v2 .actions .button { flex: 1 1 auto; }
}
@media (max-width: 520px) {
  .hero-proof { grid-template-columns: 1fr; }
  .hero-proof li, .hero-proof .hero-proof-bench { flex-direction: row; align-items: baseline; gap: .8rem; }
  .hero-proof li { padding: .7rem 0; }
  .hero-proof li + li { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .hero-proof strong { flex: 0 0 7.2rem; font-size: 1.05rem; white-space: normal; }
  .hero-proof strong small { display: block; margin-top: .15rem; }
}
/* Optional OpenAI ad-measurement consent on sign-in/sign-up (only for ChatGPT ad visits, 11 Nov 2026). */
.auth-email-form .check-row.ad-consent { align-items: flex-start; margin-block: .5rem; color: var(--muted); font-size: .85rem; line-height: 1.45; }
.auth-email-form .check-row.ad-consent input { flex-shrink: 0; margin-top: 3px; }
.auth-email-form .check-row.ad-consent > span { min-width: 0; }
/* Poland partner-location opt-in (#89197): optional, separate from the Terms/DPA note. */
.auth-email-form .check-row.pl-optin { align-items: flex-start; margin-block: 0 .9rem; padding-bottom: .9rem; border-bottom: 1px solid var(--line); color: var(--muted); font-size: .85rem; font-weight: 400; line-height: 1.45; text-align: left; }
.auth-email-form .check-row.pl-optin input { flex-shrink: 0; margin-top: 3px; }
.auth-email-form .check-row.pl-optin > span { min-width: 0; }
/* Lineup cards (/models, /, /eu) and the /benchmarks claim layout, rendered from data/model-claims.json (16 Nov 2026). */
.lineup-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 2rem; }
.lineup-card { display: flex; flex-direction: column; min-width: 0; padding: 1.25rem 1.3rem 1.1rem; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); overflow-wrap: anywhere; }
.lineup-card-featured { border-top: 3px solid var(--green); }
.lineup-model { margin: 0; color: var(--green-text); font: 500 .7rem/1.3 var(--mono); letter-spacing: .05em; text-transform: uppercase; }
.lineup-name { margin: .45rem 0 .2rem; font: 600 1.35rem/1.15 var(--headline); letter-spacing: -.02em; }
.lineup-role { margin: 0 0 .8rem; color: var(--muted); font-size: .9rem; }
.lineup-reason { margin: 0; font-size: .98rem; font-weight: 560; line-height: 1.45; }
.claim-source { margin: .45rem 0 0; color: var(--muted); font-size: .76rem; line-height: 1.4; }
.claim-source a { color: inherit; text-decoration-color: color-mix(in srgb, var(--muted) 45%, transparent); }
.lineup-chips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .4rem; margin: auto 0 0; padding: 1rem 0 0; list-style: none; }
.lineup-chips li { padding: .35rem .5rem; border: 1px solid var(--line); border-radius: 5px; background: var(--paper); font: 500 .74rem/1.3 var(--mono); }
.lineup-links { display: flex; flex-wrap: wrap; gap: .35rem 1rem; margin: 1rem 0 0; padding-top: .8rem; border-top: 1px solid var(--line); font-size: .86rem; font-weight: 600; }
.lineup-more { margin-top: 1.2rem; }
.lineup-details { margin: .45rem 0 0; color: var(--muted); font-size: .76rem; line-height: 1.4; }
.lineup-details summary { cursor: pointer; font-weight: 600; }
.lineup-details p { margin: .45rem 0 0; font-size: inherit; }
@media (max-width: 1080px) { .lineup-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { .lineup-grid { grid-template-columns: minmax(0, 1fr); gap: .8rem; } .lineup-reason { min-height: 0; } }
/* /models + /benchmarks: our models vs the names you know (dm-sales-arguments-20261127) */
.known-compare .section-head { max-width: 760px; }
.cmp-wrap { margin-top: 1.4rem; overflow-x: auto; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
.cmp-table { width: 100%; border-collapse: collapse; font-size: .92rem; font-variant-numeric: tabular-nums; }
.cmp-table th, .cmp-table td { padding: .55rem .8rem; border-bottom: 1px solid var(--line); text-align: right; vertical-align: top; }
.cmp-table thead th { color: var(--muted); font: 600 .72rem/1.3 var(--mono); letter-spacing: .04em; text-transform: uppercase; }
.cmp-table th:first-child { text-align: left; }
.cmp-table tbody th { font: 600 .92rem/1.35 var(--sans); letter-spacing: 0; text-transform: none; }
.cmp-table tbody tr:last-child > * { border-bottom: 0; }
.cmp-ours > * { background: var(--green-wash); }
.cmp-ours th a { color: var(--ink); text-decoration-color: color-mix(in srgb, var(--green) 60%, transparent); }
.cmp-first-known > * { border-top: 2px solid var(--line); }
.cmp-table .cmp-known th { font-weight: 500; }
.cmp-known td { color: var(--muted); }
.cmp-best { color: var(--green-text); font-weight: 700; }
.cmp-na { color: var(--muted); }
.cmp-sub, .cmp-note { display: block; color: var(--muted); font-size: .72rem; font-weight: 400; line-height: 1.3; }
.cmp-price { margin: 1rem 0 0; max-width: 760px; font-size: .95rem; }
@media (max-width: 520px) { .cmp-table, .cmp-table tbody th { font-size: .84rem; } .cmp-table th, .cmp-table td { padding: .45rem .45rem; } .cmp-table thead th { font-size: .62rem; letter-spacing: .02em; } }
.model-ids-table td, .model-ids-table th { font-size: .86rem; vertical-align: top; }
.model-ids-table:has(.global-capacity-note) th[scope="row"] code { white-space: nowrap; }
.model-ids-table .global-capacity-note {
  margin: .35rem 0 0;
  min-inline-size: min(16rem, 66vw);
  max-inline-size: 36ch;
}
.model-ids details { margin-top: 1rem; }
.model-ids summary { cursor: pointer; font-weight: 600; }
.model-ids details[open] summary { margin-bottom: .6rem; }
.model-ids .cap-fallback { max-width: 900px; }
.image-example-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 1.6rem; align-items: start; margin-top: 1.4rem; }
.image-example-figure { margin: 0; }
.image-example-figure img { display: block; width: 100%; max-width: 420px; height: auto; border: 1px solid var(--line); border-radius: 8px; }
.image-example-question { margin: .2rem 0 1rem; font: 600 1.15rem/1.35 var(--headline); }
.prob-list { display: grid; gap: .45rem; margin: .4rem 0 1rem; padding: 0; list-style: none; }
.prob-list li { display: grid; grid-template-columns: minmax(0, 13rem) minmax(0, 1fr) 4.2rem; gap: .7rem; align-items: center; font-size: .9rem; }
.prob-bar, .bar-track { display: block; height: .7rem; border-radius: 99px; background: var(--line); overflow: hidden; }
.prob-bar > span, .bar-track > span { display: block; height: 100%; border-radius: 99px; background: var(--muted); }
.prob-list .is-choice { font-weight: 650; }
.prob-list .is-choice .prob-bar > span, .bar-chart .is-ours .bar-track > span { background: var(--green); }
.prob-value, .bar-value { font-family: var(--mono); font-variant-numeric: tabular-nums; text-align: right; }
@media (max-width: 760px) { .image-example-grid { grid-template-columns: minmax(0, 1fr); } .prob-list li { grid-template-columns: minmax(0, 1fr) 4rem; } .prob-list .prob-bar { grid-column: 1 / -1; grid-row: 2; } }
.hero-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; width: min(100% - 48px, 1160px); margin: 0 auto 1rem; }
.hero-stat, .claim-tile { display: flex; flex-direction: column; min-width: 0; padding: 1.2rem 1.25rem; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
.hero-stat { border-top: 3px solid var(--green); }
.hero-stat-model { margin: 0 0 .3rem; color: var(--green-text); font: 500 .7rem/1.3 var(--mono); letter-spacing: .05em; text-transform: uppercase; }
.claim-big { margin: 0; font: 650 clamp(2rem, 4vw, 2.9rem)/1.05 var(--headline); letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.claim-big-label { margin: .3rem 0 .6rem; color: var(--muted); font-size: .88rem; line-height: 1.4; }
.hero-stat .claim-source { margin-top: auto; }
.claim-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 1.4rem; }
.claim-tiles:has(> :nth-child(2):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.claim-tile .claim-text { margin: 0; font-size: .92rem; line-height: 1.5; }
.claim-tile .claim-source { margin-top: auto; padding-top: .6rem; }
.claim-tile-past .claim-text { font-size: 1rem; }
.bench-detail { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; margin-top: 1rem; }
.bench-detail:has(.bench-chart):has(.bench-notes) { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.bench-notes { padding: 1.2rem 1.25rem; border: 1px solid var(--line); border-radius: 8px; }
.bench-notes .claim-text { margin: 0; }
.bench-notes .claim-source + .claim-text { margin-top: 1rem; }
.bench-chart { margin: 0; padding: 1.2rem 1.25rem; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
.bench-chart figcaption { margin-bottom: .6rem; font-weight: 650; }
.bar-group { margin: .9rem 0 .35rem; color: var(--muted); font: 500 .72rem/1.3 var(--mono); letter-spacing: .04em; text-transform: uppercase; }
.bar-chart { display: grid; gap: .4rem; margin: 0; padding: 0; list-style: none; }
.bar-chart li { display: grid; grid-template-columns: minmax(0, 10rem) minmax(0, 1fr) 3.4rem; gap: .7rem; align-items: center; font-size: .88rem; }
.bar-chart .is-ours { font-weight: 650; }
.bench-try .actions { margin-top: 1rem; }
@media (max-width: 960px) { .hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .claim-tiles, .claim-tiles:has(> :nth-child(2):last-child) { grid-template-columns: minmax(0, 1fr); } .bench-detail:has(.bench-chart):has(.bench-notes) { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) { .hero-stats { grid-template-columns: minmax(0, 1fr); width: min(100% - 36px, 1160px); } .bar-chart li { grid-template-columns: minmax(0, 1fr) 3.2rem; } .bar-chart .bar-track { grid-column: 1 / -1; grid-row: 2; } }
/* Bar widths without inline styles (style-src 'self'). */
.w-0{width:0%}.w-1{width:1%}.w-2{width:2%}.w-3{width:3%}.w-4{width:4%}.w-5{width:5%}.w-6{width:6%}.w-7{width:7%}.w-8{width:8%}.w-9{width:9%}.w-10{width:10%}.w-11{width:11%}.w-12{width:12%}.w-13{width:13%}.w-14{width:14%}.w-15{width:15%}.w-16{width:16%}.w-17{width:17%}.w-18{width:18%}.w-19{width:19%}.w-20{width:20%}.w-21{width:21%}.w-22{width:22%}.w-23{width:23%}.w-24{width:24%}.w-25{width:25%}.w-26{width:26%}.w-27{width:27%}.w-28{width:28%}.w-29{width:29%}.w-30{width:30%}.w-31{width:31%}.w-32{width:32%}.w-33{width:33%}.w-34{width:34%}.w-35{width:35%}.w-36{width:36%}.w-37{width:37%}.w-38{width:38%}.w-39{width:39%}.w-40{width:40%}.w-41{width:41%}.w-42{width:42%}.w-43{width:43%}.w-44{width:44%}.w-45{width:45%}.w-46{width:46%}.w-47{width:47%}.w-48{width:48%}.w-49{width:49%}.w-50{width:50%}.w-51{width:51%}.w-52{width:52%}.w-53{width:53%}.w-54{width:54%}.w-55{width:55%}.w-56{width:56%}.w-57{width:57%}.w-58{width:58%}.w-59{width:59%}.w-60{width:60%}.w-61{width:61%}.w-62{width:62%}.w-63{width:63%}.w-64{width:64%}.w-65{width:65%}.w-66{width:66%}.w-67{width:67%}.w-68{width:68%}.w-69{width:69%}.w-70{width:70%}.w-71{width:71%}.w-72{width:72%}.w-73{width:73%}.w-74{width:74%}.w-75{width:75%}.w-76{width:76%}.w-77{width:77%}.w-78{width:78%}.w-79{width:79%}.w-80{width:80%}.w-81{width:81%}.w-82{width:82%}.w-83{width:83%}.w-84{width:84%}.w-85{width:85%}.w-86{width:86%}.w-87{width:87%}.w-88{width:88%}.w-89{width:89%}.w-90{width:90%}.w-91{width:91%}.w-92{width:92%}.w-93{width:93%}.w-94{width:94%}.w-95{width:95%}.w-96{width:96%}.w-97{width:97%}.w-98{width:98%}.w-99{width:99%}.w-100{width:100%}
/* Shared header menus and footer preferences. */
[hidden] { display:none !important; }
.chrome-menu { position:relative; }
.chrome-menu-trigger,.avatar-trigger { display:inline-flex; align-items:center; justify-content:center; gap:.45rem; padding:.55rem 0; border:0; background:transparent; color:var(--muted); font:inherit; cursor:pointer; }
.chrome-menu-trigger { font-size:.86rem; font-weight:560; }
.chevron { flex:none; display:block; width:12px; height:12px; background:currentColor; mask:url("/assets/chevron-down.svg") center / contain no-repeat; transform:rotate(0deg); transition:transform .15s; }
.chrome-menu-trigger[aria-expanded="true"] > .chevron { transform:rotate(180deg); }
.chrome-menu-panel { display:none; position:absolute; z-index:30; top:calc(100% + .3rem); left:0; min-width:12rem; padding:.4rem; border:1px solid var(--line); border-radius:8px; background:var(--paper); box-shadow:var(--shadow); }
.chrome-menu:focus-within .chrome-menu-panel,.chrome-menu [aria-expanded="true"] + .chrome-menu-panel { display:grid; }
.has-chrome-js .chrome-menu:focus-within .chrome-menu-panel { display:none; }
.has-chrome-js .chrome-menu [aria-expanded="true"] + .chrome-menu-panel { display:grid; }
.chrome-menu-panel a,.chrome-menu-panel button { display:flex; align-items:center; padding:.55rem .65rem; border:0; border-radius:5px; background:transparent; color:var(--ink); font:inherit; font-size:.85rem; text-decoration:none; text-align:left; cursor:pointer; }
.chrome-menu-panel a:hover,.chrome-menu-panel button:hover { background:var(--surface); }
.lang-switch { margin:0; padding:0; border:0; }
.lang-switch .chrome-menu-panel { left:auto; right:0; }
.lang-switch .chrome-menu-panel a { font:inherit; font-size:.85rem; letter-spacing:normal; white-space:nowrap; }
.lang-switch a[aria-current="true"]::after,.mobile-languages a[aria-current="true"]::after { content:'✓'; margin-left:auto; padding-left:1rem; }
.account-menu { display:flex; align-items:center; }
.avatar-trigger { flex:none; width:36px; height:36px; padding:2px; }
.avatar-circle { display:grid; place-items:center; width:32px; height:32px; overflow:hidden; border-radius:50%; background:var(--green-wash); color:var(--green-text); font-size:.78rem; font-weight:700; }
.account-menu[data-account-loading] .avatar-circle { background:var(--surface); }
.avatar-circle img { width:100%; height:100%; object-fit:cover; }
.avatar-person { width:21px; height:21px; background:currentColor; mask:url("/assets/person.svg") center / contain no-repeat; }
.account-panel { left:auto; right:0; min-width:14rem; }
.account-email { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; max-width:14rem; margin:0; padding:.6rem .65rem; color:var(--muted); font-size:.85rem; }
.menu-divider { height:1px; background:var(--line); margin:.35rem 0; }
.dashboard-link { color:var(--muted); text-decoration:none; font-size:.86rem; }
.mobile-languages,.mobile-cta,.mobile-docs,.mobile-account-actions { display:none; }
.footer-controls { grid-column:1 / -1; display:flex; align-items:center; gap:1rem 1.5rem; }
.footer-controls .site-version { display:flex; flex:1; align-items:center; gap:.5rem; min-width:0; }
.footer-controls .site-version > span:first-child { margin:0; white-space:nowrap; }
.footer-controls .site-version p { flex:1; margin:0 0 0 .5rem; }
.footer-controls > .theme-row { flex:none; }
.site-version { color:var(--muted); font-size:.8rem; }
.site-version > span:first-child { margin-right:.5rem; }
.site-version p { max-width:42rem; margin:.4rem 0 0; font-size:.75rem; }
.theme-toggle.theme-row { display:inline-flex; width:auto; height:auto; min-height:36px; gap:.5rem; padding:.4rem .6rem; font:inherit; font-size:.85rem; }
.site-version:has(#pricing-region-description) { width:min(100% - 48px,1160px); margin:8px auto 1rem; }
.site-version:has(#pricing-region-description) p { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
@media (min-width:961px) { .header-login { display:inline; } .nav-signin { display:none; } }
@media (max-width:960px) {
 .site-header { flex-wrap:nowrap; min-height:64px; gap:.6rem; }
 .menu-toggle { display:grid; order:4; margin:0; width:44px; height:44px; }
 .header-actions { order:3; width:auto; padding:0; margin-left:auto; }
 .header-actions .lang-switch,.header-actions .header-cta,.dashboard-link { display:none; }
 .header-actions .header-login { display:inline; }
 .primary-nav { position:absolute; top:100%; left:0; right:0; display:none; max-height:calc(100vh - 64px); overflow-y:auto; flex-direction:column; align-items:stretch; gap:0; padding:.75rem 24px 1rem; border-bottom:1px solid var(--line); background:var(--paper); box-shadow:var(--shadow); }
 .primary-nav.is-open { display:flex; }
 .primary-nav .developer-menu { display:none; }
 .mobile-docs { display:grid; }
 .primary-nav .mobile-docs a:not(:first-child) { padding-left:1.4rem; }
 .mobile-account-actions { display:grid; gap:.25rem; padding:.5rem 0 .75rem; }
 .mobile-languages { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.2rem; padding:.7rem 0; border-top:1px solid var(--line); }
 .mobile-languages > span { grid-column:1 / -1; font-size:.8rem; color:var(--muted); }
 .mobile-languages a { display:flex; }
 .primary-nav .mobile-cta { display:flex; width:100%; justify-content:center; margin:0; color:var(--paper); background:var(--green); }
 .primary-nav .mobile-dashboard-link { display:block; }
 .nav-signin { display:inline; }
 .avatar-trigger { width:44px; height:44px; }
 .account-panel { position:fixed; top:64px; left:0; right:0; border-radius:0 0 8px 8px; }
 .primary-nav.is-open ~ .header-actions .lang-switch { display:none; }
}

@media (min-width:961px) {
 .developer-menu .developer-menu-links { display:none; }
 .developer-menu:focus-within .developer-menu-links, .developer-menu [aria-expanded="true"] + .developer-menu-links { display:grid; }
 .has-chrome-js .developer-menu:focus-within .developer-menu-links { display:none; }
 .has-chrome-js .developer-menu [aria-expanded="true"] + .developer-menu-links { display:grid; }
}

.no-js-nav { display:flex; flex-wrap:wrap; gap:.75rem; padding:.75rem; }
@media (max-width:960px) {
 .menu-toggle { display:flex; flex-direction:column; justify-content:center; align-items:center; gap:5px; }
 .menu-toggle[aria-expanded="true"] span:first-child { transform:translateY(3px) rotate(45deg); }
 .menu-toggle[aria-expanded="true"] span:last-child { transform:translateY(-3px) rotate(-45deg); }
}

.theme-row .theme-symbol { background:transparent; position:relative; }
.theme-row[aria-pressed="true"] .theme-symbol { border:0; background:transparent; box-shadow:inset -.25rem -.12rem 0 currentColor; transform:rotate(-35deg); }
.theme-row[aria-pressed="false"] .theme-symbol::after { content:'✦'; position:absolute; inset:-.35rem; display:grid; place-items:center; font-size:.85rem; line-height:1; }

.lineup-other-links { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem 1rem; margin: 0; }

/* Keep quiet account navigation on one line as the desktop header narrows. */
@media (min-width:961px) and (max-width:1279px) { .header-actions .dashboard-link { display:none; } }
.site-header button:disabled,.site-header [aria-disabled="true"] { border-style:solid; opacity:1; background:var(--surface); color:var(--muted); }
@media (max-width:960px) {
 .primary-nav { background:var(--paper); }
 .primary-nav a { min-height:44px; }
 .primary-nav .nav-signin { text-align:center; }
 .primary-nav .mobile-languages a { align-items:center; padding:.45rem; }
 .header-actions .header-login { display:inline-flex; align-items:center; min-height:44px; }
}
@media (max-width:700px) {
 .footer-controls { flex-direction:column; align-items:stretch; }
 .footer-controls .site-version { flex-wrap:wrap; }
 .footer-controls .site-version p { flex-basis:100%; margin:.4rem 0 0; }
 .footer-controls > .theme-row { align-self:flex-start; }
}
/* Long documentation examples scroll in their own box on phones. */
main pre { max-width:100%; overflow-x:auto; }
/* The authentication card shares one layout across login, signup, partner and verify. */
main:has(> .auth-card) { display: grid; align-content: center; min-height: calc(100svh - 76px); padding: 32px 16px; }
.auth-panel.auth-card { width: 100%; max-width: 400px; margin: 0 auto; padding: 28px; border-radius: var(--dm-radius); }
.auth-card h1 { font-size: 24px; line-height: 1.25; letter-spacing: -.025em; text-align: center; margin: 18px 0 24px; }
.auth-card .auth-mark { display: block; margin-inline: auto; border-radius: 10px; }
.auth-card .auth-email-form { display: block; max-width: none; }
.auth-card .button { display: flex; width: 100%; min-height: 46px; justify-content: center; font-size: 14px; text-align: center; padding: 11px 12px; }
.auth-card .auth-provider { position: relative; gap: 10px; }
.auth-card .auth-provider img { flex-shrink: 0; }
.auth-card .auth-divider { display: flex; align-items: center; gap: 12px; margin-block: 20px; color: var(--muted); font-size: 13px; }
.auth-card .auth-divider::before, .auth-card .auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.auth-card label:not(.check-row) { display: block; font-size: 14px; margin-bottom: 6px; }
.auth-card input:not([type="checkbox"]) { width: 100%; min-width: 0; min-height: 46px; font-size: 16px; }
.auth-card .auth-actions { display: block; margin: 12px 0 0; }
.auth-card #signup-accept-note { margin: 0 0 18px; font-size: 12px; line-height: 1.6; text-align: center; }
.auth-card .auth-switch { text-align: center; font-size: 13px; margin: 16px 0 0; }
.auth-card .auth-switch a, .auth-card .auth-footer a { display: inline-flex; align-items: center; min-height: 44px; }
.auth-card .auth-invite { text-align: center; font-size: 13px; }
.auth-card .auth-invite summary { display: flex; align-items: center; justify-content: center; min-height: 44px; color: var(--muted); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; list-style: none; }
.auth-card .auth-invite summary::-webkit-details-marker { display: none; }
.auth-card .auth-invite label { margin-top: 8px; text-align: left; }
.auth-card .auth-footer { color: var(--muted); text-align: center; font-size: 12px; margin: 8px 0 0; }
.auth-card #magic-link-status { margin: 12px 0 0; font-size: 13px; }
.auth-card #magic-link-status:empty { margin: 0; }
.auth-card .auth-text-button { display: block; width: 100%; min-height: 44px; padding: 8px 0; background: transparent; border: 0; color: var(--ink); cursor: pointer; text-decoration: underline; font-size: 13px; }
.auth-card .auth-inbox { text-align: center; overflow-wrap: anywhere; font-size: 14px; }
.auth-card .dashboard-status { width: 100%; margin: 0 0 16px; padding: 0; border: 0; font-size: 14px; text-align: center; }
.auth-card [data-auth-verify-hint] { text-align: center; }
.auth-card .start-offer { width: 100%; margin: 0 0 18px; padding: 12px; font-size: 13px; }
@media (max-width: 480px) {
  .auth-panel.auth-card { padding: 24px 16px; }
}
/* Account navigation precedes content and remains available while reading sections. */
[data-dashboard-root] { --dashboard-header-height: 80px; }
.dashboard-grid { padding-top: 1.25rem; align-items: start; }
.dashboard-intro { width: 100%; margin: 0 0 1rem; padding: 0; border: 0; background: none; }
.dashboard-intro :is(h1, h2) { margin: 0; font-size: 1.75rem; letter-spacing: -.04em; }
.dashboard-nav { top: calc(var(--dashboard-header-height) + 16px); }
.dashboard-nav a, .dashboard-nav .dashboard-signout { min-height: 44px; }
.dashboard-nav .dashboard-signout { border: 0; background: none; color: var(--muted); padding: .6rem .7rem; font-weight: 400; }
.dashboard-main > .notice, .dashboard-main > .dashboard-status, .dashboard-main > .dash-section { width: 100%; margin-inline: 0; }
.dashboard-main > .notice:not(.quickstart), .dashboard-main > .terms-update { margin-block: 0 .75rem; padding: .5rem .75rem; border: 1px solid var(--line); border-radius: 5px; background: var(--surface); font-size: .84rem; }
.dashboard-main > .notice:not(.quickstart) { display: flex; align-items: center; justify-content: space-between; gap: .6rem; }
.dashboard-main > .notice[hidden] { display: none; }
.dashboard-main > .dashboard-status { margin-block: 0 .75rem; padding: .5rem .75rem; }
.dashboard-main > .dashboard-status.visually-hidden { width: 1px; margin: -1px; padding: 0; border: 0; }
.terms-update-row { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .6rem; }
.terms-update-row h2 { margin: 0; font-size: .84rem; letter-spacing: 0; }
.terms-update .button { min-height: 36px; padding: .4rem .7rem; font-size: .84rem; }
.terms-update-row .button { margin-left: auto; }
.terms-update-row a { white-space: nowrap; }
.terms-update .linklike { padding: .3rem 0; border: 0; background: none; color: var(--muted); text-decoration: underline; cursor: pointer; font: inherit; }
#terms-update-details { padding-top: .75rem; }
#terms-update-details p { margin-bottom: .75rem; }
#terms-update-status:empty { display: none; }
#terms-update-dismiss { margin-left: .5rem; }
.dashboard-main .section-head .eyebrow { display: none; }
.dashboard-main .dash-section h2 { font-size: 1.35rem; }
.dashboard-main .terms-update h2 { font-size: .84rem; }
.dashboard-main .invite-panel { width: 100%; margin: .75rem 0 1.25rem; padding: 0; border: 0; border-block: 1px solid var(--line); border-radius: 0; background: none; scroll-margin-top: max(0px, calc(var(--dashboard-header-height) + 16px - 6rem)); }
.invite-panel summary { min-height: 44px; padding-block: .7rem; cursor: pointer; font-size: .9rem; }
.invite-content { padding-bottom: .75rem; }
.invite-content p { font-size: .85rem; }
.invite-content input { min-width: 0; width: 100%; }
.session-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem; padding-bottom: 1rem; }
.session-row h3 { margin: 0; font-size: 1rem; }
#model-fallback-setting:not([hidden]) { border-top: 1px solid var(--line); padding-top: 1rem; }
#partner-location-setting:not([hidden]) { border-top: 1px solid var(--line); margin-top: 1.25rem; padding-top: 1rem; }
#pg-account .dashboard-grid { width: 100%; display: block; padding-top: .75rem; }
#pg-account .dashboard-nav { position: static; flex-direction: row; flex-wrap: wrap; margin-bottom: 1rem; }
#pg-account .dashboard-nav .dashboard-signout { margin: 0; }
@media (max-width: 899px) {
  .dashboard-grid { grid-template-columns: minmax(0, 1fr); gap: 1rem; padding-top: 0; }
  .dashboard-nav { position: sticky; top: var(--dashboard-header-height); z-index: 20; flex-direction: row; overflow-x: auto; min-width: 0; max-width: 100%; gap: .2rem; padding-block: .4rem; background: var(--paper); border-bottom: 1px solid var(--line); }
  .dashboard-nav a { flex: 0 0 auto; white-space: nowrap; display: flex; align-items: center; }
  .dashboard-nav .dashboard-signout { display: none; }
  .dashboard-main .dash-section, .dashboard-main .invite-panel { scroll-margin-top: max(0px, calc(var(--dashboard-header-height) + 76px - 6rem)); }
  .terms-update-row { gap: .25rem .5rem; }
  .terms-update .button { min-height: 44px; }
  .terms-update-row .button { margin-left: 0; }
  .terms-update-row a, .terms-update .linklike { display: inline-flex; align-items: center; min-height: 44px; }
  .dashboard-main > .zero-balance:not([hidden]) { display: block; }
  .dashboard-main > .notice:not(.quickstart) a { flex-shrink: 0; min-height: 44px; display: inline-flex; align-items: center; }
  #pg-account .dashboard-nav { position: static; }
}

@media (max-width: 599px) {
  .dashboard-main > .terms-update { padding-block: .125rem; }
  .terms-update-row { display: grid; grid-template-columns: max-content max-content minmax(0, 1fr); gap: 0 .4rem; font-size: .76rem; }
  .dashboard-main .terms-update-row h2 { grid-column: 1 / 3; grid-row: 1; font-size: .76rem; }
  #terms-update-changes { grid-column: 1; grid-row: 2; }
  #terms-update-link { grid-column: 2; grid-row: 2; }
  #terms-update-review { grid-column: 3; grid-row: 1 / 3; min-width: 0; padding-inline: .55rem; font-size: .76rem; }
}

/* Keep one onboarding guide; dismissing the activation panel restores the checklist. */
.dashboard-main:has(> #quickstart) > #getting-started { display: none; }

/* BEGIN convert: public conversion pages (dm-site-revamp) */
.convert-home .section { padding-block: 44px; }
.convert-home .section-head { margin-bottom: 24px; }
.convert-home .section-head .lede { max-width: 65ch; }
.convert-hero { padding-block: 42px; }
.convert-hero .hero-side { align-self: start; }
.convert-hero .hero-assurance { max-width: 62ch; }
.convert-home .claim-strip { margin-block: 0 28px; }
.convert-use-cases { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 0 28px; }
.convert-use-cases > a { display: block; padding-block: 20px; border-top: 1px solid var(--line); color: inherit; text-decoration: none; }
.convert-use-cases h3 { margin: 0 0 8px; font-size: 1.1rem; }
.convert-use-cases p { margin: 0; }
.convert-models caption { text-align: left; padding-bottom: 16px; }
.convert-models th, .convert-models td { padding-block: 16px; }
.convert-models .field-hint { font-weight: 400; }
.convert-models a { display: inline-flex; align-items: center; min-height: 44px; }
.convert-tiers { display: grid; grid-template-columns: max-content 1fr; gap: 12px 24px; }
.convert-tiers dt { font-weight: 650; }
.convert-tiers dd { margin: 0; }
.convert-closing { margin-block: 36px 56px; }
.convert-closing h2 { max-width: 26ch; }
.convert-pricing-first + p { margin-block: 24px; }
.convert-pricing-notes { padding-block: 36px; }
.page-intro:has(+ .qs-section) { margin-bottom: 0; }
.page-intro + .qs-section { padding-top: 20px; }
.page-intro + .capability-models-section { padding-top: 16px; }
@media (max-width: 700px) {
  .convert-home .section { padding-block: 32px; }
  .convert-use-cases { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 18px; }
  .convert-tiers { grid-template-columns: 1fr; gap: 8px; }
  .convert-tiers dd { margin-bottom: 12px; }
  .convert-closing { display: block; }
  .convert-closing .actions { margin-top: 24px; }
  .convert-models { min-width: 650px; }
}
.convert-pricing-first { width: min(100% - 48px, 1160px); margin-inline: auto; }
.convert-pricing-first .table-wrap { width: 100%; }
.qs-entry .qs-code > .actions { margin: 0 0 18px; }
.qs-entry .qs-code pre, .qs-entry .qs-code pre code { white-space: pre-wrap; overflow-wrap: anywhere; }
@media (max-width: 700px) {
  .convert-pricing-first { width: calc(100% - 36px); }
  .page-intro:has(+ .qs-entry) { padding-block: 24px 12px; }
  .page-intro:has(+ .qs-entry) h1 { font-size: 2rem; }
  .qs-entry { padding-block: 16px; }
  .qs-entry .section-head { margin-bottom: 18px; }
  .qs-entry .section-head h2 { font-size: 1.35rem; }
  .qs-entry .qs-steps { gap: 14px; }
  .qs-entry .qs-steps h3 { font-size: 1rem; }
  .qs-entry .qs-steps p { margin-top: 2px; font-size: .875rem; }
  .qs-entry .qs-grid { gap: 18px; }
  .qs-entry .code-card pre { font-size: .7rem; padding: 12px; }
}
#input-limits { min-width: 0; }
#input-limits .table-wrap { max-width: 100%; width: 100%; }
.convert-home #pricing-teaser .table-wrap { max-width: none; width: 100%; }
.convert-models th:first-child { width: 34%; }
.convert-models th:nth-child(2), .convert-models th:nth-child(3), .convert-models th:nth-child(4) { width: 22%; }
main:has(.qs-entry) :not(pre) > code { white-space: normal; overflow-wrap: anywhere; }
@media (max-width: 700px) {
  .convert-home .convert-models { display: block; min-width: 0; table-layout: auto; }
  .convert-models caption { display: block; padding: 12px; }
  .convert-models thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .convert-models tbody { display: block; }
  .convert-models tr { display: grid; grid-template-columns: 1fr 1fr; padding: 10px; border-top: 1px solid var(--line); }
  .convert-home .convert-models th, .convert-home .convert-models td { width: auto; padding: 6px; border: 0; }
  .convert-models th[scope="row"], .convert-models td:last-child { grid-column: 1 / -1; }
  .convert-models td:nth-child(2)::before { content: "Peer-to-Peer · "; display: block; font-size: .7rem; color: var(--muted); }
  .convert-models td:nth-child(3)::before { content: "EU · "; display: block; font-size: .7rem; color: var(--muted); }
}
main:has(.qs-entry) pre { max-width: 100%; overflow-x: auto; }
/* END convert: public conversion pages */

/* #1 badge (HF Decision Index, 3 Dec 2026). Static, no layout shift. */
.n1-badge { display: inline-flex; align-items: center; gap: .85rem; max-width: 100%; margin: 0 0 1.4rem; padding: .6rem 1.1rem .6rem .6rem; border: 1px solid var(--dm-emerald); border-radius: var(--dm-radius-pill, 999px); background: var(--dm-emerald-wash); color: var(--dm-ink); box-shadow: 0 0 0 4px color-mix(in srgb, var(--dm-emerald) 14%, transparent); }
.n1-badge-rank { flex: none; display: grid; place-items: center; width: 3.1rem; height: 3.1rem; border-radius: 50%; background: var(--dm-emerald); color: var(--dm-paper); font-family: var(--dm-font-display); font-weight: 800; font-size: 1.25rem; letter-spacing: -.02em; }
.n1-badge-body { display: grid; gap: .1rem; min-width: 0; line-height: 1.3; }
.n1-badge-title { color: var(--dm-ink); font-weight: 700; font-size: 1rem; text-decoration: none; }
.n1-badge-title:hover { text-decoration: underline; }
.n1-badge-meta { color: var(--dm-muted); font-size: .82rem; font-family: var(--dm-font-mono); }
.n1-badge-cta { color: var(--dm-emerald-text); font-weight: 700; font-size: .92rem; }
.page-intro + .n1-badge { display: flex; width: min(100% - 48px, 1160px); margin-inline: auto; border-radius: var(--dm-radius, 14px); }
.n1-badge-compact { display: flex; margin: .4rem 0 .8rem; padding: .45rem .7rem .45rem .45rem; border-radius: var(--dm-radius, 14px); box-shadow: none; }
.n1-badge-compact .n1-badge-rank { width: 2.3rem; height: 2.3rem; font-size: 1rem; }
.n1-badge-compact .n1-badge-title { font-size: .9rem; }
@media (max-width: 560px) { .n1-badge { gap: .6rem; padding-right: .8rem; } .n1-badge-rank { width: 2.5rem; height: 2.5rem; font-size: 1.05rem; } .n1-badge-title { font-size: .92rem; } .n1-badge-meta { font-size: .74rem; } }

/* Generated from the rendered benchmark bars (style-src 'self' compatible; no inline styles). */

