/* =========================================================
   KORDIO — дизайн-система
   Светло-зелёная бумага, моно-метки, хайрлайны, крупная типографика.
   ========================================================= */

/* ---------------- 1. ТОКЕНЫ ---------------- */
:root {
  --paper:      #F6F8F2;
  --paper-2:    #EFF3EA;
  --surface:    #FFFFFF;
  --ink:        #101410;
  --ink-2:      #4C564D;
  --ink-3:      #8A948B;
  --line:       #DCE2D6;
  --line-2:     #EAEEE4;
  --brand:      #1D7A4C;
  --brand-2:    #2C9E63;
  --lime:       #D9F265;
  --lime-2:     #EFF9C0;
  --mark-ink:   #0E120F;
  --panel-inv:  #0E1310;
  --panel-inv-2:#18221B;
  --btn-ink:    #FFFFFF;
  --code-bg:    #0E1310;
  --code-ink:   #DDE7DE;
  --shadow:     0 1px 0 rgba(16,20,16,.04), 0 18px 40px -28px rgba(16,20,16,.35);

  --sans: "Montserrat", "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  --mono: "JetBrains Mono", "Cascadia Mono", "SF Mono", "Consolas", "Liberation Mono", monospace;

  --logo:      #1D7A4C;   /* пиксельная K в логотипе — светлая тема */
  --logo-hi:   #A8CC32;   /* акцентный пиксель-курсор */

  --r:      9px;
  --r-sm:   6px;
  --r-xs:   4px;
  --shell:  1200px;
  --pad:    clamp(20px, 4vw, 40px);
}

[data-theme="dark"] {
  --paper:      #0A0E0B;
  --paper-2:    #0F1411;
  --surface:    #121815;
  --ink:        #ECF1E9;
  --ink-2:      #9DA99E;
  --ink-3:      #6C786D;
  --line:       #242D26;
  --line-2:     #1A211C;
  --brand:      #5CC98B;
  --brand-2:    #86E0AC;
  --lime:       #C9EF5C;
  --lime-2:     #1E2A16;
  --mark-ink:   #0A0E0B;
  --panel-inv:  #172019;
  --panel-inv-2:#1E2A21;
  --btn-ink:    #07100A;
  --code-bg:    #080C09;
  --code-ink:   #DBE6DC;
  --logo:       #6BD79A;
  --logo-hi:    #C9EF5C;
  --shadow:     0 1px 0 rgba(255,255,255,.03), 0 18px 44px -30px rgba(0,0,0,.9);
}

/* ---------------- 2. БАЗА ---------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 16.5px/1.62 var(--sans);
  font-feature-settings: "kern", "liga", "calt";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
ul, ol, dl, dd { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, figure, blockquote, pre { margin: 0; }
::selection { background: var(--lime); color: #0E120F; }

.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.mono {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 500;
}
.dim { color: var(--ink-3); }

.skip-link {
  position: fixed;
  top: 8px; left: 8px;
  z-index: 999;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--r-sm);
  transform: translateY(-160%);
  transition: transform .2s ease;
}
.skip-link:focus-visible { transform: none; }

/* ---------------- 3. КНОПКИ ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border: 1px solid transparent;
  border-radius: var(--r-sm);
  background: none;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -.005em;
  cursor: pointer;
  white-space: nowrap;
  transition: background .16s ease, color .16s ease, border-color .16s ease, transform .12s ease;
}
.btn:active { transform: translateY(1px); }
.btn--lg { padding: 14px 26px; font-size: 15.5px; }
.btn--block { width: 100%; }

.btn--solid { background: var(--brand); color: var(--btn-ink); }
.btn--solid:hover { background: var(--brand-2); }

.btn--line { border-color: var(--ink); color: var(--ink); }
.btn--line:hover { background: var(--ink); color: var(--paper); }

.btn--lime { background: var(--lime); color: #0E120F; }
.btn--lime:hover { filter: brightness(.96); }

.btn--ghost-light { border-color: rgba(255,255,255,.3); color: #fff; }
.btn--ghost-light:hover { border-color: #fff; background: rgba(255,255,255,.08); }

.link-btn {
  padding: 9px 4px;
  background: none;
  border: 0;
  font-size: 15px;
  font-weight: 550;
  color: var(--ink-2);
  cursor: pointer;
  border-bottom: 1px solid transparent;
  transition: color .15s ease, border-color .15s ease;
}
.link-btn:hover { color: var(--ink); border-color: var(--ink-3); }

.icon-btn {
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  border: 1px solid var(--line);
  border-radius: var(--r-xs);
  background: var(--surface);
  color: var(--ink-2);
  cursor: pointer;
  transition: border-color .15s ease, color .15s ease, background .15s ease;
}
.icon-btn:hover { border-color: var(--ink-3); color: var(--ink); }
.ico-moon { display: none; }
[data-theme="dark"] .ico-sun { display: none; }
[data-theme="dark"] .ico-moon { display: block; }

/* ---------------- 4. ПОЯВЛЕНИЕ ПРИ СКРОЛЛЕ ---------------- */
/* контент виден по умолчанию; анимация включается только если JS работает */
.reveal {
  opacity: 1;
  transform: none;
}
.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .55s cubic-bezier(.22,.7,.3,1), transform .55s cubic-bezier(.22,.7,.3,1);
}
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------------- 6. ШАПКА ---------------- */
.header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, background .25s ease;
}
.header.is-stuck { border-bottom-color: var(--line); }
.header__inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 68px;
}

.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand__mark { display: block; line-height: 0; }
.pxk {
  display: block;
  height: 30px;
  width: auto;
  fill: var(--logo);
  shape-rendering: crispEdges;
}
.brand__name {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -.025em;
}
.brand__tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-3);
  padding-left: 10px;
  margin-left: 2px;
  border-left: 1px solid var(--line);
}

.nav { display: flex; align-items: center; gap: 26px; margin-left: 12px; }
.nav a {
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  font-size: 14.5px;
  font-weight: 550;
  color: var(--ink-2);
  transition: color .15s ease;
}
.nav a i {
  font-family: var(--mono);
  font-style: normal;
  font-size: 10px;
  letter-spacing: .1em;
  color: var(--ink-3);
}
.nav a:hover { color: var(--ink); }
.nav a:hover i { color: var(--brand); }

.header__actions { display: flex; align-items: center; gap: 14px; margin-left: auto; }

/* ---------------- 7. HERO ---------------- */
.hero {
  position: relative;
  padding: clamp(40px, 6vw, 76px) 0 clamp(30px, 4vw, 52px);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: -1px 0 0;
  pointer-events: none;
  background:
    linear-gradient(to right, var(--line-2) 1px, transparent 1px) 0 0 / 72px 100%,
    linear-gradient(to bottom, var(--line-2) 1px, transparent 1px) 0 0 / 100% 72px;
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 42% 0%, #000 35%, transparent 100%);
  mask-image: radial-gradient(ellipse 90% 70% at 42% 0%, #000 35%, transparent 100%);
}

.hero__inner {
  position: relative;
  display: grid;
  gap: 0;
}

.hero__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 470px);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
  margin-top: clamp(26px, 3.6vw, 44px);
}
.hero__aside { max-width: 560px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.eyebrow__tick {
  width: 22px; height: 1px;
  background: var(--brand);
  display: inline-block;
}

.hero__title {
  font-size: clamp(40px, 6.1vw, 80px);
  line-height: 1.0;
  letter-spacing: -.035em;
  font-weight: 700;
  margin-bottom: 4px;
}
.mark {
  font-weight: 800;
  font-style: italic;
  background-image: linear-gradient(var(--lime), var(--lime));
  background-repeat: no-repeat;
  background-size: 100% .24em;
  background-position: 0 .78em;
  padding-inline: .06em;
}

.hero__lead {
  max-width: 52ch;
  font-size: 17.5px;
  line-height: 1.6;
  color: var(--ink-2);
  margin-bottom: 28px;
}

.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }

/* панель-терминал */
.panel {
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
  font-family: var(--mono);
}
.panel__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  background: var(--paper-2);
  color: var(--ink-2);
}
.panel__bar-live { display: inline-flex; align-items: center; gap: 7px; color: var(--brand); }

.dot-live {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 22%, transparent);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse { 50% { opacity: .35; } }
.panel__rows { padding: 6px 0; }
.panel__rows > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 14px;
  border-bottom: 1px solid var(--line-2);
}
.panel__rows dt { color: var(--ink-3); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; }
.panel__rows dd { font-size: 12.5px; color: var(--ink); }
.panel__term {
  padding: 14px;
  background: var(--code-bg);
  color: var(--code-ink);
  font-size: 12px;
  line-height: 1.85;
}
.panel__term .prompt { color: var(--lime); }
.panel__term .dim { color: #8FA394; }
.panel__term .caret { color: #8FA394; }
.cursor {
  display: inline-block;
  width: 7px; height: 13px;
  background: var(--lime);
  vertical-align: -2px;
  animation: blink 1.1s steps(2, start) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

/* композер */
.composer {
  position: relative;
  margin-top: clamp(34px, 5vw, 56px);
  display: flex;
  align-items: flex-end;
  gap: 10px;
  padding: 10px 10px 10px 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow);
  transition: border-color .18s ease, box-shadow .18s ease;
}
.composer:focus-within {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 16%, transparent), var(--shadow);
}
.composer__add {
  flex: none;
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  border: 0;
  border-radius: var(--r-xs);
  background: none;
  color: var(--ink-3);
  cursor: pointer;
  transition: background .15s ease, color .15s ease;
}
.composer__add:hover { background: var(--paper-2); color: var(--ink); }
.composer__input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  resize: none;
  background: none;
  color: var(--ink);
  font: 400 16.5px/1.5 var(--sans);
  padding: 8px 0;
  max-height: 180px;
}
.composer__input::placeholder { color: var(--ink-3); }
.composer__right { display: flex; align-items: center; gap: 8px; flex: none; }
.composer__model {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--r-xs);
  background: var(--paper-2);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-2);
  cursor: pointer;
}
.composer__model:hover { border-color: var(--ink-3); color: var(--ink); }
.send {
  display: grid;
  place-items: center;
  width: 36px; height: 36px;
  border: 0;
  border-radius: var(--r-xs);
  background: var(--ink);
  color: var(--paper);
  cursor: pointer;
  transition: background .15s ease, transform .12s ease;
}
.send:hover { background: var(--brand); }
.send:active { transform: translateY(1px); }

.examples {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
}
.examples__label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-right: 4px;
}
.chip {
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 100px;
  background: var(--surface);
  font-size: 13.5px;
  color: var(--ink-2);
  cursor: pointer;
  transition: border-color .15s ease, color .15s ease, background .15s ease;
}
.chip:hover { border-color: var(--ink-3); color: var(--ink); background: var(--paper-2); }

/* спецификация */
.specstrip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: clamp(30px, 4vw, 48px);
  border-top: 1px solid var(--line);
}
.spec {
  padding: 20px 4px 4px 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.spec b {
  font-size: clamp(23px, 2.5vw, 31px);
  font-weight: 800;
  letter-spacing: -.025em;
}
.spec span {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* ---------------- 8. ЛЕНТА ---------------- */
.band {
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}
.band__track {
  display: flex;
  width: max-content;
  animation: band 46s linear infinite;
}
.band__track span {
  padding: 15px 26px;
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-3);
  white-space: nowrap;
}
@keyframes band { to { transform: translateX(-50%); } }

/* ---------------- 9. СЕКЦИИ ---------------- */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section--line { border-top: 1px solid var(--line); background: var(--paper-2); }

.sec-head {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  padding-bottom: 30px;
  margin-bottom: clamp(28px, 4vw, 48px);
  border-bottom: 1px solid var(--line);
}
.sec-index {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .14em;
  color: var(--brand);
  padding-top: 10px;
}
.sec-head__text { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: 24px 48px; align-items: end; }
.sec-head h2 {
  font-size: clamp(29px, 3.5vw, 46px);
  line-height: 1.08;
  letter-spacing: -.03em;
  font-weight: 700;
}
.sec-head p { color: var(--ink-2); font-size: 16px; line-height: 1.62; }

/* ---------------- 10. РАБОЧАЯ ОБЛАСТЬ ---------------- */
.workspace {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--surface);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.ws-side {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 14px;
  border-right: 1px solid var(--line);
  background: var(--paper-2);
}
.ws-side__head { display: flex; justify-content: space-between; align-items: center; color: var(--ink-2); }
.thread { display: flex; flex-direction: column; gap: 2px; }
.thread__item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 9px 10px;
  border-radius: var(--r-xs);
  cursor: default;
  border-left: 2px solid transparent;
}
.thread__item b { font-size: 13.5px; font-weight: 520; color: var(--ink-2); }
.thread__item span { font-family: var(--mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.thread__item.is-active { background: var(--surface); border-left-color: var(--brand); }
.thread__item.is-active b { color: var(--ink); }
.ws-side__foot { margin-top: auto; display: flex; flex-direction: column; gap: 7px; }
.meter { height: 4px; border-radius: 100px; background: var(--line); overflow: hidden; }
.meter i { display: block; height: 100%; background: var(--brand); }

.ws-main { display: flex; flex-direction: column; min-width: 0; }
.ws-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 16px;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink-2);
}
.messages {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 22px 20px;
  min-height: 430px;
}
.msg { display: flex; flex-direction: column; gap: 7px; max-width: 680px; }
.msg__meta { display: flex; align-items: center; gap: 10px; color: var(--ink-2); }
.msg__body { font-size: 15.5px; line-height: 1.62; color: var(--ink); }
.msg__body p + p { margin-top: 10px; }
.msg--user .msg__body {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--paper-2);
}
.msg__body code {
  font-family: var(--mono);
  font-size: 12.5px;
  padding: 1px 5px;
  border-radius: 3px;
  background: var(--paper-2);
  border: 1px solid var(--line);
}
.code {
  margin-top: 12px;
  padding: 14px 16px;
  border-radius: var(--r-sm);
  background: var(--code-bg);
  color: var(--code-ink);
  overflow-x: auto;
  font: 12.5px/1.75 var(--mono);
}
.code code { background: none; border: 0; padding: 0; font-size: inherit; }
.c-k { color: #7BDCA6; }
.c-s { color: var(--lime); }
.dots { display: inline-flex; gap: 4px; }
.dots b {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--ink-3);
  animation: dot 1.2s infinite;
}
.dots b:nth-child(2) { animation-delay: .16s; }
.dots b:nth-child(3) { animation-delay: .32s; }
@keyframes dot { 0%, 60%, 100% { opacity: .25; } 30% { opacity: 1; } }

.ws-lock {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 20px;
  border-top: 1px solid var(--line);
  background: var(--paper);
}
.ws-lock__text { font-size: 14.5px; color: var(--ink-2); }

/* ---------------- 11. БЕНТО ---------------- */
.bento {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  background: var(--surface);
}
.bento__cell {
  padding: 26px 24px 30px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background .2s ease;
}
.bento__cell:hover { background: var(--paper-2); }
.bento__cell:nth-child(3n) { border-right: 1px solid var(--line); }
.bento__cell:nth-child(4),
.bento__cell:nth-child(7) { border-right: 0; }
.bento__cell--wide {
  grid-column: span 3;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 18px 48px;
  align-items: start;
  border-right: 0;
  border-bottom: 1px solid var(--line);
}
.bento__num { display: block; color: var(--brand); margin-bottom: 16px; }
.bento__cell h3 {
  font-size: 19.5px;
  font-weight: 700;
  letter-spacing: -.015em;
  margin-bottom: 9px;
}
.bento__cell p { font-size: 15px; line-height: 1.62; color: var(--ink-2); max-width: 46ch; }

.router {
  grid-column: 2;
  grid-row: 1 / span 3;
  align-self: stretch;
  display: grid;
  grid-template-columns: 1fr 76px 1fr;
  align-items: center;
  gap: 10px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--paper);
}
.router__in {
  padding: 18px 14px;
  border: 1px dashed var(--ink-3);
  border-radius: var(--r-xs);
  text-align: center;
  color: var(--ink-2);
}
.router__lines { position: relative; height: 74px; margin: 0 -10px; }
.router__lines::before {
  content: "";
  position: absolute;
  left: 0; top: 4px; bottom: 4px;
  width: 1px;
  background: var(--line);
}
.router__lines i {
  position: absolute;
  left: 0; right: 0;
  height: 1px;
  background: var(--line);
}
.router__lines i:nth-child(1) { top: 6px; }
.router__lines i:nth-child(2) { top: 26px; }
.router__lines i:nth-child(3) { top: 46px; }
.router__lines i:nth-child(4) { top: 66px; }
.router__out { display: flex; flex-direction: column; gap: 8px; }
.router__out span {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: var(--r-xs);
  background: var(--surface);
  color: var(--ink-2);
}

/* ---------------- 12. ТАБЛИЦА МОДЕЛЕЙ ---------------- */
.table {
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  background: var(--surface);
}
.table__row {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.2fr) minmax(0, .8fr) 120px;
  gap: 20px;
  align-items: center;
  padding: 15px 20px;
  border-bottom: 1px solid var(--line-2);
}
.table__row:last-child { border-bottom: 0; }
.table__row--head {
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
  color: var(--ink-3);
}
.table__row--head span { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.table__row b { font-weight: 700; font-size: 16px; letter-spacing: -.015em; }
.table__row > span:nth-child(2) { color: var(--ink-2); font-size: 15px; }
.table__row .mono { color: var(--ink); letter-spacing: .04em; text-transform: none; font-size: 13px; }
.ok { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--brand); }
.ok::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }

/* ---------------- 13. ШАГИ ---------------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
}
.step {
  padding: 26px 26px 4px 0;
  border-right: 1px solid var(--line);
}
.step:last-child { border-right: 0; }
.step:not(:first-child) { padding-left: 26px; }
.step__n { display: block; color: var(--brand); margin-bottom: 14px; }
.step h3 {
  font-size: 19.5px;
  font-weight: 700;
  letter-spacing: -.015em;
  margin-bottom: 8px;
}
.step p { font-size: 15px; line-height: 1.62; color: var(--ink-2); max-width: 34ch; }

/* ---------------- 14. ТАРИФЫ ---------------- */
.plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}
.plan {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 26px 24px 24px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--surface);
  transition: border-color .2s ease, transform .2s ease;
}
.plan:hover { border-color: var(--ink-3); transform: translateY(-2px); }
.plan__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.plan__head h3 { font-size: 19px; font-weight: 700; letter-spacing: -.02em; }
.plan__badge { color: var(--brand); letter-spacing: .1em; }
.plan__price {
  font-size: clamp(34px, 3.6vw, 46px);
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1;
}
.plan__price small {
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--ink-3);
  margin-left: 7px;
}
.plan__list { display: flex; flex-direction: column; gap: 9px; margin-top: 4px; }
.plan__list li {
  position: relative;
  padding-left: 20px;
  font-size: 15px;
  color: var(--ink-2);
}
.plan__list li::before {
  content: "";
  position: absolute;
  left: 0; top: .62em;
  width: 9px; height: 1px;
  background: var(--ink-3);
}
.plan .btn { margin-top: auto; }

.plan--hot {
  background: var(--panel-inv);
  border-color: var(--panel-inv);
  color: #F2F6EF;
}
.plan--hot .plan__head h3 { color: #F2F6EF; }
.plan--hot .plan__price small, .plan--hot .plan__list li { color: #9FAEA1; }
.plan--hot .plan__list li::before { background: #6E7D71; }
.plan--hot .plan__badge { color: var(--lime); }
.plan--hot:hover { border-color: var(--lime); }

/* ---------------- 15. ОТЗЫВЫ ---------------- */
.quotes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
}
.quote {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 28px 28px 4px 0;
  border-right: 1px solid var(--line);
}
.quote:last-child { border-right: 0; }
.quote:not(:first-child) { padding-left: 28px; }
.quote blockquote {
  font-size: clamp(17.5px, 1.55vw, 21px);
  line-height: 1.4;
  letter-spacing: -.015em;
  font-weight: 700;
  font-style: italic;
  color: var(--ink);
}
.quote figcaption { display: flex; flex-direction: column; gap: 3px; margin-top: auto; }
.quote figcaption b { font-size: 15px; font-weight: 600; }

/* ---------------- 16. CTA ---------------- */
.cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  flex-wrap: wrap;
  padding: clamp(30px, 4vw, 48px);
  border-radius: var(--r);
  background: var(--panel-inv);
  color: #F2F6EF;
  overflow: hidden;
  position: relative;
}
.cta::after {
  content: "";
  position: absolute;
  right: -60px; top: -60px;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--lime) 26%, transparent), transparent 68%);
  pointer-events: none;
}
.cta__body { position: relative; max-width: 62ch; }
.cta__label { display: block; color: var(--lime); margin-bottom: 14px; }
.cta h2 {
  font-size: clamp(27px, 3.3vw, 42px);
  line-height: 1.08;
  letter-spacing: -.03em;
  font-weight: 700;
  margin-bottom: 12px;
}
.cta p { color: #A3B1A5; font-size: 16px; }
.cta__actions { position: relative; display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------------- 17. ПОДВАЛ ---------------- */
.footer {
  border-top: 1px solid var(--line);
  padding-top: clamp(38px, 5vw, 60px);
  background: var(--paper-2);
}
.footer__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 40px;
  padding-bottom: 40px;
}
.footer__brand p { margin-top: 14px; max-width: 34ch; font-size: 15px; color: var(--ink-2); }
.footer__cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.footer__cols h4 {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 14px;
}
.footer__cols a {
  display: block;
  padding: 5px 0;
  font-size: 15px;
  color: var(--ink-2);
  transition: color .15s ease;
}
.footer__cols a:hover { color: var(--ink); }

.footer__link {
  display: block;
  width: 100%;
  padding: 5px 0;
  border: 0;
  background: none;
  text-align: left;
  font: 400 15px var(--sans);
  color: var(--ink-2);
  cursor: pointer;
  transition: color .15s ease;
}
.footer__link:hover { color: var(--ink); }
.footer__link--inline {
  display: inline-block;
  width: auto;
  padding: 0;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--line);
}
.footer__link--inline:hover { border-bottom-color: var(--ink); }

.footer__legal {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--ink-3);
}
.footer__legal-name {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-2);
  letter-spacing: -.01em;
  margin-bottom: 3px;
}
.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  padding-top: 18px;
  padding-bottom: 22px;
  border-top: 1px solid var(--line);
  color: var(--ink-3);
}
.footer__bottom-mid {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.theme-switch {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--surface);
}
.theme-switch__label { color: var(--ink-3); padding: 0 7px 0 5px; }
.theme-switch__opt {
  padding: 5px 12px;
  border: 0;
  border-radius: var(--r-xs);
  background: none;
  font: 500 13px var(--sans);
  color: var(--ink-3);
  cursor: pointer;
  transition: background .16s ease, color .16s ease;
}
.theme-switch__opt:hover { color: var(--ink); }
.theme-switch__opt.is-on { background: var(--ink); color: var(--paper); }

/* ---------------- 18. ТОСТ ---------------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  z-index: 120;
  transform: translate(-50%, 16px);
  padding: 11px 18px;
  border-radius: var(--r-sm);
  background: var(--ink);
  color: var(--paper);
  font-size: 14px;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s ease, transform .22s ease;
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---------------- 19. МОДАЛКА ---------------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  place-items: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s ease;
}
.modal[hidden] { display: none; }
.modal.is-open { opacity: 1; pointer-events: auto; }
.modal__scrim {
  position: absolute;
  inset: 0;
  background: rgba(10, 14, 11, .42);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  opacity: 0;
  transition: opacity .22s ease;
}
.modal.is-open .modal__scrim { opacity: 1; }
.modal__card {
  position: relative;
  width: min(430px, 100%);
  max-width: 100%;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  padding: 26px 26px 24px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--surface);
  box-shadow: 0 40px 90px -40px rgba(8, 12, 9, .55);
  transform: translateY(12px) scale(.99);
  transition: transform .24s cubic-bezier(.22,.7,.3,1);
}
.modal.is-open .modal__card { transform: none; }
.modal__close {
  position: absolute;
  top: 14px; right: 14px;
  display: grid;
  place-items: center;
  width: 30px; height: 30px;
  border: 0;
  border-radius: var(--r-xs);
  background: none;
  color: var(--ink-3);
  cursor: pointer;
  transition: background .15s ease, color .15s ease;
}
.modal__close:hover { background: var(--paper-2); color: var(--ink); }
.modal__brand { display: flex; align-items: center; gap: 11px; margin-bottom: 20px; }
.modal__brand b { display: block; font-size: 16px; font-weight: 640; letter-spacing: -.02em; }
.modal__brand .mono { display: block; margin-top: 2px; letter-spacing: .12em; }

.modal__tabs {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-bottom: 22px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--paper-2);
}
.modal__tab {
  position: relative;
  z-index: 1;
  padding: 9px 10px;
  border: 0;
  background: none;
  border-radius: var(--r-xs);
  font-size: 14px;
  font-weight: 520;
  color: var(--ink-3);
  cursor: pointer;
  transition: color .16s ease;
}
.modal__tab.is-active { color: var(--ink); }
.modal__tab-ink {
  position: absolute;
  top: 3px; left: 0;
  z-index: 0;
  height: calc(100% - 6px);
  border-radius: var(--r-xs);
  background: var(--surface);
  box-shadow: 0 1px 3px rgba(16,20,16,.12);
  transition: transform .26s cubic-bezier(.3,.8,.3,1), width .26s cubic-bezier(.3,.8,.3,1);
}

.modal__form { display: flex; flex-direction: column; }
.modal__form[hidden] { display: none; }
.modal__title {
  font-size: 22.5px;
  font-weight: 700;
  letter-spacing: -.025em;
  margin-bottom: 5px;
}
.modal__sub { font-size: 14.5px; color: var(--ink-2); margin-bottom: 20px; }

.field { display: block; margin-bottom: 14px; }
.field > span {
  display: block;
  margin-bottom: 7px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.field input[type="text"],
.field input[type="email"],
.field input[type="password"] {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--paper);
  color: var(--ink);
  font: 400 15.5px var(--sans);
  outline: 0;
  transition: border-color .16s ease, background .16s ease, box-shadow .16s ease;
}
.field input:focus {
  border-color: var(--brand);
  background: var(--surface);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 15%, transparent);
}
.field input::placeholder { color: var(--ink-3); }
.field__wrap { position: relative; display: flex; align-items: center; }
.field__wrap input { padding-right: 42px !important; }
.field__eye {
  position: absolute;
  right: 6px;
  display: grid;
  place-items: center;
  width: 30px; height: 30px;
  border: 0;
  border-radius: var(--r-xs);
  background: none;
  color: var(--ink-3);
  cursor: pointer;
}
.field__eye:hover { color: var(--ink); background: var(--paper-2); }
.field__eye.is-on { color: var(--brand); }

.field__err {
  display: none;
  margin-top: 6px;
  font-size: 12.5px;
  color: #C0392B;
}
[data-theme="dark"] .field__err { color: #F0806F; }
.field__err--box { display: none; margin: -6px 0 12px; }
.field.is-error input { border-color: #C0392B; }
.field.is-error .field__err { display: block; }
.check--top.is-error span { color: #C0392B; }

.check { display: inline-flex; align-items: center; gap: 9px; font-size: 14px; color: var(--ink-2); cursor: pointer; }
.check input { width: 16px; height: 16px; accent-color: var(--brand); cursor: pointer; }
.check--top { align-items: flex-start; margin-bottom: 8px; }
.check--top input { margin-top: 2px; }

.modal__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 4px 0 20px; }
.modal__link {
  padding: 0;
  border: 0;
  background: none;
  font-size: 14px;
  color: var(--brand);
  cursor: pointer;
  border-bottom: 1px solid color-mix(in srgb, var(--brand) 40%, transparent);
}
.modal__link:hover { border-bottom-color: var(--brand); }
.modal__alt { margin-top: 14px; text-align: center; font-size: 14px; color: var(--ink-2); }
.modal__divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0 14px;
  color: var(--ink-3);
}
.modal__divider::before, .modal__divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}
.modal__divider span { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.modal__socials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 9px 6px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: none;
  font-size: 13px;
  color: var(--ink-2);
  cursor: pointer;
  transition: border-color .15s ease, color .15s ease, background .15s ease;
}
.social:hover { border-color: var(--ink-3); color: var(--ink); background: var(--paper-2); }

/* ---------------- 20. МОДАЛКА ДОКУМЕНТОВ ---------------- */
.modal__card--doc { width: min(700px, 100%); }

.doc__head {
  padding-bottom: 16px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.doc__kicker { display: block; color: var(--brand); margin-bottom: 8px; }
.doc__title {
  font-size: clamp(22px, 2.6vw, 28px);
  font-weight: 700;
  letter-spacing: -.028em;
  line-height: 1.1;
  padding-right: 32px;
}

.doc__body { font-size: 15px; line-height: 1.66; color: var(--ink-2); }
.doc__body h3 {
  font-size: 16.5px;
  font-weight: 700;
  letter-spacing: -.012em;
  color: var(--ink);
  margin: 24px 0 8px;
}
.doc__body h3:first-child { margin-top: 0; }
.doc__body p { margin-bottom: 13px; }
.doc__body ul { display: flex; flex-direction: column; gap: 7px; margin-bottom: 14px; }
.doc__body li { position: relative; padding-left: 18px; }
.doc__body li::before {
  content: "";
  position: absolute;
  left: 0; top: .68em;
  width: 9px; height: 1px;
  background: var(--ink-3);
}
.doc__body code {
  font-family: var(--mono);
  font-size: 12.5px;
  padding: 1px 5px;
  border-radius: 3px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  color: var(--ink);
}
.doc__body pre {
  margin: 0 0 16px;
  padding: 14px 16px;
  border-radius: var(--r-sm);
  background: var(--code-bg);
  color: var(--code-ink);
  overflow-x: auto;
  font: 12.5px/1.7 var(--mono);
}
.doc__body pre code { background: none; border: 0; padding: 0; font-size: inherit; color: inherit; }
.doc__meta { color: var(--ink-3); font-size: 13.5px; margin-bottom: 18px; }

.doc__rows { display: flex; flex-direction: column; border-top: 1px solid var(--line); margin-bottom: 16px; }
.doc__rows > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line-2);
}
.doc__rows dt {
  color: var(--ink-3);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.doc__rows dd { color: var(--ink); font-size: 14.5px; text-align: right; }

.doc__ok { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }
.doc__ok > div { display: flex; align-items: center; gap: 10px; font-size: 14.5px; color: var(--ink); }
.doc__ok i {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 18%, transparent);
}

.doc__post { padding: 14px 0; border-bottom: 1px solid var(--line-2); }
.doc__post:last-child { border-bottom: 0; }
.doc__post time {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brand);
}
.doc__post b {
  display: block;
  margin: 5px 0 4px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -.015em;
}
.doc__post span { color: var(--ink-3); font-size: 14px; }

.doc__job { padding: 14px 0; border-bottom: 1px solid var(--line-2); }
.doc__job:last-child { border-bottom: 0; }
.doc__job b { display: block; color: var(--ink); font-size: 15.5px; font-weight: 700; letter-spacing: -.012em; }
.doc__job span { display: block; margin-top: 3px; color: var(--ink-3); font-size: 13.5px; }

.doc__jump {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 6px;
  padding: 11px 18px;
  border: 1px solid var(--ink);
  border-radius: var(--r-sm);
  background: none;
  color: var(--ink);
  font: 600 14.5px var(--sans);
  cursor: pointer;
  transition: background .16s ease, color .16s ease;
}
.doc__jump:hover { background: var(--ink); color: var(--paper); }

.doc__mail {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--brand);
  border-bottom: 1px solid color-mix(in srgb, var(--brand) 40%, transparent);
}
.doc__mail:hover { border-bottom-color: var(--brand); }

/* ---------------- 21. АДАПТИВ ---------------- */
@media (max-width: 1080px) {
  .hero__row { grid-template-columns: 1fr; }
  .panel { max-width: 520px; }
  .bento__cell--wide { grid-template-columns: 1fr; }
  .router { grid-column: 1; grid-row: auto; }
  .sec-head__text { grid-template-columns: 1fr; gap: 12px; }
  .footer__inner { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .nav { display: none; }
  .brand__tag { display: none; }
  .workspace { grid-template-columns: 1fr; }
  .ws-side { display: none; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento__cell:nth-child(4),
  .bento__cell:nth-child(7) { border-right: 1px solid var(--line); }
  .bento__cell:nth-child(3),
  .bento__cell:nth-child(5),
  .bento__cell:nth-child(7) { border-right: 0; }
  .bento__cell--wide { grid-column: span 2; border-right: 0; }
  .plans, .quotes, .steps { grid-template-columns: 1fr; }
  .step, .quote { border-right: 0; padding-left: 0; }
  .step:not(:first-child) { padding-top: 26px; border-top: 1px solid var(--line); }
  .quote:not(:first-child) { padding-top: 26px; border-top: 1px solid var(--line); }
  .specstrip { grid-template-columns: repeat(2, 1fr); }
  .spec:nth-child(2n) { border-left: 1px solid var(--line); padding-left: 18px; }
  .table__row { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) auto; }
  .table__row > span:nth-child(2) { display: none; }
}

@media (max-width: 620px) {
  .header__inner { height: 60px; gap: 12px; }
  .link-btn { display: none; }
  .brand__name { font-size: 19px; }

  /* hero */
  .eyebrow { font-size: 10px; letter-spacing: .12em; gap: 8px; margin-bottom: 18px; }
  .hero__title { font-size: clamp(34px, 10vw, 52px); }
  .hero__lead { font-size: 16px; margin-bottom: 24px; }
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { width: 100%; }
  .examples .chip:nth-child(n+4) { display: none; }
  .chip { text-align: left; }

  /* композер: поле сверху, тулбар снизу */
  .composer { flex-wrap: wrap; padding: 12px 12px 10px; }
  .composer__input { order: 1; flex-basis: 100%; padding: 2px 0 8px; }
  .composer__add { order: 2; }
  .composer__right { order: 3; margin-left: auto; }

  /* рабочая область */
  .ws-top { padding: 10px 14px; }
  .ws-top span:last-child { display: none; }
  .messages { padding: 18px 14px; gap: 18px; }
  .code { font-size: 11.5px; padding: 12px 13px; }
  .ws-lock { flex-direction: column; align-items: stretch; gap: 12px; }
  .ws-lock .btn { width: 100%; }

  /* схема роутера — вертикально */
  .router { grid-template-columns: 1fr; gap: 12px; padding: 16px; }
  .router__lines { display: none; }
  .router__out { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .router__out span { text-align: center; white-space: nowrap; }

  /* таблица моделей: вместо статуса показываем цену */
  .table__row { grid-template-columns: minmax(0, 1fr) auto; gap: 12px; padding: 14px 16px; }
  .table__row > span:nth-child(2) { display: none; }
  .table__row > span:nth-child(4) { display: none; }
  .table__row .mono { font-size: 12px; white-space: nowrap; }
  .table__row b { font-size: 15px; }

  /* прочее */
  .sec-head { grid-template-columns: 1fr; gap: 10px; }
  .sec-index { padding-top: 0; }
  .bento { grid-template-columns: 1fr; }
  .bento__cell { border-right: 0 !important; padding: 22px 20px 24px; }
  .bento__cell--wide { grid-column: span 1; }
  .cta { flex-direction: column; align-items: stretch; }
  .cta__actions { width: 100%; }
  .cta__actions .btn { flex: 1; }
  .footer__cols { grid-template-columns: repeat(2, 1fr); gap: 22px 16px; }
  .footer__bottom {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 14px 16px;
    align-items: center;
  }
  .footer__bottom > .mono:first-child { grid-column: 1; grid-row: 1; }
  .footer__bottom > .mono:last-child { grid-column: 2; grid-row: 1; text-align: right; }
  .footer__bottom-mid { grid-column: 1 / -1; grid-row: 2; width: 100%; justify-content: space-between; gap: 14px; }

  /* модалки */
  .modal { padding: 12px; }
  .modal__card { padding: 22px 18px 20px; max-height: calc(100vh - 24px); }
  .modal__socials { grid-template-columns: 1fr; }
  .doc__title { font-size: 22px; }
  .doc__rows > div { flex-direction: column; align-items: flex-start; gap: 4px; }
  .doc__rows dd { text-align: left; }
}

@media (max-width: 380px) {
  .brand__name { font-size: 18px; }
  .header__inner { gap: 8px; }
  .hero__title { font-size: 33px; }
  .specstrip { grid-template-columns: 1fr; }
  .spec:nth-child(2n) { border-left: 0; padding-left: 0; }
}

/* ---------------- 21. ДОСТУПНОСТЬ ---------------- */
:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
  border-radius: 2px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}
