:root {
  --bg: #0A0B0D;
  --bg2: #0D0F13;
  --panel: #131519;
  --panel2: #171A20;
  --line: rgba(255, 255, 255, .06);
  --line2: rgba(255, 255, 255, .12);
  --text: #EDEFF2;
  --muted: #9AA0A8;
  --dim: #7A818B;
  --accent: #8F7BFF;
  --accent-ink: #140B33;
  --ok: #3EDBB6;
  --err: #FF7A7A;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Code", Menlo, Consolas, monospace;
  --ease: cubic-bezier(.22, .61, .25, 1);
  --wrap: 1180px;
  --gutter: clamp(20px, 4.5vw, 48px);
  --rhythm: clamp(72px, 9vw, 120px);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
code { font: .88em var(--mono); color: var(--text); }
h1, h2, h3 { margin: 0; font-weight: 650; }
p { margin: 0; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--accent); color: var(--accent-ink); padding: 8px 12px; border-radius: 9px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 40px; padding: 0 16px; border-radius: 9px;
  font: 550 14.5px/1 var(--sans); text-decoration: none; white-space: nowrap;
  border: 1px solid transparent; cursor: pointer;
  transition: background-color .15s var(--ease), border-color .15s var(--ease), transform .15s var(--ease);
}
.btn--lg { height: 46px; padding: 0 20px; font-size: 15px; }
.btn--primary { background: var(--accent); color: var(--accent-ink); }
.btn--primary:hover { transform: translateY(-1px); }
.btn--ghost { border-color: var(--line2); color: var(--text); background: transparent; }
.btn--ghost:hover { border-color: rgba(255, 255, 255, .24); }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }

.nav { position: sticky; top: 0; z-index: 50; background: rgba(10, 11, 13, .9); border-bottom: 1px solid var(--line); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.nav__row { display: flex; align-items: center; gap: 36px; height: 64px; }
.logo { flex: none; }
.nav__links { display: flex; gap: 24px; margin-right: auto; }
.nav__links a { color: var(--muted); text-decoration: none; font-size: 14.5px; }
.nav__links a:hover { color: var(--text); }
.nav__actions { display: flex; align-items: center; gap: 10px; }
.nav__toggle { display: none; width: 40px; height: 40px; border: 1px solid var(--line2); border-radius: 9px; background: none; cursor: pointer; padding: 0; position: relative; }
.nav__toggle span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: var(--text); transition: transform .18s var(--ease); }
.nav__toggle span:first-child { top: 15px; }
.nav__toggle span:last-child { top: 23px; }
.nav--open .nav__toggle span:first-child { transform: translateY(4px) rotate(45deg); }
.nav--open .nav__toggle span:last-child { transform: translateY(-4px) rotate(-45deg); }

.muted { color: var(--muted); font-size: 15.5px; }
.muted a { color: var(--text); }
.lede { color: var(--muted); font-size: 18px; max-width: 540px; margin-top: 24px; }
.lede--sm { font-size: 16px; margin: 16px 0 0; }

.hero { padding: clamp(56px, 8vw, 104px) 0 clamp(56px, 7vw, 88px); }
.hero__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; }
.hero h1 { font-size: clamp(2.4rem, 4.8vw, 3.7rem); line-height: 1.03; letter-spacing: -.035em; max-width: 620px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.checkout { position: relative; max-width: 420px; justify-self: end; width: 100%; background: var(--panel); border: 1px solid var(--line2); border-radius: 16px; box-shadow: 0 34px 90px -34px rgba(0, 0, 0, .9); }
.checkout__top { display: flex; align-items: center; gap: 10px; padding: 14px 20px; border-bottom: 1px solid var(--line); font-size: 13.5px; color: var(--muted); }
.checkout__timer { margin-left: auto; font: 12.5px var(--mono); color: var(--dim); font-variant-numeric: tabular-nums; }
.checkout__body { padding: 22px 20px 48px; }
.checkout__label { font-size: 12.5px; color: var(--dim); margin: 16px 0 6px; }
.checkout__label:first-child { margin-top: 0; }
.checkout__amount { font-size: 34px; font-weight: 650; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.checkout__amount span { font-size: 18px; color: var(--muted); font-weight: 550; letter-spacing: 0; }
.checkout__field { display: flex; align-items: center; gap: 10px; height: 42px; padding: 0 12px; background: var(--bg); border: 1px solid var(--line2); border-radius: 9px; font-size: 14.5px; }
.checkout__field--mono { font: 12px var(--mono); color: var(--muted); overflow: hidden; white-space: nowrap; }
.checkout__addr { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.checkout__chev { margin-left: auto; width: 7px; height: 7px; border-right: 1.5px solid var(--dim); border-bottom: 1.5px solid var(--dim); transform: rotate(45deg) translateY(-2px); }
.checkout__copy { margin-left: auto; flex: none; padding: 4px 8px; border: 1px solid var(--line2); border-radius: 6px; font: 12px var(--sans); color: var(--text); }
.checkout__steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: 22px 0 0; padding: 0; font-size: 12.5px; color: var(--dim); }
.checkout__steps li { padding-top: 10px; border-top: 2px solid var(--line2); }
.checkout__steps .done { color: var(--muted); border-top-color: var(--muted); }
.checkout__steps .now { color: var(--text); border-top-color: var(--accent); }
.checkout__toast { position: absolute; left: -28px; bottom: -22px; display: flex; align-items: center; gap: 10px; padding: 12px 16px; background: var(--panel2); border: 1px solid var(--line2); border-radius: 12px; box-shadow: 0 16px 40px -16px rgba(0, 0, 0, .85); font-size: 14px; }
.checkout__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); }

.stats { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg2); }
.stats__row { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; }
.stats__row > div { padding: 28px 0; }
.stats__row > div + div { padding-left: 28px; border-left: 1px solid var(--line); }
.stats dt { font: 650 clamp(1.5rem, 2.4vw, 2rem)/1.1 var(--sans); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.stats dd { margin: 6px 0 0; color: var(--muted); font-size: 14px; }

.section { padding: var(--rhythm) 0 0; }
.section h2 { font-size: clamp(1.75rem, 3vw, 2.4rem); line-height: 1.1; letter-spacing: -.03em; max-width: 720px; }
.head { display: grid; gap: 12px; margin-bottom: 40px; max-width: 720px; }

.products { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.product { padding: 28px 32px 0 0; }
.product + .product { padding-left: 32px; border-left: 1px solid var(--line); }
.product h3 { font-size: 19px; letter-spacing: -.015em; margin-bottom: 10px; }
.product p { color: var(--muted); font-size: 15.5px; }
.product ul, .model ul { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 10px; font-size: 15px; }
.product li, .model li { position: relative; padding-left: 20px; }
.product li::before, .model li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 1.5px; background: var(--dim); }

.models { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.model { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 32px; }
.model--accent { border-color: rgba(143, 123, 255, .35); }
.model__kind { font: 12.5px var(--mono); color: var(--dim); margin-bottom: 12px; }
.model--accent .model__kind { color: var(--accent); }
.model h3 { font-size: 22px; letter-spacing: -.02em; }
.model__for { margin-top: 12px; color: var(--muted); font-size: 15.5px; }
.model__for b { color: var(--text); font-weight: 600; }
.model ul { color: var(--muted); }

.table-scroll { overflow-x: auto; }
.compare { width: 100%; min-width: 620px; border-collapse: collapse; font-size: 15.5px; }
.compare th, .compare td { padding: 18px 24px 18px 0; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { padding-top: 0; font: 12.5px var(--mono); color: var(--dim); font-weight: 400; }
.compare thead th:last-child { color: var(--accent); }
.compare tbody th { font-weight: 600; width: 22%; }
.compare td { color: var(--muted); width: 39%; }
.compare td:last-child { color: var(--text); }

.split { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; }
.split__head { position: sticky; top: 96px; display: grid; gap: 16px; }
.hero__grid > *, .split > *, .dev > *, .contact__grid > * { min-width: 0; }

.rows { margin: 0; border-top: 1px solid var(--line); }
.rows > div { display: grid; grid-template-columns: 200px 1fr; gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.rows dt { font-weight: 600; font-size: 15.5px; }
.rows dd { margin: 0; color: var(--muted); font-size: 15.5px; }
.rows--tight { margin: 32px 0 24px; }
.rows--tight > div { grid-template-columns: 140px 1fr; padding: 16px 0; }

.audit { margin-top: 8px; padding-top: 20px; border-top: 1px solid var(--line); display: grid; gap: 4px; }
.audit__label { font: 12.5px var(--mono); color: var(--dim); }
.audit__result { font-size: 22px; font-weight: 650; letter-spacing: -.02em; color: var(--accent); }

.dev { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.dev__links { display: flex; gap: 24px; font-size: 15px; }
.dev__links a { color: var(--text); }
.code { margin: 0; background: var(--bg2); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.code figcaption { padding: 12px 18px; border-bottom: 1px solid var(--line); font: 12px/1.4 var(--mono); color: var(--dim); }
.code pre { margin: 0; padding: 20px 18px; overflow-x: auto; font: 13px/1.7 var(--mono); color: #C9CDD3; }

.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; gap: 24px; padding: 20px 0; font-size: 16.5px; font-weight: 600; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font: 400 20px/1 var(--mono); color: var(--dim); transition: transform .18s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 22px; max-width: 640px; color: var(--muted); font-size: 15.5px; }

.contact { padding-bottom: var(--rhythm); }
.contact__grid { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; }
.next { margin: 28px 0 0; padding: 0 0 0 20px; display: grid; gap: 12px; color: var(--muted); font-size: 15.5px; }
.next li::marker { font: 13px var(--mono); color: var(--dim); }
.next b { color: var(--text); font-weight: 600; }
.mail { margin-top: 28px; font-size: 15.5px; color: var(--muted); }
.mail a { color: var(--text); }

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 28px; }
.field { grid-column: span 2; display: grid; gap: 7px; }
.field--half { grid-column: span 1; }
.field label { font-size: 13.5px; font-weight: 550; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; background: var(--bg); color: var(--text);
  border: 1px solid var(--line2); border-radius: 9px;
  padding: 11px 13px; font: 400 15px/1.4 var(--sans);
  transition: border-color .15s var(--ease);
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); }
.field [aria-invalid="true"] { border-color: var(--err); }
.form .btn { grid-column: span 2; justify-self: start; }
.form__status { grid-column: span 2; font-size: 14.5px; min-height: 1.6em; }
.form__status--ok { color: var(--ok); }
.form__status--err { color: var(--err); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.captcha { grid-column: span 2; min-height: 65px; }
.captcha:empty { min-height: 0; }

.footer { border-top: 1px solid var(--line); padding: 56px 0 28px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.footer__grid .muted { margin-top: 14px; font-size: 14px; }
.footer nav { display: grid; gap: 10px; align-content: start; }
.footer h3 { font: 400 12px/1.4 var(--mono); color: var(--dim); margin-bottom: 4px; }
.footer nav a { color: var(--muted); text-decoration: none; font-size: 14.5px; }
.footer nav a:hover { color: var(--text); }
.footer__legal { margin-top: 48px; color: var(--dim); font-size: 13px; }
.footer__legal p { padding-top: 22px; border-top: 1px solid var(--line); }

@media (max-width: 1020px) {
  .nav__links { gap: 18px; }
  .hero__grid, .split, .dev, .contact__grid { grid-template-columns: 1fr; gap: 48px; }
  .checkout { justify-self: start; }
  .split__head { position: static; }
  .products { grid-template-columns: 1fr; }
  .product, .product + .product { padding: 24px 0; border-left: 0; }
  .product + .product { border-top: 1px solid var(--line); }
}

@media (max-width: 860px) {
  .nav__row { gap: 12px; }
  .nav__toggle { display: block; }
  .nav__links {
    display: none; position: absolute; top: 64px; left: 0; right: 0;
    flex-direction: column; gap: 0; margin: 0; padding: 8px var(--gutter) 16px;
    background: var(--bg); border-bottom: 1px solid var(--line);
  }
  .nav__links a { padding: 12px 0; font-size: 16px; border-bottom: 1px solid var(--line); }
  .nav--open .nav__links { display: flex; }
  .nav__actions { margin-left: auto; }
  .stats__row { grid-template-columns: repeat(2, 1fr); }
  .stats__row > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .stats__row > div:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .models { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .nav__cta { display: none; }
  .checkout__toast { left: 12px; }
  .model { padding: 24px; }
  .rows > div, .rows--tight > div { grid-template-columns: 1fr; gap: 4px; }
  .form { grid-template-columns: 1fr; padding: 20px; }
  .field, .field--half, .captcha, .form .btn, .form__status { grid-column: span 1; }
  .form .btn { justify-self: stretch; }
  .footer__grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
