/* Токены дизайна */
:root {
  --bg: #0b0b0b;
  --bg-2: #111111;
  --fg: #f2f2f2;
  --fg-dim: #a8a8a8;
  --line: #262626;
  --accent: #ffd60a;
  --on-accent: #0b0b0b;
  --danger: #ff6b5e;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  --gap: clamp(20px, 4vw, 48px);
  --maxw: 1200px;
  --radius: 0;
}

@font-face { font-family: "Inter"; font-weight: 400; font-display: swap; src: url(/fonts/inter-cyrillic-400-normal.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Inter"; font-weight: 400; font-display: swap; src: url(/fonts/inter-latin-400-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-weight: 700; font-display: swap; src: url(/fonts/inter-cyrillic-700-normal.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Inter"; font-weight: 700; font-display: swap; src: url(/fonts/inter-latin-700-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-weight: 800; font-display: swap; src: url(/fonts/inter-cyrillic-800-normal.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Inter"; font-weight: 800; font-display: swap; src: url(/fonts/inter-latin-800-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "JetBrains Mono"; font-weight: 400; font-display: swap; src: url(/fonts/jetbrains-mono-cyrillic-400-normal.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "JetBrains Mono"; font-weight: 400; font-display: swap; src: url(/fonts/jetbrains-mono-latin-400-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "JetBrains Mono"; font-weight: 500; font-display: swap; src: url(/fonts/jetbrains-mono-cyrillic-500-normal.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "JetBrains Mono"; font-weight: 500; font-display: swap; src: url(/fonts/jetbrains-mono-latin-500-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font: 400 16px/1.55 var(--font-sans);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -60px; background: var(--accent); color: var(--on-accent); padding: 10px 14px; z-index: 100; font-weight: 700; }
.skip:focus { top: 8px; }

.wrap { width: 100%; max-width: calc(var(--maxw) + var(--gap) * 2); margin: 0 auto; padding-inline: var(--gap); }
.mono { font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.dim { color: var(--fg-dim); }
.accent { color: var(--accent); }

/* Шапка */
.header { position: sticky; top: 0; z-index: 50; background: rgba(11,11,11,.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; height: 56px; }
.logo { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; text-decoration: none; letter-spacing: -.02em; }
.logo::before { content: ""; width: 10px; height: 10px; background: var(--accent); display: block; }
.nav { display: flex; gap: 28px; }
.nav a { text-decoration: none; color: var(--fg-dim); padding: 8px 0; }
.nav a:hover, .nav a.is-accent { color: var(--accent); }
@media (max-width: 560px) { .nav { gap: 16px; } .nav a { font-size: 10px; } }

/* Hero */
.hero { padding: clamp(48px, 9vw, 110px) 0 clamp(40px, 6vw, 72px); }
.status { display: flex; gap: 14px; align-items: center; margin-bottom: 28px; color: var(--fg-dim); }
.status i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); display: inline-block; margin-right: 8px; }
h1, h2, h3 { margin: 0; font-weight: 800; letter-spacing: -.045em; line-height: .98; }
h1 { font-size: clamp(38px, 8.6vw, 104px); max-width: 15ch; }
h1 .hl { background: var(--accent); color: var(--on-accent); padding: 0 .14em; display: inline-block; margin-top: .06em; }
.hero-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-top: clamp(28px, 4vw, 48px); flex-wrap: wrap; }
.hero-text { max-width: 34ch; font-size: clamp(16px, 1.6vw, 19px); color: #d6d6d6; margin: 0; }

.btn {
  display: inline-flex; align-items: center; gap: 12px; border: 0; cursor: pointer;
  background: var(--accent); color: var(--on-accent); font: 700 15px/1 var(--font-sans);
  letter-spacing: -.01em; padding: 18px 28px; text-decoration: none; min-height: 52px;
  transition: transform .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--dark { background: var(--on-accent); color: var(--fg); }
.btn--dark .arrow { color: var(--accent); }
.btn--ghost { background: transparent; color: var(--on-accent); border: 2px solid var(--on-accent); }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }

/* Бегущая строка-плашка */
.strip { background: var(--accent); color: var(--on-accent); }
.strip ul { list-style: none; margin: 0 auto; padding: 14px var(--gap); max-width: calc(var(--maxw) + var(--gap) * 2); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.strip li:not(:last-child)::after { content: "/"; margin-left: 16px; }

/* Секции */
section { padding: clamp(56px, 9vw, 110px) 0 0; }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: clamp(28px, 4vw, 48px); }
h2 { font-size: clamp(34px, 6vw, 72px); }
.sec-head .mono { color: var(--accent); white-space: nowrap; }

/* Услуги */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.card { padding: 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; }
.card .num { color: var(--accent); }
.card h3 { font-size: 22px; letter-spacing: -.03em; line-height: 1.1; }
.card .lead { margin: 0; color: var(--fg-dim); font-size: 14px; }
.price-list { list-style: none; margin: 8px 0 0; padding: 0; border-top: 1px solid var(--line); }
.price-list li { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.price-list .t { grid-column: 1 / -1; }
.price-list .term { color: var(--fg-dim); font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .06em; align-self: center; }
.price-list .p { font-weight: 700; white-space: nowrap; }
.note { margin-top: 20px; color: var(--fg-dim); font-size: 14px; max-width: 70ch; }
.note a { color: var(--accent); }

/* Процесс */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px var(--gap); }
.steps li { border-top: 3px solid var(--accent); padding-top: 16px; }
.steps .num { color: var(--accent); display: block; margin-bottom: 10px; }
.steps h3 { font-size: 20px; letter-spacing: -.03em; margin-bottom: 8px; }
.steps p { margin: 0; color: var(--fg-dim); font-size: 14px; }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 20px 0; font-weight: 700; font-size: 18px; letter-spacing: -.02em; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-family: var(--font-mono); }
.faq details[open] summary::after { content: "–"; }
.faq p { margin: 0 0 20px; color: var(--fg-dim); max-width: 70ch; }

/* Контакты и форма */
.contact { background: var(--accent); color: var(--on-accent); padding: clamp(28px, 6vw, 72px); }
.contact h2 { font-size: clamp(40px, 8vw, 96px); margin: 18px 0 clamp(24px, 4vw, 40px); }
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 40px; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1.2fr; align-items: start; } }
.contact-lines { font-family: var(--font-mono); font-size: 13px; display: grid; gap: 6px; margin: 0 0 24px; }
.contact-lines a { font-weight: 500; }
.form { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.field input, .field select, .field textarea {
  width: 100%; font: 400 16px/1.4 var(--font-sans); color: var(--on-accent);
  background: rgba(255,255,255,.5); border: 2px solid var(--on-accent); border-radius: 0; padding: 14px; min-height: 50px;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--on-accent); outline-offset: 2px; background: #fff; }
.field .err { color: #8a0f00; font-size: 13px; font-weight: 700; min-height: 0; }
.field label.check { display: flex; gap: 14px; align-items: flex-start; font: 400 14px/1.45 var(--font-sans); text-transform: none; letter-spacing: 0; cursor: pointer; }
.check input { appearance: none; -webkit-appearance: none; flex: none; width: 24px; height: 24px; margin: 0; padding: 0; min-height: 0; background: transparent; border: 2px solid var(--on-accent); border-radius: 0; display: grid; place-content: center; cursor: pointer; }
.check input::before { content: ""; width: 12px; height: 12px; background: var(--on-accent); transform: scale(0); transition: transform .12s ease; }
.check input:checked::before { transform: scale(1); }
.check input:focus-visible { outline: 3px solid var(--on-accent); outline-offset: 2px; }
.check span { padding-top: 2px; }
.check a { font-weight: 700; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.form-status { font-weight: 700; min-height: 1.5em; }
.form-status.ok { background: var(--on-accent); color: var(--accent); padding: 14px 16px; }
.form-status.bad { background: #8a0f00; color: #fff; padding: 14px 16px; }
.form-status a { color: inherit; }

/* Подвал */
.footer { margin-top: clamp(56px, 8vw, 100px); border-top: 1px solid var(--line); padding: 28px 0; color: var(--fg-dim); }
.footer .wrap { display: flex; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; align-items: center; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--accent); }
.footer nav { display: flex; gap: 20px; flex-wrap: wrap; }

/* Текстовые страницы */
.doc { padding: clamp(40px, 7vw, 90px) 0 0; max-width: 78ch; }
.doc h1 { font-size: clamp(32px, 5.5vw, 60px); max-width: none; margin-bottom: 32px; line-height: 1.02; }
.doc h2 { font-size: clamp(22px, 3vw, 30px); letter-spacing: -.03em; margin: 40px 0 14px; line-height: 1.1; }
.doc p, .doc li { color: #d6d6d6; }
.doc blockquote { margin: 0 0 24px; padding: 12px 16px; border-left: 3px solid var(--accent); color: var(--fg-dim); }
.doc a { color: var(--accent); }
.table-scroll { overflow-x: auto; margin: 20px 0; }
.doc table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: 14px; }
.doc th, .doc td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.doc th { background: var(--bg-2); font-weight: 700; }
.nf { padding: clamp(60px, 12vw, 160px) 0; }
.nf h1 { font-size: clamp(80px, 20vw, 220px); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}
