* { box-sizing: border-box; }
body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  margin: 0;
  background: #f6f8fa;
  color: #1a1a1a;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: #2563eb; text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
code { font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace; }

/* ============ Nav ============ */
header.nav {
  background: rgba(10, 14, 23, 0.85);
  backdrop-filter: blur(10px);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
header.nav .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 62px;
}
header.nav .brand { font-weight: 800; font-size: 18px; color: #fff; letter-spacing: -0.02em; display: flex; align-items: center; gap: 9px; }
header.nav .brand:hover { text-decoration: none; }
.brand-dot { width: 11px; height: 11px; border-radius: 50%; background: #34d399; box-shadow: 0 0 12px #34d399; display: inline-block; }
header.nav nav { display: flex; align-items: center; gap: 22px; }
header.nav nav a { color: #9ca8b8; font-size: 14px; font-weight: 500; }
header.nav nav a:hover { color: #fff; text-decoration: none; }
header.nav .nav-cta {
  background: #34d399; color: #06281c; padding: 8px 16px; border-radius: 8px; font-weight: 700; font-size: 14px;
}
header.nav .nav-cta:hover { background: #4ade9f; color: #06281c; }

/* ============ Buttons ============ */
.btn {
  display: inline-block; background: #10b981; color: #fff; padding: 11px 22px;
  border-radius: 10px; font-weight: 700; font-size: 15px; border: none; cursor: pointer;
  box-shadow: 0 6px 18px rgba(16,185,129,0.28);
  transition: transform .12s ease, background .12s ease;
  text-align: center;
}
.btn:hover { text-decoration: none; background: #0ea571; transform: translateY(-1px); }
.btn.secondary { background: #21262d; color: #c9d1d9; border: 1px solid #30363d; box-shadow: none; }
.btn.ghost {
  background: transparent; color: #d7dee8; border: 1px solid rgba(255,255,255,0.22); box-shadow: none;
}
.btn.ghost:hover { background: rgba(255,255,255,0.06); }
.btn-lg { padding: 14px 26px; font-size: 16px; }
.btn.full { display: block; width: 100%; }

/* ============ Hero ============ */
.hero {
  background: #0a0e17;
  color: #fff;
  padding: 88px 0 72px;
  position: relative;
  overflow: hidden;
}
.hero-glow {
  position: absolute; top: -220px; left: 50%; transform: translateX(-50%);
  width: 860px; height: 520px;
  background: radial-gradient(closest-side, rgba(16,185,129,0.28), rgba(16,185,129,0.06) 60%, transparent);
  pointer-events: none;
}
.hero .wrap { position: relative; }
.badge {
  display: inline-block; font-size: 13px; font-weight: 600; color: #6ee7b7;
  border: 1px solid rgba(52,211,153,0.35); background: rgba(52,211,153,0.08);
  padding: 5px 14px; border-radius: 999px; margin-bottom: 22px; letter-spacing: 0.02em;
}
.hero h1 { font-size: 52px; margin: 0 0 18px; line-height: 1.08; letter-spacing: -0.03em; font-weight: 800; }
.hero h1 .grad {
  background: linear-gradient(90deg, #34d399, #22d3ee);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p.lead { font-size: 19px; color: #aab6c5; max-width: 720px; margin: 0 0 30px; }
.hero p.lead strong { color: #e6edf3; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 38px; }

.hero-snippet {
  background: #0d1420; border: 1px solid #1e2a3d; border-radius: 12px;
  max-width: 780px; overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,0.45);
}
.hero-snippet.wide { max-width: 100%; margin-top: 10px; }
.snip-bar {
  display: flex; align-items: center; gap: 7px;
  padding: 10px 14px; background: #101a2a; border-bottom: 1px solid #1e2a3d;
}
.snip-bar .dot { width: 11px; height: 11px; border-radius: 50%; display: inline-block; }
.dot.r { background: #f87171; } .dot.y { background: #fbbf24; } .dot.g { background: #34d399; }
.snip-title { margin-left: 8px; font-size: 12px; color: #64748b; }
.hero-snippet code {
  display: block; padding: 16px 18px; color: #a5f3d0; font-size: 13.5px; line-height: 1.6;
  overflow-x: auto; white-space: pre; color: #c8f5e2;
}

/* ============ Trust bar ============ */
.trustbar {
  background: #0a0e17; border-top: 1px solid rgba(255,255,255,0.06);
  padding: 16px 0; color: #64748b; font-size: 13.5px;
}
.trustbar .wrap { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.trustbar .stacks { color: #8fa0b3; font-weight: 600; }

/* ============ Sections ============ */
.section { padding: 76px 0; }
.section.alt { background: #fff; border-top: 1px solid #e6ebf1; border-bottom: 1px solid #e6ebf1; }
.eyebrow {
  color: #0ea571; font-weight: 700; font-size: 13px; text-transform: uppercase;
  letter-spacing: 0.08em; margin: 0 0 8px;
}
.section h2 { font-size: 32px; margin: 0 0 14px; letter-spacing: -0.02em; }
.section-sub { color: #57606a; font-size: 16px; max-width: 640px; margin: 0 0 34px; }

/* ============ Steps ============ */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.step { position: relative; padding-top: 26px; }
.step-num {
  width: 34px; height: 34px; border-radius: 10px; background: #0a0e17; color: #34d399;
  font-weight: 800; font-size: 16px; display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}

/* ============ Cards ============ */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; }
.card {
  background: #fff; border: 1px solid #d0d7de; border-radius: 14px; padding: 24px;
  transition: border-color .12s ease, box-shadow .12s ease;
}
.card:hover { border-color: #10b981; box-shadow: 0 8px 24px rgba(16,185,129,0.10); }
.card h3 { margin: 0 0 8px; font-size: 17px; }
.card p { margin: 0; color: #57606a; font-size: 14.5px; }
.card code { background: #eef2f6; padding: 1px 6px; border-radius: 5px; font-size: 12.5px; }
.chip {
  display: inline-block; font-size: 12px; font-weight: 700; color: #0ea571;
  background: rgba(16,185,129,0.10); border-radius: 6px; padding: 2px 9px;
  margin-bottom: 12px; font-family: Consolas, monospace;
}

/* ============ Compare table ============ */
.table-card {
  background: #fff; border: 1px solid #d0d7de; border-radius: 14px; overflow: hidden;
  box-shadow: 0 10px 30px rgba(15,23,42,0.06);
}
table.compare { width: 100%; border-collapse: collapse; font-size: 14.5px; }
table.compare th, table.compare td { text-align: left; padding: 14px 18px; border-bottom: 1px solid #eaeef2; }
table.compare thead th { background: #f6f8fa; font-size: 13.5px; text-transform: uppercase; letter-spacing: 0.04em; color: #57606a; }
table.compare .us { background: rgba(16,185,129,0.06); font-weight: 600; }
table.compare thead .us { color: #0ea571; }
table.compare td:last-child { border-left: 1px solid rgba(16,185,129,0.25); }
table.compare th:last-child { border-left: 1px solid rgba(16,185,129,0.25); }
.yes { color: #0a7d28; font-weight: 600; }
.no { color: #c0392b; }

/* ============ Pricing ============ */
.pricing { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; align-items: stretch; }
.price {
  background: #fff; border: 1px solid #d0d7de; border-radius: 16px; padding: 28px 24px;
  display: flex; flex-direction: column;
}
.price.featured {
  border: 2px solid #10b981; box-shadow: 0 16px 40px rgba(16,185,129,0.16); position: relative;
}
.price .tier { font-weight: 700; font-size: 17px; display: flex; align-items: center; gap: 10px; }
.price .tag {
  font-size: 11px; font-weight: 700; color: #06281c; background: #34d399;
  border-radius: 999px; padding: 2px 10px; letter-spacing: 0.02em;
}
.price .amt { font-size: 40px; font-weight: 800; margin: 12px 0 4px; letter-spacing: -0.02em; }
.price .amt .per { font-size: 15px; color: #8a8f98; font-weight: 600; }
.price .desc { color: #57606a; font-size: 14px; margin-bottom: 16px; }
.price ul { margin: 0 0 22px; padding: 0 0 0 18px; color: #444d56; font-size: 14px; flex: 1; }
.price ul li { margin: 6px 0; }

/* ============ CTA band ============ */
.cta-band {
  background: linear-gradient(120deg, #0a0e17, #0d1f1a);
  color: #fff; padding: 70px 0; text-align: center;
}
.cta-band h2 { font-size: 32px; margin: 0 0 10px; letter-spacing: -0.02em; }
.cta-band p { color: #9ca8b8; margin: 0 0 26px; font-size: 16px; }

code.block {
  display: block; background: #0d1117; color: #c9d1d9; padding: 16px;
  border-radius: 8px; font-size: 13px; overflow-x: auto; white-space: pre;
}
footer { background: #0a0e17; color: #8b949e; padding: 28px 0; font-size: 13px; }
footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
footer a { color: #9ca8b8; }

/* ============ Dashboard (unchanged behavior) ============ */
.dash { padding: 28px 0 60px; }
.dash .top { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; margin-bottom: 20px; }
.keybox { width: 360px; max-width: 100%; padding: 9px 12px; border: 1px solid #d0d7de; border-radius: 8px; font-size: 14px; }
.panel { background: #fff; border: 1px solid #d0d7de; border-radius: 12px; padding: 18px; margin-bottom: 20px; }
.panel h3 { margin: 0 0 14px; font-size: 17px; }
label { display: block; font-size: 13px; color: #57606a; margin: 10px 0 4px; }
input, select {
  width: 100%; padding: 9px 11px; border: 1px solid #d0d7de; border-radius: 8px; font-size: 14px;
  background: #fff; color: #1a1a1a;
}
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { text-align: left; padding: 9px 10px; border-bottom: 1px solid #eaeef2; vertical-align: top; }
th { background: #f0f3f6; }
.pass { color: #0a7d28; font-weight: 600; }
.fail { color: #c0392b; font-weight: 600; }
.skip { color: #8a8f98; }
.muted { color: #57606a; }
.small { font-size: 13px; }
.msg { padding: 10px 12px; border-radius: 8px; margin: 10px 0; font-size: 14px; }
.msg.err { background: #fbe9e7; color: #c0392b; }
.msg.ok { background: #e6f4ea; color: #0a7d28; }

/* Tabs (auth) */
.tabs { display: flex; gap: 8px; margin-bottom: 14px; }
.tab {
  background: #f0f3f6; border: 1px solid #d0d7de; color: #57606a;
  padding: 8px 14px; border-radius: 8px; cursor: pointer; font-size: 14px; font-weight: 600;
}
.tab.active { background: #0a0e17; color: #fff; border-color: #0a0e17; }
summary { cursor: pointer; color: #2563eb; }
textarea { font-family: monospace; }

/* Monitor detail + runs */
.detail { margin-top: 16px; border-top: 1px dashed #d0d7de; padding-top: 14px; }
.detail h4 { margin: 0 0 6px; }
.run { padding: 8px 0; border-bottom: 1px solid #eaeef2; }
.fails { margin: 6px 0 0; padding-left: 18px; }
.fails li { font-size: 13px; color: #57606a; margin: 2px 0; }

@media (max-width: 720px) {
  .hero h1 { font-size: 34px; }
  .hero { padding: 60px 0 52px; }
  header.nav nav a:not(.nav-cta) { display: none; }
}
