/* astroflow.trade — locked dark-instrument direction (design board round 6) */

@font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/ibm-plex-sans-400.woff2) format('woff2'); }
@font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/ibm-plex-sans-500.woff2) format('woff2'); }
@font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-weight: 600; font-display: swap; src: url(fonts/ibm-plex-sans-600.woff2) format('woff2'); }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/ibm-plex-mono-400.woff2) format('woff2'); }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 600; font-display: swap; src: url(fonts/ibm-plex-mono-600.woff2) format('woff2'); }

:root {
  --ground: #0B0E11;
  --tint: #0E1319;
  --panel: #10151B;
  --field: #131920;
  --hair: #1F2833;
  --hair-soft: #161D25;
  --text: #E6EDF3;
  --muted: #7D8C99;
  --faint: #55636F;
  --gain: #2ED47F;
  --gold: #E9B44C;
  --halt: #E5484D;
  --mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--ground);
  color: var(--text);
  font-family: 'IBM Plex Sans', -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
b { color: var(--text); font-weight: 500; }
img { max-width: 100%; height: auto; }
:focus-visible { outline: 2px solid var(--gain); outline-offset: 2px; }

/* ---------- nav ---------- */
.nav {
  display: flex; align-items: center; gap: 26px;
  padding: 16px clamp(20px, 4vw, 48px);
  border-bottom: 1px solid var(--hair);
  position: sticky; top: 0; z-index: 5;
  background: rgba(11, 14, 17, 0.94);
  backdrop-filter: blur(6px);
}
.logo {
  font-family: var(--mono); font-weight: 600; font-size: 15px;
  letter-spacing: 0.02em; color: var(--text); text-decoration: none;
}
.logo em { color: var(--gain); font-style: normal; }
.navlink { color: var(--muted); font-size: 14px; text-decoration: none; }
.navlink:hover { color: var(--text); }
.cta {
  margin-left: auto; color: var(--ground); background: var(--gain);
  padding: 8px 16px; border-radius: 5px; font-weight: 600; font-size: 14px;
  text-decoration: none;
}
.cta:hover { filter: brightness(1.08); }
@media (max-width: 560px) { .navlink { display: none; } }

/* ---------- hero ---------- */
.hero { padding: 64px clamp(20px, 4vw, 48px) 8px; max-width: 760px; }
.kicker {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 18px;
}
h1 {
  font-family: var(--mono); font-weight: 600;
  font-size: clamp(34px, 5.5vw, 50px); line-height: 1.1;
  margin: 0 0 18px; letter-spacing: -0.01em; text-wrap: balance;
}
.sub { color: var(--muted); font-size: 17px; max-width: 54ch; margin: 0 0 26px; }

/* ---------- waitlist form ---------- */
.join {
  display: flex; gap: 8px; margin: 0 clamp(20px, 4vw, 48px) 40px; max-width: 460px;
}
.join input {
  flex: 1; min-width: 0; background: var(--field);
  border: 1px solid var(--hair); border-radius: 5px;
  color: var(--text); padding: 11px 14px; font-size: 14.5px; font-family: inherit;
}
.join input::placeholder { color: var(--faint); }
.join button {
  background: var(--gain); color: var(--ground); border: 0; border-radius: 5px;
  font-weight: 600; font-size: 14.5px; padding: 11px 20px; font-family: inherit;
  cursor: pointer;
}
.join button:hover { filter: brightness(1.08); }
.join button:disabled { opacity: 0.6; cursor: default; }
.join .joined { margin: 6px 0; color: var(--gain); font-size: 15px; }
.join .ts-slot { flex-basis: 100%; }
.join .ts-slot:empty { display: none; }
.wl .ts-slot { display: flex; justify-content: center; }
.join .join-err { margin: 6px 0 0; color: var(--halt); font-size: 13px; flex-basis: 100%; }
.join { flex-wrap: wrap; }

/* ---------- hero screenshots ---------- */
.shots { position: relative; margin: 0 clamp(20px, 4vw, 48px) 120px; }
.shots .main {
  display: block; width: 86%; margin-left: auto;
  border: 1px solid var(--hair); border-radius: 8px;
}
.shots .over {
  position: absolute; left: 0; bottom: -80px; width: 40%;
  border: 1px solid #263140; border-radius: 8px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.55);
}
.shots .cap {
  font-family: var(--mono); font-size: 11px; color: var(--muted);
  letter-spacing: 0.08em; text-transform: uppercase;
  margin-top: 12px; text-align: right;
}

/* ---------- summary cards ---------- */
.cards {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
  margin: 0 clamp(20px, 4vw, 48px) 40px;
}
@media (max-width: 720px) { .cards { grid-template-columns: 1fr; } }
.card {
  background: var(--panel); border: 1px solid var(--hair); border-radius: 8px;
  padding: 17px 19px;
}
.card h4 { font-size: 15px; font-weight: 600; margin: 0 0 6px; }
.card p { font-size: 13.5px; color: var(--muted); margin: 0; line-height: 1.5; }
.card .fig {
  font-family: var(--mono); font-size: 12px; color: var(--gain);
  margin-top: 12px; display: block;
}
.gold { color: var(--gold); }
.red { color: var(--halt); }

/* ---------- page sections ---------- */
.pv { padding: 72px clamp(20px, 4vw, 48px); border-top: 1px solid var(--hair-soft); }
.pv.tint { background: var(--tint); }
.pv-eyebrow {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--gain); margin-bottom: 12px;
}
.pv h2 {
  font-family: var(--mono); font-weight: 600; font-size: clamp(24px, 3.2vw, 30px);
  margin: 0 0 14px; letter-spacing: -0.01em; text-wrap: balance;
}
.pv .body { color: var(--muted); font-size: 15.5px; max-width: 62ch; margin: 0 0 28px; }
.fullshot { border: 1px solid var(--hair); border-radius: 8px; display: block; width: 100%; }
.fullshot.narrow { max-width: 660px; }
.shotnote {
  font-family: var(--mono); font-size: 11px; color: var(--muted);
  letter-spacing: 0.08em; text-transform: uppercase; margin-top: 10px;
}

.legend { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 26px; }
.legend span {
  font-family: var(--mono); font-size: 12px;
  background: var(--field); border: 1px solid var(--hair); border-radius: 5px;
  padding: 6px 11px; color: #B9C4CE;
}
.legend span b { color: var(--gain); font-weight: 600; }

.road { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; max-width: 800px; }
@media (max-width: 640px) { .road { grid-template-columns: 1fr; } }
.road .card h4 { font-size: 16px; }
.road .card p { font-size: 14px; }

/* ---------- waitlist section ---------- */
.wl {
  text-align: center; padding: 80px clamp(20px, 4vw, 48px) 64px;
  border-top: 1px solid var(--hair-soft); background: var(--tint);
}
.wl h2 { font-family: var(--mono); font-weight: 600; font-size: 30px; margin: 0 0 12px; }
.wl p { color: var(--muted); font-size: 15.5px; max-width: 52ch; margin: 0 auto 24px; }
.wl .join { margin: 0 auto 14px; justify-content: center; }
.wl .fine {
  font-family: var(--mono); font-size: 11px; color: var(--faint); letter-spacing: 0.04em;
}

/* ---------- footer ---------- */
footer {
  display: flex; flex-wrap: wrap; gap: 18px; align-items: center;
  padding: 22px clamp(20px, 4vw, 48px);
  border-top: 1px solid var(--hair-soft);
  font-size: 13px; color: var(--faint);
}
footer .logo { font-size: 13px; }
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--text); }
footer .right { margin-left: auto; font-family: var(--mono); font-size: 11px; }
