:root {
  --ink: #111014;
  --paper: #faf8f5;
  --tint: #f1ece6;
  --line: #e2dbd2;
  --muted: #6b6570;
  --eggplant: #4b1d6b;
  --eggplant-bright: #b78ae0;
  --ok: #3ecf8e;
  --radius: 16px;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 17px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
h1, h2, h3 { line-height: 1.08; letter-spacing: -0.03em; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 7vw, 5.2rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 750; }
h3 { font-size: 1.2rem; letter-spacing: -0.01em; }
p { margin: 0; }

.banner {
  background: var(--eggplant);
  color: #fff;
  text-align: center;
  font-size: 0.85rem;
  padding: 8px 16px;
}

.nav {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; gap: 24px;
  padding: 14px max(16px, calc((100vw - var(--max)) / 2));
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav nav { display: flex; gap: 22px; margin-left: auto; font-size: 0.95rem; }
.nav nav a { text-decoration: none; color: var(--muted); }
.nav nav a:hover { color: var(--ink); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.25rem; letter-spacing: -0.03em; text-decoration: none; }
.logo { width: 30px; height: 30px; fill: var(--ink); }

.btn {
  display: inline-block;
  background: var(--ink); color: #fff;
  border: 2px solid var(--ink); border-radius: 999px;
  padding: 13px 26px;
  font: inherit; font-weight: 650; text-decoration: none; cursor: pointer;
  transition: transform .15s, background .15s, border-color .15s;
}
.btn:hover { background: var(--eggplant); border-color: var(--eggplant); transform: translateY(-1px); }
.btn-small { padding: 8px 16px; font-size: 0.9rem; }
.btn-ghost { background: transparent; color: var(--ink); border-color: transparent; padding-inline: 8px; }
.btn-ghost:hover { background: transparent; border-color: transparent; color: var(--eggplant); }
.btn-light { background: #fff; color: var(--ink); border-color: #fff; }
.btn-light:hover { background: var(--eggplant-bright); border-color: var(--eggplant-bright); }

.hero, .section, .logos, .footer { padding-inline: max(16px, calc((100vw - var(--max)) / 2)); }

.hero { padding-top: clamp(56px, 10vw, 120px); padding-bottom: 56px; }
.hero h1 em { font-style: normal; color: var(--eggplant); }
.eyebrow { font-size: 0.8rem; font-weight: 650; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); margin-bottom: 18px; }
.lede { font-size: clamp(1.1rem, 2vw, 1.35rem); color: var(--muted); max-width: 40em; margin-top: 24px; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 32px; }
.hero-stats { list-style: none; display: flex; flex-wrap: wrap; gap: 16px 56px; padding: 32px 0 0; margin: 48px 0 0; border-top: 1px solid var(--line); }
.hero-stats b { display: block; font-size: 2rem; letter-spacing: -0.03em; }
.hero-stats span { color: var(--muted); font-size: 0.9rem; }

.logos { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 36px; padding-block: 28px; border-block: 1px solid var(--line); color: var(--muted); }
.logos span { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.12em; }
.logos b { font-size: 1.05rem; opacity: 0.55; text-decoration: line-through; text-decoration-thickness: 1px; }

.section { padding-block: clamp(64px, 9vw, 112px); }
.section-lede { color: var(--muted); font-size: 1.15rem; max-width: 38em; margin-top: 16px; }
.section-tint { background: var(--tint); }
.section-dark { background: var(--ink); color: #f4f1f7; }
.section-dark .eyebrow, .section-dark .section-lede { color: #a79fb0; }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; margin-top: 44px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-3px); box-shadow: 0 12px 30px -18px rgba(17, 16, 20, .35); }
.card p { color: var(--muted); margin-top: 10px; font-size: 0.98rem; }
.card-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--tint); color: var(--eggplant); display: grid; place-items: center; font-size: 1.3rem; margin-bottom: 20px; }

/* Monitor */
.monitor-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px; }
.monitor-total { text-align: right; }
.monitor-total .ticker { display: block; font-size: clamp(1.8rem, 4.5vw, 3.2rem); font-weight: 800; letter-spacing: -0.03em; color: var(--eggplant-bright); }
.monitor-total small { color: #a79fb0; }
.ticker, .num, .stat b { font-variant-numeric: tabular-nums; }

.table-wrap { overflow-x: auto; margin-top: 36px; border: 1px solid #2c2833; border-radius: var(--radius); }
table { border-collapse: collapse; width: 100%; }
.rails { min-width: 680px; }
.rails th, .rails td { padding: 14px 18px; text-align: left; border-bottom: 1px solid #2c2833; white-space: nowrap; }
.rails tr:last-child td { border-bottom: 0; }
.rails th { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: #a79fb0; font-weight: 600; }
.rails td small { display: block; color: #8d8597; font-size: 0.8rem; white-space: normal; }
.rails .num, .mini .num { text-align: right; }
.rails tr.us td { color: var(--eggplant-bright); }
.fineprint { font-size: 0.8rem; color: #a79fb0; margin-top: 16px; max-width: 70em; }
.fineprint.dim, .dim { color: var(--muted); }

.live-head { margin-top: 56px; }
.live-head p { color: #a79fb0; margin-top: 8px; }
.pill { display: inline-block; vertical-align: middle; margin-left: 8px; font-size: 0.7rem; font-weight: 650; letter-spacing: 0.08em; text-transform: uppercase; padding: 3px 10px; border-radius: 999px; background: #2c2833; color: #a79fb0; }
.pill.live { background: color-mix(in srgb, var(--ok) 18%, transparent); color: var(--ok); }
.pill.down { background: #4a1f28; color: #ff8fa3; }
.live-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; margin-top: 24px; }
.stat { background: #1b1920; border: 1px solid #2c2833; border-radius: var(--radius); padding: 20px; }
.stat span { font-size: 0.8rem; color: #a79fb0; }
.stat b { display: block; font-size: 1.9rem; letter-spacing: -0.03em; margin-top: 4px; }
.stat small { color: #8d8597; }
.spark-wrap { margin-top: 12px; background: #1b1920; border: 1px solid #2c2833; border-radius: var(--radius); padding: 16px 20px; color: var(--eggplant-bright); }
.spark-wrap span { font-size: 0.8rem; color: #a79fb0; }
#spark { display: block; width: 100%; height: 60px; margin-top: 8px; }

/* Tools */
.tools { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 16px; margin-top: 44px; }
.tool { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; min-width: 0; }
.tool > p { color: var(--muted); margin-top: 6px; }
.field { display: block; margin-top: 20px; flex: 1; }
.field span { display: block; font-size: 0.8rem; font-weight: 600; color: var(--muted); margin-bottom: 6px; }
.field-row { display: flex; gap: 12px; }
input, select {
  width: 100%; font: inherit; color: inherit;
  padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper);
}
input:focus, select:focus { outline: 2px solid var(--eggplant); outline-offset: 1px; }
.mini { margin-top: 20px; font-size: 0.92rem; }
.mini th, .mini td { padding: 9px 6px; text-align: left; border-bottom: 1px solid var(--line); }
.mini th { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.mini td:nth-child(2) { color: var(--muted); }
.mini tr.us td { color: var(--eggplant); font-weight: 650; }
.fx-list { list-style: none; padding: 0; margin: 20px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 8px; }
.fx-list li { background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; font-variant-numeric: tabular-nums; }
.fx-list li b { display: block; font-size: 0.72rem; letter-spacing: 0.08em; color: var(--muted); }

/* Quotes */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; margin-top: 44px; }
.quotes figure { margin: 0; background: #fff; border-radius: var(--radius); padding: 28px; border: 1px solid var(--line); display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.quotes blockquote { margin: 0; font-size: 1.2rem; line-height: 1.35; letter-spacing: -0.01em; }
.quotes figcaption { color: var(--muted); font-size: 0.9rem; }
.quotes figcaption b { display: block; color: var(--ink); }

/* Pricing */
.price-tag { font-size: 2.4rem !important; font-weight: 800; letter-spacing: -0.03em; color: var(--ink) !important; }
.price-tag small { font-size: 1rem; font-weight: 500; color: var(--muted); }
.price ul { list-style: none; padding: 16px 0 0; margin: 20px 0 0; border-top: 1px solid var(--line); font-size: 0.95rem; }
.price li { padding: 4px 0; }
.price li::before { content: "✓  "; color: var(--eggplant); font-weight: 700; }
.featured { border: 2px solid var(--eggplant); }
.rate-line { margin-top: 28px; color: var(--muted); }
.rate-line b { color: var(--ink); }

/* Signup */
.signup { text-align: center; }
.signup .section-lede { margin-inline: auto; }
.signup-form { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 32px; }
.signup-form input { flex: 1 1 260px; max-width: 360px; background: #1b1920; border-color: #2c2833; border-radius: 999px; padding-inline: 22px; color: #fff; }
.signup-msg { min-height: 1.6em; margin-top: 18px; color: var(--eggplant-bright); }

.footer { padding-block: 40px 56px; border-top: 1px solid var(--line); }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 8px; }
.status-line { font-size: 0.9rem; color: var(--muted); }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); margin-right: 6px; animation: pulse 2s infinite; }
@keyframes pulse { 50% { opacity: .35; } }

@media (max-width: 720px) {
  .nav nav { display: none; }
  .nav .btn-small { margin-left: auto; }
  .monitor-total { text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .dot { animation: none; }
  .btn, .card { transition: none; }
}

section[id] { scroll-margin-top: 64px; }

/* Founders */
.founders { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 16px; margin-top: 44px; }
.founder { display: flex; gap: 20px; align-items: flex-start; }
.avatar { flex: none; width: 72px; height: 72px; border-radius: 20px; background: var(--tint); object-fit: cover; }
.founder .role { margin-top: 2px; font-size: 0.8rem; font-weight: 650; text-transform: uppercase; letter-spacing: 0.1em; color: var(--eggplant); }
@media (max-width: 480px) { .founder { flex-direction: column; } }
@media (min-width: 1100px) {
  .founders { grid-template-columns: repeat(4, 1fr); }
  .founder { flex-direction: column; }
}
