:root {
  --bg: #f9faf7;
  --ink: #16283a;
  --ink-soft: #3c4a5a;
  --muted: #5a6878;
  --faint: #8592a1;
  --accent: #2456e0;
  --accent-hover: #1b47c2;
  --panel: #edf1f7;
  --panel-border: #dde4ee;
  --line: #e1e6ec;
  --row-line: #e6eaf0;
  --risk: #a3271c;
  --mono: ui-monospace, 'SF Mono', Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Manrope, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); }
a:hover { color: #16337f; }

h1, h2, h3, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }

/* Sizes below use cqw so they track the page width, not the viewport-with-scrollbar. */
.page { container-type: inline-size; width: 100%; }
.wrap { box-sizing: content-box; max-width: 1200px; margin: 0 auto; padding: 0 clamp(20px, 6cqw, 88px); }

.mono { font-family: var(--mono); font-size: 12px; }
.muted { color: var(--muted); }

.h2 {
  font-size: clamp(30px, 3.6cqw, 46px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 700;
  text-wrap: balance;
}

/* Buttons */
.btn {
  font: 700 15px Manrope, system-ui, sans-serif;
  border: 0;
  border-radius: 9px;
  padding: 14px 22px;
  cursor: pointer;
}
.btn:focus-visible { outline: 2px solid #6f93ff; outline-offset: 2px; }
.btn-primary { color: #fff; background: var(--accent); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-lg { padding: 15px 22px; }
.btn-outline {
  font-weight: 600;
  font-size: 14px;
  color: var(--ink);
  background: transparent;
  border: 1px solid #d5dbe3;
  border-radius: 8px;
  padding: 10px 14px;
}
.btn-outline:hover { background: #eef2f8; }

/* Header */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 28px 0;
}
.brand { display: flex; align-items: center; gap: 11px; }
.brand svg, .footer-brand svg { flex: none; display: block; }
.brand-name { font-weight: 800; font-size: 24px; letter-spacing: -0.035em; }
.brand-name span { color: var(--accent); }

/* Hero */
.hero {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(40px, 6cqw, 80px);
  align-items: center;
  padding: clamp(40px, 8cqw, 104px) 0 clamp(56px, 9cqw, 120px);
}
.hero-copy { flex: 1 1 360px; display: flex; flex-direction: column; gap: 22px; }
.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.hero h1 {
  font-size: clamp(42px, 6.2cqw, 76px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 700;
  text-wrap: balance;
}
.hero-lede {
  font-size: clamp(19px, 2cqw, 24px);
  line-height: 1.35;
  font-weight: 500;
  text-wrap: pretty;
}
.hero-sub {
  font-size: 17px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 470px;
  text-wrap: pretty;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 8px; }

.hero-panel {
  flex: 1 1 580px;
  max-width: 660px;
  min-width: 0;
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: 20px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.hero-panel-title { font-weight: 700; font-size: 16px; }
.hero-panel-note { font-size: 13px; font-weight: 500; }

/* Inbox card */
.inbox {
  background: #fff;
  border: 1px solid var(--panel-border);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 2px rgba(22, 40, 58, 0.06), 0 8px 24px rgba(22, 40, 58, 0.06);
}
.inbox-head {
  padding: 20px 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-bottom: 1px solid var(--row-line);
}
.inbox-head-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 6px 16px;
}
.inbox-title { font-size: 19px; font-weight: 700; letter-spacing: -0.01em; }
.inbox-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.tag-label { padding-right: 2px; }
.tag-label-gap { padding: 0 2px 0 8px; }
.tag { font-size: 12.5px; font-weight: 600; border-radius: 999px; }
.tag-solid { padding: 4px 11px; background: var(--ink); color: #fff; }
.tag-dashed { padding: 3px 10px; border: 1.5px dashed var(--accent); color: var(--accent); }

.inbox-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 18px;
  padding: 13px 20px;
  border-bottom: 1px solid var(--row-line);
}
.inbox-addr { flex: 0 0 76px; display: flex; flex-direction: column; gap: 1px; }
.addr { font-family: var(--mono); font-size: 13px; font-weight: 600; }
.shared { font-size: 11px; color: var(--muted); }
.inbox-msg { flex: 1 1 200px; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.subject { font-size: 14.5px; font-weight: 600; }
.action { font-size: 13px; color: var(--muted); }
.status {
  flex: 0 0 auto;
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 500;
  padding: 5px 10px;
  border-radius: 999px;
}
.status-risk { background: #fde8e6; color: var(--risk); }
.status-tracked { background: #e8eefc; color: #1f4fcf; }
.status-neutral { background: #eef1f4; color: var(--ink-soft); }

.inbox-totals { display: grid; grid-template-columns: 1fr 1fr; background: #f6f8fb; }
.inbox-total {
  padding: 14px 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
}
.inbox-total + .inbox-total { border-left: 1px solid var(--row-line); }
.inbox-total .num { font-size: 26px; font-weight: 700; line-height: 1; }
.inbox-total .num-accent { color: var(--accent); }
.inbox-total .label { font-size: 13.5px; color: var(--muted); }
.inbox-total .risk { color: var(--risk); font-weight: 600; }

/* Problems */
.problems {
  border-top: 1px solid var(--line);
  padding: clamp(48px, 7cqw, 96px) 0;
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.problems .h2, .outcomes .h2 { max-width: 760px; }
.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: 20px;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: clamp(24px, 3cqw, 32px);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.card h3 { font-size: 21px; font-weight: 700; letter-spacing: -0.015em; }
.card p { font-size: 16px; line-height: 1.65; color: var(--muted); text-wrap: pretty; }

/* Principles */
.principles { border-top: 1px solid var(--line); }
.principle {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 64px;
  padding: clamp(36px, 5cqw, 56px) 0;
  border-bottom: 1px solid var(--line);
}
.principle h2 {
  flex: 1 1 380px;
  font-size: clamp(26px, 2.8cqw, 34px);
  line-height: 1.12;
  letter-spacing: -0.025em;
  font-weight: 700;
  text-wrap: balance;
}
.principle p {
  flex: 1 1 380px;
  font-size: 17px;
  line-height: 1.65;
  color: var(--muted);
  text-wrap: pretty;
}

/* Reputation */
.reputation {
  padding: clamp(48px, 7cqw, 96px) 0;
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.h2-narrow { max-width: 720px; }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 20px;
}
.feature {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 20px;
  border-top: 2px solid var(--ink);
}
.feature-accent { border-top-color: var(--accent); }
.feature h3 { font-size: 18px; font-weight: 700; }
.feature p { font-size: 15px; line-height: 1.6; color: var(--muted); text-wrap: pretty; }

/* AI steps */
.ai {
  background: var(--panel);
  border-radius: 24px;
  padding: clamp(28px, 5cqw, 64px);
  display: flex;
  flex-direction: column;
  gap: 36px;
}
.ai-head { display: flex; flex-wrap: wrap; gap: 16px 64px; align-items: flex-end; }
.ai-head .h2 { flex: 1 1 420px; }
.ai-head p {
  flex: 1 1 320px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--muted);
  text-wrap: pretty;
}
.step-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr));
  gap: 12px;
}
.step {
  background: #fff;
  border-radius: 14px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.step-num { font-size: 13px; font-weight: 700; color: var(--accent); }
.step h3 { font-size: 17px; font-weight: 700; }
.step p { font-size: 14px; line-height: 1.55; color: var(--muted); }
.replaces {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
}

/* Outcomes */
.outcomes {
  padding: clamp(48px, 7cqw, 96px) 0;
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.outcome-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: 20px 64px;
}
.outcome h3 { margin-bottom: 8px; font-size: 19px; font-weight: 700; }
.outcome li {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 16px;
  color: var(--ink-soft);
}
.outcome-note {
  max-width: 720px;
  font-size: 17px;
  line-height: 1.6;
  font-weight: 500;
  text-wrap: pretty;
}

/* Signup */
.signup-section { padding: 0 0 clamp(48px, 7cqw, 96px); }
.signup {
  background: var(--ink);
  color: var(--bg);
  border-radius: 24px;
  padding: clamp(28px, 5cqw, 64px);
  display: flex;
  flex-wrap: wrap;
  gap: 32px 64px;
  align-items: flex-end;
}
.signup-copy { flex: 1 1 360px; display: flex; flex-direction: column; gap: 12px; }
.signup-copy .h2 { line-height: 1.08; }
.signup-copy p { font-size: 17px; line-height: 1.6; color: #b7c2cf; text-wrap: pretty; }
.signup-form-col { flex: 1 1 360px; min-width: 0; }
.signup-form { display: flex; flex-direction: column; gap: 10px; }
.signup-form label { font-size: 13px; font-weight: 600; color: #d7dee6; }
.signup-fields { display: flex; flex-wrap: wrap; gap: 10px; }
.signup-fields input {
  flex: 1 1 220px;
  min-width: 0;
  font: 500 16px Manrope, system-ui, sans-serif;
  padding: 14px 16px;
  border-radius: 9px;
  border: 1px solid #3a4c60;
  background: #1f3347;
  color: #fff;
  outline: none;
}
.signup-fields input::placeholder { color: #8592a1; }
.signup-fields input:focus { border-color: #6f93ff; }
.signup-fields .btn { flex: 0 0 auto; }
.btn:disabled { opacity: 0.6; cursor: default; }
#signup-captcha:empty { display: none; }
.signup-error { font-size: 13px; color: #ffb3a8; }
.signup-done { font-size: 18px; font-weight: 600; overflow-wrap: anywhere; }
[hidden] { display: none !important; }

/* Footer */
.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 0 0 40px;
  font-size: 13px;
  color: var(--faint);
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 15px;
  color: var(--ink);
  letter-spacing: -0.02em;
}
