:root {
  --bg: #06122e;
  --bg2: #0a1a3d;
  --line: rgba(255, 255, 255, 0.16);
  --ink: #ffffff;
  --body: rgba(255, 255, 255, 0.84);
  --muted: rgba(255, 255, 255, 0.62);
  --gold: #ffffff;
  --gold-ink: #06122e;
  --red: #e0313c;
  --red-hover: #c7212c;
  --red-soft: #ff7a82;
  --ok: #ffffff;
  --err: var(--red-soft);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--body);
  font: 16px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Helvetica Neue", "Segoe UI", Roboto, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  background-image: radial-gradient(900px 500px at 70% -10%, #0d2457 0%, transparent 70%);
  background-repeat: no-repeat;
}
a { color: var(--ink); text-decoration-color: var(--red); text-underline-offset: 3px; }
a:hover { color: var(--red-soft); }
.wrap { max-width: 1060px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .wrap { padding: 0 28px; } }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 700; text-decoration: none; letter-spacing: -0.01em; }
.mark { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 6px; background: var(--ink); color: var(--bg); font: 700 16px/1 -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", "Segoe UI", Roboto, Arial, sans-serif; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 18px; border-radius: 10px; font-weight: 600; font-size: 15px; line-height: 1; font-family: inherit; text-decoration: none; cursor: pointer; border: 1px solid transparent; white-space: nowrap; }
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-hover); }
.btn-primary:disabled { opacity: .6; cursor: default; }
.btn-ghost { color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--bg2); }

.hero { padding: 72px 16px 88px; text-align: center; }
.eyebrow::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: var(--red); vertical-align: 1px; }
.eyebrow { display: inline-block; margin: 0 0 20px; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; color: var(--muted); }
h1 { margin: 0 auto; max-width: 820px; color: var(--ink); font: 700 clamp(34px, 5.6vw, 60px)/1.08 -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", "Segoe UI", Roboto, Arial, sans-serif; letter-spacing: -0.035em; }
h1 em { color: var(--gold); }
.lede { max-width: 640px; margin: 24px auto 0; font-size: 18px; }
.join { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 520px; margin: 36px auto 0; }
.join input[type=email] { flex: 1 1 260px; min-height: 48px; padding: 0 16px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg2); color: var(--ink); font-size: 16px; line-height: 1.2; font-family: inherit; }
.join input[type=email]:focus { outline: 2px solid var(--red); outline-offset: 1px; }
.join .btn { min-height: 48px; flex: 0 0 auto; }
.note { flex-basis: 100%; margin: 4px 0 0; font-size: 13.5px; color: var(--muted); }
.note.ok { color: var(--ok); }
.note.err { color: var(--err); }

section { padding-bottom: 88px; }
h2 { margin: 0 0 28px; color: var(--ink); font: 700 clamp(24px, 3.4vw, 34px)/1.15 -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", "Segoe UI", Roboto, Arial, sans-serif; letter-spacing: -0.025em; }
h3 { margin: 0 0 8px; color: var(--ink); font-size: 17px; font-weight: 600; }
p { margin: 0; }
.grid3, .grid2 { display: grid; gap: 16px; padding: 0; margin: 0; list-style: none; }
@media (min-width: 720px) { .grid3 { grid-template-columns: repeat(3, 1fr); } .grid2 { grid-template-columns: repeat(2, 1fr); } }
.steps li, .cards article, .trust li { padding: 22px; border: 1px solid var(--line); border-radius: 14px; background: color-mix(in srgb, var(--bg2) 70%, transparent); }
.num { display: inline-grid; place-items: center; width: 28px; height: 28px; margin-bottom: 14px; border-radius: 50%; background: var(--gold); color: var(--gold-ink); font-weight: 700; font-size: 14px; }
.trust strong { display: block; margin-bottom: 4px; color: var(--ink); }
.origin { text-align: center; }
.origin p { max-width: 620px; margin: 0 auto 28px; font-size: 17px; }

.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 28px; padding-bottom: 40px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.foot nav { display: flex; gap: 18px; }
.foot a { color: var(--muted); text-decoration: none; }
.foot a:hover { color: var(--ink); }

/* Legal pages */
.doc { max-width: 760px; padding-top: 24px; padding-bottom: 72px; }
.doc h1 { margin: 0 0 8px; text-align: left; font-size: clamp(36px, 5vw, 52px); }
.doc h2 { margin: 40px 0 12px; font-size: 24px; }
.doc p, .doc li { margin: 0 0 12px; }
.doc ul, .doc ol { padding-left: 22px; margin: 0 0 16px; }
.doc strong { color: var(--ink); }
.doc .tbl { overflow-x: auto; margin: 0 0 16px; }
.doc table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.doc th, .doc td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.doc th { color: var(--ink); font-weight: 600; }

/* Homepage: hero only, centred in the viewport */
body.solo { min-height: 100vh; display: flex; flex-direction: column; }
body.solo main { flex: 1; display: grid; place-items: center; }
body.solo .hero { padding: 48px 16px; }
.mini { display: flex; justify-content: center; gap: 18px; padding: 0 16px 24px; font-size: 13px; }
.mini a { color: var(--muted); text-decoration: none; }
.mini a:hover { color: var(--ink); }
.tag { max-width: 760px; margin: 18px auto 0; color: var(--body); font: 500 clamp(19px, 2.6vw, 25px)/1.3 -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", "Segoe UI", Roboto, Arial, sans-serif; letter-spacing: -0.015em; }
h1, h2, .tag, .lede { text-wrap: balance; }
/* The setup promise under the form */
.join .note { margin-top: 10px; font-size: 16px; font-weight: 600; color: var(--ink); letter-spacing: -0.01em; }
.join .note.err { color: var(--err); }
.dot { display: inline-block; width: 6px; height: 6px; margin: 0 12px; border-radius: 50%; background: var(--red); vertical-align: 3px; }
.eyebrow strong { color: var(--ink); font-weight: 600; }
.eyebrow .sep { margin: 0 8px; }
