/* mwai for developers: register your interest (/mwai/developers; CEO 16 Nov 2026). Phone first, no third-party files.
   Tokens from CLAUDE.md: ground #F8EDE7, ink #201C1A, muted #5F5853, rule #E2D3C9, panel #FCF6F2, tint #EBE6DC,
   accent #0B5E50, spark #3FA88E, mint #CDE7DE, dark #1C1816. Fonts are mwai's own copies. */

@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("/mwai/static/fonts/Inter-latin.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 800; font-display: swap;
  src: url("/mwai/static/fonts/PlusJakartaSans-800-latin.woff2") format("woff2"); }
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("/mwai/static/fonts/Fraunces-600-latin.woff2") format("woff2"); }

:root {
  --ground: #F8EDE7; --ink: #201C1A; --muted: #5F5853; --rule: #E2D3C9; --panel: #FCF6F2; --tint: #EBE6DC;
  --accent: #0B5E50; --accent-ink: #FFFFFF; --spark: #3FA88E; --mint: #CDE7DE; --error: #9B2C1F;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --ground: #1C1816; --ink: #F8EDE7; --muted: #BDB2AA; --rule: #3A322E; --panel: #25201D; --tint: #2E2724;
    --accent: #3FA88E; --accent-ink: #10201B; --error: #F2A094; --mint: #183A32;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100vh; background: var(--ground); color: var(--ink);
  font: 17px/1.5 "Inter", system-ui, -apple-system, sans-serif; }
[hidden] { display: none !important; }
a { color: var(--accent); }

.bar { display: flex; align-items: baseline; gap: 10px; padding: 16px 16px 8px; max-width: 640px; margin: 0 auto; }
.wordmark { position: relative; font: 600 26px/1 "Fraunces", Georgia, serif; letter-spacing: -0.03em; padding-right: 2px;
  color: var(--ink); text-decoration: none; }
.wordmark svg { position: absolute; right: -0.04em; top: 0.04em; width: 0.33em; height: 0.33em; }
.bar-title { color: var(--muted); font-size: 15px; }

.main { max-width: 640px; margin: 0 auto; padding: 8px 16px 64px; }
h1, h2 { font-family: "Plus Jakarta Sans", system-ui, sans-serif; font-weight: 800; letter-spacing: -0.02em; }
h1 { font-size: 32px; line-height: 1.1; margin: 16px 0 8px; }
h2 { font-size: 24px; margin: 0 0 8px; }
.stop { color: var(--spark); }
.lede { color: var(--muted); margin: 0 0 24px; }

fieldset { border: 1px solid var(--rule); background: var(--panel); border-radius: 16px; padding: 16px; margin: 0 0 16px; }
legend { font-weight: 700; padding: 0 6px; }
label { display: block; font-size: 15px; margin: 12px 0 6px; }
.opt { color: var(--muted); font-weight: 400; }
.q { font-size: 15px; margin: 14px 0 6px; }
input:not([type]), input[type="email"], input[type="tel"], select, textarea {
  width: 100%; min-height: 48px; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--rule);
  background: var(--ground); color: var(--ink); font: inherit; }
textarea { min-height: 96px; resize: vertical; }
/* Safari draws its own short select box: drawn here instead, with an arrow from the wrapper (no image: CSP) */
select { -webkit-appearance: none; appearance: none; padding-right: 40px; }
.select { position: relative; }
.select::after { content: "\25BE"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
  color: var(--muted); pointer-events: none; }
.choices label { display: flex; align-items: flex-start; gap: 10px; margin: 0; padding: 10px 0; border-bottom: 1px solid var(--rule); }
.choices label:last-child { border-bottom: 0; }
.choices input, .consent input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; accent-color: var(--accent); }
.consent { display: flex; gap: 10px; align-items: flex-start; color: var(--muted); font-size: 14px; margin: 8px 0 16px; }
.trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.error { color: var(--error); font-weight: 600; margin: 0 0 12px; }
.btn { width: 100%; min-height: 52px; padding: 0 22px; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--accent); color: var(--accent-ink); font: 700 17px/1 "Inter", system-ui, sans-serif; }
.btn:disabled { background: var(--tint); color: var(--muted); cursor: wait; }
input:focus-visible, select:focus-visible, textarea:focus-visible, .btn:focus-visible, a:focus-visible {
  outline: 3px solid var(--spark); outline-offset: 2px; }
.done { background: var(--mint); border-radius: 16px; padding: 20px; outline: none; }
.choices + .choices { margin-top: 12px; padding-top: 4px; border-top: 1px solid var(--rule); }
