/* DLS base: tokens, reset, type, buttons, form controls. Shared by site and dashboard.
   One deliberate look: ink, royal blue and gold, matching the existing DLS brand. */
:root {
  --ink: #0b0d12; --ink-2: #12151e; --ink-3: #1a1f2c; --ink-4: #232a3a;
  --royal: #1e3fb0; --royal-lite: #3a5ce0; --royal-deep: #0f2570;
  --gold: #f4c21b; --gold-soft: #f7d45e; --gold-deep: #ce9b12;
  --bone: #f6f3ea; --bone-2: #ece7da;

  --bg: var(--ink);
  --surface: var(--ink-2);
  --surface-2: var(--ink-3);
  --text: #e9e7e1;
  --muted: #9aa1af;
  --line: rgba(255, 255, 255, 0.1);
  --line-2: rgba(255, 255, 255, 0.22);
  --accent: var(--gold);
  --accent-ink: #0b0d12;
  --link: var(--gold);
  --focus: #8fb0ff;
  --ok: #5ccb7f; --ok-bg: #12301c;
  --warn: #f4c21b; --warn-bg: #3a2d08;
  --bad: #ff8a80; --bad-bg: #3b1512;
  --info: #8db8ff; --info-bg: #14264a;
  --band: #07090d; --band-2: var(--ink-2); --band-text: #e9e7e1; --band-muted: #9aa1af; --band-line: rgba(255, 255, 255, 0.09); --band-focus: #f4c21b;

  --font-display: "Archivo", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --radius: 2px;
  --gutter: 26px;
  color-scheme: dark;
}
/* Light sections inside the dark site */
.bone {
  --bg: var(--bone); --surface: #ffffff; --surface-2: var(--bone-2);
  --text: #0b0d12; --muted: #5a5346; --line: rgba(11, 13, 18, 0.14); --line-2: rgba(11, 13, 18, 0.3); --link: #7a5200; --focus: #1e3fb0;
  background: var(--bone); color: var(--text);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { max-width: 100%; display: block; }
a { color: var(--link); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3, h4 { font-family: var(--font-display); text-transform: uppercase; line-height: 0.96; margin: 0; text-wrap: balance; font-weight: 900; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.6rem, 8vw, 6.5rem); letter-spacing: -0.04em; }
h2 { font-size: clamp(2rem, 5vw, 4.25rem); letter-spacing: -0.03em; }
h3 { font-size: 1.5rem; line-height: 1.05; }
p { margin: 0; }
.lede { font-size: clamp(1.05rem, 1.55vw, 1.2rem); color: var(--muted); max-width: 62ch; line-height: 1.6; }
.muted { color: var(--muted); }
.eyebrow { font-family: var(--font-display); font-weight: 800; font-size: 0.78rem; letter-spacing: 0.32em; text-transform: uppercase; color: var(--gold); display: inline-flex; align-items: center; gap: 12px; }
.eyebrow::before { content: ""; width: 34px; height: 2px; background: currentColor; flex: none; }
.bone .eyebrow { color: var(--gold-deep); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 1.6rem; border: 2px solid var(--gold); border-radius: var(--radius);
  font-family: var(--font-display); font-size: 0.85rem; font-weight: 800; letter-spacing: 0.08em;
  text-transform: uppercase; text-decoration: none; cursor: pointer; background: var(--gold); color: var(--ink);
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}
.btn:hover { background: var(--gold-soft); border-color: var(--gold-soft); transform: translateY(-2px); text-decoration: none; }
.btn:active { transform: none; }
.btn[disabled] { opacity: 0.6; cursor: progress; transform: none; }
.btn-accent { background: var(--gold); color: var(--ink); }
.btn-ghost { background: transparent; color: var(--gold); }
.btn-ghost:hover { background: rgba(244, 194, 27, 0.1); border-color: var(--gold); }
.btn-solid { background: var(--text); border-color: var(--text); color: var(--bg); }
.btn-solid:hover { background: #fff; border-color: #fff; }
.btn.sm { min-height: 40px; padding: 0 1.1rem; font-size: 0.78rem; }

/* Form controls */
.fld { display: flex; flex-direction: column; gap: 0.4rem; min-width: 0; }
.fld > label, .fld > legend, fieldset.fld > legend { font-weight: 600; font-size: 0.95rem; padding: 0; }
fieldset.fld { border: 0; margin: 0; padding: 0; }
.req { color: var(--gold); font-weight: 700; }
.help { font-size: 0.875rem; color: var(--muted); }
input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="date"], input[type="password"], input[type="search"], select, textarea {
  width: 100%; min-height: 48px; padding: 0.65rem 0.8rem; border: 1.5px solid var(--line-2); border-radius: var(--radius);
  background: var(--ink); color: var(--text); font: inherit; font-size: 1rem; line-height: 1.4;
}
input::placeholder, textarea::placeholder { color: #6c7383; }
textarea { min-height: 112px; resize: vertical; }
select { appearance: auto; }
input:focus, select:focus, textarea:focus { border-color: var(--gold); }
.fld.invalid input, .fld.invalid select, .fld.invalid textarea { border-color: var(--bad); }
.err { color: var(--bad); font-size: 0.9rem; font-weight: 500; }
.err:empty { display: none; }
.choices { display: grid; gap: 0.5rem; }
.choice { display: flex; align-items: flex-start; gap: 0.7rem; padding: 0.65rem 0.8rem; border: 1.5px solid var(--line-2); border-radius: var(--radius); background: var(--ink); cursor: pointer; line-height: 1.35; }
.choice:has(input:checked) { border-color: var(--gold); background: rgba(244, 194, 27, 0.06); }
.choice input { width: 20px; height: 20px; margin: 1px 0 0; flex: none; accent-color: var(--gold); }
.consent { display: flex; align-items: flex-start; gap: 0.7rem; font-size: 0.95rem; line-height: 1.45; }
.consent input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; accent-color: var(--gold); }
.alert { padding: 0.8rem 1rem; border-radius: var(--radius); font-weight: 500; }
.alert.bad { background: var(--bad-bg); color: var(--bad); }
.alert.ok { background: var(--ok-bg); color: var(--ok); }

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