/* HavenForward — calm, warm, phone-first. Fonts are self-hosted (SIL OFL). */
@font-face {
  font-family: "Atkinson Hyperlegible";
  src: url("fonts/atkinson-hyperlegible-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Atkinson Hyperlegible";
  src: url("fonts/atkinson-hyperlegible-latin-400-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Atkinson Hyperlegible";
  src: url("fonts/atkinson-hyperlegible-latin-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("fonts/fraunces-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --canvas: #fbf6ee;
  --surface: #ffffff;
  --sand: #f2e8da;
  --sand-deep: #ead9c3;
  --ink: #2a2420;
  --muted: #5c524a;
  --line: #e2d4c1;
  --action: #2e6a5c;
  --action-hover: #23544a;
  --accent: #a84b2a;
  --deep: #203b35;
  --deep-ink: #f7f1e8;
  --deep-muted: #cfdcd5;
  --glow: #f3c58e;
  --focus: #a84b2a;

  --c-sage: #3d7356;
  --c-amber: #8f5409;
  --c-sky: #2b6688;
  --c-navy: #3a4c7a;
  --c-rose: #9e4058;
  --c-terra: #a84b2a;
  --c-plum: #6a4a86;

  --font-body:
    "Atkinson Hyperlegible", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow:
    0 1px 2px rgb(42 36 32 / 0.05), 0 8px 24px -12px rgb(42 36 32 / 0.18);
  --header-h: 64px;
  --help-h: 48px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 12px);
}
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}
body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}
@media (min-width: 900px) {
  body {
    font-size: 1.125rem;
  }
}

img,
svg {
  display: block;
  max-width: 100%;
}
h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 560;
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h1 {
  font-size: clamp(2.5rem, 9vw, 4.4rem);
  font-weight: 600;
  letter-spacing: -0.02em;
}
h2 {
  font-size: clamp(1.75rem, 5.4vw, 2.6rem);
}
h3 {
  font-size: 1.3rem;
  font-weight: 600;
}
p {
  margin: 0 0 1em;
}
p:last-child {
  margin-bottom: 0;
}
a {
  color: var(--action);
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1px;
}
a:hover {
  color: var(--action-hover);
  text-decoration-thickness: 2px;
}
:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 6px;
}
main:focus,
section:focus {
  outline: none;
}
ul,
ol {
  padding: 0;
  margin: 0;
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1140px;
  margin-inline: auto;
  padding-inline: 20px;
}
@media (min-width: 700px) {
  .container {
    padding-inline: 32px;
  }
}
.narrow {
  max-width: 780px;
}
.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;
}
.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  border-radius: 10px;
  font-weight: 700;
}
.skip-link:focus {
  position: relative;
  display: block;
  width: fit-content;
  left: 0;
  top: 0;
  color: #fff;
}

.icon {
  width: 24px;
  height: 24px;
  flex: none;
}
.icon-sm {
  width: 18px;
  height: 18px;
}
.icon-inline {
  width: 1.05em;
  height: 1.05em;
  display: inline-block;
  vertical-align: -0.15em;
}

.eyebrow {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}
.lead {
  font-size: 1.2rem;
  line-height: 1.5;
  color: var(--ink);
}
@media (min-width: 900px) {
  .lead {
    font-size: 1.3rem;
  }
}

/* ---------- Header + help band ----------
 * The help band sits above the header in normal flow. Below 1000px it
 * scrolls away with the page and only the brand/menu row stays sticky.
 * From 1000px the band is a single 48px row, so both stay pinned. */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgb(251 246 238 / 0.97);
  border-bottom: 1px solid var(--line);
}
@supports (backdrop-filter: blur(8px)) {
  .site-header {
    background: rgb(251 246 238 / 0.9);
    backdrop-filter: blur(8px);
  }
}
.help-band {
  background: var(--deep);
  color: var(--deep-ink);
  font-size: 0.92rem;
}
.help-inner p {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 4px 10px;
  margin: 0;
  padding-block: 6px;
  min-height: 40px;
}
.help-label {
  font-weight: 700;
}
.help-or {
  color: var(--deep-muted);
}
.help-link,
.help-more {
  color: var(--deep-ink);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 28px;
  padding: 2px 4px;
  border-radius: 6px;
}
.help-link {
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--glow);
  text-underline-offset: 0.22em;
}
.help-link:hover,
.help-more:hover {
  color: #fff;
}
.help-more {
  display: none;
  color: var(--deep-muted);
}
.help-band :focus-visible {
  outline-color: var(--glow);
}
@media (min-width: 700px) {
  .help-inner p {
    justify-content: flex-end;
  }
  .help-more {
    display: inline-flex;
    margin-left: 8px;
  }
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 62px;
  flex-wrap: wrap;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.3rem;
  padding-block: 8px;
}
.brand:hover {
  color: var(--ink);
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 42px;
  border-radius: 19px 19px 8px 8px;
  background: var(--action);
  color: #fff;
  font-size: 1rem;
  font-weight: 650;
  letter-spacing: -0.02em;
}
.brand-name span {
  color: var(--action);
}
.brand-light {
  color: var(--deep-ink);
}
.brand-light:hover {
  color: #fff;
}
.brand-light .brand-name span {
  color: var(--glow);
}
.brand-light .brand-mark {
  background: var(--glow);
  color: var(--deep);
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font: inherit;
  font-weight: 700;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 16px;
  min-height: 44px;
  cursor: pointer;
}
.menu-bars,
.menu-bars::before,
.menu-bars::after {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  position: relative;
}
.menu-bars::before,
.menu-bars::after {
  content: "";
  position: absolute;
  left: 0;
}
.menu-bars::before {
  top: -6px;
}
.menu-bars::after {
  top: 6px;
}
#primary-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
#primary-nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.98rem;
  padding: 10px 12px;
  border-radius: 10px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
#primary-nav a:hover {
  background: var(--sand);
  color: var(--ink);
}
#primary-nav a[aria-current="page"] {
  background: var(--sand);
  box-shadow: inset 0 -2px 0 var(--action);
}
@media (max-width: 850px) {
  #primary-nav {
    flex-basis: 100%;
    flex-direction: column;
    padding-bottom: 12px;
  }
  #primary-nav a {
    border-bottom: 1px solid var(--line);
    border-radius: 0;
  }
  #primary-nav a:last-child {
    border-bottom: 0;
  }
}

/* ---------- Buttons & links ---------- */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  text-align: center;
  border: 2px solid transparent;
  line-height: 1.25;
}
@media (prefers-reduced-motion: no-preference) {
  .button {
    transition:
      background-color 0.15s ease,
      color 0.15s ease,
      transform 0.15s ease;
  }
  .button:hover {
    transform: translateY(-1px);
  }
}
.button-primary {
  background: var(--action);
  color: #fff;
}
.button-primary:hover {
  background: var(--action-hover);
  color: #fff;
}
/* Submit buttons on the staging-only interactions page use this legacy name. */
.button-teal {
  background: var(--action);
  color: #fff;
}
.button-teal:hover {
  background: var(--action-hover);
  color: #fff;
}
.button-secondary {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--ink);
}
.button-secondary:hover {
  background: var(--sand);
  color: var(--ink);
}
.button-ink {
  background: var(--ink);
  color: #fff;
}
.button-ink:hover {
  background: #000;
  color: #fff;
}
.button-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.button-outline:hover {
  background: var(--surface);
  color: var(--ink);
}
.button-light {
  background: var(--deep-ink);
  color: var(--deep);
}
.button-light:hover {
  background: #fff;
  color: var(--deep);
}
.button-small {
  min-height: 46px;
  padding: 10px 18px;
  font-size: 0.96rem;
}
.text-link {
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(120% 70% at 85% 0%, #f8dcbc 0%, rgb(248 220 188 / 0) 60%),
    radial-gradient(80% 60% at 0% 100%, #e3ecdf 0%, rgb(227 236 223 / 0) 70%),
    var(--canvas);
  padding: 36px 0 32px;
}
@media (min-width: 900px) {
  .hero {
    padding: 72px 0 48px;
  }
}
.hero-grid {
  display: grid;
  gap: 32px;
  align-items: center;
}
@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 56px;
  }
}
.hero h1 {
  margin-bottom: 0.35em;
}
.hero h1 em {
  font-style: normal;
  color: var(--accent);
  display: inline-block;
}
.hero-subtitle {
  font-size: 1.2rem;
  color: var(--muted);
  max-width: 34ch;
}
@media (min-width: 900px) {
  .hero-subtitle {
    font-size: 1.32rem;
  }
}
.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 24px 0;
}
@media (min-width: 560px) {
  .hero-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

.status-note {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 5px solid var(--accent);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  box-shadow: var(--shadow);
  font-size: 0.98rem;
  color: var(--muted);
  max-width: 560px;
}
.status-note a {
  font-weight: 700;
  white-space: nowrap;
}
.status-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--ink);
  font-size: 1.02rem;
  margin-bottom: 4px;
}
.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px #f3dccf;
}

/* Signature: the open doorway */
.doorway {
  position: relative;
  max-width: 420px;
  width: 100%;
  margin-inline: auto;
}
.doorway-arch {
  position: relative;
  aspect-ratio: 4 / 4.2;
  border-radius: 999px 999px 28px 28px;
  overflow: hidden;
  background: linear-gradient(
    180deg,
    #fbe1c2 0%,
    #f6c99a 42%,
    #e7a678 70%,
    #c97a59 100%
  );
  box-shadow:
    inset 0 0 0 10px rgb(255 255 255 / 0.55),
    var(--shadow);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0 24px 34px;
}
.doorway-arch::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 36%;
  background: linear-gradient(
    180deg,
    rgb(46 106 92 / 0) 0%,
    rgb(32 59 53 / 0.92) 100%
  );
}
.doorway-sun {
  position: absolute;
  left: 50%;
  top: 30%;
  width: 46%;
  aspect-ratio: 1;
  translate: -50% 0;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    #fff7e8 0%,
    #fde4bf 55%,
    rgb(253 228 191 / 0) 72%
  );
}
.doorway-line {
  position: relative;
  z-index: 1;
  color: #fff;
  text-align: center;
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
  line-height: 1.3;
  font-weight: 500;
}
.doorway-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: -18px;
  position: relative;
  z-index: 2;
}
.doorway-chips li {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 14px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--ink);
  box-shadow: var(--shadow);
}
@media (max-width: 899px) {
  .doorway {
    max-width: 320px;
  }
  .doorway-arch {
    aspect-ratio: 4 / 3.4;
  }
}

.values {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-weight: 700;
  font-size: 0.95rem;
}
.values li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.values .icon {
  color: var(--action);
}

/* ---------- Sections ---------- */
.section {
  padding: 64px 0;
}
@media (min-width: 900px) {
  .section {
    padding: 96px 0;
  }
}
.section-sand {
  background: var(--sand);
}
.section-head {
  max-width: 640px;
  margin-bottom: 32px;
}
.section-head > p:last-child {
  color: var(--muted);
}
.split {
  display: grid;
  gap: 24px;
}
@media (min-width: 900px) {
  .split {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 64px;
  }
}
.prose {
  max-width: 62ch;
}
.callout {
  background: var(--sand);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  font-weight: 700;
  border-left: 5px solid var(--action);
}

/* Circles */
.circles-grid {
  display: grid;
  gap: 16px;
}
@media (min-width: 620px) {
  .circles-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1000px) {
  .circles-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
.circle-card {
  --c: var(--action);
  position: relative;
  background: var(--surface);
  border-radius: var(--radius);
  padding: 22px 20px 22px;
  box-shadow: var(--shadow);
  border-top: 5px solid var(--c);
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 14px;
  align-items: start;
}
.circle-card h3 {
  margin: 4px 0 6px;
  font-size: 1.2rem;
}
.circle-card > p {
  grid-column: 1 / -1;
  color: var(--muted);
  margin-top: 8px;
}
@media (min-width: 620px) {
  .circle-card {
    display: block;
    padding: 24px 22px 26px;
  }
  .circle-card h3 {
    margin-top: 16px;
  }
  .circle-card > p {
    margin-top: 0;
  }
}
.circle-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 56px;
  border-radius: 26px 26px 10px 10px;
  color: var(--c);
  background: color-mix(in srgb, var(--c) 13%, white);
}
.circle-icon .icon {
  width: 26px;
  height: 26px;
}
.accent-sage {
  --c: var(--c-sage);
}
.accent-amber {
  --c: var(--c-amber);
}
.accent-sky {
  --c: var(--c-sky);
}
.accent-navy {
  --c: var(--c-navy);
}
.accent-rose {
  --c: var(--c-rose);
}
.accent-terra {
  --c: var(--c-terra);
}
.accent-plum {
  --c: var(--c-plum);
}
.circle-callout {
  background: var(--deep);
  color: var(--deep-ink);
  border-top-color: var(--glow);
  display: block;
}
.circle-callout .eyebrow {
  color: var(--glow);
}
.circle-callout h3 {
  margin-top: 0;
}
.circle-callout > p {
  color: var(--deep-muted);
}
.circle-callout .text-link {
  color: var(--deep-ink);
}
.circle-callout :focus-visible {
  outline-color: var(--glow);
}

/* Principles */
.principles {
  display: grid;
  gap: 16px;
}
@media (min-width: 820px) {
  .principles {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}
.principles li {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.principles p {
  color: var(--muted);
}
.principle-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #e2eee8;
  color: var(--action);
  margin-bottom: 16px;
}

/* Pilot */
.section-deep {
  background: var(--deep);
  color: var(--deep-ink);
}
.section-deep .eyebrow {
  color: var(--glow);
}
.section-deep p {
  color: var(--deep-muted);
}
.section-deep :focus-visible {
  outline-color: var(--glow);
}
.section-deep .button {
  margin-top: 12px;
}
.steps {
  counter-reset: step;
  display: grid;
  gap: 14px;
}
.steps li {
  counter-increment: step;
  position: relative;
  padding: 20px 20px 20px 72px;
  background: rgb(255 255 255 / 0.06);
  border: 1px solid rgb(255 255 255 / 0.14);
  border-radius: var(--radius);
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 20px;
  top: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--glow);
  color: var(--deep);
  font-weight: 700;
}
.steps h3 {
  color: var(--deep-ink);
  font-size: 1.2rem;
  margin-bottom: 4px;
}

/* Resource banner */
.resource-banner {
  display: grid;
  gap: 20px;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px 22px;
  box-shadow: var(--shadow);
}
.resource-banner p:last-child {
  color: var(--muted);
}
@media (min-width: 900px) {
  .resource-banner {
    grid-template-columns: 1fr auto;
    padding: 44px 48px;
    gap: 40px;
  }
}

/* ---------- Crisis section ---------- */
.crisis {
  background: #f5dfc8;
  border-top: 1px solid var(--sand-deep);
  padding: 48px 0;
}
.crisis .eyebrow {
  color: #8a3a1e;
}
.crisis-inner {
  display: grid;
  gap: 24px;
}
@media (min-width: 900px) {
  .crisis-inner {
    grid-template-columns: 1.3fr 1fr;
    gap: 56px;
    align-items: center;
  }
}
.crisis-copy p {
  max-width: 60ch;
}
.crisis-note {
  font-weight: 700;
}
.crisis-actions {
  display: grid;
  gap: 12px;
}
@media (min-width: 480px) {
  .crisis-actions {
    grid-template-columns: 1fr 1fr;
  }
  .crisis-actions .text-link {
    grid-column: 1 / -1;
  }
}
.crisis .text-link {
  color: var(--ink);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--deep);
  color: var(--deep-muted);
  padding: 40px 0 32px;
  font-size: 0.95rem;
}
.site-footer a {
  color: var(--deep-ink);
}
.site-footer a:hover {
  color: #fff;
}
.site-footer :focus-visible {
  outline-color: var(--glow);
}
.footer-top {
  display: grid;
  gap: 20px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgb(255 255 255 / 0.15);
}
@media (min-width: 760px) {
  .footer-top {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
}
.footer-tag {
  margin-top: 6px;
}
.footer-top nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
}
.footer-top nav a,
.footer-bottom a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px 20px;
  padding-top: 16px;
}
.footer-bottom p {
  margin: 0;
}
.small {
  font-size: 0.88rem;
  margin-top: 12px;
}

/* ---------- Inner pages ---------- */
.page-intro {
  padding: 44px 0 36px;
  background:
    radial-gradient(90% 80% at 100% 0%, #f8dcbc 0%, rgb(248 220 188 / 0) 60%),
    var(--canvas);
  border-bottom: 1px solid var(--line);
}
@media (min-width: 900px) {
  .page-intro {
    padding: 72px 0 52px;
  }
}
.page-intro h1 {
  font-size: clamp(2.3rem, 8vw, 3.8rem);
}
.page-intro p:not(.eyebrow):not(.lead) {
  color: var(--muted);
}
.meta {
  font-size: 0.95rem;
}

.policy {
  padding-block: 32px 64px;
}
.policy-block {
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.policy-block:last-of-type {
  border-bottom: 0;
}
.policy-block h2 {
  font-size: clamp(1.4rem, 4.2vw, 1.85rem);
  display: flex;
  gap: 14px;
  align-items: baseline;
}
.policy-num {
  flex: none;
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--sand);
  color: var(--accent);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  translate: 0 -3px;
}
.policy-urgent {
  background: #f5dfc8;
  border-radius: var(--radius);
  padding: 24px 22px;
  border-bottom: 0;
  margin-block: 12px;
}
.policy-urgent a {
  color: #7a3318;
  font-weight: 700;
}
.policy-urgent .policy-num {
  background: var(--surface);
}
.next-step {
  margin-top: 24px;
}
.facts {
  display: grid;
  gap: 10px;
  margin: 8px 0 12px;
}
@media (min-width: 700px) {
  .facts {
    grid-template-columns: repeat(3, 1fr);
  }
}
.facts li {
  display: flex;
  gap: 10px;
  align-items: center;
  background: #e2eee8;
  color: #1f4a40;
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.35;
}

/* Directory */
.directory {
  padding-block: 32px 72px;
}
.resource-filters {
  display: grid;
  gap: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
  margin-bottom: 16px;
}
.resource-filters[hidden] {
  display: none;
}
@media (min-width: 700px) {
  .resource-filters {
    grid-template-columns: 1.5fr 1fr;
  }
}
.field label {
  display: block;
  font-weight: 700;
  margin-bottom: 6px;
}
.field input,
.field select {
  width: 100%;
  min-height: 48px;
  font: inherit;
  color: var(--ink);
  background: var(--canvas);
  border: 2px solid #8a7d70;
  border-radius: 12px;
  padding: 10px 14px;
}
.field input::placeholder {
  color: #6e645b;
}
.field input:focus-visible,
.field select:focus-visible {
  outline-offset: 1px;
  border-color: var(--ink);
}
#resource-status {
  color: var(--muted);
  font-size: 0.98rem;
  margin-bottom: 20px;
}
.resource-grid {
  display: grid;
  gap: 16px;
}
@media (min-width: 700px) {
  .resource-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1040px) {
  .resource-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.resource-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
  border-top: 5px solid var(--c);
  display: flex;
  flex-direction: column;
}
.resource-card[hidden] {
  display: none;
}
.resource-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.resource-top .circle-icon {
  width: 44px;
  height: 48px;
  border-radius: 22px 22px 8px 8px;
}
.resource-top .circle-icon .icon {
  width: 22px;
  height: 22px;
}
.resource-cat {
  margin: 0;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c);
}
.resource-card h2 {
  font-size: 1.35rem;
}
.resource-card > p {
  color: var(--muted);
}
.resource-card dl {
  margin: 4px 0 18px;
  font-size: 0.93rem;
  display: grid;
  gap: 10px;
}
.resource-card dt {
  font-weight: 700;
  color: var(--ink);
}
.resource-card dd {
  margin: 0;
  color: var(--muted);
}
.resource-card .button {
  margin-top: auto;
  align-self: flex-start;
}
#resource-empty {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 20px;
  font-weight: 700;
}
.directory-note {
  margin-top: 28px;
  color: var(--muted);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
@media (forced-colors: active) {
  .button,
  .circle-card,
  .resource-card,
  .status-note {
    border: 2px solid CanvasText;
  }
}
#primary-nav[hidden],
.menu-toggle[hidden] {
  display: none;
}

/* ---------- Questions & answers ---------- */
.faq-toc ul {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.faq-toc a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
}
.faq-toc a:hover {
  border-color: var(--action);
  color: var(--action);
}
.faq {
  padding-block: 24px 64px;
}
.faq-group {
  padding-top: 28px;
  scroll-margin-top: 140px;
}
.faq-group h2 {
  font-size: clamp(1.4rem, 4.2vw, 1.85rem);
  margin-bottom: 12px;
}
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  margin-bottom: 10px;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 48px;
  padding: 14px 18px;
  font-weight: 700;
  border-radius: var(--radius-sm);
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::after {
  content: "+";
  flex: none;
  font-size: 1.4rem;
  line-height: 1;
  color: var(--action);
}
.faq-item[open] summary::after {
  content: "\2212";
}
.faq-item summary:hover {
  background: var(--canvas);
}
.faq-answer {
  padding: 0 18px 14px;
}
.faq-answer p {
  margin: 0 0 10px;
}

/* ---------- Support lines (resources) ---------- */
.support-lines {
  padding-block: 36px 8px;
  scroll-margin-top: 140px;
}
.support-lines h2 {
  font-size: clamp(1.5rem, 4.4vw, 2rem);
}
.lines-grid {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  display: grid;
  gap: 14px;
}
@media (min-width: 760px) {
  .lines-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.line-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 5px solid var(--accent);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
}
.line-card h3 {
  font-size: 1.2rem;
  margin: 0 0 6px;
}
.line-card p {
  margin: 0 0 10px;
}
.line-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
}
.line-actions a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 700;
  color: var(--action);
}

/* ---------- Labelled 988 / 911 lines (every page) ---------- */
.help-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  column-gap: 12px;
  padding-block: 2px;
}
.help-inner .help-line {
  justify-content: flex-start;
  gap: 0 4px;
  padding-block: 0;
  min-height: 44px;
  line-height: 1.3;
}
.help-inner .help-line + .help-line {
  grid-column: 1 / -1;
}
.help-band .help-link {
  min-height: 44px;
  padding: 0 4px;
}
.help-band .help-more {
  display: inline-flex;
  grid-column: 2;
  grid-row: 1;
  min-height: 44px;
  margin: 0;
  color: var(--deep-ink);
  text-decoration: underline;
  text-underline-offset: 0.22em;
}
@media (max-width: 699px) {
  .help-band {
    font-size: 0.86rem;
  }
  .help-band .icon {
    display: none;
  }
}
@media (max-width: 359px) {
  .help-inner {
    grid-template-columns: 1fr;
  }
  .help-band .help-more {
    grid-column: 1;
    grid-row: auto;
    justify-self: start;
  }
}
@media (min-width: 1000px) {
  .help-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    column-gap: 24px;
  }
}
.crisis-lines {
  display: grid;
  gap: 8px;
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
}
.crisis-lines a {
  color: var(--ink);
  font-weight: 700;
  display: inline-block;
  min-height: 24px;
}
.crisis-actions .button-911 {
  grid-column: 1 / -1;
}

/* ---------- Help band scroll behaviour ---------- */
@media (max-width: 359px) {
  .brand {
    gap: 8px;
    font-size: 1.08rem;
  }
  .brand-mark {
    width: 34px;
    height: 38px;
  }
  .header-inner {
    gap: 8px;
  }
  .menu-toggle {
    gap: 8px;
    padding-inline: 12px;
  }
}
@media (min-width: 1000px) {
  :root {
    --header-h: calc(var(--help-h) + 64px);
  }
  .help-band {
    position: sticky;
    top: 0;
    z-index: 51;
    min-height: var(--help-h);
  }
  .site-header {
    top: var(--help-h);
  }
}

/* ---------- Compact support link in the sticky row ----------
 * Shown while the menu button is in use (850px and below), after the help
 * band has scrolled away. Above 850px the full nav, including Resources,
 * is visible, so the link is hidden there. */
.header-support {
  display: none;
}
@media (max-width: 850px) {
  .header-support {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    margin-left: auto;
    padding: 8px 12px;
    border: 2px solid var(--action);
    border-radius: 999px;
    color: var(--action);
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
  }
  .header-support:hover {
    background: var(--sand);
    color: var(--ink);
  }
  .header-support:focus-visible,
  .menu-toggle:focus-visible {
    outline: 3px solid var(--action);
    outline-offset: 2px;
  }
  .header-inner {
    flex-wrap: wrap;
    row-gap: 0;
  }
}
/* Icon-only menu button where the label would push the row onto two lines. */
@media (max-width: 480px) {
  .header-inner {
    column-gap: 8px;
  }
  .menu-toggle {
    justify-content: center;
    min-width: 44px;
    padding: 0;
  }
  .menu-label {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
  }
}
@media (max-width: 400px) {
  .brand {
    gap: 8px;
    font-size: 1.08rem;
  }
  .brand-mark {
    width: 34px;
    height: 38px;
  }
}
/* The "hf" mark is decorative; the wordmark and accessible name remain. */
@media (max-width: 359px) {
  .brand-mark {
    display: none;
  }
}

/* ---------- Get help now ---------- */
.support-emergency {
  padding: 18px 20px;
  border: 2px solid var(--action);
  border-radius: var(--radius-sm);
  background: var(--surface);
}
.support-emergency a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 700;
}
.support-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-block: 24px;
}
.support-topics a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.support-lines[id] {
  scroll-margin-top: 24px;
}
.support-review {
  padding-block: 48px;
}
.line-card {
  min-width: 0;
  overflow-wrap: anywhere;
}
