/* ============================================================
   OASM v2 - «studio hybrid»: тёмный hero со spotlight + светлое
   тело. Onest (кириллический гротеск) + IBM Plex Mono для цифр.
   Все эффекты - чистый CSS/JS, без внешних зависимостей.
   ============================================================ */

@import url("fonts/fonts.css");

:root {
  /* тёмная зона */
  --ink0: #0a0d14;
  --ink1: #10141d;
  --d-line: rgba(233, 234, 238, 0.09);
  --d-text: #eceef2;
  --d-mut: #a0a6b5;
  /* светлая зона */
  --bg: #f6f6f3;
  --card: #ffffff;
  --ink: #14171e;
  --ink-2: #454a56;
  --mut: #666b7d;
  --line: #e5e3db;
  /* акцент */
  --acc: #e5461b;
  --acc-text: #b83208;   /* акцент для текста на светлом фоне: WCAG AA */
  --acc-hi: #ff5a26;
  --acc-soft: rgba(229, 70, 27, 0.08);
  --grad: linear-gradient(135deg, #ff6a3d 0%, #e5461b 60%, #d13a10 100%);
  --glow: 0 10px 32px -10px rgba(229, 70, 27, 0.55);
  --sans: "Onest", "Segoe UI", Tahoma, sans-serif;
  --mono: "IBM Plex Mono", Consolas, "Courier New", monospace;
  --r: 14px;
  --r-sm: 10px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.62;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

/* ---------- типографика ---------- */

h1 { font-weight: 800; font-size: clamp(34px, 4.8vw, 58px); line-height: 1.08; letter-spacing: -0.028em; }
h2 { font-weight: 700; font-size: clamp(26px, 3.2vw, 38px); line-height: 1.15; letter-spacing: -0.02em; }
h3 { font-weight: 650; font-size: 18px; line-height: 1.35; letter-spacing: -0.01em; }

.lead { font-size: clamp(17px, 1.9vw, 19.5px); color: var(--ink-2); line-height: 1.65; font-weight: 400; }
.muted { color: var(--mut); }
/* заголовок для структуры документа: виден скринридеру, не виден глазу */
.vh { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.acc { color: var(--acc-text); }
.mono { font-family: var(--mono); }

.sec-label {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--mono); font-size: 12px; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--mut);
  margin-bottom: 20px;
}
.sec-label::before { content: ""; width: 26px; height: 2px; border-radius: 2px; background: var(--grad); }
.sec-label b { color: var(--acc-text); font-weight: 500; }

.sec { padding: 92px 0; }
.sec-tight { padding: 60px 0; }
.sec-alt { background: #efeeea; }

/* ---------- декоративный datamatrix ---------- */

.dm {
  --m: 4px;
  width: var(--m); height: var(--m);
  background: currentColor;
  margin-right: calc(var(--m) * 8);
  margin-bottom: calc(var(--m) * 8);
  box-shadow:
    0 calc(var(--m)*1) currentColor, 0 calc(var(--m)*2) currentColor,
    0 calc(var(--m)*3) currentColor, 0 calc(var(--m)*4) currentColor,
    0 calc(var(--m)*5) currentColor, 0 calc(var(--m)*6) currentColor,
    0 calc(var(--m)*7) currentColor, 0 calc(var(--m)*8) currentColor,
    calc(var(--m)*1) calc(var(--m)*8) currentColor, calc(var(--m)*2) calc(var(--m)*8) currentColor,
    calc(var(--m)*3) calc(var(--m)*8) currentColor, calc(var(--m)*4) calc(var(--m)*8) currentColor,
    calc(var(--m)*5) calc(var(--m)*8) currentColor, calc(var(--m)*6) calc(var(--m)*8) currentColor,
    calc(var(--m)*7) calc(var(--m)*8) currentColor, calc(var(--m)*8) calc(var(--m)*8) currentColor,
    calc(var(--m)*2) 0 currentColor, calc(var(--m)*4) 0 currentColor,
    calc(var(--m)*6) 0 currentColor, calc(var(--m)*8) 0 currentColor,
    calc(var(--m)*8) calc(var(--m)*2) currentColor, calc(var(--m)*8) calc(var(--m)*4) currentColor,
    calc(var(--m)*8) calc(var(--m)*6) currentColor,
    calc(var(--m)*2) calc(var(--m)*1) currentColor, calc(var(--m)*5) calc(var(--m)*1) currentColor,
    calc(var(--m)*3) calc(var(--m)*2) currentColor, calc(var(--m)*6) calc(var(--m)*2) currentColor,
    calc(var(--m)*1) calc(var(--m)*3) currentColor, calc(var(--m)*4) calc(var(--m)*3) currentColor,
    calc(var(--m)*7) calc(var(--m)*3) currentColor,
    calc(var(--m)*2) calc(var(--m)*4) currentColor, calc(var(--m)*5) calc(var(--m)*4) currentColor,
    calc(var(--m)*1) calc(var(--m)*5) currentColor, calc(var(--m)*6) calc(var(--m)*5) currentColor,
    calc(var(--m)*3) calc(var(--m)*6) currentColor, calc(var(--m)*4) calc(var(--m)*6) currentColor,
    calc(var(--m)*7) calc(var(--m)*6) currentColor,
    calc(var(--m)*2) calc(var(--m)*7) currentColor, calc(var(--m)*5) calc(var(--m)*7) currentColor;
}

/* ---------- верхняя тех-полоса + шапка (тёмные) ---------- */

.topstrip { background: var(--ink0); border-bottom: 1px solid var(--d-line); }
.topstrip .wrap {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--d-mut);
  padding-top: 8px; padding-bottom: 8px;
}
.topstrip b { color: var(--acc-hi); font-weight: 500; }

header.site {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 13, 20, 0.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--d-line);
}
header.site .wrap {
  display: flex; align-items: center; gap: 28px;
  padding-top: 15px; padding-bottom: 15px;
}

.logo {
  display: flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 21px; letter-spacing: 0.14em;
  text-decoration: none; color: var(--d-text);
}
.logo .dm { color: var(--acc-hi); }

nav.menu { display: flex; gap: 26px; margin-left: auto; align-items: center; }
nav.menu a {
  font-size: 14.5px; font-weight: 500; text-decoration: none;
  color: var(--d-mut); padding: 4px 0;
  border-bottom: 2px solid transparent;
  flex-shrink: 0; white-space: nowrap;
  transition: color 0.18s;
}
nav.menu a:hover { color: var(--d-text); }
nav.menu a.active { color: var(--d-text); border-bottom-color: var(--acc); }
nav.menu a.btn { padding: 10px 18px; border-bottom: 0; color: #fff; }
nav.menu a.btn:hover { color: #fff; }

.nav-toggle { display: none; }
label.burger { display: none; }

/* ---------- кнопки ---------- */

.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  white-space: nowrap;
  font-family: var(--sans); font-size: 15.5px; font-weight: 600;
  letter-spacing: 0.01em; text-decoration: none; cursor: pointer;
  padding: 14px 26px; border-radius: var(--r-sm); border: none;
  background: var(--grad); color: #fff;
  box-shadow: var(--glow);
  transition: transform 0.2s, box-shadow 0.25s, filter 0.2s;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 44px -12px rgba(229, 70, 27, 0.65);
  filter: saturate(1.08);
}
.btn:active { transform: translateY(0); }
.btn-acc { background: var(--grad); }

/* ghost с градиентной рамкой */
.btn-ghost {
  background:
    linear-gradient(var(--bg), var(--bg)) padding-box,
    linear-gradient(135deg, rgba(229, 70, 27, 0.7), rgba(229, 70, 27, 0.15)) border-box;
  border: 1.5px solid transparent;
  color: var(--ink); box-shadow: none;
}
.btn-ghost:hover { box-shadow: 0 10px 30px -12px rgba(229, 70, 27, 0.4); }
.dark-zone .btn-ghost, .hero .btn-ghost, .hero-sub .btn-ghost, .cta-band .btn-ghost {
  background:
    linear-gradient(var(--ink1), var(--ink1)) padding-box,
    linear-gradient(135deg, rgba(255, 90, 38, 0.8), rgba(255, 90, 38, 0.12)) border-box;
  color: var(--d-text);
}
.btn-sm { padding: 10px 18px; font-size: 14px; }

/* спиннер внутри кнопки */
.btn .spin {
  width: 16px; height: 16px; flex-shrink: 0; display: none;
  border: 2px solid rgba(255, 255, 255, 0.35); border-top-color: #fff;
  border-radius: 50%;
  animation: rot 0.7s linear infinite;
}
.btn.loading .spin { display: inline-block; }
.btn.loading { pointer-events: none; opacity: 0.85; }
@keyframes rot { to { transform: rotate(360deg); } }

/* ---------- тёмный hero со spotlight ---------- */

.hero, .hero-sub {
  position: relative; overflow: hidden;
  background: var(--ink0); color: var(--d-text);
}
.hero::before, .hero-sub::before, .cta-band::before {
  content: "";
  position: absolute; inset: -40% -20%;
  background:
    radial-gradient(46% 42% at 24% 22%, rgba(255, 90, 38, 0.22), transparent 65%),
    radial-gradient(38% 40% at 78% 6%, rgba(120, 140, 255, 0.10), transparent 60%);
  animation: spot 14s ease-in-out infinite alternate;
  /* свой слой: без него анимация transform засчитывается как сдвиг макета (CLS 0.103 на мобильном) */
  will-change: transform;
  pointer-events: none;
}
@keyframes spot {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(6%, 5%, 0) scale(1.12); }
}
.hero::after, .hero-sub::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--d-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--d-line) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(70% 70% at 50% 30%, #000 0%, transparent 100%);
  -webkit-mask-image: radial-gradient(70% 70% at 50% 30%, #000 0%, transparent 100%);
  opacity: 0.5; pointer-events: none;
}
.hero .wrap, .hero-sub .wrap { position: relative; z-index: 1; }

.hero .wrap {
  display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 56px;
  align-items: center; padding-top: 88px; padding-bottom: 96px;
}
.hero .kicker, .hero-sub .kicker {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--acc-hi); margin-bottom: 20px;
}
.hero h1 { margin-bottom: 22px; color: #fff; }
.hero .lead { margin-bottom: 34px; max-width: 34em; color: var(--d-mut); }
.hero .actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-sub { padding: 72px 0 64px; }
.hero-sub h1 { color: #fff; margin-bottom: 16px; }
.hero-sub .lead { color: var(--d-mut); max-width: 40em; }
.hero-sub .sec-label { color: var(--d-mut); }

@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.rise { animation: rise 0.75s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.d1 { animation-delay: 0.05s; } .d2 { animation-delay: 0.16s; }
.d3 { animation-delay: 0.28s; } .d4 { animation-delay: 0.42s; }

/* ---------- макет-этикетка ---------- */

.label-scene { display: flex; justify-content: center; perspective: 1200px; }
.label-card {
  position: relative;
  width: min(480px, 100%);
  background: #fff; color: var(--ink);
  border-radius: 6px;
  transform: rotate(-1.6deg);
  box-shadow:
    0 40px 90px -30px rgba(0, 0, 0, 0.75),
    0 0 0 1px rgba(255, 255, 255, 0.06),
    0 24px 80px -18px rgba(255, 90, 38, 0.28);
  transition: transform 0.3s;
}
.label-card .lc-img { display: block; width: 100%; height: auto; border-radius: 6px; }
.label-card:hover { transform: rotate(-0.3deg) translateY(-4px); }
/* «сканер» ходит только по зоне DataMatrix (правый нижний угол этикетки) */
.label-card::after {
  content: "";
  position: absolute; left: 75.5%; right: 4.8%; top: 70.5%; height: 2px;
  background: linear-gradient(90deg, transparent, rgba(229, 70, 27, 0.9), transparent);
  box-shadow: 0 0 6px rgba(229, 70, 27, 0.55);
  animation: scan 2.6s ease-in-out infinite;
  pointer-events: none;
}
@keyframes scan { 0% { top: 70.5%; } 50% { top: 95%; } 100% { top: 70.5%; } }

.label-card .lc-stamp {
  position: absolute; top: -13px; right: 14px;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em;
  text-transform: uppercase; color: #fff;
  border-radius: 6px; padding: 4px 10px;
  background: var(--grad); box-shadow: var(--glow);
  transform: rotate(2deg);
}

/* ---------- полоса цифр (тёмная, продолжение hero) ---------- */

.stats { background: var(--ink0); color: var(--d-text); border-bottom: 1px solid var(--d-line); }
.stats .wrap {
  display: grid; grid-template-columns: repeat(4, 1fr);
  padding-top: 8px; padding-bottom: 40px;
  position: relative; z-index: 1;
}
.stat { padding: 26px 26px 0; border-left: 1px solid var(--d-line); }
.stat:first-child { border-left: none; padding-left: 0; }
.stat .num {
  font-family: var(--mono); font-weight: 600;
  font-size: clamp(26px, 3vw, 40px); letter-spacing: -0.02em;
  color: #fff; font-variant-numeric: tabular-nums;
}
.stat .num i { font-style: normal; color: var(--acc-hi); }
.stat .cap { font-size: 13.5px; color: var(--d-mut); margin-top: 4px; }

/* ---------- карточки: свечение + 3D-наклон ---------- */

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cards-2 { grid-template-columns: repeat(2, 1fr); }
.cards-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  --mx: 50%; --my: 50%;
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 28px 28px 26px;
  transition: transform 0.25s cubic-bezier(0.2, 0.7, 0.2, 1), border-color 0.25s, box-shadow 0.3s;
  transform-style: preserve-3d;
  will-change: transform;
}
.card::after {
  content: "";
  position: absolute; inset: 0; border-radius: inherit;
  background: radial-gradient(240px circle at var(--mx) var(--my), var(--acc-soft), transparent 70%);
  opacity: 0; transition: opacity 0.3s;
  pointer-events: none;
}
.card:hover {
  border-color: rgba(229, 70, 27, 0.35);
  box-shadow:
    0 24px 60px -24px rgba(20, 23, 30, 0.25),
    0 12px 40px -18px rgba(229, 70, 27, 0.25);
}
.card:hover::after { opacity: 1; }
.card h3 { margin-bottom: 10px; }
.card p, .card li { font-size: 15px; color: var(--ink-2); }
.card .chip-num {
  font-family: var(--mono); font-size: 11.5px; color: var(--acc-text);
  letter-spacing: 0.12em; display: block; margin-bottom: 12px; text-transform: uppercase;
}
.card ul { padding-left: 18px; margin-top: 8px; }
.card li { margin-bottom: 6px; }

/* ---------- шаги ---------- */

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step {
  position: relative;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r);
  padding: 26px 26px 24px;
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.3s, border-color 0.25s;
}
.step::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--grad);
}
.step:hover { transform: translateY(-4px); border-color: rgba(229, 70, 27, 0.3); box-shadow: 0 20px 50px -22px rgba(20, 23, 30, 0.25); }
.step .n {
  font-family: var(--mono); font-weight: 600; font-size: 28px;
  color: var(--acc-text); display: block; margin-bottom: 10px;
}
.step h3 { margin-bottom: 8px; }
.step p { font-size: 15px; color: var(--ink-2); }
.step .t {
  display: inline-block; margin-top: 14px;
  font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--acc-text);
  border: 1px solid rgba(229, 70, 27, 0.35); border-radius: 999px; padding: 5px 12px;
  background: var(--acc-soft);
}

/* ---------- чипы ---------- */

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.02em;
  border: 1px solid var(--line); border-radius: 999px;
  background: var(--card); color: var(--ink-2);
  padding: 8px 14px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.chip:hover { border-color: rgba(229, 70, 27, 0.4); box-shadow: 0 6px 18px -8px rgba(229, 70, 27, 0.35); }
.chip b { color: var(--acc-text); font-weight: 500; }
.chip-new { border-color: rgba(229, 70, 27, 0.45); color: var(--ink); }

/* ---------- список-таблица ---------- */

.ledger {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r);
  padding: 6px 22px; overflow: hidden;
}
.ledger .row {
  display: grid; grid-template-columns: 150px 1fr auto;
  gap: 18px; align-items: baseline;
  border-bottom: 1px dashed var(--line);
  padding: 14px 2px;
}
.ledger .row:last-child { border-bottom: none; }
.ledger .row .l { font-family: var(--mono); font-size: 13px; color: var(--acc-text); font-weight: 500; white-space: nowrap; }
.ledger .row .m { font-size: 15.5px; }
.ledger .row .r { font-family: var(--mono); font-size: 12px; color: var(--mut); text-align: right; }

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

.faq { display: flex; flex-direction: column; gap: 12px; }
.faq details {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r);
  transition: border-color 0.25s, box-shadow 0.3s;
  overflow: hidden;
}
.faq details:hover { border-color: rgba(229, 70, 27, 0.3); }
.faq details[open] { border-color: rgba(229, 70, 27, 0.4); box-shadow: 0 16px 44px -22px rgba(20, 23, 30, 0.2); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  font-weight: 650; font-size: 16.5px; letter-spacing: -0.01em;
  padding: 19px 22px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; width: 10px; height: 10px; flex-shrink: 0;
  border-right: 2px solid var(--acc); border-bottom: 2px solid var(--acc);
  transform: rotate(45deg); transition: transform 0.25s;
  margin-top: -4px;
}
.faq details[open] summary::after { transform: rotate(225deg); margin-top: 4px; }
.faq .a { padding: 0 22px 20px; color: var(--ink-2); font-size: 15.5px; max-width: 60em; }

/* ---------- тёмная CTA-плита ---------- */

.cta-band { padding: 0 24px 92px; background: var(--bg); }
.cta-band .wrap { max-width: 1140px; padding: 0; }
.cta-band .inner {
  position: relative; overflow: hidden;
  background: var(--ink0); color: var(--d-text);
  border-radius: 24px;
  padding: 72px 32px;
  text-align: center;
}
.cta-band::before { content: none; }
.cta-band .inner::before {
  content: "";
  position: absolute; inset: -40% -20%;
  background:
    radial-gradient(44% 44% at 30% 20%, rgba(255, 90, 38, 0.22), transparent 65%),
    radial-gradient(36% 40% at 76% 10%, rgba(120, 140, 255, 0.09), transparent 60%);
  animation: spot 14s ease-in-out infinite alternate;
  pointer-events: none;
}
.cta-band .inner > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; margin-bottom: 14px; }
.cta-band p { color: var(--d-mut); margin-bottom: 30px; font-size: 17px; }
.cta-band .mono-note {
  font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.14em;
  text-transform: uppercase; color: rgba(146, 152, 168, 0.7); margin-top: 26px; margin-bottom: 0;
}

/* ---------- формы (shadcn-стиль) ---------- */

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.field label {
  display: block; font-size: 13.5px; font-weight: 600; color: var(--ink);
  margin-bottom: 7px; letter-spacing: -0.005em;
}
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--sans); font-size: 15px; color: var(--ink);
  background: var(--card);
  border: 1px solid var(--line); border-radius: var(--r-sm);
  padding: 12px 14px;
  transition: border-color 0.18s, box-shadow 0.18s;
}
.field ::placeholder { color: #a6aab8; }
.field textarea { min-height: 112px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--acc);
  box-shadow: 0 0 0 3.5px rgba(229, 70, 27, 0.18);
}
.form-note { font-size: 13px; color: var(--mut); margin-top: 14px; }
.hp { position: absolute; left: -9999px; opacity: 0; }

/* скелетон-переливание (для превью/заглушек) */
.skeleton {
  background: linear-gradient(100deg, #ececea 40%, #f7f7f5 50%, #ececea 60%);
  background-size: 200% 100%;
  animation: shimmer 1.4s linear infinite;
  border-radius: var(--r-sm);
}
@keyframes shimmer { to { background-position: -200% 0; } }

/* ---------- прочие блоки ---------- */

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }
.prose p { margin-bottom: 14px; color: var(--ink-2); max-width: 62em; }
.prose p b { color: var(--ink); }

.founder { display: grid; grid-template-columns: 260px 1fr; gap: 40px; align-items: start; }
.founder .photo {
  aspect-ratio: 4 / 5; background: var(--card);
  border: 1px solid var(--line); border-radius: var(--r);
  display: flex; align-items: center; justify-content: center;
  color: var(--line);
  box-shadow: 0 24px 60px -28px rgba(20, 23, 30, 0.3);
}
.founder .photo .dm { --m: 10px; color: var(--line); }
.founder .photo img {
  width: 100%; height: 100%; object-fit: cover;
  border-radius: inherit; display: block;
}
.founder blockquote {
  font-size: clamp(19px, 2.2vw, 24px); font-weight: 650; line-height: 1.45;
  letter-spacing: -0.015em; color: var(--ink);
  border-left: 3px solid var(--acc); padding-left: 22px; margin-bottom: 18px;
}

.note-box {
  border: 1px solid rgba(229, 70, 27, 0.35); border-radius: var(--r);
  background: var(--acc-soft);
  padding: 20px 22px; font-size: 15px; color: var(--ink-2);
}

.hr-dash { border: none; border-top: 1px dashed var(--line); margin: 0; }

/* ---------- подвал (тёмный) ---------- */

footer.site { background: var(--ink0); color: var(--d-mut); }
footer.site .cols {
  display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 36px;
  padding: 60px 0 40px;
}
footer.site .logo { color: var(--d-text); }
footer.site h3 {
  font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.14em;
  text-transform: uppercase; color: #8f95a5;
  margin-bottom: 14px; font-weight: 500;
}
footer.site a { color: var(--d-mut); text-decoration: none; border-bottom: 1px solid var(--d-line); transition: color 0.18s; }
footer.site a:hover { color: var(--d-text); border-bottom-color: var(--d-mut); }
footer.site ul { list-style: none; }
footer.site li { margin-bottom: 9px; font-size: 14.5px; }
footer.site .fine {
  border-top: 1px solid var(--d-line);
  padding: 20px 0 26px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.06em;
  color: #8a90a0;
}

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

.rv { opacity: 0; transform: translateY(22px); transition: opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }
.rv.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  /* сканирующая полоска этикетки - маленькая и медленная, оставляем её живой */
  .rise, .hero::before, .hero-sub::before, .cta-band .inner::before, .skeleton { animation: none; }
  .rv { opacity: 1; transform: none; transition: none; }
  .card, .step, .btn { transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- адаптив ---------- */

@media (max-width: 980px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 60px; padding-top: 60px; padding-bottom: 72px; }
  .stats .wrap { grid-template-columns: 1fr 1fr; gap: 0; }
  .stat { padding: 22px 22px 0; }
  .stat:nth-child(odd) { border-left: none; padding-left: 0; }
  .cards, .cards-2, .cards-4, .steps { grid-template-columns: 1fr 1fr; }
  .two-col { grid-template-columns: 1fr; }
  .founder { grid-template-columns: 220px 1fr; }
}

@media (max-width: 720px) {
  .sec { padding: 64px 0; }
  .cards, .cards-2, .cards-4, .steps { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .founder { grid-template-columns: 1fr; }
  .founder .photo { max-width: 260px; }
  .ledger .row { grid-template-columns: 1fr; gap: 4px; }
  .ledger .row .r { text-align: left; }
  .topstrip .right { display: none; }
  footer.site .cols { grid-template-columns: 1fr; gap: 28px; }
  .cta-band .inner { padding: 56px 22px; border-radius: 18px; }

  label.burger {
    display: block; margin-left: auto; cursor: pointer;
    font-family: var(--mono); font-size: 22px; line-height: 1;
    color: var(--d-text);
    padding: 4px 10px; border: 1px solid var(--d-line); border-radius: 8px;
    user-select: none;
  }
  label.burger::after { content: "≡"; }
  .nav-toggle:checked ~ label.burger::after { content: "✕"; }
  nav.menu {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: var(--ink0); border-bottom: 1px solid var(--d-line);
    padding: 8px 24px 18px;
  }
  nav.menu a { padding: 13px 0; width: 100%; border-bottom: 1px solid var(--d-line); }
  nav.menu a.btn { margin-top: 14px; width: auto; padding: 12px 20px; border-bottom: 0; }
  .nav-toggle:checked ~ nav.menu { display: flex; }
  header.site .wrap { position: relative; }
}

/* --- баннер согласия на куки/Метрику --- */
.consent {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 90;
  max-width: 720px; margin: 0 auto;
  background: var(--ink1); color: var(--d-mut);
  border: 1px solid var(--d-line); border-radius: var(--r);
  padding: 16px 20px; box-shadow: 0 18px 48px -18px rgba(0, 0, 0, 0.55);
  display: flex; gap: 14px 18px; align-items: center; flex-wrap: wrap;
  font-size: 14px; line-height: 1.55;
}
.consent p { margin: 0; flex: 1 1 300px; }
.consent a { color: var(--acc-hi); }
.consent-btns { display: flex; gap: 10px; }
.consent button {
  font: inherit; cursor: pointer; border-radius: var(--r-sm);
  padding: 10px 18px; border: 1px solid transparent;
}
.consent .c-yes { background: var(--grad); color: #fff; border: 0; box-shadow: var(--glow); }
.consent .c-no { background: transparent; color: var(--d-mut); border-color: var(--d-line); }
.consent .c-no:hover { color: var(--d-text); }
