/* Galv waitlist — draft. Bright white, Linear-like.
   Tokens follow products/galv/frontends/coming-soon (Manrope, near-black ink on white)
   with the briefs cold accent: slate/indigo only. */
:root {
  --bg: #ffffff;
  --ink: #111318;
  --muted: #5b6170;
  --line: #e6e8ee;
  --soft: #f6f7fa;
  --accent: #4f46e5;
  --accent-hover: #4338ca;
  --accent-soft: #eef0ff;
  --error: #b42332;
  color-scheme: light;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; }

button, input { font: inherit; }
button, a, input { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }

button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: absolute;
  left: 16px; top: -64px;
  padding: 8px 12px;
  background: var(--ink);
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  z-index: 10;
}
.skip:focus { top: 16px; }

.wrap {
  max-width: 1040px;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
}

/* Header */
.top { border-bottom: 1px solid var(--line); }
.top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: 60px;
}
.logo {
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.02em;
}
.top-link {
  font-size: 14px;
  color: var(--muted);
  text-decoration: none;
}
.top-link:hover { color: var(--ink); }

/* Hero */
.hero { padding: 56px 0 48px; }
.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 2px 10px;
  border-radius: 999px;
  margin-bottom: 20px;
}
h1 {
  font-size: clamp(32px, 7.2vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 700;
  max-width: 18ch;
  text-wrap: balance;
}
.lede {
  margin-top: 18px;
  font-size: clamp(17px, 3.6vw, 20px);
  line-height: 1.5;
  color: var(--muted);
  max-width: 46ch;
}

/* Form */
.join { margin-top: 32px; max-width: 560px; }
.join-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.join input {
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font-size: 16px;
}
.join input::placeholder { color: #8a90a0; }
.join input:focus-visible { border-color: var(--accent); }
.join button {
  min-height: 52px;
  padding: 0 22px;
  border: 0;
  border-radius: 10px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  white-space: nowrap;
}
.join button:hover { background: var(--accent-hover); }
.join button:disabled { opacity: 0.7; cursor: default; }
.note {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
}
.note.err { color: var(--error); }
.note.ok { color: var(--ink); font-weight: 500; }

@media (min-width: 560px) {
  .join-row { flex-direction: row; }
  .join input { flex: 1 1 auto; }
}

/* Blocks */
.block { padding: 40px 0; border-top: 1px solid var(--line); }
h2 {
  font-size: clamp(22px, 4.4vw, 28px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 700;
}
.block > .wrap > p {
  margin-top: 12px;
  color: var(--muted);
  max-width: 62ch;
}

.gets {
  margin-top: 24px;
  display: grid;
  gap: 16px;
}
.gets li {
  padding: 20px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 14px;
}
.gets h3 {
  font-size: 17px;
  line-height: 1.35;
  letter-spacing: -0.01em;
  font-weight: 700;
}
.gets p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 15px;
}

.honest > .wrap > p {
  color: var(--ink);
  font-size: clamp(17px, 3.6vw, 19px);
  line-height: 1.55;
  max-width: 50ch;
  padding-left: 16px;
  border-left: 3px solid var(--accent);
}

.cta .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 20px;
  padding: 0 20px;
  border-radius: 10px;
  border: 1px solid var(--ink);
  background: #fff;
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}
.cta .button:hover { background: var(--ink); color: #fff; }

/* Footer */
.foot { padding: 28px 0 40px; border-top: 1px solid var(--line); }
.foot-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  font-size: 14px;
  color: var(--muted);
}
.foot a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.foot a:hover { color: var(--accent); }

/* Desktop rhythm */
@media (min-width: 768px) {
  .wrap { padding-left: 24px; padding-right: 24px; }
  .hero { padding: 96px 0 72px; }
  .block { padding: 56px 0; }
  .gets {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
