/* Thoughtborne site — shared stylesheet for all four pages:
   / (DE), /en/ (EN), /legal.html (DE), /en/legal.html (EN).
   Hard rule: the site is self-contained — no third-party origins (CDN scripts,
   external fonts, remote images); this file and assets/ are first-party. */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }

:root {
  color-scheme: light;

  /* terminal surfaces (the dark objects — constant in both OS themes) */
  --term:      #0C1218;
  --term-line: #24333F;
  --term-text: #DEE7ED;
  --term-dim:  #8A9AA6;
  --accent:    #59C2FF;   /* console accent, ported from console_ui.py — dark surfaces only */

  /* the light page */
  --navy:      #0E202E;
  --e-gray:    #828B94;
  --paper:     #F7F9FB;
  --ink:       #0E202E;
  --ink-soft:  rgba(14, 32, 46, .72);
  --line:      rgba(14, 32, 46, .14);
  --panel:     rgba(14, 32, 46, .035);
  --accent-deep: #0F6BA8; /* darker sibling of the console accent — AA on paper */
  --hero-ink:  #FFFFFF;
  --hero-soft: rgba(255,255,255,.80);
  --hero-line: rgba(255,255,255,.42);
  --link-underline: var(--e-gray);
  --btn-bg: var(--navy); --btn-fg: #FFFFFF;
  --btn-ghost-fg: var(--ink); --btn-ghost-line: var(--line);
  --measure: 42rem;
  --measure-wide: 56rem;
}
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --paper:     #0A141D;
    --ink:       #E9EDF0;
    --ink-soft:  rgba(233, 237, 240, .72);
    --line:      rgba(233, 237, 240, .16);
    --panel:     rgba(233, 237, 240, .04);
    --e-gray:    #71828F;
    --accent-deep: #59C2FF; /* dark page ground -> the console accent applies */
    --link-dark: #AFC3D2;
    --btn-ghost-fg: var(--ink);
    --btn-bg: #AFC3D2; --btn-fg: var(--navy);
  }
}

html { background: var(--paper); }
body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px; line-height: 1.65; color: var(--ink); background: var(--paper);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
.wrap { width: 100%; max-width: var(--measure); margin-inline: auto; padding-inline: clamp(1.25rem, 5vw, 2rem); }

a {
  color: var(--ink); text-decoration: underline; text-decoration-color: var(--link-underline);
  text-underline-offset: 0.18em; text-decoration-thickness: 1px;
  transition: text-decoration-color .18s ease, color .18s ease;
}
a:hover { text-decoration-color: currentColor; }
@media (prefers-color-scheme: dark) {
  main a, .site-footer a { color: var(--link-dark); text-decoration-color: rgba(175,195,210,.45); }
}
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 2px; }
.term-band :focus-visible, .install :focus-visible { outline-color: var(--term-text); }

h1, h2 { font-weight: 600; letter-spacing: -0.012em; line-height: 1.2; }
h2 { font-size: clamp(1.45rem, 1rem + 1.9vw, 2rem); }
p { text-wrap: pretty; }
.eyebrow { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 0.9rem; }

kbd {
  font-family: ui-monospace, "Cascadia Code", "Cascadia Mono", Consolas, "SFMono-Regular", monospace;
  font-size: 0.82em; line-height: 1; padding: 0.28em 0.5em;
  border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 4px;
  background: var(--panel); white-space: nowrap;
}
code {
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace; font-size: 0.88em;
  padding: 0.1em 0.35em; background: var(--panel); border: 1px solid var(--line); border-radius: 4px;
}

/* language switch — shared between the landing band's top corner and the
   legal pages' sticky .langbar; both grounds are dark. */
.langbar { position: sticky; top: 0; z-index: 20; background: var(--navy); }
.langbar-inner {
  max-width: var(--measure-wide); margin-inline: auto;
  padding: 0.5rem clamp(1.25rem, 5vw, 2rem);
  display: flex; justify-content: flex-end; align-items: center; gap: 0.6rem;
}
.langbar-label { color: var(--hero-soft); font-size: 0.8rem; letter-spacing: 0.02em; }
.lang-toggle { display: inline-flex; border: 1px solid var(--hero-line); border-radius: 999px; overflow: hidden; }
.lang-toggle a {
  text-decoration: none; color: var(--hero-soft); font-size: 0.85rem; font-weight: 600;
  padding: 0.35em 0.95em; letter-spacing: 0.03em; transition: background-color .18s ease, color .18s ease;
}
.lang-toggle a[aria-current="page"] { background: var(--hero-ink); color: var(--navy); }
.lang-toggle a:not([aria-current="page"]):hover { background: rgba(255,255,255,.12); color: var(--hero-ink); }

.term-band { background: var(--term); color: var(--term-text); border-bottom: 1px solid var(--term-line); }
.band-inner {
  max-width: var(--measure-wide); margin-inline: auto;
  padding: 0.85rem clamp(1.25rem, 5vw, 2rem) clamp(2.5rem, 6vw, 3.5rem);
}
.band-top { display: flex; justify-content: flex-end; align-items: center; gap: 0.6rem; }

/* The app masthead as live text (console_ui.py: LOGO_MARK_A5 + WM, gap 4;
   58 columns). line-height MUST stay 1.0 — half-block art breaks apart
   otherwise. Two-tone: the mark glyph keeps the console accent, the wordmark
   letters sit in console off-white. No glow, no motion. */
.term-logo {
  font-family: ui-monospace, "Cascadia Mono", "Cascadia Code", Consolas, "DejaVu Sans Mono", monospace;
  font-size: clamp(8px, 2.55vw, 16px);
  line-height: 1;
  letter-spacing: 0;
  width: max-content; max-width: 100%;
  margin: clamp(2.4rem, 5vw, 3.4rem) auto 0;
  text-align: left;
  overflow: hidden;
  user-select: none;
}
.lg-mark { color: var(--accent); }
.lg-word { color: var(--term-text); }

.term-status {
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
  font-size: 0.78rem; letter-spacing: 0.04em;
  color: var(--term-dim); text-align: center;
  margin-top: 1.3rem;
}
.term-status span { white-space: nowrap; }
.term-status span:not(:last-child)::after { content: "·"; padding: 0 0.5em 0 0.75em; color: rgba(138, 154, 166, .55); }

.intro-hero { text-align: center; padding-block: clamp(2.75rem, 6vw, 4.25rem) clamp(1.5rem, 3vw, 2rem); }
.headline {
  font-size: clamp(1.5rem, 1.05rem + 2vw, 2.15rem); line-height: 1.2; letter-spacing: -0.014em;
  color: var(--ink); max-width: 36rem; margin-inline: auto;
}
.tagline {
  font-size: clamp(1.05rem, 0.95rem + 0.55vw, 1.25rem); line-height: 1.5; color: var(--ink-soft);
  max-width: 40rem; margin: 1.1rem auto 0;
}
.tagline strong { color: var(--ink); font-weight: 600; }
.subline { color: var(--ink-soft); margin: 0.85rem auto 0; max-width: 40rem; }
.benefits { font-size: 0.97rem; color: var(--ink-soft); margin: 1.35rem auto 0; max-width: 52rem; letter-spacing: 0.01em; }
.benefits span { white-space: nowrap; color: var(--ink); font-weight: 500; }
.benefits span:not(:last-child)::after { content: "·"; padding: 0 0.3em 0 0.6em; color: var(--ink-soft); font-weight: 400; }

.install {
  margin: clamp(2rem, 4.5vw, 2.75rem) auto 0; text-align: left;
  background: var(--term);
  border: 1px solid var(--term-line);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 16px 44px -22px rgba(14, 32, 46, .5), 0 2px 8px -3px rgba(14, 32, 46, .25);
}
.install-panel { display: flex; align-items: flex-start; gap: 0.9rem; padding: 0.95rem 0.95rem 0.95rem 1.15rem; }
.install-cmd {
  /* wraps instead of scrolling so the whole command stays visible */
  flex: 1 1 auto; min-width: 0; white-space: pre-wrap; word-break: break-word;
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
  font-size: 0.87rem; line-height: 1.55;
  background: none; border: none; padding: 0; border-radius: 0;
  color: var(--term-text);
}
.copy-btn {
  flex: 0 0 auto;
  font: inherit; font-size: 0.85rem; font-weight: 600; line-height: 1.2;
  color: var(--term-text); background: transparent;
  border: 1px solid #33475A; border-radius: 7px;
  padding: 0.55em 1em; cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.copy-btn:hover { background: rgba(222,231,237,.08); border-color: var(--term-dim); }
.copy-btn.copied { color: #9BE8A8; border-color: rgba(155,232,168,.6); }
/* the hero box as a three-step strip: 1 install, 2 connect a provider,
   3 dictate. Panels 2/3 ship `hidden` in the markup; the pages' noscript rule
   stacks all three when the script cannot run. The strip reaches past the
   hero's prose measure — narrower, the install command needs a third line —
   but never past the viewport and never below the measure on small screens;
   it is also where the get-started button jumps, hence the scroll margin. */
.install-tabs {
  --ip-w: max(100%, min(46rem, 100vw - 3rem));
  width: var(--ip-w);
  margin-inline: calc((100% - var(--ip-w)) / 2);
  scroll-margin-top: 2rem;
}
.ip-tabs { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--term-line); }
.ip-tab {
  font: inherit; font-size: 0.86rem; font-weight: 600; line-height: 1.3;
  color: var(--term-dim); background: transparent; border: 0;
  padding: 0.85em 0.5em 0.75em; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55em;
  box-shadow: inset 0 -2px 0 transparent;
  transition: color .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.ip-tab + .ip-tab { border-left: 1px solid var(--term-line); }
.ip-tab:hover { color: var(--term-text); background: rgba(222,231,237,.05); }
.ip-tab[aria-selected="true"] { color: var(--term-text); box-shadow: inset 0 -2px 0 var(--accent); }
.ip-tab:focus-visible { outline-offset: -3px; }
.ip-num {
  display: inline-grid; place-items: center; width: 1.6em; height: 1.6em; border-radius: 50%;
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: 0.8em; font-weight: 700;
  border: 1px solid currentColor;
}
.ip-tab[aria-selected="true"] .ip-num { background: var(--accent); border-color: var(--accent); color: var(--term); }
.ip-title {
  font-size: 1rem; font-weight: 700; line-height: 1.35;
  color: var(--term-text); padding: 1.05rem 1.15rem 0;
}
.ip-panel .install-panel { padding-top: 0.7rem; }
.ip-lead, .ip-list, .ip-more, .ip-flow, .ip-options { color: var(--term-text); font-size: 0.9rem; line-height: 1.55; padding-inline: 1.15rem; }
.ip-lead { margin-top: 0.6rem; }
.ip-list { list-style: none; margin: 1.05rem 0 0; padding-bottom: 1.25rem; display: grid; gap: 0.6rem; }
.ip-list li { position: relative; padding-left: 1.05rem; }
.ip-list li::before { content: "›"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.ip-panel a { color: var(--accent); text-decoration-color: rgba(89,194,255,.45); }
.ip-panel a:hover { text-decoration-color: currentColor; }
.ip-more { margin-top: 0.45rem; padding-bottom: 0.9rem; font-size: 0.84rem; text-align: right; }
.ip-update { color: var(--term-dim); margin-right: 1.5rem; }
.ip-panel kbd { color: var(--term-text); border-color: var(--term-line); background: rgba(222,231,237,.06); }
.ip-flow { list-style: none; margin: 1rem 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 0.55rem 0.55rem; }
.ip-flow li { display: inline-flex; align-items: center; gap: 0.55rem; }
.ip-flow li + li::before { content: "→"; color: var(--term-dim); }
.ip-flow .keys { font-size: inherit; }
.ip-flow-out { flex-basis: 100%; }
.ip-options { list-style: none; margin: 0.6rem 0 0; display: grid; gap: 0.45rem; }
.ip-options li {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 0.3rem 0.9rem;
  padding: 0.42rem 0.7rem 0.42rem 0.9rem; border: 1px solid var(--term-line); border-radius: 8px;
  background: rgba(222,231,237,.03); line-height: 1.45;
}
.ip-opt-head { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 700; }
.ip-panel .ip-opt-head a { color: var(--term-text); text-decoration-color: var(--term-line); }
.ip-panel .ip-opt-head a:hover { text-decoration-color: currentColor; }
.ip-tag {
  font-size: 0.68rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; line-height: 1.2;
  padding: 0.22em 0.55em; border-radius: 999px; border: 1px solid var(--term-dim); color: var(--term-dim);
}
.ip-tag-free { color: var(--term); background: var(--accent); border-color: var(--accent); }
.ip-panel .ip-opt-btn {
  font-size: 0.85rem; font-weight: 600; line-height: 1.2; white-space: nowrap; text-align: center; justify-self: stretch;
  color: var(--term-text); text-decoration: none;
  border: 1px solid #33475A; border-radius: 7px; padding: 0.45em 1em;
  transition: background-color .15s ease, border-color .15s ease;
}
.ip-panel .ip-opt-btn:hover { background: rgba(222,231,237,.08); border-color: var(--term-dim); }

.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; margin-top: clamp(1.75rem, 4vw, 2.4rem); }
.btn {
  display: inline-block; font-size: 0.95rem; font-weight: 600; line-height: 1.2;
  padding: 0.7em 1.25em; border-radius: 7px; text-decoration: none; border: 1px solid transparent;
  transition: transform .12s ease, background-color .18s ease, border-color .18s ease, color .18s ease;
}
.btn-primary { background: var(--btn-bg); color: var(--btn-fg); }
.btn-ghost { background: transparent; color: var(--btn-ghost-fg); border-color: var(--btn-ghost-line); }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary:hover { background: #16354a; }
.btn-ghost:hover { border-color: var(--ink); background: var(--panel); }
@media (prefers-color-scheme: dark) { .btn-primary:hover { background: #C4D6E2; } }
.get-started .actions { justify-content: flex-start; }

.section { padding-block: clamp(3rem, 7vw, 4.75rem); }
.prose { max-width: var(--measure); }
.prose h2 { margin-bottom: 1rem; }
.prose p { color: var(--ink-soft); }
.prose p + p { margin-top: 1rem; }
.prose p strong { color: var(--ink); font-weight: 600; }

.shot { padding-block: clamp(2.5rem, 6vw, 3.75rem); }
.shot .wrap { max-width: var(--measure-wide); }
.shot-frame {
  max-width: 23.25rem; margin-inline: auto;
  border: 1px solid var(--term-line); border-radius: 12px; overflow: hidden;
  box-shadow: 0 18px 50px -20px rgba(14,32,46,.45), 0 2px 8px -2px rgba(14,32,46,.2);
  background: var(--term);
}
@media (prefers-color-scheme: dark) { .shot-frame, .install { box-shadow: 0 18px 50px -20px rgba(0,0,0,.7); } }
.shot-frame img { width: 100%; height: auto; display: block; }
.shot-cap { color: var(--ink-soft); font-size: 0.93rem; margin-top: 1.1rem; max-width: 34rem; margin-inline: auto; line-height: 1.55; }
.shot-cap strong { color: var(--ink); font-weight: 600; }

.features-top { padding-block: clamp(2.75rem, 6vw, 4rem); }
.features-top .wrap { max-width: var(--measure-wide); }
.features-top .intro { max-width: var(--measure); margin-bottom: 2rem; }
.features-top h2 { margin-bottom: 0.75rem; }
.features-top .intro p { color: var(--ink-soft); }
.feat-group { margin-top: 2rem; }
.feat-group-title { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 1rem; }
.feat-grid { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.9rem 2rem; }
.feat-grid li { position: relative; padding-left: 1.7rem; line-height: 1.5; }
.feat-grid li::before {
  content: "✓"; position: absolute; left: 0; top: 0.05em;
  color: var(--accent-deep); font-weight: 700; font-size: 1rem;
}
.feat-grid b { color: var(--ink); font-weight: 600; }
.feat-grid span { color: var(--ink-soft); font-size: 0.95rem; }

.args { padding-block: clamp(2.5rem, 6vw, 4rem); }
.args .wrap { max-width: var(--measure-wide); }
.args-intro { max-width: var(--measure); margin-bottom: 2.5rem; }
.args-intro h2 { margin-bottom: 1rem; }
.args-intro p { color: var(--ink-soft); }
.arg-list { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.arg {
  background: var(--paper); padding: 1.6rem clamp(1.4rem, 3vw, 1.9rem) 1.75rem;
  display: grid; grid-template-columns: 2.75rem 1fr; gap: 0 1.1rem;
}
.arg-num {
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace; font-size: 0.78rem;
  letter-spacing: 0.08em; color: var(--accent-deep); padding-top: 0.35rem;
}
.arg h3 { grid-column: 2; font-size: 1.18rem; font-weight: 600; line-height: 1.3; letter-spacing: -0.01em; color: var(--ink); }
.arg-lead { grid-column: 2; color: var(--ink-soft); margin-top: 0.4rem; font-size: 0.98rem; }
.arg-evidence { grid-column: 2; list-style: none; padding: 0; margin-top: 1rem; display: grid; gap: 0.5rem; }
.arg-evidence li { position: relative; padding-left: 1.15rem; color: var(--ink-soft); font-size: 0.92rem; line-height: 1.55; }
.arg-evidence li::before { content: "→"; position: absolute; left: 0; color: var(--e-gray); }
.arg-evidence strong { color: var(--ink); font-weight: 600; }

.reliab .wrap { max-width: var(--measure-wide); }
.reliab-grid { list-style: none; padding: 0; margin-top: 2rem; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.reliab-grid li { background: var(--paper); padding: 1rem 1.25rem; font-size: 0.93rem; line-height: 1.5; color: var(--ink-soft); }
.reliab-grid strong { display: block; color: var(--ink); font-weight: 600; font-size: 0.96rem; margin-bottom: 0.15rem; }

.loop { padding-block: clamp(2.5rem, 6vw, 4rem); }
.loop .wrap { max-width: var(--measure-wide); }
.loop-title { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); text-align: center; margin-bottom: 1.75rem; }
.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 3vw, 1.75rem); }
.steps li { display: flex; flex-direction: column; gap: 0.75rem; padding: 1.4rem 1.4rem 1.5rem; background: var(--panel); border: 1px solid var(--line); border-radius: 10px; }
.keys { display: flex; flex-wrap: wrap; align-items: center; gap: 0.15rem; font-size: 0.95rem; }
.step-text { color: var(--ink-soft); font-size: 0.97rem; line-height: 1.55; }
.step-text strong { color: var(--ink); font-weight: 600; }
.loop-note { text-align: center; color: var(--ink-soft); font-size: 0.92rem; margin-top: 1.5rem; }
.loop-note strong { color: var(--ink); font-weight: 600; }

.figures { margin-top: 2rem; }
.figures > div { display: grid; grid-template-columns: 9.5rem 1fr; border-top: 1px solid var(--line); padding-block: 1.05rem 1.15rem; }
.figures dt { padding-right: 1.5rem; }
.fig-num { display: block; font-size: 1.55rem; font-weight: 600; letter-spacing: -0.015em; line-height: 1.15; color: var(--ink); font-variant-numeric: tabular-nums; }
.fig-unit { display: block; font-size: 0.8rem; color: var(--ink-soft); margin-top: 0.2rem; line-height: 1.4; text-wrap: balance; }
.figures dd { margin: 0; color: var(--ink-soft); font-size: 0.95rem; line-height: 1.55; }
.figures dd strong { color: var(--ink); font-weight: 600; }
.cost-note { font-size: 0.95rem; margin-top: 1.75rem; }

.audience-box { background: var(--panel); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.audience-box .wrap { max-width: var(--measure-wide); padding-block: clamp(2.75rem, 6vw, 4rem); }
.aud-for { margin-top: 1.75rem; }
.aud-for h3 { font-size: 1.02rem; font-weight: 600; color: var(--ink); margin-bottom: 0.75rem; }
.aud-for ul { list-style: none; padding: 0; columns: 2; column-gap: clamp(1.5rem, 4vw, 3rem); }
.aud-for li { padding-left: 1.3rem; position: relative; color: var(--ink-soft); font-size: 0.94rem; line-height: 1.5; break-inside: avoid; text-wrap: pretty; }
.aud-for li + li { margin-top: 0.5rem; }
/* Six items, split 3+3: the fourth opens column two, so it starts flush — both
   rules are undone below where the list falls back to one column. */
.aud-for li:nth-child(4) { break-before: column; margin-top: 0; }
.aud-for li::before { content: "✓"; position: absolute; left: 0; color: var(--accent-deep); font-weight: 700; }

.audience { font-size: 0.92rem; margin-top: 1.6rem; }

.site-footer { border-top: 1px solid var(--line); padding-block: clamp(2.5rem, 6vw, 3.5rem); }
.footer-inner { max-width: var(--measure-wide); text-align: center; margin-inline: auto; padding-inline: clamp(1.25rem, 5vw, 2rem); }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.35rem 1.15rem; font-size: 0.9rem; }
.footer-note { color: var(--ink-soft); font-size: 0.9rem; margin-top: 1.5rem; }
.mark path { fill: currentColor; }
.mark-footer { width: 64px; height: auto; margin: 1.75rem auto 0; color: var(--ink); opacity: 0.9; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } html { scroll-behavior: auto; } .btn:hover { transform: none; } }
@media (max-width: 640px) {
  .steps { grid-template-columns: 1fr; }
  .reliab-grid { grid-template-columns: 1fr; }
  .aud-for ul { columns: auto; }
  .aud-for li:nth-child(4) { margin-top: 0.5rem; }
  .feat-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .figures > div { grid-template-columns: 1fr; }
  .figures dt { display: flex; align-items: baseline; gap: 0.55rem; padding: 0 0 0.4rem; }
  .fig-num { font-size: 1.35rem; }
  .fig-unit { margin-top: 0; }
  .benefits span { display: block; }
  .benefits span:not(:last-child)::after { content: none; }
  .install-panel { flex-wrap: wrap; }
  .copy-btn { width: 100%; text-align: center; }
  .ip-tab { flex-direction: column; gap: 0.35em; font-size: 0.8rem; padding: 0.7em 0.35em 0.65em; }
  .ip-options li { grid-template-columns: 1fr; }
  .ip-opt-btn { text-align: center; }
  .arg { grid-template-columns: 1fr; }
  .arg-num { padding: 0 0 0.4rem; }
  .arg h3, .arg-lead, .arg-evidence { grid-column: 1; }
}

/* skip link — hidden until keyboard focus; z-index sits above the sticky
   .langbar (20) so the focused link is not covered by it. */
.skip-link {
  position: absolute;
  top: -100vh;
  left: 0;
  z-index: 30;
  background: #FFFFFF;
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.65rem 1.1rem;
  border-radius: 0 0 7px 0;
  text-decoration: none;
}
.skip-link:focus { top: 0; }

/* screen-reader-only text */
.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%);
  white-space: nowrap; border: 0;
}

.legal h1 {
  font-size: clamp(1.7rem, 1.2rem + 2.2vw, 2.4rem);
  margin-bottom: 1rem;
}
.legal h2 {
  margin-top: 3rem;
  margin-bottom: 1rem;
}
.legal h3 {
  font-size: 1.05rem; font-weight: 600; line-height: 1.4;
  letter-spacing: -0.01em; color: var(--ink);
  margin-top: 1.75rem; margin-bottom: 0.4rem;
}
.legal address { font-style: normal; line-height: 1.7; margin-block: 1rem; }
