@font-face { font-family: "Red Hat Display"; src: url("/fonts/RedHatDisplay-Medium.ttf") format("truetype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Red Hat Display"; src: url("/fonts/RedHatDisplay-SemiBold.ttf") format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Red Hat Display"; src: url("/fonts/RedHatDisplay-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Red Hat Text"; src: url("/fonts/RedHatText-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Red Hat Text"; src: url("/fonts/RedHatText-Medium.ttf") format("truetype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Red Hat Text"; src: url("/fonts/RedHatText-SemiBold.ttf") format("truetype"); font-weight: 600; font-display: swap; }

:root {
  --bg: #0A0A0A;
  --panel: #111215;
  --raised: #16181C;
  --line: #1E2025;
  --edge: #2A2D33;
  --text: #ECEEF1;
  --soft: #C3C8D0;
  --muted: #99A0AB;
  --blue: #3B82F6;
  --blue-deep: #2563EB;
  --purple: #A21CAF;
  --gain: #22C55E;
  --display: "Red Hat Display", system-ui, sans-serif;
  --body: "Red Hat Text", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--body); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--soft); }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.center { text-align: center; }

h1, h2, h3 { font-family: var(--display); line-height: 1.12; margin: 0; letter-spacing: -0.01em; }
h1 { font-size: clamp(42px, 7vw, 76px); font-weight: 700; }
h2 { font-size: clamp(28px, 4vw, 42px); font-weight: 700; }
h3 { font-size: 19px; font-weight: 600; }
.eyebrow { font-family: var(--display); font-weight: 600; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue); margin: 0 0 14px; }
.grad { background: linear-gradient(90deg, #2F7BEF, #5AB0FF); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* nav */
.nav { position: sticky; top: 0; z-index: 10; background: rgba(10, 10, 10, 0.82); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav-row { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { width: 40px; height: auto; }
.brand-word { width: 168px; height: auto; }
.hero-mark { width: 132px; height: auto; margin-bottom: 28px; filter: drop-shadow(0 10px 40px rgba(59, 130, 246, 0.35)); }
.early-mark { width: 88px; height: auto; margin: 0 auto 22px; }
.foot-brand { display: flex; align-items: center; gap: 12px; }
.foot-brand img:first-child { width: 28px; height: auto; }
.foot-brand img:last-child { width: 220px; height: auto; opacity: .8; }
.links { display: flex; gap: 24px; margin-left: auto; }
.links a { color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 500; }
.links a:hover { color: var(--text); }

/* buttons and forms */
.btn { display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 10px; background: var(--blue-deep); color: #fff; font: 600 16px var(--body); padding: 0 22px; height: 50px; cursor: pointer; text-decoration: none; white-space: nowrap; transition: background .15s; }
.btn:hover { background: #3B74F0; }
.btn:disabled { opacity: .6; cursor: default; }
.btn-small { height: 38px; padding: 0 16px; font-size: 14px; border-radius: 8px; }
.join { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; max-width: 560px; }
.join input[type=email] { flex: 1 1 240px; height: 50px; border-radius: 10px; border: 1px solid var(--edge); background: var(--raised); color: var(--text); font: 16px var(--body); padding: 0 16px; }
.join input[type=email]:focus { outline: 2px solid var(--blue); outline-offset: 1px; border-color: transparent; }
.form-note { flex-basis: 100%; margin: 4px 0 0; font-size: 14px; color: var(--muted); }
.form-note.ok { color: var(--gain); }
.form-note.bad { color: #F87171; }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* hero */
.hero { padding: 84px 0 40px; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -40% -10% auto; height: 760px; background: radial-gradient(closest-side, rgba(37, 99, 235, 0.22), transparent), radial-gradient(closest-side at 70% 40%, rgba(162, 28, 175, 0.14), transparent); pointer-events: none; }
.hero-text { position: relative; max-width: 820px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.lede { font-size: 19px; color: var(--soft); max-width: 680px; margin: 24px 0 0; }
.hero .join { justify-content: center; }
.hero .form-note { text-align: center; }
.shot { margin: 0; border-radius: 14px; overflow: hidden; border: 1px solid var(--edge); background: var(--panel); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55); }
.shot-hero { margin-top: 56px; position: relative; box-shadow: 0 0 0 1px rgba(91, 151, 248, 0.08), 0 40px 120px rgba(37, 99, 235, 0.18), 0 30px 80px rgba(0, 0, 0, 0.6); }

/* facts */
.facts { border-block: 1px solid var(--line); margin-top: 56px; }
.facts-row { display: grid; grid-template-columns: repeat(4, 1fr); }
.facts-row div { padding: 26px 20px; border-left: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; }
.facts-row div:first-child { border-left: 0; padding-left: 0; }
.facts strong { font-family: var(--display); font-weight: 600; font-size: 16px; }
.facts span { color: var(--muted); font-size: 14px; }

/* features */
.feature { padding: 110px 0 0; }
.feature-row { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: center; }
.flip .feature-text { order: 2; }
/* the DOM is a tall ladder: shown narrower, so it does not tower over its words */
.feature-tall { grid-template-columns: 7fr 5fr; }
.flip .feature-tall .feature-text { order: 2; }
.shot-tall { max-width: 460px; justify-self: center; }
.feature-text p { color: var(--soft); margin: 20px 0 0; }
.ticks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 28px; color: var(--soft); font-size: 16px; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 8px; width: 12px; height: 7px; border-left: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(-45deg); }

/* tools */
.tools { padding: 130px 0 0; }
.tools h2 { margin-bottom: 44px; }
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.grid article { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 22px; }
.grid p { color: var(--muted); font-size: 15px; margin: 10px 0 0; }

/* early access */
.early { padding: 130px 0 110px; }
.early-box { max-width: 640px; text-align: center; background: linear-gradient(180deg, var(--panel), var(--bg)); border: 1px solid var(--edge); border-radius: 18px; padding: 52px 40px; }
.early-box > p { color: var(--soft); margin: 16px 0 0; }
.join-stack { margin: 30px auto 0; flex-direction: column; align-items: stretch; }
.join-stack input[type=email] { flex: none; }
.choice { border: 0; margin: 6px 0; padding: 0; display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.choice legend { width: 100%; color: var(--muted); font-size: 14px; margin-bottom: 10px; }
.choice label { display: flex; align-items: center; gap: 8px; border: 1px solid var(--edge); border-radius: 999px; padding: 8px 16px; cursor: pointer; font-size: 15px; color: var(--soft); }
.choice label:has(input:checked) { border-color: var(--blue); background: rgba(37, 99, 235, 0.14); color: var(--text); }
.choice input { accent-color: var(--blue); margin: 0; }
.early .form-note { text-align: center; }

/* footer */
.foot { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--muted); font-size: 14px; }
.foot-row { display: flex; gap: 24px; flex-wrap: wrap; align-items: center; }
.foot a { color: var(--muted); }
.risk { margin-left: auto; }

/* plain pages */
.page { padding: 80px 0 100px; max-width: 760px; }
.page h1 { font-size: clamp(34px, 5vw, 48px); margin-bottom: 24px; }
.page h2 { font-size: 22px; margin: 36px 0 8px; }
.page p, .page li { color: var(--soft); }

@media (max-width: 960px) {
  .feature-row { grid-template-columns: 1fr; gap: 36px; }
  .flip .feature-text, .flip .feature-tall .feature-text { order: 0; }
  .feature-tall { grid-template-columns: 1fr; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .facts-row { grid-template-columns: repeat(2, 1fr); }
  .facts-row div:nth-child(3) { border-left: 0; padding-left: 0; }
  .facts-row div { border-top: 1px solid var(--line); }
  .facts-row div:nth-child(-n+2) { border-top: 0; }
  .risk { margin-left: 0; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  /* the sections stay one tap away: a row under the logo that scrolls sideways */
  .nav-row { flex-wrap: wrap; height: auto; padding: 12px 0 0; row-gap: 10px; }
  .links { display: flex; order: 3; width: 100%; margin: 0; gap: 8px; overflow-x: auto; padding-bottom: 10px; scrollbar-width: none; }
  .links::-webkit-scrollbar { display: none; }
  .links a { flex: none; border: 1px solid var(--edge); border-radius: 999px; padding: 6px 14px; font-size: 14px; }
  .brand-word { width: 128px; }
  .brand-mark { width: 32px; }
  .hero-mark { width: 96px; }
  .nav-row { justify-content: space-between; }
  .hero { padding-top: 56px; }
  .lede { font-size: 17px; }
  .join .btn { flex: 1 1 100%; }
  .grid { grid-template-columns: 1fr; }
  .facts-row { grid-template-columns: 1fr; }
  .facts-row div { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); }
  .facts-row div:first-child { border-top: 0; }
  .feature { padding-top: 80px; }
  .early-box { padding: 40px 20px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
