/* Cahow brand kit (brand/cahow/tokens.css): Night, Dusk, Moon, Mist; Outfit for titles, Inter for the rest. */
@font-face { font-family: 'Inter'; src: url('/fonts/Inter-Variable.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Outfit'; src: url('/fonts/Outfit-SemiBold.woff2') format('woff2'); font-weight: 600; font-display: swap; }

:root {
  --surface: #ffffff; --surface-raised: #f8f7fd; --surface-sunken: #eeeafb;
  --ink: #1f2430; --ink-brand: #1e1b4b; --ink-muted: #4b5563;
  --line: #d9dee5; --line-strong: #8a8fa3;
  --accent: #4f46e5; --on-accent: #ffffff; --declined: #b91c1c;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --surface: #14123a; --surface-raised: #1e1b4b; --surface-sunken: #0e0c2b;
    --ink: #f4f2fc; --ink-brand: #f4f2fc; --ink-muted: #b9b5e0;
    --line: #322e6b; --line-strong: #7772b8;
    --accent: #ffc857; --on-accent: #1e1b4b; --declined: #f87171;
  }
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  background: var(--surface-sunken); color: var(--ink);
  font: 400 16px/1.5 Inter, system-ui, sans-serif;
  display: grid; place-items: center; min-height: 100vh; padding: 16px;
}
.card {
  width: 100%; max-width: 420px; background: var(--surface-raised);
  border: 1px solid var(--line); border-radius: 16px; padding: 32px 24px;
}
.logo { display: block; height: 40px; width: auto; margin-bottom: 24px; }
h1 { font: 600 28px/1.2 Outfit, Inter, sans-serif; color: var(--ink-brand); margin: 0 0 8px; }
.lead { color: var(--ink-muted); margin: 0 0 24px; }
label { display: block; font-weight: 600; margin-bottom: 8px; }
.field {
  display: flex; align-items: center; border: 1px solid var(--line-strong); border-radius: 10px;
  background: var(--surface); overflow: hidden;
}
.field:focus-within { outline: 2px solid var(--accent); outline-offset: 2px; }
input {
  flex: 1; min-width: 0; border: 0; background: transparent; color: var(--ink);
  font: inherit; font-size: 18px; padding: 12px 4px 12px 14px; outline: none;
}
.zone { color: var(--ink-muted); padding-right: 14px; white-space: nowrap; }
button {
  width: 100%; margin-top: 16px; min-height: 48px; border: 0; border-radius: 10px;
  background: var(--accent); color: var(--on-accent); font: 600 17px Inter, sans-serif; cursor: pointer;
}
button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
button.quiet { background: transparent; color: var(--accent); border: 1px solid var(--line-strong); }
.hint { color: var(--ink-muted); font-size: 14px; margin: 12px 0 0; }
.note { color: var(--declined); margin: 16px 0 0; }
.busy p { margin: 0; }
[hidden] { display: none !important; }
