/* Стилі ленда Skill Host.
 *
 * Сторінка збудована на контрасті: темна шапка й темний блок безпеки —
 * навколо них світлі секції з великими макетами самої панелі. Синій, чорнило
 * й радіуси взяті з panel/static/css/panel.css, щоб директор, натиснувши
 * «Вхід», потрапив у те саме місце, а не на інший сайт.
 *
 * Збірки немає: один файл, який можна прочитати очима. */

:root {
  color-scheme: light;

  /* Темні поверхні (шапка, блок безпеки, картка заявки) */
  --deep: #080e1b;
  --deep-2: #0e1729;
  --rail: #16233c;
  --rail-2: #1e3054;
  --on-deep: #ffffff;
  --on-deep-soft: #b8c9e2;
  --on-deep-dim: #8fa6c6;

  /* Світлі поверхні */
  --paper: #f4f7fb;
  --surface: #ffffff;
  --surface-2: #f8fafd;
  --line: #e3e9f2;

  --ink: #0b1220;
  --ink-soft: #475569;
  --muted: #6b7c95;

  --accent: #3b82f6;
  --accent-dark: #2563eb;
  --accent-soft: #e8f0ff;
  --sky: #7dd3fc;

  --ok: #15803d;
  --ok-soft: #dcfce7;
  --wait: #a16207;
  --wait-soft: #fef3c7;
  --danger: #b91c1c;

  --radius: 14px;
  --radius-lg: 20px;
  --shadow-card: 0 1px 2px rgb(15 23 42 / 6%), 0 8px 24px rgb(15 23 42 / 6%);
  --shadow-win: 0 30px 70px rgb(8 14 27 / 18%);
  --shadow-hero: 0 40px 90px rgb(8 14 27 / 45%);

  --display: "Unbounded", "Trebuchet MS", system-ui, sans-serif;
  --body: "Onest", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.62 var(--body);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -0.03em;
  margin: 0 0 18px;
}
h1 { font-size: clamp(34px, 5.2vw, 68px); line-height: 1.04; }
h2 { font-size: clamp(27px, 3.4vw, 44px); line-height: 1.1; }
h3 { font-size: 19px; line-height: 1.25; letter-spacing: -0.02em; margin-bottom: 8px; }
p { margin: 0 0 16px; }
b { font-weight: 600; }

a { color: var(--accent-dark); text-underline-offset: 3px; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 28px; }

.skip {
  position: absolute; left: -9999px; top: 10px; z-index: 60;
  padding: 10px 16px; background: var(--surface); border-radius: var(--radius);
}
.skip:focus { left: 14px; }

/* ── Кнопки ────────────────────────────────────────────────────────────── */

.btn {
  display: inline-block;
  padding: 14px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font: 600 15.5px/1 var(--body);
  text-decoration: none;
  cursor: pointer;
  transition: background-color .16s ease, border-color .16s ease, color .16s ease;
}
.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover { background: var(--accent-dark); }
.btn--ghost { color: #fff; border-color: rgb(255 255 255 / 24%); }
.btn--ghost:hover { border-color: rgb(255 255 255 / 55%); }
.btn[disabled] { opacity: .55; cursor: progress; }

/* ── Шапка ─────────────────────────────────────────────────────────────── */

.hero {
  position: relative;
  overflow: hidden;
  background: var(--deep);
  color: var(--on-deep);
  padding: 22px 0 200px;
}
/* Дві м'які плями світла й ледь помітна сітка: інакше велика темна площина
   виглядає як залитий прямокутник. */
.hero::before {
  content: "";
  position: absolute;
  inset: -25% -10% auto -10%;
  height: 860px;
  background:
    radial-gradient(58% 58% at 28% 26%, rgb(59 130 246 / 30%), transparent 70%),
    radial-gradient(42% 42% at 80% 8%, rgb(14 165 233 / 20%), transparent 70%);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgb(255 255 255 / 4.5%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 4.5%) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(180deg, #000, transparent 74%);
}
.hero > .wrap { position: relative; z-index: 2; }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(52px, 8vw, 96px);
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font: 600 19px/1 var(--display);
  letter-spacing: -0.02em;
  color: inherit;
  text-decoration: none;
}
.logo i {
  width: 34px; height: 34px;
  border-radius: 10px;
  display: grid; place-items: center;
  background: linear-gradient(150deg, var(--accent), var(--accent-dark));
  color: #fff;
  font: 500 12.5px/1 var(--mono);
  font-style: normal;
}
.nav__links { display: none; gap: 30px; font-size: 15.5px; }
.nav__cta { display: none; }
.nav__links a { color: var(--on-deep-soft); text-decoration: none; }
.nav__links a:hover { color: #fff; }

h1 { max-width: 16ch; }
h1 em { font-style: normal; color: var(--sky); }

.hero__sub {
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.55;
  color: var(--on-deep-soft);
  max-width: 56ch;
  margin-bottom: 32px;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 13px; }

.facts {
  list-style: none;
  margin: clamp(44px, 6vw, 64px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px 20px;
}
.facts b {
  display: block;
  font: 600 clamp(21px, 2.1vw, 28px)/1.05 var(--display);
  letter-spacing: -0.03em;
  margin-bottom: 6px;
}
.facts span { font-size: 14.5px; color: var(--on-deep-dim); }

/* ── Вікна панелі ──────────────────────────────────────────────────────── */

.stage { margin-top: -160px; position: relative; z-index: 5; }

.win {
  max-width: 100%;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-win);
  overflow: hidden;
}
.win--wide {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  border-color: rgb(255 255 255 / 50%);
  box-shadow: var(--shadow-hero);
}
.win__rail {
  background: #1b2b47;
  padding: 14px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.win__rail span { width: 40px; height: 32px; border-radius: 9px; background: var(--rail-2); }
.win__rail span.on { background: var(--accent); }

.win__body { padding: 22px 20px 26px; min-width: 0; }
.win__top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 16px;
  margin-bottom: 20px;
}
.win__eyebrow {
  margin: 0 0 4px;
  font: 500 11.5px/1 var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.win__title { font-size: 22px; margin: 0; }
.win__btn {
  padding: 10px 16px;
  border-radius: 11px;
  background: var(--accent-dark);
  color: #fff;
  font: 600 13.5px/1 var(--body);
  white-space: nowrap;
}

.tiles { display: grid; gap: 14px; }
.tile {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-2);
  padding: 16px 17px;
}
.tile h3 { font-family: var(--body); font-size: 16.5px; letter-spacing: 0; margin-bottom: 6px; }
.tile__url { margin: 0 0 12px; font: 400 12.5px/1.4 var(--mono); color: var(--muted); }

.chip {
  display: inline-block;
  padding: 5px 10px;
  border-radius: 8px;
  font: 500 12px/1 var(--body);
}
.chip--ok { background: var(--ok-soft); color: var(--ok); }
.chip--sleep { background: var(--accent-soft); color: #1e40af; }
.chip--wait { background: var(--wait-soft); color: var(--wait); }

/* Адресний рядок і шапка вікна */
.win__url {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 13px 17px;
  background: var(--surface-2);
  border-bottom: 1px solid var(--line);
  font: 400 13px/1 var(--mono);
  color: var(--ink-soft);
  overflow-wrap: anywhere;
}
.win__url--plain { font-family: var(--body); font-size: 14px; font-weight: 500; }
.lock {
  width: 10px; height: 12px; border-radius: 2px; background: var(--ok);
  position: relative; flex: none;
}
.lock::before {
  content: "";
  position: absolute; left: 2px; top: -4px;
  width: 6px; height: 7px;
  border: 1.6px solid var(--ok); border-bottom: 0; border-radius: 3px 3px 0 0;
}

/* Сторінка дитини всередині вікна */
.page { padding: 24px 26px 30px; }
.page h3 { font-family: var(--body); font-size: 25px; letter-spacing: -0.01em; }
.page p { color: var(--ink-soft); font-size: 15.5px; margin-bottom: 16px; }
.page__img {
  height: 128px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 35% 46%, #c7d8f5 0 15px, transparent 16px),
    radial-gradient(circle at 62% 46%, #c7d8f5 0 15px, transparent 16px),
    linear-gradient(160deg, #eef3fa, #dbe6f7);
}

/* Файловий менеджер */
/* На телефоні дерево лягає горизонтальною смужкою над кодом: колонка
   в 168px там з'їла б половину екрана. */
.files { display: grid; grid-template-columns: minmax(0, 1fr); min-height: 208px; }
.files__tree {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  border-right: 0;
  border-bottom: 1px solid var(--line);
}
.files__tree li { white-space: nowrap; }
.files > * { min-width: 0; }
.files__tree {
  list-style: none;
  margin: 0;
  padding: 12px 10px;
  background: var(--surface-2);
  font-size: 14px;
  color: var(--ink-soft);
}
.files__tree li { padding: 7px 10px; border-radius: 9px; }
.files__tree .is-file { padding-left: 24px; font-family: var(--mono); font-size: 12.5px; }
.files__tree .is-active { background: var(--accent-soft); color: var(--accent-dark); }

.code {
  margin: 0;
  min-width: 0;
  padding: 18px 18px 20px;
  font: 400 13px/1.9 var(--mono);
  overflow-x: auto;
}
.code .t { color: #7c3aed; }
.code .a { color: var(--accent-dark); }
.code .s { color: var(--ok); }
.caret {
  display: inline-block;
  width: 8px; height: 1.05em;
  margin-left: 3px;
  vertical-align: -0.2em;
  background: var(--accent);
  animation: blink 1.15s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .caret { animation: none; } }

.log {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  padding: 13px 18px;
  border-top: 1px solid var(--line);
  background: var(--surface-2);
  font-size: 13.5px;
  color: var(--muted);
}
.log b { color: var(--ink-soft); font-weight: 500; }

.files__foot {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-top: 1px solid var(--line);
  background: var(--surface-2);
  font-size: 13.5px;
  color: var(--muted);
}

/* Таблиця класу */
.grid { width: 100%; table-layout: fixed; border-collapse: collapse; font-size: 15px; }
.grid td {
  padding: 15px 18px;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}
.grid tr:last-child td { border-bottom: 0; }
.grid td b { display: block; font-size: 15.5px; }
.grid td span:not(.chip) { font-size: 13px; color: var(--muted); }
.grid__act { text-align: right; color: var(--muted); font-size: 13.5px; }
.grid__act--accent { color: var(--accent-dark); font-weight: 600; }
.grid .is-off { background: var(--surface-2); }

/* ── Секції ────────────────────────────────────────────────────────────── */

.band { padding: clamp(64px, 7vw, 104px) 0; }
.band--paper { background: var(--surface); }
.band--dark { background: var(--deep-2); color: var(--on-deep); }
.band--lead { padding-top: 0; padding-bottom: clamp(56px, 7vw, 96px); }

.head { max-width: 60ch; margin-bottom: clamp(34px, 4vw, 54px); }
.head--center { max-width: 46ch; margin-left: auto; margin-right: auto; text-align: center; }

.eyebrow {
  font: 500 12px/1 var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin: 0 0 16px;
}
.eyebrow--light { color: var(--sky); }

.big { font-size: clamp(17px, 1.4vw, 19px); color: var(--ink-soft); max-width: 52ch; }
.band--dark .big { color: var(--on-deep-soft); }
.note { font-size: 15px; color: var(--muted); max-width: 46ch; }
.note--light { color: var(--on-deep-dim); }

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

/* Біль клієнта. Світлий блок одразу під шапкою: шість коротких речень,
   у кожному — знайома ситуація, а не опис продукту. */
.band--pain { background: var(--surface); padding-bottom: clamp(56px, 6vw, 84px); }

.pains { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.pains li {
  position: relative;
  padding: 20px 22px 20px 52px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface-2);
  font-size: clamp(16px, 1.35vw, 18px);
  line-height: 1.45;
  color: var(--ink);
}
/* Скісна риска замість іконки: це не помилка й не заборона, це «так є зараз». */
.pains li::before {
  content: "";
  position: absolute;
  left: 22px; top: 24px;
  width: 15px; height: 2px;
  background: #f87171;
}
.pains__answer {
  margin: 26px 0 0;
  text-align: center;
  font-size: clamp(17px, 1.6vw, 21px);
  color: var(--ink-soft);
}
.pains__answer b { color: var(--ink); }

/* Рядок «текст + макет» */
.row { display: grid; gap: 34px; align-items: center; }
.row > * { min-width: 0; }
.row + .row { margin-top: clamp(56px, 7vw, 92px); }
.row__art { margin: 0; }
.row__art figcaption {
  margin-top: 14px;
  font: 400 13px/1.4 var(--mono);
  color: var(--muted);
  text-align: center;
}

/* Кроки уроку */
.steps { list-style: none; margin: 26px 0 0; padding: 0; counter-reset: step; display: grid; gap: 18px; }
.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 4px 16px;
  align-items: baseline;
}
.steps li::before {
  content: counter(step);
  grid-row: span 2;
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border-radius: 11px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font: 500 13.5px/1 var(--mono);
}
.steps b { font-size: 16.5px; }
.steps span { grid-column: 2; color: var(--ink-soft); font-size: 15.5px; }

/* Що в руках у вчителя */
.powers { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; align-content: start; }
.powers li { padding-left: 20px; position: relative; color: var(--ink-soft); font-size: 15.5px; }
.powers li::before {
  content: "";
  position: absolute; left: 0; top: 0.62em;
  width: 8px; height: 8px; border-radius: 3px;
  background: var(--accent);
}
.powers b { display: block; color: var(--ink); font-size: 16.5px; margin-bottom: 2px; }

/* Приватність: те, про що директора спитають батьки. */
.privacy { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.privacy li {
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface-2);
  color: var(--ink-soft);
  font-size: 15.5px;
}
.privacy b { display: block; color: var(--ink); font-size: 17px; margin-bottom: 8px; }
.mono { font-family: var(--mono); font-size: 14px; color: var(--accent-dark); }

/* Питання. Звичайні <details>: розкриваються без жодного скрипта. */
.faq { display: grid; gap: 12px; max-width: 860px; margin: 0 auto; }
.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-2);
  overflow: hidden;
}
.faq summary {
  padding: 18px 52px 18px 22px;
  font-size: 17px;
  font-weight: 500;
  cursor: pointer;
  position: relative;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
/* Плюс, що стає мінусом: дві рисочки, друга ховається при відкритті. */
.faq summary::before,
.faq summary::after {
  content: "";
  position: absolute;
  right: 22px; top: 50%;
  width: 13px; height: 2px;
  background: var(--accent);
  transition: transform .18s ease, opacity .18s ease;
}
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { opacity: 0; transform: rotate(0); }
.faq summary:hover { color: var(--accent-dark); }
.faq p { margin: 0; padding: 0 22px 20px; color: var(--ink-soft); font-size: 15.5px; max-width: 64ch; }

/* Безпека */
.cases { margin: 0; display: grid; gap: 16px; }
.case {
  background: rgb(255 255 255 / 5%);
  border: 1px solid rgb(255 255 255 / 9%);
  border-radius: var(--radius);
  padding: 20px 20px 18px;
}
.case dt { font-weight: 600; color: #fff; margin-bottom: 9px; padding-left: 26px; position: relative; }
/* Хрестик читається як «спроба, що не вдалась», а не як помилка сайту. */
.case dt::before {
  content: "";
  position: absolute; left: 0; top: 0.36em;
  width: 13px; height: 13px;
  background:
    linear-gradient(45deg, transparent 44%, #f87171 44% 56%, transparent 56%),
    linear-gradient(-45deg, transparent 44%, #f87171 44% 56%, transparent 56%);
}
.case dd { margin: 0; color: var(--on-deep-soft); font-size: 15.5px; }

/* Що потрібно від школи */
.needs { display: grid; gap: 18px; margin-bottom: 34px; }
.need {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 26px 24px 14px;
}
.need__num {
  margin: 0 0 14px;
  font: 500 13px/1 var(--mono);
  color: var(--accent);
  letter-spacing: 0.1em;
}
.need p:not(.need__num) { color: var(--ink-soft); font-size: 15.5px; }

.scale {
  background: var(--accent-soft);
  border-radius: var(--radius);
  padding: 18px 20px;
  color: #1e3a8a;
  font-size: 16.5px;
  margin-bottom: 26px;
}
.notlist { color: var(--ink-soft); max-width: 68ch; font-size: 16.5px; }

/* ── Заявка ────────────────────────────────────────────────────────────── */

.lead-card {
  background: var(--deep);
  color: var(--on-deep);
  border-radius: 26px;
  padding: clamp(28px, 4vw, 52px);
  display: grid;
  gap: 32px;
  position: relative;
  overflow: hidden;
}
.lead-card::before {
  content: "";
  position: absolute;
  inset: -40% 40% auto -20%;
  height: 520px;
  background: radial-gradient(50% 50% at 40% 40%, rgb(59 130 246 / 28%), transparent 70%);
}
.lead-card > * { position: relative; z-index: 2; }
.lead-card .big { color: var(--on-deep-soft); }

.next { list-style: none; margin: 24px 0 18px; padding: 0; counter-reset: next; display: grid; gap: 11px; }
.next li {
  counter-increment: next;
  position: relative;
  padding-left: 34px;
  color: var(--on-deep-soft);
  font-size: 15.5px;
}
.next li::before {
  content: counter(next);
  position: absolute; left: 0; top: 1px;
  width: 23px; height: 23px;
  display: grid; place-items: center;
  border-radius: 8px;
  background: rgb(255 255 255 / 10%);
  color: var(--sky);
  font: 500 12px/1 var(--mono);
}

.form { display: grid; gap: 15px; align-content: start; }
.field { display: grid; gap: 7px; }
.field label { font-size: 14.5px; font-weight: 500; color: var(--on-deep-soft); }
.opt { color: var(--on-deep-dim); font-weight: 400; }

.field input,
.field textarea {
  font: 400 16px/1.5 var(--body);
  color: #fff;
  background: rgb(255 255 255 / 7%);
  border: 1px solid rgb(255 255 255 / 14%);
  border-radius: var(--radius);
  padding: 13px 15px;
  width: 100%;
  resize: vertical;
}
.field input::placeholder,
.field textarea::placeholder { color: #7f93b3; }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: rgb(255 255 255 / 11%);
  box-shadow: 0 0 0 3px rgb(59 130 246 / 25%);
}

/* Вибір каналу звʼязку: справжня радіо-група, просто намальована чипами —
   так вона лишається доступною з клавіатури й для читалок. */
.methods { border: 0; margin: 0; padding: 0; min-width: 0; }
.methods legend {
  padding: 0;
  margin-bottom: 10px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--on-deep-soft);
}
.methods__row { display: flex; flex-wrap: wrap; gap: 8px; }
.method input {
  position: absolute;
  width: 1px; height: 1px;
  opacity: 0;
  pointer-events: none;
}
.method span {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 17px;
  border: 1px solid rgb(255 255 255 / 16%);
  border-radius: 999px;
  font: 500 14.5px/1 var(--body);
  color: var(--on-deep-soft);
  cursor: pointer;
  transition: border-color .16s ease, background-color .16s ease, color .16s ease;
}
.method span:hover { border-color: rgb(255 255 255 / 40%); color: #fff; }
.method input:checked + span {
  border-color: var(--accent);
  background: rgb(59 130 246 / 20%);
  color: #fff;
}
.method input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 3px; }

/* Панель замість форми після відправки. */
.done { align-self: start; }
.done h3 { color: #fff; font-size: 24px; margin: 18px 0 10px; }
.done p { color: var(--on-deep-soft); margin: 0; }

.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form__foot { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; margin-top: 6px; }
.form__status { margin: 0; font-size: 15px; color: var(--on-deep-dim); }
.form__status--ok { color: #86efac; }
.form__status--err { color: #fca5a5; }

/* ── Підвал ────────────────────────────────────────────────────────────── */

.footer { background: var(--deep); color: var(--on-deep-dim); padding: 40px 0 48px; }
.footer__in {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.footer p { margin: 10px 0 0; font-size: 15px; }
.footer__login { color: var(--sky); font-weight: 500; text-decoration: none; }
.footer__login:hover { text-decoration: underline; }

/* ── Ширші екрани ──────────────────────────────────────────────────────── */

@media (min-width: 760px) {
  .nav__cta { display: inline-block; }
  .facts { grid-template-columns: repeat(4, 1fr); gap: 26px 34px; }
  .tiles { grid-template-columns: repeat(3, 1fr); }
  .cases { grid-template-columns: repeat(2, 1fr); }
  .pains { grid-template-columns: repeat(2, 1fr); }
  .privacy { grid-template-columns: repeat(2, 1fr); }
  .needs { grid-template-columns: repeat(3, 1fr); }
  .win--wide { grid-template-columns: 92px minmax(0, 1fr); }
  .win__rail span { width: 46px; height: 36px; }
  .win__body { padding: 26px 30px 32px; }
  .grid__act { white-space: nowrap; }
  .files { grid-template-columns: 168px minmax(0, 1fr); }
  .files__tree {
    display: block;
    overflow: visible;
    padding: 14px 10px;
    border-right: 1px solid var(--line);
    border-bottom: 0;
  }
  .form { grid-template-columns: 1fr 1fr; }
  .field--wide, .form__foot { grid-column: 1 / -1; }
}

@media (min-width: 1000px) {
  .nav__links { display: flex; }
  .row { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 64px; }
  .row--flip .row__text { order: 2; }
  .row--tight { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 56px; align-items: start; }
  .lead-card { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; }
  .powers { gap: 20px; }
  .pains { grid-template-columns: repeat(3, 1fr); }
}
