/* kumba landing v1 — one static page. No build step, no framework. */

:root {
  --paper: #f5f1e9;
  --surface: #fffdf7;
  --ink: #161b18;
  --muted: #4c554e;
  --line: #d7cfbe;
  --accent: #173f2c;
  --accent-ink: #f5f1e9;
  --warm: #b84a18;
  /* clay tint that keeps text at >=4.5:1 on the dark process band (QA-001) */
  --band-accent: #e4835a;
  --band-bg: #111a15;
  --band-text: #efeae0;
  --band-muted: #b0bab2;
  --band-line: #2f3b34;
  --font-head: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Instrument Sans", ui-sans-serif, system-ui, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --max: 1180px;
  --shadow: 0 1px 2px rgba(22, 27, 24, 0.06), 0 12px 28px -18px rgba(22, 27, 24, 0.45);
}

[data-theme="dark"] {
  --paper: #0d1310;
  --surface: #151e19;
  --ink: #ede7db;
  --muted: #a7b2aa;
  --line: #2a3630;
  --accent: #8fe0b0;
  --accent-ink: #0d1310;
  --warm: #e4835a;
  --band-accent: #e4835a;
  --band-bg: #18221c;
  --band-text: #ede7db;
  --band-muted: #a2ada5;
  --band-line: #333f38;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.5), 0 14px 30px -18px rgba(0, 0, 0, 0.8);
}

*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.02;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }

:focus-visible {
  outline: 2px solid var(--warm);
  outline-offset: 3px;
  border-radius: 2px;
}

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }

.mono { font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; }

.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: -60px; z-index: 20;
  background: var(--accent); color: var(--accent-ink);
  padding: 10px 16px; border-radius: 2px; font-weight: 600;
}
.skip:focus { top: 16px; }

/* Header */
.site-head { border-bottom: 1px solid var(--line); }
.head-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: 72px;
}
.wordmark {
  font-family: var(--font-head); font-weight: 700; font-size: 1.5rem;
  letter-spacing: -0.045em; line-height: 1;
}
.head-actions { display: flex; align-items: center; gap: 8px; }
.theme-toggle {
  font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase;
  background: transparent; color: var(--muted); border: 1px solid var(--line);
  border-radius: 2px; padding: 9px 12px; cursor: pointer; min-height: 40px;
}
.theme-toggle:hover { color: var(--ink); border-color: var(--muted); }
.head-cta {
  display: inline-flex; align-items: center; min-height: 40px;
  padding: 0 16px; border-radius: 2px; background: var(--accent); color: var(--accent-ink);
  font-weight: 600; font-size: 0.9375rem; text-decoration: none;
}
.head-cta:hover { background: var(--ink); color: var(--paper); }

/* Hero */
.hero {
  display: grid; gap: 40px; padding-top: 56px; padding-bottom: 64px;
}
.eyebrow {
  font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted); display: flex; align-items: center; gap: 8px; margin-bottom: 20px;
}
.pip { width: 7px; height: 7px; border-radius: 50%; background: var(--warm); display: inline-block; }
h1 { font-size: clamp(2.75rem, 8.5vw, 4.75rem); max-width: 13ch; }
.subhead {
  margin-top: 24px; font-size: clamp(1.0625rem, 2.2vw, 1.25rem);
  color: var(--muted); max-width: 46ch; text-wrap: pretty;
}
.hero-actions { margin-top: 32px; display: flex; align-items: center; flex-wrap: wrap; gap: 16px; }
.hero-note { font-size: 0.875rem; color: var(--muted); max-width: 22ch; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 24px; border: 0; border-radius: 2px;
  background: var(--accent); color: var(--accent-ink);
  font-family: var(--font-body); font-size: 1rem; font-weight: 600;
  text-decoration: none; cursor: pointer; transition: background-color 120ms ease;
}
.btn:hover { background: var(--ink); color: var(--paper); }

/* Scope console */
.console {
  align-self: start; border: 1px solid var(--line); border-radius: 3px;
  background: var(--surface); box-shadow: var(--shadow); overflow: hidden;
}
.console-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 18px; border-bottom: 1px solid var(--line);
  border-left: 3px solid var(--warm);
}
.console-title { font-family: var(--font-head); font-weight: 600; font-size: 0.9375rem; letter-spacing: -0.01em; }
.tag {
  font-family: var(--mono); font-size: 0.625rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--warm); border: 1px solid currentColor; border-radius: 999px; padding: 3px 8px; white-space: nowrap;
}
.console-list li {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  padding: 14px 18px; border-bottom: 1px solid var(--line); font-weight: 500;
}
.console-list .mono { color: var(--muted); font-size: 0.65rem; }
.console-note {
  padding: 16px 18px; font-size: 0.8125rem; line-height: 1.5; color: var(--muted);
}

/* Sections */
.section { padding-top: 72px; padding-bottom: 72px; }
.section-head { margin-bottom: 40px; }
.section-head .eyebrow { margin-bottom: 12px; }
h2 { font-size: clamp(1.875rem, 4.6vw, 2.75rem); }

.cards { display: grid; gap: 0; border-top: 1px solid var(--line); }
.card { padding: 28px 0 4px; border-bottom: 1px solid var(--line); }
.card-num { color: var(--warm); margin-bottom: 16px; }
.card h3 { font-size: 1.375rem; margin-bottom: 10px; }
.card p:last-child { color: var(--muted); max-width: 34ch; }

/* Band */
.band {
  background: var(--band-bg); color: var(--band-text);
  padding: 72px 0; margin-top: 8px;
}
.band .eyebrow { color: var(--band-muted); }
.steps { display: grid; gap: 0; border-top: 1px solid var(--band-line); }
.steps li {
  display: grid; grid-template-columns: 3.25rem 1fr; align-items: start; gap: 8px;
  padding: 22px 0; border-bottom: 1px solid var(--band-line);
}
.step-num { font-size: 0.75rem; color: var(--band-accent); padding-top: 6px; }
.step-title { font-family: var(--font-head); font-weight: 600; font-size: 1.125rem; line-height: 1.3; letter-spacing: -0.015em; }

/* Built for */
.built-for { padding-top: 56px; padding-bottom: 56px; border-bottom: 1px solid var(--line); }
.built-line { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.built-line strong {
  display: block; margin-top: 14px;
  font-family: var(--font-head); font-weight: 600; text-transform: none; letter-spacing: -0.03em;
  font-size: clamp(1.5rem, 4.8vw, 2.375rem); line-height: 1.12; color: var(--ink); max-width: 26ch;
}

/* Early access */
.cta-panel {
  border: 1px solid var(--line); border-radius: 3px; background: var(--surface);
  padding: 28px 24px 24px; display: grid; gap: 28px; box-shadow: var(--shadow);
}
.cta-copy { margin-top: 16px; color: var(--muted); max-width: 44ch; font-size: 0.9375rem; }
.signup label { display: block; font-weight: 600; font-size: 0.875rem; margin-bottom: 8px; }
.field-row { display: grid; gap: 10px; }
input[type="email"] {
  width: 100%; min-height: 48px; padding: 0 14px;
  font-family: var(--font-body); font-size: 1rem; color: var(--ink);
  background: var(--paper); border: 1px solid var(--line); border-radius: 2px;
}
input[type="email"]::placeholder { color: var(--muted); opacity: 1; }
input[type="email"]:focus-visible { border-color: var(--accent); }
.form-note { margin-top: 12px; font-size: 0.875rem; color: var(--muted); min-height: 1.5em; }
.form-note[data-state="error"] { color: var(--warm); }

/* Footer */
.site-foot { border-top: 1px solid var(--line); margin-top: 24px; }
.foot-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  flex-wrap: wrap; min-height: 88px; padding-top: 16px; padding-bottom: 16px;
}
.foot-inner .mono { color: var(--muted); }

@media (max-width: 420px) {
  .head-inner { gap: 10px; }
  .head-actions { gap: 6px; }
  .head-cta { padding: 0 12px; font-size: 0.875rem; }
  .theme-toggle { padding: 8px 10px; }
}

@media (min-width: 760px) {
  .wrap { padding: 0 40px; }
  .console-list li { padding: 16px 22px; }
  .cards { grid-template-columns: repeat(3, 1fr); }
  .card { padding: 28px 28px 8px 0; border-bottom: 0; border-right: 1px solid var(--line); }
  .card:last-child { border-right: 0; padding-right: 0; }
  .card + .card { padding-left: 28px; }
  .steps { grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--band-line); }
  .steps li {
    grid-template-columns: 1fr; gap: 14px; padding: 26px 28px 26px 0;
    border-bottom: 0; border-right: 1px solid var(--band-line);
  }
  .steps li + li { padding-left: 28px; }
  .steps li:last-child { border-right: 0; }
  .step-num { padding-top: 0; }
  .cta-panel { grid-template-columns: 1fr 1fr; align-items: center; gap: 40px; padding: 40px; }
  .field-row { grid-template-columns: 1fr auto; }
  .hero-copy { max-width: 40rem; }
}

@media (min-width: 980px) {
  .hero {
    grid-template-columns: 1.12fr 0.88fr; align-items: start;
    gap: 64px; padding-top: 88px; padding-bottom: 96px;
  }
  .console { margin-top: 44px; }
  .section { padding-top: 104px; padding-bottom: 104px; }
  .band { padding: 104px 0; }
  .section-head { margin-bottom: 48px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
}
