:root {
  --paper: #FBF8F3;
  --paper-alt: #F3EDE3;
  --card: #FFFDF9;
  --ink: #1C2B3A;
  --ink-strong: #142230;
  --muted: #53636F;
  --teal: #0C7F69;
  --teal-dark: #0A6252;
  --teal-ink: #0A6B57;
  --teal-tint: #E2F0EA;
  --line: #E3DACB;
  --line-soft: #ECE5D8;
  --serif: Georgia, "Times New Roman", Times, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --wrap: 1060px;
  --narrow: 760px;
  --radius: 10px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-text-size-adjust: 100%;
}

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 1.25rem; }
.wrap.narrow { max-width: var(--narrow); }

a { color: var(--teal-ink); }
img { max-width: 100%; height: auto; }

:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 2px; }

h1, h2, h3 {
  font-family: var(--serif);
  color: var(--ink-strong);
  line-height: 1.2;
  margin: 0;
  overflow-wrap: break-word;
}
p { overflow-wrap: break-word; margin: 0; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink-strong); color: #fff;
  padding: 0.75rem 1.25rem; z-index: 10; text-decoration: none;
}
.skip-link:focus { left: 0.75rem; top: 0.75rem; }

/* Header */
.site-header {
  background: rgba(251, 248, 243, 0.96);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 5;
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: 64px; padding-top: 0.6rem; padding-bottom: 0.6rem;
  flex-wrap: wrap;
}
.brand {
  display: inline-flex; align-items: center; gap: 0.55rem;
  text-decoration: none; color: var(--ink-strong);
  font-family: var(--serif); font-weight: 700; font-size: 1.3rem; letter-spacing: 0.01em;
}
.brand-mark { width: 26px; height: 26px; border-radius: 6px; background: var(--ink-strong); position: relative; flex: none; }
.brand-mark::after {
  content: ""; position: absolute; inset: 0; margin: auto;
  width: 10px; height: 10px; border-radius: 2px; background: var(--teal);
  transform: rotate(45deg);
}
.site-nav ul { list-style: none; display: flex; gap: 0.25rem; margin: 0; padding: 0; }
.site-nav a {
  display: inline-flex; align-items: center; min-height: 48px;
  padding: 0.55rem 0.85rem; color: var(--ink);
  text-decoration: none; font-weight: 600; font-size: 0.98rem; border-radius: 6px;
}
.site-nav a:hover { color: var(--teal-ink); background: var(--teal-tint); }

/* Hero */
.hero { padding: 3.25rem 0 3rem; border-bottom: 1px solid var(--line-soft); }
.hero .wrap { max-width: 860px; }
.kicker {
  display: inline-block; font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal-ink);
  border: 1px solid #BFD9CD; background: var(--teal-tint);
  border-radius: 999px; padding: 0.3rem 0.8rem; margin-bottom: 1.1rem;
}
.hero h1 { font-size: clamp(1.9rem, 4.5vw, 2.9rem); margin-bottom: 1rem; }
.hero .lead { font-family: var(--serif); font-size: 1.25rem; color: var(--ink-strong); max-width: 42em; margin-bottom: 0.9rem; }
.hero .support { color: var(--muted); max-width: 46em; margin-bottom: 1.6rem; }
.btn {
  display: inline-block; background: var(--teal); color: #fff; text-decoration: none;
  font-weight: 700; padding: 0.85rem 1.5rem; border-radius: 8px; min-height: 48px;
}
.btn:hover { background: var(--teal-dark); }

/* Sections */
section { scroll-margin-top: 84px; }
.section { padding: 3.25rem 0; }
.section-alt { background: var(--paper-alt); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.section h2 { font-size: clamp(1.45rem, 3vw, 2rem); margin-bottom: 0.75rem; }
.section .intro { color: var(--muted); max-width: 46em; margin-bottom: 1.5rem; }
.coverage p { color: var(--ink); max-width: 58em; margin-bottom: 1rem; }
.coverage .subhead {
  font-size: 1.2rem; margin: 1.5rem 0 0.5rem; color: var(--ink-strong);
}
.coverage h3.subhead:first-of-type { margin-top: 1rem; }

/* Search toolbar */
.toolbar {
  display: flex; align-items: end; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem;
}
.search-box { flex: 1 1 280px; max-width: 480px; }
.search-box label {
  display: block; font-size: 0.85rem; font-weight: 700; color: var(--muted);
  margin-bottom: 0.35rem;
}
.search-box input {
  width: 100%; font: inherit; color: var(--ink); background: var(--card);
  border: 1px solid var(--line); border-radius: 8px; padding: 0.65rem 0.9rem; min-height: 48px;
}
.search-box input:focus { border-color: var(--teal); }
.result-count { color: var(--muted); font-size: 0.9rem; margin: 0 0 0.6rem; }
.noscript-note { color: var(--muted); font-size: 0.95rem; margin: 0 0 1.25rem; }

.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0 0 1.75rem; }
.chip {
  display: inline-block; text-decoration: none; color: var(--teal-ink);
  background: var(--card); border: 1px solid #C4DCCF; border-radius: 999px;
  padding: 0.45rem 0.9rem; font-size: 0.9rem; font-weight: 600; min-height: 48px;
}
.chip:hover { background: var(--teal-tint); }
.chip-kind { color: var(--muted); font-weight: 500; }

.no-results {
  background: var(--paper-alt); border: 1px dashed var(--line); border-radius: var(--radius);
  padding: 1.25rem 1.5rem; color: var(--muted); margin-top: 1rem;
}

/* Cards */
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.5rem 1.5rem 1.35rem; display: flex; flex-direction: column; gap: 0.85rem;
}
.card h3 { font-size: 1.25rem; }
.card h3 a {
  color: var(--ink-strong); text-decoration: underline; text-decoration-color: var(--teal);
  text-decoration-thickness: 2px; text-underline-offset: 4px;
}
.card h3 a:hover { color: var(--teal-ink); }
.badge {
  align-self: flex-start; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--teal-ink); background: var(--teal-tint);
  border: 1px solid #C4DCCF; border-radius: 999px; padding: 0.25rem 0.7rem;
}
.card .desc { color: var(--ink); }
.card-meta { color: var(--ink); font-size: 0.98rem; }
.card-meta .label {
  display: block; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 0.1rem;
}
.card-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; border-top: 1px dashed var(--line); padding-top: 0.8rem; }
.card-more { font-size: 0.92rem; }
.card-more a { font-weight: 600; }
.tag {
  font-size: 0.8rem; color: var(--teal-ink); background: var(--teal-tint);
  border-radius: 6px; padding: 0.2rem 0.55rem;
}
.tag-collection { color: #274056; background: #E7ECF1; }
.catalog-line { color: var(--muted); font-size: 1.02rem; margin-top: -0.75rem; }

/* Start here */
.steps {
  counter-reset: step; list-style: none; margin: 0 0 2.25rem; padding: 0;
  display: grid; gap: 1.1rem; max-width: 760px;
}
.steps li { position: relative; padding-left: 3.4rem; }
.steps li::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 0; top: 0.05rem; width: 2.2rem; height: 2.2rem;
  border-radius: 50%; background: var(--teal); color: #fff;
  font-family: var(--serif); font-weight: 700; font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
}
.steps strong { display: block; font-family: var(--serif); font-size: 1.15rem; color: var(--ink-strong); margin-bottom: 0.15rem; }
.steps p { color: var(--muted); }

.feature {
  background: var(--card); border: 1px solid var(--line); border-left: 5px solid var(--teal);
  border-radius: var(--radius); padding: 1.6rem 1.6rem 1.45rem; max-width: 760px;
}
.feature h3 { font-size: 1.35rem; margin-bottom: 0.6rem; }
.feature p { color: var(--ink); margin-bottom: 1rem; }
.feature .note { display: inline-block; font-size: 0.85rem; color: var(--muted); margin-top: 0.65rem; }
.feature a {
  display: inline-block; font-weight: 700; text-decoration: none; border: 2px solid var(--teal);
  color: var(--teal-ink); border-radius: 8px; padding: 0.6rem 1.15rem; min-height: 48px;
}
.feature a:hover { background: var(--teal-tint); }

/* FAQ */
.faq-list { max-width: 760px; }
.faq-list .qa { border-bottom: 1px solid var(--line); padding: 1.15rem 0; }
.faq-list .qa:first-child { border-top: 1px solid var(--line); }
.faq-list h3 { font-size: 1.15rem; margin-bottom: 0.4rem; }
.faq-list p { color: var(--muted); }

/* Listing detail */
.detail h1 { font-size: clamp(1.7rem, 4vw, 2.4rem); margin: 0.8rem 0 0.6rem; }
.detail .lead { font-family: var(--serif); font-size: 1.15rem; color: var(--ink-strong); margin-bottom: 0.8rem; }
.breadcrumb ol { list-style: none; margin: 0 0 1.25rem; padding: 0; display: flex; flex-wrap: wrap; gap: 0.4rem; font-size: 0.88rem; color: var(--muted); }
.breadcrumb li + li::before { content: "/"; margin-right: 0.45rem; color: var(--line); }
.breadcrumb a { color: var(--teal-ink); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.detail-list { margin: 1.5rem 0; border-top: 1px solid var(--line); }
.detail-list dt {
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--muted); padding-top: 1rem;
}
.detail-list dd { margin: 0.15rem 0 0; padding-bottom: 1rem; border-bottom: 1px solid var(--line); color: var(--ink); }
.prose p { margin-bottom: 1rem; }
.prose h2 { font-size: 1.35rem; margin: 1.75rem 0 0.75rem; }
.cta-row { margin-top: 1.5rem; }
.source-note { font-size: 0.9rem; color: var(--muted); margin-top: 0.8rem; }

/* Footer */
.site-footer { background: var(--ink-strong); color: #D8DFE5; padding: 2.75rem 0; margin-top: 1rem; }
.site-footer .brand { color: #fff; margin-bottom: 1rem; }
.site-footer .disclaimer { max-width: 52em; font-size: 0.95rem; color: #B9C4CC; line-height: 1.7; }

/* Responsive */
@media (max-width: 720px) {
  .cards { grid-template-columns: minmax(0, 1fr); }
  .hero { padding: 2.5rem 0 2.25rem; }
  .section { padding: 2.5rem 0; }
  .site-header .wrap { justify-content: center; }
  .toolbar { align-items: stretch; }
  .search-box { max-width: none; }
}
