/* Python — стиль «чистая IDE»: тёмный редактор, моноширинные акценты, цвета подсветки синтаксиса. */
:root {
  --bg: #0d1117;
  --bg2: #11161d;
  --panel: #161b22;
  --panel2: #1c232d;
  --line: #2a313c;
  --fg: #e6edf3;
  --mut: #9aa6b2;
  --blue: #4c9dff;
  --green: #7ee787;
  --violet: #d2a8ff;
  --amber: #f2cc60;
  --orange: #ffa657;
  --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --lf-fg: var(--fg);
  --lf-muted: var(--mut);
  --lf-field: #0d1117;
  --lf-field-fg: var(--fg);
  --lf-border: #303945;
  --lf-accent: #2f81f7;
  --lf-accent-fg: #fff;
  --lf-chip: #0d1117;
  --lf-chip-active: #2f81f7;
  --lf-chip-active-fg: #fff;
  --lf-radius: 8px;
  --lf-error: #ff7b72;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 15.5px/1.55 var(--sans); }
a { color: var(--blue); }
h1, h2, h3 { margin: 0; letter-spacing: -0.02em; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
svg { flex: 0 0 auto; }

/* ── шапка ── */
.top { position: sticky; top: 0; z-index: 20; background: rgba(13, 17, 23, .86); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; justify-content: space-between; height: 60px; gap: 16px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--fg); text-decoration: none; font-weight: 700; font-size: 16px; }
.logo svg { width: 30px; height: 30px; }
.logo small { display: block; font: 500 11px/1 var(--mono); color: var(--mut); letter-spacing: .02em; margin-top: 3px; }
.logo span { line-height: 1.1; }
.role { display: flex; padding: 3px; gap: 2px; background: var(--panel); border: 1px solid var(--line); border-radius: 9px; }
.role button { font: 600 13.5px var(--sans); color: var(--mut); background: none; border: 0; padding: 7px 14px; border-radius: 6px; cursor: pointer; }
.role button.is-active { background: var(--panel2); color: var(--fg); box-shadow: inset 0 0 0 1px #3a4553; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 24px; border-radius: 8px; background: #2f81f7; color: #fff; font-weight: 700; font-size: 16px; text-decoration: none; transition: filter .15s; white-space: nowrap; }
.btn:hover { filter: brightness(1.1); }
.btn:active { transform: translateY(1px); filter: brightness(.95); }
.role button { transition: color .15s, background-color .15s; }
.role button:not(.is-active):hover { color: var(--fg); }
.btn-sm { height: 38px; padding: 0 16px; font-size: 14px; }

/* ── первый экран ── */
.hero { position: relative; padding: 30px 0 58px; --cta-glow: #2f81f7; background:
  radial-gradient(900px 420px at 78% 10%, rgba(47, 129, 247, .14), transparent 60%),
  radial-gradient(600px 300px at 10% 90%, rgba(126, 231, 135, .06), transparent 60%); }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .35;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 48px 48px; mask-image: radial-gradient(ellipse at 70% 30%, #000 0%, transparent 65%); }
.hero > .wrap { position: relative; z-index: 1; }
.hero-status { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; display: flex; gap: 22px; align-items: center; height: 28px; padding: 0 24px; background: #010409; border-top: 1px solid var(--line); font: 12px var(--mono); color: var(--mut); overflow: hidden; white-space: nowrap; }
.hero-status .st-ok { display: inline-flex; align-items: center; gap: 6px; color: var(--green); }
.hero-status .st-ok i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.hero-status .st-r { margin-left: auto; }
.hero-in > *, .inside > *, .form-wrap > *, .faq-wrap > *, .gift > *, .founder > * { min-width: 0; }
.hero-in { position: relative; display: grid; grid-template-columns: 1.02fr 1fr; gap: 48px; align-items: center; }
.kick-row { margin: 0 0 14px; }
.kicker { display: inline-flex; align-items: center; gap: 8px; font: 500 13px var(--mono); color: var(--green); background: rgba(126, 231, 135, .08); border: 1px solid rgba(126, 231, 135, .25); padding: 5px 11px; border-radius: 6px; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px rgba(126, 231, 135, .2); }
h1 { font-size: 48px; line-height: 1.08; font-weight: 800; }
.hl { font-family: var(--mono); font-weight: 700; color: var(--amber); }
.lead { margin: 16px 0 0; font-size: 17px; color: #c3ccd6; max-width: 560px; }
.ticks { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 9px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: #d6dde5; }
.ticks svg { width: 20px; height: 20px; margin-top: 1px; fill: none; stroke: var(--green); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; padding: 2px; background: rgba(126, 231, 135, .1); border-radius: 5px; }
.cta-row { display: flex; align-items: center; gap: 16px; margin-top: 22px; flex-wrap: wrap; }
.micro { margin: 10px 0 0; font: 12.5px var(--mono); color: var(--mut); }
.trust { margin: 8px 0 0; font-size: 13.5px; color: #c3ccd6; }
.trust .cm { font-family: var(--mono); }
.gift-chip svg { transition: border-color .2s, transform .2s; }
.gift-chip:hover svg { border-color: var(--amber); transform: translateY(-2px); }
.gift-chip { display: flex; align-items: center; gap: 10px; color: var(--fg); text-decoration: none; font-size: 13px; line-height: 1.3; color: var(--mut); }
.gift-chip b { display: block; color: var(--fg); font-weight: 600; }
.gift-chip svg { width: 36px; height: 36px; padding: 7px; border-radius: 8px; background: var(--panel); border: 1px solid var(--line); fill: none; stroke: var(--amber); stroke-width: 1.7; stroke-linejoin: round; }

.hero-visual { position: relative; }
.ide { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; box-shadow: 0 30px 80px rgba(0, 0, 0, .45), 0 0 0 1px rgba(255, 255, 255, .02); }
.ide-bar { display: flex; align-items: center; gap: 6px; height: 40px; padding: 0 12px; background: #0f141a; border-bottom: 1px solid var(--line); }
.ide-bar i { width: 11px; height: 11px; border-radius: 50%; background: #2d3540; }
.ide-bar i:first-child { background: #ff5f57; } .ide-bar i:nth-child(2) { background: #febc2e; } .ide-bar i:nth-child(3) { background: #28c840; margin-right: 10px; }
.tab { font: 500 12.5px var(--mono); color: var(--mut); padding: 6px 12px; border-radius: 6px 6px 0 0; }
.tab.is-on { color: var(--fg); background: var(--panel); box-shadow: inset 0 2px 0 var(--blue); }
.run { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font: 600 12.5px var(--sans); color: #fff; background: #238636; padding: 5px 11px; border-radius: 6px; }
.run svg { width: 13px; height: 13px; fill: currentColor; }
.code { margin: 0; padding: 14px 0; font: 13.5px/1.68 var(--mono); color: #e6edf3; overflow: hidden; }
.code code { display: block; white-space: pre; }
.cl { display: block; }
.tx { display: inline-block; }
.motion .tx { clip-path: inset(0 100% 0 0); animation: type var(--t) steps(var(--n), end) var(--d) forwards; }
@keyframes type { to { clip-path: inset(0 0 0 0); } }
.caret { display: inline-block; width: 8px; height: 1.15em; margin-left: 2px; vertical-align: -3px; background: var(--blue); opacity: 0; }
.motion .caret { animation: caret-in 0s calc(var(--d) + var(--t)) forwards, blink 1.05s steps(1) calc(var(--d) + var(--t)) infinite; }
@keyframes caret-in { to { opacity: 1; } }
@keyframes blink { 50% { opacity: 0; } }
.no-motion .caret { opacity: 1; }
.motion .console > div:not(.console-h) { opacity: 0; transform: translateY(4px); animation: line-in .35s ease forwards; }
.motion .console > div:nth-child(2) { animation-delay: var(--d); }
.motion .console > div:nth-child(3) { animation-delay: calc(var(--d) + .35s); }
.motion .console > div:nth-child(4) { animation-delay: calc(var(--d) + .7s); }
.motion .console > div:nth-child(5) { animation-delay: calc(var(--d) + 1.05s); }
@keyframes line-in { to { opacity: 1; transform: none; } }
.motion .badge-ok { opacity: 0; scale: .9; animation: badge-in .45s cubic-bezier(.2,.9,.3,1.3) var(--d) forwards; }
@keyframes badge-in { to { opacity: 1; scale: 1; } }
.ln { display: inline-block; width: 44px; padding-right: 16px; text-align: right; color: #4b5563; user-select: none; }
.kw { color: #ff7b72; } .fn { color: #d2a8ff; } .st { color: #a5d6ff; } .nu { color: #79c0ff; } .cm { color: #7d8590; font-style: italic; }
.console { border-top: 1px solid var(--line); background: #0b0f14; padding: 10px 16px 12px; font: 13px/1.65 var(--mono); color: #c9d1d9; }
.console-h { font: 600 11px var(--sans); text-transform: uppercase; letter-spacing: .08em; color: var(--mut); margin-bottom: 4px; }
.console b { color: var(--amber); font-weight: 500; }
.mute { color: #4b5563; }
.badge-ok { position: absolute; right: -18px; top: -22px; display: flex; gap: 10px; align-items: center; padding: 10px 14px; background: #0f2a19; border: 1px solid #2ea043; border-radius: 10px; box-shadow: 0 14px 30px rgba(0, 0, 0, .45); }
.badge-ok svg { width: 28px; height: 28px; fill: none; stroke: var(--green); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.badge-ok b { display: block; font-size: 14px; color: var(--green); }
.badge-ok span { font: 12px var(--mono); color: #9fd8a7; }

.facts { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 34px; }
.facts-in { display: contents; }
.facts div { background: var(--bg2); padding: 12px 18px; border: 1px solid var(--line); transition: background-color .2s, box-shadow .2s; }
.facts div:hover { background: var(--panel); box-shadow: inset 0 -2px 0 var(--blue); }
.facts div:first-child { border-radius: 10px 0 0 10px; } .facts div:last-child { border-radius: 0 10px 10px 0; }
.facts div + div { border-left: 0; }
.facts b { display: block; font: 700 15px var(--mono); color: var(--fg); }
.facts span { font-size: 13px; color: var(--mut); }

/* ── секции ── */
.sec { padding: 72px 0; border-top: 1px solid var(--line); }
.sec-alt { background: var(--bg2); }
.sec-tight { padding: 28px 0; }
.sec-k { margin: 0 0 10px; font: 500 13px var(--mono); color: var(--mut); text-transform: lowercase; }
.sec-k span { color: var(--blue); margin-right: 8px; }
h2 { font-size: 34px; line-height: 1.15; font-weight: 800; max-width: 760px; }

.steps { list-style: none; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; counter-reset: s; }
.steps li { position: relative; padding: 20px 20px 22px; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; transition: transform .2s, border-color .2s, box-shadow .2s; }
.steps li:hover { transform: translateY(-3px); border-color: #3b5a85; box-shadow: 0 12px 30px rgba(0, 0, 0, .35), 0 0 0 1px rgba(47, 129, 247, .25); }
.steps li::after { content: ""; position: absolute; top: 30px; right: -15px; width: 16px; height: 1px; background: var(--line); }
.steps li:last-child::after { display: none; }
.step-n { display: inline-block; font: 600 12px var(--mono); color: var(--green); background: rgba(126, 231, 135, .08); padding: 3px 8px; border-radius: 5px; }
.steps h3 { margin: 12px 0 6px; font-size: 17px; }
.steps p { margin: 0; font-size: 14.5px; color: #b9c3cd; }

.inside { display: grid; grid-template-columns: 1.6fr 1fr; gap: 16px; margin-top: 30px; }
.inside-side { display: grid; gap: 16px; }
.shot { margin: 0; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; transition: transform .2s, border-color .2s, box-shadow .2s; }
.shot:hover { transform: translateY(-3px); border-color: #3b5a85; box-shadow: 0 16px 40px rgba(0, 0, 0, .4); }
.shot img, .shot video { display: block; width: 100%; height: auto; background: #fff; }
.shot-bar { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; background: #0f141a; border-bottom: 1px solid var(--line); }
.shot-bar i { width: 9px; height: 9px; border-radius: 50%; background: #2d3540; }
.shot-bar span { margin-left: 10px; font: 12px var(--mono); color: var(--mut); }
.shot figcaption { padding: 10px 14px; font-size: 13.5px; color: var(--mut); border-top: 1px solid var(--line); }

.track { margin-top: 26px; padding: 20px; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; }
.track-h { font-weight: 600; margin-bottom: 14px; }
.track-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(8, 1fr); gap: 8px; counter-reset: t; }
.track-list li { counter-increment: t; padding: 10px 10px 12px; border-radius: 8px; background: #0f141a; border: 1px solid var(--line); transition: transform .2s, border-color .2s; }
.track-list li:hover { transform: translateY(-2px); border-color: var(--green); }
.track-list li::before { content: "0" counter(t); display: block; font: 600 11px var(--mono); color: var(--blue); margin-bottom: 4px; }
.track-list b { display: block; font-size: 13.5px; line-height: 1.25; }
.track-list span { display: block; font: 11.5px/1.4 var(--mono); color: var(--mut); margin-top: 3px; }

.gift { display: grid; grid-template-columns: 420px 1fr; gap: 56px; align-items: center; }
.gift-cover img { display: block; width: 100%; border-radius: 10px; box-shadow: 0 30px 70px rgba(0, 0, 0, .5); transform: rotate(-2deg); }
.gift-text > p { color: #c3ccd6; font-size: 16px; max-width: 600px; margin: 14px 0 0; }
.gift-list { list-style: none; padding: 0; margin: 18px 0 24px; display: grid; gap: 9px; }
.gift-list li { display: flex; gap: 10px; font-size: 15px; }
.gift-list svg { width: 20px; height: 20px; fill: none; stroke: var(--amber); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; margin-top: 1px; }

.founder { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; }
.founder-card { display: flex; gap: 24px; align-items: flex-start; }
.founder-avatar { flex: 0 0 auto; width: 96px; height: 96px; border-radius: 16px; background: linear-gradient(135deg, #1f6feb, #8957e5); display: grid; place-items: center; }
.founder-avatar svg { width: 56px; height: 56px; fill: none; stroke: rgba(255, 255, 255, .85); stroke-width: 3; stroke-linecap: round; }
.founder-card p:not(.sec-k) { margin: 14px 0 0; color: #c3ccd6; font-size: 16px; }
.nums { display: grid; gap: 10px; }
.nums div { display: flex; align-items: baseline; gap: 16px; padding: 14px 18px; background: var(--panel); border: 1px solid var(--line); border-radius: 10px; transition: border-color .2s, transform .2s; }
.nums div:hover { border-color: rgba(242, 204, 96, .5); transform: translateX(3px); }
.nums b { flex: 0 0 120px; font: 700 26px var(--mono); color: var(--amber); }
.nums span { color: #c3ccd6; font-size: 14.5px; }

.reviews-empty { display: flex; gap: 14px; align-items: center; padding: 18px 22px; border: 1px dashed #3a4553; border-radius: 12px; color: var(--mut); }
.reviews-empty svg { width: 28px; height: 28px; fill: none; stroke: var(--mut); stroke-width: 1.7; stroke-linejoin: round; }
.reviews-empty b { display: block; color: var(--fg); }
.reviews-empty span { font-size: 14px; }

.faq-wrap { display: grid; grid-template-columns: 340px 1fr; gap: 48px; }
.faq-side { color: var(--mut); font-size: 14.5px; margin-top: 12px; }
.faq details { border-bottom: 1px solid var(--line); transition: border-color .2s; }
.faq details:hover { border-bottom-color: #3b5a85; }
.faq summary { transition: color .15s; }
.faq summary:hover { color: #fff; }
.faq summary::after { transition: transform .2s; }
.faq details:hover summary::after { transform: translateX(-3px); }
.faq summary { list-style: none; cursor: pointer; padding: 16px 36px 16px 0; font-weight: 600; font-size: 16px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font: 400 22px var(--mono); color: var(--blue); }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0 0 16px; color: #b9c3cd; font-size: 15px; max-width: 720px; }

.sec-form { background: radial-gradient(800px 400px at 85% 20%, rgba(47, 129, 247, .12), transparent 60%), var(--bg2); }
.form-wrap { display: grid; grid-template-columns: 1fr 1.15fr; gap: 48px; align-items: start; }
.ticks-sm { margin-top: 20px; }
.form-card { padding: 24px; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 30px 70px rgba(0, 0, 0, .35); }

.foot { border-top: 1px solid var(--line); padding: 26px 0 32px; font-size: 13.5px; color: var(--mut); }
.foot-in { display: grid; gap: 8px; }
.foot a { color: var(--mut); }
.foot-links { display: flex; gap: 18px; flex-wrap: wrap; }

/* ── адаптив ── */
@media (max-width: 1100px) {
  .hero-in, .founder, .form-wrap, .faq-wrap, .gift { grid-template-columns: 1fr; gap: 28px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps li::after { display: none; }
  .inside { grid-template-columns: 1fr; }
  .track-list { grid-template-columns: repeat(4, 1fr); }
  .gift-cover { max-width: 360px; }
  .badge-ok { right: 10px; }
}
@media (max-width: 640px) {
  body { font-size: 15px; }
  .wrap { padding: 0 16px; }
  .top-in { height: 56px; gap: 8px; }
  .logo span { display: none; }
  .role button { padding: 6px 9px; font-size: 12.5px; }
  .btn-sm { padding: 0 11px; font-size: 13px; height: 34px; }
  .hero { padding: 22px 0 46px; }
  .hero-status { gap: 14px; padding: 0 16px; font-size: 11px; }
  .hero-status span:nth-child(n+4) { display: none; }
  h1 { font-size: 31px; }
  .lead { font-size: 15.5px; }
  h2 { font-size: 26px; }
  .sec { padding: 48px 0; }
  .steps { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr 1fr; gap: 0; }
  .facts div, .facts div + div { border: 1px solid var(--line); border-radius: 0 !important; margin: 0 -1px -1px 0; }
  .code { font-size: 11.5px; }
  .ln { width: 30px; padding-right: 10px; }
  .badge-ok { position: static; margin-top: 10px; }
  .track-list { grid-template-columns: 1fr 1fr; }
  .cta-row .btn { width: 100%; }
  .nums b { flex-basis: 90px; font-size: 22px; }
  .founder-card { flex-direction: column; gap: 14px; }
  .founder-avatar { width: 64px; height: 64px; }
  .founder-avatar svg { width: 38px; height: 38px; }
  .form-card { padding: 16px; }
}
