/* Great Falls Help — mobile-first, large type, calming earth tones, no tracking */
:root {
  --bg: #F4EFE6;
  --ink: #2A3338;
  --muted: #4A555C;
  --card: #FFFBF5;
  --line: #D8CFC2;
  --accent: #8B4A38;
  --accent-soft: #F3E5DB;
  --accent-hover: #733C2E;
  --bar: #7A3B2E;
  --bar-text: #F7F1E6;
  --bar-link: #F3D8C8;
  --bar-tile: #6E3428;
  --bar-tile-border: #8E4E40;
  --bar-muted: #F6E2D4;
  --ok: #3D5C4A;
  --ok-bg: #E3EDE6;
  --ok-hover: #2F4A3C;
  --call: #8B4A38;
  --call-bg: #F3E5DB;
  --wait: #3E5468;
  --wait-bg: #E4EAEF;
  --wait-hover: #314455;
  --voucher: #3D5C4A;
  --voucher-bg: #E3EDE6;
  --crisis: #7A3B2E;
  --crisis-bg: #F3E5DB;
  --shadow: 0 1px 3px rgba(42, 51, 56, 0.14);
  --radius: 16px;
  --max: 40rem;
}
* { box-sizing: border-box; }
html { font-size: 112.5%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
body {
  margin: 0;
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.45;
}
img, svg { max-width: 100%; }
a { color: var(--accent); }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}
.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--card);
  color: var(--ink);
  padding: 0.5rem 1rem;
  z-index: 20;
}
.skip:focus { left: 0.5rem; top: 0.5rem; }
.site-header, main, .site-footer, .wrap {
  width: min(var(--max), 100%);
  margin: 0 auto;
  padding-left: 1rem;
  padding-right: 1rem;
}
.site-header { padding-top: 1rem; padding-bottom: 0.75rem; }
.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 0.7rem;
}
.brand-mark-link {
  flex: 0 0 auto;
  display: block;
  line-height: 0;
  text-decoration: none;
}
.brand-mark {
  width: 4.4rem;
  height: 4.4rem;
  display: block;
  max-width: none;
}
.brand-text { min-width: 0; flex: 1; }
.brand-text .tagline { margin: 0; }
.kicker {
  margin: 0;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 650;
}
.site-header h1 {
  margin: 0.15rem 0 0.2rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.85rem;
  font-weight: 700;
  line-height: 1.15;
}
.tagline {
  margin: 0 0 0.7rem;
  font-size: 1.1rem;
  font-style: italic;
  color: var(--muted);
}
.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1.1rem;
  font-size: 0.95rem;
}
.nav a { font-weight: 650; text-decoration: none; }
.nav a:hover, .nav a[aria-current="page"] { text-decoration: underline; }

/* 24/7 bar */
.hotlines {
  background: var(--bar);
  color: var(--bar-text);
  padding: 0.9rem 0 1rem;
}
.hotlines .wrap { padding-left: 1rem; padding-right: 1rem; }
.hotlines h2 {
  margin: 0 0 0.55rem;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-family: inherit;
}
.hot-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem;
}
.hot-link, a.hot-link {
  display: block;
  background: var(--bar-tile);
  color: var(--bar-text);
  text-decoration: none;
  border-radius: 12px;
  padding: 0.65rem 0.7rem;
  min-height: 3rem;
  border: 1px solid var(--bar-tile-border);
}
.hot-link strong { display: block; font-size: 1.15rem; color: #FFFFFF; }
.hot-link span { display: block; font-size: 0.8rem; color: var(--bar-muted); line-height: 1.3; }
.hot-link.wide { grid-column: 1 / -1; }
.hot-note {
  margin: 0.65rem 0 0;
  font-size: 0.9rem;
  color: var(--bar-muted);
}
.shelter-line {
  margin-top: 0.7rem;
  padding-top: 0.55rem;
  border-top: 1px solid var(--bar-tile-border);
  font-size: 0.95rem;
}
.shelter-line a { color: var(--bar-link); font-weight: 700; text-decoration: none; }
.shelter-line a:hover { text-decoration: underline; }

main { padding-top: 1.1rem; padding-bottom: 2rem; min-height: 60vh; }

.progress {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 0.85rem;
  color: var(--muted);
  font-size: 0.9rem;
}
.dots { display: flex; gap: 0.3rem; }
.dots i {
  width: 0.55rem; height: 0.55rem; border-radius: 50%;
  background: var(--line); display: inline-block;
}
.dots i.on { background: var(--accent); }
.back {
  background: none;
  border: 0;
  color: var(--accent);
  font: inherit;
  font-weight: 700;
  padding: 0.35rem 0;
  min-height: 2.5rem;
  cursor: pointer;
}
h2.q {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  margin: 0 0 0.4rem;
  line-height: 1.2;
}
.hint { margin: 0 0 1rem; color: var(--muted); }

.choice {
  display: block;
  width: 100%;
  text-align: left;
  padding: 0.95rem 1rem;
  margin: 0 0 0.6rem;
  font: inherit;
  font-size: 1.12rem;
  font-weight: 650;
  border: 2px solid var(--line);
  border-radius: 14px;
  background: var(--card);
  color: var(--ink);
  min-height: 3.35rem;
  cursor: pointer;
  box-shadow: var(--shadow);
}
.choice[aria-pressed="true"] {
  border-color: var(--accent);
  background: var(--accent-soft);
  box-shadow: inset 0 0 0 1px var(--accent);
}
.choice .sub {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
  margin-top: 0.15rem;
}
.actions { margin-top: 1rem; display: flex; flex-wrap: wrap; gap: 0.6rem; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  font: inherit;
  font-weight: 700;
  font-size: 1.05rem;
  border-radius: 12px;
  padding: 0.8rem 1.1rem;
  min-height: 3.1rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  color: #FFFFFF;
  background: var(--accent);
}
.btn:hover { background: var(--accent-hover); }
.btn[disabled] { opacity: 0.45; cursor: not-allowed; }
.btn-sec {
  background: var(--card);
  color: var(--accent);
  border-color: var(--accent);
}
.btn-sec:hover { background: var(--accent-soft); }
.btn-phone { background: var(--ok); }
.btn-phone:hover { background: var(--ok-hover); }
.btn-map { background: var(--wait); }
.btn-map:hover { background: var(--wait-hover); }

.plan-intro {
  font-size: 1.15rem;
  margin: 0 0 1rem;
}
.weather {
  background: var(--wait-bg);
  border: 2px solid #9AA8B5;
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
  margin: 0 0 1.1rem;
}
.weather p { margin: 0; }
.weather a { font-weight: 700; }

.step-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1rem 1rem 1.1rem;
  margin: 0 0 1rem;
}
.step-num {
  display: inline-block;
  background: var(--accent);
  color: #FFFFFF;
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  border-radius: 999px;
  padding: 0.15rem 0.6rem;
  margin-bottom: 0.35rem;
}
.step-card h3 {
  margin: 0 0 0.35rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.3rem;
  line-height: 1.2;
}
.why {
  font-weight: 750;
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
}
.tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 750;
  letter-spacing: 0.02em;
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
  margin: 0 0.3rem 0.45rem 0;
}
.tag-walk { background: var(--ok-bg); color: var(--ok); }
.tag-call { background: var(--call-bg); color: var(--call); }
.tag-appt, .tag-apply { background: var(--wait-bg); color: var(--wait); }
.tag-voucher { background: var(--voucher-bg); color: var(--voucher); }
.tag-crisis { background: var(--crisis-bg); color: var(--crisis); }
.tag-welcome { background: var(--accent-soft); color: var(--accent); }
.step-card .body, .step-card li, .loc { color: var(--ink); }
.step-card p { margin: 0 0 0.5rem; }
.steps-ol { margin: 0.3rem 0 0.7rem; padding-left: 1.2rem; }
.steps-ol li { margin: 0 0 0.4rem; }
.loc {
  border-top: 1px solid var(--line);
  padding: 0.65rem 0 0;
  margin-top: 0.5rem;
}
.loc-name { font-weight: 750; }
.loc-meta { color: var(--muted); font-size: 0.95rem; margin: 0.15rem 0 0.45rem; }
.loc .actions, .step-card > .actions { margin-top: 0.35rem; }
.notes { color: var(--muted); font-size: 0.95rem; }

.more { margin: 1.25rem 0 0.5rem; }
.cat-block { margin: 0 0 1.75rem; }
.cat-block h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.4rem;
  margin: 0 0 0.7rem;
  padding-bottom: 0.3rem;
  border-bottom: 2px solid var(--line);
}
.print-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem;
  margin: 0 0 1rem;
  box-shadow: var(--shadow);
}
.print-card h2 { margin-top: 0; font-family: Georgia, "Times New Roman", serif; }
.muted { color: var(--muted); }
.error {
  background: var(--crisis-bg);
  color: var(--crisis);
  padding: 0.8rem 1rem;
  border-radius: 12px;
}
.site-footer {
  padding: 1.25rem 1rem 2.25rem;
  color: var(--muted);
  font-size: 0.95rem;
  border-top: 1px solid var(--line);
}
.site-footer p { margin: 0 0 0.4rem; }
.site-footer .heart {
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  color: var(--ink);
  font-size: 1.05rem;
}
@media (min-width: 640px) {
  .hot-grid { grid-template-columns: 1fr 1fr 1fr; }
  .hot-link.wide { grid-column: auto; }
}

/* For churches */
.churches-callout {
  background: var(--ok-bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem 1rem 1.15rem;
  margin: 1.75rem 0 0;
}
.churches-callout h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.3rem;
  margin: 0.15rem 0 0.4rem;
  line-height: 1.2;
}
.churches-callout p { margin: 0 0 0.45rem; }
.pack-hero {
  background: var(--accent-soft);
  border: 2px solid var(--accent);
  border-radius: var(--radius);
  padding: 1.15rem 1rem 1.2rem;
  margin: 0 0 1.25rem;
}
.pack-hero h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.4rem;
  margin: 0.1rem 0 0.4rem;
  line-height: 1.2;
}
.pack-hero p { margin: 0 0 0.5rem; }
.pack-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem;
  margin: 0 0 0.85rem;
  box-shadow: var(--shadow);
}
.pack-item h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
  margin: 0 0 0.35rem;
  line-height: 1.25;
}
.pack-item p { margin: 0 0 0.5rem; }
.btn-block {
  width: 100%;
}
.btn-sage { background: var(--ok); color: #FFFFFF; }
.btn-sage:hover { background: var(--ok-hover); }

.suggest-link {
  margin: 0.7rem 0 0;
  font-size: 0.9rem;
}
.suggest-link a { color: var(--muted); }
.suggest-link a:hover { color: var(--accent); }
.optional { font-weight: 500; color: var(--muted); font-size: 0.9rem; }
.suggest-form {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem 1rem 1.25rem;
  box-shadow: var(--shadow);
  margin: 0 0 1.25rem;
}
.suggest-form label {
  display: block;
  font-weight: 700;
  margin: 0 0 0.35rem;
}
.suggest-form p { margin: 0 0 1rem; }
.suggest-form select,
.suggest-form textarea,
.suggest-form input[type="email"],
.suggest-form input[type="text"] {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: #FFFBF5;
  border: 2px solid var(--line);
  border-radius: 12px;
  padding: 0.7rem 0.8rem;
}
.suggest-form select { min-height: 3.1rem; }
.suggest-form textarea { resize: vertical; min-height: 8rem; }
.suggest-form select:focus,
.suggest-form textarea:focus,
.suggest-form input:focus {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-color: var(--accent);
}
.hp {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.site-footer a { color: var(--accent); }

.crisis-help {
  background: var(--crisis-bg);
  border: 2px solid var(--crisis);
  border-radius: var(--radius);
  padding: 1.1rem 1rem 1.15rem;
  margin: 1rem 0 1.25rem;
}
.crisis-help h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  margin: 0 0 0.45rem;
  color: var(--crisis);
}
.crisis-help p { margin: 0 0 0.5rem; }
.crisis-help .btn { margin: 0.15rem 0 0.35rem; }

.prayer-callout {
  background: var(--accent-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.05rem 1rem 1.1rem;
  margin: 1.5rem 0 0;
}
.prayer-callout p { margin: 0 0 0.45rem; }
.check-row label {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-weight: 650;
}
.check-row input[type="checkbox"] {
  width: 1.2rem;
  height: 1.2rem;
  margin-top: 0.2rem;
  flex-shrink: 0;
}
.pledge-text {
  margin: 0 0 1rem;
  padding: 0.85rem 0.9rem;
  background: var(--ok-bg);
  border-left: 4px solid var(--ok);
  border-radius: 8px;
  color: var(--ink);
}
