/* ============================================================
   Depression Treatment Finder
   Design direction: "The Throughline"
   A calm, well-funded digital-health finder. Deep evergreen +
   soft sage paper + a sparing amber accent. Newsreader (serif,
   editorial) paired with Hanken Grotesk (warm grotesque UI).
   Signature element: a routed "path" with nodes that threads
   the finder journey and echoes in the wordmark and headings.
   ============================================================ */

:root {
  /* palette */
  --evergreen:   #14453b;
  --evergreen-2: #1d5c4d;
  --sage:        #7fa591;
  --mist:        #dfe9e0;
  --paper:       #eef0e9;
  --surface:     #fbfcf9;
  --line:        #dbe0d5;
  --line-2:      #ccd4c6;
  --ink:         #152a26;
  --ink-soft:    #55635c;
  --amber:       #d98b3f;
  --amber-soft:  #eec38a;
  --footer:      #0f221d;

  /* type */
  --serif: 'Newsreader', Georgia, 'Times New Roman', serif;
  --sans:  'Hanken Grotesk', system-ui, -apple-system, sans-serif;

  /* form */
  --shadow:    0 22px 50px -24px rgba(20, 60, 50, 0.34);
  --shadow-sm: 0 12px 26px -18px rgba(20, 60, 50, 0.28);
  --r-lg: 20px;
  --r-md: 14px;
  --r-sm: 10px;
  --measure: 66ch;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body { overflow-x: hidden; max-width: 100%; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  font-size: 17.5px;
  line-height: 1.72;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--amber-soft); color: var(--ink); }

h1, h2, h3, h4, h5 {
  font-family: var(--serif);
  color: var(--ink);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0;
}

p { margin: 0 0 1.05em; }

a { color: var(--evergreen-2); text-decoration: none; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 26px; }
.reading { max-width: 730px; }

/* ---------- utility: the route node marker ---------- */
.node-mark {
  display: inline-block; width: 9px; height: 9px; border-radius: 50%;
  border: 2px solid var(--evergreen); background: var(--amber);
  box-sizing: border-box; flex: none;
}

/* ---------- Crisis strip ---------- */
.crisis {
  background: var(--footer);
  color: #d7e4dd;
  font-size: 13.5px;
  letter-spacing: 0.01em;
  text-align: center;
  padding: 9px 18px;
}
.crisis a { color: var(--amber-soft); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.crisis a:hover { color: #fff; }

/* ---------- Brand lockup ---------- */
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); }
.brand .mark { flex: none; display: block; width: 34px; height: 34px; }
.brand .mark svg { display: block; width: 34px; height: 34px; }
.brand .mark rect { fill: var(--evergreen); }
.brand .mark path { stroke: var(--paper); }
.brand .mark .n1 { fill: var(--sage); }
.brand .mark .n2 { fill: var(--amber); }
.brand .wordmark {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 16.5px;
  letter-spacing: -0.005em;
  line-height: 1.1;
  color: var(--ink);
}
.brand .wordmark b { font-weight: 800; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(238, 240, 233, 0.82);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px; padding: 15px 26px; max-width: 1120px; margin: 0 auto;
}
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a {
  position: relative; color: var(--ink-soft);
  font-size: 15px; font-weight: 500; letter-spacing: 0.005em;
  padding: 4px 0;
}
.nav-links a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -1px;
  height: 1.5px; background: var(--evergreen); transition: right .28s ease;
}
.nav-links a:not(.btn):hover { color: var(--evergreen); }
.nav-links a:not(.btn):hover::after { right: 0; }
.nav-links .btn { padding: 10px 18px; font-size: 14.5px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--sans); font-weight: 700; font-size: 15.5px;
  letter-spacing: 0.005em;
  padding: 14px 26px; border-radius: var(--r-sm);
  cursor: pointer; border: 1.5px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
}
.btn .arw { transition: transform .2s ease; }
.btn:hover .arw { transform: translateX(3px); }
.btn-primary { background: var(--evergreen); color: #f4f7f2; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: #0f382f; transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-ghost { background: transparent; color: var(--evergreen); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--evergreen); background: var(--mist); }
.btn-amber { background: var(--amber); color: #2a1806; box-shadow: var(--shadow-sm); }
.btn-amber:hover { background: #c87d33; transform: translateY(-2px); }

/* ---------- Eyebrow ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--sans); font-size: 12px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--evergreen); background: var(--mist);
  padding: 7px 15px 7px 12px; border-radius: 999px; border: 1px solid var(--line);
}
.eyebrow::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  border: 2px solid var(--evergreen); background: var(--amber); flex: none;
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 78px 0 66px; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(680px 420px at 88% -8%, rgba(127,165,145,0.30), transparent 62%),
    radial-gradient(560px 460px at -6% 108%, rgba(217,139,63,0.10), transparent 58%);
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 54px; align-items: center;
}
.hero h1 {
  font-size: clamp(2.5rem, 5.6vw, 4rem);
  font-weight: 500; line-height: 1.03; letter-spacing: -0.022em;
  margin: 22px 0 20px; max-width: 15ch;
}
.hero h1 em { font-style: italic; color: var(--evergreen); font-weight: 500; }
.hero p.lead {
  font-size: 1.22rem; line-height: 1.6; color: var(--ink-soft);
  max-width: 48ch; margin: 0 0 30px;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 13px; }
.hero-aside { position: relative; }

/* Signature: the routed path panel in the hero */
.route-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 30px 30px 26px;
  box-shadow: var(--shadow);
}
.route-card .rc-label {
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--ink-soft); margin-bottom: 20px;
}
.route-list { list-style: none; margin: 0; padding: 0; position: relative; }
.route-list::before {
  content: ""; position: absolute; left: 11px; top: 12px; bottom: 12px;
  width: 2px; background: linear-gradient(var(--line-2), var(--sage));
}
.route-list li {
  position: relative; padding: 0 0 22px 40px; display: block;
}
.route-list li:last-child { padding-bottom: 0; }
.route-list li::before {
  content: ""; position: absolute; left: 4px; top: 3px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--surface); border: 2px solid var(--sage);
  box-shadow: 0 0 0 4px var(--surface);
}
.route-list li:last-child::before {
  border-color: var(--evergreen); background: var(--amber);
}
.route-list b { display: block; font-family: var(--serif); font-weight: 600; font-size: 1.08rem; color: var(--ink); letter-spacing: -0.01em; }
.route-list span { font-size: 0.92rem; color: var(--ink-soft); }

/* Hero trust panel (distinct from the how-it-works path) */
.trust-card {
  position: relative;
  background:
    radial-gradient(340px 200px at 100% 0%, rgba(127,165,145,0.14), transparent 62%),
    var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px 30px 26px;
  box-shadow: var(--shadow);
}
.trust-card::before {
  content: ""; position: absolute; left: 0; top: 26px; bottom: 26px; width: 3px;
  border-radius: 0 3px 3px 0;
  background: linear-gradient(var(--evergreen), var(--sage));
}
.trust-card .tc-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid var(--line);
}
.trust-card .tc-title {
  font-family: var(--serif); font-weight: 600; font-size: 1.16rem;
  color: var(--ink); letter-spacing: -0.01em;
}
.trust-card .tc-tag {
  font-family: var(--sans); font-size: 10.5px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--evergreen-2);
  background: var(--mist); border: 1px solid var(--line);
  padding: 4px 10px; border-radius: 999px; white-space: nowrap;
}
.fact-list { list-style: none; margin: 0; padding: 0; }
.fact-list li {
  position: relative; padding: 0 0 15px 34px; font-size: 0.99rem;
  color: var(--ink); line-height: 1.5;
}
.fact-list li:last-child { padding-bottom: 0; }
.fact-list li b { font-weight: 700; }
.fact-list li span { display: block; font-size: 0.88rem; color: var(--ink-soft); margin-top: 1px; }
.fact-list li::before {
  content: ""; position: absolute; left: 0; top: 1px;
  width: 21px; height: 21px; border-radius: 50%;
  background: var(--evergreen);
  box-shadow: 0 0 0 4px rgba(20,69,59,0.08);
}
.fact-list li::after {
  content: ""; position: absolute; left: 6.5px; top: 7px;
  width: 8px; height: 5px; border-left: 2px solid var(--amber-soft);
  border-bottom: 2px solid var(--amber-soft);
  transform: rotate(-45deg);
}

/* ---------- Section shell ---------- */
section.block { padding: 68px 0; }
section.block + section.block { padding-top: 0; }
.section-head { max-width: 60ch; margin-bottom: 38px; }
.section-head .kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--evergreen-2);
}
.section-head .kicker::before {
  content: ""; width: 22px; height: 2px; background: var(--amber); border-radius: 2px;
}
.section-head h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.7rem); font-weight: 500;
  letter-spacing: -0.018em; margin: 14px 0 12px; line-height: 1.08;
}
.section-head p { color: var(--ink-soft); font-size: 1.08rem; margin: 0; max-width: 56ch; }
.section-head a { color: var(--evergreen-2); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-2); }
.section-head a:hover { text-decoration-color: var(--amber); }

/* ---------- Signature path: How it works (steps as stations) ---------- */
.steps {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px;
  position: relative; padding-top: 6px;
}
.steps::before {
  content: ""; position: absolute; top: 29px; left: 16%; right: 16%;
  height: 2px; background: linear-gradient(90deg, var(--sage), var(--line-2));
  z-index: 0;
}
.step { position: relative; z-index: 1; }
.step .num {
  width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--serif); font-weight: 600; font-size: 20px;
  color: var(--evergreen); background: var(--surface);
  border: 2px solid var(--sage); box-shadow: 0 0 0 6px var(--paper);
  margin-bottom: 20px;
}
.step:last-child .num {
  border-color: var(--evergreen); color: var(--evergreen);
  background:
    radial-gradient(circle at 50% 50%, transparent 58%, rgba(217,139,63,0.16) 59%, transparent 72%),
    var(--surface);
}
.step h3 { font-size: 1.32rem; font-weight: 600; margin: 0 0 9px; letter-spacing: -0.01em; }
.step p { margin: 0; color: var(--ink-soft); font-size: 1rem; }

/* ---------- Quick match (editorial pairs) ---------- */
.match-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 0 46px;
  border-top: 1px solid var(--line);
}
.match {
  padding: 28px 0 30px; border-bottom: 1px solid var(--line);
}
.match .tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--ink-soft);
}
.match .tag::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--evergreen);
}
.match:nth-child(2) .tag::before,
.match:nth-child(3) .tag::before { background: var(--sage); }
.match:nth-child(4) .tag::before { background: var(--amber); }
.match h3 { font-family: var(--serif); font-weight: 500; font-size: 1.34rem; line-height: 1.24; margin: 12px 0 12px; letter-spacing: -0.005em; }
.match p { margin: 0 0 16px; color: var(--ink-soft); font-size: 1.01rem; }
.match .maybe {
  font-size: 0.9rem; font-weight: 600; color: var(--evergreen);
  padding: 9px 14px; background: var(--mist); border-radius: var(--r-sm);
  display: inline-block; border: 1px solid var(--line);
}

/* ---------- Directory listings ---------- */
.disclose {
  font-size: 13.5px; color: var(--ink-soft); background: var(--surface);
  border: 1px solid var(--line); border-left: 3px solid var(--sage);
  border-radius: var(--r-sm); padding: 14px 18px; margin-bottom: 26px;
  line-height: 1.6;
}
.disclose strong { color: var(--ink); }

.listing {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 28px 30px; margin-bottom: 16px;
  display: grid; grid-template-columns: 1fr auto; gap: 8px 24px; align-items: start;
  box-shadow: var(--shadow-sm);
}
.listing.featured {
  background:
    radial-gradient(520px 260px at 100% 0%, rgba(29,92,77,0.10), transparent 64%),
    var(--surface);
  border: 1.5px solid var(--evergreen);
  box-shadow: var(--shadow);
}
.listing h3 { font-family: var(--serif); font-weight: 600; font-size: 1.42rem; margin: 0 0 3px; letter-spacing: -0.01em; }
.listing .loc { font-size: 0.88rem; font-weight: 600; color: var(--evergreen-2); letter-spacing: 0.02em; margin: 0 0 12px; }
.listing p { grid-column: 1 / -1; margin: 4px 0 0; color: var(--ink-soft); font-size: 1rem; }
.listing .badges { grid-column: 1; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.listing .act { grid-column: 2; grid-row: 1 / 3; align-self: center; text-align: right; }
.listing .act .btn { padding: 11px 20px; font-size: 14.5px; }

.pill {
  font-size: 12px; font-weight: 600; padding: 6px 12px; border-radius: 999px;
  background: var(--mist); color: var(--evergreen); border: 1px solid var(--line);
  letter-spacing: 0.01em;
}
.pill.feat { background: var(--evergreen); color: #eef7f2; border-color: var(--evergreen); }
.pill.spons { background: var(--amber); color: #2a1806; border-color: var(--amber); }

/* ---------- Recommended local module ---------- */
.local {
  position: relative; overflow: hidden;
  background:
    radial-gradient(460px 300px at 92% -20%, rgba(127,165,145,0.32), transparent 60%),
    linear-gradient(150deg, #16493e, #0f342c);
  color: #eaf1ec; border-radius: 24px; padding: 46px 46px;
  box-shadow: var(--shadow);
}
.local::after {
  content: ""; position: absolute; right: 34px; bottom: -46px;
  width: 190px; height: 190px; border-radius: 50%;
  border: 2px solid rgba(238,195,138,0.28);
  box-shadow: inset 0 0 0 22px rgba(127,165,145,0.10);
}
.local .kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--amber-soft);
}
.local .kicker::before { content: ""; width: 22px; height: 2px; background: var(--amber); border-radius: 2px; }
.local h2 { color: #fff; font-weight: 500; font-size: clamp(1.7rem, 3.4vw, 2.35rem); letter-spacing: -0.018em; margin: 14px 0 14px; max-width: 20ch; position: relative; }
.local p { color: #cfe0d7; max-width: 58ch; margin: 0 0 24px; position: relative; }
.local .btn-amber { position: relative; }
.local .note { font-size: 12.5px; color: #a9c2b7; margin: 18px 0 0; max-width: 60ch; position: relative; }

/* ---------- Article ---------- */
.article-hero { padding: 60px 0 20px; position: relative; }
.article-hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(620px 320px at 12% -30%, rgba(127,165,145,0.20), transparent 60%);
  pointer-events: none;
}
.article-hero .wrap { position: relative; z-index: 1; }
.article-hero .eyebrow { margin-bottom: 22px; }
.article-hero h1 {
  font-size: clamp(2.05rem, 4.6vw, 3.15rem); font-weight: 500;
  letter-spacing: -0.02em; line-height: 1.06; max-width: 21ch;
}
.article-hero .meta {
  margin: 20px 0 0; font-size: 0.92rem; color: var(--ink-soft);
  display: inline-flex; align-items: center; gap: 10px;
  padding-top: 18px; border-top: 1px solid var(--line);
}

article.body { padding: 20px 0 30px; }
article.body .reading > p:first-of-type {
  font-family: var(--serif); font-weight: 400;
  font-size: 1.34rem; line-height: 1.5; color: var(--ink);
  letter-spacing: -0.005em; margin-bottom: 1.4em;
}
article.body p, article.body ul, article.body ol { color: #33403b; font-size: 1.075rem; }
article.body h2 {
  font-size: 1.72rem; font-weight: 500; letter-spacing: -0.015em;
  margin: 46px 0 14px; padding-top: 4px; position: relative;
}
article.body h2::before {
  content: ""; display: block; width: 30px; height: 3px;
  background: var(--amber); border-radius: 2px; margin-bottom: 18px;
}
article.body h3 { font-size: 1.28rem; font-weight: 600; margin: 30px 0 8px; }
article.body a { color: var(--evergreen-2); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-2); }
article.body a:hover { text-decoration-color: var(--amber); }
article.body strong { color: var(--ink); font-weight: 700; }
article.body em { font-style: italic; }

article.body ul, article.body ol { padding-left: 0; margin: 0 0 1.2em; list-style: none; }
article.body ul li, article.body ol li {
  position: relative; padding-left: 30px; margin-bottom: 12px;
}
article.body ul li::before {
  content: ""; position: absolute; left: 4px; top: 0.62em;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--surface); border: 2px solid var(--evergreen);
}
article.body ol { counter-reset: li; }
article.body ol li { counter-increment: li; }
article.body ol li::before {
  content: counter(li); position: absolute; left: 0; top: 0;
  font-family: var(--serif); font-weight: 600; font-size: 0.9rem;
  color: var(--evergreen); width: 20px; text-align: center;
}

/* Callout */
.callout {
  background:
    radial-gradient(340px 160px at 100% 0%, rgba(127,165,145,0.14), transparent 60%),
    var(--surface);
  border: 1px solid var(--line); border-left: 3px solid var(--amber);
  border-radius: var(--r-md); padding: 22px 26px; margin: 30px 0;
  box-shadow: var(--shadow-sm); font-size: 1.04rem;
}
.callout strong { color: var(--ink); }
.callout a { color: var(--evergreen-2); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Finder: guided stations ---------- */
.finder-index {
  display: flex; flex-wrap: wrap; gap: 9px;
  margin: 8px 0 6px; padding: 18px 0 26px;
  border-bottom: 1px solid var(--line);
}
.finder-index .fi-label {
  flex: 1 0 100%; font-size: 11.5px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--ink-soft); margin-bottom: 4px;
}
.finder-index a {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--sans); font-size: 14px; font-weight: 600;
  color: var(--evergreen); background: var(--surface);
  border: 1px solid var(--line-2); border-radius: 999px;
  padding: 8px 15px 8px 12px; text-decoration: none;
  transition: border-color .2s ease, background .2s ease, transform .2s ease, box-shadow .2s ease;
}
.finder-index a .n {
  font-family: var(--serif); font-weight: 600; font-size: 12.5px;
  width: 20px; height: 20px; border-radius: 50%; flex: none;
  display: grid; place-items: center; color: #f4f7f2; background: var(--evergreen);
}
.finder-index a:hover {
  border-color: var(--evergreen); background: var(--mist);
  transform: translateY(-1px); box-shadow: var(--shadow-sm);
}

.finder-path { position: relative; margin: 34px 0 8px; padding-left: 8px; }
.finder-path::before {
  content: ""; position: absolute; left: 30px; top: 26px; bottom: 40px; width: 2px;
  background: linear-gradient(var(--sage), var(--line-2));
}
.station { position: relative; padding: 0 0 26px 74px; scroll-margin-top: 84px; }
.station:last-child { padding-bottom: 0; }
.station .st-node {
  position: absolute; left: 0; top: 4px;
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--serif); font-weight: 600; font-size: 19px;
  color: var(--evergreen); background: var(--surface);
  border: 2px solid var(--sage); box-shadow: 0 0 0 6px var(--paper);
  z-index: 1;
}
.station.urgent .st-node { border-color: var(--amber); color: #a8631f;
  background: radial-gradient(circle at 50% 50%, rgba(217,139,63,0.12), var(--surface) 70%); }
.station.final .st-node { border-color: var(--evergreen); background: var(--evergreen); color: #f4f7f2; }
.st-card {
  background:
    radial-gradient(360px 180px at 100% 0%, rgba(127,165,145,0.09), transparent 62%),
    var(--surface);
  border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 24px 28px 26px; box-shadow: var(--shadow-sm);
  transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}
.station:target .st-card,
.st-card:hover { border-color: var(--line-2); box-shadow: var(--shadow); transform: translateY(-2px); }
.station.featured-station .st-card { border-color: rgba(20,69,59,0.35); }
.st-card .st-eyebrow {
  font-family: var(--sans); font-size: 11.5px; font-weight: 700;
  letter-spacing: 0.13em; text-transform: uppercase; color: var(--evergreen-2);
  display: block; margin-bottom: 6px;
}
article.body .st-card h2 {
  font-size: 1.5rem; font-weight: 600; letter-spacing: -0.015em;
  line-height: 1.14; margin: 0 0 12px; padding: 0;
}
article.body .st-card h2::before { display: none; }
.st-card p { color: #33403b; font-size: 1.04rem; margin: 0 0 0.95em; }
.st-card p:last-child { margin-bottom: 0; }
.st-card ul { list-style: none; padding: 0; margin: 0 0 1em; }
.st-card ul li { position: relative; padding-left: 28px; margin-bottom: 11px; font-size: 1.02rem; color: #33403b; }
.st-card ul li::before {
  content: ""; position: absolute; left: 3px; top: 0.6em;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--surface); border: 2px solid var(--evergreen);
}
.st-card a { color: var(--evergreen-2); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-2); }
.st-card a:hover { text-decoration-color: var(--amber); }
.st-card strong { color: var(--ink); font-weight: 700; }
.fit-row {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 12px;
  margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--line-2);
}
.fit-row .fit-key {
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-soft);
}
.fit-chip {
  font-family: var(--sans); font-size: 13px; font-weight: 600;
  color: var(--evergreen); background: var(--mist);
  border: 1px solid var(--line); border-radius: 999px; padding: 5px 13px;
}
.station.urgent .fit-chip { background: rgba(217,139,63,0.14); border-color: var(--amber-soft); color: #9a5a1c; }

/* provider listing: independent (non-featured) tag in place of a link */
.listing .indep {
  grid-column: 2; grid-row: 1 / 3; align-self: center; text-align: right;
  font-size: 11.5px; font-weight: 600; letter-spacing: 0.04em;
  color: var(--ink-soft); white-space: nowrap;
}
.listing .indep::before {
  content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%;
  background: var(--sage); margin-right: 7px; vertical-align: middle;
}

/* match cards: subtle interactive lift */
.match { transition: transform .2s ease; }
.match h3 { transition: color .2s ease; }

/* featured listing: crest accent */
.listing.featured::after {
  content: ""; position: absolute; inset: 0; border-radius: var(--r-lg);
  pointer-events: none; box-shadow: inset 0 0 0 1px rgba(20,69,59,0.14);
}
.listing.featured { position: relative; }

/* Read next / related index */
.related {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 10px;
}
.related a {
  display: flex; flex-direction: column; gap: 8px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 22px 22px 46px; color: var(--ink);
  position: relative; transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.related a:hover { border-color: var(--evergreen); transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.related .tag {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase;
  color: var(--evergreen-2);
}
.related .tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--amber); }
.related h4 { font-family: var(--serif); font-weight: 500; font-size: 1.12rem; line-height: 1.25; margin: 0; letter-spacing: -0.005em; }
.related a::after {
  content: "\2192"; position: absolute; left: 22px; bottom: 18px;
  color: var(--evergreen); font-size: 1.05rem; opacity: 0.55; transition: transform .2s ease, opacity .2s ease;
}
.related a:hover::after { transform: translateX(4px); opacity: 1; }

/* ---------- Footer ---------- */
footer.site {
  margin-top: 78px; background: var(--footer); color: #b7c9c0;
  padding: 58px 0 34px;
}
footer.site .cols { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; }
footer.site .brand { color: #fff; margin-bottom: 14px; }
footer.site .brand .wordmark { color: #fff; }
footer.site .brand .mark rect { fill: var(--evergreen-2); }
footer.site .brand .mark path { stroke: #eaf1ec; }
footer.site .foot-blurb { color: #8ea79c; font-size: 14px; max-width: 34ch; line-height: 1.6; margin: 0; }
footer.site h5 {
  color: #fff; font-family: var(--sans); font-weight: 700;
  font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; margin: 0 0 16px;
}
footer.site a { color: #b7c9c0; display: block; margin-bottom: 9px; font-size: 14.5px; transition: color .18s ease; }
footer.site a:hover { color: var(--amber-soft); }
footer.site .disclaimer {
  border-top: 1px solid #24382f; margin-top: 36px; padding-top: 22px;
  font-size: 12.5px; color: #7c948a; line-height: 1.68; max-width: 95ch;
}

/* ---------- Focus + motion ---------- */
a:focus-visible, .btn:focus-visible, .nav-links a:focus-visible {
  outline: 2.5px solid var(--amber); outline-offset: 3px; border-radius: 4px;
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .hero-aside { max-width: min(460px, 100%); }
  .route-card { width: 100%; }
  footer.site .cols { grid-template-columns: 1fr 1fr; }
  footer.site .cols > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  body { font-size: 17px; }
  .hero { padding: 54px 0 48px; }
  section.block { padding: 52px 0; }
  .steps { grid-template-columns: 1fr; gap: 0; padding-left: 8px; }
  .steps::before { top: 26px; bottom: 26px; left: 33px; right: auto; width: 2px; height: auto; }
  .step { display: grid; grid-template-columns: 52px 1fr; gap: 4px 20px; padding-bottom: 30px; }
  .step .num { grid-row: 1 / 3; margin-bottom: 0; box-shadow: 0 0 0 6px var(--paper); }
  .step:last-child .num::after { display: none; }
  .step h3 { align-self: center; margin: 0; }
  .step p { grid-column: 2; }
  .match-grid { grid-template-columns: 1fr; }
  .match { padding: 24px 0 24px; }
  .related { grid-template-columns: 1fr; }
  .listing { grid-template-columns: 1fr; padding: 24px; }
  .listing .act { grid-column: 1; grid-row: auto; text-align: left; margin-top: 8px; }
  .local { padding: 34px 26px; }
  .local::after { display: none; }
  article.body h2 { margin-top: 38px; }
  .finder-path { padding-left: 0; }
  .finder-path::before { left: 21px; bottom: 30px; }
  .station { padding-left: 58px; }
  .station .st-node { width: 42px; height: 42px; font-size: 17px; }
  .st-card { padding: 22px 20px 22px; }
  article.body .st-card h2 { font-size: 1.34rem; margin-top: 0; }
  .trust-card .tc-head { flex-wrap: wrap; }
}
@media (max-width: 460px) {
  .listing .indep { grid-column: 1; grid-row: auto; text-align: left; margin-top: 6px; }
}
@media (max-width: 620px) {
  .nav-inner { justify-content: center; }
  .nav-links { display: none; }
}
@media (max-width: 420px) {
  .brand .wordmark { font-size: 15px; }
  .nav-links .btn { padding: 9px 14px; }
}

