:root {
  --bg: #0f1115;
  --bg-elev: #161a22;
  --bg-elev-2: #1c2230;
  --border: #2a2f3a;
  --text: #e6e7eb;
  --text-dim: #9aa0aa;
  --accent: #60a5fa;
  --accent-strong: #3b82f6;
  --accent-soft: rgba(96, 165, 250, 0.12);
  --good: #34d399;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
}

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

main { display: block; }

/* Header */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 32px;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: rgba(15, 17, 21, 0.85);
  backdrop-filter: blur(8px);
  z-index: 10;
}
.brand {
  font-weight: 700;
  font-size: 18px;
  color: var(--text);
  letter-spacing: -0.01em;
}
.brand:hover { text-decoration: none; color: var(--accent); }
.site-nav { display: flex; gap: 24px; align-items: center; }
.site-nav a { color: var(--text-dim); font-size: 14px; }
.site-nav a:hover { color: var(--text); text-decoration: none; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, transform 0.05s;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--accent-strong);
  color: white;
  border-color: var(--accent-strong);
}
.btn-primary:hover { background: #2563eb; }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-ghost:hover { background: var(--bg-elev); }

/* Sections shared */
section {
  max-width: 1080px;
  margin: 0 auto;
  padding: 96px 32px;
}
section h2 {
  font-size: 28px;
  font-weight: 600;
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}
.lede {
  color: var(--text-dim);
  font-size: 16px;
  max-width: 640px;
  margin: 0 0 32px;
}

/* Hero */
.hero { text-align: center; padding-top: 120px; padding-bottom: 80px; }
.hero h1 {
  font-size: 56px;
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.025em;
  margin: 0 0 20px;
  background: linear-gradient(180deg, #fff 0%, #b8c0d0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero .lede {
  margin-left: auto;
  margin-right: auto;
  font-size: 18px;
}
.cta-row {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 32px;
}

/* Features */
.features { border-top: 1px solid var(--border); }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 32px;
}
.feature {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
}
.feature h3 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 600;
}
.feature p {
  margin: 0;
  color: var(--text-dim);
  font-size: 14px;
}
.feature code {
  font-size: 12px;
  background: var(--bg-elev-2);
  padding: 1px 6px;
  border-radius: 4px;
  border: 1px solid var(--border);
  word-break: break-all;
}

/* Pricing */
.pricing { border-top: 1px solid var(--border); text-align: center; }
.plans {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 40px auto 0;
  max-width: 760px;
}
.plan {
  position: relative;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px 28px;
  text-align: left;
  display: flex;
  flex-direction: column;
}
.plan-featured {
  border-color: var(--accent-strong);
  background: linear-gradient(180deg, var(--accent-soft) 0%, var(--bg-elev) 60%);
}
.plan h3 {
  margin: 0 0 16px;
  font-size: 18px;
  font-weight: 600;
}
.plan .price { display: flex; align-items: baseline; gap: 8px; }
.plan .amount { font-size: 40px; font-weight: 700; letter-spacing: -0.02em; }
.plan .per { color: var(--text-dim); font-size: 14px; }
.plan .billed {
  margin: 6px 0 20px;
  color: var(--text-dim);
  font-size: 13px;
}
.plan ul {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: grid;
  gap: 10px;
}
.plan ul li {
  font-size: 14px;
  color: var(--text);
  padding-left: 22px;
  position: relative;
}
.plan ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 12px;
  height: 6px;
  border-left: 2px solid var(--good);
  border-bottom: 2px solid var(--good);
  transform: rotate(-45deg);
}
.plan .btn { margin-top: auto; text-align: center; }
.badge {
  position: absolute;
  top: -10px;
  right: 20px;
  background: var(--accent-strong);
  color: white;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
}

/* Contact */
.contact { text-align: center; border-top: 1px solid var(--border); }
.contact .email {
  display: inline-block;
  font-size: 22px;
  font-weight: 600;
  padding: 16px 28px;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 12px;
  margin: 16px 0 12px;
}
.contact .email:hover {
  border-color: var(--accent);
  text-decoration: none;
}
.contact .signed { color: var(--text-dim); font-size: 14px; margin: 0; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 24px 32px;
  display: flex;
  gap: 24px;
  justify-content: center;
  color: var(--text-dim);
  font-size: 13px;
}
.site-footer a { color: var(--text-dim); }
.site-footer a:hover { color: var(--text); }

/* Responsive */
@media (max-width: 720px) {
  .site-nav { gap: 14px; }
  .site-nav a:not(.btn) { display: none; }
  section { padding: 64px 20px; }
  .hero { padding-top: 80px; }
  .hero h1 { font-size: 36px; }
  .feature-grid { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; }
}
