/* Fonts are self-hosted (no requests to Google). OFL licensed, see /fonts. */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("/fonts/inter-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("/fonts/inter-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 700; font-display: swap; src: url("/fonts/barlow-condensed-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 800; font-display: swap; src: url("/fonts/barlow-condensed-latin-800-normal.woff2") format("woff2"); }

:root {
  --navy-900: #06142a;
  --navy-800: #0a203d;
  --navy-700: #12305a;
  --line: rgba(255, 255, 255, 0.1);
  --text: #f4f6fa;
  --muted: #a9b4c7;
  --orange: #fe5320;
  --orange-hover: #ff6b3a;
  --ok: #4ade80;
  --err: #ff8a8a;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--navy-900);
  background-image: linear-gradient(180deg, var(--navy-800) 0%, var(--navy-900) 70%);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.glow {
  position: absolute; top: -25vh; right: 0;
  width: 70vw; height: 70vw; max-width: 760px; max-height: 760px;
  background: radial-gradient(circle, rgba(254, 83, 32, 0.18) 0%, rgba(254, 83, 32, 0) 65%);
  pointer-events: none; z-index: 0;
}

.wrap { position: relative; z-index: 1; width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 20px; }

a { color: var(--orange); }
a:hover { color: var(--orange-hover); }

.top { display: flex; align-items: center; justify-content: space-between; padding-top: 22px; padding-bottom: 22px; }
.logo { height: 34px; width: auto; }
.top-cta {
  font-weight: 600; font-size: 14px; text-decoration: none; color: var(--text);
  border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px;
}
.top-cta:hover { color: var(--text); border-color: var(--orange); }

.hero { padding-top: 64px; padding-bottom: 72px; }
.eyebrow {
  margin: 0 0 18px; font-size: 13px; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--orange);
}
h1, h2 { font-family: "Barlow Condensed", Inter, sans-serif; text-transform: uppercase; letter-spacing: 0.01em; }
h1 { margin: 0 0 22px; font-size: clamp(52px, 11vw, 112px); line-height: 0.92; font-weight: 800; }
h1 span { color: var(--orange); }
.lede { margin: 0 0 34px; max-width: 560px; font-size: 18px; color: var(--muted); }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 26px; border: 0; border-radius: 10px;
  background: var(--orange); color: #0b0b0b; font: 600 16px Inter, sans-serif;
  text-decoration: none; cursor: pointer; transition: background 0.15s ease, transform 0.15s ease;
}
.btn:hover { background: var(--orange-hover); color: #0b0b0b; }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: 0.6; cursor: default; }
.btn:focus-visible, input:focus-visible, .top-cta:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }

.features { display: grid; grid-template-columns: 1fr; gap: 14px; padding-bottom: 80px; }
.card {
  background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line);
  border-radius: 16px; padding: 24px;
}
.num { font: 700 14px "Barlow Condensed", sans-serif; letter-spacing: 0.1em; color: var(--orange); }
.card h2 { margin: 6px 0 8px; font-size: 26px; line-height: 1.05; font-weight: 700; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }

.join { padding-bottom: 88px; }
.join-box {
  background: linear-gradient(160deg, var(--navy-700) 0%, var(--navy-800) 100%);
  border: 1px solid var(--line); border-radius: 22px; padding: 36px 24px; text-align: center;
}
.join-mark { width: 52px; height: auto; }
.join-box h2 { margin: 14px 0 8px; font-size: clamp(32px, 6vw, 46px); line-height: 1; font-weight: 800; }
.join-box > p { margin: 0 auto 26px; max-width: 480px; color: var(--muted); }

form { max-width: 520px; margin: 0 auto; text-align: left; }
.row { display: flex; flex-direction: column; gap: 10px; }
input[type="email"] {
  width: 100%; min-height: 48px; padding: 0 16px; border-radius: 10px;
  border: 1px solid var(--line); background: rgba(0, 0, 0, 0.25); color: var(--text);
  font: 16px Inter, sans-serif;
}
input[type="email"]::placeholder { color: #6f7d95; }
.consent { display: flex; gap: 10px; align-items: flex-start; margin-top: 14px; font-size: 13px; color: var(--muted); line-height: 1.5; cursor: pointer; }
.consent input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--orange); flex: none; }
.msg { min-height: 24px; margin: 12px 0 0; font-size: 14px; font-weight: 500; }
.msg.ok { color: var(--ok); }
.msg.err { color: var(--err); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.foot { display: flex; justify-content: space-between; gap: 16px; padding-top: 24px; padding-bottom: 32px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.foot a { color: var(--muted); }
.foot a:hover { color: var(--text); }

/* Privacy page */
.doc { max-width: 720px; padding-top: 24px; padding-bottom: 72px; }
.doc h1 { font-size: clamp(40px, 8vw, 64px); margin-bottom: 8px; }
.doc h2 { font-size: 24px; margin: 32px 0 8px; }
.doc p, .doc li { color: var(--muted); }
.doc strong { color: var(--text); }

@media (min-width: 640px) {
  .wrap { padding-left: 32px; padding-right: 32px; }
  .logo { height: 40px; }
  .features { grid-template-columns: 1fr 1fr; gap: 18px; }
  .row { flex-direction: row; }
  .row .btn { flex: none; }
  .join-box { padding: 52px 48px; }
}
@media (min-width: 960px) {
  .hero { padding-top: 96px; padding-bottom: 104px; }
  .features { grid-template-columns: repeat(4, 1fr); }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }
