/* Істейміз — лендинг в мире бренда «Точка над і».
   Бумага и чернила; синий — только точки и то, что нажимается.
   Geologica — голос дела, Spectral Italic — голос клиента. */

:root {
  --paper: #F3F0E8;
  --paper-2: #EAE6DB;
  --sheet: #FBFAF6;
  --ink: #15140F;
  --blue: #2D3BFF;
  --blue-press: #1E2AD6;
  --stone: #646056;
  --line: #DAD5C8;
  --night: #0F0F0D;
  --night-text: #E9E5DA;
  --night-stone: #A9A497;
  --night-line: #2A2925;
  --blue-night: #7C85FF;
  --error: #B4261A;

  --sans: "Geologica", "Segoe UI", Roboto, sans-serif;
  --voice: "Spectral", Georgia, serif;

  --gutter: clamp(16px, 4vw, 48px);
  --max: 1360px;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-land: cubic-bezier(.16, 1, .3, 1);
  --shadow-sheet: 0 0 0 1px var(--line), 0 24px 48px -32px rgba(21, 20, 15, .35);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.55 var(--sans);
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
@supports (overflow: clip) { body { overflow-x: clip; } }
img, svg { display: block; max-width: 100%; height: auto; }
p, h1, h2, h3, dl, dd, figure, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
b { font-weight: 600; }
button, input, textarea { font: inherit; color: inherit; }
a { color: inherit; }
[hidden] { display: none !important; }

::selection { background: var(--blue); color: #fff; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
html { scrollbar-color: var(--line) var(--paper); scrollbar-width: thin; }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--paper); }
::-webkit-scrollbar-thumb { background: var(--line); border-radius: 10px; border: 2px solid var(--paper); }
::-webkit-scrollbar-thumb:hover { background: var(--stone); }

.num { font-variant-numeric: tabular-nums; }
.dot { color: var(--blue); }
.muted { color: var(--stone); }
.small { font-size: 14px; line-height: 1.45; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--ink); color: var(--paper); padding: 10px 14px; border-radius: 10px; text-decoration: none; }
.skip:focus { top: 12px; }

.ico { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s var(--ease-out); }
.ico--fill { fill: currentColor; stroke: none; }

/* ——— кнопки ——— */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 600 16px/1.1 var(--sans); letter-spacing: -0.005em; text-decoration: none; text-align: center;
  padding: 15px 24px; border-radius: 999px; cursor: pointer; min-height: 52px; border: 0;
  transition: background-color .2s, color .2s, box-shadow .2s, transform .15s var(--ease-out), opacity .2s;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(.97); }
.btn:hover .ico { transform: translateX(3px); }
.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 1px 0 rgba(0,0,0,.08), 0 10px 24px -14px rgba(21, 20, 15, .45); }
.btn--primary:hover { background: var(--blue-press); }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: #000; }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }
.btn--s { min-height: 42px; padding: 10px 18px; font-size: 15px; }
.btn--l { min-height: 58px; padding: 17px 28px; font-size: 17px; }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; transform: none; }

.link { color: var(--blue); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; transition: text-underline-offset .2s; }
.link:hover { text-underline-offset: 6px; }

/* ——— статус «печатает…» ——— */
.status {
  display: inline-flex; align-items: center; gap: 5px; white-space: nowrap;
  font-size: 13px; font-weight: 500; line-height: 1; padding: 8px 12px; border-radius: 999px;
  background: var(--paper-2); color: var(--ink);
  transition: background-color .3s, color .3s, opacity .3s;
}
.status > span { margin-right: 3px; }
.status i { width: 6px; height: 6px; border-radius: 50%; background: var(--blue); display: inline-block; }
.status[data-mode="listen"] i { animation: typing 1.1s var(--ease-out) infinite; }
.status[data-mode="listen"] i:nth-of-type(2) { animation-delay: .14s; }
.status[data-mode="listen"] i:nth-of-type(3) { animation-delay: .28s; }
.status[data-mode="work"] i { animation: blink 1.4s ease-in-out infinite; }
.status[data-mode="work"] i:nth-of-type(2) { animation-delay: .2s; }
.status[data-mode="work"] i:nth-of-type(3) { animation-delay: .4s; }
.status[data-mode="done"], .status--done { background: var(--ink); color: var(--paper); gap: 3px; }
.status[data-mode="done"] i:nth-of-type(n+2) { display: none; }
.status[data-mode="done"] i, .status--done i { align-self: flex-end; margin-bottom: 1px; animation: land .6s var(--ease-land) both; }
.status[data-mode="idle"] { opacity: 0; }
@keyframes typing { 0%, 60%, 100% { transform: none; opacity: .4; } 30% { transform: translateY(-4px); opacity: 1; } }
@keyframes blink { 0%, 100% { opacity: .3; } 50% { opacity: 1; } }
@keyframes land { 0% { transform: translateY(-0.9em); opacity: 0; } 55% { opacity: 1; } 100% { transform: none; } }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }

/* ——— шапка ——— */
.bar {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 12px var(--gutter);
  background: rgba(243, 240, 232, .88);
  -webkit-backdrop-filter: saturate(1.2) blur(12px);
  backdrop-filter: saturate(1.2) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.bar.is-scrolled { border-bottom-color: var(--line); }
.bar__mark { flex: none; }
.bar__mark img { width: 112px; }
.bar__nav { display: flex; gap: 24px; font-size: 15px; }
.bar__nav a { color: var(--stone); text-decoration: none; transition: color .2s; padding: 6px 0; }
.bar__nav a:hover { color: var(--ink); }
.bar__end { display: flex; align-items: center; gap: 10px; }
.lang { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--paper-2); }
.lang button {
  border: 0; background: none; cursor: pointer; font-size: 13px; font-weight: 600; letter-spacing: .02em;
  min-width: 44px; min-height: 36px; padding: 0 10px; border-radius: 999px; color: var(--stone);
  transition: background-color .2s, color .2s;
}
.lang button:hover { color: var(--ink); }
.lang button[aria-pressed="true"] { background: var(--sheet); color: var(--ink); box-shadow: 0 1px 2px rgba(21,20,15,.12); }
.only-narrow { display: none; }
@media (max-width: 1080px) { .bar__nav { display: none; } }
@media (max-width: 520px) {
  .bar { padding-block: 10px; gap: 12px; }
  .bar__mark img { width: 96px; }
  .only-wide { display: none; }
  .only-narrow { display: inline; }
}

/* ——— первый экран ——— */
.hero {
  max-width: var(--max); margin: 0 auto;
  padding: clamp(28px, 5vw, 64px) var(--gutter) clamp(56px, 8vw, 104px);
}
.hero__h1 { display: grid; gap: clamp(2px, .6vw, 8px); margin-bottom: clamp(28px, 4vw, 52px); }
.hero__say {
  font-family: var(--voice); font-style: italic; font-weight: 300;
  font-size: clamp(34px, 5.6vw, 80px); line-height: 1.04; letter-spacing: -0.015em;
  text-wrap: balance;
  animation: rise .9s var(--ease-out) .05s both;
}
.hero__do {
  font-weight: 700; font-size: clamp(42px, 7vw, 96px); line-height: .98; letter-spacing: -0.04em;
  animation: rise .9s var(--ease-out) .3s both;
}
.hero__do { position: relative; }
/* точка в конце заголовка — нарисованный круг, чтобы с ней совпадали три точки «печатает…» */
.pdot { --dc: var(--blue); position: relative; display: inline-block; width: .17em; height: .17em; margin-left: .05em; border-radius: 50%; background: var(--blue); vertical-align: baseline; transform-origin: 50% 100%; }
/* точка-круг в заголовках: её «печатают» три точки (app.js → typeLand) */
.pd { position: relative; display: inline-block; width: .17em; height: .17em; margin-left: .05em; border-radius: 50%; background: currentColor; vertical-align: baseline; }
.pd--s { width: .16em; height: .16em; margin-left: .04em; }
.pd.is-armed, .pdot.is-armed { background: transparent; }
.tl { position: absolute; left: 0; bottom: 0; width: 100%; height: 100%; pointer-events: none; }
.tl i { position: absolute; left: 0; bottom: 0; width: 100%; height: 100%; border-radius: 50%; background: var(--dc, currentColor); transform-origin: 50% 100%; opacity: 0; }
.hero__dots { position: absolute; left: 0; top: 0; display: none; pointer-events: none; }
.hero__dots i { position: absolute; left: 0; top: 0; width: .17em; height: .17em; border-radius: 50%; background: var(--blue); }
.hero.is-intro .hero__dots { display: block; }
.hero.is-intro .hero__dotxt { clip-path: inset(0 100% 0 0); }
.hero.is-intro .pdot { opacity: 0; }
.hero:not(.is-intro):not(.is-played) .pdot { animation: land .75s var(--ease-land) 1.05s both; }

.hero__grid {
  display: grid; gap: 20px clamp(28px, 4vw, 56px);
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  grid-template-areas:
    "sub  ans"
    "ask  ans"
    "call ans"
    "note ans";
  grid-template-rows: auto auto auto 1fr;
  animation: rise .9s var(--ease-out) .55s both;
}
.hero__sub { grid-area: sub; font-size: clamp(18px, 1.6vw, 21px); line-height: 1.45; max-width: 44ch; color: var(--ink); }
.ask { grid-area: ask; }
.answer { grid-area: ans; }
.call { grid-area: call; }
.hero__note { grid-area: note; font-size: 14px; color: var(--stone); }

@media (max-width: 960px) {
  .hero__grid {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "ask" "ans" "sub" "call" "note";
    grid-template-rows: none;
  }
}

/* поле задачи — голос клиента */
.ask {
  --ask-pad: 20px; background: var(--sheet); border-radius: 24px; padding: var(--ask-pad) var(--ask-pad) 18px;
  box-shadow: var(--shadow-sheet);
  display: grid; gap: 14px;
  transition: box-shadow .25s;
}
.ask:focus-within { box-shadow: 0 0 0 1.5px var(--blue), 0 0 0 6px rgba(45, 59, 255, .14), 0 24px 48px -32px rgba(21, 20, 15, .35); }
.ask__label { font-size: 14px; font-weight: 500; color: var(--stone); }
.ask__input {
  width: 100%; border: 0; background: none; resize: none; padding: 0;
  font: italic 400 clamp(22px, 2.2vw, 27px)/1.3 var(--voice); color: var(--ink);
  caret-color: var(--blue); min-height: 2.7em;
}
.ask__input::placeholder { color: #8F8A7E; }
.ask__input:focus { outline: none; }
.chips { display: flex; gap: 8px; flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(-1 * var(--ask-pad)); padding: 2px var(--ask-pad) 4px; scroll-padding-inline: var(--ask-pad); scrollbar-width: none; scroll-snap-type: x proximity;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 var(--ask-pad), #000 calc(100% - 40px), transparent); mask-image: linear-gradient(90deg, transparent 0, #000 var(--ask-pad), #000 calc(100% - 40px), transparent); }
.chips::-webkit-scrollbar { display: none; }
.chips .chip { flex: none; scroll-snap-align: start; }
.chip {
  border: 0; cursor: pointer; font-size: 14px; font-weight: 500; line-height: 1;
  min-height: 38px; padding: 0 14px; border-radius: 999px;
  background: var(--paper-2); color: var(--ink);
  transition: background-color .2s, color .2s, box-shadow .2s;
  -webkit-tap-highlight-color: transparent;
}
.chip:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.ask__go { display: grid; gap: 8px; justify-items: start; padding-top: 4px; }
@media (max-width: 600px) {
  .ask { --ask-pad: 16px; padding: 16px; border-radius: 20px; }
  .ask__go, .ask__go .btn { width: 100%; justify-items: stretch; }
}

.err { min-height: 0; font-size: 14px; line-height: 1.4; color: var(--error); }
.err:empty { display: none; }

/* карточка ответа — голос дела */
.answer {
  position: relative; align-self: start;
  background: var(--sheet); border-radius: 24px;
  padding: clamp(20px, 2.6vw, 34px);
  box-shadow: var(--shadow-sheet);
  display: grid; gap: 18px; align-content: start;
  transition: box-shadow .4s var(--ease-out);
}
.answer__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.answer__title { font-size: 14px; font-weight: 500; color: var(--stone); letter-spacing: 0; }
.answer__empty { display: none; align-content: center; justify-items: start; gap: 16px; padding: 12px 0 24px; }
.answer__empty p { color: var(--stone); font-size: 16px; max-width: 32ch; }
.typing { display: inline-flex; gap: 10px; }
.typing i { width: 14px; height: 14px; border-radius: 50%; background: var(--blue); animation: typing 1.2s var(--ease-out) infinite; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }
.answer[data-state="empty"] .answer__empty { display: grid; }
.answer[data-state="empty"] .answer__body { display: none; }
.answer[data-state="empty"] { box-shadow: 0 0 0 1.5px var(--line); background: transparent; }
.answer[data-state="empty"] .answer__title { color: var(--stone); }

.answer__body { display: grid; gap: 18px; }
.answer__say {
  font-family: var(--voice); font-style: italic; font-size: clamp(19px, 1.8vw, 23px); line-height: 1.3; color: var(--stone);
  padding-bottom: 18px; border-bottom: 1px solid var(--line);
}
.answer__k { font-size: 13px; font-weight: 500; color: var(--stone); margin-bottom: 6px; }
.answer__v { font-size: 16px; line-height: 1.5; max-width: 62ch; }
.answer__do { font-size: clamp(20px, 2vw, 25px); font-weight: 600; line-height: 1.22; letter-spacing: -0.02em; text-wrap: pretty; }
.answer__meta { display: flex; flex-wrap: wrap; gap: 12px 40px; padding-top: 16px; border-top: 1px solid var(--line); }
.answer__meta div { display: grid; gap: 2px; }
.answer__meta dt { font-size: 13px; color: var(--stone); }
.answer__meta dd { font-size: clamp(19px, 1.7vw, 22px); font-weight: 600; letter-spacing: -0.01em; min-height: 1.3em; }
.answer__fallback { font-size: 18px; line-height: 1.45; font-weight: 500; }
.answer__act { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 2px; }

/* разбор: пока «ИИ думает» — фирменные три точки вместо блоков ответа */
.answer__think { display: none; }
.answer[data-state="think"] .answer__think { display: block; padding: 6px 0 4px; }
.answer[data-state="think"] .answer__think .typing i { width: 12px; height: 12px; }
.answer[data-state="think"] .answer__how,
.answer[data-state="think"] .answer__get,
.answer[data-state="think"] .answer__meta,
.answer[data-state="think"] .answer__act { display: none; }
.answer[data-state="fallback"] .answer__how,
.answer[data-state="fallback"] .answer__get,
.answer[data-state="fallback"] .answer__meta { display: none; }

/* текст ответа появляется словами */
.w { display: inline; opacity: 0; animation: wordIn .5s var(--ease-out) forwards; }
@keyframes wordIn { from { opacity: 0; filter: blur(3px); } to { opacity: 1; filter: none; } }

/* перезвон за 60 секунд */
.call { display: grid; gap: 12px; }
.call__toggle {
  display: flex; align-items: center; gap: 14px; text-align: left;
  border: 0; background: none; padding: 6px 0; cursor: pointer;
  font-size: 16px; font-weight: 500; line-height: 1.35; color: var(--ink);
}
.call__ico { width: 44px; height: 44px; border-radius: 50%; flex: none; display: grid; place-items: center; box-shadow: inset 0 0 0 1.5px var(--ink); transition: background-color .2s, color .2s; }
.call__ico svg { width: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linejoin: round; }
.call__text { text-decoration: underline; text-decoration-color: var(--line); text-decoration-thickness: 1.5px; text-underline-offset: 5px; transition: text-decoration-color .2s; }
.call__toggle:hover .call__ico, .call__toggle[aria-expanded="true"] .call__ico { background: var(--ink); color: var(--paper); }
.call__toggle:hover .call__text { text-decoration-color: var(--ink); }
.call__form { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-start; }
.call__form .input { flex: 1 1 200px; }
.call__form .err, .call__form .consent { flex-basis: 100%; }
.call__form .consent { margin: 0; }
.call__done { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; font-size: 15px; }
.call__done b { font-size: 17px; }

/* поля */
.input {
  width: 100%; min-height: 54px; padding: 12px 16px;
  font: italic 400 20px/1.3 var(--voice); color: var(--ink);
  background: var(--sheet); border: 1.5px solid var(--line); border-radius: 14px;
  caret-color: var(--blue); transition: border-color .2s, box-shadow .2s;
}
.input--num { font: 500 19px/1.3 var(--sans); font-style: normal; font-variant-numeric: tabular-nums; letter-spacing: .01em; }
.input::placeholder { color: #8F8A7E; }
.input:hover { border-color: #C9C3B4; }
.input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(45, 59, 255, .16); }
.input[aria-invalid="true"] { border-color: var(--error); }
.input[aria-invalid="true"]:focus { box-shadow: 0 0 0 4px rgba(180, 38, 26, .16); }

/* ——— секции ——— */
.sec {
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 36px clamp(28px, 4vw, 72px);
  padding: clamp(72px, 10vw, 136px) var(--gutter);
  max-width: var(--max); margin: 0 auto;
  position: relative;
}
.sec::before { content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); height: 1px; background: var(--line); }
.sec__head { align-self: start; position: sticky; top: 104px; display: grid; gap: 18px; }
.sec__title { font-weight: 700; font-size: clamp(36px, 4.4vw, 60px); line-height: .98; letter-spacing: -0.035em; text-wrap: balance; }
.sec__lead { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.45; color: var(--stone); max-width: 34ch; }
.sec__body { display: grid; gap: 40px; min-width: 0; }
@media (max-width: 900px) {
  .sec { grid-template-columns: minmax(0, 1fr); }
  .sec__head { position: static; }
}

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.reveal.is-in { opacity: 1; transform: none; }

/* ——— возможности: прайс-лист ——— */
.caps { gap: 48px; }
.caps__name { font-size: clamp(22px, 2vw, 26px); font-weight: 600; letter-spacing: -0.02em; padding-bottom: 14px; border-bottom: 1.5px solid var(--ink); }
.price li {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 32px; align-items: baseline;
  padding: 18px 0; border-bottom: 1px solid var(--line);
}
.price li::before {
  content: ""; position: absolute; left: -22px; top: 28px; width: 8px; height: 8px; border-radius: 50%; background: var(--blue);
  opacity: 0; transform: translateY(-10px); transition: opacity .25s, transform .45s var(--ease-land);
}
.price li:hover::before { opacity: 1; transform: none; }
.price b { display: block; font-size: 18px; line-height: 1.3; letter-spacing: -0.01em; }
.price p { font-size: 15px; line-height: 1.5; color: var(--stone); margin-top: 4px; max-width: 58ch; }
.price__v { font-size: 16px; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; text-align: right; }
@media (max-width: 640px) {
  .price li { grid-template-columns: minmax(0, 1fr); }
  .price__v { text-align: left; white-space: normal; }
  .price li::before { display: none; }
}
.caps__more { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; padding: 24px 28px; border-radius: 22px; background: var(--paper-2); }
.caps__more p { font-family: var(--voice); font-style: italic; font-size: clamp(19px, 1.8vw, 23px); line-height: 1.3; max-width: 34ch; }

/* ——— ночь: призыв в середине ——— */
.night { background: var(--night); color: var(--night-text); }
.night__in {
  max-width: var(--max); margin: 0 auto;
  padding: clamp(80px, 12vw, 168px) var(--gutter);
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px clamp(32px, 5vw, 80px); align-items: end;
}
.night__say { font-family: var(--voice); font-style: italic; font-weight: 300; font-size: clamp(34px, 5vw, 72px); line-height: 1.06; letter-spacing: -0.015em; text-wrap: balance; }
.night__side { display: grid; gap: 28px; justify-items: start; }
.night__do { font-size: clamp(21px, 2vw, 26px); font-weight: 600; line-height: 1.3; letter-spacing: -0.015em; max-width: 26ch; }
.night ::selection { background: var(--blue-night); color: var(--night); }
.night :focus-visible { outline-color: var(--blue-night); }
@media (max-width: 860px) { .night__in { grid-template-columns: minmax(0, 1fr); } }

/* ——— как работаем ——— */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1.5px solid var(--ink); }
.step { padding: 32px 24px 8px 0; display: grid; gap: 10px; align-content: start; }
.step + .step { padding-left: 24px; border-left: 1px solid var(--line); }
.mark { overflow: visible; }
.mark .g { fill: var(--ink); }
.mark .d { fill: var(--blue); transform-box: fill-box; transform-origin: 50% 100%; }
.mark--mini { width: 100%; max-width: 200px; margin-bottom: 22px; }
.step__t { font-size: clamp(20px, 1.9vw, 24px); font-weight: 600; line-height: 1.2; letter-spacing: -0.02em; }
.step__b { justify-self: start; font-size: 13px; font-weight: 500; padding: 7px 12px; border-radius: 999px; background: var(--paper-2); }
.step__d { font-size: 16px; line-height: 1.5; color: var(--stone); }
@media (max-width: 760px) {
  .steps { grid-template-columns: minmax(0, 1fr); }
  .step, .step + .step { padding: 28px 0 24px; border-left: 0; }
  .step + .step { border-top: 1px solid var(--line); }
}

/* ——— проекты ——— */
.cases { gap: 0; border-top: 1.5px solid var(--ink); }
.case { display: grid; gap: 14px; padding: 32px 0; border-bottom: 1px solid var(--line); }
.case__t { font-size: clamp(22px, 2.2vw, 28px); font-weight: 600; line-height: 1.18; letter-spacing: -0.02em; max-width: 30ch; text-wrap: balance; }
.case__dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 28px; padding-top: 6px; }
.case__dl dt { font-size: 13px; color: var(--stone); margin-bottom: 4px; }
.case__dl dd { font-size: 16px; line-height: 1.5; }
.case__dl div:last-child dd { font-weight: 600; }
.case__body { display: grid; gap: 14px; }
@media (max-width: 760px) {
  .case__dl { grid-template-columns: minmax(0, 1fr); gap: 12px; }
}

/* ——— вопросы ——— */
.faq { gap: 0; border-top: 1.5px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 0; font-size: clamp(18px, 1.7vw, 21px); font-weight: 500; letter-spacing: -0.01em; line-height: 1.3;
  transition: color .2s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--blue); }
.faq summary i { position: relative; width: 36px; height: 36px; flex: none; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--line); transition: background-color .25s, box-shadow .25s; }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.6px; margin: -.8px 0 0 -6px; background: var(--ink); border-radius: 2px; transition: transform .35s var(--ease-out), background-color .25s; }
.faq summary i::after { transform: rotate(90deg); }
.faq details[open] summary i { background: var(--ink); box-shadow: none; }
.faq details[open] summary i::before, .faq details[open] summary i::after { background: var(--paper); }
.faq details[open] summary i::after { transform: rotate(0deg); }
.faq details p { padding: 0 52px 24px 0; font-size: 17px; line-height: 1.55; color: var(--stone); max-width: 68ch; }
.faq details[open] p { animation: rise .45s var(--ease-out) both; }

/* ——— заявка ——— */
.lead { background: var(--sheet); border-radius: 26px; box-shadow: var(--shadow-sheet); padding: clamp(22px, 3.4vw, 44px); }
.lead__form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.fld { display: grid; gap: 8px; align-content: start; }
.fld--wide { grid-column: 1 / -1; }
.fld label { font-size: 14px; font-weight: 500; }
.opt { color: var(--stone); font-weight: 400; }
.lead__go { display: grid; gap: 12px; justify-items: start; padding-top: 4px; }
.consent { font-size: 13px; color: var(--stone); line-height: 1.45; }
.btn__wait { display: none; gap: 5px; }
.btn__wait i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; animation: typing 1s var(--ease-out) infinite; }
.btn__wait i:nth-child(2) { animation-delay: .12s; }
.btn__wait i:nth-child(3) { animation-delay: .24s; }
.btn.is-loading .btn__t { display: none; }
.btn.is-loading .btn__wait { display: inline-flex; }
.btn.is-loading { cursor: progress; opacity: 1; }
.lead__done { display: grid; gap: 16px; justify-items: start; padding: 8px 0; }
.mark--done { width: min(100%, 240px); margin-bottom: 8px; }
.lead__done:focus { outline: none; }
.lead__doneT { font-size: clamp(21px, 2.2vw, 28px); font-weight: 600; line-height: 1.25; letter-spacing: -0.02em; max-width: 30ch; }
.lead__count { font-size: clamp(56px, 7vw, 88px); font-weight: 300; line-height: 1; letter-spacing: -0.04em; }
@media (max-width: 640px) {
  .lead__form { grid-template-columns: minmax(0, 1fr); }
  .lead__go, .lead__go .btn { width: 100%; justify-items: stretch; }
}

/* ——— финал ——— */
.end { background: var(--night); color: var(--night-text); padding: clamp(80px, 12vw, 168px) var(--gutter) 32px; }
.end ::selection { background: var(--blue-night); color: var(--night); }
.end :focus-visible { outline-color: var(--blue-night); }
.end__lock { width: min(1200px, 100%); margin: 0 auto; display: grid; gap: clamp(8px, 1.6vw, 20px); }
.end__say { font-family: var(--voice); font-style: italic; font-weight: 300; font-size: clamp(32px, 6vw, 88px); line-height: 1; letter-spacing: -0.015em; margin-left: .02em; }
.mark--end { width: 100%; }
.mark--end .g { fill: var(--night-text); }
.mark--end .d { fill: var(--blue-night); }
.end__ru { justify-self: end; font-size: clamp(17px, 2vw, 24px); font-weight: 500; color: var(--night-stone); letter-spacing: -0.01em;
  opacity: 0; transform: translateY(10px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
.end__ru .dot { color: var(--blue-night); }
.end.is-done .end__ru { opacity: 1; transform: none; }
.end__row {
  width: min(1200px, 100%); margin: clamp(64px, 9vw, 120px) auto 0; padding-top: 28px; border-top: 1px solid var(--night-line);
  display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: flex-start; justify-content: space-between;
}
.end__text { font-size: 16px; color: var(--night-stone); max-width: 46ch; }
.end__links { display: flex; flex-wrap: wrap; gap: 8px; }
.end__links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--night-line); text-decoration: none; font-weight: 500; font-size: 15px; transition: box-shadow .2s, color .2s; }
.end__links a:hover { box-shadow: inset 0 0 0 1.5px var(--blue-night); color: #fff; }
.end__legal { width: min(1200px, 100%); margin: 28px auto 0; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: 13px; color: var(--night-stone); }
.end__legal a { color: inherit; text-underline-offset: 4px; }
.end__legal a:hover { color: var(--night-text); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .w { opacity: 1; }
  html { scroll-behavior: auto; }
}
.night__do .dot { color: var(--blue-night); }

/* ловушка для ботов: человек поле не видит и не заполняет */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
