/* Tokens from docs/brand.md. Change them there first, then here. */
:root {
  --steel: #1F4F6F;
  --copper: #A8521D;
  --ink: #16222B;
  --slate: #34434D;
  --paper: #F5F7F6;
  --sage: #E1E6DD;
  --sign-blue: #4A7FA3;
  --steel-tint: #DCE6EC;
  --field-border: #6B7B85;
  --line: #C3CED3;
  --metal: #9AA7B0;
  --on-steel-muted: #C8D8E4;

  --font-display: "Archivo", "Arial Narrow", Arial, sans-serif;
  --font-body: "Atkinson Hyperlegible", Verdana, Arial, sans-serif;

  --radius-control: 8px;
  --radius-surface: 4px;
  --gutter: 64px;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 20px;
  line-height: 1.55;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--ink);
}

h1 { font-size: 72px; line-height: 1.04; margin: 0 0 24px; }

p { margin: 0 0 16px; }

a { color: var(--steel); }

:focus-visible {
  outline: 3px solid var(--copper);
  outline-offset: 3px;
}

.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.skip-link {
  position: absolute;
  left: -9999px;
}
.skip-link:focus {
  left: 16px;
  top: 16px;
  z-index: 10;
  background: var(--paper);
  padding: 8px 16px;
}

.lead {
  font-size: 24px;
  line-height: 1.5;
  color: var(--slate);
  max-width: 60ch;
}

.muted { color: var(--on-steel-muted); }

/* Buttons */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 60px;
  padding: 0 24px;
  border-radius: var(--radius-control);
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 700;
  text-decoration: none;
}
.button-primary { background: var(--copper); color: #fff; }

/* Ribbon */
.site-ribbon { background: var(--steel); color: #fff; }
.site-ribbon a { color: #fff; }
.ribbon-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 32px;
  min-height: 96px;
}
.wordmark {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 24px;
  text-transform: uppercase;
  text-decoration: none;
  margin-right: auto;
}
.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav a {
  display: inline-block;
  min-height: 44px;
  line-height: 44px;
}
.ribbon-phone { margin: 0; }

/* Sections */
.hero { padding: 96px 0; }

/* Footer */
.site-footer {
  background: var(--steel);
  color: #fff;
  padding: 48px 0 24px;
}
.site-footer a { color: #fff; }
.footer-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
  margin-bottom: 24px;
}
.footer-name, .footer-heading { font-weight: 700; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li a {
  display: inline-block;
  min-height: 44px;
  line-height: 44px;
}

@media (max-width: 720px) {
  :root { --gutter: 16px; }
  body { font-size: 19px; }
  h1 { font-size: 40px; }
  .lead { font-size: 19px; }
  .hero { padding: 48px 0; }
}

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