/* talrix.de – one stylesheet, no build step. Tokens follow the Talrix portal ("Adlerblick"). */

@font-face { font-family: "Barlow Semi Condensed"; font-style: italic; font-weight: 600; font-display: swap; src: url("../fonts/barlow-semi-condensed-latin-600-italic.woff2") format("woff2"); }
@font-face { font-family: "Barlow Semi Condensed"; font-style: italic; font-weight: 700; font-display: swap; src: url("../fonts/barlow-semi-condensed-latin-700-italic.woff2") format("woff2"); }
@font-face { font-family: "Barlow Semi Condensed"; font-style: italic; font-weight: 800; font-display: swap; src: url("../fonts/barlow-semi-condensed-latin-800-italic.woff2") format("woff2"); }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/instrument-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/instrument-sans-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/instrument-sans-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/jetbrains-mono-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/jetbrains-mono-latin-500-normal.woff2") format("woff2"); }

/* ---------- Tokens ---------- */

:root {
  color-scheme: light;
  --bg: #f4f2ed;
  --bg-2: #faf9f6;
  --surface: #ffffff;
  --surface-2: #faf9f6;
  --sunken: #efece5;
  --line: #e4e0d7;
  --line-2: #d2cdc1;
  --text: #121317;
  --text-2: #4f4f59;
  --text-3: #5f5f69;
  --action: #1d4ed8;
  --action-hover: #1e3a8a;
  --action-ink: #ffffff;
  --live: #115e59;
  --live-soft: rgba(17, 94, 89, 0.12);
  --work: #6d28d9;
  --bad: #b91c1c;
  --bad-soft: rgba(185, 28, 28, 0.07);
  --warn: #c2410c;
  --warn-soft: rgba(194, 65, 12, 0.07);
  --off: #5f5f69;
  --glow: rgba(29, 78, 216, 0.09);
  --mark-bar: #1d4ed8;
  --mark-accent: #2dd4bf;
  --shadow: 0 1px 2px rgba(18, 19, 23, 0.06), 0 12px 32px -12px rgba(18, 19, 23, 0.18);

  --font-display: "Barlow Semi Condensed", "Arial Narrow", sans-serif;
  --font-text: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --wrap: 1120px;
  --gutter: clamp(16px, 4vw, 32px);
  --cut: 14px;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0a0b0d;
  --bg-2: #0d0e11;
  --surface: #121418;
  --surface-2: #171a1f;
  --sunken: #0e1013;
  --line: #1f2228;
  --line-2: #2d3139;
  --text: #eeeef0;
  --text-2: #a6a6b0;
  --text-3: #8d8d97;
  --action: #60a5fa;
  --action-hover: #bfdbfe;
  --action-ink: #172554;
  --live: #2dd4bf;
  --live-soft: rgba(45, 212, 191, 0.14);
  --work: #a78bfa;
  --bad: #f87171;
  --bad-soft: rgba(248, 113, 113, 0.08);
  --warn: #fb923c;
  --warn-soft: rgba(251, 146, 60, 0.07);
  --off: #8d8d97;
  --glow: rgba(96, 165, 250, 0.16);
  --mark-bar: #60a5fa;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 16px 40px -16px rgba(0, 0, 0, 0.7);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #0a0b0d;
    --bg-2: #0d0e11;
    --surface: #121418;
    --surface-2: #171a1f;
    --sunken: #0e1013;
    --line: #1f2228;
    --line-2: #2d3139;
    --text: #eeeef0;
    --text-2: #a6a6b0;
    --text-3: #8d8d97;
    --action: #60a5fa;
    --action-hover: #bfdbfe;
    --action-ink: #172554;
    --live: #2dd4bf;
    --live-soft: rgba(45, 212, 191, 0.14);
    --work: #a78bfa;
    --bad: #f87171;
    --bad-soft: rgba(248, 113, 113, 0.08);
    --warn: #fb923c;
    --warn-soft: rgba(251, 146, 60, 0.07);
    --off: #8d8d97;
    --glow: rgba(96, 165, 250, 0.16);
    --mark-bar: #60a5fa;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 16px 40px -16px rgba(0, 0, 0, 0.7);
  }
}

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-text);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }

a { color: inherit; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }

:focus-visible { outline: 2px solid var(--action); outline-offset: 3px; border-radius: 2px; }

h1, h2, h3 { margin: 0; font-weight: 600; line-height: 1.1; }
p { margin: 0; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.skip-link {
  position: absolute; left: 12px; top: -48px; z-index: 100;
  background: var(--action); color: var(--action-ink);
  padding: 10px 14px; font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.eyebrow {
  font-family: var(--font-mono); font-size: 11.5px; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-3);
}

.display {
  font-family: var(--font-display); font-style: italic; font-weight: 700;
  letter-spacing: -0.005em;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 28px; min-height: 64px; }

.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.brand svg { height: 24px; width: auto; }
.brand-name { font-family: var(--font-display); font-style: italic; font-weight: 800; font-size: 26px; line-height: 1; }

/* Matched on the symbol itself; each <use> instance resolves the variables from where it sits. */
#talrix-mark .bar { fill: var(--mark-bar); }
#talrix-mark .acc { fill: var(--mark-accent); }

.site-nav ul { display: flex; gap: 24px; list-style: none; margin: 0; padding: 0; }
.site-nav a { text-decoration: none; color: var(--text-2); font-size: 14.5px; font-weight: 500; padding: 8px 0; }
.site-nav a:hover { color: var(--text); text-decoration: underline; }

.theme-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 999px;
  border: 1px solid var(--line-2); background: transparent; color: var(--text);
  cursor: pointer;
}
.theme-toggle:hover { background: var(--surface); }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .moon { display: none; }
:root[data-theme="dark"] .theme-toggle .sun { display: none; }
:root[data-theme="dark"] .theme-toggle .moon { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .sun { display: none; }
  :root:not([data-theme="light"]) .theme-toggle .moon { display: block; }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 48px; padding: 12px 22px;
  font-family: var(--font-text); font-size: 15.5px; font-weight: 600; line-height: 1.2;
  text-decoration: none; cursor: pointer; border: 0;
}
.btn:hover { text-decoration: none; }

.btn-primary {
  background: var(--action); color: var(--action-ink);
  padding-right: 30px;
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%);
}
.btn-primary:hover { background: var(--action-hover); }
:root[data-theme="dark"] .btn-primary:hover { color: #172554; }
.btn-primary:focus-visible { outline-offset: 4px; clip-path: none; }

.btn-secondary { border: 1px solid var(--line-2); color: var(--text); background: transparent; }
.btn-secondary:hover { background: var(--surface); }

.btn svg { width: 18px; height: 18px; flex: none; }

/* ---------- Hero ---------- */

.hero {
  position: relative; overflow: hidden;
  padding: clamp(56px, 10vw, 112px) 0 clamp(48px, 8vw, 88px);
  background: radial-gradient(900px 420px at 88% -10%, var(--glow), transparent 70%);
}
.live-pill { display: inline-flex; align-items: center; gap: 10px; }
.live-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--live);
  box-shadow: 0 0 0 4px var(--live-soft);
}
.hero h1 {
  margin-top: 18px;
  font-size: clamp(42px, 7.2vw, 88px); line-height: 0.98;
  max-width: 22ch;
}
.hero h1 em { color: var(--action); font-style: italic; }
.hero .lead { margin-top: 24px; max-width: 58ch; font-size: clamp(17px, 2vw, 19px); color: var(--text-2); }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero .note { margin-top: 16px; font-size: 14px; color: var(--text-3); }

.hero-mark {
  position: absolute; right: -90px; bottom: -110px; width: min(40vw, 520px);
  opacity: 0.045; pointer-events: none;
}
.hero-mark { --mark-bar: var(--text); --mark-accent: var(--text); }

/* ---------- Sections ---------- */

.section { padding: clamp(64px, 9vw, 112px) 0; border-top: 1px solid var(--line); }
.section-head { max-width: 62ch; margin-bottom: clamp(32px, 5vw, 52px); }
.section-head h2 { margin-top: 12px; font-size: clamp(32px, 4.6vw, 52px); }
.section-head p { margin-top: 16px; color: var(--text-2); font-size: 17px; }

.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pillar {
  background: var(--surface); border: 1px solid var(--line);
  padding: 28px 26px 30px;
}
.pillar .num { font-family: var(--font-mono); font-size: 12px; color: var(--text-3); }
.pillar h3 { margin-top: 14px; font-family: var(--font-display); font-style: italic; font-weight: 700; font-size: 27px; }
.pillar p { margin-top: 10px; color: var(--text-2); }

/* ---------- Product views (illustrations) ---------- */

.showcase { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 24px; align-items: start; }
.showcase figure { margin: 0; }
.showcase figcaption { margin-top: 14px; font-size: 14px; color: var(--text-3); }
.showcase figcaption strong { color: var(--text); font-weight: 600; }

.window {
  background: var(--bg-2); border: 1px solid var(--line-2); box-shadow: var(--shadow);
  font-size: 13px; overflow: hidden;
}
.window-bar {
  display: flex; align-items: center; gap: 18px; padding: 10px 16px;
  border-bottom: 1px solid var(--line); background: var(--surface);
}
.window-bar .wb-brand { display: flex; align-items: center; gap: 7px; font-family: var(--font-display); font-style: italic; font-weight: 800; font-size: 17px; }
.window-bar .wb-brand svg { height: 15px; width: auto; }
.window-bar .wb-tabs { display: flex; gap: 14px; color: var(--text-3); font-size: 12.5px; }
.window-bar .wb-tabs b { color: var(--text); font-weight: 600; box-shadow: inset 0 -2px 0 var(--action); padding-bottom: 3px; }
.window-body { padding: 18px; display: grid; gap: 12px; }
.window-title { font-family: var(--font-display); font-style: italic; font-weight: 700; font-size: 22px; }

.strip {
  display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: center;
  background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--off);
  padding: 10px 12px;
}
.strip.ok { border-left-color: var(--live); }
.strip.work { border-left-color: var(--work); }
.strip .s-name { font-weight: 600; font-size: 13.5px; }
.strip .s-meta { grid-column: 1; font-family: var(--font-mono); font-size: 11.5px; color: var(--text-3); }
.strip .s-state { grid-row: 1 / span 2; grid-column: 2; font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-3); display: flex; align-items: center; gap: 7px; }
.strip.ok .s-state { color: var(--live); }
.strip.work .s-state { color: var(--work); }
.strip .s-state i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }

.meters { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.meter { background: var(--surface); border: 1px solid var(--line); padding: 10px 12px; }
.meter .m-label { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); }
.meter .m-value { margin-top: 2px; font-family: var(--font-display); font-style: italic; font-weight: 700; font-size: 22px; }
.meter .m-track { margin-top: 6px; height: 4px; background: var(--sunken); }
.meter .m-track span { display: block; height: 100%; background: var(--live); }
.meter .m-track .w18 { width: 18%; }
.meter .m-track .w23 { width: 23%; }
.meter .m-track .w51 { width: 51%; }

/* Admin portal: rail, top bar, "offene Punkte" */
.window-admin { display: grid; grid-template-columns: 148px 1fr; }
.rail { border-right: 1px solid var(--line); background: var(--surface); padding: 14px 10px; font-size: 12.5px; }
.rail .wb-brand { display: flex; align-items: center; gap: 7px; font-family: var(--font-display); font-style: italic; font-weight: 800; font-size: 17px; padding: 0 6px; }
.rail .wb-brand svg { height: 15px; width: auto; }
.rail-sub { display: block; padding: 2px 6px 0 28px; font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3); }
.rail ul { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 2px; }
.rail li { display: flex; align-items: center; justify-content: space-between; padding: 5px 8px; color: var(--text-2); }
.rail li.on { background: var(--sunken); color: var(--text); font-weight: 600; box-shadow: inset 2px 0 0 var(--action); }
.rail li em { font-style: normal; font-family: var(--font-mono); font-size: 10.5px; color: var(--text-3); border: 1px solid var(--line-2); border-radius: 999px; padding: 0 6px; }
.rail li.on em { color: var(--bad); border-color: currentColor; }
.rail .rail-group { margin-top: 8px; font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3); }
.admin-main { min-width: 0; }
.admin-top { display: flex; align-items: center; gap: 16px; padding: 9px 16px; border-bottom: 1px solid var(--line); background: var(--surface); font-size: 12.5px; color: var(--text-2); }
.admin-top .search { margin-left: auto; display: flex; align-items: center; gap: 10px; border: 1px solid var(--line-2); padding: 3px 6px 3px 10px; color: var(--text-3); font-size: 11.5px; white-space: nowrap; }
.admin-top kbd { font-family: var(--font-mono); font-size: 10px; border: 1px solid var(--line-2); padding: 0 4px; }
.a-eyebrow { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3); }
.a-headline { margin-top: 4px; font-family: var(--font-display); font-style: italic; font-weight: 700; font-size: 30px; line-height: 1.05; }
.a-sub { margin-top: 2px; color: var(--text-2); font-size: 12.5px; }
.kpi-strip { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--surface); border: 1px solid var(--line); }
.kpi-strip > div { padding: 10px 12px; }
.kpi-strip > div + div { border-left: 1px solid var(--line); }
.kpi-strip .k-label { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); white-space: nowrap; }
.kpi-strip .k-value { font-family: var(--font-display); font-style: italic; font-weight: 700; font-size: 24px; line-height: 1.15; }
.kpi-strip .k-value.bad { color: var(--bad); }
.kpi-strip .k-sub { font-size: 11px; color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.item {
  display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; align-items: center;
  border: 1px solid var(--line); border-left: 3px solid var(--off); background: var(--surface); padding: 9px 12px;
}
.item.bad { border-left-color: var(--bad); background: var(--bad-soft); }
.item.warn { border-left-color: var(--warn); }
.item .i-head { display: flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 10.5px; color: var(--text-3); }
.item .pill { font-family: var(--font-text); font-size: 10.5px; font-weight: 600; padding: 0 7px; border-radius: 999px; }
.item.bad .pill { color: var(--bad); background: var(--bad-soft); box-shadow: inset 0 0 0 1px currentColor; }
.item.warn .pill { color: var(--warn); background: var(--warn-soft); box-shadow: inset 0 0 0 1px currentColor; }
.item b { grid-column: 1; font-size: 13px; font-weight: 600; }
.item .i-meta { grid-column: 1; font-family: var(--font-mono); font-size: 11px; color: var(--text-3); }
.item .i-btn { grid-column: 2; grid-row: 1 / span 3; border: 1px solid var(--line-2); background: var(--bg-2); padding: 5px 12px; font-size: 12px; font-weight: 600; }

/* ---------- Modules ---------- */

.modules { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; list-style: none; margin: 0; padding: 0; }
.module {
  display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--line-2);
  padding: 24px 24px 22px;
}
.module[data-status="beta"] { border-left-color: var(--live); }
.module[data-status="dev"] { border-left-color: var(--work); }
.module .m-kind { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3); }
.module h3 { margin-top: 8px; font-family: var(--font-display); font-style: italic; font-weight: 700; font-size: 28px; }
.module .m-text { margin-top: 10px; color: var(--text-2); flex: 1; }
.status {
  display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
  margin-top: 20px; padding: 4px 10px 4px 9px;
  font-family: var(--font-mono); font-size: 11.5px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase;
  border: 1px solid var(--line-2); color: var(--text-3);
}
.status i { width: 7px; height: 7px; border-radius: 50%; border: 1.5px solid currentColor; }
.module[data-status="beta"] .status { color: var(--live); border-color: currentColor; }
.module[data-status="beta"] .status i { background: currentColor; }
.module[data-status="dev"] .status { color: var(--work); border-color: currentColor; }
.module[data-status="dev"] .status i { background: linear-gradient(90deg, currentColor 50%, transparent 50%); }

.legend { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 22px; font-size: 14px; color: var(--text-3); list-style: none; padding: 0; }
.legend b { color: var(--text); font-weight: 600; }

/* ---------- Operations grid ---------- */

.ops { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.op { padding: 26px 26px 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.op h3 { font-size: 18px; font-weight: 600; }
.op p { margin-top: 8px; color: var(--text-2); font-size: 15.5px; }
.op svg { width: 22px; height: 22px; margin-bottom: 14px; color: var(--action); }

/* ---------- Switch / Beta ---------- */

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 72px); align-items: start; }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; gap: 12px; }
.steps li {
  counter-increment: step; position: relative;
  background: var(--surface); border: 1px solid var(--line); padding: 16px 18px 16px 58px;
}
.steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute; left: 18px; top: 16px;
  font-family: var(--font-mono); font-size: 13px; color: var(--text-3);
}
.steps b { display: block; font-weight: 600; }
.steps span { color: var(--text-2); font-size: 15px; }

.beta-card {
  position: relative; background: var(--surface); border: 1px solid var(--line-2);
  padding: clamp(28px, 5vw, 56px);
  clip-path: polygon(0 0, calc(100% - 36px) 0, 100% 36px, 100% 100%, 0 100%);
  background-image: radial-gradient(700px 300px at 100% 0%, var(--glow), transparent 70%);
}
.beta-card h2 { margin-top: 12px; font-size: clamp(34px, 5vw, 58px); }
.beta-card .beta-text { margin-top: 16px; max-width: 60ch; color: var(--text-2); font-size: 17px; }
.beta-card .actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 30px; }
.beta-card .mail { font-family: var(--font-mono); font-size: 14.5px; color: var(--text-2); }

/* ---------- Footer ---------- */

.site-footer { border-top: 1px solid var(--line); padding: 36px 0 44px; font-size: 14.5px; color: var(--text-3); }
.site-footer .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; }
.site-footer .brand { margin-right: auto; color: var(--text); }
.site-footer .brand svg { height: 20px; }
.site-footer .brand-name { font-size: 22px; }
.site-footer ul { display: flex; flex-wrap: wrap; gap: 8px 24px; list-style: none; margin: 0; padding: 0; }
.site-footer a { color: var(--text-2); }
.site-footer a:hover { color: var(--text); }

/* ---------- Legal pages ---------- */

.legal { padding: clamp(48px, 8vw, 88px) 0 clamp(64px, 9vw, 104px); }
.legal .wrap { max-width: 780px; }
.legal h1 { margin-top: 12px; font-size: clamp(40px, 6vw, 64px); }
.legal h2 { margin-top: 44px; font-size: 21px; font-weight: 600; }
.legal h3 { margin-top: 26px; font-size: 17px; font-weight: 600; }
.legal p, .legal ul, .legal address { margin-top: 12px; color: var(--text-2); }
.legal address { font-style: normal; }
.legal ul { padding-left: 20px; }
.legal li + li { margin-top: 4px; }
.legal .back { display: inline-flex; gap: 8px; align-items: center; color: var(--text-2); font-size: 15px; }
.legal .hint { color: var(--text-3); font-size: 14.5px; }

/* ---------- Responsive ---------- */

@media (max-width: 960px) {
  .showcase, .split { grid-template-columns: 1fr; }
  .modules, .ops { grid-template-columns: repeat(2, 1fr); }
  .pillars { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .site-nav { display: none; }
  .site-header .wrap { gap: 12px; }
}

@media (max-width: 600px) {
  .modules, .ops { grid-template-columns: 1fr; }
  .meters { grid-template-columns: 1fr 1fr; }
  .meters .meter:last-child { display: none; }
  .hero .actions .btn { width: 100%; justify-content: center; }
  .window-bar .wb-tabs span:nth-child(n + 3) { display: none; }
  .window-admin { grid-template-columns: 1fr; }
  .window-admin .rail { display: none; }
  .admin-top .search { display: none; }
  .kpi-strip { grid-template-columns: 1fr 1fr; }
  .kpi-strip > div:nth-child(3) { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
