:root {
  /* Surfaces — warmer, slightly bluer than pure black, with depth via subtle elevation */
  --bg: #0a0a0f;
  --surface-1: #11121a;
  --surface-2: #181925;
  --surface-3: #20212d;
  --border: rgba(255, 255, 255, 0.07);
  --border-strong: rgba(255, 255, 255, 0.14);

  /* Brand */
  --primary: #9cff93;
  --primary-dim: #5fec5b;
  --primary-glow: rgba(156, 255, 147, 0.18);
  --on-primary: #043b00;

  /* Secondary accents (used sparingly, for variety) */
  --cyan: #7dd3fc;
  --purple: #c4b5fd;
  --warm: #fbbf77;

  /* Text */
  --text-hi: #f4f4f5;
  --text-md: #a1a1aa;
  --text-lo: #71717a;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text-hi);
  font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: var(--primary); text-decoration: none; transition: opacity .15s; }
a:hover { opacity: 0.8; text-decoration: none; }

.mono { font-family: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace; }
.tag {
  display: inline-block;
  font-family: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2.5px;
  color: var(--primary);
  background: var(--primary-glow);
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(156, 255, 147, 0.25);
}

.container { max-width: 1100px; margin: 0 auto; padding: 0 28px; }
.narrow    { max-width: 740px; margin: 0 auto; padding: 0 28px; }

/* ============ Nav ============ */
header.site {
  padding: 18px 0;
  position: sticky; top: 0;
  background: rgba(10, 10, 15, 0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
}
header.site .row { display: flex; align-items: center; justify-content: space-between; }
header.site .brand {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-weight: 700;
  letter-spacing: 4px;
  color: var(--primary);
  font-size: 14px;
  text-decoration: none;
}
header.site .brand:hover { opacity: 1; }
header.site nav a {
  color: var(--text-md);
  margin-left: 28px;
  font-size: 14px;
  font-weight: 500;
}
header.site nav a:hover { color: var(--text-hi); opacity: 1; }
header.site nav a.cta {
  color: var(--primary);
  padding: 7px 14px;
  border: 1px solid rgba(156, 255, 147, 0.3);
  border-radius: 6px;
  background: var(--primary-glow);
}
header.site nav a.cta:hover { background: rgba(156, 255, 147, 0.25); }

/* ============ Hero ============ */
.hero {
  position: relative;
  padding: 120px 0 100px;
  overflow: hidden;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
/* Radial glow behind the mark */
.hero::before {
  content: '';
  position: absolute;
  top: -10%;
  left: 50%;
  width: 800px;
  height: 800px;
  transform: translateX(-50%);
  background: radial-gradient(circle, var(--primary-glow) 0%, transparent 60%);
  filter: blur(40px);
  z-index: 0;
  pointer-events: none;
}
/* Subtle grid background */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.hero > * { position: relative; z-index: 1; }

.hero .mark {
  width: 176px;
  height: 176px;
  margin: 0 auto 36px;
  position: relative;
  filter: drop-shadow(0 0 24px rgba(156, 255, 147, 0.35));
}
.hero .ring {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  border: 1px solid var(--primary);
  border-radius: 50%;
  opacity: 0.7;
  animation: pulse 3s ease-in-out infinite;
}
.hero .ring:nth-child(2) { animation-delay: 1s; }
.hero .ring:nth-child(3) { animation-delay: 2s; }
@keyframes pulse {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 0.85; }
}
.hero .glyph {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-weight: 700;
  font-size: 30px;
  color: var(--primary);
  text-shadow: 0 0 16px rgba(156, 255, 147, 0.5);
}

.hero .pretitle {
  margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 700;
  letter-spacing: -1.5px;
  line-height: 1.05;
  margin: 0 0 22px;
  background: linear-gradient(180deg, #ffffff 0%, #b4b4be 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero h1 .accent {
  background: linear-gradient(120deg, var(--primary) 0%, var(--cyan) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero .tagline {
  font-size: clamp(17px, 2vw, 20px);
  font-weight: 400;
  color: var(--text-md);
  max-width: 560px;
  margin: 0 auto 40px;
}
.hero .ctas { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

/* ============ Buttons ============ */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: -apple-system, BlinkMacSystemFont, 'Inter', sans-serif;
  font-weight: 600;
  font-size: 14px;
  padding: 13px 22px;
  border-radius: 10px;
  border: 1px solid transparent;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .2s ease;
  cursor: pointer;
}
.btn:hover { transform: translateY(-1px); text-decoration: none; opacity: 1; }
.btn-primary {
  background: linear-gradient(180deg, var(--primary) 0%, var(--primary-dim) 100%);
  color: var(--on-primary);
  box-shadow: 0 10px 30px rgba(156, 255, 147, 0.22), inset 0 1px 0 rgba(255,255,255,0.3);
}
.btn-primary:hover { box-shadow: 0 12px 36px rgba(156, 255, 147, 0.32), inset 0 1px 0 rgba(255,255,255,0.3); }
.btn-secondary {
  background: var(--surface-2);
  color: var(--text-hi);
  border-color: var(--border-strong);
}
.btn-secondary:hover { background: var(--surface-3); }

/* ============ Terminal mockup ============ */
.showcase {
  padding: 80px 0 100px;
  background: linear-gradient(180deg, transparent 0%, var(--surface-1) 50%, transparent 100%);
}
.terminal {
  max-width: 720px;
  margin: 0 auto;
  background: linear-gradient(180deg, #11121a 0%, #0c0d13 100%);
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  overflow: hidden;
  box-shadow:
    0 24px 80px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.04),
    0 0 80px rgba(156, 255, 147, 0.05);
}
.terminal .chrome {
  display: flex; align-items: center;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid var(--border);
  gap: 8px;
}
.terminal .dot { width: 12px; height: 12px; border-radius: 50%; background: #444; }
.terminal .dot.r { background: #ff6058; }
.terminal .dot.y { background: #ffbd2e; }
.terminal .dot.g { background: #27c93f; }
.terminal .title { flex: 1; text-align: center; font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--text-lo); letter-spacing: 1px; }
.terminal .pill {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  letter-spacing: 1px;
  color: var(--primary);
  background: rgba(156, 255, 147, 0.1);
  border: 1px solid rgba(156, 255, 147, 0.3);
  padding: 3px 8px;
  border-radius: 3px;
}
.terminal .body {
  padding: 20px 22px 28px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--text-hi);
  min-height: 240px;
}
.terminal .prompt { color: var(--primary); }
.terminal .path { color: var(--cyan); }
.terminal .cmd { color: var(--text-hi); }
.terminal .dim { color: var(--text-md); }
.terminal .ok { color: var(--primary); }
.terminal .warn { color: var(--warm); }
.terminal .cursor {
  display: inline-block;
  width: 8px;
  height: 16px;
  background: var(--primary);
  vertical-align: text-bottom;
  margin-left: 2px;
  animation: blink 1s steps(2, start) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

/* ============ Sections ============ */
section { padding: 96px 0; }
section.alt { background: var(--surface-1); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.section-head { max-width: 720px; margin: 0 0 56px; }
.section-head.centered { margin: 0 auto 56px; text-align: center; }
.section-head h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  letter-spacing: -0.8px;
  margin: 18px 0 14px;
  line-height: 1.15;
}
.section-head h2 .accent {
  background: linear-gradient(120deg, var(--primary), var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.section-head .lede {
  color: var(--text-md);
  font-size: 17px;
  margin: 0;
  line-height: 1.6;
}

/* ============ Value grid ============ */
.values { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
@media (max-width: 720px) { .values { grid-template-columns: 1fr; } }
.value {
  position: relative;
  padding: 28px;
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: 14px;
  transition: border-color .2s, transform .2s;
}
.value:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.value .icon {
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  background: var(--primary-glow);
  border-radius: 10px;
  margin-bottom: 18px;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  color: var(--primary);
  font-size: 18px;
}
.value h3 { margin: 0 0 8px; font-size: 18px; font-weight: 600; }
.value p { margin: 0; color: var(--text-md); font-size: 14.5px; line-height: 1.65; }

/* ============ Steps ============ */
.steps { counter-reset: step; max-width: 720px; }
.step {
  display: flex; gap: 22px;
  padding: 26px 0;
  border-bottom: 1px solid var(--border);
}
.step:last-child { border-bottom: 0; }
.step .num {
  flex: 0 0 40px; height: 40px;
  background: linear-gradient(180deg, var(--primary) 0%, var(--primary-dim) 100%);
  color: var(--on-primary);
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  display: grid; place-items: center;
  border-radius: 10px;
  counter-increment: step;
  box-shadow: 0 4px 14px rgba(156, 255, 147, 0.2);
}
.step .num::before { content: counter(step); }
.step h3 { margin: 6px 0 6px; font-size: 18px; font-weight: 600; }
.step p { margin: 0; color: var(--text-md); font-size: 14.5px; line-height: 1.65; }

/* ============ Security grid ============ */
.sec-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 28px; }
@media (max-width: 720px) { .sec-grid { grid-template-columns: 1fr; } }
.sec-row {
  display: flex; gap: 14px;
  padding: 16px 18px;
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: 10px;
  align-items: flex-start;
}
.sec-row .k {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  letter-spacing: 1.4px;
  color: var(--primary);
  flex: 0 0 110px;
  padding-top: 2px;
  text-transform: uppercase;
}
.sec-row .v { font-size: 14px; color: var(--text-md); line-height: 1.55; }

/* ============ Pricing ============ */
.pricing-card {
  max-width: 480px;
  margin: 0 auto;
  padding: 48px 36px;
  background: linear-gradient(180deg, var(--surface-1) 0%, var(--surface-2) 100%);
  border: 1px solid var(--border-strong);
  border-radius: 18px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.pricing-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, var(--primary-glow), transparent 70%);
  pointer-events: none;
}
.pricing-card > * { position: relative; }
.pricing-card .price {
  font-family: 'JetBrains Mono', monospace;
  font-size: 64px;
  font-weight: 700;
  margin: 16px 0 4px;
  letter-spacing: -2px;
  background: linear-gradient(180deg, #ffffff 0%, #c0c0c8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.pricing-card .per { color: var(--text-md); font-size: 14px; }
.pricing-card .trial {
  display: inline-block;
  margin: 22px 0 4px;
  padding: 8px 18px;
  background: var(--primary-glow);
  border: 1px solid rgba(156, 255, 147, 0.4);
  border-radius: 999px;
  color: var(--primary);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
}
.pricing-card p.fineprint {
  color: var(--text-md);
  font-size: 14px;
  margin: 28px 0 0;
}

/* ============ CTA strip ============ */
.cta-strip {
  margin: 64px 0 0;
  padding: 56px 28px;
  text-align: center;
  background: linear-gradient(135deg, var(--surface-1), var(--surface-2));
  border-radius: 18px;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.cta-strip::before {
  content: '';
  position: absolute;
  top: -50%; left: -10%;
  width: 60%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(125, 211, 252, 0.1), transparent 70%);
  pointer-events: none;
}
.cta-strip::after {
  content: '';
  position: absolute;
  top: -50%; right: -10%;
  width: 60%;
  height: 200%;
  background: radial-gradient(ellipse, var(--primary-glow), transparent 70%);
  pointer-events: none;
}
.cta-strip > * { position: relative; }
.cta-strip h2 { font-size: 28px; margin: 0 0 12px; font-weight: 700; }
.cta-strip p { color: var(--text-md); margin: 0 0 28px; }

/* ============ Footer ============ */
footer.site {
  padding: 48px 0 64px;
  color: var(--text-md);
  font-size: 14px;
  border-top: 1px solid var(--border);
}
footer.site .row { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
footer.site .copy { color: var(--text-lo); }
footer.site .links a { color: var(--text-md); margin-left: 22px; }
footer.site .links a:hover { color: var(--primary); }

/* ============ Long-form pages ============ */
.longform { padding: 64px 0 96px; }
.longform h1 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 28px;
  letter-spacing: 4px;
  color: var(--primary);
  margin: 0 0 10px;
}
.longform .updated { color: var(--text-md); font-size: 14px; margin: 0 0 40px; }
.longform h2 {
  font-size: 22px;
  font-weight: 700;
  margin: 44px 0 12px;
  color: var(--text-hi);
}
.longform h3 {
  font-size: 16px;
  font-weight: 600;
  margin: 28px 0 8px;
  color: var(--text-hi);
}
.longform p, .longform li {
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--text-md);
}
.longform strong { color: var(--text-hi); font-weight: 600; }
.longform code {
  font-family: 'JetBrains Mono', monospace;
  background: var(--surface-2);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 13px;
  color: var(--primary);
}
.longform table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0;
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}
.longform th, .longform td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.longform th {
  color: var(--primary);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 1.5px;
  background: rgba(255, 255, 255, 0.02);
}
.longform tr:last-child td { border-bottom: 0; }
.longform blockquote {
  border-left: 3px solid var(--primary);
  padding: 16px 20px;
  margin: 22px 0;
  color: var(--text-md);
  font-size: 14.5px;
  background: var(--surface-1);
  border-radius: 0 10px 10px 0;
}
.longform hr { border: 0; border-top: 1px solid var(--border); margin: 40px 0; }
.longform .longform-body { max-width: 720px; }
