/* Urban Intelligence 2026 brand tokens.
   Contrast notes (WCAG 2.1): #6666FF on white = 4.28:1. It passes for large text (≥24px, or ≥18.66px bold)
   and for UI components (≥3:1), but NOT for small body text. So blue appears only as large/bold text, as fills
   with white bold ≥19px text, as borders/progress, or as a pale (#D3D3FF) fill under black text (12:1). */
:root {
  --blue: #6666FF;
  --muted: #D3D3FF;
  --ash: #E6E6E6;
  --ink: #1A1A1A;
  --white: #FFFFFF;
  --grey: #4D4D4D;          /* secondary text: 8.5:1 on white, 6.9:1 on ash */
  --font-head: var(--just-sans, "Work Sans"), "Work Sans", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --font-body: "Work Sans", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(26, 26, 26, .06), 0 4px 16px rgba(26, 26, 26, .06);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-body); color: var(--ink); background: var(--white); font-size: 16px; line-height: 1.55; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.2; margin: 0 0 .5em; }
a { color: var(--ink); text-decoration-color: var(--blue); text-decoration-thickness: 2px; text-underline-offset: 3px; }
button, input, textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; border: 2px solid var(--ink); background: var(--white); color: var(--ink);
  border-radius: 8px; padding: .55em 1.1em; font-weight: 600; cursor: pointer; text-decoration: none; min-height: 44px; }
.btn:hover { background: var(--ash); }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
/* Primary: blue fill, white BOLD text at 19px = WCAG "large text" (needs 3:1; actual 4.28:1). */
.btn-primary { background: var(--blue); border-color: var(--blue); color: var(--white); font-size: 19px; font-weight: 700; padding: .5em 1.4em; }
.btn-primary:hover { background: var(--ink); border-color: var(--ink); }
.btn-dark { background: var(--ink); border-color: var(--ink); color: var(--white); }
.btn-dark:hover { background: #000; }
.btn-ghost { border-color: transparent; background: transparent; }
.btn-sm { min-height: 34px; padding: .25em .7em; font-size: 14px; }

.footer { font-size: 13px; color: var(--grey); text-align: center; padding: 28px 16px 36px; }
.pattern-bg { position: relative; overflow: hidden; }
.pattern-bg::before { content: ""; position: absolute; inset: 0; background: url(/assets/ui-pattern.svg) center/cover no-repeat; opacity: .07; pointer-events: none; }
.pattern-bg > * { position: relative; }
