:root {
  --ink: #0e1726;
  --bg: #f4f6fa;
  --surface: #ffffff;
  --line: #e3e8f0;
  --muted: #5b6b7f;
  --up: #12a150;
  --down: #e5484d;
  --warn: #d97a00;
  --accent: #2f48ff;
  --accent-soft: #eaedff;
  --radius: 10px;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --sans: "Inter", system-ui, sans-serif;
  --display: "Space Grotesk", var(--sans);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 460px; margin: 0 auto; padding: 0 24px; }

/* ---- top nav ---- */
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px; max-width: 1080px; margin: 0 auto;
}
.brand {
  font-family: var(--display); font-weight: 700; font-size: 19px;
  letter-spacing: -0.02em; color: var(--ink);
}
.brand span { color: var(--accent); }
.nav-links a { color: var(--muted); margin-left: 22px; font-size: 14px; }
.nav-links a:hover { color: var(--ink); text-decoration: none; }

/* ---- buttons ---- */
.btn {
  display: inline-block; font-weight: 600; font-size: 15px;
  padding: 11px 20px; border-radius: var(--radius); border: 1px solid transparent;
  cursor: pointer; font-family: var(--sans);
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #1f37e0; text-decoration: none; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); text-decoration: none; }
.btn-sm { padding: 6px 12px; font-size: 13px; }
.btn-danger { color: var(--down); border-color: var(--line); background: #fff; }
.btn-danger:hover { border-color: var(--down); }

/* ---- hero ---- */
.hero { padding: 56px 0 40px; }
.eyebrow {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 18px;
}
.hero h1 {
  font-family: var(--display); font-weight: 700; letter-spacing: -0.03em;
  font-size: clamp(34px, 5vw, 54px); line-height: 1.05; margin: 0 0 18px;
  max-width: 16ch;
}
.hero p.lead { font-size: 19px; color: var(--muted); max-width: 52ch; margin: 0 0 28px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.proof { font-size: 13px; color: var(--muted); margin-top: 14px; }
.proof b { color: var(--ink); font-family: var(--mono); }

/* ---- signature: status board ---- */
.board {
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  margin-top: 44px; overflow: hidden; box-shadow: 0 12px 40px -24px rgba(14,23,38,.45);
}
.board-head {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 18px; border-bottom: 1px solid var(--line);
  font-family: var(--mono); font-size: 12px; color: var(--muted);
}
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.dot.r { background: #ff5f56; } .dot.y { background: #ffbd2e; } .dot.g { background: #27c93f; }
.board-head .ttl { margin-left: 10px; letter-spacing: 0.04em; }
.row {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; align-items: center;
  padding: 14px 18px; border-bottom: 1px solid var(--line); font-size: 14px;
}
.row:last-child { border-bottom: 0; }
.row .site { font-weight: 600; }
.row .site small { display: block; color: var(--muted); font-weight: 400; font-family: var(--mono); font-size: 12px; }
.pill {
  font-family: var(--mono); font-size: 12px; font-weight: 600;
  padding: 4px 9px; border-radius: 999px; display: inline-flex; align-items: center; gap: 6px;
}
.pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.pill.up { color: var(--up); background: #e7f6ee; }
.pill.down { color: var(--down); background: #fdeaea; }
.pill.warn { color: var(--warn); background: #fbf0e0; }
.metric { font-family: var(--mono); font-size: 13px; color: var(--muted); }
.metric b { color: var(--ink); }

/* ---- sections ---- */
.section { padding: 64px 0; }
.section h2 {
  font-family: var(--display); font-weight: 700; letter-spacing: -0.02em;
  font-size: 28px; margin: 0 0 8px;
}
.section .sub { color: var(--muted); margin: 0 0 36px; max-width: 56ch; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px;
}
.card .k { font-family: var(--mono); font-size: 12px; color: var(--accent); margin-bottom: 10px; }
.card h3 { font-size: 17px; margin: 0 0 6px; }
.card p { color: var(--muted); font-size: 14px; margin: 0; }

/* ---- join / waitlist ---- */
.join { background: var(--ink); color: #fff; border-radius: 16px; padding: 44px; text-align: center; }
.join h2 { font-family: var(--display); font-size: 30px; margin: 0 0 10px; letter-spacing: -0.02em; }
.join p { color: #aebdd0; margin: 0 auto 24px; max-width: 48ch; }
.join-form { display: flex; gap: 10px; max-width: 420px; margin: 0 auto; }
.join-form input {
  flex: 1; padding: 12px 14px; border-radius: var(--radius);
  border: 1px solid #2a3850; background: #131f33; color: #fff; font-size: 15px;
}
.join-form input::placeholder { color: #6b7c93; }

/* ---- pricing strip ---- */
.price {
  display: flex; align-items: baseline; gap: 10px; justify-content: center;
  font-family: var(--mono); margin-top: 12px;
}
.price .amt { font-size: 40px; font-weight: 700; color: #fff; font-family: var(--display); }
.price .per { color: #aebdd0; font-size: 14px; }

/* ---- forms / auth ---- */
.auth { padding: 60px 0; }
.auth h1 { font-family: var(--display); font-size: 26px; margin: 0 0 22px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.field input[type=text], .field input[type=email], .field input[type=password], .field input[type=url] {
  width: 100%; padding: 11px 13px; border: 1px solid var(--line);
  border-radius: var(--radius); font-size: 15px; font-family: var(--sans);
}
.field input:focus { outline: 2px solid var(--accent); border-color: transparent; }
.check { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }

/* ---- flash ---- */
.flash { padding: 11px 16px; border-radius: var(--radius); margin: 16px 0; font-size: 14px; }
.flash.ok { background: #e7f6ee; color: #0c6b35; }
.flash.error { background: #fdeaea; color: #a31a1f; }

/* ---- dashboard ---- */
.dash-head { display: flex; justify-content: space-between; align-items: center; padding: 28px 0 8px; }
.dash-head h1 { font-family: var(--display); font-size: 24px; margin: 0; }
.quota { font-family: var(--mono); font-size: 13px; color: var(--muted); }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.panel-add { padding: 18px; display: grid; grid-template-columns: 1.2fr 2fr auto auto; gap: 12px; align-items: end; }
.mon-row {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr auto; align-items: center;
  padding: 16px 18px; border-top: 1px solid var(--line); font-size: 14px;
}
.mon-row .site { font-weight: 600; }
.mon-row .site small { display: block; font-family: var(--mono); font-size: 12px; color: var(--muted); }
.inline-form { display: inline; }
.empty { padding: 40px 18px; text-align: center; color: var(--muted); }

footer { padding: 40px 0; color: var(--muted); font-size: 13px; text-align: center; }

@media (max-width: 760px) {
  .cards { grid-template-columns: 1fr; }
  .row, .mon-row { grid-template-columns: 1.4fr 1fr 1fr; }
  .row .col-hide, .mon-row .col-hide { display: none; }
  .panel-add { grid-template-columns: 1fr; }
  .join-form { flex-direction: column; }
}
