/* Nudgey marketing — shared theme.
   Inter only, two weights, no serif. Same brand discipline as the
   internal docs portal. */

:root {
  --terracotta: #E07856;
  --terracotta-deep: #C8623F;
  --terracotta-soft: #F5C9B7;
  --gold: #E8B84A;
  --gold-soft: #F4DA9A;
  --coral: #D45D5D;
  --coral-soft: #EFB7B7;
  --ink: #1A1814;
  --ink-soft: #2A2520;
  --ink-muted: #6B5F50;
  --ink-faint: #A89F90;
  --cream: #FAF5EC;
  --cream-deep: #F2EBD6;
  --paper: #FFFFFF;
  --hairline: #EAE3D0;
  --rule: #D6CDB4;

  --sans: 'Inter', ui-sans-serif, system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;

  --gutter: clamp(20px, 4vw, 56px);
  --measure: 720px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--terracotta-deep); }

::selection { background: var(--terracotta-soft); color: var(--ink); }

code {
  font-family: var(--mono);
  font-size: 0.92em;
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: 4px;
  padding: 1px 6px;
  color: var(--ink-soft);
}

/* Sticky topbar — minimal for marketing. Just wordmark + waitlist anchor. */
.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 245, 236, 0.92);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-bottom-color 0.2s;
}
.topbar.scrolled { border-bottom-color: var(--hairline); }
.topbar-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 18px var(--gutter);
  display: flex;
  align-items: center;
}
.wordmark {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--ink);
  white-space: nowrap;
}
.wordmark .dot { color: var(--terracotta); }

.topbar .cta {
  margin-left: auto;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  padding: 9px 18px;
  border: 1px solid var(--ink);
  border-radius: 100px;
  transition: background 0.15s, color 0.15s;
}
.topbar .cta:hover {
  background: var(--ink);
  color: var(--cream);
}

/* Section primitive */
section {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(72px, 10vw, 120px) var(--gutter);
}

.eyebrow {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ink-muted);
  font-weight: 700;
  margin: 0 0 18px;
}

/* Screen-reader-only utility */
.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;
}

h1.display {
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(48px, 8vw, 108px);
  line-height: 0.96;
  letter-spacing: -0.045em;
  color: var(--ink);
  margin: 0 0 32px;
}
h1.display .dot { color: var(--terracotta); }

h2.section-h {
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(32px, 4.4vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin: 0 0 24px;
  max-width: 22ch;
}
h2.section-h .dot { color: var(--terracotta); }

p { color: var(--ink-soft); margin: 0 0 14px; line-height: 1.6; }
.lede {
  font-size: clamp(18px, 2.1vw, 24px);
  line-height: 1.45;
  color: var(--ink-soft);
  max-width: 600px;
  margin: 0 0 40px;
  font-weight: 400;
  letter-spacing: -0.005em;
}

/* Background gradient on hero */
.page-bg-warm {
  background:
    radial-gradient(900px 600px at 88% -8%, var(--cream-deep) 0%, transparent 55%),
    radial-gradient(700px 500px at -5% 70%, var(--gold-soft) 0%, transparent 50%),
    var(--cream);
}

/* Footer */
footer {
  background: var(--ink);
  color: var(--cream);
  padding: 64px var(--gutter) 48px;
  margin-top: 80px;
}
footer .foot-inner {
  max-width: 1180px;
  margin: 0 auto;
}
footer .wm {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 28px;
  color: var(--cream);
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}
footer .wm .dot { color: var(--terracotta); }
footer p { color: var(--ink-faint); max-width: 600px; margin: 0 0 14px; font-size: 14px; }
footer .foot-meta {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid #2A2520;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--ink-faint);
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
footer .foot-meta a:hover { color: var(--terracotta-soft); }