@font-face {
  font-family: "Literata";
  src: url("fonts/Literata-Variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
}
@font-face {
  font-family: "Literata";
  src: url("fonts/Literata-Italic-Variable.ttf") format("truetype");
  font-style: italic;
  font-weight: 200 900;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("fonts/Inter-Variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --paper: #fbfbfc;
  --surface: #ffffff;
  --surface-2: #f7f7f9;
  --ink: #0a0a0b;
  --text: #26262b;
  --muted: #6a6a73;
  --faint: #6f6f78;
  --line: #e6e6ea;
  --line-2: #d2d2d9;
  --accent: #1b4dff;
  --accent-ink: #1236c4;
  --accent-soft: #edf1ff;
  --accent-light: #9db0ff;
  --ok: #0c7a4f;
  --ok-soft: #eaf6f0;
  --warn: #8a5a00;
  --font-display: "Literata", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, "Liberation Mono", monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 32px; }
body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.62;
  font-feature-settings: "kern", "liga", "cv11";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .25em; }
svg { display: block; max-width: 100%; }
h1, h2, h3, p, dl, dd, ol, ul { margin-top: 0; }
h1, h2, h3 { color: var(--ink); }
h1, h2 { font-family: var(--font-display); font-weight: 500; }
h2 { margin-bottom: 22px; font-size: clamp(38px, 4.4vw, 60px); letter-spacing: -.035em; line-height: 1.06; }
h3 { font-size: 17px; font-weight: 600; }
[hidden] { display: none !important; }
.shell { width: min(1240px, calc(100% - 96px)); margin-inline: auto; }
.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 12px 18px;
  transform: translateY(-160%);
  border-radius: 2px;
  background: var(--ink);
  color: var(--surface);
  font-size: 14px;
}
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
button:disabled { cursor: not-allowed; opacity: .4; }

.site-header { padding: 22px 0; border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.wordmark { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); font-size: 11.5px; font-weight: 600; letter-spacing: .1em; text-decoration: none; text-transform: uppercase; }
.wordmark svg { width: 26px; height: 26px; flex: 0 0 auto; }
.main-nav { display: flex; align-items: center; gap: 30px; font-size: 13.5px; }
.main-nav a { color: var(--muted); text-decoration: none; }
.main-nav a:hover { color: var(--ink); }
.main-nav .nav-start { color: var(--accent-ink); }
.main-nav .nav-start span { margin-left: 6px; }

.hero { padding: 84px 0 0; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(420px, 560px); gap: 64px; align-items: center; }
.eyebrow { display: flex; align-items: center; gap: 14px; margin-bottom: 34px; color: var(--muted); font-size: 12px; font-weight: 500; letter-spacing: .13em; text-transform: uppercase; }
.eyebrow .rule { width: 34px; height: 2px; background: var(--accent); }
.hero h1 { margin-bottom: 32px; font-size: clamp(64px, 7.6vw, 116px); letter-spacing: -.05em; line-height: .95; }
.hero h1 em { color: var(--accent); font-style: normal; }
.hero-lead { max-width: 58ch; margin-bottom: 38px; color: var(--text); font-size: 20px; line-height: 1.6; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 28px; }

.contour-figure { margin: 0; }
.contour-figure svg { width: 100%; height: auto; overflow: visible; }
.fig-grid { fill: none; stroke: var(--line); stroke-width: 1; }
.fig-grid-dash { stroke-dasharray: 2 7; }
#figTickMajor line { stroke: var(--line-2); }
#figTickMinor line { stroke: var(--line); }
.fig-loop-base { fill: none; stroke: var(--line-2); stroke-width: 1.5; }
.fig-loop-arc { fill: none; stroke: var(--accent); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 12 88; animation: fig-dash 18s linear infinite; }
.fig-agent {
  fill: url(#agentGradient);
  filter: url(#agentGlow);
}
@keyframes fig-dash { to { stroke-dashoffset: -100; } }
.fig-station rect { fill: var(--surface); stroke: var(--ink); stroke-width: 2; }
.fig-station.is-agent rect { fill: var(--accent); stroke: var(--accent); }
.fig-station.is-active rect { fill: var(--accent); stroke: var(--accent); }
.fig-station.is-done rect { fill: var(--ink); stroke: var(--ink); }
.fig-label { fill: var(--ink); font-family: var(--font-sans); font-size: 11px; font-weight: 600; letter-spacing: .13em; }
.fig-sub { fill: var(--muted); font-family: var(--font-sans); font-size: 11px; }
.fig-center line { stroke: var(--line-strong); }
.fig-center-text { fill: var(--ink); font-family: var(--font-display); font-size: 30px; font-style: italic; text-anchor: middle; }
.fig-center-caption { fill: var(--muted); font-family: var(--font-sans); font-size: 10px; letter-spacing: .16em; text-anchor: middle; text-transform: uppercase; }
.contour-figure figcaption { max-width: 52ch; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13.5px; line-height: 1.6; }

.hero-strip { display: flex; align-items: center; justify-content: space-between; gap: 40px; margin-top: 76px; padding: 26px 0; border-top: 1px solid var(--line); }
.hero-strip p { margin: 0; color: var(--muted); font-family: var(--font-display); font-size: 21px; font-style: italic; }
.hero-strip .hero-strip-strong { color: var(--ink); }
.spine { display: flex; gap: 32px; margin: 0; padding: 0; list-style: none; }
.spine li { display: flex; align-items: center; gap: 11px; color: var(--ink); font-size: 12px; font-weight: 500; letter-spacing: .13em; text-transform: uppercase; }
.spine-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

.section { padding: 96px 0; border-top: 1px solid var(--line); }
.section-head { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 64px; }
.section-label { display: flex; align-items: baseline; gap: 10px; margin: 0; color: var(--muted); font-size: 12px; font-weight: 500; letter-spacing: .13em; text-transform: uppercase; }
.label-index { color: var(--accent); font-family: var(--font-mono); font-size: 12px; letter-spacing: 0; }
.section-intro { max-width: 62ch; margin-bottom: 48px; color: var(--muted); font-size: 18px; }

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 2px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  text-decoration: none;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}
.button-solid { border-color: var(--ink); background: var(--ink); color: var(--surface); }
.button-solid:hover { border-color: var(--accent); background: var(--accent); }
.button-ghost { border-color: var(--line-2); background: transparent; color: var(--ink); }
.button-ghost:hover:not(:disabled) { border-color: var(--ink); }
.button-accent { border-color: var(--accent); background: var(--accent); color: #fff; }
.button-accent:hover { border-color: #3c63ff; background: #3c63ff; }
.linklike { padding: 6px 0; border: 0; background: none; color: var(--accent-ink); cursor: pointer; font-size: 14px; font-weight: 500; text-decoration: underline; text-underline-offset: 4px; }
.linklike:hover { color: var(--ink); }

.console { overflow: hidden; border: 1px solid var(--line-2); border-radius: 2px; background: var(--surface); }
.console-bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 15px 26px; border-bottom: 1px solid var(--line); }
.pane-label { margin: 0; color: var(--faint); font-size: 11px; font-weight: 500; letter-spacing: .13em; text-transform: uppercase; }
.console-status { color: var(--accent-ink); font-family: var(--font-mono); font-size: 12.5px; }
.progress { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; padding: 0; border-bottom: 1px solid var(--line); background: var(--surface-2); list-style: none; }
.progress li { display: flex; align-items: center; gap: 11px; padding: 15px 24px; color: var(--muted); font-size: 13px; }
.progress li + li { border-left: 1px solid var(--line); }
.progress .dot { width: 8px; height: 8px; flex: 0 0 auto; border: 1px solid var(--line-2); border-radius: 50%; background: var(--surface); }
.progress li.is-done { color: var(--ink); }
.progress li.is-done .dot { border-color: var(--accent); background: var(--accent); }
.progress li.is-current { color: var(--ink); font-weight: 600; }
.progress li.is-current .dot { border-color: var(--accent); background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.console-body { display: grid; grid-template-columns: 1fr 1fr; }
.console-pane { padding: 36px 34px 38px; }
.console-pane + .console-pane { border-left: 1px solid var(--line); }
.sample { margin: 20px 0 16px; color: var(--ink); font-family: var(--font-display); font-size: 23px; line-height: 1.5; }
.pane-note { margin-bottom: 26px; color: var(--muted); font-size: 13.5px; }
.empty { margin: 0; padding: 24px 0 30px; color: var(--muted); font-family: var(--font-display); font-size: 20px; font-style: italic; line-height: 1.5; }
.fields { margin: 0 0 22px; }
.fields > div { display: grid; grid-template-columns: 130px 1fr; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.fields dt { color: var(--muted); }
.fields dd { margin: 0; color: var(--ink); }
.fields dd span { color: var(--muted); }
.fields .unknown dd { color: var(--warn); }
.check { display: inline-flex; align-items: center; gap: 12px; padding: 11px 15px; border: 1px solid var(--line-2); border-radius: 2px; background: var(--surface-2); color: var(--ink); cursor: pointer; font-size: 14px; }
.check input { width: 18px; height: 18px; margin: 0; accent-color: var(--ok); }
.console-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; margin-top: 24px; }
.console-log { display: grid; grid-template-columns: 130px 1fr; gap: 24px; padding: 18px 34px; border-top: 1px solid var(--line); background: var(--surface-2); }
#demo-log { margin: 0; padding: 0; color: var(--muted); font-family: var(--font-mono); font-size: 12.5px; list-style: none; }
#demo-log li + li { margin-top: 7px; }
#demo-log li::before { content: "→ "; color: var(--faint); }
.disclaimer { max-width: 76ch; margin: 22px 0 0; color: var(--muted); font-size: 13px; line-height: 1.7; }

.chain { display: grid; grid-template-columns: repeat(5, 1fr); margin: 0 0 60px; padding: 0; border-top: 1px solid var(--line); list-style: none; }
.chain li { display: flex; flex-direction: column; gap: 12px; padding: 24px 22px 26px 0; border-right: 1px solid var(--line); }
.chain li:last-child { border-right: 0; }
.chain-index { color: var(--accent); font-family: var(--font-mono); font-size: 11.5px; }
.chain-name { color: var(--ink); font-size: 15px; font-weight: 500; }
.principles { margin: 0; padding: 0; border-top: 1px solid var(--line); list-style: none; }
.principles li { display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 24px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.principles h3 { margin: 0 0 7px; }
.principles p { max-width: 64ch; margin: 0; color: var(--muted); font-size: 15px; }
.principle-index { padding-top: 5px; color: var(--faint); font-family: var(--font-mono); font-size: 11.5px; }

.measure-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.measure-item { padding: 28px 30px 32px 0; border-right: 1px solid var(--line); }
.measure-item + .measure-item { padding-left: 30px; }
.measure-item:last-child { border-right: 0; }
.measure-word { display: block; margin-bottom: 12px; color: var(--ink); font-family: var(--font-display); font-size: 26px; }
.measure-item p { max-width: 38ch; margin: 0; color: var(--muted); font-size: 15px; }
.measure-stop { margin: 46px 0 0; color: var(--accent-ink); font-family: var(--font-display); font-size: 22px; font-style: italic; }

.brief { border: 1px solid var(--line-2); border-radius: 2px; background: var(--surface); }
.brief summary { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 34px 36px; cursor: pointer; list-style: none; }
.brief summary::-webkit-details-marker { display: none; }
.brief-title { color: var(--ink); font-family: var(--font-display); font-size: clamp(24px, 2.6vw, 32px); letter-spacing: -.02em; }
.brief summary small { display: block; margin-bottom: 12px; color: var(--muted); font-family: var(--font-sans); font-size: 11px; font-weight: 500; letter-spacing: .13em; text-transform: uppercase; }
.brief-action { display: inline-flex; align-items: center; gap: 14px; color: var(--accent-ink); font-size: 13.5px; font-weight: 500; }
.plus { display: inline-flex; width: 30px; height: 30px; align-items: center; justify-content: center; border: 1px solid var(--line-2); border-radius: 50%; color: var(--ink); font-size: 17px; transition: transform .2s ease, border-color .2s ease, color .2s ease; }
.brief[open] .plus { border-color: var(--accent); color: var(--accent); transform: rotate(45deg); }
.brief[open] summary { border-bottom: 1px solid var(--line); }
.brief-body { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; padding: 44px 36px 48px; }
.brief-copy h3 { margin: 0 0 16px; font-family: var(--font-display); font-size: 34px; font-weight: 500; letter-spacing: -.02em; line-height: 1.15; }
.brief-copy p { max-width: 46ch; margin: 0; color: var(--muted); font-size: 15px; }
.brief-note { margin-top: 24px !important; padding-left: 16px; border-left: 2px solid var(--accent); font-size: 13px !important; }
.form-row { margin-bottom: 18px; }
.form-row label { display: block; margin-bottom: 8px; color: var(--ink); font-size: 13px; font-weight: 500; }
.form-row input, .form-row textarea, .form-row select {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--line-2);
  border-radius: 2px;
  background: var(--surface);
  color: var(--text);
  font-size: 15px;
  transition: border-color .16s ease, box-shadow .16s ease;
}
.form-row textarea { min-height: 96px; resize: vertical; }
.form-row input::placeholder, .form-row textarea::placeholder { color: var(--faint); }
.form-row input:focus, .form-row textarea:focus, .form-row select:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px var(--accent-soft); }
.brief-submit { margin-top: 8px; }
.brief-output { padding: 32px 36px 38px; border-top: 1px solid var(--line); }
.brief-output-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; margin-bottom: 18px; }
.brief-output-heading h3 { margin: 0; font-size: 15px; }
.brief-output-heading p { margin: 0; color: var(--muted); font-size: 13px; }
#brief-output { width: 100%; padding: 18px; border: 1px solid var(--line-2); border-radius: 2px; background: var(--surface-2); color: var(--text); font-family: var(--font-mono); font-size: 13px; line-height: 1.7; resize: vertical; }
.brief-output-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; margin-top: 20px; }
.copy-status { color: var(--muted); font-size: 13px; }

.section-partners { background: var(--ink); border-top: 0; }
.section-partners .section-label { color: var(--accent-light); }
.section-partners .label-index { color: var(--accent-light); }
.section-partners h2 { color: #fff; }
.section-partners h2 em { color: var(--accent-light); font-style: normal; }
.section-partners .partner-row > p { color: #b6bac4; }
.section-partners .chain-inline { color: #fff; }
.section-partners .chain-inline span { color: var(--accent-light); }

.site-footer { padding: 56px 0 32px; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: start; }
.footer-brand p { margin: 16px 0 0; color: var(--muted); font-family: var(--font-display); font-size: 16px; font-style: italic; line-height: 1.5; }
.footer-nav { display: flex; flex-direction: column; gap: 11px; font-size: 14px; }
.footer-nav a { color: var(--muted); text-decoration: none; }
.footer-nav a:hover { color: var(--accent-ink); }
.footer-legal { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 20px; margin: 40px 0 0; padding-top: 22px; border-top: 1px solid var(--line); color: var(--faint); font-size: 12px; }
.card-teaser { grid-column: 1 / -1; margin-top: 44px; padding-top: 34px; border-top: 1px solid var(--line); }
.card-teaser-link { display: flex; align-items: center; gap: 26px; color: inherit; text-decoration: none; }
.mini-card { position: relative; width: 176px; height: 98px; flex: 0 0 auto; overflow: hidden; border-radius: 3px; box-shadow: 0 10px 22px rgba(10, 10, 11, .16); }
.mini-card-front { background: #07070a; }
.mini-card-back { border: 1px solid var(--line); background: var(--surface); }
.mini-tree { position: absolute; right: -2px; bottom: -14px; width: 98px; height: auto; }
.mini-emblem { position: absolute; top: 8px; left: 52px; width: 72px; height: auto; }
.mini-en-name { position: absolute; top: 9px; left: 11px; color: #fff; font-size: 7.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.mini-qr-main { position: absolute; top: 22px; left: 50%; width: 34px; height: 34px; transform: translateX(-50%); }
@font-face {
  font-family: "Unbounded";
  src: url("fonts/Unbounded-Variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
}
.mini-name-ru { position: absolute; top: 12px; right: 0; left: 0; color: var(--ink); font-family: "Unbounded", sans-serif; font-size: 8px; font-weight: 400; letter-spacing: -.02em; text-align: center; }
.mini-card-front .mini-name-ru { color: #ffffff; }
.mini-qr-back { position: absolute; top: 38px; left: 50%; width: 32px; height: 32px; transform: translateX(-50%); }
.card-teaser-caption { max-width: 46ch; color: var(--muted); font-size: 13.5px; line-height: 1.6; }
.card-teaser-caption span { margin-left: 8px; color: var(--accent-ink); }
.card-teaser-link:hover .card-teaser-caption { color: var(--text); }

@media (max-width: 1160px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(360px, 470px); gap: 48px; }
  .hero h1 { font-size: clamp(60px, 6.8vw, 92px); }
}

@media (max-width: 1020px) {
  .hero-grid { grid-template-columns: 1fr; gap: 52px; }
  .hero-main { max-width: 760px; }
  .contour-figure { max-width: 520px; margin-inline: auto; }
  .hero-strip { align-items: flex-start; flex-direction: column; gap: 18px; }
  .section-head { grid-template-columns: 1fr; gap: 26px; }
  .section-intro { margin-bottom: 40px; }
  .chain { grid-template-columns: repeat(3, 1fr); }
  .chain li:nth-child(3) { border-right: 0; }
  .chain li:nth-child(n+4) { border-top: 1px solid var(--line); }
}

@media (max-width: 860px) {
  .shell { width: calc(100% - 48px); }
  .section { padding: 72px 0; }
  .console-body { grid-template-columns: 1fr; }
  .console-pane + .console-pane { border-top: 1px solid var(--line); border-left: 0; }
  .progress { grid-template-columns: repeat(2, 1fr); }
  .progress li:nth-child(3) { border-left: 0; }
  .progress li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .console-log { grid-template-columns: 1fr; gap: 8px; }
  .chain { grid-template-columns: repeat(2, 1fr); }
  .chain li { border-right: 0; border-bottom: 1px solid var(--line); }
  .chain li:nth-child(even) { padding-left: 22px; border-left: 1px solid var(--line); }
  .chain li:nth-child(odd) { padding-right: 22px; }
  .chain li:last-child { border-bottom: 0; }
  .measure-grid { grid-template-columns: 1fr; }
  .measure-item { padding: 24px 0 26px; border-right: 0; border-bottom: 1px solid var(--line); }
  .measure-item + .measure-item { padding-left: 0; }
  .measure-item:last-child { border-bottom: 0; }
  .partner-row { grid-template-columns: 1fr; }
  .partner-row .button { grid-column: 1; grid-row: auto; justify-self: start; }
  .brief-body { grid-template-columns: 1fr; gap: 34px; }
  .footer-grid { grid-template-columns: 1fr; }
  .spine { flex-wrap: wrap; gap: 18px 26px; }
}

@media (max-width: 620px) {
  .shell { width: calc(100% - 40px); }
  .site-header { padding: 18px 0; }
  .wordmark { font-size: 10.5px; letter-spacing: .08em; }
  .main-nav { gap: 18px; font-size: 12.5px; }
  .main-nav a:nth-child(2) { display: none; }
  .hero { padding-top: 54px; }
  .hero h1 { margin-bottom: 26px; font-size: clamp(50px, 14.5vw, 70px); }
  .hero-lead { font-size: 18px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 20px; }
  .hero-actions .button { width: 100%; justify-content: space-between; }
  .hero-strip { margin-top: 52px; }
  .hero-strip p { font-size: 19px; }
  .contour-figure { max-width: 420px; }
  .fig-label { font-size: 13px; }
  .fig-sub { font-size: 12.5px; }
  .fig-center-text { font-size: 34px; }
  .fig-center-caption { font-size: 11px; }
  .section-label { margin-bottom: 0; }
  .section-intro { font-size: 17px; }
  .console-pane { padding: 28px 20px 30px; }
  .sample { font-size: 21px; }
  .empty { padding: 16px 0 22px; font-size: 19px; }
  .fields > div { grid-template-columns: 104px 1fr; gap: 12px; font-size: 13px; }
  .console-actions { align-items: stretch; flex-direction: column; gap: 12px; }
  .console-actions .button { width: 100%; justify-content: space-between; }
  .console-log { padding: 16px 20px; }
  .principles li { grid-template-columns: 42px minmax(0, 1fr); gap: 16px; padding: 24px 0; }
  .measure-stop { font-size: 20px; }
  .brief summary { align-items: flex-start; gap: 16px; padding: 26px 20px; }
  .brief-action { font-size: 0; gap: 0; }
  .brief-action .plus { font-size: 17px; }
  .brief-body, .brief-output { padding-left: 20px; padding-right: 20px; }
  .brief-output-heading { align-items: flex-start; flex-direction: column; gap: 6px; }
  .brief-output-actions { align-items: stretch; flex-direction: column; }
  .copy-status { min-height: 20px; }
  .footer-legal { align-items: flex-start; flex-direction: column; gap: 8px; }
  .card-teaser-link { flex-wrap: wrap; gap: 18px; }
  .card-teaser-caption { flex-basis: 100%; }
  .mini-card { width: 152px; height: 84px; }
}

@media (max-width: 380px) {
  .shell { width: calc(100% - 32px); }
  .hero h1 { font-size: 48px; }
  .fields > div { grid-template-columns: 94px 1fr; gap: 10px; font-size: 12.5px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .fig-agent { display: none; }
}

@media print {
  .site-header, .hero-actions, .contour-figure, .hero-strip, .console, .partner-row .button, .brief-output-actions { display: none !important; }
  body { background: #fff; color: #222; }
  .section { padding: 26px 0; break-inside: avoid; }
  .section-head { grid-template-columns: 1fr; }
  .section-partners { background: #fff; color: #222; }
  .section-partners h2, .section-partners .chain-inline { color: #222; }
  .section-partners h2 em { color: #1236c4; }
  .hero { padding-top: 20px; }
  .brief[open] .brief-action { display: none; }
}
