/* ============================================================
   Same Ground — public site
   Editorial · warm · dignified · calm
   Dependency-free. No external fonts. Local assets only.
   ============================================================ */

:root {
  /* Type */
  --font-display: "Iowan Old Style", "Palatino Linotype", "Palatino", "Book Antiqua", Georgia, "Times New Roman", serif;
  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  /* ===== Slate & Rust — LIGHT (default) ===== */
  /* Surfaces */
  --paper: #edeeec;
  --paper-2: #e3e5e1;
  --surface: #fafbf8;
  --surface-2: #f1f2ee;
  --border: #d5d7cf;
  --border-2: #bfc1b6;
  /* deep slate-teal primary (buttons, active nav, links-in-context) */
  --evergreen: #2b4a5e;
  --evergreen-2: #396277;
  /* dark-block background (footer, hero motif, crisis block) — a role distinct from heading text */
  --ink-block: #1b2530;

  /* Text */
  --heading: #1c242b;
  --text: #1c242b;
  --text-2: #4a545c;
  --text-3: #6c757c;

  /* Accents — warm rust & amber */
  --clay: #b1552f;
  --clay-deep: #8e4020;
  --clay-soft: rgba(177, 85, 47, 0.10);
  --amber: #a9812f;
  --gold-soft: #e7dbbe;

  /* Thin-line motif */
  --stripe-neutral: #a3a396;
  --stripe-red: #a8452e;
  --stripe-blue: #3a5f77;
  --stripe-green: #3f6b56;

  /* On-color text */
  --on-primary: #f4f6f7;
  --on-accent: #ffffff;
  --on-ink: #c8d0d4;

  /* Theming utilities */
  --header-bg: rgba(237, 238, 236, 0.9);
  --hover-tint: rgba(43, 74, 94, 0.06);

  --focus: #3a5f77;

  --maxw: 1100px;
  --radius: 4px;
  --radius-lg: 8px;
  --shadow: 0 1px 2px rgba(28, 36, 43, 0.05), 0 8px 24px -16px rgba(15, 20, 25, 0.30);
}

/* ===== Slate & Rust — DARK ===== */
html[data-theme="dark"] {
  --paper: #151a1f;
  --paper-2: #1b222a;
  --surface: #1e262f;
  --surface-2: #242d37;
  --border: #2c353f;
  --border-2: #3a4652;
  --evergreen: #3f6d86;
  --evergreen-2: #7fa8bd;
  --ink-block: #0f1419;

  --heading: #eef2f5;
  --text: #e6eaee;
  --text-2: #a4afb8;
  --text-3: #7e8891;

  --clay: #d07a54;
  --clay-deep: #e2926c;
  --clay-soft: rgba(208, 122, 84, 0.16);
  --amber: #d3a256;
  --gold-soft: #d3a256;

  --stripe-neutral: #7c8791;
  --stripe-red: #d9634a;
  --stripe-blue: #5f95b8;
  --stripe-green: #5cab82;

  --on-primary: #f2f7f9;
  --on-accent: #1a1206;
  --on-ink: #c3ccd2;

  --header-bg: rgba(21, 26, 31, 0.9);
  --hover-tint: rgba(255, 255, 255, 0.06);

  --focus: #7fa8bd;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 10px 30px -16px rgba(0, 0, 0, 0.6);
}

* { box-sizing: border-box; }

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

body {
  margin: 0;
  background-color: var(--paper);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  position: relative;
}

/* subtle paper grain — CSS-only, non-blocking */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
}

img { max-width: 100%; display: block; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--heading);
  margin: 0;
  text-wrap: balance;
}
p { margin: 0; text-wrap: pretty; }

a {
  color: var(--clay-deep);
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
a:hover { color: var(--clay); }

.eyebrow {
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--evergreen-2);
  margin: 0;
}

.lede { font-size: 20px; line-height: 1.55; color: var(--text-2); }
.muted { color: var(--text-3); }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 72px 0; }
.section--tight { padding: 52px 0; }
.section--paper2 { background: var(--paper-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section--ink { background: var(--ink-block); color: #eef0e9; }
.section--ink h1, .section--ink h2, .section--ink h3 { color: #f4f2ea; }

.stack > * + * { margin-top: 16px; }
.section-head { max-width: 640px; margin-bottom: 36px; }
.section-head .eyebrow { margin-bottom: 12px; }
.section-head h2 { font-size: clamp(28px, 4vw, 38px); }
.section-head p { margin-top: 14px; }

/* skip link */
.skip {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--ink-block); color: #fff; padding: 10px 16px; border-radius: 0 0 6px 0;
  font-weight: 700; font-size: 14px;
}
.skip:focus { left: 0; color: #fff; }

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

/* ---------- Thin-line motif ---------- */
.stripes { display: inline-flex; align-items: flex-end; gap: 3px; height: 24px; }
.stripes span { width: 3px; border-radius: 2px; display: block; }
.stripes .s1 { height: 17px; background: var(--stripe-neutral); }
.stripes .s2 { height: 24px; background: var(--stripe-red); }
.stripes .s3 { height: 15px; background: var(--stripe-neutral); }
.stripes .s4 { height: 22px; background: var(--stripe-blue); }
.stripes .s5 { height: 16px; background: var(--stripe-neutral); }
.stripes .s6 { height: 20px; background: var(--stripe-green); }

/* full-width tricolor hairline */
.tricolor {
  height: 3px; width: 100%;
  background: linear-gradient(90deg,
    var(--stripe-red) 0 33.3%,
    var(--stripe-neutral) 33.3% 66.6%,
    var(--stripe-blue) 66.6% 83.3%,
    var(--stripe-green) 83.3% 100%);
  opacity: 0.85;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 52px; padding: 0 24px;
  border-radius: var(--radius); border: 1.5px solid transparent;
  font-family: var(--font-sans); font-size: 16px; font-weight: 600; line-height: 1;
  cursor: pointer; text-decoration: none; transition: background .18s ease, border-color .18s ease, color .18s ease;
}
.btn svg { flex: none; }
.btn--primary { background: var(--evergreen); color: var(--on-primary); border-color: var(--evergreen); }
.btn--primary:hover { background: var(--ink-block); border-color: var(--heading); color: #f6f4ec; }
.btn--outline { background: transparent; color: var(--evergreen); border-color: var(--border-2); }
.btn--outline:hover { border-color: var(--evergreen); color: var(--evergreen); background: var(--hover-tint); }
.btn--clay { background: var(--clay); color: var(--on-accent); border-color: var(--clay); }
.btn--clay:hover { background: var(--clay-deep); border-color: var(--clay-deep); color: var(--on-accent); }
.btn--ghost { background: transparent; color: var(--clay-deep); border-color: var(--clay); }
.btn--ghost:hover { background: var(--clay-soft); color: var(--clay-deep); }
.btn--sm { min-height: 44px; font-size: 15px; padding: 0 18px; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--header-bg);
  backdrop-filter: saturate(1.1) blur(8px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: 68px;
}
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; color: var(--heading); }
.brand:hover { color: var(--heading); }
.brand .stripes { height: 22px; }
.brand .wordmark {
  font-family: var(--font-display); font-size: 22px; font-weight: 600;
  letter-spacing: -0.015em; line-height: 1; white-space: nowrap;
}
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px;
  font-family: var(--font-sans); font-size: 15.5px; font-weight: 600; color: var(--text-2);
  text-decoration: none; border-radius: var(--radius); white-space: nowrap;
}
.nav-links a:hover { color: var(--heading); background: var(--hover-tint); }
.nav-links a[aria-current="page"] { color: var(--evergreen); }
.nav-links a[aria-current="page"]::after {
  content: ""; margin-left: 8px; width: 5px; height: 5px; border-radius: 50%; background: var(--clay);
}
.nav-cta { display: flex; align-items: center; gap: 8px; }
.nav-toggle { display: none; }

@media (max-width: 860px) {
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 46px; height: 46px; border: 1.5px solid var(--border-2); background: var(--surface);
    border-radius: var(--radius); cursor: pointer; color: var(--heading);
  }
  .nav-menu {
    position: absolute; left: 0; right: 0; top: 100%;
    display: none; flex-direction: column; gap: 8px;
    background: var(--paper); border-bottom: 1px solid var(--border);
    padding: 16px 24px 24px; box-shadow: var(--shadow);
  }
  .nav-menu.open { display: flex; }
  .nav-links { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav-links a { min-height: 50px; padding: 0 12px; font-size: 17px; }
  .nav-links a[aria-current="page"]::after { margin-left: auto; }
  .nav-cta { flex-direction: column; align-items: stretch; margin-top: 8px; }
  .nav-cta .btn { width: 100%; }
}

/* ---------- Hero ---------- */
.hero { padding: 0 0 8px; }
.hero-inner {
  display: grid; grid-template-columns: 1.35fr 0.65fr; gap: 40px; align-items: center;
  padding: 76px 0 64px;
}
.hero-eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.hero h1 { font-size: clamp(38px, 6.2vw, 66px); line-height: 1.04; letter-spacing: -0.02em; }
.hero .lede { margin-top: 22px; max-width: 30em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* crisis line — always visible in hero */
.crisis-strip {
  display: flex; align-items: center; gap: 12px;
  margin-top: 28px; padding: 14px 18px;
  background: var(--surface); border: 1px solid var(--border-2);
  border-left: 3px solid var(--clay); border-radius: var(--radius);
  max-width: 40em;
}
.crisis-strip svg { flex: none; color: var(--clay-deep); }
.crisis-strip p { font-size: 15px; color: var(--text-2); }
.crisis-strip strong { color: var(--heading); font-weight: 700; }
.crisis-strip a { font-weight: 700; white-space: nowrap; }

/* hero side motif panel */
.hero-motif {
  align-self: stretch; min-height: 320px; border-radius: var(--radius-lg);
  background: var(--ink-block);
  display: flex; align-items: flex-end; padding: 28px;
  position: relative; overflow: hidden;
}
.hero-motif .bars { display: flex; align-items: flex-end; gap: 10px; height: 100%; width: 100%; }
.hero-motif .bars span { flex: 1; border-radius: 4px 4px 0 0; opacity: 0.92; }
.hero-motif .note {
  position: absolute; top: 24px; left: 28px; right: 28px;
  color: #cdd6ce; font-size: 13.5px; line-height: 1.5;
  font-family: var(--font-sans);
}
.hero-motif .note b { color: #f2f0e8; font-weight: 700; }

@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; gap: 28px; padding: 44px 0 40px; }
  .hero-motif { min-height: 180px; order: -1; }
  .hero-actions .btn { flex: 1 1 auto; }
}
@media (max-width: 420px) {
  body { font-size: 16px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
}

/* ---------- Cards / pathways ---------- */
.grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 24px;
  display: flex; flex-direction: column; gap: 10px;
}
.pathway {
  text-decoration: none; color: var(--text); position: relative;
  transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.pathway:hover { border-color: var(--border-2); box-shadow: var(--shadow); color: var(--text); }
.pathway .p-icon {
  width: 44px; height: 44px; border-radius: var(--radius); display: flex; align-items: center; justify-content: center;
  background: var(--clay-soft); color: var(--clay-deep); margin-bottom: 6px;
}
.pathway h3 { font-size: 21px; }
.pathway p { font-size: 15.5px; color: var(--text-2); line-height: 1.5; }
.pathway .p-link {
  margin-top: auto; padding-top: 8px; font-size: 14.5px; font-weight: 700; color: var(--clay-deep);
  display: inline-flex; align-items: center; gap: 7px;
}
.pathway:hover .p-link svg { transform: translateX(3px); }
.pathway .p-link svg { transition: transform .18s ease; }
.tag {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .04em;
  padding: 3px 9px; border-radius: 100px; background: var(--surface-2); border: 1px solid var(--border);
  color: var(--text-3);
}

/* ---------- Steps ---------- */
.steps { counter-reset: step; }
.step { position: relative; padding-left: 0; }
.step .num {
  font-family: var(--font-display); font-size: 15px; font-weight: 700; color: var(--clay-deep);
  width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--clay);
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
}
.step h3 { font-size: 22px; }
.step p { color: var(--text-2); font-size: 16px; margin-top: 8px; }

/* ---------- Resource directory (find-support) ---------- */
.dir-group + .dir-group { margin-top: 44px; }
.dir-group h3 { font-size: 25px; display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.dir-group > p { color: var(--text-2); margin-top: 8px; max-width: 60ch; }
.res-list { margin-top: 20px; display: grid; gap: 14px; }
.res {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 20px 22px; display: flex; flex-direction: column; gap: 8px;
}
.res-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.res h4 { font-family: var(--font-sans); font-size: 18px; font-weight: 700; color: var(--heading); line-height: 1.25; }
.res .org { font-size: 14px; color: var(--text-3); margin-top: 2px; }
.res p { font-size: 15px; color: var(--text-2); line-height: 1.5; }
.res .resource-detail { font-size: 13.5px; color: var(--text-3); margin: 0; }
.res-meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 2px; }
.res-meta .chip {
  font-size: 12.5px; font-weight: 600; color: var(--text-2);
  padding: 4px 10px; border: 1px solid var(--border); border-radius: 100px; background: var(--surface-2);
}
.res-top .resource-status { flex: none; }
.res-top .resource-status--review {
  color: #7a3f23; border-color: #d6a76b; background: #fff4df;
}
.res-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.res-link {
  display: inline-flex; align-items: center; gap: 7px; min-height: 40px; padding: 0 4px;
  font-weight: 700; font-size: 15px; text-decoration: none;
}
.res-tel { color: var(--evergreen-2); }
.res-tel:hover { color: var(--evergreen); }
.audience-note {
  font-size: 13px; color: var(--text-3); display: inline-flex; align-items: center; gap: 7px;
}
.audience-note .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--stripe-blue); }

/* filter/legend row */
.legend { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.legend .chip { font-size: 13px; }

/* ---------- Resource filter bar (find-support) ---------- */
.filters {
  display: flex; flex-direction: column; gap: 16px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 20px 22px; margin-bottom: 34px;
}
.location-filter { display: grid; gap: 10px; padding-bottom: 16px; border-bottom: 1px solid var(--border); }
.location-filter .filter-label { min-width: 0; padding-top: 0; }
.location-controls { display: flex; flex-wrap: wrap; gap: 10px; align-items: end; }
.location-controls label { display: grid; gap: 6px; color: var(--text-2); font-size: 13px; font-weight: 650; }
.location-controls label > span { line-height: 1.2; }
.location-controls select, .location-controls input {
  min-height: 42px; min-width: 200px; padding: 0 12px;
  font-family: var(--font-sans); font-size: 14px; color: var(--text);
  background: var(--surface-2); border: 1.5px solid var(--border-2); border-radius: var(--radius);
}
.location-controls select:focus-visible, .location-controls input:focus-visible {
  outline: 2px solid var(--focus); outline-offset: 1px; border-color: var(--focus);
}
.location-help { margin: 0; color: var(--text-3); font-size: 13px; line-height: 1.45; }
.coverage-notice {
  margin: -18px 0 18px; padding: 14px 16px; border-left: 3px solid var(--clay);
  border-radius: var(--radius); background: var(--surface-2); color: var(--text-2); line-height: 1.5;
}
.filter-search { position: relative; display: flex; align-items: center; }
.filter-search svg { position: absolute; left: 15px; color: var(--text-3); pointer-events: none; }
.filter-search input {
  width: 100%; min-height: 50px; padding: 0 16px 0 44px;
  font-family: var(--font-sans); font-size: 16px;
  background: var(--surface-2); border: 1.5px solid var(--border-2); border-radius: var(--radius); color: var(--text);
}
.filter-search input::placeholder { color: var(--text-3); }
.filter-search input:focus-visible { outline: 2px solid var(--focus); outline-offset: 1px; border-color: var(--focus); }
.filter-group { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.filter-label {
  font-family: var(--font-sans); font-size: 11.5px; font-weight: 700; letter-spacing: .13em;
  text-transform: uppercase; color: var(--text-3); flex: 0 0 auto; min-width: 96px; padding-top: 8px;
}
.fchips { display: flex; flex-wrap: wrap; gap: 8px; flex: 1; }
.fchip {
  font-family: var(--font-sans); font-size: 14px; font-weight: 600; color: var(--text-2);
  padding: 7px 15px; min-height: 38px; border: 1.5px solid var(--border-2); border-radius: 100px;
  background: var(--surface); cursor: pointer;
  transition: background .16s ease, border-color .16s ease, color .16s ease;
}
.fchip:hover { border-color: var(--evergreen-2); color: var(--heading); }
.fchip[aria-pressed="true"] { background: var(--evergreen); border-color: var(--evergreen); color: var(--on-primary); }
.fchip:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.filter-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  border-top: 1px solid var(--border); padding-top: 16px;
}
.filter-count { font-size: 14px; color: var(--text-3); margin: 0; }
.dir-group[hidden], .res[hidden] { display: none; }
.no-results {
  background: var(--surface-2); border: 1px dashed var(--border-2); border-radius: var(--radius-lg);
  padding: 30px; text-align: center; color: var(--text-2); font-size: 16px;
}
.linklike {
  background: none; border: none; padding: 0; font: inherit; color: var(--clay-deep);
  font-weight: 700; cursor: pointer; text-decoration: underline; text-underline-offset: 3px;
}
.linklike:hover { color: var(--clay); }
@media (min-width: 720px) { .filter-search input { max-width: 540px; } }
@media (max-width: 560px) {
  .location-controls { align-items: stretch; }
  .location-controls label, .location-controls select, .location-controls input, .location-controls .btn { width: 100%; }
}

/* ---------- Crisis page ---------- */
.crisis-emergency {
  background: var(--ink-block); color: #f0f2ec; border-radius: var(--radius-lg);
  padding: 26px 28px; display: flex; gap: 18px; align-items: flex-start;
  border: 1px solid #24352c;
}
.crisis-emergency .ce-icon { color: #e6b98a; flex: none; margin-top: 2px; }
.crisis-emergency h2 { color: #fff; font-size: 24px; }
.crisis-emergency p { color: #cdd6ce; margin-top: 8px; font-size: 16px; }
.crisis-emergency a.tel-big {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 16px;
  font-family: var(--font-display); font-size: 30px; font-weight: 700; color: #fff; text-decoration: none;
}
.crisis-emergency a.tel-big:hover { color: #f0dcc6; }

.hotline {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 22px 24px; display: flex; gap: 18px; align-items: flex-start;
}
.hotline .bar { width: 4px; align-self: stretch; border-radius: 3px; flex: none; }
.hotline .bar.green { background: var(--stripe-green); }
.hotline .bar.blue { background: var(--stripe-blue); }
.hotline .bar.red { background: var(--stripe-red); }
.hotline .bar.neutral { background: var(--stripe-neutral); }
.hotline .h-body { flex: 1; }
.hotline h3 { font-family: var(--font-sans); font-size: 19px; font-weight: 700; color: var(--heading); }
.hotline .h-who { font-size: 14.5px; color: var(--text-3); margin-top: 2px; }
.hotline .h-num { font-size: 16px; color: var(--text-2); margin-top: 10px; }
.hotline .h-actions { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- App section / interest ---------- */
.app-band { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 44px; align-items: center; }
@media (max-width: 800px) { .app-band { grid-template-columns: 1fr; gap: 28px; } }
.pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 100px;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.18);
  font-size: 13px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: #e6d9be;
}
.notify-form { display: flex; gap: 10px; margin-top: 22px; max-width: 460px; flex-wrap: wrap; }
.notify-form input[type="email"] {
  flex: 1 1 220px; min-height: 52px; padding: 0 16px; font-family: var(--font-sans); font-size: 16px;
  background: rgba(255,255,255,0.06); border: 1.5px solid rgba(255,255,255,0.25); border-radius: var(--radius);
  color: #f2f0e8;
}
.notify-form input::placeholder { color: #9fab9f; }
.notify-form input:focus-visible { outline-color: #e6b98a; }
.notify-note { font-size: 13px; color: #a9b3a8; margin-top: 12px; max-width: 460px; }
.notify-ok { color: #cfe3d3; font-weight: 600; margin-top: 16px; display: none; }
.notify-ok.show { display: block; }
.notify-error { color: #ffd0c6; font-weight: 600; margin-top: 16px; }
.notify-form button[disabled] { cursor: wait; opacity: .7; }
.phone-mock {
  width: 200px; aspect-ratio: 200 / 400; margin: 0 auto;
  background: var(--ink-block); border: 6px solid #0b0f14; border-radius: 30px;
  box-shadow: var(--shadow); overflow: hidden; position: relative;
  display: flex; flex-direction: column;
}

/* ---------- Trust / privacy ---------- */
.trust-list { display: grid; gap: 14px; }
.trust-row {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 18px 20px;
}
.trust-row .t-icon { color: var(--evergreen-2); flex: none; margin-top: 2px; }
.trust-row h3 { font-family: var(--font-sans); font-size: 17px; font-weight: 700; color: var(--heading); }
.trust-row p { font-size: 15.5px; color: var(--text-2); margin-top: 4px; line-height: 1.5; }

.callout {
  background: var(--surface-2); border: 1px solid var(--border);
  border-left: 3px solid var(--evergreen-2); border-radius: var(--radius);
  padding: 18px 22px; font-size: 15.5px; color: var(--text-2);
}
.callout strong { color: var(--heading); }

/* ---------- Page intro (interior pages) ---------- */
.page-intro { padding: 56px 0 12px; }
.page-intro .eyebrow { margin-bottom: 14px; }
.page-intro h1 { font-size: clamp(34px, 5vw, 54px); }
.page-intro .lede { margin-top: 18px; max-width: 34em; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink-block); color: #c6cec6; padding: 56px 0 40px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr; gap: 30px; } }
.site-footer .brand .wordmark { color: #f2f0e8; }
.site-footer h4 { font-family: var(--font-sans); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: #8fa093; font-weight: 700; margin-bottom: 14px; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-links a { color: #d3dbd2; text-decoration: none; font-size: 15px; }
.footer-links a:hover { color: #fff; text-decoration: underline; }
.footer-tagline { font-size: 15px; color: #aab4a9; margin-top: 14px; max-width: 34ch; line-height: 1.5; }
.footer-disclaimer {
  margin-top: 36px; padding-top: 22px; border-top: 1px solid #26372d;
  font-size: 13px; color: #8fa093; line-height: 1.6; max-width: 70ch;
}
.footer-disclaimer a { color: #d3dbd2; }
.footer-bottom { margin-top: 20px; font-size: 13px; color: #7d8e81; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* ---------- Interactive profile / check-in (app.html) ---------- */
.field { display: flex; flex-direction: column; gap: 8px; }
.field > label { font-size: 15px; font-weight: 700; color: var(--heading); }
.field input[type="text"], .field input[type="password"] {
  min-height: 52px; padding: 0 16px; font-family: var(--font-sans); font-size: 16px;
  background: var(--surface); border: 1.5px solid var(--border-2); border-radius: var(--radius); color: var(--text);
}
.field input:focus-visible { outline-color: var(--focus); border-color: var(--focus); }
.field .hint { font-size: 13.5px; color: var(--text-3); line-height: 1.45; }

.switch-row {
  display: flex; align-items: center; gap: 16px; padding: 16px 18px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
}
.switch-row .sr-body { flex: 1; }
.switch-row .sr-body b { display: block; font-size: 16px; color: var(--heading); }
.switch-row .sr-body span { font-size: 13.5px; color: var(--text-3); }
.switch {
  flex: none; width: 52px; height: 30px; border-radius: 100px; border: 1.5px solid var(--border-2);
  background: var(--surface-2); position: relative; cursor: pointer; padding: 0; transition: background .18s ease, border-color .18s ease;
}
.switch::after {
  content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--text-3); transition: left .18s ease, background .18s ease;
}
.switch[aria-checked="true"] { background: var(--evergreen); border-color: var(--evergreen); }
.switch[aria-checked="true"]::after { left: 25px; background: #fff; }

.reveal { display: none; }
.reveal.show { display: block; }

/* option cards (check-in) */
.opt {
  display: flex; align-items: center; gap: 14px; width: 100%; text-align: left;
  padding: 16px 18px; min-height: 64px; background: var(--surface);
  border: 1.5px solid var(--border); border-radius: var(--radius-lg); cursor: pointer;
  font-family: var(--font-sans); color: var(--text); transition: border-color .18s ease, background .18s ease;
}
.opt:hover { border-color: var(--border-2); }
.opt .radio {
  flex: none; width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--border-2);
  display: flex; align-items: center; justify-content: center; box-sizing: border-box;
}
.opt .radio::after { content: ""; width: 12px; height: 12px; border-radius: 50%; background: transparent; transition: background .15s ease; }
.opt .o-body b { display: block; font-size: 16px; font-weight: 700; color: var(--heading); }
.opt .o-body span { font-size: 13.5px; color: var(--text-3); }
.opt[aria-pressed="true"] { border-color: var(--clay); background: var(--clay-soft); }
.opt[aria-pressed="true"] .radio { border-color: var(--clay); }
.opt[aria-pressed="true"] .radio::after { background: var(--clay); }

.na { margin-top: 16px; display: none; flex-direction: column; gap: 10px; }
.na.show { display: flex; }
.na .na-lead { font-size: 15px; font-weight: 700; color: var(--heading); }
.na-item {
  display: flex; align-items: center; gap: 12px; text-align: left; width: 100%;
  padding: 14px 16px; min-height: 56px; background: var(--surface-2);
  border: 1px solid var(--border-2); border-radius: var(--radius); cursor: pointer;
  font-family: var(--font-sans); color: var(--text); text-decoration: none;
}
.na-item:hover { border-color: var(--clay); color: var(--text); }
.na-item .nai-body { flex: 1; }
.na-item .nai-body b { display: block; font-size: 15px; font-weight: 700; color: var(--heading); }
.na-item .nai-body span { font-size: 13px; color: var(--text-2); }

/* responder ordering */
.responder-row {
  display: flex; align-items: center; gap: 12px; padding: 14px 16px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); transition: order .2s;
}
.responder-row.is-you { border-color: var(--border-2); background: var(--surface-2); }
.responder-row .order {
  flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--paper-2);
  border: 1px solid var(--border); display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; color: var(--text-3); font-family: var(--font-display);
}
.responder-row .rr-body { flex: 1; }
.responder-row .rr-body b { display: block; font-size: 15px; font-weight: 700; color: var(--heading); }
.responder-row .rr-body span { font-size: 12.5px; color: var(--text-3); }
.badge-verified {
  flex: none; display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 100px;
  background: rgba(57,103,79,0.1); border: 1px solid var(--stripe-green); color: var(--stripe-green);
  font-size: 12px; font-weight: 700; white-space: nowrap;
}

.request-card {
  background: var(--surface); border: 1px solid var(--border-2); border-radius: var(--radius-lg);
  padding: 18px 20px; display: flex; flex-direction: column; gap: 12px;
}
.request-card .rq-head { display: flex; align-items: center; gap: 12px; }
.request-card .rq-avatar {
  flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--clay-soft); color: var(--clay-deep);
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 17px;
}
.request-card .rq-sig { font-size: 18px; font-weight: 600; color: var(--heading); font-family: var(--font-display); }
.request-card .rq-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.request-done { font-size: 14.5px; color: var(--text-2); font-weight: 600; }

.profile-card {
  display: flex; align-items: center; gap: 14px; padding: 18px 20px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
}
.profile-card .pc-avatar {
  flex: none; width: 48px; height: 48px; border-radius: 50%; background: var(--evergreen); color: #f4f2ea;
  display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 20px; font-weight: 700;
}
.profile-card .pc-body b { font-size: 18px; color: var(--heading); }
.profile-card .pc-body span { display: block; font-size: 13.5px; color: var(--text-3); margin-top: 2px; }

/* utility */
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.divider { height: 1px; background: var(--border); border: 0; margin: 0; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}


/* ---------- Theme toggle ---------- */
.theme-toggle {
  width: 44px; height: 44px; flex: none; display: inline-flex; align-items: center; justify-content: center;
  border: 1.5px solid var(--border-2); background: var(--surface); border-radius: var(--radius);
  color: var(--heading); cursor: pointer;
}
.theme-toggle:hover { border-color: var(--evergreen); }
.theme-toggle .ic-sun { display: none; }
.theme-toggle .ic-moon { display: block; }
html[data-theme="dark"] .theme-toggle .ic-sun { display: block; }
html[data-theme="dark"] .theme-toggle .ic-moon { display: none; }
