/* BRADY public discovery static site — plain CSS, no framework */

:root {
  --bg: #0f1114;
  --bg-alt: #161a20;
  --surface: #1c222b;
  --text: #e8eaed;
  --muted: #9aa3ad;
  --accent: #6ee7b7;
  --accent-dim: #34d399;
  --border: #2a3340;
  --focus: #93c5fd;
  font-size: 100%;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family:
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    Ubuntu,
    Cantarell,
    "Noto Sans",
    sans-serif;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  padding: 0.5rem 1rem;
  background: var(--accent);
  color: var(--bg);
  font-weight: 600;
  z-index: 100;
}

.skip-link:focus {
  left: 0.5rem;
  top: 0.5rem;
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

.wrap {
  max-width: 44rem;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.site-header {
  padding: 3rem 0 2.5rem;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, var(--bg-alt) 0%, var(--bg) 100%);
}

.eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-dim);
}

.site-header h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.75rem, 5vw, 2.25rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.lede {
  margin: 0;
  font-size: 1.0625rem;
  color: var(--muted);
  max-width: 38rem;
}

.hero-note {
  margin: 1.25rem 0 0;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
}

.hero-note a {
  color: var(--accent);
}

.resource-links {
  margin: 0.75rem 0 0;
  padding-left: 1.25rem;
}

.resource-links li {
  margin-bottom: 0.65rem;
  word-break: break-word;
}

.resource-links li:last-child {
  margin-bottom: 0;
}

.resource-links strong {
  color: var(--text);
}

.section {
  padding: 2.25rem 0;
}

.section--alt {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section h2 {
  margin: 0 0 1rem;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text);
}

.section p {
  margin: 0 0 1rem;
}

.section p:last-child {
  margin-bottom: 0;
}

.facts {
  margin: 1rem 0 0;
  padding-left: 1.25rem;
  color: var(--muted);
}

.facts li {
  margin-bottom: 0.5rem;
}

.facts li:last-child {
  margin-bottom: 0;
}

.facts strong {
  color: var(--text);
}

.muted {
  color: var(--muted);
  font-size: 0.9375rem;
}

a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

a:hover {
  color: var(--accent-dim);
}

a:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

code {
  font-family: ui-monospace, "Cascadia Code", "Source Code Pro", Menlo, Consolas, monospace;
  font-size: 0.9em;
  padding: 0.15em 0.35em;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  word-break: break-all;
}

.site-footer {
  margin-top: 2rem;
  padding: 1.5rem 0 2.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.875rem;
  color: var(--muted);
}

.site-footer p {
  margin: 0;
}

@media (min-width: 40em) {
  .section {
    padding: 2.75rem 0;
  }
}
