/* Быстрый старт — site styles. 2026. */

:root {
  --ink: #0d0f0c;
  --ink-2: #161914;
  --ink-3: #20241d;
  --paper: #f1efe5;
  --paper-2: #e8e5d8;
  --paper-3: #dcd8c8;
  --acid: #d8ff3e;
  --acid-2: #b9e72c;
  --orange: #ff5b22;
  --red: #df3a1d;
  --white: #fffdf3;
  --muted: #6f7669;
  --line: rgba(13, 15, 12, 0.18);
  --line-dark: rgba(241, 239, 229, 0.18);
  --font-display: "Unbounded", "Arial Black", "Segoe UI", sans-serif;
  --font-body: "Golos Text", "Segoe UI", Arial, sans-serif;
  --font-mono: "JetBrains Mono", "Consolas", monospace;
  --shadow: 8px 8px 0 var(--ink);
  --radius: 18px;
  --header-h: 76px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 18px);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.58;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.055;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.9'/%3E%3C/svg%3E");
}

::selection { background: var(--acid); color: var(--ink); }

img, svg { max-width: 100%; display: block; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, h5, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding-left: 1.25em; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.05; letter-spacing: -0.035em; text-wrap: balance; }
p { text-wrap: pretty; }
[hidden] { display: none !important; }

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

.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 300;
  background: var(--acid); color: var(--ink);
  padding: 10px 16px; font-weight: 700;
  transform: translateY(-160%);
  transition: transform 0.2s;
}
.skip-link:focus { transform: translateY(0); }

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
}

.container {
  width: min(1240px, calc(100% - 56px));
  margin-inline: auto;
}

.section { position: relative; padding: clamp(64px, 8vw, 116px) 0; }
.section--dark { background: var(--ink); color: var(--paper); }
.section--paper { background: var(--paper); }
.section--paper-2 { background: var(--paper-2); }
.section--acid { background: var(--acid); color: var(--ink); }

.section--dark::before {
  content: "";
  position: absolute; inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(var(--line-dark) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-dark) 1px, transparent 1px);
  background-size: 72px 72px;
  opacity: 0.22;
  mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 80%, transparent);
}

.section-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 32px; margin-bottom: clamp(32px, 5vw, 56px);
  position: relative; z-index: 2;
}

.section-head__text { max-width: 760px; }
.section-head h2 {
  font-size: clamp(34px, 5vw, 64px);
  margin: 12px 0 0;
}
.section-head p { max-width: 520px; color: var(--muted); }
.section--dark .section-head p { color: rgba(241, 239, 229, 0.7); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
}
.eyebrow::before {
  content: ""; width: 9px; height: 9px;
  background: var(--orange); display: inline-block;
  transform: rotate(45deg);
}
.section--dark .eyebrow { color: var(--acid); }

.hazard {
  background-image: repeating-linear-gradient(-45deg, var(--acid) 0 14px, var(--ink) 14px 28px);
  height: 8px; width: 100%;
}

.btn {
  --btn-bg: var(--acid);
  --btn-fg: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 14px 24px;
  border: 2px solid var(--ink);
  background: var(--btn-bg); color: var(--btn-fg);
  font-weight: 700; font-size: 16px; line-height: 1.1;
  text-decoration: none;
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
  transition: transform 0.16s, box-shadow 0.16s, background 0.16s;
  box-shadow: 4px 4px 0 var(--ink);
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.btn:active { transform: translate(1px, 1px); box-shadow: 2px 2px 0 var(--ink); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--paper); border-color: var(--paper); box-shadow: 4px 4px 0 rgba(241, 239, 229, 0.24); }
.btn--ghost:hover { background: var(--paper); color: var(--ink); box-shadow: 6px 6px 0 rgba(241, 239, 229, 0.24); }
.btn--dark { --btn-bg: var(--ink); --btn-fg: var(--paper); border-color: var(--ink); box-shadow: 4px 4px 0 var(--orange); }
.btn--dark:hover { box-shadow: 6px 6px 0 var(--orange); }
.btn--sm { min-height: 42px; padding: 10px 16px; font-size: 14px; box-shadow: 3px 3px 0 var(--ink); }
.btn--wide { width: 100%; }
.btn[disabled] { opacity: 0.55; pointer-events: none; }

.text-link {
  color: inherit; text-underline-offset: 4px;
  text-decoration-thickness: 2px;
  text-decoration-color: var(--orange);
}
.text-link:hover { text-decoration-color: var(--ink); }
.section--dark .text-link:hover { text-decoration-color: var(--acid); }

/* ---------- header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 80;
  height: var(--header-h);
  background: rgba(13, 15, 12, 0.97);
  color: var(--paper);
  border-bottom: 1px solid rgba(216, 255, 62, 0.3);
}
.site-header::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 4px;
  background: repeating-linear-gradient(90deg, var(--acid) 0 18px, transparent 18px 36px);
  opacity: 0.8;
}
.header-inner {
  height: 100%; display: flex; align-items: center; gap: 28px;
}
.brand {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none; flex-shrink: 0;
}
.brand-mark {
  width: 40px; height: 40px; border: 2px solid var(--acid);
  position: relative; overflow: hidden; flex-shrink: 0;
}
.brand-mark::before, .brand-mark::after {
  content: ""; position: absolute; background: var(--acid);
  width: 8px; height: 58px;
  transform: rotate(32deg);
}
.brand-mark::before { left: 6px; top: -8px; }
.brand-mark::after { right: 3px; bottom: -8px; opacity: 0.55; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text strong {
  font-family: var(--font-display); font-size: 18px; letter-spacing: -0.04em;
}
.brand-text small {
  font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.2em;
  color: var(--acid); margin-top: 5px; text-transform: uppercase;
}
.nav {
  display: flex; align-items: center; gap: clamp(12px, 2vw, 26px);
  margin-left: auto;
}
.nav a {
  font-size: 14px; text-decoration: none; color: rgba(241, 239, 229, 0.78);
  padding: 8px 0; position: relative;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 2px;
  height: 3px; background: var(--acid); transition: right 0.2s;
}
.nav a:hover { color: var(--paper); }
.nav a:hover::after { right: 0; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-sos { min-height: 44px; padding: 10px 18px; font-size: 14px; }
.menu-btn {
  display: none; width: 46px; height: 44px;
  border: 2px solid var(--paper); background: transparent; color: var(--paper);
  position: relative;
}
.menu-btn span, .menu-btn span::before, .menu-btn span::after {
  content: ""; position: absolute; left: 11px; right: 11px; height: 2px;
  background: currentColor; transition: transform 0.2s, opacity 0.2s;
}
.menu-btn span { top: 50%; transform: translateY(-50%); }
.menu-btn span::before { top: -7px; left: 0; right: 0; }
.menu-btn span::after { top: 7px; left: 0; right: 0; }
.menu-btn[aria-expanded="true"] span { background: transparent; }
.menu-btn[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }

/* ---------- hero ---------- */

.hero {
  position: relative;
  background: var(--ink);
  color: var(--paper);
  padding: clamp(38px, 6vw, 76px) 0 clamp(54px, 7vw, 100px);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(680px 460px at 78% 18%, rgba(216, 255, 62, 0.12), transparent 68%),
    radial-gradient(520px 340px at 6% 88%, rgba(255, 91, 34, 0.14), transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: "SOS";
  position: absolute; right: -2vw; bottom: -7vw;
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(200px, 33vw, 520px);
  line-height: 0.7; letter-spacing: -0.09em;
  color: transparent; -webkit-text-stroke: 1px rgba(241, 239, 229, 0.09);
  pointer-events: none;
}
.hero-grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  gap: clamp(30px, 4vw, 64px); align-items: center;
}
.hero-copy { max-width: 660px; }
.live-line {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--acid);
  border: 1px solid rgba(216, 255, 62, 0.4);
  padding: 8px 12px;
}
.live-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--acid);
  box-shadow: 0 0 0 0 rgba(216, 255, 62, 0.7);
  animation: live-pulse 2.2s infinite;
}
@keyframes live-pulse {
  0% { box-shadow: 0 0 0 0 rgba(216, 255, 62, 0.6); }
  70% { box-shadow: 0 0 0 9px rgba(216, 255, 62, 0); }
  100% { box-shadow: 0 0 0 0 rgba(216, 255, 62, 0); }
}
.hero h1 {
  font-size: clamp(44px, 6.7vw, 92px);
  font-weight: 900;
  margin: 24px 0 0;
  letter-spacing: -0.055em;
}
.hero h1 em { font-style: normal; color: var(--acid); position: relative; }
.hero h1 em::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 6%;
  height: 12%; background: var(--orange); z-index: -1; transform: skewX(-10deg);
}
.hero-lead {
  margin-top: 24px; max-width: 520px;
  color: rgba(241, 239, 229, 0.78);
  font-size: clamp(16px, 1.5vw, 19px);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero-stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 0; margin-top: 46px; border-top: 1px solid var(--line-dark);
}
.hero-stat { padding: 18px 18px 0 0; border-right: 1px solid var(--line-dark); }
.hero-stat:last-child { border-right: 0; }
.hero-stat b {
  display: block; font-family: var(--font-display); font-size: clamp(26px, 3vw, 38px);
  color: var(--acid); line-height: 1;
}
.hero-stat span {
  display: block; margin-top: 8px; font-size: 12px; color: rgba(241, 239, 229, 0.58);
  font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.08em;
}

.hero-art { position: relative; align-self: center; }
.hero-art__frame {
  position: relative; border: 2px solid var(--paper);
  box-shadow: 14px 14px 0 var(--acid);
  transform: rotate(-1.6deg);
  background: #000;
  overflow: hidden;
}
.hero-art__frame img {
  width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover;
  filter: contrast(1.03) saturate(0.95);
}
.hero-art__frame::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 54%, rgba(13, 15, 12, 0.64));
  pointer-events: none;
}
.hero-sticker {
  position: absolute; top: -26px; right: -10px;
  width: 132px; height: 132px; border-radius: 50%;
  background: var(--acid); color: var(--ink);
  border: 2px solid var(--ink);
  display: grid; place-content: center; text-align: center;
  transform: rotate(9deg);
  font-family: var(--font-mono); font-size: 10px; line-height: 1.3;
  text-transform: uppercase; letter-spacing: 0.06em;
  box-shadow: 5px 5px 0 var(--orange);
  z-index: 3;
}
.hero-sticker b {
  display: block; font-family: var(--font-display); font-size: 30px;
  line-height: 1; letter-spacing: -0.06em;
}
.hero-note {
  position: absolute; left: -18px; bottom: -28px; z-index: 3;
  background: var(--paper); color: var(--ink);
  border: 2px solid var(--ink); padding: 14px 18px;
  font-family: var(--font-mono); font-size: 11px; line-height: 1.5;
  max-width: 250px; box-shadow: 6px 6px 0 var(--orange);
  transform: rotate(1.5deg);
}
.hero-note b { display: block; font-family: var(--font-display); font-size: 15px; margin-bottom: 4px; }

/* ---------- ticker ---------- */

.ticker {
  background: var(--acid); color: var(--ink);
  border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink);
  overflow: hidden; padding: 13px 0;
}
.ticker-track {
  display: flex; gap: 0; width: max-content;
  animation: ticker 34s linear infinite;
  font-family: var(--font-mono); font-size: 12px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
}
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-track span { white-space: nowrap; padding-right: 30px; }
.ticker-track span::after { content: " ✳"; margin-left: 30px; color: var(--red); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- SOS ---------- */

.sos-section { overflow: hidden; }
.sos-grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr);
  gap: clamp(22px, 3vw, 36px); align-items: start;
}
.console {
  background: #10130f; border: 2px solid var(--acid);
  box-shadow: 10px 10px 0 rgba(216, 255, 62, 0.14);
  position: relative;
}
.console-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 10px 16px;
  background: var(--ink-3); border-bottom: 1px solid var(--line-dark);
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--acid);
}
.console-bar::before {
  content: ""; width: 72px; height: 8px;
  background: repeating-linear-gradient(-45deg, var(--acid) 0 6px, transparent 6px 12px);
}
.console-body { padding: clamp(20px, 3vw, 32px); }
.console-title {
  font-family: var(--font-display); font-size: clamp(23px, 3vw, 30px);
  line-height: 1.08; letter-spacing: -0.04em; margin-bottom: 8px;
}
.console-sub { color: rgba(241, 239, 229, 0.62); font-size: 14px; margin-bottom: 22px; }
.chips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 20px; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
  display: flex; align-items: center; justify-content: center;
  min-height: 46px; padding: 8px 10px; text-align: center;
  border: 1px solid var(--line-dark); background: rgba(241, 239, 229, 0.035);
  font-size: 13px; line-height: 1.2; transition: background 0.15s, border 0.15s, color 0.15s;
}
.chip:hover span { border-color: rgba(216, 255, 62, 0.6); }
.chip input:checked + span { background: var(--acid); border-color: var(--acid); color: var(--ink); font-weight: 600; }
.chip input:focus-visible + span { outline: 3px solid var(--orange); outline-offset: 2px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label, .field-label {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em;
  text-transform: uppercase; color: rgba(241, 239, 229, 0.62);
}
.input, .select, .textarea {
  width: 100%; border: 1px solid rgba(241, 239, 229, 0.28);
  background: rgba(241, 239, 229, 0.05); color: var(--paper);
  padding: 13px 14px; min-height: 48px;
  border-radius: 0; outline: none;
  transition: border 0.15s, background 0.15s;
}
.input::placeholder, .textarea::placeholder { color: rgba(241, 239, 229, 0.34); }
.input:focus, .select:focus, .textarea:focus {
  border-color: var(--acid); background: rgba(216, 255, 62, 0.06);
}
.select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--acid) 50%), linear-gradient(135deg, var(--acid) 50%, transparent 50%); background-position: calc(100% - 18px) 21px, calc(100% - 12px) 21px; background-size: 6px 6px; background-repeat: no-repeat; }
.textarea { min-height: 88px; resize: vertical; }
.checkbox {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 12px; line-height: 1.45; color: rgba(241, 239, 229, 0.64);
  margin: 14px 0 18px;
}
.checkbox input { margin-top: 3px; accent-color: var(--acid); flex-shrink: 0; }
.checkbox a { color: var(--paper); }
.console .btn { width: 100%; min-height: 58px; font-size: 17px; }
.console-foot {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px;
  margin-top: 12px; font-family: var(--font-mono); font-size: 10px;
  color: rgba(241, 239, 229, 0.42); text-transform: uppercase; letter-spacing: 0.06em;
}
.form-status {
  margin-top: 14px; padding: 12px 14px; border: 1px solid var(--line-dark);
  font-size: 13px; line-height: 1.4; background: rgba(241, 239, 229, 0.05);
}
.form-status--error { border-color: var(--orange); color: #ffd8ca; background: rgba(255, 91, 34, 0.12); }
.form-status--ok { border-color: var(--acid); color: var(--acid); background: rgba(216, 255, 62, 0.07); }
.honeypot { position: absolute !important; left: -9999px !important; opacity: 0 !important; }

.sos-live { text-align: center; padding: 12px 0 4px; }
.timer-ring {
  --p: 0;
  width: 190px; height: 190px; margin: 6px auto 18px;
  border-radius: 50%;
  background: conic-gradient(var(--acid) calc(var(--p) * 1%), rgba(216, 255, 62, 0.14) 0);
  display: grid; place-items: center; position: relative;
}
.timer-ring::before {
  content: ""; position: absolute; inset: 10px; border-radius: 50%; background: #10130f;
}
.timer-ring__inner { position: relative; text-align: center; }
.timer-ring b {
  display: block; font-family: var(--font-display); font-size: 48px;
  color: var(--acid); line-height: 1; letter-spacing: -0.05em;
}
.timer-ring span { font-family: var(--font-mono); font-size: 9px; color: rgba(241, 239, 229, 0.5); text-transform: uppercase; letter-spacing: 0.12em; }
.live-title { font-family: var(--font-display); font-size: 24px; margin-bottom: 8px; }
.live-text { color: rgba(241, 239, 229, 0.65); font-size: 14px; max-width: 360px; margin: 0 auto 20px; }
.live-code {
  display: inline-block; font-family: var(--font-mono); font-size: 11px;
  color: var(--acid); border: 1px dashed rgba(216, 255, 62, 0.5); padding: 6px 12px; margin-bottom: 18px;
}

.dispatch-card {
  background: var(--paper); color: var(--ink);
  border: 2px solid var(--ink); padding: clamp(22px, 3vw, 30px);
  position: relative; box-shadow: 8px 8px 0 var(--orange);
  transform: rotate(0.7deg);
}
.dispatch-stamp {
  position: absolute; top: 16px; right: -10px;
  font-family: var(--font-mono); font-size: 9px; text-transform: uppercase;
  letter-spacing: 0.12em; color: var(--red); border: 2px solid var(--red);
  padding: 5px 8px; transform: rotate(6deg); opacity: 0.85;
}
.dispatch-card h3 { font-size: 24px; margin-bottom: 10px; padding-right: 80px; }
.dispatch-card p { font-size: 14px; color: #4d5347; }
.dispatch-list { display: grid; gap: 12px; margin: 20px 0; padding: 0; list-style: none; }
.dispatch-list li { display: flex; gap: 11px; align-items: flex-start; font-size: 14px; }
.dispatch-list svg { flex-shrink: 0; margin-top: 2px; }
.dispatch-mail {
  display: block; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line);
}
.dispatch-mail small { display: block; font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 5px; }
.dispatch-mail a { font-family: var(--font-display); font-size: 19px; text-decoration: none; border-bottom: 2px solid var(--orange); }
.emergency-note {
  margin-top: 18px; padding: 12px 14px; background: var(--ink); color: var(--paper);
  font-size: 12px; line-height: 1.5;
}
.emergency-note b { color: var(--acid); }

/* ---------- services ---------- */

.service-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
  position: relative; z-index: 2;
}
.service-card {
  background: var(--white); border: 2px solid var(--ink);
  padding: 24px; position: relative;
  transition: transform 0.18s, box-shadow 0.18s;
}
.service-card:hover { transform: translate(-4px, -4px); box-shadow: var(--shadow); }
.service-card__icon {
  width: 48px; height: 48px; display: grid; place-items: center;
  background: var(--acid); border: 2px solid var(--ink); margin-bottom: 22px;
}
.service-card__icon svg { width: 26px; height: 26px; }
.service-card h3 { font-size: 22px; margin-bottom: 8px; }
.service-card p { font-size: 14px; color: #51574b; min-height: 64px; }
.service-card__foot {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  margin-top: 20px; padding-top: 14px; border-top: 1px dashed var(--line);
}
.service-card__price { font-family: var(--font-mono); font-weight: 600; font-size: 13px; }
.service-card__time { font-family: var(--font-mono); font-size: 10px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
.service-disclaimer {
  margin-top: 24px; font-size: 12px; color: var(--muted); max-width: 720px;
  position: relative; z-index: 2;
}

/* ---------- process ---------- */

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; position: relative; z-index: 2; }
.steps::before {
  content: ""; position: absolute; left: 7%; right: 7%; top: 38px;
  border-top: 2px dashed rgba(216, 255, 62, 0.35); z-index: -1;
}
.step {
  background: var(--ink-2); border: 1px solid rgba(241, 239, 229, 0.16);
  padding: 24px; position: relative;
}
.step:nth-child(2) { transform: translateY(22px); }
.step:nth-child(3) { transform: translateY(44px); }
.step-marker {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--acid); color: var(--ink); border: 2px solid var(--ink);
  display: grid; place-items: center; margin-bottom: 22px;
  box-shadow: 0 0 0 6px rgba(216, 255, 62, 0.12);
}
.step-marker svg { width: 26px; height: 26px; }
.step h3 { font-size: 21px; margin-bottom: 8px; }
.step p { font-size: 14px; color: rgba(241, 239, 229, 0.64); }
.step-tag { margin-top: 16px; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--orange); }

/* ---------- tools ---------- */

.tools-grid {
  display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px;
  align-items: stretch; position: relative; z-index: 2;
}
.tool-card {
  background: var(--white); border: 2px solid var(--ink); padding: clamp(20px, 2.6vw, 28px);
  display: flex; flex-direction: column; gap: 16px; position: relative;
}
.tool-card--wide { grid-column: span 7; }
.tool-card--narrow { grid-column: span 5; }
.tool-card--half { grid-column: span 6; }
.tool-card--dark { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.tool-card--acid { background: var(--acid); }
.tool-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.tool-head h3 { font-size: 22px; }
.tool-tag { font-family: var(--font-mono); font-size: 9px; text-transform: uppercase; letter-spacing: 0.1em; border: 1px solid currentColor; padding: 4px 7px; white-space: nowrap; opacity: 0.7; }
.tool-sub { font-size: 13px; color: var(--muted); margin-top: -6px; }
.tool-card--dark .tool-sub { color: rgba(241, 239, 229, 0.55); }
.tool-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.range-row { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; }
.range-value { font-family: var(--font-mono); font-size: 15px; font-weight: 600; min-width: 78px; text-align: right; }
input[type="range"] {
  width: 100%; accent-color: var(--orange); height: 6px;
}
.calc-addons { display: flex; flex-direction: column; gap: 9px; }
.calc-addons__row { display: flex; flex-wrap: wrap; gap: 8px; }
.calc-check { position: relative; display: inline-flex; }
.calc-check input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.calc-check span {
  display: inline-flex; align-items: center; gap: 6px;
  border: 1px solid var(--line); background: var(--white);
  padding: 7px 10px; font-size: 11.5px; line-height: 1.2; color: var(--ink);
  cursor: pointer; transition: background 0.15s, color 0.15s, border 0.15s;
}
.calc-check span b { font-family: var(--font-mono); font-size: 10px; font-weight: 600; color: var(--orange); }
.calc-check input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.calc-check input:checked + span b { color: var(--acid); }
.calc-check input:focus-visible + span { outline: 3px solid var(--orange); outline-offset: 2px; }
.calc-breakdown {
  border-top: 1px dashed var(--line); padding-top: 12px;
  display: grid; gap: 6px;
}
.calc-breakdown div { display: flex; justify-content: space-between; gap: 12px; font-family: var(--font-mono); font-size: 11.5px; color: var(--muted); }
.calc-breakdown b { color: var(--ink); font-weight: 600; white-space: nowrap; }
.calc-includes { display: flex; flex-direction: column; gap: 8px; }
.calc-includes ul { list-style: none; display: grid; gap: 6px; margin: 0; padding: 0; }
.calc-includes li { position: relative; padding-left: 18px; font-size: 12px; line-height: 1.4; color: var(--muted); }
.calc-includes li::before { content: "+"; position: absolute; left: 0; top: -1px; font-family: var(--font-mono); font-size: 13px; font-weight: 700; color: var(--orange); }
.calc-result {
  margin-top: auto; background: var(--ink); color: var(--paper);
  padding: 16px 18px; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px;
}
.calc-result small { display: block; font-family: var(--font-mono); font-size: 9px; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(241, 239, 229, 0.5); }
.calc-result b { font-family: var(--font-display); font-size: clamp(24px, 3vw, 36px); line-height: 1; color: var(--acid); }
.calc-result span { font-family: var(--font-mono); font-size: 10px; color: rgba(241, 239, 229, 0.55); text-align: right; }
.tool-card--dark .input, .tool-card--dark .select { border-color: var(--line-dark); background: rgba(241, 239, 229, 0.06); }
.tool-card:not(.tool-card--dark) .field label,
.tool-card:not(.tool-card--dark) .field-label { color: var(--muted); }
.tool-card:not(.tool-card--dark) .input,
.tool-card:not(.tool-card--dark) .select {
  border-color: var(--line); background-color: var(--white); color: var(--ink); color-scheme: light;
}
.tool-card:not(.tool-card--dark) .select {
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
}
.tool-card:not(.tool-card--dark) .input::placeholder { color: #92988c; }
.tool-note { font-size: 11px; color: var(--muted); line-height: 1.45; }

.cal-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.cal-title { font-family: var(--font-display); font-size: 17px; }
.cal-nav { display: flex; gap: 6px; }
.cal-nav button {
  width: 34px; height: 34px; border: 1px solid var(--line); background: transparent;
  display: grid; place-items: center; font-size: 16px;
}
.cal-nav button:hover { background: var(--acid); border-color: var(--ink); }
.cal-week, .cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal-week span { text-align: center; font-family: var(--font-mono); font-size: 9px; color: var(--muted); text-transform: uppercase; padding: 4px 0; }
.cal-day {
  height: clamp(34px, 3vw, 42px); border: 1px solid transparent; background: transparent;
  display: grid; place-items: center; position: relative; font-family: var(--font-mono); font-size: 11px;
}
.cal-day:hover { border-color: var(--ink); }
.cal-day.is-muted { color: var(--paper-3); }
.cal-day.is-today { background: var(--ink); color: var(--acid); }
.cal-day.has-event::after {
  content: ""; position: absolute; bottom: 4px; width: 5px; height: 5px;
  background: var(--orange); border-radius: 50%;
}
.cal-day.is-selected { background: var(--acid); color: var(--ink); border-color: var(--ink); }
.cal-event { margin-top: 6px; border-top: 1px solid var(--line); padding-top: 12px; font-size: 12px; min-height: 66px; }
.cal-event b { display: block; font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 4px; color: var(--orange); }

.checklist { display: grid; gap: 8px; }
.check-item {
  display: flex; gap: 10px; align-items: flex-start; padding: 9px 10px;
  border: 1px solid var(--line); font-size: 13px; cursor: pointer;
  background: rgba(241, 239, 229, 0.35); transition: background 0.15s;
}
.check-item:hover { background: var(--acid); }
.check-item input { margin-top: 3px; accent-color: var(--ink); }
.check-item:has(input:checked) { text-decoration: line-through; color: var(--muted); }
.progress-line { height: 8px; background: var(--paper-3); border: 1px solid var(--ink); overflow: hidden; }
.progress-line span { display: block; height: 100%; width: 0; background: var(--orange); transition: width 0.25s; }
.check-meta { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 10px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }

.tip-card { justify-content: space-between; }
.tip-quote { font-family: var(--font-display); font-size: clamp(22px, 2.7vw, 32px); line-height: 1.18; letter-spacing: -0.04em; }
.tip-quote span { color: var(--acid); }
.tip-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.tip-source { font-family: var(--font-mono); font-size: 10px; color: rgba(241, 239, 229, 0.45); text-transform: uppercase; letter-spacing: 0.08em; }

/* ---------- articles ---------- */

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.filter-btn {
  border: 1px solid var(--ink); background: transparent; padding: 8px 14px;
  font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em;
}
.filter-btn:hover, .filter-btn.is-active { background: var(--ink); color: var(--acid); }
.stories { border-top: 2px solid var(--ink); }
.story { border-bottom: 1px solid var(--line); background: transparent; transition: background 0.2s; }
.story.is-open { background: var(--white); }
.story.is-hidden { display: none; }
.story-toggle {
  width: 100%; background: transparent; border: 0; padding: 22px 8px;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 24px;
  text-align: left; align-items: center;
}
.story-toggle:hover .story-title { text-decoration-color: var(--orange); }
.story-kicker {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  font-family: var(--font-mono); font-size: 10px; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--muted); margin-bottom: 7px;
}
.story-kicker .tag { background: var(--acid); color: var(--ink); padding: 3px 7px; }
.story-title {
  font-family: var(--font-display); font-size: clamp(19px, 2.3vw, 27px);
  font-weight: 600; line-height: 1.15; letter-spacing: -0.035em;
  text-decoration: underline; text-decoration-color: transparent;
  text-underline-offset: 5px; text-decoration-thickness: 2px;
  transition: text-decoration-color 0.2s;
}
.story-meta { display: flex; align-items: center; gap: 14px; margin-top: 8px; font-family: var(--font-mono); font-size: 10px; color: var(--muted); }
.story-open-icon {
  width: 42px; height: 42px; border: 1px solid var(--ink); border-radius: 50%;
  position: relative; flex-shrink: 0;
}
.story-open-icon::before, .story-open-icon::after {
  content: ""; position: absolute; background: var(--ink); left: 12px; right: 12px; top: 50%; height: 1.5px;
}
.story-open-icon::after { transform: rotate(90deg); transition: transform 0.2s; }
.story.is-open .story-open-icon::after { transform: rotate(0); }
.story.is-open .story-open-icon { background: var(--acid); }
.story-body { padding: 0 8px 34px; }
.story-text { max-width: 76ch; font-size: 16px; line-height: 1.68; }
.story-text > p + p { margin-top: 14px; }
.story-text > p:first-of-type::first-letter {
  float: left; font-family: var(--font-display); font-size: 58px; line-height: 0.8;
  padding: 6px 10px 0 0; color: var(--orange);
}
.story-text h4 {
  font-size: 17px; margin: 26px 0 8px; letter-spacing: -0.02em;
  text-transform: uppercase; font-family: var(--font-mono); font-weight: 600;
}
.story-text ul, .story-text ol { margin: 10px 0 14px; }
.story-text li + li { margin-top: 6px; }
.story-callout {
  border-left: 4px solid var(--orange); background: var(--paper);
  padding: 14px 18px; margin: 20px 0; font-size: 15px;
}
.story-callout b { display: block; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 5px; color: var(--red); }
.story-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  margin-top: 22px; padding-top: 16px; border-top: 1px dashed var(--line);
  font-family: var(--font-mono); font-size: 10px; color: var(--muted);
}
.story-sos {
  color: var(--ink); background: var(--acid); border: 1px solid var(--ink);
  padding: 6px 10px; text-decoration: none; text-transform: uppercase; letter-spacing: 0.06em;
}
.story-sos:hover { background: var(--orange); }

/* comments */

.comments { margin-top: 26px; border: 1px solid var(--ink); background: var(--paper); }
.comments-head {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 13px 16px; background: var(--ink); color: var(--paper);
}
.comments-head h4 { font-size: 14px; font-family: var(--font-mono); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; }
.comments-count { color: var(--acid); }
.comment-list { padding: 6px 16px; }
.comment { padding: 14px 0; border-bottom: 1px dashed var(--line); }
.comment:last-child { border-bottom: 0; }
.comment--reply { margin-left: 28px; padding-left: 14px; border-left: 2px solid var(--acid-2); }
.comment-head { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.avatar {
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--font-display); font-size: 12px; font-weight: 700;
  background: var(--paper-3); color: var(--ink); flex-shrink: 0;
}
.avatar--a { background: var(--acid); }
.avatar--b { background: #ffc7a8; }
.avatar--c { background: #b9d7ff; }
.avatar--d { background: #ffb7b0; }
.comment-name { font-weight: 600; font-size: 13px; }
.comment-city, .comment-date { font-family: var(--font-mono); font-size: 9px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; }
.comment-text { margin-top: 5px; font-size: 14px; line-height: 1.55; color: #363b32; }
.comment-actions { display: flex; gap: 14px; margin-top: 6px; }
.comment-btn {
  border: 0; background: transparent; padding: 0; font-family: var(--font-mono);
  font-size: 10px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em;
}
.comment-btn:hover { color: var(--ink); text-decoration: underline; }
.comment-btn.is-liked { color: var(--red); }
.comment-more { padding: 0 16px 14px; }
.comment-form-wrap { padding: 14px 16px 16px; border-top: 1px solid var(--line); background: rgba(255, 255, 255, 0.35); }
.comment-form { display: grid; grid-template-columns: 220px 1fr; gap: 10px; }
.comment-form .textarea, .comment-form .input { border-color: var(--line); background: var(--white); color: var(--ink); color-scheme: light; }
.comment-form .field label { color: var(--muted); }
.comment-form .textarea { min-height: 74px; }
.comment-form .field--full { grid-column: 1 / -1; }
.comment-form .input::placeholder, .comment-form .textarea::placeholder { color: #92988c; }
.comment-form-actions { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.comment-form-actions small { font-size: 10px; color: var(--muted); }
.comment-form .btn { min-height: 42px; padding: 9px 15px; font-size: 13px; }
.comment-form-note { font-size: 10px; color: var(--muted); }

/* ---------- news ---------- */

.news-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 18px; position: relative; z-index: 2; }
.news-card {
  border: 1px solid rgba(241, 239, 229, 0.18); padding: 22px;
  background: var(--ink-2); display: flex; flex-direction: column; gap: 10px;
}
.news-card--feature { grid-row: span 2; padding: 0; overflow: hidden; background: var(--paper); color: var(--ink); border-color: var(--ink); }
.news-card--feature img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; filter: contrast(1.05); }
.news-card__body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.news-date { font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--acid); }
.news-card--feature .news-date { color: var(--red); }
.news-card h3 { font-size: 20px; line-height: 1.12; }
.news-card--feature h3 { font-size: clamp(24px, 3vw, 34px); }
.news-card p { font-size: 13px; color: rgba(241, 239, 229, 0.62); }
.news-card--feature p { color: #4e5448; font-size: 14px; }
.news-card__foot { margin-top: auto; padding-top: 12px; font-family: var(--font-mono); font-size: 10px; color: rgba(241, 239, 229, 0.4); }
.news-card--feature .news-card__foot { color: var(--muted); }
.news-list { display: grid; gap: 18px; }

/* ---------- reviews ---------- */

.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.review {
  background: var(--white); border: 2px solid var(--ink); padding: 22px;
  display: flex; flex-direction: column; gap: 12px; position: relative;
}
.review:nth-child(2) { transform: translateY(16px); }
.review:nth-child(5) { transform: translateY(-8px); }
.review::before {
  content: "“"; position: absolute; top: 8px; right: 14px;
  font-family: var(--font-display); font-size: 54px; line-height: 1; color: var(--acid-2);
}
.stars { display: flex; gap: 3px; color: var(--orange); font-size: 14px; letter-spacing: 2px; }
.stars .off { color: #c8c4b5; }
.review blockquote { font-size: 14px; line-height: 1.55; color: #3b4037; }
.review-author { margin-top: auto; padding-top: 10px; border-top: 1px solid var(--line); font-size: 12px; }
.review-author b { display: block; font-family: var(--font-display); font-size: 14px; }
.review-author span { font-family: var(--font-mono); font-size: 9px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; }
.review-note { margin-top: 26px; font-size: 12px; color: var(--muted); }

/* ---------- subscribe ---------- */

.subscribe { overflow: hidden; }
.subscribe::before {
  content: "✳";
  position: absolute; right: -40px; top: -90px;
  font-size: 340px; line-height: 1; color: rgba(13, 15, 12, 0.08);
  pointer-events: none;
}
.subscribe-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 70px); align-items: center; position: relative; z-index: 2; }
.subscribe h2 { font-size: clamp(38px, 5.5vw, 72px); font-weight: 900; }
.subscribe-copy p { margin-top: 18px; max-width: 480px; font-size: 16px; }
.subscribe-benefits { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; }
.subscribe-benefits li { display: flex; gap: 10px; font-size: 14px; }
.subscribe-benefits span { font-family: var(--font-mono); font-size: 10px; border: 1px solid var(--ink); padding: 2px 6px; height: fit-content; }
.subscribe-form {
  background: var(--ink); color: var(--paper); border: 2px solid var(--ink);
  padding: clamp(22px, 3.5vw, 38px); box-shadow: 12px 12px 0 var(--orange);
}
.subscribe-form h3 { font-size: 24px; margin-bottom: 6px; }
.subscribe-form > p { font-size: 13px; color: rgba(241, 239, 229, 0.6); margin-bottom: 18px; }
.subscribe-form .field { margin-bottom: 12px; }
.subscribe-form .checkbox { color: rgba(241, 239, 229, 0.6); }
.subscribe-form .btn { width: 100%; }
.subscribe-form small { display: block; margin-top: 12px; font-size: 10px; color: rgba(241, 239, 229, 0.4); line-height: 1.45; }
.subscribe-success { text-align: center; padding: 12px 0; }
.subscribe-success .big-mark {
  width: 74px; height: 74px; margin: 0 auto 16px; border-radius: 50%;
  background: var(--acid); color: var(--ink); display: grid; place-items: center;
  font-family: var(--font-display); font-size: 30px;
}
.subscribe-success h3 { margin-bottom: 8px; }
.subscribe-success p { font-size: 13px; color: rgba(241, 239, 229, 0.65); }

/* ---------- FAQ ---------- */

.faq-list { max-width: 920px; border-top: 2px solid var(--ink); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 20px 40px 20px 0;
  font-family: var(--font-display); font-size: clamp(16px, 2vw, 20px);
  font-weight: 600; line-height: 1.25; letter-spacing: -0.02em; position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before, .faq-item summary::after {
  content: ""; position: absolute; right: 8px; top: 50%; width: 16px; height: 2px;
  background: var(--ink); transform: translateY(-50%);
}
.faq-item summary::after { transform: translateY(-50%) rotate(90deg); transition: transform 0.2s; }
.faq-item[open] summary::after { transform: translateY(-50%) rotate(0); }
.faq-item p { padding: 0 40px 20px 0; font-size: 15px; color: #464c40; max-width: 75ch; }
.faq-item p + p { padding-top: 0; }

/* ---------- contacts ---------- */

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(26px, 4vw, 50px); align-items: start; position: relative; z-index: 2; }
.contact-email-label { font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--acid); }
.contact-email {
  display: inline-block; margin-top: 10px;
  font-family: var(--font-display); font-size: clamp(26px, 4vw, 48px);
  line-height: 1.05; letter-spacing: -0.05em; color: var(--paper);
  text-decoration: none; border-bottom: 3px solid var(--orange);
  word-break: break-word;
}
.contact-email:hover { color: var(--acid); }
.contact-copy { margin-top: 16px; display: flex; gap: 10px; flex-wrap: wrap; }
.copy-btn { border: 1px solid var(--line-dark); background: transparent; color: var(--paper); padding: 8px 12px; font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.06em; }
.copy-btn:hover { background: var(--acid); color: var(--ink); border-color: var(--acid); }
.contact-card {
  background: var(--ink-2); border: 1px solid var(--line-dark); padding: 22px;
  margin-top: 26px; font-size: 13px; color: rgba(241, 239, 229, 0.66);
}
.contact-card h3 { font-size: 17px; color: var(--paper); margin-bottom: 10px; }
.contact-card p + p { margin-top: 8px; }
.contact-card a { color: var(--acid); }
.requisites { margin-top: 26px; border-top: 1px solid var(--line-dark); padding-top: 16px; display: grid; gap: 8px; }
.requisites div { display: grid; grid-template-columns: 120px 1fr; gap: 10px; font-size: 12px; }
.requisites dt { font-family: var(--font-mono); font-size: 9px; text-transform: uppercase; letter-spacing: 0.06em; color: rgba(241, 239, 229, 0.4); padding-top: 2px; }
.requisites dd { margin: 0; color: rgba(241, 239, 229, 0.85); }
.contact-form { background: var(--paper); color: var(--ink); padding: clamp(22px, 3vw, 32px); border: 2px solid var(--paper); box-shadow: 10px 10px 0 var(--orange); }
.contact-form h3 { font-size: 24px; margin-bottom: 6px; }
.contact-form > p { font-size: 13px; color: var(--muted); margin-bottom: 16px; }
.contact-form .field { margin-bottom: 12px; }
.contact-form label { color: var(--muted); }
.contact-form .input, .contact-form .textarea { border-color: var(--line); background: var(--white); color: var(--ink); }
.contact-form .input::placeholder, .contact-form .textarea::placeholder { color: #92988c; }
.contact-form .checkbox { color: var(--muted); }
.contact-form .checkbox a { color: var(--ink); }
.contact-form .btn { width: 100%; }
.contact-form .textarea { min-height: 110px; }

/* ---------- footer ---------- */

.site-footer { background: var(--ink); color: var(--paper); padding: 46px 0 26px; position: relative; z-index: 2; }
.footer-top { display: grid; grid-template-columns: 1.2fr 0.8fr 0.8fr; gap: 28px; padding-bottom: 34px; border-bottom: 1px solid var(--line-dark); }
.footer-brand .brand { margin-bottom: 14px; }
.footer-brand p { font-size: 12px; color: rgba(241, 239, 229, 0.5); max-width: 320px; }
.footer-col h4 { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--acid); margin-bottom: 12px; }
.footer-col a, .footer-col button { display: block; color: rgba(241, 239, 229, 0.68); background: transparent; border: 0; padding: 4px 0; text-align: left; text-decoration: none; font-size: 13px; }
.footer-col a:hover, .footer-col button:hover { color: var(--paper); text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 20px; font-family: var(--font-mono); font-size: 9px; color: rgba(241, 239, 229, 0.38); text-transform: uppercase; letter-spacing: 0.05em; }
.footer-bottom p { max-width: 720px; line-height: 1.6; }
.footer-legal { display: flex; gap: 14px; flex-wrap: wrap; }
.footer-legal button { background: none; border: 0; padding: 0; color: rgba(241, 239, 229, 0.55); font: inherit; text-transform: inherit; letter-spacing: inherit; }
.footer-legal button:hover { color: var(--acid); }

/* ---------- cookie banner ---------- */

.cookie-banner {
  position: fixed; left: 18px; right: 18px; bottom: 18px; z-index: 120;
  max-width: 720px;
  background: var(--paper); color: var(--ink);
  border: 2px solid var(--ink); box-shadow: 8px 8px 0 rgba(13, 15, 12, 0.35);
  padding: 0; animation: cookie-in 0.35s ease-out;
}
@keyframes cookie-in { from { transform: translateY(24px); opacity: 0; } }
.cookie-banner .hazard { height: 6px; }
.cookie-body { padding: 18px 20px 20px; }
.cookie-body h3 { font-size: 17px; margin-bottom: 6px; }
.cookie-body p { font-size: 12px; color: #4e5448; max-width: 580px; }
.cookie-body a { color: var(--ink); }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.cookie-actions button { min-height: 38px; padding: 8px 12px; font-size: 12px; box-shadow: 2px 2px 0 var(--ink); }
.cookie-settings-btn { background: transparent; border: 0; text-decoration: underline; font-size: 11px; padding: 8px 0; color: #4e5448; }

/* ---------- dialogs ---------- */

dialog {
  width: min(920px, calc(100% - 28px)); max-height: 92vh;
  padding: 0; border: 2px solid var(--ink);
  background: var(--paper); color: var(--ink);
  box-shadow: 14px 14px 0 rgba(0, 0, 0, 0.35);
}
dialog::backdrop { background: rgba(13, 15, 12, 0.82); }
.dialog-head {
  position: sticky; top: 0; z-index: 2;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  background: var(--ink); color: var(--paper);
  padding: 14px 18px; border-bottom: 4px solid var(--acid);
}
.dialog-head h2 { font-size: 17px; font-family: var(--font-mono); font-weight: 600; letter-spacing: 0.02em; }
.dialog-close {
  width: 38px; height: 38px; border: 1px solid var(--line-dark); background: transparent;
  color: var(--paper); font-size: 22px; line-height: 1; display: grid; place-items: center;
}
.dialog-close:hover { background: var(--acid); color: var(--ink); border-color: var(--acid); }
.dialog-body { padding: clamp(22px, 4vw, 42px); max-height: calc(92vh - 67px); overflow-y: auto; font-size: 14px; line-height: 1.65; }
.dialog-body h3 { font-size: 21px; margin: 26px 0 8px; }
.dialog-body h3:first-child { margin-top: 0; }
.dialog-body h4 { font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; margin: 20px 0 6px; }
.dialog-body p + p { margin-top: 9px; }
.dialog-body ul, .dialog-body ol { margin: 8px 0 12px; }
.dialog-body li + li { margin-top: 4px; }
.dialog-body a { text-underline-offset: 3px; }
.dialog-body .doc-meta { font-family: var(--font-mono); font-size: 10px; color: var(--muted); margin-bottom: 18px; }
.dialog-body table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 12px; }
.dialog-body th, .dialog-body td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
.dialog-body th { background: var(--paper-2); font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.04em; }
.cookie-options { display: grid; gap: 12px; margin: 16px 0; }
.cookie-option { border: 1px solid var(--line); padding: 12px 14px; display: flex; gap: 12px; align-items: flex-start; }
.cookie-option input { margin-top: 4px; accent-color: var(--ink); }
.cookie-option b { display: block; font-size: 13px; }
.cookie-option span { display: block; font-size: 11px; color: var(--muted); margin-top: 3px; }
.cookie-option--locked { background: var(--paper-2); }

/* ---------- mobile sos bar ---------- */

.mobile-sos {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  background: var(--ink); border-top: 2px solid var(--acid);
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
  grid-template-columns: 1fr 1fr; gap: 8px;
}
.mobile-sos .btn { min-height: 46px; font-size: 14px; box-shadow: none; clip-path: none; }

/* ---------- progress, active nav, small utilities ---------- */

.road-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px;
  z-index: 200; pointer-events: none;
}
.road-progress span {
  display: block; height: 100%; width: 0;
  background: linear-gradient(90deg, var(--orange), var(--acid));
}
.nav a[aria-current="true"] { color: var(--paper); }
.nav a[aria-current="true"]::after { right: 0; }
.comments-head__note {
  font-family: var(--font-mono); font-size: 9px; color: rgba(241, 239, 229, 0.45);
  text-transform: uppercase; letter-spacing: 0.06em;
}
.section--dark .review-note { color: rgba(241, 239, 229, 0.55); }
.section--dark .review-note a { color: var(--paper); }
.comment-form .form-status { grid-column: 1 / -1; background: var(--white); color: var(--ink); }
.subscribe-form .form-status { color: var(--paper); }
.buttons { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- reveal ---------- */

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-in { opacity: 1; transform: none; }

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

/* ---------- responsive ---------- */

@media (max-width: 1100px) {
  .nav { gap: 14px; }
  .nav a { font-size: 13px; }
  .hero-grid { grid-template-columns: 1fr 0.85fr; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .review-grid { grid-template-columns: repeat(2, 1fr); }
  .review:nth-child(2) { transform: none; }
  .review:nth-child(5) { transform: none; }
}

@media (max-width: 920px) {
  .container { width: min(100% - 36px, 760px); }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: none; }
  .hero-art { max-width: 600px; margin: 34px auto 0; width: 100%; }
  .hero-note { left: 10px; bottom: -20px; }
  .sos-grid { grid-template-columns: 1fr; }
  .dispatch-card { transform: none; }
  .tools-grid { grid-template-columns: 1fr 1fr; }
  .tool-card--wide, .tool-card--narrow, .tool-card--half { grid-column: span 1; }
  .tool-card--wide { grid-column: span 2; }
  .subscribe-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .news-card--feature { grid-row: auto; }
  .news-card--feature img { aspect-ratio: 16 / 8; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .steps { grid-template-columns: 1fr; }
  .steps::before { display: none; }
  .step:nth-child(2), .step:nth-child(3) { transform: none; }
  .step { display: grid; grid-template-columns: 56px 1fr; gap: 0 18px; align-items: start; }
  .step-marker { grid-row: span 3; margin-bottom: 0; }
  .step h3 { margin-top: 3px; }
  .story-toggle { padding: 18px 4px; }
  .story-body { padding-left: 4px; padding-right: 4px; }
}

@media (max-width: 760px) {
  :root { --header-h: 66px; }
  body { font-size: 16px; padding-bottom: 68px; }
  .container { width: calc(100% - 28px); }
  .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--ink); border-bottom: 2px solid var(--acid);
    padding: 12px 20px 20px; flex-direction: column; align-items: stretch;
    gap: 2px;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px 0; font-size: 15px; border-bottom: 1px solid var(--line-dark); }
  .nav a::after { display: none; }
  .menu-btn { display: block; }
  .header-sos { display: none; }
  .site-header { overflow: visible; }
  .mobile-sos { display: grid; }
  .hero { padding-top: 26px; }
  .hero h1 { font-size: clamp(38px, 11vw, 58px); }
  .hero-stats { grid-template-columns: 1fr; gap: 0; }
  .hero-stat { border-right: 0; border-bottom: 1px solid var(--line-dark); padding: 12px 0; display: flex; align-items: baseline; gap: 12px; }
  .hero-stat:last-child { border-bottom: 0; }
  .hero-stat b { font-size: 28px; }
  .hero-stat span { margin-top: 0; }
  .hero-sticker { width: 104px; height: 104px; top: -18px; right: -4px; font-size: 8px; }
  .hero-sticker b { font-size: 24px; }
  .hero-art__frame { box-shadow: 8px 8px 0 var(--acid); }
  .hero-note { position: static; margin-top: 16px; max-width: none; transform: none; box-shadow: 4px 4px 0 var(--orange); }
  .ticker-track { font-size: 10px; }
  .form-grid { grid-template-columns: 1fr; }
  .chips { grid-template-columns: repeat(2, 1fr); }
  .console-body { padding: 18px; }
  .timer-ring { width: 160px; height: 160px; }
  .timer-ring b { font-size: 40px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card p { min-height: 0; }
  .tools-grid { grid-template-columns: 1fr; }
  .tool-card--wide { grid-column: span 1; }
  .tool-row { grid-template-columns: 1fr 1fr; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .section-head p { max-width: none; }
  .story-toggle { grid-template-columns: 1fr auto; gap: 8px 12px; }
  .story-open-icon { width: 36px; height: 36px; }
  .story-meta { flex-wrap: wrap; gap: 8px; }
  .story-text { font-size: 15px; }
  .story-text > p:first-of-type::first-letter { font-size: 46px; }
  .comment { padding: 12px 0; }
  .comment--reply { margin-left: 14px; padding-left: 10px; }
  .comment-form { grid-template-columns: 1fr; }
  .comments-head { flex-wrap: wrap; }
  .review-grid { grid-template-columns: 1fr; }
  .review::before { font-size: 44px; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
  .cookie-banner { left: 10px; right: 10px; bottom: 72px; }
  .cookie-body { padding: 16px; }
  .cookie-actions .btn { flex: 1 1 100%; }
  .contact-email { font-size: clamp(23px, 7vw, 34px); }
  .requisites div { grid-template-columns: 90px 1fr; }
  .dialog-body { padding: 20px 16px 28px; font-size: 13px; }
  .dialog-head h2 { font-size: 13px; }
  .news-card--feature h3 { font-size: 23px; }
  .subscribe-form { box-shadow: 7px 7px 0 var(--orange); }
}

@media (max-width: 420px) {
  .buttons, .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .tool-row { grid-template-columns: 1fr; }
  .cookie-actions { flex-direction: column; }
}
