/* =========================================================================
   Start Here — audience lane pages (community / municipalities / businesses /
   funders / press). A shared color + icon + accent layer on top of the base
   .lane-* / .audience-* rules that live in foundation.css + layout.css.

   Loaded LAST on each lane page so these enhancements win at equal specificity.
   All colors come from foundation.css / design-system.css tokens (the few
   inline hex values are the same green/teal/amber accents used on the About,
   Policy, Atlas, and Start Here index cards).
   ========================================================================= */

/* ---- Section headings: a short warm accent rule above each title -------- */
.lane-section h2::before,
.audience-panel h2::before {
  content: "";
  display: block;
  width: 42px;
  height: 3px;
  margin-bottom: 14px;
  border-radius: 2px;
  background: var(--hvb-amber);
}

/* ---- Lists -> a grid of green-check cards ------------------------------- */
/* The lane pages are list-heavy; turning the flat bulleted lists into a
   two-column grid of check cards fills the dead space and reads as a warm,
   scannable list of benefits instead of a wall of text. */
.audience-list,
.lane-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px 40px;
  margin-top: 18px;
}
/* De-carded: checks + text sit on the page background as a clean, scannable
   list (was a white drop-shadow card per item — three of those grids stacked
   read as a wall of cards). A hairline divider gives rhythm without boxes. */
.audience-list li,
.lane-list li {
  position: relative;
  padding: 11px 6px 11px 36px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(14, 59, 46, 0.08);
  border-radius: 0;
  box-shadow: none;
  color: var(--hvb-slate);
  line-height: 1.5;
}
/* Replace the "›" / "—" / "•" glyph markers with a tinted check icon. */
.audience-list li::before,
.lane-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 22px;
  height: 22px;
  border-radius: 7px;
  background-color: rgba(46, 125, 82, 0.12);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232e7d52' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 14px 14px;
}
@media (max-width: 640px) {
  .audience-list,
  .lane-list {
    grid-template-columns: 1fr;
    gap: 0 0;
  }
}

/* ---- "How it works" -> numbered accent step cards ---------------------- */
.lane-steps {
  counter-reset: lane-step;
}
.lane-steps .lane-step {
  --accent: var(--hvb-green);
  position: relative;
  counter-increment: lane-step;
  border-top: 3px solid var(--accent);
  overflow: hidden;
}
/* Large, faint number watermark in the corner (01 / 02 / 03). Absolutely
   positioned, so it doesn't push text out of the way on its own — the
   heading needs its own reserved padding (below) or a long, multi-line
   "Step 2 - ..." title wraps straight through the numeral. */
.lane-steps .lane-step::before {
  content: counter(lane-step, decimal-leading-zero);
  position: absolute;
  top: 4px;
  right: 14px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 46px;
  line-height: 1;
  color: var(--accent);
  opacity: 0.16;
  pointer-events: none;
}
.lane-steps .lane-step:nth-child(1) { --accent: #0e3b2e; }
.lane-steps .lane-step:nth-child(2) { --accent: #1f6f62; }
.lane-steps .lane-step:nth-child(3) { --accent: #cf8a2b; }
.lane-step h3 {
  color: var(--hvb-green);
  font-size: 1.05rem;
  /* Reserve room for the corner numeral so multi-line titles (e.g. "Step 2 -
     Grant-ready package (8-10 weeks)") wrap clear of it instead of running
     underneath. */
  padding-right: 52px;
}
@media (max-width: 480px) {
  /* Narrow single-column cards: shrink the watermark and reserve less, so
     it stays a subtle corner flourish instead of dominating the card. */
  .lane-steps .lane-step::before {
    font-size: 32px;
  }
  .lane-step h3 {
    padding-right: 40px;
  }
}

/* ---- Proof links -> accent cards with a site photo + hover arrow ---------
   Each card links to a system/policy/report page; the thumbnail is that
   destination's own hero photo, so the proof reads as concrete places, not a
   list of titles. Flex row: photo | label | arrow. */
.proof-link {
  position: relative;
  display: flex;
  align-items: stretch;
  gap: 0;
  padding: 0;
  overflow: hidden;
  border-left: 3px solid var(--hvb-teal);
  box-shadow: var(--shadow-1);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.proof-link__thumb {
  flex: 0 0 78px;
  width: 78px;
  align-self: stretch;
  min-height: 74px;
  background: var(--hvb-mist);
  overflow: hidden;
}
.proof-link__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.proof-link:hover .proof-link__thumb img {
  transform: scale(1.06);
}
.proof-link__label {
  flex: 1 1 auto;
  align-self: center;
  padding: 14px 40px 14px 16px;
  font-weight: 600;
  color: var(--hvb-green);
  line-height: 1.35;
}
.proof-link::after {
  content: "\2192"; /* → */
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--hvb-teal);
  font-weight: 700;
  transition: transform 0.18s ease;
}
.proof-link:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-level-2);
  outline: none;
}
.proof-link:hover::after {
  transform: translate(3px, -50%);
}

/* ---- FAQ -> accented accordion with a +/- marker ---------------------- */
.faq-grid details {
  border-left: 3px solid var(--hvb-teal);
  box-shadow: var(--shadow-1);
  transition: box-shadow 0.18s ease;
}
.faq-grid details[open] {
  box-shadow: var(--shadow-level-2);
}
.faq-grid summary {
  list-style: none;
  position: relative;
  padding-right: 30px;
  color: var(--hvb-green);
}
.faq-grid summary::-webkit-details-marker {
  display: none;
}
.faq-grid summary::after {
  content: "+";
  position: absolute;
  right: 2px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  line-height: 1;
  color: var(--hvb-teal);
}
.faq-grid details[open] summary::after {
  content: "\2013"; /* – */
}

/* ---- Press fast-links (migrated out of the inline <style> on press.html) */
.press-fast-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 18px;
}
.press-fast-links-grid .card {
  margin: 0;
  min-height: 0;
  background: #fff;
  border-top: 3px solid var(--hvb-teal);
  display: flex;
  flex-direction: column;
}
/* .card is hit by body.page-marketing .card (specificity 0,2,1), which
   flattens the teal top-border color — restore it at matching scope. */
body.page-marketing .press-fast-links-grid .card {
  border-top-color: var(--hvb-teal);
}
.press-fast-links-grid .card h3 {
  margin: 0 0 6px;
  color: var(--hvb-green);
}
.press-fast-links-grid .card p {
  margin: 0 0 12px;
  color: var(--hvb-slate);
}
.press-fast-links-grid .link-cta {
  margin-top: auto;
  font-weight: 700;
  color: var(--hvb-teal);
  text-decoration: none;
}
.press-fast-links-grid .link-cta::after {
  content: " \2192"; /* → */
}
.press-fast-links-grid .link-cta:hover {
  text-decoration: underline;
}

/* ---- Lane sections: lighter, tighter rhythm -------------------------------
   The .lane-section white bands (52px padding-block from
   `body.page-marketing section` + 32px margins from layout.css) stacked into
   heavy, choppy gaps, and white check-cards on a white band lost contrast.
   Drop the banding so sections sit on the page background like the community
   page — lighter, tighter, with real card contrast. */
body.page-marketing .lane-section {
  background: transparent;
  box-shadow: none;
  border: 0;
  margin-block: 0;
  padding-block: 30px;
}

/* ---- "By the numbers" anchor band ----------------------------------------
   One per lane page, first thing after the hero: a tinted band carrying the
   canonical .stat-strip with audience-relevant figures pulled from the reports.
   Gives each router page a visual anchor + proof, and breaks the section
   rhythm so the page doesn't read as one flat column. Placed after the
   .lane-section transparent-background rule so this tint wins at equal
   specificity. */
body.page-marketing .lane-stats {
  background: linear-gradient(180deg, rgba(31, 111, 98, 0.06), rgba(31, 111, 98, 0.02));
  border-block: 1px solid rgba(14, 59, 46, 0.08);
  padding-block: 26px;
  margin-bottom: 6px;
}
.lane-stats .stat-strip {
  margin: 0;
}
.lane-stats__note {
  margin: 14px 0 0;
  font-size: 13.5px;
  color: var(--hvb-slate);
}

/* ---- Closing CTA: a light, friendly green panel (was a heavy dark band) --- */
body.page-marketing .lane-cta {
  margin-block: 22px;
  padding-block: 30px;
  background: linear-gradient(135deg, rgba(31, 111, 98, 0.14), rgba(31, 111, 98, 0.05));
  color: var(--hvb-green);
  border: 1px solid rgba(14, 59, 46, 0.14);
  box-shadow: var(--shadow-1);
}
body.page-marketing .lane-cta .lane-cta__copy {
  color: var(--hvb-slate);
}
body.page-marketing .lane-cta .btn-primary {
  background: var(--hvb-green);
  border-color: var(--hvb-green);
  color: #fff;
}
body.page-marketing .lane-cta .btn-outline {
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(14, 59, 46, 0.25);
  color: var(--hvb-green);
}
body.page-marketing .lane-cta .btn-outline:hover,
body.page-marketing .lane-cta .btn-outline:focus-visible {
  background: #fff;
  color: var(--hvb-green);
}

/* ---- Button / action rows (press uses .cta-row, others .audience-actions) */
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

/* ---- Community lane rhythm --------------------------------------------------
   The community page stacks several content-light .audience-panel sections.
   design-system.css's `body.page-marketing section { padding-block: 52px }`
   (0,2,1) leaves them floating in dead space and also inflates the compact
   "Related resources" card's own padding — match that specificity to tighten
   both, and give the trailing card the amber heading accent so it reads as
   part of the page, not an afterthought. */
body.page-marketing .audience-panel {
  padding-block: 40px;
}
body.page-marketing .related-links {
  padding: 20px 22px;
}
main > .related-links {
  margin-top: 8px;
}
.related-links h2::before {
  content: "";
  display: block;
  width: 42px;
  height: 3px;
  margin-bottom: 12px;
  border-radius: 2px;
  background: var(--hvb-amber);
}
