:root {
  --bg: #0b0d12;
  --bg-elev: #11141b;
  --bg-card: #151923;
  --line: #232938;
  --text: #e7ecf3;
  --text-dim: #9aa3b2;
  --text-faint: #6b7280;
  --accent: #b9ff66;
  --accent-2: #66e0ff;
  --add: #67e8a3;
  --del: #ff7a90;
  --radius: 14px;
  --maxw: 1180px;
}

* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  padding: 0;
}
body {
  background: var(--bg);
  color: var(--text);
  font-family:
    'Space Grotesk',
    system-ui,
    -apple-system,
    sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
code,
pre {
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
}

a {
  color: inherit;
  text-decoration: none;
}

/* nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 32px;
  background: rgba(11, 13, 18, 0.78);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}
.brand-mark {
  color: var(--accent);
  font-size: 22px;
}
.brand-name {
  letter-spacing: 0.2px;
}
.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
}
.nav-links a {
  color: var(--text-dim);
  font-size: 15px;
}
.nav-links a:hover {
  color: var(--text);
}
.nav-cta {
  color: var(--accent) !important;
  font-weight: 500;
}

/* hero */
.hero {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 80px 32px 60px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
}
.badge {
  display: inline-block;
  padding: 6px 12px;
  background: rgba(185, 255, 102, 0.08);
  border: 1px solid rgba(185, 255, 102, 0.25);
  color: var(--accent);
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 22px;
  font-weight: 700;
}
.accent {
  color: var(--accent);
}
.lede {
  font-size: 18px;
  color: var(--text-dim);
  margin: 0 0 32px;
  max-width: 540px;
}
.cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  transition:
    transform 0.1s ease,
    background 0.15s;
  cursor: pointer;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn-primary {
  background: var(--accent);
  color: #0b0d12;
}
.btn-primary:hover {
  background: #cdff85;
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line);
}
.btn-ghost:hover {
  background: var(--bg-card);
}
.hero-meta {
  margin-top: 32px;
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  color: var(--text-faint);
  font-size: 13px;
}

/* hero card */
.hero-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}
.hc-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-elev);
}
.dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  display: inline-block;
}
.dot-r {
  background: #ff5f57;
}
.dot-y {
  background: #febc2e;
}
.dot-g {
  background: #28c840;
}
.hc-title {
  color: var(--text-dim);
  font-size: 12px;
  margin-left: 10px;
  font-family: 'IBM Plex Mono', monospace;
}
.hc-code {
  margin: 0;
  padding: 22px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--text);
  white-space: pre;
  overflow-x: auto;
}
.hc-code .add {
  color: var(--add);
  display: block;
}
.hc-code .del {
  color: var(--del);
  display: block;
}
.hc-foot {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-top: 1px solid var(--line);
  background: var(--bg-elev);
}
.hc-btn {
  padding: 7px 14px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  font-size: 13px;
  cursor: pointer;
}
.hc-btn-approve {
  background: var(--accent);
  color: #0b0d12;
  border-color: var(--accent);
}
.hc-cost {
  margin-left: auto;
  color: var(--text-faint);
  font-size: 12px;
  font-family: 'IBM Plex Mono', monospace;
}

/* features */
section h2 {
  font-size: clamp(28px, 3.5vw, 40px);
  letter-spacing: -0.01em;
  margin: 0 0 12px;
  font-weight: 700;
}
.features,
.how,
.pricing,
.cta-band {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 80px 32px;
}
.feature-grid {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.feature {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  transition:
    border-color 0.15s,
    transform 0.15s;
}
.feature:hover {
  border-color: rgba(185, 255, 102, 0.35);
  transform: translateY(-2px);
}
.feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(185, 255, 102, 0.1);
  color: var(--accent);
  display: grid;
  place-items: center;
  font-size: 18px;
  margin-bottom: 16px;
}
.feature h3 {
  margin: 0 0 8px;
  font-size: 18px;
}
.feature p {
  margin: 0;
  color: var(--text-dim);
  font-size: 14px;
}

/* how */
.steps {
  list-style: none;
  padding: 0;
  margin: 36px 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.steps li {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  position: relative;
}
.step-n {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent);
  color: #0b0d12;
  font-weight: 700;
  margin-bottom: 14px;
}
.steps h3 {
  margin: 0 0 6px;
  font-size: 17px;
}
.steps p {
  margin: 0;
  color: var(--text-dim);
  font-size: 14px;
}
.steps code {
  background: rgba(255, 255, 255, 0.05);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 12px;
}

/* pricing */
.pricing-sub {
  color: var(--text-dim);
  margin: 0 0 36px;
}
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.price-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  flex-direction: column;
}
.price-card-featured {
  border-color: var(--accent);
  box-shadow:
    0 0 0 1px var(--accent),
    0 30px 60px rgba(185, 255, 102, 0.1);
  position: relative;
}
.price-card-featured::before {
  content: 'Most popular';
  position: absolute;
  top: -12px;
  right: 24px;
  background: var(--accent);
  color: #0b0d12;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
}
.price-tier {
  color: var(--text-dim);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}
.price-amt {
  font-size: 44px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.price-mo {
  font-size: 16px;
  color: var(--text-dim);
  font-weight: 400;
  margin-left: 4px;
}
.price-per {
  color: var(--text-dim);
  font-size: 13px;
  margin-bottom: 22px;
}
.price-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  flex: 1;
}
.price-list li {
  padding: 7px 0;
  color: var(--text);
  font-size: 14px;
  border-bottom: 1px dashed var(--line);
}
.price-list li::before {
  content: '✓ ';
  color: var(--accent);
  margin-right: 6px;
}
.price-list li.price-locked {
  color: var(--muted);
  opacity: 0.7;
}
.price-list li.price-locked::before {
  content: '✕ ';
  color: var(--muted);
}
.price-card .btn {
  width: 100%;
}

/* cta band */
.cta-band {
  text-align: center;
  padding: 80px 32px 100px;
}
.cta-band h2 {
  margin-bottom: 28px;
}
.cta-band .cta-row {
  justify-content: center;
}

/* footer */
.footer {
  border-top: 1px solid var(--line);
  margin-top: 40px;
}
.footer-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-brand {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  font-weight: 600;
}
.footer-nav {
  display: flex;
  gap: 24px;
  color: var(--text-dim);
  font-size: 14px;
}
.footer-nav a:hover {
  color: var(--text);
}
.footer-meta {
  color: var(--text-faint);
  font-size: 13px;
}

/* download page extras */
.download-page {
  max-width: 760px;
  margin: 0 auto;
  padding: 80px 32px;
}
.download-page h1 {
  font-size: 40px;
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}
.download-page > p {
  color: var(--text-dim);
  margin: 0 0 32px;
}
.dl-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.dl-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: rgba(185, 255, 102, 0.1);
  display: grid;
  place-items: center;
  font-size: 24px;
  color: var(--accent);
  flex-shrink: 0;
}
.dl-body {
  flex: 1;
  min-width: 220px;
}
.dl-body h2 {
  font-size: 20px;
  margin: 0 0 4px;
}
.dl-body p {
  margin: 0;
  color: var(--text-dim);
  font-size: 14px;
}
.dl-status {
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 999px;
}
.dl-status-ok {
  background: rgba(103, 232, 163, 0.12);
  color: var(--add);
}
.dl-status-soon {
  background: rgba(255, 204, 102, 0.12);
  color: #ffcc66;
}
.dl-instructions {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  margin-top: 28px;
}
.dl-instructions h3 {
  margin: 0 0 12px;
  font-size: 16px;
}
.dl-instructions ol {
  margin: 0;
  padding-left: 22px;
  color: var(--text-dim);
}
.dl-instructions li {
  margin-bottom: 8px;
}
.dl-instructions code {
  background: rgba(255, 255, 255, 0.06);
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--text);
  font-size: 13px;
}

/* responsive */
@media (max-width: 920px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 50px 24px;
  }
  .feature-grid,
  .steps,
  .price-grid {
    grid-template-columns: 1fr;
  }
  .nav-links a:not(.nav-cta) {
    display: none;
  }
  .features,
  .how,
  .pricing {
    padding: 50px 24px;
  }
}

/* ----- Legal pages (privacy.html, terms.html) ----- */
.legal-page {
  background: #0b0d12;
  color: #d6dae4;
  font-family: 'Space Grotesk', system-ui, sans-serif;
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.legal-page .site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 32px;
  border-bottom: 1px solid #1f2532;
}
.legal-page .site-header .brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}
.legal-page .site-header .brand-mark {
  color: #9d6dff;
  font-size: 18px;
}
.legal-page .site-nav a {
  color: #aab2c1;
  margin-left: 20px;
  text-decoration: none;
  font-size: 14px;
}
.legal-page .site-nav a:hover { color: #fff; }
.legal-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 24px 80px;
  flex: 1;
  line-height: 1.65;
}
.legal-content h1 {
  font-size: 36px;
  margin: 0 0 8px;
  color: #fff;
}
.legal-content h2 {
  font-size: 20px;
  margin: 32px 0 12px;
  color: #fff;
}
.legal-content .legal-meta {
  color: #6b7280;
  font-size: 13px;
  margin-bottom: 32px;
}
.legal-content a { color: #7aa9ff; }
.legal-content ul { padding-left: 22px; }
.legal-content li { margin-bottom: 8px; }
.legal-page .site-footer {
  padding: 24px 32px;
  border-top: 1px solid #1f2532;
  text-align: center;
}
.legal-page .site-footer a {
  color: #aab2c1;
  text-decoration: none;
}
.legal-page .site-footer a:hover { color: #fff; }