:root {
  --cream: #f6f3ec;
  --paper: #fffdf8;
  --ink: #17352c;
  --muted: #63716b;
  --green: #245443;
  --green-2: #386d59;
  --sage: #e7eee9;
  --sage-2: #d9e6df;
  --line: #d5dfd9;
  --gold: #b78a4b;
  --gold-pale: #f5ead8;
  --danger: #8e4048;
  --dark: #102b23;
  --shadow: 0 18px 60px rgba(23, 53, 44, 0.08);
  --radius: 20px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 16px/1.65 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
body.nav-open { overflow: hidden; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
img, svg { max-width: 100%; }

.skip-link {
  position: fixed;
  left: 12px;
  top: -80px;
  z-index: 1000;
  background: #fff;
  color: var(--ink);
  padding: 10px 14px;
  border-radius: 10px;
  box-shadow: var(--shadow);
}
.skip-link:focus { top: 12px; }

.container { width: min(1160px, calc(100% - 40px)); margin: auto; }
.narrow { width: min(790px, 100%); margin: auto; }
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.announcement {
  background: var(--dark);
  color: #fff;
  text-align: center;
  padding: 9px 16px;
  font-size: 13px;
}
.announcement a { font-weight: 800; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 243, 236, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav {
  min-height: 74px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 900;
  letter-spacing: -0.02em;
}
.mark {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: var(--green);
  color: #fff;
  display: grid;
  place-items: center;
  font: 700 13px Georgia, serif;
}
.desktop-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 14px;
}
.desktop-nav a { text-decoration: none; }
.desktop-nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.desktop-nav .join {
  padding: 10px 15px;
  border: 1px solid var(--green);
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
}
.mobile-menu-button {
  display: none;
  margin-left: auto;
  min-width: 44px;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  font-weight: 850;
  cursor: pointer;
}
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(16, 43, 35, 0.94);
  padding: 96px 24px 28px;
}
.mobile-nav[hidden] { display: none !important; }
.mobile-nav-panel {
  width: min(520px, 100%);
  margin: auto;
  background: var(--paper);
  border-radius: 24px;
  padding: 20px;
  box-shadow: var(--shadow);
}
.mobile-nav a {
  display: block;
  padding: 14px 12px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  font-weight: 800;
}
.mobile-nav a:last-child { border-bottom: 0; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 11px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  text-decoration: none;
  font-weight: 850;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.button:hover { transform: translateY(-1px); }
.button.primary { background: var(--green); border-color: var(--green); color: #fff; }
.button.primary:hover { background: #1f493b; }
.button.dark { background: var(--dark); border-color: var(--dark); color: #fff; }
.button.danger { background: var(--danger); border-color: var(--danger); color: #fff; }
.button.full { width: 100%; }
.button[disabled] { opacity: 0.65; cursor: wait; transform: none; }

:focus-visible {
  outline: 3px solid rgba(183, 138, 75, 0.55);
  outline-offset: 3px;
}

.hero {
  padding: 82px 0 70px;
  background:
    radial-gradient(circle at 82% 5%, #dce9df 0, transparent 33%),
    linear-gradient(180deg, #fffdf8 0, #eef3ef 100%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 58px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 11px;
  font-weight: 900;
  color: var(--green-2);
}
h1, h2, h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.025em;
}
h1 { font-size: clamp(3.25rem, 7vw, 6rem); margin: 16px 0 22px; }
h2 { font-size: clamp(2.05rem, 4vw, 3.35rem); margin: 12px 0 18px; }
h3 { font-size: 1.45rem; margin: 5px 0 10px; }
p { color: var(--muted); }
.lede { font-size: 1.18rem; max-width: 680px; }
.actions { display: flex; gap: 10px; flex-wrap: wrap; margin: 26px 0; }
.trust-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 22px; }
.chip {
  padding: 7px 10px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 12px;
  font-weight: 750;
}
.finder, .form-box, .filter-panel, .empty, .profile-demo {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
}
.finder { padding: 26px; }
.finder h2 { font-size: 2rem; }
.field { margin-top: 14px; }
.field label {
  display: block;
  font-size: 12px;
  font-weight: 850;
  margin: 0 0 6px;
}
.field select, .field input, .field textarea {
  width: 100%;
  padding: 12px 13px;
  border: 1px solid #c7d3cd;
  border-radius: 11px;
  background: #fff;
  color: var(--ink);
}
.field textarea { min-height: 105px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
.fine { font-size: 12px; color: var(--muted); }

.proofbar { background: #fff; border-block: 1px solid var(--line); }
.proofgrid { display: grid; grid-template-columns: repeat(4, 1fr); }
.proof { padding: 25px 24px; border-right: 1px solid var(--line); }
.proof:last-child { border-right: 0; }
.proof strong { display: block; font-family: Georgia, serif; font-size: 1.25rem; font-weight: 500; }
.proof span { font-size: 12px; color: var(--muted); }

.section { padding: 78px 0; }
.section.soft { background: var(--sage); }
.section.dark { background: var(--dark); color: #fff; }
.section.dark p { color: #c6d6cf; }
.section-head { max-width: 760px; margin-bottom: 30px; }
.section-head p { font-size: 1.05rem; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 23px;
}
.card p:last-child { margin-bottom: 0; }
.num {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--sage);
  font-weight: 900;
  font-size: 12px;
}
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { position: relative; padding: 9px 0 9px 30px; color: var(--muted); }
.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 9px;
  width: 20px;
  height: 20px;
  background: #dff0e7;
  color: #1e654a;
  border-radius: 50%;
  font-size: 12px;
  display: grid;
  place-items: center;
  font-weight: 900;
}
.darkbox { background: #173d31; border: 1px solid #31574b; border-radius: 22px; padding: 26px; }
.dark .button { background: #fff; }
.dark .button.primary { background: #e8d6b9; color: #17352c; border-color: #e8d6b9; }

.profile-demo {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 24px;
  padding: 26px;
}
.avatar {
  min-height: 245px;
  border-radius: 18px;
  background: linear-gradient(145deg, #dce8e1, #f1e8d9);
  display: grid;
  place-items: center;
}
.avatar-mark {
  width: 86px;
  height: 86px;
  border-radius: 50%;
  background: var(--green);
  display: grid;
  place-items: center;
  color: #fff;
  font: 500 34px Georgia;
}
.badge {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  padding: 5px 9px;
  border-radius: 999px;
  background: #e5f2ea;
  color: #1c6248;
  font-size: 11px;
  font-weight: 900;
}
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 18px 0; }
.fact { padding: 11px; border-radius: 12px; background: var(--sage); font-size: 12px; }
.fact b { display: block; color: var(--ink); }
.preview-note { font-size: 12px; background: #f8f1e4; border-left: 3px solid var(--gold); padding: 10px 12px; color: #705c3b; }

.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.step { padding: 20px 15px; background: #fff; border: 1px solid var(--line); border-radius: 15px; }
.step b { display: block; margin-top: 8px; }
.step small { color: var(--muted); }

.topics { display: grid; grid-template-columns: repeat(2, 1fr); gap: 13px; }
.topic { background: var(--paper); border: 1px solid var(--line); border-radius: 15px; padding: 18px; text-decoration: none; }
.topic:hover { border-color: var(--green); }
.topic b { font-family: Georgia, serif; font-size: 1.25rem; }
.topic span { display: block; color: var(--muted); margin-top: 4px; font-size: 13px; }

.page-hero { padding: 62px 0 48px; background: linear-gradient(#fffdf8, #edf3ef); }
.page-hero h1 { font-size: clamp(2.8rem, 5.5vw, 4.6rem); max-width: 920px; }
.breadcrumbs { font-size: 12px; color: var(--muted); margin-bottom: 12px; }
.breadcrumbs a { text-underline-offset: 3px; }

.directory-layout { display: grid; grid-template-columns: 330px 1fr; gap: 24px; }
.filter-panel { padding: 20px; align-self: start; position: sticky; top: 96px; }
.results { min-height: 470px; }
.empty { padding: 30px; }
.empty .icon { width: 48px; height: 48px; border-radius: 14px; background: var(--sage); display: grid; place-items: center; font-size: 20px; }
.result-anatomy { margin-top: 22px; border-top: 1px solid var(--line); padding-top: 18px; }
.mini-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.mini { background: var(--sage); padding: 11px; border-radius: 10px; font-size: 12px; }
.availability-form { margin-top: 24px; background: #f9fbf9; border: 1px solid var(--line); border-radius: 16px; padding: 18px; }

.article { padding: 58px 0; }
.article .meta { display: flex; gap: 14px; flex-wrap: wrap; border-bottom: 1px solid var(--line); padding-bottom: 15px; color: var(--muted); font-size: 12px; }
.article h2 { font-size: 2rem; margin-top: 38px; }
.research { background: var(--sage); border: 1px solid var(--line); border-radius: 16px; padding: 18px; margin: 25px 0; }
.sourcebox { margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--line); }
.callout { background: var(--gold-pale); border: 1px solid #e5d2b1; border-radius: 16px; padding: 18px; }
.standards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }

.form-box { padding: 24px; }
.form-status {
  display: none;
  margin-top: 14px;
  padding: 13px 14px;
  border-radius: 12px;
  font-size: 13px;
}
.form-status.visible { display: block; }
.form-status.success { background: #dff0e7; color: #1b5b42; }
.form-status.error { background: #fae8e9; color: #7b3339; }
.form-status.info { background: #eef3ef; color: #40584f; }
.honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.notice { padding: 14px 16px; border-radius: 12px; background: var(--sage); font-size: 13px; color: var(--muted); }

.crisis-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.crisis-card { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 22px; }
.crisis-card.urgent { border-color: #e0b5b9; background: #fff8f8; }
.crisis-number { font-family: Georgia, serif; font-size: 2.4rem; margin: 8px 0; color: var(--ink); }

.faq { border-top: 1px solid var(--line); }
.faq details { padding: 17px 0; border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 850; }

.footer { padding: 52px 0 26px; background: #eae8e1; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 2fr repeat(4, 1fr); gap: 30px; }
.footer-col { display: flex; flex-direction: column; gap: 8px; }
.footer-col b { font-size: 13px; }
.footer-col a { font-size: 13px; color: var(--muted); text-decoration: none; }
.footer-col a:hover { text-decoration: underline; }
.footer-bottom { display: flex; justify-content: space-between; gap: 24px; margin-top: 40px; padding-top: 20px; border-top: 1px solid #d2d4cd; font-size: 12px; color: var(--muted); }
.status { display: inline-block; padding: 4px 8px; border-radius: 999px; background: #f4ead7; color: #6d5735; font-size: 11px; font-weight: 900; }

@media (max-width: 900px) {
  .desktop-nav { display: none; }
  .mobile-menu-button { display: inline-flex; align-items: center; justify-content: center; }
  .mobile-nav:not([hidden]) { display: block; }
  .hero-grid, .split, .profile-demo, .directory-layout { grid-template-columns: 1fr; }
  .grid3, .steps { grid-template-columns: repeat(2, 1fr); }
  .proofgrid { grid-template-columns: repeat(2, 1fr); }
  .proof:nth-child(2) { border-right: 0; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .filter-panel { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .crisis-grid { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .container { width: min(100% - 28px, 1160px); }
  .announcement { font-size: 12px; }
  .hero { padding-top: 54px; }
  h1 { font-size: 3.15rem; }
  .grid3, .grid2, .topics, .steps, .standards, .field-row, .proofgrid, .footer-grid, .mini-grid { grid-template-columns: 1fr; }
  .proof { border-right: 0; border-bottom: 1px solid var(--line); }
  .proof:last-child { border-bottom: 0; }
  .footer-bottom { flex-direction: column; }
  .brand span:last-child { font-size: 15px; }
  .actions .button { width: 100%; }
}
