:root {
  --bg: #0e1013;
  --panel: #15181d;
  --panel-2: #1b1f25;
  --line: #2a2f37;
  --text: #e9ecef;
  --muted: #9aa3ad;
  --lime: #d4ff3f;
  --lime-dim: #9fbf2f;
  --warn: #ff8a5c;

  --mono: "JetBrains Mono", ui-monospace, monospace;
  --sans: "IBM Plex Sans", system-ui, sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --wrap: 1440px;
  --gutter: clamp(16px, 4vw, 56px);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font: 400 16px/1.6 var(--sans); overflow-x: clip; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 2px; }

.demo-note { font: 400 12px var(--mono); color: var(--muted); text-align: center; padding: 7px 16px; border-bottom: 1px solid var(--line); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 24px; border: 0; border-radius: 2px; cursor: pointer;
  font: 700 15px/1 var(--mono); letter-spacing: .01em; white-space: nowrap;
  transition: background-color .2s, color .2s, box-shadow .2s, transform .2s var(--ease);
}
.btn--lime { background: var(--lime); color: #0e1013; }
.btn--lime:hover { background: #e6ff8a; }
.btn--lime:active { transform: translateY(1px); }

/* ---------- header ---------- */
.head { border-bottom: 1px solid var(--line); position: relative; z-index: 2; background: var(--bg); }
.head__in { height: 68px; display: flex; align-items: center; gap: 36px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--lime); font: 800 22px var(--mono); letter-spacing: -.03em; }
.logo span { color: var(--text); }
.nav { display: flex; gap: 28px; margin-left: auto; font: 500 14px var(--mono); color: var(--muted); }
.nav a:hover { color: var(--lime); }
.track { display: flex; align-items: center; border: 1px solid var(--line); height: 42px; border-radius: 2px; transition: border-color .2s; }
.track:focus-within { border-color: var(--lime); }
.track__l { font: 500 12px var(--mono); color: var(--muted); padding: 0 10px 0 12px; border-right: 1px solid var(--line); height: 100%; display: flex; align-items: center; white-space: nowrap; }
.track input { width: 92px; height: 100%; border: 0; background: none; color: var(--text); font: 500 14px var(--mono); padding: 0 10px; text-transform: uppercase; }
.track input:focus { outline: none; }
.track input::placeholder { color: #5b636d; }
.track button { width: 42px; height: 100%; border: 0; border-left: 1px solid var(--line); background: none; color: var(--lime); font: 700 16px var(--mono); cursor: pointer; }
.track button:hover { background: var(--lime); color: var(--bg); }

/* ---------- hero ---------- */
.hero { position: relative; padding: clamp(28px, 3.6vw, 56px) 0 clamp(48px, 6vw, 88px); overflow: hidden; }
.pcb { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--lime); opacity: .07; pointer-events: none; }
.pcb__run { stroke-width: 2.5; stroke-dasharray: 60 1400; animation: run 6s linear infinite; opacity: 0; }
.pcb__run--2 { animation-delay: 3s; }
@keyframes run { 0% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: -1460; opacity: 1; } }
.hero__in { position: relative; }
.tag { font: 500 13px var(--mono); color: var(--lime-dim); margin-bottom: 22px; }
h1 {
  font: 800 clamp(2.2rem, .9rem + 4.4vw, 5.4rem)/.98 var(--mono); letter-spacing: -.055em;
  max-width: 22ch; text-wrap: balance;
}
h1 mark { background: none; color: var(--lime); white-space: nowrap; }
.lead { margin-top: 20px; color: var(--muted); max-width: 64ch; font-size: clamp(16px, .95rem + .25vw, 18px); }

/* ---------- terminal calculator ---------- */
.term {
  margin-top: clamp(32px, 4vw, 52px); display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) minmax(0, .9fr);
  border: 1px solid var(--line); background: rgba(21, 24, 29, .92); position: relative;
}
.term::before, .term::after { content: ""; position: absolute; width: 14px; height: 14px; border: 2px solid var(--lime); }
.term::before { left: -2px; top: -2px; border-right: 0; border-bottom: 0; }
.term::after { right: -2px; bottom: -2px; border-left: 0; border-top: 0; }
.term__col { padding: 22px 24px 24px; min-width: 0; }
.term__col + .term__col { border-left: 1px solid var(--line); }
.term__h { font: 500 12px var(--mono); color: var(--muted); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 16px; display: flex; gap: 10px; }
.term__h span { color: var(--lime); }

.devs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.devs button, .brands button, .issues button {
  border: 0; cursor: pointer; background: var(--panel-2); color: var(--text); box-shadow: inset 0 0 0 1px var(--line);
  border-radius: 2px; transition: background-color .15s, box-shadow .15s, color .15s;
}
.devs button { height: 76px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; font: 500 12px var(--mono); }
.devs svg { width: 24px; height: 24px; }
.devs button:hover, .brands button:hover, .issues button:hover { box-shadow: inset 0 0 0 1px var(--lime-dim); }
.devs button[aria-checked="true"] { background: var(--lime); color: var(--bg); box-shadow: none; }
.brands { display: flex; gap: 6px; margin-top: 12px; flex-wrap: wrap; }
.brands button { height: 34px; padding: 0 12px; font: 500 13px var(--mono); }
.brands button[aria-checked="true"] { box-shadow: inset 0 0 0 1.5px var(--lime); color: var(--lime); }
.msel { position: relative; margin-top: 12px; }
.msel::after { content: "▾"; position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: var(--lime); pointer-events: none; font-size: 12px; }
.msel select { width: 100%; height: 46px; appearance: none; border: 0; border-radius: 2px; background: var(--panel-2); box-shadow: inset 0 0 0 1px var(--line); color: var(--text); font: 500 15px var(--mono); padding: 0 36px 0 14px; cursor: pointer; }
.msel select:focus { outline: none; box-shadow: inset 0 0 0 1.5px var(--lime); }

.issues { display: grid; gap: 6px; }
.issues button { min-height: 46px; padding: 8px 14px; display: flex; justify-content: space-between; align-items: center; gap: 12px; text-align: left; font: 400 15px var(--sans); }
.issues button small { font: 500 12px var(--mono); color: var(--muted); white-space: nowrap; }
.issues button[aria-checked="true"] { box-shadow: inset 0 0 0 1.5px var(--lime); background: rgba(212, 255, 63, .06); }
.issues button[aria-checked="true"] small { color: var(--lime); }

.term__res { background: var(--panel); display: flex; flex-direction: column; }
.res__dev { font: 500 13px var(--mono); color: var(--muted); }
.res__price { font: 800 clamp(34px, 1.6rem + 1.8vw, 54px)/1.05 var(--mono); letter-spacing: -.05em; color: var(--lime); margin-top: 6px; font-variant-numeric: tabular-nums; }
.res__price small { font-size: .42em; letter-spacing: 0; color: var(--muted); font-weight: 500; margin-right: 6px; }
.res__list { margin: 18px 0 20px; border-top: 1px dashed var(--line); }
.res__list div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: 14px; }
.res__list dt { font: 500 12px var(--mono); color: var(--muted); text-transform: uppercase; letter-spacing: .06em; padding-top: 2px; }
.res__list dd { text-align: right; }
.res__list .ok { color: var(--lime); }
.res__list .wait { color: var(--warn); }
.term__res .btn { margin-top: auto; }
.res__note { font: 400 12px var(--mono); color: var(--muted); margin-top: 10px; min-height: 1.6em; }
.flash { animation: flash .5s var(--ease); }
@keyframes flash { from { opacity: .35; transform: translateY(3px); } }

/* ---------- sections ---------- */
.sec { padding: clamp(72px, 8vw, 120px) 0; border-top: 1px solid var(--line); }
.sec--panel { background: var(--panel); }
.sec__k { font: 500 13px var(--mono); color: var(--lime-dim); margin-bottom: 14px; }
h2 { font: 800 clamp(1.9rem, 1rem + 2.6vw, 3.4rem)/1.02 var(--mono); letter-spacing: -.05em; max-width: 22ch; text-wrap: balance; }
h3 { font: 700 17px/1.3 var(--mono); letter-spacing: -.02em; }
.sec__sub { color: var(--muted); max-width: 52ch; margin-top: 16px; }
.linkish { background: none; border: 0; color: var(--lime); font: 500 13px var(--mono); cursor: pointer; padding: 2px 0; border-bottom: 1px dashed var(--lime-dim); }
.linkish:hover { color: #fff; }
.btn--ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1px var(--line); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1px var(--lime); color: var(--lime); }
.btn--block { width: 100%; }

/* tracker */
.trk { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 88px); align-items: start; }
.trk > * { min-width: 0; }
.trk__form { display: flex; margin-top: 28px; max-width: 460px; }
.trk__form input { flex: 1; min-width: 0; height: 52px; border: 0; border-radius: 2px 0 0 2px; background: var(--panel-2); box-shadow: inset 0 0 0 1px var(--line); color: var(--text); font: 700 18px var(--mono); padding: 0 16px; text-transform: uppercase; letter-spacing: .02em; }
.trk__form input:focus { outline: none; box-shadow: inset 0 0 0 1.5px var(--lime); }
.trk__form .btn { border-radius: 0 2px 2px 0; }
.trk__hint { margin-top: 12px; font: 400 13px var(--mono); color: var(--muted); }
.trk__out { min-height: 320px; border: 1px dashed var(--line); display: flex; align-items: stretch; }
.trk__empty { margin: auto; padding: 32px; color: var(--muted); font: 400 14px var(--mono); text-align: center; max-width: 40ch; }
.trk__empty--bad { color: var(--warn); }
.tcard { width: 100%; padding: 24px 26px; background: var(--panel); animation: flash .5s var(--ease); }
.tcard__top { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.tcard__num { font: 800 28px var(--mono); letter-spacing: -.03em; }
.tcard__st { font: 500 13px var(--mono); padding: 6px 10px; border-radius: 2px; background: var(--panel-2); box-shadow: inset 0 0 0 1px var(--line); }
.tcard__st.is-ready { background: var(--lime); color: var(--bg); box-shadow: none; }
.tcard__dev { color: var(--muted); margin-top: 4px; }
.tline { list-style: none; margin: 22px 0 4px; }
.tline li { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 7px 0; position: relative; color: #5b636d; font: 500 14px var(--mono); }
.tline li::before { content: ""; position: absolute; left: 10px; top: -8px; height: 16px; width: 2px; background: var(--line); }
.tline li:first-child::before { display: none; }
.tline__dot { width: 12px; height: 12px; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--line); margin-left: 5px; }
.tline__w { font-size: 12px; color: var(--muted); font-weight: 400; }
.tline li.is-done { color: var(--text); }
.tline li.is-done .tline__dot { background: var(--lime-dim); box-shadow: none; }
.tline li.is-done::before, .tline li.is-now::before { background: var(--lime-dim); }
.tline li.is-now { color: var(--lime); }
.tline li.is-now .tline__dot { background: var(--lime); box-shadow: 0 0 0 4px rgba(212, 255, 63, .18); animation: blink 1.6s infinite; }
@keyframes blink { 50% { box-shadow: 0 0 0 7px rgba(212, 255, 63, 0); } }
.tcard__note { margin-top: 16px; padding: 12px 14px; border-left: 2px solid var(--lime); background: var(--panel-2); font-size: 15px; }
.tcard__note b { font-family: var(--mono); font-weight: 700; color: var(--lime); font-size: 13px; }
.tcard__list { margin-top: 18px; border-top: 1px dashed var(--line); }
.tcard__list div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: 14px; }
.tcard__list dt { font: 500 12px var(--mono); color: var(--muted); text-transform: uppercase; letter-spacing: .06em; padding-top: 2px; }

/* prices */
.sec__top { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 28px; }
.ptabs { display: flex; border: 1px solid var(--line); }
.ptabs button { border: 0; background: none; color: var(--muted); font: 500 14px var(--mono); padding: 10px 16px; cursor: pointer; }
.ptabs button + button { border-left: 1px solid var(--line); }
.ptabs button[aria-selected="true"] { background: var(--lime); color: var(--bg); }
.ptable { overflow-x: auto; border: 1px solid var(--line); }
.ptable table { width: 100%; border-collapse: collapse; font: 500 14px var(--mono); min-width: 720px; }
.ptable th, .ptable td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: right; white-space: nowrap; }
.ptable thead th { color: var(--muted); font-weight: 500; font-size: 12px; vertical-align: bottom; background: var(--panel); white-space: normal; }
.ptable tbody th small { color: var(--muted); font-weight: 400; font-size: 12px; margin-right: 8px; font-family: var(--mono); }
.ptable th:first-child { text-align: left; position: sticky; left: 0; background: var(--panel); z-index: 1; font-weight: 700; }
.ptable tbody tr:hover td { background: rgba(212, 255, 63, .05); color: var(--lime); }
.ptable tbody tr:last-child th, .ptable tbody tr:last-child td { border-bottom: 0; }
.ptable td { color: #c9cfd5; font-variant-numeric: tabular-nums; }
.pnote { margin-top: 14px; font: 400 13px var(--mono); color: var(--muted); }

/* steps */
.steps { list-style: none; margin-top: 36px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); }
.steps li { padding: 24px; min-width: 0; }
.steps li + li { border-left: 1px solid var(--line); }
.steps span { display: block; font: 800 15px var(--mono); color: var(--lime); margin-bottom: 40px; }
.steps p { color: var(--muted); font-size: 15px; margin-top: 8px; }

/* order */
.ord { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 88px); align-items: start; }
.ord > * { min-width: 0; }
.ord__sum { margin: 28px 0 12px; border: 1px solid var(--line); background: var(--bg); }
.osum__dev { display: flex; gap: 14px; align-items: center; padding: 16px 18px; border-bottom: 1px solid var(--line); line-height: 1.4; }
.osum__dev svg { width: 34px; height: 34px; color: var(--lime); flex: none; }
.osum__dev b { font: 700 17px var(--mono); }
.ord__sum dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ord__sum dl div { padding: 12px 18px; min-width: 0; }
.ord__sum dl div + div { border-left: 1px solid var(--line); }
.ord__sum dt { font: 500 11px var(--mono); color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.ord__sum dd { font-size: 14px; margin-top: 2px; }
.hand { border: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-bottom: 14px; }
.hand legend { font: 500 12px var(--mono); color: var(--muted); margin-bottom: 8px; text-transform: uppercase; letter-spacing: .06em; }
.hand label { cursor: pointer; position: relative; }
.hand input { position: absolute; opacity: 0; pointer-events: none; }
.hand span { display: block; padding: 12px 14px; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); border-radius: 2px; transition: box-shadow .15s; }
.hand b { display: block; font: 700 14px var(--mono); }
.hand small { color: var(--muted); font-size: 13px; }
.hand input:checked + span { box-shadow: inset 0 0 0 1.5px var(--lime); }
.hand input:focus-visible + span { outline: 2px solid var(--lime); }
.f { display: block; margin-bottom: 12px; min-width: 0; }
.f span { display: block; font: 500 12px var(--mono); color: var(--muted); margin-bottom: 6px; text-transform: uppercase; letter-spacing: .06em; }
.f i { font-style: normal; text-transform: none; letter-spacing: 0; opacity: .7; }
.f input { width: 100%; height: 50px; border: 0; border-radius: 2px; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); color: var(--text); font: 400 16px var(--sans); padding: 0 14px; }
.f input::placeholder { color: #5b636d; }
.f input:focus { outline: none; box-shadow: inset 0 0 0 1.5px var(--lime); }
.f.is-bad input { box-shadow: inset 0 0 0 1.5px var(--warn); }
.f2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 10px; }
.fcheck { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--muted); margin: 4px 0 14px; cursor: pointer; }
.fcheck input { width: 17px; height: 17px; accent-color: var(--lime); flex: none; margin-top: 2px; }
.ferr { color: var(--warn); font: 500 13px var(--mono); margin-bottom: 10px; }
.ferr:empty { display: none; }
.ord__ok { border: 1px solid var(--lime-dim); padding: 28px; background: var(--bg); }
.ok__num { font: 800 clamp(40px, 2rem + 2vw, 64px)/1 var(--mono); color: var(--lime); letter-spacing: -.05em; }
.ok__msg { color: var(--muted); margin: 16px 0 22px; }
.ok__act { display: flex; gap: 8px; flex-wrap: wrap; }

/* contacts */
.cts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); }
.cts > div { padding: 26px; min-width: 0; }
.cts > div + div { border-left: 1px solid var(--line); }
.cts__v { font: 700 22px/1.3 var(--mono); letter-spacing: -.03em; }
.cts__v--sm { font: 400 15px/1.55 var(--sans); color: var(--muted); letter-spacing: 0; }
.foot { border-top: 1px solid var(--line); padding: 22px 0 34px; font: 400 13px var(--mono); color: var(--muted); }
.foot__in { display: flex; justify-content: space-between; gap: 16px; }
.foot a { color: var(--lime); }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .nav { display: none; }
  .head__in { justify-content: space-between; }
  .term { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .term__res { grid-column: 1 / -1; border-left: 0 !important; border-top: 1px solid var(--line); }
  .trk, .ord { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps li:nth-child(3) { border-left: 0; }
  .steps li:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 640px) {
  .head__in { height: 60px; gap: 12px; }
  .track__l { display: none; }
  .track input { width: 78px; }
  .tag { font-size: 11px; margin-bottom: 16px; }
  .lead { margin-top: 18px; }
  .term { grid-template-columns: minmax(0, 1fr); margin-left: calc(var(--gutter) * -.5); margin-right: calc(var(--gutter) * -.5); }
  .term__col { padding: 18px 16px 20px; }
  .term__col + .term__col { border-left: 0; border-top: 1px solid var(--line); }
  .devs button { height: 64px; }
  .trk__out { min-height: 0; }
  .tcard { padding: 18px 16px; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .steps li + li { border-left: 0; border-top: 1px solid var(--line); }
  .steps span { margin-bottom: 14px; }
  .ord__sum dl { grid-template-columns: minmax(0, 1fr); }
  .ord__sum dl div + div { border-left: 0; border-top: 1px solid var(--line); }
  .f2, .hand { grid-template-columns: minmax(0, 1fr); }
  .ord__ok { padding: 20px; }
  .cts { grid-template-columns: minmax(0, 1fr); }
  .cts > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .foot__in { flex-direction: column; }
  .ptabs { width: 100%; overflow-x: auto; }
  .ptabs button { flex: 1; padding: 10px 8px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
