@font-face {
  font-family: 'Onest';
  src: url('assets/fonts/onest-400.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Onest';
  src: url('assets/fonts/onest-500.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Onest';
  src: url('assets/fonts/onest-600.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Onest';
  src: url('assets/fonts/onest-700.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #0d0913;
  --surface: #161020;
  --surface-2: #1b1428;
  --line: #2a2137;
  --line-soft: #211a2e;
  --text: #ece8df;
  --muted: #9a91a8;
  --muted-2: #746b83;
  --accent: #b388ff;
  --accent-2: #c9a7ff;
  --accent-soft: rgba(179, 136, 255, 0.12);
  --green: #4cc38a;
  --radius: 14px;
  --radius-sm: 10px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 "Onest", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
::selection { background: rgba(139, 108, 255, 0.3); }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: middle;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(11, 11, 16, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-soft);
}
.header__inner {
  height: 66px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 17px;
  font-weight: 650;
  letter-spacing: -0.02em;
}
.brand img { border-radius: 7px; }
.nav {
  display: flex;
  gap: 22px;
  margin-left: 6px;
  color: var(--muted);
  font-size: 14px;
}
.nav a:hover { color: var(--text); }
.header__actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 16px;
}
.header__login { color: var(--muted); font-size: 14px; }
.header__login:hover { color: var(--text); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 12px 20px;
  border: 1px solid var(--accent);
  border-radius: var(--radius-sm);
  background: var(--accent);
  color: #12151d;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.btn:hover { background: #7a58f0; border-color: #7a58f0; }
.btn--small { padding: 9px 14px; font-size: 13px; }
.btn--small .icon { width: 14px; height: 14px; }
.btn .icon { width: 16px; height: 16px; }
.btn--outline {
  background: transparent;
  border-color: var(--line);
  color: var(--text);
}
.btn--outline:hover { background: var(--surface-2); border-color: #3a3a4a; }
.btn:focus-visible, a:focus-visible, summary:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 3px;
}

/* ---------- hero ---------- */
.hero { padding-top: 92px; padding-bottom: 64px; }
.kicker {
  margin: 0 0 18px;
  color: var(--accent-2);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.hero h1 {
  margin: 0 0 22px;
  max-width: 820px;
  font-size: clamp(40px, 5vw, 62px);
  line-height: 1.04;
  letter-spacing: -0.045em;
  font-weight: 680;
}
.lead {
  max-width: 640px;
  margin: 0 0 30px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}
.actions { display: flex; gap: 10px; flex-wrap: wrap; }
.platforms { margin: 24px 0 0; color: var(--muted-2); font-size: 13px; letter-spacing: 0.01em; }
.hero__note {
  max-width: 620px;
  margin: 24px 0 0;
  color: var(--muted-2);
  font-size: 13px;
  line-height: 1.6;
}

/* ---------- benefits ---------- */
.section--tight { padding-top: 34px; }
.benefits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.benefit {
  padding: 20px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: var(--surface);
}
.benefit__icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  border: 1px solid var(--line-soft);
  border-radius: 9px;
  background: var(--bg);
  color: var(--accent-2);
}
.benefit__icon .icon { width: 18px; height: 18px; }
.benefit h3 { margin: 0 0 6px; font-size: 15px; letter-spacing: -0.015em; }
.benefit p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.5; }

/* ---------- status ---------- */
.status {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
}
.status__overall {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.02);
}
.status__overall.ok { background: rgba(74, 222, 128, 0.06); }
.status__overall.degraded { background: rgba(250, 204, 21, 0.06); }
.status__overall.outage { background: rgba(248, 113, 113, 0.06); }
.status__overall b { font-size: 15px; font-weight: 600; }
.status__row { padding: 14px 20px; border-bottom: 1px solid var(--line-soft); }
.status__row:last-child { border-bottom: 0; }
.status__head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.status__dot {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--muted-2);
}
.status__dot.ok { background: var(--green); box-shadow: 0 0 0 4px rgba(74, 222, 128, 0.12); }
.status__dot.warn { background: #facc15; box-shadow: 0 0 0 4px rgba(250, 204, 21, 0.12); }
.status__dot.err { background: #f87171; box-shadow: 0 0 0 4px rgba(248, 113, 113, 0.12); }
.status__row b { font-size: 14px; font-weight: 600; }
.status__state { color: var(--muted-2); font-size: 11.5px; }
.status__state.ok { color: var(--green); }
.status__state.warn { color: #facc15; }
.status__state.err { color: #f87171; }
.status__uptime {
  margin-left: auto;
  color: var(--text);
  font-size: 12.5px;
  font-variant-numeric: tabular-nums;
}
.status__ms { margin-left: 8px; color: var(--muted-2); font-size: 12.5px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.status__ms.err { color: #f87171; }
.status__bars { display: flex; gap: 2px; height: 10px; margin-top: 9px; }
.status__bar { flex: 1; border-radius: 1px; background: var(--line); }
.status__bar.ok { background: var(--green); opacity: 0.75; }
.status__bar.partial { background: #facc15; opacity: 0.85; }
.status__bar.down { background: #f87171; opacity: 0.85; }
.status__bar.none { background: var(--line-soft); }
.status__legend { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 12px; color: var(--muted-2); font-size: 11.5px; }
.status__legend span { display: inline-flex; align-items: center; gap: 5px; }
.status__legend .status__bar { flex: 0 0 auto; display: inline-block; width: 8px; height: 8px; }
.status__incidents { margin-top: 10px; color: var(--muted-2); font-size: 12px; }
.status__incidents b { color: var(--text); font-weight: 600; margin-right: 8px; }
.status__incidents .inc { color: var(--muted); margin-right: 12px; }
.status__incidents .inc.ongoing { color: #f87171; }
.status__updated { color: var(--muted-2); font-size: 12px; }

/* ---------- sections ---------- */
.section { padding-top: 100px; }
.section__head { max-width: 640px; margin-bottom: 42px; }
.section__head--row {
  max-width: none;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}
.section h2 {
  margin: 0 0 12px;
  font-size: clamp(28px, 3.4vw, 38px);
  line-height: 1.12;
  letter-spacing: -0.035em;
  font-weight: 660;
}
.section__note { margin: 0; color: var(--muted); font-size: 14px; }
.section__text { max-width: 560px; margin: 0 0 24px; color: var(--muted); font-size: 15px; line-height: 1.65; }

/* ---------- plans ---------- */
.plans {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.plan {
  display: flex;
  flex-direction: column;
  padding: 22px 20px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: var(--surface);
}
.plan--accent { border-color: rgba(139, 108, 255, 0.55); background: var(--surface-2); }
.plan__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
}
.plan__head em {
  color: var(--accent-2);
  font-style: normal;
  font-size: 11.5px;
  font-weight: 600;
}
.plan__price { margin: 14px 0 2px; font-size: 32px; font-weight: 680; letter-spacing: -0.04em; }
.plan__price small { font-size: 16px; font-weight: 500; color: var(--muted); }
.plan__per { margin: 0; color: var(--muted-2); font-size: 12px; }
.plan ul { margin: 18px 0 22px; padding: 0; list-style: none; display: grid; gap: 8px; }
.plan li { color: var(--muted); font-size: 13px; }
.plan li::before { content: "—"; margin-right: 7px; color: var(--muted-2); }
.plan__actions {
  display: flex;
  gap: 6px;
  margin-top: auto;
}
.plan__actions .btn { flex: 1; padding-left: 8px; padding-right: 8px; }
.trial-line { margin: 18px 0 0; color: var(--muted); font-size: 13.5px; }
.trial-line a { color: var(--accent-2); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- cabinet split ---------- */
.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  padding-top: 46px;
  border-top: 1px solid var(--line-soft);
}
.checklist { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; align-self: center; }
.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  font-size: 14px;
}
.checklist .icon--check {
  width: 15px;
  height: 15px;
  margin-top: 3px;
  color: var(--accent-2);
}

/* ---------- steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.step {
  padding: 24px 28px 0 0;
  border-top: 1px solid var(--line-soft);
  border-right: 1px solid var(--line-soft);
}
.step:last-child { border-right: 0; padding-right: 0; }
.step__n {
  display: block;
  margin-bottom: 16px;
  color: var(--muted-2);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.08em;
}
.step h3 { margin: 0 0 8px; font-size: 17px; letter-spacing: -0.02em; }
.step p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.65; }
.help__note { margin: 22px 0 0; color: var(--muted-2); font-size: 13px; }
.help__note a { color: var(--accent-2); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- facts ---------- */
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; }
.fact { padding: 20px 0; border-top: 1px solid var(--line-soft); }
.fact__icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  margin-bottom: 12px;
  border: 1px solid var(--line-soft);
  border-radius: 9px;
  background: var(--surface);
  color: var(--accent-2);
}
.fact__icon .icon { width: 18px; height: 18px; }
.fact h3 { margin: 0 0 6px; font-size: 16px; letter-spacing: -0.015em; }
.fact p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.65; }

/* ---------- faq ---------- */
.faq { max-width: 820px; }
.faq details { border-top: 1px solid var(--line-soft); }
.faq details:last-child { border-bottom: 1px solid var(--line-soft); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 15px;
  font-weight: 550;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  color: var(--muted-2);
  font-size: 19px;
  font-weight: 300;
  line-height: 1;
}
.faq details[open] summary::after { content: "−"; }
.faq details p {
  margin: 0 0 18px;
  max-width: 720px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}
.faq a { color: var(--accent-2); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- cta ---------- */
.cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 32px 0;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.cta h2 { margin: 0 0 6px; font-size: clamp(24px, 2.8vw, 32px); letter-spacing: -0.035em; }
.cta p { margin: 0; color: var(--muted); font-size: 14px; }
.cta__actions { display: flex; gap: 10px; flex-shrink: 0; }

/* ---------- footer ---------- */
.footer { padding: 56px 0 40px; }
.footer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line-soft);
}
.footer__top nav { display: flex; gap: 22px; flex-wrap: wrap; color: var(--muted); font-size: 13px; }
.footer__top nav a:hover { color: var(--text); }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 18px;
  color: var(--muted-2);
  font-size: 12px;
  flex-wrap: wrap;
}

/* ---------- legal pages ---------- */
.legal { max-width: 820px; padding-top: 48px; padding-bottom: 48px; }
.legal__back { display: inline-block; margin-bottom: 26px; color: var(--muted); font-size: 13px; }
.legal__back:hover { color: var(--text); }
.legal h1 { margin: 0 0 8px; font-size: clamp(30px, 4vw, 42px); line-height: 1.1; letter-spacing: -0.04em; }
.legal__sub { margin: 0 0 6px; color: var(--muted); font-size: 16px; }
.legal__meta { margin: 0 0 34px; color: var(--muted-2); font-size: 12px; }
.legal h2 { margin: 30px 0 12px; font-size: 17px; letter-spacing: -0.015em; }
.legal p { margin: 0 0 11px; color: #c3c2ce; font-size: 14px; line-height: 1.7; }
.legal ul { margin: 0 0 14px; padding-left: 18px; color: #c3c2ce; font-size: 14px; line-height: 1.7; }
.legal li { margin-bottom: 5px; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .hero { padding-top: 66px; }
  .plans { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 30px; }
  .nav { display: none; }
  .benefits { grid-template-columns: repeat(2, 1fr); }
  .status__overall { padding: 14px 16px; }
  .status__row { padding: 12px 16px; }
}
@media (max-width: 640px) {
  .container { padding: 0 18px; }
  .header__inner { height: 60px; gap: 10px; }
  .header__actions .btn { padding: 8px 12px; font-size: 12.5px; }
  .hero { padding-top: 52px; padding-bottom: 48px; }
  .hero h1 { font-size: clamp(34px, 10vw, 44px); }
  .lead { font-size: 15.5px; }
  .actions .btn { width: 100%; }
  .section { padding-top: 62px; }
  .section--tight { padding-top: 28px; }
  .plans { grid-template-columns: 1fr; }
  .benefits { grid-template-columns: 1fr; }
  .status__row { padding: 12px 14px; }
  .status__uptime { font-size: 12px; }
  .steps { grid-template-columns: 1fr; }
  .step { padding: 18px 0; border-right: 0; border-top: 0; border-bottom: 1px solid var(--line-soft); }
  .step:last-child { border-bottom: 0; }
  .footer__top { flex-direction: column; align-items: flex-start; }
  .footer__top nav { gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
