:root {
  /* TheWay brand: warm white, ink, Ferris Gold */
  --bg: #fffdf9;
  --surface: #ffffff;
  --soft: #f7f3ea;
  --text: #151a24;
  --muted: #5e5a52;
  --accent: #8F6B00;      /* gold for text and links, 4.8:1 on --bg */
  --btn: #FFD043;         /* Ferris Gold buttons */
  --btn-hover: #FFDC70;
  --btn-ink: #1a1205;
  --accent-soft: #f7f3ea;
  --border: #ddd6c8;
  --warn-bg: #fdf3ef;
  --warn-border: #e2b4a6;
  --radius: 16px;
  --measure: 44rem;
  --font: "Satoshi", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --serif: "Cabinet Grotesk", ui-sans-serif, system-ui, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.65 var(--font); }
a { color: var(--accent); text-underline-offset: 2px; }
img { max-width: 100%; height: auto; }
.wrap { max-width: 72rem; margin: 0 auto; padding: 0 16px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 8px; background: var(--surface); padding: 8px 12px; z-index: 10; }

.site-header { background: var(--surface); border-bottom: 1px solid var(--border); }
.header-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; padding-top: 14px; padding-bottom: 14px; }
.brand { font-family: var(--serif); font-size: 1.35rem; font-weight: 800; color: var(--text); text-decoration: none; }
.brand span { color: var(--accent); }
.main-nav { display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: .95rem; }
.main-nav a { color: var(--muted); text-decoration: none; padding: 4px 0; }
.main-nav a[aria-current] , .main-nav a:hover { color: var(--accent); }
.main-nav a { font-weight: 600; }

main { padding-top: 28px; padding-bottom: 56px; }
main.article > * { max-width: var(--measure); }
main.article > .centers, main.article > .link-grid, main.article > .cards { max-width: none; }
h1, h2, h3 { font-family: var(--serif); line-height: 1.12; font-weight: 800; letter-spacing: -0.01em; }
h1 { font-size: clamp(1.9rem, 4.5vw, 2.6rem); margin: .2em 0 .4em; }
h2 { font-size: 1.45rem; margin: 2em 0 .5em; }
h3 { font-size: 1.15rem; margin: 1.5em 0 .4em; }
.lede { font-size: 1.15rem; color: var(--muted); }
.page-meta, .small { font-size: .85rem; color: var(--muted); }

.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; padding: 0; margin: 0 0 8px; font-size: .85rem; color: var(--muted); }
.crumbs li + li::before { content: "›"; margin-right: 4px; }
.crumbs a { color: var(--muted); }

.btn { display: inline-block; background: var(--btn); color: var(--btn-ink); padding: 13px 24px; border-radius: 999px; text-decoration: none; font-weight: 700; border: 1.5px solid transparent; min-height: 44px; }
.btn:hover { background: var(--btn-hover); }
.btn.ghost { background: transparent; color: var(--text); border-color: #c9c2b4; }
.btn.ghost:hover { border-color: var(--accent); color: var(--accent); }

.notice { background: var(--accent-soft); border-radius: var(--radius); padding: 4px 18px; margin: 20px 0; }
.caution { background: var(--warn-bg); border-left: 4px solid var(--warn-border); border-radius: 8px; padding: 6px 18px; margin: 20px 0; }
.contested { border: 1px dashed var(--border); border-radius: var(--radius); padding: 6px 18px; margin: 20px 0; background: var(--surface); }
.contested > p:first-child { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 0; }

.help-cta { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 22px; margin: 36px 0; }
.help-cta__title { font-family: var(--serif); font-size: 1.25rem; font-weight: 600; margin: 0 0 4px; }

.link-grid { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr)); gap: 10px; }
.link-grid a { display: block; background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 10px 14px; text-decoration: none; }
.link-grid a:hover { border-color: var(--accent); }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 14px; margin: 18px 0; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 20px; }
.card h3 { margin-top: .2em; }
.card p { margin: .4em 0; color: var(--muted); }

.checks { padding-left: 0; list-style: none; }
.checks li { padding-left: 1.6em; position: relative; margin: .5em 0; }
.checks li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }

.centers { display: grid; grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); gap: 14px; }
.center { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 20px; }
.center h3 { margin-top: 0; }
.center .services { padding-left: 1.1em; font-size: .95rem; color: var(--muted); }
.center .addr { color: var(--muted); margin: 0; }
.placeholder-flag { font-size: .8rem; background: var(--warn-bg); border: 1px solid var(--warn-border); border-radius: 6px; padding: 2px 8px; display: inline-block; margin: 0 0 6px; }
.empty { color: var(--muted); }

table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: .95rem; display: block; overflow-x: auto; }
th, td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--border); }
th { background: var(--soft); font-weight: 600; }

.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; margin: 8px 0; padding: 0 16px; }
.faq summary { cursor: pointer; padding: 12px 0; font-weight: 600; }
.faq details > div { padding-bottom: 12px; }

.refs { font-size: .9rem; color: var(--muted); padding-left: 1.2em; }
.refs li { margin: .4em 0; }

.hero { padding: 24px 0 8px; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0; }

.stub { border: 2px dashed var(--warn-border); background: var(--warn-bg); border-radius: var(--radius); padding: 6px 18px; }

.site-footer { background: var(--surface); border-top: 1px solid var(--border); padding: 28px 0; font-size: .92rem; color: var(--muted); }
.site-footer .urgent { color: var(--text); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 12px 0; }

.sub-nav { display: flex; flex-wrap: wrap; gap: 4px 20px; padding-top: 10px; padding-bottom: 12px; border-top: 1px solid var(--border); font-size: .92rem; }
.sub-nav a { color: var(--muted); text-decoration: none; }
.sub-nav a[aria-current], .sub-nav a:hover { color: var(--accent); }
.eyebrow { font-size: .74rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); margin: 0; }
.notice { border: 1px solid var(--border); }
.contested { border: 1px solid var(--border); border-left: 4px solid var(--btn); }
.cards.topics .card { border-width: 1.5px; }
.lead-form { background: var(--soft); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 22px; margin: 32px 0; }
.lead-form h2 { margin-top: 0; }
.lead-form .fields { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); margin: 12px 0 16px; }
.lead-form label { display: grid; gap: 4px; font-weight: 600; font-size: .95rem; }
.lead-form input { font: inherit; padding: 11px 13px; border: 1.5px solid var(--border); border-radius: 10px; background: var(--surface); color: var(--text); min-height: 44px; }
.lead-form input:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.lead-form .consent { font-size: .82rem; color: var(--muted); margin-top: 12px; }
.lead-form .form-msg { font-weight: 600; color: #9a3412; min-height: 1em; }
.lead-form .downloads span { color: var(--muted); font-size: .9rem; }
.lead-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
