/* Claim for a Parent — shared styles. No external fonts or assets. */

:root {
  --bg: #f6f3ee;
  --bg-alt: #efebe3;
  --fg: #1c1917;
  --muted: #3f3a35;
  --link: #0b4a82;
  --link-hover: #083560;
  --link-visited: #5a2f73;
  --border: #cfc8bc;
  --accent: #1f3d36;
  --accent-soft: #e4efe9;
  --focus: #0b4a82;
  --max: 45rem;
  --side: 1.25rem;
}

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

html {
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: Georgia, "Palatino Linotype", Palatino, "Times New Roman", serif;
  font-size: 1.125rem; /* 18px */
  line-height: 1.65;
}

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

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

a:visited {
  color: var(--link-visited);
}

a:hover,
a:focus-visible {
  color: var(--link-hover);
}

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

.skip-link {
  position: absolute;
  left: var(--side);
  top: -3.5rem;
  z-index: 10;
  background: var(--fg);
  color: var(--bg);
  padding: 0.5rem 0.8rem;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 1rem;
  text-decoration: none;
}

.skip-link:focus {
  top: 0.5rem;
  color: var(--bg);
}

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

.header-inner,
.footer-inner,
.wrap {
  width: min(var(--max), calc(100% - 2 * var(--side)));
  margin-inline: auto;
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  padding: 0.9rem 0;
}

.logo {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-weight: 650;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  color: var(--accent);
  text-decoration: none;
  line-height: 1.2;
}

.logo:visited {
  color: var(--accent);
}

.logo:hover,
.logo:focus-visible {
  color: var(--link-hover);
}

.nav-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 0.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 1rem;
}

.nav-list a {
  display: inline-block;
  padding: 0.55rem 0.7rem;
  text-decoration: none;
  color: var(--fg);
  min-height: 2.75rem;
  line-height: 1.65;
}

.nav-list a:visited {
  color: var(--fg);
}

.nav-list a:hover,
.nav-list a:focus-visible {
  color: var(--link-hover);
  text-decoration: underline;
}

.nav-list a[aria-current="page"] {
  color: var(--accent);
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

main {
  padding: 2rem 0 3rem;
}

.wrap > :first-child {
  margin-top: 0;
}

h1, h2, h3 {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: 1.25;
  font-weight: 700;
  color: var(--fg);
}

h1 {
  font-size: 2rem;
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 1.4rem;
  margin: 2.25rem 0 0.7rem;
}

h3 {
  font-size: 1.15rem;
  margin: 1.5rem 0 0.45rem;
}

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

ul, ol {
  padding-left: 1.3rem;
}

li {
  margin: 0 0 0.35rem;
}

li > ul,
li > ol {
  margin-top: 0.35rem;
}

.lede,
.promise {
  font-size: 1.2rem;
  line-height: 1.5;
}

.note,
.independence,
.bio,
.byline,
.date,
.footer-note,
.source-note {
  color: var(--muted);
}

.byline {
  margin: 0 0 0.15rem;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 1rem;
  font-weight: 650;
  color: var(--fg);
}

.bio,
.date {
  font-size: 1rem;
  margin-bottom: 0.4rem;
}

.date {
  margin-bottom: 1.25rem;
}

.independence {
  padding: 0.85rem 1rem;
  background: var(--bg-alt);
  border-left: 4px solid var(--accent);
  margin: 0 0 1.25rem;
}

.cta {
  display: block;
  width: fit-content;
  max-width: 100%;
  margin: 1.25rem 0 1.75rem;
  padding: 0.85rem 1.15rem;
  background: var(--accent);
  color: #f7faf8;
  text-decoration: none;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-weight: 650;
  font-size: 1.05rem;
  line-height: 1.35;
  border-radius: 2px;
}

.cta:visited,
.cta:hover,
.cta:focus-visible {
  color: #ffffff;
}

.cta:hover,
.cta:focus-visible {
  background: #162e29;
}

.panel {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  padding: 1rem 1.15rem 0.7rem;
  margin: 1.5rem 0;
}

.panel h2 {
  margin-top: 0;
}

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

.coming-soon li {
  padding-left: 0;
}

.coming-soon li::before {
  content: none;
}

.badge {
  display: inline-block;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 0.8rem;
  font-weight: 650;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--accent);
  margin-right: 0.4rem;
}

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

.checklist li {
  position: relative;
  padding-left: 1.7rem;
  margin-bottom: 0.5rem;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35rem;
  width: 0.9rem;
  height: 0.9rem;
  border: 2px solid var(--accent);
  background: #fff;
}

.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg-alt);
  padding: 1.5rem 0 2rem;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 0.95rem;
  line-height: 1.5;
}

.footer-note {
  margin-bottom: 0.6rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1rem;
  margin: 0 0 0.6rem;
}

.copyright {
  margin: 0;
  color: var(--muted);
}

/* 404 */
.not-found h1 {
  font-size: 1.8rem;
}

@media (min-width: 640px) {
  h1 {
    font-size: 2.25rem;
  }
}

@media print {
  .skip-link,
  .site-header,
  .site-footer,
  .cta {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
    font-size: 12pt;
  }

  a {
    color: #000;
  }

  a[href^="http"]::after {
    content: " (" attr(href) ")";
    font-size: 0.85em;
    word-break: break-all;
  }

  .independence {
    border: 1px solid #000;
    background: none;
  }

  .checklist li::before {
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }
}
