/* Livelier's colors (presentation_software/app/deck.css, first :root block; on dark: assets/logo/README.md). */
:root {
  color-scheme: light dark;
  --accent: #7c3aed;
  --accent-strong: #6d28d9;
  --brand: #8b5cf6;
  --bg: #ffffff;
  --surface: #f8fafc;
  --border: #64748b;
  --text: #1d2433;
  --muted: #64748b;
  --danger: #b91c1c;
  --success: #15803d;
  --ink-logo: #1d2433;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --accent: #a78bfa;
    --accent-strong: #c4b5fd;
    --brand: #a78bfa;
    --bg: #12151d;
    --surface: #1b1f2a;
    --border: #6b7488;
    --text: #e8ebf2;
    --muted: #9aa3b5;
    --danger: #f87171;
    --success: #4ade80;
    --ink-logo: #e8ebf2;
  }
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--bg); color: var(--text); font: 17px/1.5 var(--font); }

/* The wordmark is Deck.LOGO_WAIT as is; its ink and violet are presentation attributes, which CSS overrides. */
.liv-wait { display: block; width: 100%; height: auto; }
.liv-wait g[stroke] { stroke: var(--ink-logo); }
.liv-wait > path { stroke: var(--brand); }
.liv-wait circle { fill: var(--brand); }

.home { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 32px 16px; text-align: center; }
.home .logo { width: min(420px, 80vw); }
.home p { max-width: 34em; margin: 28px 0 0; color: var(--muted); font-size: 18px; }

.page { max-width: 640px; margin: 0 auto; padding: 24px 16px 64px; }
.page .logo { width: 180px; margin: 0 0 16px; }
h1 { font-size: 26px; line-height: 1.25; margin: 8px 0 8px; }
.lead { color: var(--muted); margin: 0 0 24px; }
form { display: grid; gap: 18px; }
fieldset, .field { border: 0; margin: 0; padding: 0; display: grid; gap: 6px; min-width: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.done:focus { outline: none; }
label, legend { font-weight: 600; font-size: 15px; padding: 0; }
.opt { font-weight: 400; color: var(--muted); }
.hint { font-size: 14px; color: var(--muted); margin: 0; }
input[type=text], input[type=email], input[type=url], textarea, select {
  width: 100%; font: inherit; color: var(--text); background: var(--surface);
  border: 1px solid var(--border); border-radius: 10px; padding: 10px 12px;
  appearance: none; -webkit-appearance: none;
}
textarea { min-height: 110px; resize: vertical; }
input:focus-visible, textarea:focus-visible, select:focus-visible, button:focus-visible {
  outline: 3px solid var(--brand); outline-offset: 2px;
}
.row2 { display: grid; gap: 18px; grid-template-columns: 1fr 1fr; }
@media (max-width: 520px) { .row2 { grid-template-columns: 1fr; } }
.choices { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.choice, .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: 16px; }
.choice input, .check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--accent); flex: none; }
.privacy { font-size: 14px; color: var(--muted); border-top: 1px solid var(--border); padding-top: 16px; margin: 4px 0 0; }
button {
  font: inherit; font-weight: 600; color: #fff; background: var(--accent); border: 0;
  border-radius: 999px; padding: 12px 28px; cursor: pointer; justify-self: start;
}
@media (prefers-color-scheme: dark) { button { color: #12151d; } }
button:hover { background: var(--accent-strong); }
button:disabled { opacity: .6; cursor: default; }
.status { min-height: 1.5em; margin: 0; font-weight: 600; }
.status.err { color: var(--danger); }
.status.ok { color: var(--success); }
.done { font-size: 18px; }
[hidden] { display: none !important; }
/* Marked only after a Send was tried, so an empty form does not open in red. */
form.checked input:not([type=radio]):not([type=checkbox]):invalid, form.checked textarea:invalid { border-color: var(--danger); border-width: 2px; }
form.checked fieldset:has(input[type=radio]:invalid) legend, form.checked .check:has(input:invalid) { color: var(--danger); }
