:root {
  --bg: #08100e;
  --bg-2: #0c1714;
  --panel: rgba(255, 255, 255, 0.055);
  --panel-2: rgba(255, 255, 255, 0.085);
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.2);
  --text: #f2f7f3;
  --muted: #a8b9ad;
  --muted-2: #7f9387;
  --gold: #f4bf5f;
  --gold-2: #d99836;
  --jade: #54d6a1;
  --cyan: #73d5ff;
  --danger: #ff8888;
  --radius: 24px;
  --radius-sm: 14px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 12%, rgba(244, 191, 95, 0.16), transparent 32%),
    radial-gradient(circle at 86% 4%, rgba(84, 214, 161, 0.14), transparent 30%),
    radial-gradient(circle at 55% 82%, rgba(115, 213, 255, 0.10), transparent 30%),
    linear-gradient(180deg, #07100d 0%, #0b1512 44%, #07100d 100%);
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.9), transparent 85%);
  pointer-events: none;
  z-index: -1;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
p { color: var(--muted); line-height: 1.7; }
strong { color: var(--text); }
code, pre { font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: rgba(7, 16, 13, 0.74);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.nav {
  max-width: var(--max);
  margin: 0 auto;
  padding: 16px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 760;
  letter-spacing: -0.03em;
  font-size: 19px;
}
.logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(244,191,95,0.95), rgba(84,214,161,0.86));
  display: grid;
  place-items: center;
  box-shadow: 0 10px 24px rgba(244,191,95,0.16);
}
.logo-mark svg { width: 22px; height: 22px; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 5px;
}
.nav-links a {
  color: var(--muted);
  padding: 10px 12px;
  border-radius: 999px;
  font-size: 14px;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] {
  background: rgba(255,255,255,0.075);
  color: var(--text);
}
.nav-cta { display: flex; align-items: center; gap: 10px; }
.mobile-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--text);
  border-radius: 12px;
  padding: 9px 11px;
}

.container { max-width: var(--max); margin: 0 auto; padding: 0 22px; }
.section { padding: 90px 0; }
.section.compact { padding: 52px 0; }
.hero { padding: 90px 0 58px; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.78fr);
  gap: 44px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #f9d792;
  border: 1px solid rgba(244,191,95,0.25);
  background: rgba(244,191,95,0.08);
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 13px;
  letter-spacing: 0.01em;
}
.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--jade);
  box-shadow: 0 0 18px rgba(84,214,161,0.8);
}
h1, h2, h3 { margin: 0; letter-spacing: -0.055em; }
h1 {
  margin-top: 20px;
  font-size: clamp(48px, 7vw, 92px);
  line-height: 0.95;
  max-width: 980px;
}
h2 {
  font-size: clamp(34px, 4.5vw, 58px);
  line-height: 1.03;
}
h3 { font-size: 22px; line-height: 1.2; }
.hero-subtitle {
  margin: 22px 0 0;
  font-size: 20px;
  max-width: 690px;
}
.page-title {
  padding: 78px 0 36px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.page-title p { max-width: 800px; font-size: 18px; }
.text-gradient {
  background: linear-gradient(90deg, #f7d38c, #8ff0c2 52%, #8edbff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-actions, .actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 30px;
}
.btn {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 12px 18px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 650;
  font-size: 14px;
  color: var(--text);
  background: rgba(255,255,255,0.05);
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
  cursor: pointer;
}
.btn:hover { transform: translateY(-1px); background: rgba(255,255,255,0.095); border-color: var(--line-strong); }
.btn.primary {
  background: linear-gradient(135deg, var(--gold), var(--jade));
  color: #102017;
  border-color: transparent;
  box-shadow: 0 16px 40px rgba(84,214,161,0.14);
}
.btn.ghost { background: transparent; }
.btn.small { padding: 9px 12px; font-size: 13px; }

.panel {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,0.085), rgba(255,255,255,0.045));
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.terminal {
  overflow: hidden;
  position: relative;
}
.terminal::before {
  content: "";
  position: absolute;
  inset: -1px;
  background: radial-gradient(circle at 55% 0%, rgba(244,191,95,0.16), transparent 35%);
  pointer-events: none;
}
.terminal-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}
.dots { display: flex; gap: 7px; }
.dots span { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.22); }
pre {
  margin: 0;
  padding: 22px;
  overflow-x: auto;
  color: #d7fbe8;
  font-size: 13.2px;
  line-height: 1.65;
  white-space: pre-wrap;
}
.copy-btn {
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.06);
  color: var(--muted);
  border-radius: 10px;
  padding: 7px 9px;
  font-size: 12px;
  cursor: pointer;
}
.copy-btn:hover { color: var(--text); background: rgba(255,255,255,0.1); }

.logo-row {
  margin-top: 42px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.logo-pill {
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.035);
  border-radius: 16px;
  padding: 14px;
  color: var(--muted);
  font-size: 13px;
}
.logo-pill strong { display: block; margin-bottom: 4px; font-size: 14px; }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 28px;
}
.section-head p { max-width: 650px; margin: 0; }
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.card {
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.045);
  border-radius: var(--radius);
  padding: 24px;
  min-height: 210px;
}
.card:hover { background: rgba(255,255,255,0.065); border-color: rgba(255,255,255,0.18); }
.card p { margin: 14px 0 0; }
.icon {
  width: 42px;
  height: 42px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  background: rgba(244,191,95,0.13);
  border: 1px solid rgba(244,191,95,0.19);
  color: #f8d18a;
}
.icon.jade { background: rgba(84,214,161,0.13); border-color: rgba(84,214,161,0.19); color: #8df0c3; }
.icon.cyan { background: rgba(115,213,255,0.11); border-color: rgba(115,213,255,0.18); color: #a6e6ff; }

.route-map {
  display: grid;
  grid-template-columns: 1fr 1.3fr 1fr;
  gap: 16px;
  align-items: stretch;
}
.route-box {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  background: rgba(255,255,255,0.04);
}
.route-box.center {
  background: linear-gradient(180deg, rgba(244,191,95,0.12), rgba(84,214,161,0.08));
  border-color: rgba(244,191,95,0.26);
}
.route-list { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 10px; }
.route-list li {
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(0,0,0,0.14);
  border-radius: 14px;
  padding: 11px 12px;
  color: var(--muted);
  font-size: 14px;
}
.kpi-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 16px; }
.kpi {
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 15px;
  background: rgba(0,0,0,0.15);
}
.kpi strong { display: block; font-size: 24px; letter-spacing: -0.04em; }
.kpi span { color: var(--muted-2); font-size: 12px; }

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.04);
}
table { width: 100%; border-collapse: collapse; min-width: 720px; }
th, td { padding: 17px 18px; text-align: left; border-bottom: 1px solid rgba(255,255,255,0.08); }
th { color: #e8f4ec; font-size: 13px; background: rgba(255,255,255,0.055); }
td { color: var(--muted); font-size: 14px; }
tr:last-child td { border-bottom: 0; }
.tag {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(84,214,161,0.22);
  color: #a8f5d1;
  background: rgba(84,214,161,0.09);
  border-radius: 999px;
  padding: 5px 9px;
  font-size: 12px;
  white-space: nowrap;
}
.tag.gold { border-color: rgba(244,191,95,0.24); color: #f7d48d; background: rgba(244,191,95,0.08); }
.tag.gray { border-color: rgba(255,255,255,0.14); color: var(--muted); background: rgba(255,255,255,0.04); }

.pricing-card {
  min-height: 460px;
  display: flex;
  flex-direction: column;
}
.price {
  font-size: 42px;
  letter-spacing: -0.06em;
  margin: 15px 0 4px;
}
.price small { font-size: 15px; color: var(--muted); letter-spacing: 0; }
.feature-list { list-style: none; padding: 0; margin: 22px 0; display: grid; gap: 12px; }
.feature-list li { color: var(--muted); line-height: 1.55; position: relative; padding-left: 24px; }
.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--jade);
}
.pricing-card .btn { margin-top: auto; justify-content: center; }

.docs-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 28px;
}
.docs-nav {
  position: sticky;
  top: 86px;
  align-self: start;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  background: rgba(255,255,255,0.04);
}
.docs-nav a { display: block; color: var(--muted); padding: 10px 12px; border-radius: 12px; font-size: 14px; }
.docs-nav a:hover { background: rgba(255,255,255,0.07); color: var(--text); }
.doc-section { padding-bottom: 42px; margin-bottom: 42px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.doc-section:last-child { border-bottom: 0; }
.doc-section h2 { font-size: 34px; margin-bottom: 14px; }
.doc-section h3 { margin: 28px 0 10px; }
.callout {
  border: 1px solid rgba(244,191,95,0.22);
  background: rgba(244,191,95,0.08);
  border-radius: var(--radius-sm);
  padding: 16px;
  color: #f3dca7;
  line-height: 1.65;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 20px;
  align-items: start;
}
.contact-card a { color: #b8f7d6; text-decoration: underline; text-underline-offset: 4px; }
.email-list { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 12px; }
.email-list li { border: 1px solid rgba(255,255,255,0.09); border-radius: 16px; padding: 14px; background: rgba(255,255,255,0.035); }
.email-list strong { display: block; margin-bottom: 4px; }

.cta-band {
  border: 1px solid rgba(244,191,95,0.22);
  border-radius: 34px;
  padding: 36px;
  background:
    radial-gradient(circle at 12% 0%, rgba(244,191,95,0.18), transparent 34%),
    radial-gradient(circle at 88% 14%, rgba(84,214,161,0.14), transparent 30%),
    rgba(255,255,255,0.055);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.cta-band p { margin: 10px 0 0; max-width: 680px; }

.site-footer {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 44px 0;
  margin-top: 50px;
  background: rgba(0,0,0,0.12);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 26px;
}
.footer-col h4 { margin: 0 0 13px; font-size: 14px; color: #dcebe2; }
.footer-col a { display: block; color: var(--muted); margin: 9px 0; font-size: 14px; }
.footer-col a:hover { color: var(--text); }
.footer-note { color: var(--muted-2); font-size: 13px; margin-top: 24px; }

.legal-content { max-width: 880px; }
.legal-content h2 { font-size: 30px; margin: 36px 0 10px; }
.legal-content ul, .legal-content ol { color: var(--muted); line-height: 1.8; }
.legal-content a { color: #a8f5d1; text-decoration: underline; text-underline-offset: 4px; }

@media (max-width: 920px) {
  .hero-grid, .grid-3, .grid-2, .route-map, .contact-grid, .docs-layout, .footer-grid { grid-template-columns: 1fr; }
  .section-head { align-items: flex-start; flex-direction: column; }
  .logo-row { grid-template-columns: repeat(2, 1fr); }
  .docs-nav { position: static; }
  .cta-band { flex-direction: column; align-items: flex-start; }
  .nav-links, .nav-cta { display: none; }
  .mobile-toggle { display: inline-flex; }
  .nav.is-open { flex-wrap: wrap; }
  .nav.is-open .nav-links,
  .nav.is-open .nav-cta {
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }
  .nav.is-open .nav-links a,
  .nav.is-open .nav-cta a { text-align: center; }
}

@media (max-width: 560px) {
  .container, .nav { padding-left: 16px; padding-right: 16px; }
  .hero { padding-top: 60px; }
  .section { padding: 64px 0; }
  h1 { font-size: 46px; }
  .hero-subtitle { font-size: 17px; }
  .logo-row, .kpi-row { grid-template-columns: 1fr; }
  .cta-band { padding: 24px; border-radius: 24px; }
  pre { font-size: 12px; padding: 16px; }
}
