/* ============================================================
   SelHub — лендинг кабинета продавца
   Дизайн-система собрана из презентаций SelHub:
   графитовая монохромная подача, Inter, скруглённые карточки.
   ============================================================ */

:root {
  --bg:            #050506;
  --bg-alt:        #08090A;
  --surface:       #101113;
  --surface-2:     #16171A;
  --surface-3:     #1D1F23;
  --line:          rgba(255,255,255,.09);
  --line-strong:   rgba(255,255,255,.16);

  --text:          #F3F3F4;
  --text-2:        #A4A5AA;
  --text-3:        #74767D;

  --white:         #FFFFFF;
  --silver:        linear-gradient(105deg,#FFFFFF 0%,#E2E3E6 45%,#B4B6BB 100%);

  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;

  --gutter: clamp(16px, 4vw, 32px);
  --section-y: clamp(64px, 8.5vw, 132px);
  --maxw: 1200px;

  --ease: cubic-bezier(.2,.7,.2,1);
  --shadow: 0 24px 60px -24px rgba(0,0,0,.9);
  --focus: 0 0 0 2px var(--bg), 0 0 0 4px #8E9096;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }

img, svg { max-width: 100%; display: block; }
h1, h2, h3, h4 { margin: 0; line-height: 1.12; letter-spacing: -.02em; font-weight: 700; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }

:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 6px; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

.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: absolute; left: 50%; top: -100px; transform: translateX(-50%);
  background: var(--white); color: #000; padding: 10px 18px; border-radius: 0 0 10px 10px;
  z-index: 200; font-weight: 600; transition: top .2s var(--ease);
}
.skip-link:focus { top: 0; }

/* ---------- Типографика ---------- */
h1 { font-size: clamp(34px, 5.6vw, 60px); }
h2 { font-size: clamp(26px, 3.7vw, 42px); }
h3 { font-size: clamp(17px, 1.6vw, 20px); }
.eyebrow {
  font-size: 12px; letter-spacing: .09em; text-transform: uppercase;
  color: var(--text-3); font-weight: 500; margin-bottom: 14px;
}
.lead { font-size: clamp(16px, 1.5vw, 19px); color: var(--text-2); }
.section__lead { font-size: clamp(15px, 1.35vw, 18px); color: var(--text-2); max-width: 62ch; }
.accent { background: var(--silver); -webkit-background-clip: text; background-clip: text; color: transparent; }
.note { font-size: 13px; line-height: 1.6; color: var(--text-3); max-width: 78ch; }
.note--inline { margin-top: 26px; }
.link { color: var(--text); border-bottom: 1px solid var(--line-strong); }
.link:hover { border-color: var(--text); }
.link-quiet { color: var(--text-2); font-size: 14px; }
.link-quiet:hover { color: var(--text); }

/* ---------- Кнопки ---------- */
.btn {
  --btn-bg: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: inherit; font-weight: 600; font-size: 15px; line-height: 1;
  padding: 14px 22px; border-radius: var(--r-md); border: 1px solid transparent;
  background: var(--btn-bg); color: var(--text); cursor: pointer;
  transition: transform .18s var(--ease), background .18s var(--ease), border-color .18s var(--ease), opacity .18s var(--ease);
  text-align: center;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--white); color: #08090A; box-shadow: 0 10px 30px -14px rgba(255,255,255,.5); }
.btn--primary:hover { background: #E4E5E7; }
.btn--ghost { border-color: var(--line-strong); color: var(--text); background: rgba(255,255,255,.02); }
.btn--ghost:hover { border-color: var(--text-3); background: rgba(255,255,255,.05); }
.btn--quiet { padding: 10px 0; color: var(--text-2); font-size: 14px; }
.btn--quiet:hover { color: var(--text); }
.btn--sm { padding: 10px 16px; font-size: 14px; }
.btn--lg { padding: 17px 28px; font-size: 16px; }
.btn--block { width: 100%; }

/* ---------- Бейджи ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 500; color: var(--text-2);
  background: rgba(255,255,255,.06); border: 1px solid var(--line);
  padding: 5px 11px; border-radius: 999px; white-space: nowrap;
}
.badge--wip::before, .badge--check::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--text-3); box-shadow: 0 0 0 3px rgba(255,255,255,.06);
}
.badge--check { color: var(--text-2); }

/* ---------- Шапка ---------- */
.site-header {
  position: sticky; top: 0; z-index: 90;
  background: rgba(5,5,6,.72);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease), background .25s var(--ease);
}
.site-header.is-stuck { border-bottom-color: var(--line); background: rgba(5,5,6,.9); }
.header__inner { display: flex; align-items: center; gap: 24px; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.logo__mark { display: grid; place-items: center; }
.logo__text { font-weight: 700; font-size: 19px; letter-spacing: -.02em; }
.nav { display: flex; gap: 26px; margin-inline: auto; font-size: 14.5px; color: var(--text-2); }
.nav a { position: relative; padding: 6px 0; transition: color .18s var(--ease); }
.nav a:hover, .nav a.is-active { color: var(--text); }
.nav a.is-active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--line-strong);
}
.header__actions { display: flex; align-items: center; gap: 14px; flex: none; }
.burger { display: none; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: var(--r-sm); background: transparent; cursor: pointer; padding: 0; }
.burger span { display: block; width: 16px; height: 1.5px; background: var(--text); margin: 3px auto; transition: transform .2s var(--ease), opacity .2s var(--ease); }
.burger[aria-expanded="true"] span:first-child { transform: translateY(2.2px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-2.2px) rotate(-45deg); }

/* ---------- Первый экран ---------- */
.hero {
  position: relative;
  padding-top: clamp(48px, 7vw, 96px);
  padding-bottom: clamp(40px, 5vw, 72px);
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: -30% -10% auto -10%; height: 720px; pointer-events: none;
  background:
    radial-gradient(60% 55% at 22% 30%, rgba(255,255,255,.07), transparent 70%),
    radial-gradient(45% 40% at 85% 10%, rgba(255,255,255,.05), transparent 70%);
}
.hero__grid {
  position: relative;
  display: grid; grid-template-columns: minmax(0,1.05fr) minmax(0,.95fr);
  gap: clamp(32px, 5vw, 72px); align-items: center;
}
.hero__copy h1 { margin-bottom: 22px; }
.hero__copy .lead { max-width: 46ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__note { margin-top: 16px; font-size: 14px; color: var(--text-3); max-width: 52ch; }
.brand-link {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 30px;
  padding: 10px 14px 10px 16px; border: 1px solid var(--line); border-radius: 999px;
  font-size: 14px; color: var(--text-2); transition: border-color .2s var(--ease), color .2s var(--ease);
}
.brand-link { flex-wrap: wrap; }
.brand-link:hover { border-color: var(--line-strong); color: var(--text); }
.brand-link .dot { color: var(--text-3); }

/* Панель-схема */
.panel {
  background: linear-gradient(158deg, var(--surface-2) 0%, #0E0F11 100%);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 20px;
  box-shadow: var(--shadow);
  position: relative; overflow: hidden;
}
.panel::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background: repeating-linear-gradient(115deg, rgba(255,255,255,.018) 0 2px, transparent 2px 9px);
}
.panel__head { position: relative; z-index: 1; }
.panel__tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  font: inherit; font-size: 13.5px; font-weight: 500; cursor: pointer;
  padding: 8px 15px; border-radius: 999px; color: var(--text-2);
  background: rgba(255,255,255,.04); border: 1px solid var(--line);
  transition: background .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease);
}
.chip:hover { color: var(--text); }
.chip[aria-selected="true"] { background: var(--white); color: #0A0A0B; border-color: var(--white); }
.panel__body { position: relative; z-index: 1; margin-top: 20px; min-height: 288px; }
.flow__list { display: grid; gap: 8px; }
.flow__list li {
  display: flex; align-items: center; gap: 14px;
  background: rgba(255,255,255,.035); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 14px 16px;
  animation: rise .38s var(--ease) both;
}
.flow__list li:nth-child(2) { animation-delay: .04s; }
.flow__list li:nth-child(3) { animation-delay: .08s; }
.flow__list li:nth-child(4) { animation-delay: .12s; }
.flow__list li:nth-child(5) { animation-delay: .16s; }
.flow__step { font-size: 12px; font-weight: 600; color: var(--text-3); font-variant-numeric: tabular-nums; }
.flow__label { font-size: 14.5px; color: var(--text); }
.panel__disclaimer {
  position: relative; z-index: 1; margin-top: 18px; padding-top: 16px;
  border-top: 1px solid var(--line); font-size: 12.5px; color: var(--text-3);
}
@keyframes rise { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .flow__list li { animation: none; } }

/* Полоса каналов */
.channels-strip {
  display: flex; align-items: center; flex-wrap: wrap; gap: 12px 24px;
  margin-top: clamp(36px, 5vw, 64px); padding-top: 24px; border-top: 1px solid var(--line);
}
.channels-strip__label { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--text-3); }
.channels-strip__list { display: flex; flex-wrap: wrap; gap: 8px 10px; margin-inline: auto 0; }
.channels-strip__list li {
  font-size: 14.5px; font-weight: 500; color: var(--text-2);
  border: 1px solid var(--line); border-radius: var(--r-sm); padding: 7px 13px;
  background: rgba(255,255,255,.02);
}
.channels-strip__note { font-size: 12.5px; color: var(--text-3); margin-left: auto; }

/* ---------- Секции ---------- */
.section { padding-block: var(--section-y); position: relative; }
.section--alt { background: var(--bg-alt); border-block: 1px solid var(--line); }
.section__head { margin-bottom: clamp(28px, 3.5vw, 48px); }
.section__head h2 { margin-bottom: 16px; }

.grid { display: grid; gap: 16px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0,1fr)); }

.card {
  background: linear-gradient(160deg, var(--surface-2) 0%, #0D0E10 100%);
  border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 24px; display: flex; flex-direction: column; gap: 10px;
  transition: border-color .2s var(--ease), transform .2s var(--ease);
}
.card h3 { letter-spacing: -.01em; }
.card p { font-size: 14.5px; color: var(--text-2); }
.card--task { cursor: default; }
.card--task:hover, .card--task.is-picked { border-color: var(--line-strong); }
.card--task .btn--quiet { margin-top: auto; align-self: flex-start; }
.card--step .card__index { font-size: 12px; color: var(--text-3); font-variant-numeric: tabular-nums; }
.card--flag { gap: 12px; }
.card > .badge { align-self: flex-start; }
.card--flag .badge { align-self: flex-start; }
.card--cta { gap: 14px; padding: 28px; border-color: var(--line-strong); }
.card__micro { font-size: 12.5px; color: var(--text-3); }
.hr { border: 0; border-top: 1px solid var(--line); margin: 4px 0; }

.cta-row {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap;
  gap: 18px; margin-top: clamp(24px, 3vw, 40px);
}
.cta-row .note { flex: 1 1 320px; }

/* ---------- Процесс ---------- */
.process { border: 1px solid var(--line); border-radius: var(--r-xl); background: var(--surface); overflow: hidden; }
.process__tabs { display: flex; gap: 4px; padding: 10px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.process__tabs::-webkit-scrollbar { display: none; }
.tab {
  font: inherit; font-size: 14.5px; font-weight: 500; cursor: pointer; white-space: nowrap;
  padding: 10px 18px; border-radius: var(--r-sm); border: 1px solid transparent;
  background: transparent; color: var(--text-2);
  transition: background .18s var(--ease), color .18s var(--ease);
}
.tab:hover { color: var(--text); background: rgba(255,255,255,.04); }
.tab[aria-selected="true"] { background: rgba(255,255,255,.08); color: var(--text); border-color: var(--line); }
.process__panel { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 0; }
.stage { padding: clamp(20px, 2.4vw, 30px); border-right: 1px solid var(--line); }
.stage:last-child { border-right: 0; }
.stage__title { font-size: 13px; text-transform: uppercase; letter-spacing: .07em; color: var(--text-3); font-weight: 600; margin-bottom: 16px; }
.ticks { display: grid; gap: 11px; }
.ticks li { position: relative; padding-left: 22px; font-size: 14.5px; color: var(--text); }
.ticks li::before {
  content: ""; position: absolute; left: 2px; top: 8px; width: 7px; height: 7px;
  border-radius: 2px; border: 1px solid var(--text-3);
}
.ticks__pending { color: var(--text-3) !important; font-size: 13.5px !important; }
.ticks__pending::before { border-style: dashed; }

/* ---------- Цена ---------- */
.split { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,.9fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.split--reverse .split__copy { order: 0; }
.split__aside { display: grid; gap: 16px; }
.split__copy h2 { margin-bottom: 16px; }
.split__copy .btn { margin-top: 28px; }
.formula { margin-top: 28px; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.formula__row { display: grid; grid-template-columns: 128px 1fr; gap: 16px; padding: 16px 20px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.015); }
.formula__row:last-child { border-bottom: 0; }
.formula__row--out { background: rgba(255,255,255,.06); }
.formula__key { font-size: 12px; text-transform: uppercase; letter-spacing: .07em; color: var(--text-3); padding-top: 2px; }
.formula__val { font-size: 14.5px; color: var(--text); }

/* ---------- Матрица ---------- */
.matrix { margin-top: clamp(28px, 3.5vw, 48px); }
.matrix__head { display: flex; flex-direction: column; gap: 10px; margin-bottom: 18px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
.table-wrap:focus-visible { box-shadow: var(--focus); }
.table { width: 100%; border-collapse: collapse; min-width: 720px; }
.table th, .table td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); font-size: 14px; }
.table thead th { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--text-3); font-weight: 600; background: rgba(255,255,255,.03); }
.table tbody th { font-weight: 600; color: var(--text); }
.table tbody tr:last-child th, .table tbody tr:last-child td { border-bottom: 0; }
.mark { display: inline-block; font-size: 13px; color: var(--text-2); border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px; background: rgba(255,255,255,.04); }
.mark--none { color: var(--text-3); border-style: dashed; background: transparent; }
.matrix .note { margin-top: 14px; }

/* ---------- Цикл ---------- */
.cycle { display: grid; gap: 10px; }
.cycle li { display: flex; gap: 14px; align-items: flex-start; border: 1px solid var(--line); border-radius: var(--r-md); padding: 16px 18px; background: rgba(255,255,255,.02); }
.cycle__num { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 12.5px; font-weight: 600; color: var(--text-2); border: 1px solid var(--line-strong); }
.cycle h3 { font-size: 15.5px; margin-bottom: 4px; }
.cycle p { font-size: 14px; color: var(--text-2); }

/* ---------- Этапы внедрения ---------- */
.stages { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; counter-reset: st; }
.stages__item {
  position: relative; padding: 24px; border: 1px solid var(--line); border-radius: var(--r-lg);
  background: linear-gradient(160deg, var(--surface-2) 0%, #0D0E10 100%); display: flex; flex-direction: column; gap: 10px;
}
.stages__num { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); }
.stages__item p { font-size: 14.5px; color: var(--text-2); }
.stages__who { font-size: 13px !important; color: var(--text-3) !important; margin-top: auto; padding-top: 8px; border-top: 1px solid var(--line); }
.stages__who b { color: var(--text-2); font-weight: 600; }

/* ---------- Бренд ---------- */
.brand-block { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.brand-block__copy .badge { margin-bottom: 16px; }
.brand-block__copy h2 { margin-bottom: 16px; }
.brand-block__copy .btn { margin-top: 28px; }
.brand-block__list { display: grid; gap: 14px; }
.brand-block__list li { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px 22px; background: rgba(255,255,255,.02); }
.brand-block__list h3 { font-size: 16px; margin-bottom: 6px; }
.brand-block__list p { font-size: 14.5px; color: var(--text-2); }

/* ---------- FAQ и финал ---------- */
.final { display: grid; grid-template-columns: minmax(0,1.25fr) minmax(0,.75fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.final__faq h2 { margin-bottom: 26px; }
.accordion { border-top: 1px solid var(--line); }
.acc { border-bottom: 1px solid var(--line); }
.acc summary {
  list-style: none; cursor: pointer; padding: 18px 40px 18px 0; position: relative;
  font-size: 16px; font-weight: 500; color: var(--text); transition: color .18s var(--ease);
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary:hover { color: #fff; }
.acc summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 11px; height: 11px; margin-top: -6px;
  border-right: 1.5px solid var(--text-3); border-bottom: 1.5px solid var(--text-3);
  transform: rotate(45deg); transition: transform .22s var(--ease);
}
.acc[open] summary::after { transform: rotate(-135deg); }
.acc__body { padding: 0 30px 20px 0; }
.acc__body p { font-size: 14.5px; color: var(--text-2); }
.final__cta { position: sticky; top: 92px; }

/* ---------- Подвал ---------- */
.site-footer { border-top: 1px solid var(--line); padding-top: clamp(40px, 5vw, 64px); padding-bottom: 32px; background: var(--bg-alt); }
.footer__grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.footer__tagline { margin-top: 10px; font-size: 14px; color: var(--text-3); }
.footer__col h4 { font-size: 12px; text-transform: uppercase; letter-spacing: .07em; color: var(--text-3); font-weight: 600; margin-bottom: 14px; }
.footer__col a { display: block; font-size: 14.5px; color: var(--text-2); padding: 5px 0; }
.footer__col a:hover { color: var(--text); }
.footer__bottom {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  margin-top: clamp(32px, 4vw, 56px); padding-top: 22px; border-top: 1px solid var(--line);
  font-size: 12.5px; color: var(--text-3);
}
.footer__legal { max-width: 62ch; }

/* ---------- Модальное окно ---------- */
.modal { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: var(--gutter); }
.modal[hidden] { display: none; }
.modal__overlay { position: absolute; inset: 0; background: rgba(3,3,4,.78); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); animation: fade .2s var(--ease); }
.modal__panel:focus { outline: none; }
.modal__panel {
  position: relative; width: min(560px, 100%); max-height: min(88svh, 880px); overflow-y: auto;
  background: linear-gradient(165deg, #17181B 0%, #0C0D0F 100%);
  border: 1px solid var(--line-strong); border-radius: var(--r-xl);
  padding: clamp(22px, 3vw, 34px); box-shadow: var(--shadow);
  animation: pop .24s var(--ease);
  overscroll-behavior: contain;
}
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.99); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .modal__overlay, .modal__panel:focus { outline: none; }
.modal__panel { animation: none; } }
.modal__close {
  position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: 50%; background: rgba(255,255,255,.04); color: var(--text-2); cursor: pointer;
  transition: color .18s var(--ease), border-color .18s var(--ease);
}
.modal__close:hover { color: var(--text); border-color: var(--line-strong); }
.modal__title { font-size: clamp(21px, 2.4vw, 26px); padding-right: 44px; }
.modal__lead { margin-top: 12px; font-size: 14.5px; color: var(--text-2); }
.modal__notice {
  margin-top: 14px; padding: 13px 15px; border: 1px solid var(--line); border-left: 2px solid var(--text-3);
  border-radius: var(--r-sm); font-size: 14px; color: var(--text-2); background: rgba(255,255,255,.03);
}

/* ---------- Формы ---------- */
.form { margin-top: 22px; display: grid; gap: 16px; }
.field { display: grid; gap: 8px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
.field label, .field legend { font-size: 13.5px; color: var(--text-2); padding: 0; }
.field__opt { color: var(--text-3); }
.field--contact legend { margin-bottom: 8px; }
input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  font: inherit; font-size: 15px; width: 100%; color: var(--text);
  background: rgba(255,255,255,.04); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 13px 15px; transition: border-color .18s var(--ease), background .18s var(--ease);
  appearance: none;
}
textarea { resize: vertical; min-height: 84px; }
select {
  background-image: linear-gradient(45deg, transparent 50%, var(--text-3) 50%), linear-gradient(135deg, var(--text-3) 50%, transparent 50%);
  background-position: calc(100% - 20px) 21px, calc(100% - 14px) 21px;
  background-size: 6px 6px, 6px 6px; background-repeat: no-repeat; padding-right: 40px;
}
select option { background: #111214; color: var(--text); }
input::placeholder, textarea::placeholder { color: var(--text-3); }
input:hover, select:hover, textarea:hover { border-color: var(--line-strong); }
input:focus, select:focus, textarea:focus { outline: none; border-color: #9A9CA2; background: rgba(255,255,255,.06); }
input[aria-invalid="true"] { border-color: #C8635E; }
.field__error { font-size: 13px; color: #E08A85; }

.segmented { display: inline-flex; gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.03); }
.segmented__opt { position: relative; }
.segmented__opt input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.segmented__opt span {
  display: block; padding: 8px 18px; border-radius: 999px; font-size: 13.5px; color: var(--text-2);
  transition: background .18s var(--ease), color .18s var(--ease);
}
.segmented__opt input:checked + span { background: var(--white); color: #0A0A0B; font-weight: 600; }
.segmented__opt input:focus-visible + span { box-shadow: var(--focus); }

.check { display: grid; grid-template-columns: 20px 1fr; gap: 11px; align-items: start; font-size: 13.5px; color: var(--text-2); cursor: pointer; }
.check input { appearance: none; width: 20px; height: 20px; margin: 0; border: 1px solid var(--line-strong); border-radius: 6px; background: rgba(255,255,255,.04); cursor: pointer; position: relative; transition: background .15s var(--ease); }
.check input:checked { background: var(--white); border-color: var(--white); }
.check input:checked::after { content: ""; position: absolute; left: 6px; top: 2px; width: 5px; height: 10px; border-right: 2px solid #0A0A0B; border-bottom: 2px solid #0A0A0B; transform: rotate(42deg); }
.check b { font-weight: 400; color: var(--text-3); }
.check--inline { grid-template-columns: 18px auto; gap: 8px; font-size: 14px; align-items: center; }
.check--inline input { width: 18px; height: 18px; border-radius: 5px; }
.check--inline input:checked::after { left: 5px; top: 1px; width: 5px; height: 9px; }
.checks { display: flex; flex-wrap: wrap; gap: 10px 18px; }

.form__micro { font-size: 12.5px; color: var(--text-3); }
.form__section { font-size: 14.5px; color: var(--text-2); }
.form__actions { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.form__status { font-size: 13.5px; color: var(--text-2); border: 1px solid var(--line); border-left: 2px solid var(--text-3); border-radius: var(--r-sm); padding: 12px 14px; background: rgba(255,255,255,.03); }
.form__status[data-tone="error"] { border-left-color: #C8635E; color: #E4A7A3; }
.form__status[data-tone="demo"] { border-left-color: var(--text-2); }
.form.is-busy { opacity: .6; pointer-events: none; }

/* ---------- Появление секций ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- Адаптив ---------- */
@media (max-width: 1080px) {
  .grid--4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .stages { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .nav { gap: 18px; font-size: 14px; }
  .header__mail { display: none; }
}
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__panel { order: 2; }
  .split, .brand-block, .final { grid-template-columns: 1fr; }
  .final__cta { position: static; }
  .process__panel { grid-template-columns: 1fr; }
  .stage { border-right: 0; border-bottom: 1px solid var(--line); }
  .stage:last-child { border-bottom: 0; }
  .channels-strip__list, .channels-strip__note { margin-left: 0; }
}
@media (max-width: 760px) {
  .nav {
    position: fixed; inset: 68px 0 auto 0; flex-direction: column; gap: 0;
    background: rgba(6,6,8,.98); border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 20px; display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
  .nav a:last-child { border-bottom: 0; }
  .burger { display: block; }
  .header__actions .btn--primary { display: none; }
  .grid--2, .grid--4, .stages, .field-row { grid-template-columns: 1fr; }
  .formula__row { grid-template-columns: 1fr; gap: 6px; }
  .cta-row .btn { width: 100%; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 26px; }
  .modal { padding: 0; place-items: end stretch; }
  .modal__panel:focus { outline: none; }
.modal__panel { width: 100%; max-height: 92svh; border-radius: var(--r-xl) var(--r-xl) 0 0; border-bottom: 0; }
}
@media (max-width: 480px) {
  .brand-link .dot { display: none; }
}
@media (max-width: 420px) {
  .footer__grid { grid-template-columns: 1fr; }
  .hero__cta .btn { width: 100%; }
}
