:root {
  --ink: #14161c;
  --ink-soft: #3a4150;
  --muted: #5c6576;
  --line: #e4e0d6;
  --paper: #f6f3ec;
  --paper-2: #fffdf8;
  --card: #ffffff;
  --navy: #0d1220;
  --navy-2: #151c2e;
  --navy-line: #2a3550;
  --navy-text: #e8eefc;
  --navy-muted: #9aa8c4;
  --blue: #3b82f6;
  --blue-2: #5b9fff;
  --green: #1f8a4c;
  --green-soft: #e8f6ee;
  --shadow: 0 18px 40px rgba(20, 22, 28, 0.08);
  --radius: 16px;
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); }
code, pre { font-family: var(--mono); }
.wrap { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }

/* Top bar */
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(13, 18, 32, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--navy-line);
  color: var(--navy-text);
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 0.92rem;
}
.nav a { color: var(--navy-muted); text-decoration: none; }
.nav a:hover { color: #fff; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--blue);
  color: #fff !important;
  text-decoration: none;
  font-weight: 700;
  padding: 11px 16px;
  border-radius: 10px;
  border: 0;
  cursor: pointer;
}
.btn:hover { filter: brightness(1.06); }
.btn-ghost {
  background: transparent;
  color: var(--navy-text) !important;
  border: 1px solid var(--navy-line);
}
.btn-lg { padding: 14px 22px; font-size: 1.02rem; }
.btn-ink { background: var(--ink); }

/* Hero */
.hero {
  background:
    radial-gradient(900px 420px at 80% -10%, rgba(91, 159, 255, 0.18), transparent 60%),
    var(--navy);
  color: var(--navy-text);
  padding: 72px 0 64px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
.kicker {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #8fdbb0;
  background: rgba(31, 138, 76, 0.16);
  border: 1px solid rgba(143, 219, 176, 0.3);
  border-radius: 999px;
  padding: 5px 10px;
  margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(2rem, 4vw, 3.15rem);
  line-height: 1.12;
  letter-spacing: -0.04em;
  margin: 0 0 16px;
}
.lead { color: var(--navy-muted); font-size: 1.15rem; margin: 0 0 28px; max-width: 38rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.trust { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy-muted);
  border: 1px solid var(--navy-line);
  background: var(--navy-2);
  border-radius: 999px;
  padding: 6px 10px;
}
.hero-frame {
  background: #0a0e18;
  border: 1px solid var(--navy-line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}
.hero-frame img { width: 100%; height: auto; }
.hero-caption {
  padding: 10px 14px 12px;
  font-size: 0.8rem;
  color: var(--navy-muted);
  border-top: 1px solid var(--navy-line);
}

/* Sections */
section { padding: 72px 0; }
section h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: -0.03em;
  margin: 0 0 10px;
  line-height: 1.2;
}
.section-lead { color: var(--muted); margin: 0 0 32px; max-width: 40rem; }
.center { text-align: center; }
.center .section-lead { margin-left: auto; margin-right: auto; }

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

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}
.card h3 { margin: 0 0 8px; font-size: 1.05rem; letter-spacing: -0.02em; }
.card p { margin: 0; color: var(--ink-soft); }
.step-num {
  display: inline-flex;
  width: 28px; height: 28px;
  align-items: center; justify-content: center;
  border-radius: 8px;
  background: var(--navy);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 800;
  margin-bottom: 12px;
}
.shot {
  padding: 0;
  overflow: hidden;
}
.shot img { width: 100%; background: #0d1220; }
.shot figcaption {
  padding: 12px 14px 14px;
  font-size: 0.88rem;
  color: var(--muted);
}

.compare { overflow: auto; }
table {
  width: 100%;
  border-collapse: collapse;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
th, td {
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
th { background: var(--navy); color: var(--navy-text); font-weight: 700; }
td:first-child { font-weight: 600; width: 28%; color: var(--ink-soft); }
tr:last-child td { border-bottom: 0; }

pre.terminal {
  margin: 0;
  background: #0d1220;
  color: #d7e2f5;
  border-radius: var(--radius);
  padding: 22px 22px 20px;
  overflow-x: auto;
  font-size: 0.9rem;
  line-height: 1.55;
  box-shadow: var(--shadow);
  border: 1px solid #243049;
}
pre.terminal .cmt { color: #7d8ba3; }
pre.terminal .ok { color: #8fdbb0; }

.include-list { list-style: none; padding: 0; margin: 0; }
.include-list li {
  display: grid;
  grid-template-columns: 11rem 1fr;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.include-list li:last-child { border-bottom: 0; }
.include-list code {
  font-size: 0.86rem;
  background: #ece8de;
  padding: 2px 6px;
  border-radius: 6px;
  color: var(--ink);
}

.limits { background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.limits li { margin: 8px 0; color: var(--ink-soft); }

/* Pricing */
.pricing-wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 22px;
  align-items: stretch;
}
.price-card {
  background: var(--navy);
  color: var(--navy-text);
  border-radius: 22px;
  padding: 32px;
  box-shadow: 0 20px 50px rgba(13, 18, 32, 0.18);
}
.price-card .amount { font-size: 3.2rem; font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.price-card .amount span { font-size: 1rem; font-weight: 600; color: var(--navy-muted); margin-left: 6px; }
.price-card ul { padding-left: 1.1rem; margin: 18px 0 24px; }
.price-card li { margin: 8px 0; color: var(--navy-text); }
.note { color: var(--muted); font-size: 0.95rem; }

.faq details {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 18px;
  margin: 0 0 10px;
}
.faq summary { cursor: pointer; font-weight: 700; letter-spacing: -0.01em; }
.faq details p { margin: 10px 0 4px; color: var(--ink-soft); }

.site-footer {
  background: var(--navy);
  color: var(--navy-muted);
  padding: 36px 0;
  font-size: 0.88rem;
}
.site-footer .wrap {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.site-footer a { color: var(--navy-muted); text-decoration: none; }
.site-footer a:hover { color: #fff; }

@media (max-width: 900px) {
  .hero-grid, .pricing-wrap, .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .nav .hide-sm { display: none; }
  .include-list li { grid-template-columns: 1fr; gap: 4px; }
  .hero { padding: 48px 0 40px; }
  section { padding: 52px 0; }
}
