:root {
  --ground: #F5F4F0;
  --ground-2: #ECEAE3;
  --line: #DEDBD3;
  --ink: #111417;
  --text: #3A434C;
  --muted: #4B5560;
  --accent: #C2410C;
  --accent-text: #9A3412;
  --panel: #12171B;
  --panel-line: #2A333A;
  --panel-text: #C9D1D7;
  --panel-strong: #E6E8EA;
  --ember: #FF8A4C;
  --ok: #7EE2A8;
  --card: #FFFFFF;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: Archivo, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--ink); }
a:hover { color: var(--accent); }
img, svg { display: block; }

.wrap { max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.eyebrow {
  margin: 0 0 12px;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent-text);
}
h1, h2, h3 { margin: 0; }
h2 { font-size: clamp(30px, 4vw, 40px); line-height: 1.1; letter-spacing: -0.03em; font-weight: 800; }
.lead { margin: 16px 0 0; font-size: 18px; line-height: 1.55; color: var(--text); max-width: 680px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 46px; padding: 12px 20px; border-radius: 8px;
  font: inherit; font-weight: 600; font-size: 16px;
  text-decoration: none; cursor: pointer; border: 1px solid transparent;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #9A3412; color: #fff; }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--ground-2); color: var(--ink); }
.btn-outline-dark { border-color: #5E6A73; color: #fff; }
.btn-outline-dark:hover { border-color: #fff; color: #fff; }
.btn:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--ember); outline-offset: 2px;
}

/* Header */
.site-header { border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 18px; padding-bottom: 18px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-name { font-weight: 800; font-size: 20px; letter-spacing: -0.02em; }
.brand-by { font-size: 12px; color: var(--muted); font-weight: 500; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; font-size: 15px; font-weight: 500; }
.nav a:not(.btn) { text-decoration: none; }
.nav .btn { font-size: 15px; min-height: 44px; padding: 10px 18px; }

/* Hero */
.hero { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; padding-top: 88px; padding-bottom: 72px; }
.hero-copy { flex: 1 1 480px; min-width: 0; }
.hero h1 { font-size: clamp(38px, 6vw, 60px); line-height: 1.04; letter-spacing: -0.035em; font-weight: 800; }
.hero .lead { font-size: 19px; max-width: 560px; margin-top: 24px; }
.hero-ctas { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { margin: 18px 0 0; font-size: 14px; color: var(--muted); }

.flow {
  flex: 1 1 440px; min-width: 0;
  background: var(--panel); color: var(--panel-strong);
  border-radius: 14px; padding: 22px;
  font-family: var(--mono); font-size: 13px; line-height: 1.6;
}
.flow-head { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 14px; color: #9AA5AE; }
.flow-head .ok { color: var(--ok); }
.flow-step { border: 1px solid var(--panel-line); border-radius: 10px; padding: 14px; color: var(--panel-text); }
.flow-step .t { color: var(--ember); margin-bottom: 6px; }
.flow-step pre { margin: 0; font: inherit; white-space: pre-wrap; }
.flow-step .frame { color: var(--panel-strong); word-break: break-all; }
.flow-step .ack { color: var(--ok); margin-top: 4px; }
.flow-arrow { text-align: center; color: #5E6A73; padding: 6px 0; }

/* Facts band */
.facts { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--ground-2); }
.facts .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; padding-top: 28px; padding-bottom: 28px; }
.fact b { display: block; font-size: 16px; }
.fact span { display: block; font-size: 14px; color: var(--muted); margin-top: 4px; }

/* Use cases */
.section { padding-top: 96px; padding-bottom: 40px; }
.cards { margin-top: 48px; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.card h3 { font-size: 21px; font-weight: 700; letter-spacing: -0.01em; }
.card p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--text); }
.card .tag { font-family: var(--mono); font-size: 12px; color: var(--muted); }

/* Verification */
.verify-wrap { padding-top: 64px; padding-bottom: 96px; }
.verify { background: var(--panel); color: var(--panel-strong); border-radius: 18px; padding: 56px 48px; display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.verify > div { flex: 1 1 420px; min-width: 0; }
.verify .eyebrow { color: var(--ember); }
.verify h2 { color: #fff; font-size: clamp(28px, 3.6vw, 38px); }
.verify p { margin: 18px 0 0; font-size: 17px; line-height: 1.6; color: var(--panel-text); }
.verify ul { flex: 1 1 360px; min-width: 0; list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.verify li { display: flex; gap: 14px; }
.verify li svg { flex: none; margin-top: 2px; }
.verify li b { display: block; color: #fff; }
.verify li span { display: block; font-size: 15px; color: var(--panel-text); margin-top: 2px; }

/* How */
.how { border-top: 1px solid var(--line); background: var(--ground-2); }
.how .wrap { padding-top: 88px; padding-bottom: 88px; }
.steps { list-style: none; margin: 44px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 32px; }
.steps li { display: flex; flex-direction: column; gap: 10px; }
.steps .n { font-family: var(--mono); font-size: 14px; color: var(--accent-text); }
.steps .h { font-size: 20px; font-weight: 700; }
.steps .d { font-size: 15px; line-height: 1.55; color: var(--text); }

/* Pricing */
.plans { margin-top: 44px; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; align-items: stretch; }
.plan { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 32px; display: flex; flex-direction: column; gap: 18px; }
.plan.featured { border: 2px solid var(--accent); }
.plan.dark { background: var(--panel); border-color: var(--panel); color: var(--panel-strong); }
.plan .name { font-size: 20px; font-weight: 700; }
.plan .for { font-size: 14px; color: var(--muted); margin-top: 4px; }
.plan.dark .name, .plan.dark .price { color: #fff; }
.plan.dark .for, .plan.dark ul { color: var(--panel-text); }
.plan .price { font-size: 40px; font-weight: 800; letter-spacing: -0.02em; }
.plan .price small { font-size: 16px; font-weight: 500; color: var(--muted); }
.plan .fine { font-size: 14px; color: var(--muted); margin-top: 6px; line-height: 1.5; }
.plan ul { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 8px; font-size: 15px; line-height: 1.45; color: var(--text); flex-grow: 1; }
.plan.dark ul a { color: var(--ember); }
.plan .actions { display: flex; flex-direction: column; gap: 10px; }

.notice-wrap { padding-top: 48px; }
.notice { border: 1px solid var(--line); background: var(--card); border-radius: 12px; padding: 22px 24px; display: flex; gap: 16px; align-items: flex-start; }
.notice svg { flex: none; margin-top: 2px; }
.notice p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--text); }
.notice strong { color: var(--ink); }

/* Early access form */
.signup-section { padding-top: 96px; padding-bottom: 96px; }
.signup { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 48px; display: flex; flex-wrap: wrap; gap: 48px; }
.signup-intro { flex: 1 1 340px; min-width: 0; }
.signup-intro .lead { font-size: 17px; }
.signup-intro ul { margin: 24px 0 0; padding-left: 18px; color: var(--text); line-height: 1.6; font-size: 15px; }
.signup form { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label, .field legend { font-size: 14px; font-weight: 600; }
.field .opt { font-weight: 400; color: var(--muted); }
.field input[type=email], .field input[type=text], .field select, .field textarea {
  font: inherit; font-size: 16px; color: var(--ink);
  border: 1px solid #B9B5AB; border-radius: 8px; background: #fff;
  padding: 12px 14px; min-height: 46px; width: 100%;
}
.field textarea { min-height: 96px; resize: vertical; }
.row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; }
fieldset.field { border: 0; margin: 0; padding: 0; }
.checks { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 8px 18px; margin-top: 6px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.4; color: var(--text); min-height: 28px; }
.field .check { font-weight: 400; font-size: 15px; }
fieldset.field legend { padding: 0; margin-bottom: 6px; }
.check input { width: 20px; height: 20px; margin: 0; flex: none; accent-color: var(--accent); }
.consent { font-size: 14px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 0; font-size: 15px; line-height: 1.5; min-height: 1.5em; }
.form-status.ok { color: #166534; }
.form-status.err { color: #B91C1C; }
.signup .btn[disabled] { opacity: 0.6; cursor: progress; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: var(--ground-2); }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; padding-top: 48px; padding-bottom: 48px; }
.site-footer .name { font-weight: 800; font-size: 18px; }
.site-footer .where { font-size: 14px; color: var(--muted); margin-top: 8px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 24px; font-size: 14px; align-items: center; }

/* Legal page */
.legal { max-width: 760px; padding-top: 64px; padding-bottom: 96px; }
.legal h1 { font-size: 40px; letter-spacing: -0.03em; font-weight: 800; }
.legal h2 { font-size: 22px; margin-top: 36px; letter-spacing: -0.01em; }
.legal p, .legal li { font-size: 16px; line-height: 1.65; color: var(--text); }

@media (max-width: 640px) {
  .hero { padding-top: 56px; gap: 40px; }
  .verify { padding: 36px 24px; }
  .signup { padding: 28px 20px; }
  .section { padding-top: 72px; }
  .nav { gap: 16px; }
}
