/* Equal Access — shared styles. Draft site, no tracking, no external fonts. */

:root {
  --navy: #1B2A4A;
  --navy-deep: #121C33;
  --yellow: #FFC629;
  --yellow-deep: #D9A61A;
  --white: #ffffff;
  --pale: #E8EDF6;
  --ink: #1B2A4A;
  --muted: #3A4A6A;
  --info: #143A5C;
  --advisory: #6A3D00;
  --significant: #7A1E1E;
  --surface: #ffffff;
  --page: #ffffff;
  --line: #D4DAE6;
  --confirm-bg: #FFC629;
  --confirm-ink: #1B2A4A;
  --max: 42rem;
  --wide: 68rem;
  --radius: 0.75rem;
  --space: 1.25rem;
}

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

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--page);
  min-height: 100vh;
}

img,
svg {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--navy);
  text-decoration-thickness: 0.1em;
  text-underline-offset: 0.18em;
}

a:hover {
  text-decoration-thickness: 0.16em;
}

:focus {
  outline: none;
}

:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px var(--navy);
}

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: 0.75rem;
  z-index: 100;
  padding: 0.55rem 0.9rem;
  background: var(--white);
  color: var(--navy);
  font-weight: 650;
  border-radius: 0.35rem;
  transform: translateY(-200%);
}

.skip-link:focus {
  transform: none;
}

/* Draft banner: navy on sunflower yellow, not yellow on white */
.draft-banner {
  background: var(--yellow);
  color: var(--navy);
  text-align: center;
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  padding: 0.55rem 1rem;
}

.draft-banner a {
  color: var(--navy);
}

/* Header */
.site-header {
  background: var(--navy);
  color: var(--white);
}

.site-header a:focus-visible {
  outline-color: var(--yellow);
  box-shadow: 0 0 0 6px var(--navy-deep);
}

.header-inner {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 0.9rem 1.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1.5rem;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand:hover {
  text-decoration: none;
  opacity: 0.92;
}

.brand img.logo {
  height: 32px;
  width: auto;
  display: block;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.15rem;
}

.site-nav a {
  color: var(--pale);
  text-decoration: none;
  font-weight: 600;
  padding: 0.45rem 0;
  display: inline-block;
  min-height: 2.75rem;
  line-height: 1.85;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--white);
  text-decoration: underline;
  text-decoration-color: var(--yellow);
  text-decoration-thickness: 0.16em;
  text-underline-offset: 0.28em;
}

/* Hero */
.hero {
  background: var(--navy);
  color: var(--white);
  padding: 2.4rem 1.25rem 3.1rem;
}

.hero-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.hero h1 {
  margin: 0 0 0.85rem;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 750;
  color: var(--white);
}

.hero .lede {
  margin: 0 0 1.4rem;
  font-size: 1.2rem;
  line-height: 1.5;
  color: var(--pale);
  max-width: 36rem;
}

.coming-soon {
  display: inline-block;
  margin: 0;
  padding: 0.55rem 0.95rem;
  border: 2px solid var(--yellow);
  color: var(--navy);
  background: var(--yellow);
  font-weight: 700;
  letter-spacing: 0.02em;
  border-radius: 0.4rem;
}

.hero a:focus-visible,
.coming-soon:focus-visible {
  outline-color: var(--yellow);
  box-shadow: 0 0 0 6px var(--navy-deep);
}

/* Main layout */
main {
  display: block;
}

.section {
  padding: 2.4rem 1.25rem;
}

.section-inner,
.prose {
  max-width: var(--max);
  margin: 0 auto;
}

.section--wide .section-inner {
  max-width: var(--wide);
}

.section h2,
.prose h1,
.prose h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.45rem, 3vw, 1.85rem);
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: var(--navy);
}

.prose h1 {
  font-size: clamp(1.85rem, 4vw, 2.4rem);
  margin-bottom: 0.4rem;
}

.lead {
  font-size: 1.15rem;
  margin: 0 0 1.5rem;
}

.prose h2 {
  margin-top: 2.2rem;
  margin-bottom: 0.75rem;
}

.prose h3 {
  margin: 1.6rem 0 0.5rem;
  font-size: 1.15rem;
  color: var(--navy);
}

.prose p,
.prose ul,
.prose ol {
  margin: 0 0 1rem;
}

.prose ul,
.prose ol,
.plain-list {
  padding-left: 1.25rem;
}

.prose li + li,
.plain-list li + li {
  margin-top: 0.4rem;
}

.page-head {
  background: var(--navy);
  color: var(--white);
  padding: 2rem 1.25rem 2.3rem;
}

.page-head .section-inner,
.page-head .prose {
  max-width: var(--max);
  margin: 0 auto;
}

.page-head h1 {
  margin: 0 0 0.4rem;
  font-size: clamp(1.85rem, 4vw, 2.4rem);
  letter-spacing: -0.02em;
  color: var(--white);
}

.page-head p {
  margin: 0;
  color: var(--pale);
  font-size: 1.1rem;
}

.updated {
  margin-top: 0.75rem !important;
  font-size: 0.95rem;
  color: var(--pale);
}

/* Cards */
.card-grid {
  display: grid;
  gap: 1.15rem;
  grid-template-columns: 1fr;
}

@media (min-width: 720px) {
  .card-grid {
    grid-template-columns: 1fr 1fr;
  }

  .section--wide .section-inner {
    max-width: var(--wide);
  }

  .card-grid + .note,
  .section--wide .constrain {
    max-width: var(--max);
    margin-left: auto;
    margin-right: auto;
  }
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem 1.3rem 1.2rem;
  box-shadow: 0 1px 0 rgba(27, 42, 74, 0.04);
}

.card h3 {
  margin: 0 0 0.55rem;
  font-size: 1.2rem;
  color: var(--navy);
}

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

/* Steps */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: step;
}

.steps li {
  position: relative;
  padding: 0.35rem 0 1.15rem 3.1rem;
  border-left: 2px solid var(--line);
  margin-left: 0.95rem;
}

.steps li:last-child {
  border-left-color: transparent;
  padding-bottom: 0;
}

.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: -0.95rem;
  top: 0.15rem;
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-weight: 700;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.steps strong {
  display: block;
  color: var(--navy);
  margin-bottom: 0.15rem;
}

/* Callouts */
.callout {
  border-radius: var(--radius);
  padding: 1.15rem 1.2rem 1rem 1.2rem;
  border: 1px solid var(--line);
  background: var(--surface);
  margin: 1.25rem 0;
}

.callout > p:last-child,
.callout > ul:last-child {
  margin-bottom: 0;
}

.callout h2,
.callout h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.callout--info {
  border-color: #8aa4b8;
  border-left: 6px solid var(--info);
  background: #eef3f6;
}

.callout--info h2,
.callout--info h3 {
  color: var(--info);
}

.callout--notice {
  border-color: var(--yellow-deep);
  border-left: 6px solid var(--yellow-deep);
  background: #FFF6D6;
}

.callout--notice h2,
.callout--notice h3 {
  color: var(--navy);
}

/* Confirm placeholders — yellow background, navy text (not yellow on white) */
.confirm,
[data-confirm] {
  display: inline;
  background: var(--confirm-bg);
  color: var(--confirm-ink);
  font-weight: 700;
  padding: 0.05em 0.28em;
  border-radius: 0.2em;
  border: 1px solid var(--yellow-deep);
}

.confirm-block {
  background: #FFF6D6;
  color: var(--navy);
  border: 1px solid var(--yellow-deep);
  border-left: 6px solid var(--yellow);
  border-radius: var(--radius);
  padding: 0.9rem 1rem;
  margin: 0.9rem 0 1.1rem;
}

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

/* FAQ */
.faq {
  display: grid;
  gap: 0;
}

.faq-item {
  border-top: 1px solid var(--line);
  padding: 1.15rem 0;
}

.faq-item:last-child {
  border-bottom: 1px solid var(--line);
}

.faq-item h3 {
  margin: 0 0 0.4rem;
  font-size: 1.12rem;
}

.faq-item p:last-child,
.faq-item ul:last-child {
  margin-bottom: 0;
}

/* Disclaimer */
.disclaimer {
  display: grid;
  gap: 1rem;
  margin: 1rem 0 0;
}

.disclaimer article {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 6px solid var(--navy);
  border-radius: var(--radius);
  padding: 1.15rem 1.2rem 1rem;
}

.disclaimer h3 {
  margin: 0 0 0.45rem;
  font-size: 1.12rem;
}

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

/* Coverage list */
.coverage {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.coverage li {
  padding: 0.7rem 0;
  border-top: 1px solid var(--line);
}

.coverage li:last-child {
  border-bottom: 1px solid var(--line);
}

.coverage strong {
  display: block;
  color: var(--navy);
}

/* Footer */
.site-footer {
  background: var(--navy-deep);
  color: var(--pale);
  padding: 2rem 1.25rem 2.4rem;
  margin-top: 0.5rem;
}

.footer-inner {
  max-width: var(--wide);
  margin: 0 auto;
}

.site-footer a {
  color: var(--white);
}

.site-footer a:focus-visible {
  outline-color: var(--yellow);
  box-shadow: 0 0 0 6px var(--navy);
}

.footer-legal {
  margin: 0 0 0.85rem;
  padding: 0.85rem 1rem;
  background: rgba(255, 198, 41, 0.14);
  border: 1px solid var(--yellow);
  border-radius: var(--radius);
  color: var(--white);
  font-weight: 600;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.15rem;
  margin: 0 0 0.9rem;
}

.footer-meta {
  margin: 0;
  font-size: 0.95rem;
}

/* Utilities */
.muted {
  color: var(--muted);
}

.rule {
  height: 3px;
  width: 3.25rem;
  background: var(--yellow);
  border: 0;
  margin: 0 0 1.25rem;
}

.section-kicker {
  margin: 0 0 0.35rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
}

.contact-block {
  font-size: 1.15rem;
}

.contact-block a {
  font-weight: 700;
}

/* Dark mode: yellow may be used on navy, never as text on white */
@media (prefers-color-scheme: dark) {
  :root {
    --page: #121C33;
    --surface: #1B2A4A;
    --ink: #ffffff;
    --muted: #E8EDF6;
    --line: #3A4C73;
    --confirm-bg: #FFC629;
    --confirm-ink: #1B2A4A;
  }

  body {
    background: var(--page);
    color: var(--ink);
  }

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

  .card,
  .callout,
  .disclaimer article {
    background: var(--surface);
  }

  .callout--info {
    background: #102a3d;
    border-color: #3a6a8c;
  }

  .callout--info h2,
  .callout--info h3 {
    color: #d5e6f2;
  }

  .callout--notice,
  .confirm-block {
    background: #2A2410;
    border-color: var(--yellow);
    color: var(--white);
  }

  .callout--notice h2,
  .callout--notice h3 {
    color: var(--white);
  }

  .section h2,
  .prose h1,
  .prose h2,
  .prose h3,
  .card h3,
  .steps strong,
  .coverage strong {
    color: var(--white);
  }

  .confirm,
  [data-confirm] {
    background: var(--yellow);
    color: var(--navy);
    border-color: var(--yellow-deep);
  }
}
