/* Design system: conservative, NIST/government-adjacent, WCAG 2.2 AA.
   Restrained palette, generous whitespace, system fonts (no third-party CDN). */
:root {
  --ink: #1a202c;          /* body text on white — contrast ~ 13:1 */
  --ink-soft: #3d4a5c;     /* secondary text — AA on white */
  --navy: #16304f;         /* brand / headings */
  --accent: #1a5fb4;       /* links / CTA — AA on white */
  --accent-dark: #134a92;  /* hover */
  --line: #d7dde5;
  --bg: #ffffff;
  --bg-alt: #f5f7fa;
  --maxw: 44rem;
  --focus: #b54708;        /* high-contrast focus ring, not relying on hue alone */
}
* { box-sizing: border-box; }
html { font-size: 100%; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}
h1, h2, h3 { color: var(--navy); line-height: 1.25; font-weight: 700; }
h1 { font-size: 2rem; margin: 0 0 .5rem; }
h2 { font-size: 1.4rem; margin: 2.5rem 0 .75rem; }
p, li { font-size: 1.0625rem; }
a { color: var(--accent); }
a:hover { color: var(--accent-dark); }

/* Visible, non-color-only focus for every interactive element (WCAG 2.2 AA) */
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--navy); color: #fff; padding: .6rem 1rem; z-index: 100;
}
.skip-link:focus { left: 0; }

.site-header {
  display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; align-items: center;
  justify-content: space-between;
  max-width: 64rem; margin: 0 auto; padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--line);
}
.brand { font-weight: 700; font-size: 1.15rem; color: var(--navy); text-decoration: none; }
.site-header nav { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.site-header nav a { text-decoration: none; color: var(--ink-soft); }
.site-header nav a[aria-current="page"] { color: var(--navy); font-weight: 600; border-bottom: 2px solid var(--accent); }

main { max-width: 64rem; margin: 0 auto; padding: 1.5rem; }
.prose, .hero { max-width: var(--maxw); }
.hero { padding: 2rem 0 1rem; }
.hero p { font-size: 1.25rem; color: var(--ink-soft); }

.steps, .deliverables, .packages { list-style: none; padding: 0; margin: 1.5rem 0; display: grid; gap: 1rem; }
@media (min-width: 40rem) { .steps { grid-template-columns: repeat(3, 1fr); } .packages { grid-template-columns: repeat(2, 1fr); } }
.card { border: 1px solid var(--line); border-radius: 6px; padding: 1.25rem; background: var(--bg-alt); }
.card h3 { margin-top: 0; }

.cta {
  display: inline-block; margin-top: 1rem; padding: .8rem 1.4rem;
  background: var(--navy); color: #fff; text-decoration: none; border-radius: 6px; font-weight: 600;
}
.cta:hover { background: var(--accent-dark); color: #fff; }

form { max-width: var(--maxw); display: grid; gap: 1.25rem; }
.field { display: grid; gap: .35rem; }
label { font-weight: 600; }
.req { color: var(--focus); }   /* required marker — paired with text, not color-only */
input, select, textarea {
  font: inherit; padding: .6rem .7rem; border: 1px solid #6b7685; border-radius: 4px; background: #fff;
}
.error { color: #8a1c1c; font-weight: 600; }
.field-hint { color: var(--ink-soft); font-size: .95rem; }

.site-footer { max-width: 64rem; margin: 3rem auto 2rem; padding: 1.5rem; border-top: 1px solid var(--line); color: var(--ink-soft); }
.site-footer .disclaimer { font-size: .95rem; }
.site-footer .meta { font-size: .9rem; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}
