:root {
  --bg: #080b10;
  --bg-2: #0d1219;
  --panel: #111923;
  --panel-2: #151f2b;
  --line: #223042;
  --text: #e8eef6;
  --muted: #8b9aab;
  --dim: #5f7082;
  --accent: #72e0b0;
  --accent-2: #7fa6ff;
  --warn: #f2c36b;
  --danger: #ff7a7a;
  --radius: 14px;
  --max: 1120px;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background:
    radial-gradient(900px 500px at 15% -10%, rgba(114, 224, 176, .10), transparent 60%),
    radial-gradient(800px 500px at 90% 0%, rgba(127, 166, 255, .10), transparent 55%),
    var(--bg);
  color: var(--text);
  font-family: var(--sans);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent-2); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(8, 11, 16, .78);
  border-bottom: 1px solid rgba(34, 48, 66, .65);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  height: 66px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 700;
  letter-spacing: -.02em;
  font-size: 18px;
}
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 26px; height: 26px; border-radius: 8px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 24px rgba(114, 224, 176, .28);
  position: relative;
}
.brand-mark::after {
  content: "";
  position: absolute; inset: 7px;
  border-radius: 4px;
  background: #081016;
}
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links a { color: var(--muted); font-size: 14px; }
.nav-links a:hover { color: var(--text); text-decoration: none; }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--text);
  border-radius: 8px;
  padding: 6px 10px;
  cursor: pointer;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--text);
  padding: 10px 16px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: .18s ease;
}
.btn:hover { border-color: #35506d; text-decoration: none; transform: translateY(-1px); }
.btn.primary {
  background: linear-gradient(135deg, var(--accent), #56c9a0);
  color: #04110c;
  border-color: transparent;
}
.btn.primary:hover { filter: brightness(1.05); }
.btn.ghost { background: transparent; }

.hero { padding: 92px 0 56px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 700;
}
.eyebrow::before {
  content: "";
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
}
h1 {
  margin: 16px 0 18px;
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1.04;
  letter-spacing: -.045em;
  max-width: 900px;
}
h1 .grad {
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lede {
  color: var(--muted);
  font-size: clamp(16px, 2vw, 19px);
  max-width: 720px;
  margin: 0 0 28px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-note { color: var(--dim); font-size: 13px; margin-top: 16px; }

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 54px 0 0;
}
.stat {
  background: linear-gradient(180deg, rgba(21, 31, 43, .85), rgba(17, 25, 35, .65));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
}
.stat b { display: block; font-size: 24px; letter-spacing: -.03em; }
.stat span { color: var(--muted); font-size: 13px; }

section { padding: 58px 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.section-head h2 { margin: 0; font-size: clamp(26px, 3.4vw, 40px); letter-spacing: -.035em; }
.section-head p { margin: 0; color: var(--muted); max-width: 560px; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }

.card {
  background: linear-gradient(180deg, rgba(21, 31, 43, .9), rgba(13, 18, 25, .8));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}
.card h3 { margin: 0 0 8px; font-size: 18px; letter-spacing: -.02em; }
.card p { color: var(--muted); margin: 0; font-size: 14px; }
.card .tag {
  display: inline-block;
  font-size: 11px;
  color: var(--accent);
  border: 1px solid rgba(114, 224, 176, .28);
  background: rgba(114, 224, 176, .06);
  padding: 3px 8px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.card .meta { display: flex; justify-content: space-between; gap: 12px; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--dim); font-size: 12px; }

.feature-icon {
  width: 34px; height: 34px; border-radius: 9px;
  background: rgba(127, 166, 255, .10);
  border: 1px solid rgba(127, 166, 255, .22);
  display: grid; place-items: center;
  color: var(--accent-2);
  font-family: var(--mono);
  font-size: 13px;
  margin-bottom: 14px;
}

pre {
  margin: 0;
  background: #070a0f;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px;
  overflow: auto;
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.65;
  color: #cfe3d9;
}
code { font-family: var(--mono); font-size: .92em; }
p code, li code, td code {
  background: rgba(127, 166, 255, .08);
  border: 1px solid rgba(127, 166, 255, .14);
  padding: 1px 5px;
  border-radius: 5px;
  color: #cfe0ff;
}
pre code { background: none; border: 0; padding: 0; color: inherit; }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; min-width: 640px; }
th, td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); font-size: 14px; }
th { color: var(--muted); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; background: rgba(21, 31, 43, .6); }
tr:last-child td { border-bottom: 0; }
td { color: #cfdae7; }
td.muted { color: var(--muted); }

.status-pill {
  display: inline-flex; align-items: center; gap: 7px;
  color: var(--accent); font-size: 12px; font-weight: 700;
  border: 1px solid rgba(114, 224, 176, .28);
  background: rgba(114, 224, 176, .06);
  padding: 5px 10px; border-radius: 999px;
}
.status-pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }

.status-row {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px 0; border-bottom: 1px solid var(--line);
}
.status-row:last-child { border-bottom: 0; }
.status-row .name { font-weight: 600; }
.status-row .ok { color: var(--accent); font-size: 13px; }

.page-head { padding: 66px 0 30px; }
.page-head h1 { font-size: clamp(34px, 5vw, 54px); margin-bottom: 12px; }
.page-head p { color: var(--muted); max-width: 760px; margin: 0; }

.doc-section { padding: 26px 0 40px; border-bottom: 1px solid var(--line); }
.doc-section:last-child { border-bottom: 0; }
.doc-section h2 { margin: 0 0 12px; font-size: 26px; letter-spacing: -.025em; }
.doc-section h3 { margin: 26px 0 10px; font-size: 18px; }
.doc-section p, .doc-section li { color: var(--muted); }
.doc-section ul { padding-left: 22px; }

.form-card {
  max-width: 430px;
  margin: 46px auto 80px;
  background: linear-gradient(180deg, rgba(21, 31, 43, .95), rgba(13, 18, 25, .9));
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 30px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .35);
}
.form-card h1 { font-size: 28px; margin: 0 0 8px; }
.form-card p.sub { color: var(--muted); margin: 0 0 22px; font-size: 14px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.field input {
  width: 100%;
  background: #080d13;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 11px 12px;
  color: var(--text);
  font: inherit;
  font-size: 14px;
  outline: none;
}
.field input:focus { border-color: var(--accent-2); box-shadow: 0 0 0 3px rgba(127, 166, 255, .12); }
.form-note { color: var(--dim); font-size: 12px; margin-top: 14px; }
.form-error {
  display: none;
  margin-top: 14px;
  border: 1px solid rgba(255, 122, 122, .3);
  background: rgba(255, 122, 122, .07);
  color: var(--danger);
  padding: 10px 12px;
  border-radius: 9px;
  font-size: 13px;
}
.form-error.show { display: block; }

.footer {
  border-top: 1px solid var(--line);
  padding: 34px 0 46px;
  color: var(--dim);
  font-size: 13px;
}
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; }
.footer a { color: var(--muted); }

.notice {
  border: 1px solid rgba(242, 195, 107, .25);
  background: rgba(242, 195, 107, .06);
  color: #e8d3a8;
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 14px;
}

.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: max(16px, env(safe-area-inset-bottom));
  transform: translateX(-50%);
  z-index: 100;
  width: min(720px, calc(100vw - 32px));
  animation: cookie-in .28s ease-out;
}
.cookie-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 16px;
  background: rgba(17, 25, 35, .96);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .45);
  backdrop-filter: blur(14px);
}
.cookie-copy {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
  flex: 1;
}
.cookie-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--panel-2);
  color: var(--accent);
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  margin-top: 1px;
}
.cookie-title {
  margin: 0;
  font-size: 14px;
  font-weight: 650;
  letter-spacing: -.01em;
}
.cookie-text {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}
.cookie-text a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.cookie-actions {
  display: flex;
  gap: 8px;
  flex: 0 0 auto;
}
.cookie-actions .btn {
  padding: 8px 14px;
  font-size: 13px;
}
@keyframes cookie-in {
  from { opacity: 0; transform: translate(-50%, 10px); }
  to   { opacity: 1; transform: translate(-50%, 0); }
}
@media (max-width: 640px) {
  .cookie-card {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .cookie-actions {
    justify-content: flex-end;
  }
  .cookie-actions .btn {
    flex: 1;
  }
}
@media (prefers-reduced-motion: reduce) {
  .cookie-banner { animation: none; }
}

.spacer-18 { height: 18px; }
.mb-16 { margin-bottom: 16px; }
.list-muted { color: var(--muted); font-size: 14px; padding-left: 20px; margin: 14px 0 0; }
.cta-card { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-card h3 { font-size: 26px; margin-bottom: 6px; }
.actions-flush { margin: 0; }

.kbd {
  font-family: var(--mono);
  font-size: 12px;
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 5px;
  padding: 2px 6px;
  color: var(--muted);
}

@media (max-width: 900px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    position: absolute;
    top: 66px; left: 0; right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 20px 22px;
    background: rgba(8, 11, 16, .98);
    border-bottom: 1px solid var(--line);
  }
  .nav-toggle { display: inline-flex; }
  .nav-actions .btn.ghost { display: none; }
  .hero { padding-top: 64px; }
  .section-head { display: block; }
  .section-head p { margin-top: 10px; }
  .form-card { margin-left: 0; margin-right: 0; }
}

.muted { color: var(--muted); }
.price { font-size: 34px; color: var(--text); font-weight: 700; }
