/* Zola shell pages only — the survey has its own generated stylesheet.
   Cloudbulb brand palette from the approved SVG masters (see brand/). */
:root {
  --brand-navy: #060e34;
  --brand-blue-100: #40a4ff;
  --brand-blue-300: #2f87ff;
  --brand-blue-500: #1c64f9;
  --brand-blue-700: #153ab7;
  --brand-blue-900: #0b2a71;
  --ink: #060e34;
  --ink-soft: #414f73;
  --accent: #1c64f9;
  --accent-strong: #153ab7;
  --surface: #ffffff;
  --surface-alt: #f2f6fc;
  --line: #c7d4ea;
  --line-strong: #7d90b8;
  --on-dark-soft: #b9c6e4;
  --on-dark-link: #40a4ff;
  --radius: 6px;
}

/* Dark scheme, matching the survey page (WCAG AA pairings re-checked). */
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --ink: #eef3ff;
    --ink-soft: #b9c6e4;
    --accent: #40a4ff;
    --accent-strong: #7dbdff;
    --surface: #101c44;
    --surface-alt: #060e34;
    --line: #46609c;
    --line-strong: #7d90b8;
  }
}

html { color-scheme: light dark; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--ink);
  background: var(--surface-alt);
}

/* Brand header / footer (shared with the generated survey page). */
.site-header {
  background: var(--brand-navy);
  border-bottom: 4px solid var(--brand-blue-500);
  border-image: linear-gradient(90deg, #40a4ff, #2f87ff, #1c64f9, #153ab7) 1;
}
.site-header-inner { max-width: 46rem; margin: 0 auto; padding: 0.85rem 1rem; }
.brand-logo { display: block; width: 160px; height: auto; }
a.brand-link { display: inline-block; border-radius: 2px; }

/* Skip link: hidden until keyboard focus (WCAG 2.4.1 bypass blocks). */
.skip-link {
  position: absolute;
  left: 0.75rem;
  top: -4rem;
  z-index: 20;
  background: var(--surface);
  color: var(--accent-strong);
  border: 2px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 0.5rem 0.9rem;
  font-weight: 700;
  text-decoration: underline;
}

.skip-link:focus-visible { top: 0.75rem; }

footer.site-footer {
  background: var(--brand-navy);
  margin-top: 2.5rem;
  border-top: 4px solid var(--brand-blue-500);
  border-image: linear-gradient(90deg, #40a4ff, #2f87ff, #1c64f9, #153ab7) 1;
}
.site-footer-inner {
  max-width: 46rem;
  margin: 0 auto;
  padding: 1.1rem 1rem 1.6rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.5rem;
}
.site-footer-inner p { margin: 0; color: var(--on-dark-soft); font-size: 0.9rem; }
footer.site-footer a { color: var(--on-dark-link); }
footer.site-footer a:hover { color: #ffffff; }

main { max-width: 46rem; margin: 0 auto; padding: 2rem 1rem 2rem; }
h1 { font-size: 1.6rem; line-height: 1.25; }
h2 { font-size: 1.15rem; margin-top: 1.6rem; }
p { margin: 0 0 0.7rem; }
a { color: var(--accent); text-underline-offset: 2px; }
a:hover { color: var(--accent-strong); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 2px; }

@media (forced-colors: active) {
  a { color: LinkText; }
  footer.site-footer a { color: LinkText; }
  .site-footer-inner p { color: CanvasText; }
  .skip-link { border: 2px solid CanvasText; color: LinkText; }
}
