/* Galv waitlist and content pages.
   Tokens follow products/galv/frontends/coming-soon (Manrope, near-black ink on white)
   with the cold accent: indigo only. No amber or yellow anywhere. */
: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, select, summary { font: inherit; }
button, a, input, select, summary { -webkit-tap-highlight-color: transparent; }
button, summary { cursor: pointer; }

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
summary: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;
}

/* Honeypot: off-screen, not read by screen readers, not focusable. */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px; height: 1px;
  overflow: hidden;
  opacity: 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;
  text-decoration: none;
}
.top-nav { display: flex; gap: 18px; }
.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: 20ch;
  text-wrap: balance;
}
.lede {
  margin-top: 18px;
  font-size: clamp(17px, 3.6vw, 20px);
  line-height: 1.5;
  color: var(--muted);
  max-width: 46ch;
}
.sub {
  margin-top: 14px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 62ch;
}

/* Form */
.join { margin-top: 32px; max-width: 560px; }
.join-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 14px; font-weight: 500; color: var(--ink); }
.join input,
.join select {
  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,
.join select: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; }

.more { margin-top: 14px; }
.more summary {
  font-size: 14px;
  color: var(--muted);
  padding: 4px 0;
}
.more summary:hover { color: var(--ink); }
.more-fields {
  display: grid;
  gap: 12px;
  margin-top: 10px;
  padding: 16px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.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; align-items: stretch; }
  .join-row .field { flex: 1 1 auto; }
  .more-fields { grid-template-columns: 1fr 1fr; }
}

/* 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;
}
.block > .wrap > p.inline-link { margin-top: 16px; color: var(--ink); }
.inline-link a { text-underline-offset: 3px; }
.inline-link a:hover { color: var(--accent); }

.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: 54ch;
  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;
  align-items: center;
  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); }
.foot-nav { display: flex; gap: 18px; }

/* Content pages: /blog/ and /ai-answers/ */
.page-head { padding: 48px 0 8px; }
.page-head h1 { font-size: clamp(30px, 6vw, 44px); max-width: 24ch; }
.page-head .lede { margin-top: 14px; }

.prose { padding: 24px 0 32px; }
.prose h2 {
  margin-top: 32px;
  font-size: clamp(20px, 4vw, 24px);
}
.prose p,
.prose ul.plain { margin-top: 12px; color: var(--muted); max-width: 68ch; }
.prose ul.plain { list-style: disc; padding-left: 20px; }
.prose ul.plain li { margin-top: 6px; }
.prose a { color: var(--ink); text-underline-offset: 3px; }
.prose a:hover { color: var(--accent); }

.meta-line {
  margin-top: 12px;
  font-size: 14px;
  color: var(--muted);
}

/* Answer card (the free asset) */
.answer {
  margin-top: 28px;
  padding: 20px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 14px;
  max-width: 72ch;
}
.answer h2 { margin-top: 0; font-size: clamp(19px, 3.6vw, 22px); max-width: none; }
.answer .label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 8px;
}
.answer ul.plain { margin-top: 10px; }
.answer .source-list { margin-top: 10px; font-size: 14px; }

.card-list {
  margin-top: 28px;
  display: grid;
  gap: 16px;
}
.card-list li {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
}
.card-list h2 { margin: 0; font-size: 19px; }
.card-list p { margin-top: 8px; color: var(--muted); font-size: 15px; }
.card-list a { font-weight: 700; text-underline-offset: 3px; }
.card-list a:hover { color: var(--accent); }

.empty {
  margin-top: 28px;
  padding: 20px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--muted);
  max-width: 62ch;
}

.cta-inline {
  margin-top: 28px;
  font-size: 15px;
}
.cta-inline a { font-weight: 700; text-underline-offset: 3px; }

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

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