/* AI Helper — shared site styles.
   Clean white, simple, Muse-app-like. No external fonts, no images,
   nothing loaded from anywhere else. High contrast, screen-reader
   friendly, generous spacing. */

:root {
  --text: #1c1c1e;
  --muted: #4a4a52;
  --accent: #9a3f16;
  --accent-dark: #7c3211;
  --surface: #ffffff;
  --surface-soft: #f6f4f1;
  --border: #ddd6cf;
  --focus: #005fcc;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--surface);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  font-size: 1.125rem;
  line-height: 1.65;
}

/* Skip link — first thing a screen reader or keyboard user meets. */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--text);
  color: #ffffff;
  padding: 0.6rem 1.1rem;
  border-radius: 0 0 999px 0;
  z-index: 10;
}

.skip-link:focus {
  left: 0;
}

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

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

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

/* Header */

.site-header {
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: 46rem;
  margin: 0 auto;
  padding: 1rem 1.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
}

.wordmark {
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text);
  text-decoration: none;
  margin-right: auto;
}

.wordmark:hover {
  color: var(--text);
}

nav.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* Small pill-shaped buttons/links, per the approved design taste. */
.pill {
  display: inline-block;
  padding: 0.4rem 1.05rem;
  border: 1.5px solid var(--accent-dark);
  border-radius: 999px;
  color: var(--accent-dark);
  background: var(--surface);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
}

.pill:hover {
  background: var(--surface-soft);
  color: var(--accent-dark);
}

.pill[aria-current="page"] {
  background: var(--accent-dark);
  color: #ffffff;
}

/* Main content */

main {
  max-width: 46rem;
  margin: 0 auto;
  padding: 2rem 1.25rem 3rem;
}

h1 {
  font-size: 2.4rem;
  line-height: 1.15;
  margin: 0.5rem 0 0.75rem;
  letter-spacing: -0.01em;
}

h2 {
  font-size: 1.5rem;
  line-height: 1.3;
  margin: 2.4rem 0 0.8rem;
}

h3 {
  font-size: 1.2rem;
  margin: 1.6rem 0 0.5rem;
}

p {
  margin: 0.8rem 0;
}

ul,
ol {
  margin: 0.8rem 0;
  padding-left: 1.5rem;
}

li {
  margin: 0.45rem 0;
}

.tagline {
  font-size: 1.35rem;
  line-height: 1.45;
  color: var(--accent-dark);
  font-weight: 600;
  margin: 0.5rem 0 1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.heartbeat {
  flex: none;
}

.heartbeat polyline {
  stroke: var(--accent);
  stroke-width: 2.5;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (prefers-reduced-motion: no-preference) {
  .heartbeat {
    animation: pulse 1.6s ease-in-out infinite;
    transform-origin: center;
  }

  @keyframes pulse {
    0%, 100% { transform: scale(1); }
    12% { transform: scale(1.18); }
    24% { transform: scale(1); }
  }
}

.status-note {
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
}

.example {
  color: var(--muted);
  font-style: italic;
}

.check-list {
  list-style: none;
  padding-left: 0;
}

.check-list li {
  padding: 1rem 1.25rem;
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: 1rem;
  margin: 0.75rem 0;
}

.check-list h3 {
  margin-top: 0;
}

.check-list p {
  margin: 0.4rem 0;
}

.effective-date,
.doc-note {
  color: var(--muted);
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--border);
  background: var(--surface-soft);
}

.footer-inner {
  max-width: 46rem;
  margin: 0 auto;
  padding: 1.75rem 1.25rem 2.25rem;
}

.site-footer p {
  margin: 0.5rem 0;
}

nav.footer-nav ul {
  list-style: none;
  margin: 0.75rem 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

@media (max-width: 34rem) {
  body {
    font-size: 1.0625rem;
  }

  h1 {
    font-size: 2rem;
  }

  .tagline {
    font-size: 1.2rem;
  }
}
