:root {
  --bg: #f7f8f5;
  --paper: #ffffff;
  --ink: #101512;
  --muted: #667069;
  --line: #dfe5dc;
  --line-dark: #cdd6cd;
  --green: #126b4f;
  --green-2: #0f8a62;
  --mint: #e6f4ec;
  --lime: #c8f266;
  --amber: #9f6b16;
  --radius: 8px;
  --max: 1160px;
  --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --head: "Plus Jakarta Sans", Inter, ui-sans-serif, system-ui, sans-serif;
  --mono: "DM Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--head); letter-spacing: -0.035em; line-height: 1.02; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 28px; }

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(247, 248, 245, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(16, 21, 18, 0.08);
}
.nav-inner { height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 800 18px var(--head); }
.mark {
  width: 32px; height: 32px; border-radius: 9px;
  display: grid; place-items: center;
  background: var(--ink); color: var(--lime);
  font: 800 12px var(--mono);
}
.nav-links { display: flex; align-items: center; gap: 28px; color: var(--muted); font-size: 14px; }
.nav-links a:hover { color: var(--ink); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 42px; padding: 0 18px; border-radius: 999px;
  border: 1px solid var(--line-dark);
  font-weight: 750; font-size: 14px;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-1px); border-color: var(--ink); }
.btn.primary { background: var(--ink); color: white; border-color: var(--ink); }
.btn.primary span { color: var(--lime); }
.btn.ghost { background: rgba(255,255,255,.48); }

.hero { padding: 92px 0 76px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(360px, .8fr); gap: 66px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--line-dark); border-radius: 999px;
  padding: 7px 12px; color: var(--green);
  background: rgba(255,255,255,.58);
  font: 700 12px var(--mono); letter-spacing: .02em;
}
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green-2); }
h1 { margin-top: 24px; max-width: 720px; font-size: clamp(44px, 7vw, 82px); }
.hero-copy { max-width: 620px; margin-top: 24px; color: #4d5751; font-size: 19px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.proof-line { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 34px; color: var(--muted); font-size: 14px; }
.proof-line strong { color: var(--ink); }

.diagnostic-panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 28px 80px rgba(33, 46, 38, .10);
}
.panel-top { display: flex; align-items: center; justify-content: space-between; color: var(--muted); font: 700 12px var(--mono); padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.status { color: var(--green); }
.score { display: grid; grid-template-columns: 1fr auto; gap: 20px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.score b { font: 800 56px var(--head); letter-spacing: -.06em; }
.score span { display: block; color: var(--muted); font-size: 14px; margin-top: 4px; }
.metric-list { display: grid; gap: 10px; margin-top: 16px; }
.metric-row { display: grid; grid-template-columns: 1fr auto; gap: 14px; padding: 12px; border: 1px solid var(--line); border-radius: var(--radius); background: #fbfcf9; }
.metric-row small { display: block; color: var(--muted); margin-top: 2px; }
.metric-row strong { color: var(--green); }

.visual-map { margin-top: 18px; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #f9faf7; }
.visual-map svg { display: block; width: 100%; height: auto; }

section { padding: 76px 0; border-top: 1px solid var(--line); }
.section-head { display: grid; grid-template-columns: .75fr 1fr; gap: 48px; align-items: start; margin-bottom: 34px; }
.kicker { color: var(--green); font: 800 12px var(--mono); letter-spacing: .08em; text-transform: uppercase; }
h2 { font-size: clamp(32px, 4vw, 52px); }
.section-copy { color: var(--muted); font-size: 17px; max-width: 660px; }
.stack { display: grid; border-top: 1px solid var(--line-dark); }
.stack-row { display: grid; grid-template-columns: 220px 1fr 260px; gap: 28px; padding: 24px 0; border-bottom: 1px solid var(--line); align-items: start; }
.stack-row h3 { font-size: 22px; }
.stack-row p { color: var(--muted); }
.tag { display: inline-flex; width: fit-content; border-radius: 999px; padding: 5px 10px; background: var(--mint); color: var(--green); font: 700 12px var(--mono); }

.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.plan {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px;
  min-height: 292px;
  display: flex;
  flex-direction: column;
}
.plan.featured { border-color: var(--green); box-shadow: inset 0 0 0 1px var(--green); }
.plan h3 { font-size: 22px; }
.price { margin-top: 18px; font: 800 30px var(--head); letter-spacing: -.04em; }
.setup { color: var(--amber); font-weight: 750; margin-top: 2px; }
.plan p { color: var(--muted); margin-top: 14px; font-size: 14px; }
.plan .btn { margin-top: auto; width: 100%; }

.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 44px; align-items: start; }
.callout {
  background: var(--ink);
  color: white;
  border-radius: 18px;
  padding: 34px;
}
.callout p { color: #c9d1cb; margin-top: 14px; font-size: 17px; }
.callout .btn { margin-top: 24px; background: var(--lime); color: var(--ink); border-color: var(--lime); }
.list { display: grid; gap: 12px; }
.list-item { padding: 18px 0; border-bottom: 1px solid var(--line); }
.list-item h3 { font-size: 20px; margin-bottom: 6px; }
.list-item p { color: var(--muted); }

.form-card { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 24px; }
.field { display: grid; gap: 6px; margin-bottom: 14px; }
label { color: var(--muted); font-size: 13px; font-weight: 700; }
input, select, textarea {
  width: 100%; min-height: 44px; border: 1px solid var(--line-dark); border-radius: var(--radius);
  padding: 10px 12px; font: 15px var(--font); background: #fbfcf9; color: var(--ink);
}
textarea { min-height: 96px; resize: vertical; }
.form-card .btn { width: 100%; margin-top: 6px; }
.note { color: var(--muted); font-size: 13px; margin-top: 12px; }

.footer { padding: 38px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.footer .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer a { color: var(--ink); }

@media (max-width: 940px) {
  .hero-grid, .section-head, .split { grid-template-columns: 1fr; }
  .plans { grid-template-columns: repeat(2, 1fr); }
  .stack-row { grid-template-columns: 1fr; gap: 10px; }
  .nav-links { display: none; }
}
@media (max-width: 620px) {
  .wrap { padding: 0 18px; }
  .hero { padding-top: 58px; }
  .hero-grid { gap: 36px; }
  .plans { grid-template-columns: 1fr; }
  .nav-actions .ghost { display: none; }
  .btn { width: 100%; }
  .nav-actions .btn { width: auto; }
}
