/* ================== ZeusCode — design tokens (Storm Slate) ================== */
:root {
  --bg: #0d1117;
  --bg-2: #11161d;
  --bg-3: #161c24;
  --surface: rgba(230, 237, 243, 0.035);
  --surface-2: rgba(230, 237, 243, 0.065);
  --stroke: rgba(230, 237, 243, 0.09);
  --stroke-strong: rgba(230, 237, 243, 0.18);
  --text: #e6edf3;
  --muted: #9aa7b4;
  --dim: #6b7784;

  /* единственный акцент — молния */
  --bolt: #7dd3fc;
  --bolt-hi: #a8e4ff;
  --bolt-text: #8fd8fd;
  --bolt-line: rgba(125, 211, 252, 0.34);
  --bolt-soft: rgba(125, 211, 252, 0.12);
  --ink: #06131c;

  --green: #3fb950;
  --red: #f85149;

  --code: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --r-sm: 6px;
  --r: 8px;
  --r-lg: 8px;
  --r-xl: 10px;
  --shadow: 0 30px 70px -45px #000;
  --glow: none;
  --maxw: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }

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.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

/* ================== a11y ================== */
:focus-visible { outline: 2px solid var(--bolt); outline-offset: 3px; border-radius: 3px; }
.skip {
  position: fixed; top: 10px; left: 50%; z-index: 200;
  transform: translate(-50%, -160%);
  padding: 10px 18px; border-radius: var(--r-sm);
  background: var(--bolt); color: var(--ink); font-size: 14px; font-weight: 600;
  transition: transform 0.2s var(--ease);
}
.skip:focus { transform: translate(-50%, 0); }
[id] { scroll-margin-top: 84px; }
/* ================== layout helpers ================== */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { position: relative; padding: 94px 0; }
.section--tight { padding: 60px 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--code);
  font-size: 11.5px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--bolt-text); margin: 0 0 18px;
}
.eyebrow::before {
  content: ""; width: 22px; height: 1px; background: currentColor; opacity: 0.7;
}

h1, h2, h3, h4 { margin: 0; line-height: 1.1; letter-spacing: 0; font-weight: 700; }
h2 { font-size: 42px; }
h3 { font-size: 20px; }
p { margin: 0; }

.lead { color: var(--muted); font-size: 18px; max-width: 62ch; }
.section-head { max-width: 720px; margin-bottom: 46px; }
.section-head .lead { margin-top: 18px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }
.center .lead { margin-left: auto; margin-right: auto; }

/* единственный акцент, без градиентного текста */
.grad-text, .gold-text { color: var(--bolt-text); background: none; }

/* ================== buttons ================== */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 11px 20px; border-radius: var(--r-sm); border: 1px solid transparent;
  font-weight: 600; font-size: 14px; letter-spacing: 0;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
  white-space: nowrap;
}
.btn--primary { background: var(--bolt); color: var(--ink); box-shadow: inset 0 1px 0 rgba(255,255,255,0.3); }
.btn--primary:hover { background: var(--bolt-hi); }
.btn--ghost { background: transparent; border-color: var(--stroke-strong); color: var(--text); }
.btn--ghost:hover { border-color: var(--bolt); color: var(--bolt-text); }
.btn--lg { padding: 14px 24px; font-size: 15px; }
/* ================== background fx ================== */
.bg-fx {
  position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none;
  background:
    radial-gradient(ellipse 70% 45% at 50% -6%, rgba(125,211,252,0.10), transparent 68%),
    linear-gradient(180deg, #10161e 0%, var(--bg) 46%);
}
.bg-fx__grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(230,237,243,0.028) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(230,237,243,0.028) 1px, transparent 1px);
  background-size: 92px 92px;
  mask-image: radial-gradient(ellipse 65% 55% at 50% 6%, #000 5%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse 65% 55% at 50% 6%, #000 5%, transparent 72%);
}
.blob { display: none; }
#bgGlobe {
  position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0;
  /* гасим центр — там заголовок, чтобы не было визуального шума */
  mask-image: radial-gradient(ellipse 44% 30% at 50% 40%, transparent 34%, rgba(0,0,0,0.5) 68%, #000 100%);
  -webkit-mask-image: radial-gradient(ellipse 44% 30% at 50% 40%, transparent 34%, rgba(0,0,0,0.5) 68%, #000 100%);
}

/* ================== header ================== */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background 0.35s, border-color 0.35s, backdrop-filter 0.35s;
  border-bottom: 1px solid transparent;
}
.header.is-stuck {
  background: rgba(13, 17, 23, 0.82); backdrop-filter: blur(14px);
  border-bottom-color: var(--stroke);
}
.header__inner { position: relative; display: flex; align-items: center; gap: 32px; height: 64px; }
.logo { display: flex; align-items: center; font-weight: 700; font-size: 17px; letter-spacing: 0; }
.logo__mark {
  width: 28px; height: 28px; border-radius: var(--r-sm); margin-right: 10px;
  border: 1px solid var(--bolt-line); color: var(--bolt-text);
  display: grid; place-items: center; flex: none;
}
.logo__mark svg { width: 15px; height: 15px; }
.nav { display: flex; gap: 20px; margin-left: auto; font-size: 13.5px; color: var(--muted); }
.nav a {
  position: relative; padding: 6px 0; opacity: 0.8;
  transition: color 0.2s, opacity 0.2s;
}
.nav a:hover, .nav a.is-active { color: var(--bolt); opacity: 1; }
.nav a.is-active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  border-radius: 0; background: var(--bolt);
}
.header__cta { display: flex; gap: 10px; align-items: center; }
.burger { display: none; align-items: center; justify-content: center; width: 40px; height: 40px; padding: 0; border: 1px solid var(--stroke); border-radius: var(--r-sm); background: var(--surface); color: var(--muted); }
.burger:hover { border-color: var(--bolt-line); color: var(--text); background: var(--bolt-soft); }
/* ================== hero ================== */
.hero { position: relative; padding: 126px 0 72px; }
.hero::after {
  content: ""; position: absolute; left: 50%; bottom: 0; width: min(1040px, 88%); height: 1px;
  transform: translateX(-50%); background: linear-gradient(90deg, transparent, var(--bolt-line), transparent);
}
.hero__layout { display: block; min-height: 0; }
.hero__copy { min-width: 0; max-width: 930px; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 5px 10px 5px 5px;
  border: 1px solid var(--bolt-line); border-radius: var(--r-sm); background: var(--bolt-soft);
  font-size: 12px; color: var(--muted); margin-bottom: 20px;
}
.hero__badge b { color: var(--text); font-weight: 600; }
.hero__badge .pill {
  padding: 3px 9px; border-radius: 4px; background: var(--bolt-soft);
  color: var(--bolt-text); font-family: var(--code);
  font-size: 10.5px; font-weight: 500; letter-spacing: 0.08em;
}
.hero h1 {
  font-size: 56px; font-weight: 800; letter-spacing: 0; line-height: 1.04; max-width: 25ch; margin: 0; overflow-wrap: anywhere;
}
.hero h1 .line { display: block; }
.hero__sub { margin: 20px 0 0; max-width: 49ch; color: var(--muted); font-size: 18px; }
.hero__actions { display: flex; gap: 10px; justify-content: flex-start; flex-wrap: wrap; margin-top: 26px; }
.hero__note { margin-top: 18px; font-size: 13.5px; color: var(--dim); }
.hero__checks { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 20px; margin: 20px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: 12px; }
.hero__checks li { display: inline-flex; align-items: center; gap: 7px; }
.hero__checks svg { width: 15px; height: 15px; color: var(--green); flex: none; }

.codewin__status { display: flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 16px; border-top: 1px solid var(--stroke); background: rgba(17,22,29,.9); color: var(--dim); font: 10.5px var(--code); }
.codewin__status-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px rgba(63,185,80,.1); }
.codewin__status-separator { color: var(--stroke-strong); }
.codewin__status-model { color: var(--bolt-text); }

.hero__stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 38px;
  border: 1px solid var(--stroke-strong); border-radius: var(--r-lg); overflow: hidden;
  background: var(--stroke-strong);
}
.stat { background: rgba(17,22,29,0.92); padding: 17px 18px; }
.stat + .stat { border-left: 1px solid rgba(230,237,243,0.04); }
.stat__num {
  font-size: 30px;
  font-weight: 700; letter-spacing: 0; font-variant-numeric: tabular-nums;
}
.stat__num.grad-text { color: var(--text); }
.stat__label { font-size: 12.5px; color: var(--dim); margin-top: 5px; }

/* ================== marquee ================== */
.models-section { border-top: 1px solid var(--stroke); border-bottom: 1px solid var(--stroke); background: rgba(17,22,29,.42); }
.models-section .section-head { margin-bottom: 30px; }
.models-section .section-head h2 { font-size: 42px; }
.marquee { position: relative; overflow: hidden; padding: 5px 0; }
.marquee::before, .marquee::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 140px; z-index: 2; pointer-events: none;
}
.marquee::before { left: 0; background: linear-gradient(90deg, var(--bg), transparent); }
.marquee::after { right: 0; background: linear-gradient(270deg, var(--bg), transparent); }
.marquee__track { display: flex; gap: 10px; width: max-content; animation: slide 42s linear infinite; }
.marquee--reverse .marquee__track { animation-direction: reverse; animation-duration: 48s; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(-50%); } }
.chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 10px;
  border: 1px solid var(--stroke); border-radius: var(--r-sm); background: var(--surface);
  font-size: 13.5px; font-weight: 500; color: var(--muted); white-space: nowrap;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.chip:hover { border-color: var(--stroke-strong); color: var(--text); background: var(--surface-2); }
.chip svg { width: 17px; height: 17px; flex: none; }

/* ================== generic cards ================== */
.grid { display: grid; gap: 14px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.feature-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 164px; gap: 12px; }
.feature-grid .card { grid-column: auto; grid-row: auto; min-height: 0; height: 100%; padding: 18px; display: flex; flex-direction: column; }
.feature-grid .card__icon { width: 32px; height: 32px; margin-bottom: 11px; }
.feature-grid .card h3 { font-size: 16px; }
.feature-grid .card p { font-size: 13.5px; line-height: 1.45; }

.card {
  position: relative; padding: 22px; border-radius: var(--r-lg);
  border: 1px solid var(--stroke); background: var(--bg-2);
  overflow: hidden; transition: border-color 0.25s, background 0.25s, transform 0.25s var(--ease);
}
.card::after {
  content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity 0.3s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(125,211,252,0.09), transparent 65%);
  pointer-events: none;
}
.card:hover { border-color: var(--bolt-line); background: var(--bg-3); transform: translateY(-2px); }
.card:hover::after { opacity: 1; }
.card__icon {
  width: 36px; height: 36px; border-radius: var(--r-sm); display: grid; place-items: center;
  background: var(--bolt-soft); border: 1px solid var(--bolt-line); margin-bottom: 14px;
}
.card__icon svg { width: 18px; height: 18px; stroke: var(--bolt); }
.card h3 { margin-bottom: 7px; }
.card p { color: var(--muted); font-size: 14px; line-height: 1.5; }
/* ================== pain / gain ================== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.panel {
  padding: 24px; border-radius: var(--r-lg); border: 1px solid var(--stroke); background: var(--bg-2);
}
.panel--pain { border-color: rgba(248,81,73,0.28); background: var(--bg-2); }
.panel--gain { border-color: rgba(63,185,80,0.3); background: var(--bg-2); }
.panel h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; font-size: 18px; }
.panel ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.panel li { display: flex; gap: 10px; font-size: 14px; color: var(--muted); line-height: 1.4; }
.panel li i { flex: none; width: 18px; height: 18px; border-radius: 4px; display: grid; place-items: center; font-style: normal; font-size: 11px; font-weight: 700; margin-top: 1px; }
.panel--pain li i { background: rgba(248,81,73,0.14); color: var(--red); }
.panel--gain li i { background: rgba(63,185,80,0.14); color: var(--green); }

/* ================== steps ================== */
.steps { counter-reset: s; display: grid; gap: 14px; grid-template-columns: repeat(3, 1fr); }
.step { position: relative; padding: 22px; border-radius: var(--r-lg); border: 1px solid var(--stroke); background: var(--bg-2); }
.step__n {
  width: 30px; height: 30px; border-radius: var(--r-sm);
  border: 1px solid var(--bolt-line); background: var(--bolt-soft); color: var(--bolt-text);
  display: grid; place-items: center; font-family: var(--code); font-weight: 500; font-size: 13px; margin-bottom: 14px;
}
.step h3 { margin-bottom: 9px; }
.step p { color: var(--muted); font-size: 14px; line-height: 1.5; }

/* ================== code window ================== */
.codewin {
  border-radius: var(--r-lg); border: 1px solid var(--stroke); overflow: hidden;
  background: var(--bg-2); box-shadow: var(--shadow);
}
.codewin__bar { display: flex; align-items: center; gap: 8px; padding: 12px 15px; border-bottom: 1px solid var(--stroke); background: var(--bg-3); }
.codewin__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--surface-2); }
.codewin__dot:first-child { background: var(--bolt-line); }
.codewin__title { margin-left: 10px; font-size: 12px; color: var(--dim); font-family: var(--code); }
.codewin__copy {
  margin-left: auto; display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 11px; border-radius: var(--r-sm); border: 1px solid var(--stroke);
  background: transparent; color: var(--muted); font-size: 12px; font-weight: 500;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.codewin__copy:hover { border-color: var(--bolt-line); color: var(--bolt-text); background: var(--bolt-soft); }
.codewin__copy.is-done { border-color: rgba(63,185,80,0.4); color: var(--green); background: rgba(63,185,80,0.1); }
.codewin__copy svg { flex: none; }
.codewin pre {
  margin: 0; padding: 22px; overflow-x: auto; font-size: 13px; line-height: 1.85;
  font-family: var(--code); color: #c9d1d9;
}
.codewin code { display: block; padding: 0; border: 0; border-radius: 0; background: none; color: inherit; }
.tok-c { color: #6b7784; }
.tok-k { color: #ff7b72; }
.tok-s { color: #a5d6ff; }
.tok-f { color: #d2a8ff; }
.tok-n { color: #79c0ff; }
.tok-p { color: var(--bolt-text); }

/* ================== crew ================== */
.crew { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.crew::before {
  content: ""; position: absolute; top: 50%; left: 16%; right: 16%; height: 1px;
  background: var(--bolt-line); opacity: 0.55;
}
.crew__card { position: relative; z-index: 1; padding: 24px; border-radius: var(--r-lg); border: 1px solid var(--stroke); background: var(--bg-2); transition: border-color 0.25s, transform 0.25s var(--ease); }
.crew__card:hover { border-color: var(--bolt-line); transform: translateY(-3px); }
.crew__role { font-family: var(--code); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--bolt-text); font-weight: 500; }
.crew__model { display: flex; align-items: center; gap: 11px; margin: 14px 0 12px; font-size: 17px; font-weight: 700; letter-spacing: 0; }
.crew__model svg { width: 24px; height: 24px; flex: none; }
.crew__card p { color: var(--muted); font-size: 14.5px; }
/* ================== pricing ================== */
.tiers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; align-items: start; }
.tier {
  position: relative; padding: 22px 20px; border-radius: var(--r-lg); border: 1px solid var(--stroke);
  background: var(--bg-2);
  transition: border-color 0.25s, background 0.25s;
}
.tier:hover { border-color: var(--stroke-strong); background: var(--bg-3); }
.tier--hot { border-color: var(--bolt); background: rgba(125,211,252,.055); box-shadow: 0 18px 50px -36px var(--bolt); transform: translateY(-6px); }
.tier--hot::before {
  content: "Выбор 68% команд"; position: absolute; top: -10px; left: 24px;
  padding: 3px 10px; border-radius: 4px; background: var(--bolt); color: var(--ink);
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.02em;
}
.tier__name { font-family: var(--code); font-size: 11.5px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.tier__price { margin: 12px 0 6px; font-family: var(--code); font-size: 30px; font-weight: 500; letter-spacing: 0; }
.tier__price span { display: block; margin-top: 3px; font-family: "Inter", sans-serif; font-size: 13px; font-weight: 400; color: var(--dim); letter-spacing: 0; }
.tier__desc { color: var(--muted); font-size: 14px; min-height: 42px; }
.tier__models { list-style: none; margin: 18px 0 0; padding: 18px 0 0; border-top: 1px solid var(--stroke); display: grid; gap: 9px; }
.tier__models li { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--muted); }
.tier__models li svg { width: 18px; height: 18px; flex: none; }
.tier__models li b { color: var(--text); font-weight: 600; margin-left: auto; font-variant-numeric: tabular-nums; font-size: 13px; }

/* ================== compare table ================== */
.table-wrap { border: 1px solid var(--stroke); border-radius: var(--r-lg); overflow: hidden; }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
thead th {
  text-align: left; padding: 15px 20px; font-family: var(--code); font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--dim); font-weight: 500; background: var(--bg-3); border-bottom: 1px solid var(--stroke);
}
tbody td { padding: 15px 20px; border-bottom: 1px solid var(--stroke); color: var(--muted); }
tbody tr:last-child td { border-bottom: none; }
tbody tr { transition: background 0.2s; }
tbody tr:hover { background: var(--surface); }
td.model { color: var(--text); font-weight: 600; }
td.zeus { color: var(--text); font-weight: 500; font-family: var(--code); font-variant-numeric: tabular-nums; }
.delta { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: 4px; font-family: var(--code); font-size: 11.5px; font-weight: 500; }
.delta--good { background: rgba(63,185,80,0.13); color: var(--green); }
.delta--neutral { background: var(--surface-2); color: var(--muted); }
.table-note { margin-top: 16px; font-size: 13px; color: var(--dim); }

/* ================== public price board ================== */
.price-board {
  border: 1px solid var(--stroke); border-radius: var(--r-lg); background: var(--bg-2);
  overflow: hidden; box-shadow: var(--shadow);
}
.price-board__meta {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px;
  padding: 12px 16px; border-bottom: 1px solid var(--stroke); color: var(--dim);
  font: 11.5px var(--code); letter-spacing: .02em; text-transform: uppercase;
}
.price-board__meta b { color: var(--bolt-text); font-weight: 500; }
.table-wrap--prices { border: 0; border-radius: 0; }
.price-table { font-size: 14px; }
.price-table thead th { padding-top: 10px; padding-bottom: 10px; }
.price-table thead th:nth-child(2),
.price-table thead th:nth-child(3),
.price-table thead th:nth-child(4),
.price-table td:nth-child(2),
.price-table td:nth-child(3),
.price-table td:nth-child(4) { width: 18%; }
.price-table thead th:first-child { width: 46%; }
.price-table tbody th.price-model {
  display: flex; align-items: center; gap: 10px; padding: 10px 16px; border-bottom: 1px solid var(--stroke);
  color: var(--text); text-align: left; font-weight: 500;
}
.price-model > svg { width: 20px; height: 20px; flex: none; }
.price-model > span:last-child { min-width: 0; }
.price-model strong, .price-model small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.price-model strong { font-size: 14px; font-weight: 600; }
.price-model small { margin-top: 1px; color: var(--dim); font: 11px var(--code); }
.price-rank {
  width: 25px; flex: none; color: var(--dim); font: 11px var(--code); font-variant-numeric: tabular-nums;
}
.price-table tbody td { padding: 10px 16px; }
.price-value { color: var(--muted); font: 13px var(--code); font-variant-numeric: tabular-nums; white-space: nowrap; }
.price-value--strong { color: var(--text); font-weight: 600; }
.price-status {
  display: inline-flex; align-items: center; gap: 5px; padding: 3px 7px; border-radius: 4px;
  font-size: 11px; white-space: nowrap;
}
.price-status::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.price-status--ready { color: var(--green); background: rgba(63,185,80,.1); }
.price-status--limited { color: var(--dim); background: var(--surface-2); }
.price-table tbody tr.is-limited { opacity: .7; }
.price-table tbody tr.is-limited:hover { opacity: 1; }
.price-noscript { padding: 20px; color: var(--muted); }

/* ================== IDE ================== */
.ide-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 10px; }
.ide {
  display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: var(--r);
  border: 1px solid var(--stroke); background: var(--bg-2); font-weight: 600; font-size: 14.5px;
  transition: border-color 0.25s, background 0.25s;
}
.ide:hover { border-color: var(--bolt-line); background: var(--bg-3); }
.ide svg { width: 20px; height: 20px; flex: none; }
.ide small { display: block; font-weight: 400; font-size: 12px; color: var(--dim); }
/* ================== FAQ ================== */
.faq { display: grid; gap: 8px; max-width: 840px; margin: 0 auto; }
.faq__item { border: 1px solid var(--stroke); border-radius: var(--r); background: var(--bg-2); overflow: hidden; transition: border-color 0.25s; }
.faq__item.is-open { border-color: var(--bolt-line); }
.faq__q {
  width: 100%; display: flex; align-items: center; gap: 16px; padding: 15px 18px;
  background: none; border: 0; color: var(--text); text-align: left; font-size: 15.5px; font-weight: 600;
}
.faq__q:hover { color: var(--bolt-hi); }
.faq__q span { flex: 1; }
.faq__q i {
  flex: none; width: 22px; height: 22px; border-radius: var(--r-sm); border: 1px solid var(--stroke);
  display: grid; place-items: center; font-style: normal; font-size: 16px; color: var(--muted);
  transition: transform 0.3s var(--ease), background 0.25s, color 0.25s;
}
.faq__item.is-open .faq__q i { transform: rotate(45deg); background: var(--bolt); color: var(--ink); border-color: transparent; }
.faq__a { max-height: 0; overflow: hidden; transition: max-height 0.42s var(--ease); }
.faq__a p { padding: 0 20px 18px; color: var(--muted); font-size: 14px; }

/* ================== CTA ================== */
.cta {
  position: relative; padding: 48px 36px; border-radius: var(--r-xl); text-align: center; overflow: hidden;
  border: 1px solid var(--bolt-line);
  background: rgba(125,211,252,.055);
}
.cta::before { content: none; }
.cta > * { position: relative; }
.cta h2 { font-size: 46px; max-width: 20ch; margin: 0 auto; }
.cta .lead { margin: 16px auto 0; }
.cta__actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 26px; }

/* ================== API playground ================== */
.playground {
  position: relative;
  border: 1px solid rgba(230,237,243,.16);
  border-radius: 10px;
  background: #0b1016;
  box-shadow: 0 34px 90px -48px rgba(0,0,0,.95), 0 0 0 1px rgba(125,211,252,.035);
  overflow: hidden;
}
.playground::before {
  content: "";
  display: block;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--bolt), transparent);
  opacity: .8;
}
.chat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 64px;
  padding: 13px 18px;
  border-bottom: 1px solid var(--stroke);
  background: rgba(22,28,36,.88);
}
.chat-brand { display: flex; align-items: center; gap: 12px; min-width: 190px; }
.chat-brand__mark {
  display: grid; place-items: center; width: 34px; height: 34px;
  border: 1px solid rgba(125,211,252,.55); border-radius: 8px;
  background: var(--bolt); color: var(--ink); font-size: 21px;
  box-shadow: 0 0 24px rgba(125,211,252,.14);
}
.chat-brand strong, .chat-brand small { display: block; }
.chat-brand strong { font-size: 15px; letter-spacing: 0; }
.chat-brand small { margin-top: 2px; color: var(--muted); font-size: 11px; }
.chat-models {
  display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap;
  gap: 0; padding: 6px 10px; border: 1px solid var(--stroke); border-radius: 8px;
  background: rgba(13,17,23,.55);
}
.chat-models span { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font: 11px var(--code); white-space: nowrap; }
.chat-models span + span::before { content: "·"; color: var(--bolt); margin: 0 9px; }
.chat-models svg { width: 14px; height: 14px; color: var(--bolt); }
.chat-body {
  display: flex; flex-direction: column; min-height: 430px; max-height: 600px; overflow-y: auto;
  padding: 32px clamp(22px, 7vw, 94px);
  background: #0d1117;
}
.chat-welcome { display: grid; place-items: center; align-content: center; flex: 1; min-height: 320px; text-align: center; }
.chat-welcome__icon {
  display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 15px;
  border: 1px solid rgba(125,211,252,.42); border-radius: 12px;
  color: var(--bolt); background: rgba(125,211,252,.09); font-size: 28px;
  box-shadow: 0 14px 42px -20px rgba(125,211,252,.7);
}
.chat-welcome h3 { margin: 0; font-size: 30px; letter-spacing: 0; }
.chat-welcome p { max-width: 430px; margin: 8px auto 0; color: var(--muted); font-size: 14px; line-height: 1.55; }
.chat-form { padding: 14px clamp(18px, 5vw, 70px) 16px; border-top: 1px solid var(--stroke); background: #11161d; }
.chat-form textarea {
  display: block; width: 100%; min-height: 78px; resize: vertical; padding: 13px 15px;
  border: 1px solid rgba(230,237,243,.2); border-radius: 8px; background: #0b1016; color: var(--text);
  font: 15px/1.55 "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; outline: none; box-shadow: inset 0 1px 0 rgba(255,255,255,.025); transition: border-color .2s, box-shadow .2s;
}
.chat-form textarea:focus { border-color: var(--bolt); box-shadow: 0 0 0 3px var(--bolt-soft), inset 0 1px 0 rgba(255,255,255,.025); }
.chat-form textarea::placeholder { color: var(--dim); }
.chat-form__bottom { display: flex; align-items: center; justify-content: space-between; margin-top: 11px; color: var(--dim); font-size: 11px; }
.chat-form__bottom b { color: var(--bolt-text); font-weight: 500; }
.chat-send { display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 8px; background: var(--bolt); color: var(--ink); font-size: 21px; line-height: 1; cursor: pointer; transition: transform .2s, box-shadow .2s, opacity .2s; }
.chat-send:hover { transform: translateY(-2px); box-shadow: 0 8px 22px -10px var(--bolt); }
.chat-send:disabled { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }
.chat-message { max-width: min(78%, 680px); margin: 0 0 22px auto; padding: 14px 17px; border: 1px solid rgba(125,211,252,.24); border-radius: 17px 17px 4px 17px; background: rgba(125,211,252,.13); color: var(--text); font-size: 14px; line-height: 1.6; white-space: pre-wrap; }
.chat-answer { max-width: min(88%, 760px); padding: 17px 19px; border: 1px solid var(--stroke); border-radius: 17px 17px 17px 4px; background: #111820; color: var(--muted); font-size: 14px; line-height: 1.7; white-space: pre-wrap; box-shadow: 0 12px 30px -26px #000; }
.chat-answer__label { margin-bottom: 9px; color: var(--bolt-text); font: 11px var(--code); letter-spacing: .02em; }
.chat-answer.is-error { border-color: rgba(248,81,73,.35); }
.chat-thinking { max-width: min(88%, 760px); margin-bottom: 14px; padding: 13px 16px; border: 1px solid rgba(125,211,252,.18); border-radius: 14px 14px 14px 4px; color: var(--bolt-text); background: rgba(125,211,252,.045); font: 12px var(--code); }
.chat-thinking span, .chat-thinking i { display: inline-block; width: 5px; height: 5px; margin-left: 4px; border-radius: 50%; background: var(--bolt); animation: chatPulse 1s infinite; }
.chat-thinking i:nth-child(2) { animation-delay: .15s; }.chat-thinking i:nth-child(3) { animation-delay: .3s; }.chat-thinking i:nth-child(4) { animation-delay: .45s; }
@keyframes chatPulse { 0%,80%,100% { opacity:.25; transform: translateY(0); } 40% { opacity:1; transform: translateY(-3px); } }
@media (max-width: 700px) {
  .playground { border-radius: 10px; }
  .chat-head { display: block; padding: 14px; }
  .chat-models { justify-content: flex-start; margin-top: 12px; padding: 6px 8px; overflow-x: auto; }
  .chat-body { min-height: 340px; padding: 22px 16px; }
  .chat-form { padding: 14px 14px 16px; }
  .chat-message, .chat-answer, .chat-thinking { max-width: 94%; }
}

.footer { border-top: 1px solid var(--stroke); padding: 26px 0 28px; margin-top: 64px; }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; font-size: 13px; color: var(--dim); flex-wrap: wrap; }
.footer__legal {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px 14px;
  margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--stroke);
  color: var(--dim); font-size: 12px; text-align: center;
}
.footer__legal a { transition: color 0.18s ease; }
.footer__legal a:hover { color: var(--bolt-text); }
.footer__legal-separator { color: var(--stroke-strong); }

/* ================== legal pages ================== */
.legal-header { border-bottom: 1px solid var(--stroke); }
.legal-header__inner { display: flex; align-items: center; justify-content: space-between; min-height: 64px; gap: 18px; }
.legal-back { color: var(--muted); font-size: 13px; transition: color 0.18s ease; }
.legal-back:hover { color: var(--bolt-text); }
.legal-main { padding: 82px 0 96px; }
.legal-intro { max-width: 760px; margin-bottom: 34px; }
.legal-intro h1 { margin-bottom: 14px; font-size: clamp(34px, 5vw, 52px); }
.legal-intro p { max-width: 66ch; color: var(--muted); }
.legal-meta { margin-top: 14px; color: var(--dim); font: 12px var(--code); }
.legal-document { max-width: 820px; padding-top: 30px; border-top: 1px solid var(--stroke-strong); }
.legal-document h2 { margin: 34px 0 12px; font-size: 24px; }
.legal-document h3 { margin: 24px 0 9px; font-size: 17px; }
.legal-document p, .legal-document li { color: var(--muted); font-size: 15px; line-height: 1.72; }
.legal-document p + p { margin-top: 12px; }
.legal-document ul, .legal-document ol { margin: 10px 0 0; padding-left: 22px; }
.legal-document li + li { margin-top: 7px; }
.legal-document a { color: var(--bolt-text); text-decoration: underline; text-decoration-color: var(--bolt-line); text-underline-offset: 3px; }
.legal-note {
  margin: 22px 0 28px; padding: 16px 18px; border: 1px solid var(--bolt-line);
  border-left: 3px solid var(--bolt); background: var(--bolt-soft); border-radius: var(--r-sm);
}
.legal-note p { color: var(--text); font-size: 14px; }
.legal-contact { display: inline-flex; align-items: center; gap: 8px; margin-top: 7px; color: var(--bolt-text); font-weight: 600; }
.legal-contact::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.legal-footer { margin-top: 0; }

@media (max-width: 600px) {
  .footer__legal { flex-direction: column; gap: 7px; }
  .footer__legal-separator { display: none; }
  .legal-main { padding: 62px 0 72px; }
  .legal-header__inner { min-height: 60px; }
  .legal-back { font-size: 12px; }
  .legal-document p, .legal-document li { font-size: 14px; }
}

/* ================== reveal animation ================== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.75s var(--ease), transform 0.75s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: 0.08s; }
.reveal[data-d="2"] { transition-delay: 0.16s; }
.reveal[data-d="3"] { transition-delay: 0.24s; }
.reveal[data-d="4"] { transition-delay: 0.32s; }
/* ================== responsive ================== */
@media (max-width: 1024px) {
  .grid--4, .tiers { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 164px; }
  .hero h1 { font-size: 50px; }
  .hero__stats { grid-template-columns: repeat(2, 1fr); }
  .cta { padding: 56px 32px; }
}
@media (max-width: 860px) {
  .nav {
    display: none; position: absolute; top: calc(100% + 8px); left: 24px; right: 24px; z-index: 2;
    flex-direction: column; gap: 0; margin: 0; padding: 8px; border: 1px solid var(--stroke-strong);
    border-radius: var(--r-lg); background: rgba(13,17,23,.96); box-shadow: var(--shadow); backdrop-filter: blur(14px);
    font-size: 14px;
  }
  .nav.is-open { display: flex; }
  .nav a { width: 100%; padding: 11px 12px; border-radius: var(--r-sm); }
  .nav a:hover, .nav a.is-active { background: var(--bolt-soft); }
  .nav a.is-active::after { left: 12px; right: auto; bottom: 8px; width: 18px; }
  .burger {
    display: inline-flex; order: 3;
  }
  .header__inner { gap: 10px; height: 64px; }
  .header__cta { order: 2; margin-left: auto; }
  .header__cta .btn--ghost { display: none; }
  .header__cta .btn--primary { padding: 9px 16px; font-size: 13px; }
}
@media (max-width: 760px) {
  [id] { scroll-margin-top: 112px; }
  #bgGlobe {
    mask-image: radial-gradient(ellipse 62% 34% at 50% 42%, transparent 38%, rgba(0,0,0,0.5) 72%, #000 100%);
    -webkit-mask-image: radial-gradient(ellipse 62% 34% at 50% 42%, transparent 38%, rgba(0,0,0,0.5) 72%, #000 100%);
  }
  .section { padding: 76px 0; }
  h2 { font-size: 34px; }
  .lead { font-size: 16px; }
  .stat__num { font-size: 26px; }
  .cta h2 { font-size: 34px; }
  .chat-welcome h3 { font-size: 26px; }
  .hero { padding: 112px 0 56px; }
  .hero::after { width: 70%; }
  .grid--3, .grid--2, .grid--4, .steps, .crew, .split, .tiers { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-grid .card { grid-column: auto; grid-row: auto; min-height: 0; height: 100%; }
  .crew::before { top: 10%; bottom: 10%; left: 18px; right: auto; width: 1px; height: auto; }
  .crew__card { margin-left: 18px; }
  .section-head { margin-bottom: 30px; }
  .models-section .section-head h2 { font-size: 34px; }
  .hero h1 { font-size: 44px; max-width: 18ch; }
  .hero__sub { font-size: 17px; }
  .hero__badge { max-width: 100%; flex-wrap: wrap; }
  .codewin__status { overflow: hidden; white-space: nowrap; }
  .codewin__status-model { overflow: hidden; text-overflow: ellipsis; }
  .table-wrap { overflow: hidden; }
  table, tbody, tr, td { display: block; width: 100%; }
  thead { display: none; }
  tbody tr { padding: 18px 20px; border-bottom: 1px solid var(--stroke); }
  tbody td { padding: 5px 0; border: none; display: flex; align-items: center; justify-content: space-between; gap: 14px; font-size: 14.5px; }
  tbody td::before { content: attr(data-label); color: var(--dim); font-size: 13px; }
  td.model { font-size: 16px; margin-bottom: 8px; padding-bottom: 0; justify-content: flex-start; }
  td.model::before { content: none; }
  tbody td::before { font-weight: 500; }
  .price-board__meta { align-items: flex-start; flex-direction: column; gap: 5px; padding: 12px 16px; }
  .price-table tbody tr { padding: 15px 18px; }
  .price-table tbody th.price-model {
    display: flex; width: 100%; padding: 0 0 10px; border: 0; font-size: 16px;
  }
  .price-table .price-model strong { font-size: 15px; }
  .price-table tbody td { width: 100%; padding: 5px 0; }
  .price-table tbody td::before { content: attr(data-label); }
  .price-table tbody td.price-value { justify-content: space-between; }
  .price-table tbody td[data-label="Статус"] { padding-top: 9px; }
  .price-table tbody td[data-label="Статус"]::before { content: attr(data-label); }
  .price-table .price-rank { width: 24px; }
  .hero__actions .btn, .cta__actions .btn { width: 100%; }
  .hero__badge { font-size: 12px; padding: 6px 8px 6px 10px; text-align: left; }
  .card, .panel, .tier { padding: 20px; }
}
@media (max-width: 420px) {
  .hero__stats { grid-template-columns: 1fr; }
  .hero h1 { font-size: 40px; }
  .hero__checks { display: grid; gap: 9px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001s !important; animation-iteration-count: 1 !important; transition-duration: 0.001s !important; }
  .reveal { opacity: 1; transform: none; }
}

code {
  font-family: var(--code);
  font-size: 0.9em; padding: 2px 6px; border-radius: 4px;
  background: var(--bolt-soft); color: var(--bolt-text); border: 1px solid var(--bolt-line);
}

::selection { background: rgba(125, 211, 252, 0.3); color: #fff; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #21262d; border-radius: 10px; border: 2px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: #30363d; }
