/* Один вектор · odinvektor.ru
   Белый фон, чёрный текст, синий только на кнопках. Один шрифт — Manrope.
   Размеры заданы через clamp(): одна вёрстка от 320px до 1440px. */

@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('/assets/fonts/manrope-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('/assets/fonts/manrope-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Стрелки и рубля нет ни в кириллическом, ни в латинском подмножестве —
   без этого файла они рисуются системным шрифтом. 1,2 КБ на два знака. */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('/assets/fonts/manrope-symbols.woff2') format('woff2');
  unicode-range: U+2192, U+20BD;
}

:root {
  --bg: #ffffff;
  --ink: #111418;
  --muted: #5b6470;
  --line: #e7e9ec;
  --soft: #f6f7f9;
  --accent: #1f6fd6;
  --accent-dark: #1859ad;
  --wrap: 1080px;
  --pad: clamp(20px, 5vw, 56px);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg); color: var(--ink);
  font: 400 clamp(16px, 1.1vw + 11px, 18px)/1.6 'Manrope', -apple-system, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
h1, h2 { text-wrap: balance; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--accent); color: #fff; text-decoration: none;
  font-weight: 700; font-size: 16px; line-height: 1;
  padding: 16px 24px; border-radius: 10px;
  transition: background .15s ease;
}
.btn:hover { background: var(--accent-dark); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--sm { padding: 11px 16px; font-size: 15px; border-radius: 8px; }

/* header */
header { border-bottom: 1px solid var(--line); }
header .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 2px; text-decoration: none; font-weight: 800; font-size: 20px; letter-spacing: -0.02em; }
.logo svg { width: 30px; height: 14px; margin: 0 4px; }

/* hero */
.hero { padding-top: clamp(56px, 9vw, 120px); padding-bottom: clamp(48px, 7vw, 88px); }
.hero h1 {
  font-weight: 800; letter-spacing: -0.035em; line-height: 1.04;
  font-size: clamp(40px, 6.2vw, 80px); max-width: 13ch;
}
.hero p { margin-top: 24px; max-width: 34em; color: var(--muted); font-size: clamp(18px, 1.3vw + 12px, 21px); }
.hero .btn { margin-top: 36px; }

/* three parts */
.label { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
section { padding: clamp(48px, 7vw, 88px) 0; border-top: 1px solid var(--line); }
section h2 { font-weight: 800; letter-spacing: -0.025em; line-height: 1.15; font-size: clamp(26px, 2.6vw + 10px, 38px); margin: 12px 0 0; max-width: 22ch; }
.rows { margin-top: 40px; }
.row {
  display: grid; grid-template-columns: 56px minmax(120px, 200px) 1fr; gap: 8px 24px;
  padding: 24px 0; border-top: 1px solid var(--line); align-items: baseline;
}
.row:last-child { border-bottom: 1px solid var(--line); }
.row .n { font-weight: 700; color: var(--muted); font-variant-numeric: tabular-nums; }
.row h3 { font-size: clamp(20px, 1vw + 15px, 24px); font-weight: 800; letter-spacing: -0.015em; }
.row p { color: var(--ink); max-width: 36em; }
.layer { margin-top: 28px; padding: 24px 28px; background: var(--soft); border-radius: 14px; display: grid; grid-template-columns: minmax(120px, 256px) 1fr; gap: 8px 24px; }
.layer h3 { font-size: 18px; font-weight: 800; }
.layer p { color: var(--muted); max-width: 40em; }

footer { border-top: 1px solid var(--line); padding: 28px 0 40px; font-size: 14px; color: var(--muted); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 28px; justify-content: space-between; }
footer a { text-decoration: none; }
footer a:hover { color: var(--ink); }

@media (max-width: 760px) {
  .row { grid-template-columns: 40px 1fr; }
  .row p { grid-column: 2; }
  .layer { grid-template-columns: 1fr; }
  header .btn--sm .long { display: none; }
}

.facts-strip { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.fact { padding: 22px 24px 22px 0; }
.fact + .fact { padding-left: 24px; border-left: 1px solid var(--line); }
.fact b { display: block; font-size: clamp(22px, 1.4vw + 12px, 28px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; }
.fact span { display: block; font-size: 14.5px; color: var(--muted); margin-top: 4px; }

.stages { margin-top: 40px; }
.stage { display: grid; grid-template-columns: 56px minmax(160px, 240px) 1fr minmax(140px, 180px); gap: 6px 24px; padding: 26px 0; border-top: 1px solid var(--line); align-items: baseline; }
.stage:last-child { border-bottom: 1px solid var(--line); }
.stage .n { font-weight: 700; color: var(--muted); }
.stage h3 { font-size: 20px; font-weight: 800; letter-spacing: -0.01em; }
.stage p { max-width: 34em; }
.stage .out { display: block; margin-top: 8px; font-size: 15px; color: var(--muted); }
.stage .out::before { content: "На выходе: "; font-weight: 700; color: var(--ink); }
.stage .when { text-align: right; font-weight: 700; font-size: 15px; }
.stage .when small { display: block; font-weight: 600; color: var(--muted); }
.stage--first h3::after { content: "начать здесь"; display: block; margin-top: 6px; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); vertical-align: middle; }

.extras { margin-top: 32px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.extra { padding: 22px 24px; background: var(--soft); border-radius: 14px; }
.extra h3 { font-size: 17px; font-weight: 800; margin-bottom: 6px; }
.extra p { font-size: 15px; color: var(--muted); }

.cta-box { background: var(--ink); color: #fff; border-radius: 20px; padding: clamp(32px, 5vw, 56px); display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px 48px; align-items: center; }
.cta-box h2 { color: #fff; margin: 0; }
.cta-box p { color: #b7bec8; margin-top: 12px; }
.cta-box ul { list-style: none; margin-top: 20px; display: grid; gap: 8px; color: #dfe3e8; font-size: 15.5px; }
.cta-box li::before { content: "✓"; margin-right: 10px; font-weight: 800; }
.cta-box .side { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.cta-box .side small { color: #b7bec8; font-size: 14px; }
.cta-box .side a:not(.btn) { color: #fff; text-decoration: none; }
section.cta-sec { border-top: 0; }

@media (max-width: 860px) {
  .facts-strip { grid-template-columns: repeat(2, 1fr); }
  .fact:nth-child(3) { padding-left: 0; border-left: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid var(--line); }
  .extras { grid-template-columns: 1fr; }
  .stage { grid-template-columns: 40px 1fr; }
  .stage p, .stage .when { grid-column: 2; text-align: left; }
  .cta-box { grid-template-columns: 1fr; }
}

.hero-split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.hero-split h1 { max-width: 12ch; }

.panel { background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 1px 2px rgba(17,20,24,.04), 0 12px 32px -12px rgba(17,20,24,.14); overflow: hidden; font-size: 14.5px; }
.panel-bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--soft); }
.panel-bar i { width: 9px; height: 9px; border-radius: 50%; background: #d5d9de; display: block; }
.panel-bar span { margin-left: 8px; font-weight: 700; font-size: 13px; color: var(--muted); }
.panel-bar .ex { margin-left: auto; font-style: normal; font-size: 11.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line); background: #fff; padding: 2px 8px; border-radius: 999px; }
.panel-body { padding: 18px 18px 8px; }

.goal { padding: 12px 0; border-top: 1px solid var(--line); }
.goal:first-child { border-top: 0; padding-top: 0; }
.goal-top { display: flex; justify-content: space-between; gap: 12px; font-weight: 700; }
.goal-top em { font-style: normal; font-weight: 700; color: var(--muted); font-variant-numeric: tabular-nums; }
.bar { height: 6px; border-radius: 3px; background: #edf0f3; margin: 8px 0 6px; overflow: hidden; }
.bar b { display: block; height: 100%; background: var(--ink); border-radius: 3px; }
.goal small { color: var(--muted); }
.goal .warn { color: #b4541b; font-weight: 700; }
.pf { display: grid; grid-template-columns: 1fr auto auto; gap: 4px 18px; padding: 12px 0 14px; border-top: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.pf .h { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.pf .late { color: #b4541b; font-weight: 700; }

.split { margin-top: 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.split .copy p { color: var(--muted); margin-top: 14px; max-width: 30em; }
.points { list-style: none; margin-top: 20px; display: grid; gap: 14px; counter-reset: p; }
.points li { display: grid; grid-template-columns: 32px 1fr; font-size: 16px; }
.points li::before { counter-increment: p; content: "0" counter(p); font-weight: 700; color: var(--muted); }
.points b { font-weight: 800; }

.qa .q, .qa .a { padding: 14px 16px; border-radius: 12px; }
.qa .q { background: var(--soft); }
.qa .a { margin-top: 10px; border: 1px solid var(--line); }
.qa .who { font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.qa .src { margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--line); font-size: 13px; color: var(--muted); }
.qa .src b { color: var(--ink); }
.example { font-size: 12.5px; color: var(--muted); margin: 10px 2px 8px; }

.log li { list-style: none; display: grid; grid-template-columns: 22px 1fr auto; gap: 10px; padding: 10px 0; border-top: 1px solid var(--line); align-items: start; }
.log li:first-child { border-top: 0; padding-top: 0; }
.log .ic { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 800; background: #e8f2ea; color: #2f7a3c; }
.log .ic--wait { background: #fdf0e6; color: #b4541b; }
.log time { font-size: 12.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.log small { display: block; color: var(--muted); }
.log .act { display: flex; gap: 8px; margin-top: 8px; }
.log .act span { font-size: 12.5px; font-weight: 700; padding: 6px 10px; border-radius: 7px; border: 1px solid var(--line); }
.log .act span:first-child { background: var(--ink); color: #fff; border-color: var(--ink); }

@media (max-width: 900px) {
  .hero-split, .split { grid-template-columns: 1fr; gap: 32px; }
}

.faq { margin-top: 32px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; padding: 22px 0; font-size: clamp(17px, .6vw + 14px, 19px); font-weight: 800; letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 600; font-size: 24px; line-height: 1; color: var(--muted); transition: transform .15s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 22px; color: var(--muted); max-width: 42em; margin-top: -6px; }


/* focus and skip link */
.skip { position: absolute; left: 12px; top: -48px; z-index: 10; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }
a:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* privacy and other text pages */
.page { padding-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(48px, 7vw, 88px); }
.page h1 { font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; font-size: clamp(26px, 3.6vw + 12px, 52px); max-width: 20ch; overflow-wrap: break-word; hyphens: auto; }
.page .meta { margin-top: 12px; color: var(--muted); font-size: 15px; }
.page__body { max-width: 46em; margin-top: 32px; }
.page__body h2 { font-size: clamp(20px, 1vw + 15px, 24px); font-weight: 800; letter-spacing: -0.015em; margin: 36px 0 10px; }
.page__body h3 { font-size: 18px; font-weight: 800; margin: 24px 0 8px; }
.page__body p, .page__body li { color: var(--ink); }
.page__body p + p { margin-top: 12px; }
.page__body ul, .page__body ol { margin: 10px 0 0 1.3em; display: grid; gap: 6px; }
.page__body a { color: var(--accent); }

/* 404 */
.notfound { padding-top: clamp(64px, 10vw, 140px); padding-bottom: clamp(64px, 10vw, 140px); }
.notfound h1 { font-weight: 800; letter-spacing: -0.035em; line-height: 1.05; font-size: clamp(36px, 5vw, 64px); }
.notfound p { margin-top: 16px; color: var(--muted); max-width: 30em; }
.notfound .actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; }
.link-home { font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--line); padding-bottom: 2px; }
.link-home:hover { border-color: var(--ink); }
