/* ============================================================
   Positive Singles Canada — static site stylesheet
   Blue × Canadian Clarity × Private Community × Human Optimism
   ============================================================ */

:root {
  --positive-blue: #2f98e5;
  --trust-navy: #173a59;
  --open-sky: #73c4f1;
  --clear-blue: #167dc5;
  --clear-blue-hover: #1470b0;
  --glacier-mist: #eaf6fc;
  --canadian-snow: #f8fbfd;
  --cool-slate: #526978;
  --privacy-teal: #3eaaa1;
  --privacy-teal-soft: #e5f3f1;
  --border-blue: #d6e8f2;
  --white: #ffffff;

  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, "Noto Sans", sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, "Noto Sans", sans-serif;

  --container: 1280px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --shadow-sm: 0 1px 3px rgba(23, 58, 89, 0.08);
  --shadow-md: 0 8px 24px rgba(23, 58, 89, 0.1);
  --header-h: 64px;
}

/* ============================================================
   Dating landing pages — editorial system
   ============================================================ */
.dating-landing main,
.dating-guide-page main {
  background: #f7f8f6;
  color: #183b57;
}

.dating-landing main h1,
.dating-landing main h2,
.dating-landing main h3,
.dating-guide-page main h1,
.dating-guide-page main h2,
.dating-guide-page main h3 {
  text-wrap: balance;
}

.dating-landing main p,
.dating-guide-page main p {
  text-wrap: pretty;
}

.dating-editorial-hero {
  position: relative;
  min-height: clamp(520px, 66vh, 680px);
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  background: #0b2f47;
}

.dating-editorial-hero > img {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
}

.dating-landing--herpes .dating-editorial-hero > img {
  object-position: center 48%;
}

.dating-landing--hiv .dating-editorial-hero > img {
  object-position: center 50%;
}

.dating-landing--hpv .dating-editorial-hero > img {
  object-position: center 42%;
}

.dating-editorial-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(5, 35, 53, 0.96) 0%, rgba(5, 35, 53, 0.89) 30%, rgba(5, 35, 53, 0.32) 63%, rgba(5, 35, 53, 0.08) 100%),
    linear-gradient(0deg, rgba(5, 35, 53, 0.25), transparent 45%);
}

.dating-editorial-hero-content {
  width: 100%;
  padding-top: clamp(5rem, 8vw, 7rem);
  padding-bottom: clamp(5rem, 8vw, 7rem);
}

.dating-editorial-hero-content > div,
.dating-editorial-hero-content {
  color: #fff;
}

.dating-editorial-hero-content h1 {
  max-width: 11ch;
  margin: 0.7rem 0 1.1rem;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.25rem, 5.8vw, 5.6rem);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.dating-editorial-hero-content .lead {
  max-width: 600px;
  margin: 0 0 1.8rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.05rem, 1.4vw, 1.24rem);
  line-height: 1.65;
}

.dating-hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: #9ee1dc;
  font-size: 0.88rem;
  font-weight: 750;
  letter-spacing: 0.02em;
}

.dating-hero-kicker::before {
  content: "";
  width: 2.4rem;
  height: 1px;
  background: currentColor;
}

.dating-hero-cta {
  min-height: 50px;
  padding: 0.8rem 1.25rem 0.8rem 1.4rem;
  gap: 1.1rem;
  border: 1px solid rgba(255,255,255,0.7);
  border-radius: 8px;
  background: #f6fbfa;
  color: #123a57;
  box-shadow: 0 14px 34px rgba(0,0,0,0.18);
}

.dating-hero-cta:hover {
  transform: translateY(-2px);
  background: #fff;
  color: #0a6f7d;
}

.dating-hero-cta .icon {
  width: 18px;
  height: 18px;
}

.dating-landing .breadcrumbs,
.dating-guide-page .breadcrumbs {
  border-bottom: 1px solid #dfe8e9;
  background: rgba(255,255,255,0.96);
}

.dating-landing main > .section {
  padding-top: clamp(4.6rem, 7vw, 7.5rem);
  padding-bottom: clamp(4.6rem, 7vw, 7.5rem);
}

.dating-landing main > .section--white {
  background: #fbfcfa;
}

.dating-landing main > .section--mist {
  background: #edf4f3;
}

.dating-landing .section-intro {
  max-width: 820px;
  margin: 0 0 clamp(2.25rem, 4vw, 3.6rem);
  text-align: left;
}

.dating-landing .section-intro .eyebrow,
.dating-landing .topic-split-body > .eyebrow {
  display: block;
  margin-bottom: 0.8rem;
  color: #187f82;
  font-size: 0.84rem;
  font-weight: 750;
  letter-spacing: 0.02em;
  text-transform: none;
}

.dating-landing .section-intro h2,
.dating-landing .topic-split-body > h2 {
  max-width: 18ch;
  margin-bottom: 0.9rem;
  color: #153d5c;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.9rem, 2.7vw, 2.85rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.dating-landing .section-intro .lead {
  max-width: 720px;
  color: #506878;
  font-size: 1.08rem;
  line-height: 1.72;
}

.dating-landing .topic-split {
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}

.dating-landing .topic-split-body {
  font-size: 1.02rem;
  line-height: 1.82;
}

.dating-landing .topic-split-body p + p {
  margin-top: 1.15rem;
}

.dating-landing .topic-split-media {
  position: relative;
  min-height: 430px;
  border-radius: 4px 4px 42px 4px;
  overflow: hidden;
  box-shadow: 24px 24px 0 #d8e9e6;
}

.dating-landing .topic-split--reverse .topic-split-media {
  border-radius: 4px 4px 4px 42px;
  box-shadow: -24px 24px 0 #d8e9e6;
}

.dating-landing .topic-split-media img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
}

.dating-landing .topic-features,
.dating-landing .topic-privacy,
.dating-landing .topic-resources {
  gap: 0;
  border-top: 1px solid #bfd2d3;
  border-bottom: 1px solid #bfd2d3;
}

.dating-landing .topic-feature,
.dating-landing .topic-privacy-card,
.dating-landing .topic-resources .condition-card {
  border: 0;
  border-right: 1px solid #bfd2d3;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.dating-landing .topic-feature:last-child,
.dating-landing .topic-resources .condition-card:last-child {
  border-right: 0;
}

.dating-landing .topic-feature {
  min-height: 320px;
  padding: 2.25rem;
}

.dating-landing .topic-feature:nth-child(2) {
  background: rgba(255,255,255,0.5);
}

.dating-landing .topic-feature-icon,
.dating-landing .card-icon {
  border-color: #9fc5c6;
  background: transparent;
  color: #147f89;
}

.dating-landing .topic-feature h3,
.dating-landing .topic-privacy-card h3,
.dating-landing .topic-panel h3 {
  color: #173d59;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  font-weight: 600;
}

.dating-landing .topic-privacy {
  grid-template-columns: repeat(2, 1fr);
}

.dating-landing .topic-privacy-card {
  padding: 1.8rem 2rem;
  border-bottom: 1px solid #bfd2d3;
}

.dating-landing .topic-privacy-card:nth-child(2n) {
  border-right: 0;
}

.dating-landing .topic-privacy-card:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.dating-landing .topic-privacy-card > .icon {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  padding: 8px;
  border: 1px solid #9fc5c6;
  border-radius: 50%;
  color: #167f88;
}

.dating-landing .topic-resources .condition-card {
  min-height: 250px;
  padding: 2rem;
}

.dating-landing .topic-resources .condition-title {
  color: #153d5c;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.24rem;
}

.dating-landing .topic-resources .more {
  color: #087d88;
}

.dating-landing .topic-panel {
  border: 1px solid #bad5d4;
  border-radius: 4px 4px 28px 4px;
  background: #f5faf8;
  box-shadow: none;
}

.dating-landing .topic-panel--wide {
  max-width: none;
  padding: clamp(2rem, 4vw, 3.5rem);
}

.dating-landing .topic-panel--center {
  text-align: left;
}

.dating-landing .topic-compare {
  gap: 1rem;
}

.dating-landing .topic-compare-card {
  border: 1px solid #c7d8d9;
  border-radius: 4px 4px 28px 4px;
  background: #fff;
  box-shadow: none;
}

.dating-landing .topic-compare-card--alt {
  border-color: #256b70;
  background: #174c58;
  color: #e7f5f3;
}

.dating-landing .topic-compare-card--alt h3,
.dating-landing .topic-compare-card--alt li {
  color: #fff;
}

.dating-practical {
  background: #123f4d !important;
  color: #eaf4f2;
}

.dating-practical .section-intro .eyebrow,
.dating-practical .section-intro .lead {
  color: #b9deda;
}

.dating-practical .section-intro h2 {
  max-width: 16ch;
  color: #fff;
}

.dating-practical-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255,255,255,0.25);
  border-bottom: 1px solid rgba(255,255,255,0.25);
}

.dating-practical-grid article {
  padding: 2rem 2.2rem 2.4rem;
  border-right: 1px solid rgba(255,255,255,0.25);
}

.dating-practical-grid article:last-child {
  border-right: 0;
}

.dating-practical-grid article > span {
  display: block;
  margin-bottom: 3rem;
  color: #78d3ca;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.1rem;
}

.dating-practical-grid h3 {
  margin-bottom: 0.8rem;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  font-weight: 600;
}

.dating-practical-grid p {
  color: #d6e8e6;
  line-height: 1.75;
}

.dating-practical-note {
  max-width: 780px;
  margin: 2rem 0 0;
  color: #b9deda;
  font-size: 0.96rem;
  line-height: 1.7;
}

.dating-practical-afterword {
  display: grid;
  grid-template-columns: minmax(180px, 0.35fr) minmax(0, 1fr);
  gap: 2rem;
  max-width: 960px;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.25);
}

.dating-practical-afterword h3 {
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  font-weight: 600;
}

.dating-practical-afterword p {
  color: #d6e8e6;
  line-height: 1.75;
}

.dating-landing .cta-banner,
.dating-guide-page .cta-banner {
  padding: 0;
  background: linear-gradient(120deg, #0a2f47 0%, #134d59 100%);
}

.dating-landing .cta-banner .container,
.dating-guide-page .cta-banner .container {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  column-gap: clamp(2rem, 7vw, 7rem);
  width: calc(100% - 2rem);
  max-width: var(--container);
  min-height: 360px;
  padding-top: 4.5rem;
  padding-bottom: 4.5rem;
  text-align: left;
}

.dating-landing .cta-banner h2,
.dating-guide-page .cta-banner h2 {
  max-width: 16ch;
  margin: 0 0 0.8rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 3.5vw, 3.7rem);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.035em;
}

.dating-landing .cta-banner > .container > p:not(.cta-note),
.dating-guide-page .cta-banner > .container > p:not(.cta-note) {
  grid-column: 1;
  max-width: 580px;
  margin: 0;
}

.dating-landing .cta-banner .hero-actions,
.dating-guide-page .cta-banner .hero-actions {
  grid-column: 2;
  grid-row: 1 / span 2;
  margin: 0;
}

.dating-landing .cta-banner .cta-note,
.dating-guide-page .cta-banner .cta-note {
  grid-column: 1 / -1;
  margin-top: 2rem;
  text-align: left;
}

/* Long-form dating guide */
.dating-guide-page .dating-guide-hero .dating-editorial-hero-content h1 {
  max-width: 12ch;
  font-size: clamp(3rem, 5.3vw, 5.1rem);
}

.dating-guide-page .article-layout {
  max-width: 1180px;
  gap: clamp(2.5rem, 6vw, 6rem);
  padding-top: clamp(4rem, 7vw, 7rem);
  padding-bottom: clamp(5rem, 8vw, 8rem);
}

.dating-guide-page .article-toc {
  top: calc(var(--header-h) + 2rem);
  padding: 1.5rem 0;
  border-top: 2px solid #1b8584;
  border-bottom: 1px solid #c8d8d8;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.dating-guide-page .article-toc a {
  display: block;
  padding: 0.46rem 0;
  color: #506777;
  line-height: 1.4;
}

.dating-guide-page .article-toc a:hover {
  color: #087d88;
  transform: translateX(3px);
}

.dating-guide-page .article-body {
  max-width: 760px;
}

.dating-guide-page .article-body > section {
  margin: 0;
  padding: 0 0 3.75rem;
  border: 0;
  border-bottom: 1px solid #d3dfdf;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.dating-guide-page .article-body > section + section {
  padding-top: 3.75rem;
}

.dating-guide-page .article-section-head {
  align-items: flex-start;
  gap: 1rem;
}

.dating-guide-page .article-section-head .card-icon {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border: 1px solid #a8cdca;
  border-radius: 50%;
  background: transparent;
  color: #167e83;
}

.dating-guide-page .article-section-head h2 {
  color: #173d59;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 2.7vw, 2.7rem);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.025em;
}

.dating-guide-page .prose {
  padding-left: 56px;
  color: #405d70;
  font-size: 1.02rem;
  line-height: 1.82;
}

.dating-guide-page .callout {
  margin: 1.5rem 0;
  padding: 1.25rem 1.4rem;
  border: 0;
  border-left: 3px solid #239a96;
  border-radius: 0;
  background: #e7f2f0;
}

.dating-guide-page .checklist li {
  align-items: flex-start;
  padding: 0.52rem 0;
}

@media (max-width: 780px) {
  .dating-editorial-hero {
    min-height: 650px;
    align-items: end;
  }

  .dating-editorial-hero > img,
  .dating-landing--herpes .dating-editorial-hero > img,
  .dating-landing--hiv .dating-editorial-hero > img,
  .dating-landing--hpv .dating-editorial-hero > img {
    object-position: 72% center;
  }

  .dating-editorial-hero-overlay {
    background: linear-gradient(0deg, rgba(5,35,53,0.98) 0%, rgba(5,35,53,0.91) 40%, rgba(5,35,53,0.18) 78%, rgba(5,35,53,0.08) 100%);
  }

  .dating-editorial-hero-content {
    padding-top: 11rem;
    padding-bottom: 3.4rem;
  }

  .dating-editorial-hero-content h1 {
    max-width: 12ch;
    font-size: clamp(2.65rem, 12vw, 4rem);
  }

  .dating-hero-kicker::before {
    width: 1.5rem;
  }

  .dating-landing main > .section {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .dating-landing .topic-split-media,
  .dating-landing .topic-split--reverse .topic-split-media {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    min-height: 0;
    aspect-ratio: 4 / 3;
    border-radius: 4px 4px 24px 4px;
    box-shadow: 12px 12px 0 #d8e9e6;
  }

  .dating-landing .topic-split-media img {
    min-height: 0;
  }

  .dating-landing .topic-features,
  .dating-landing .topic-privacy,
  .dating-landing .topic-resources,
  .dating-practical-grid {
    grid-template-columns: 1fr;
  }

  .dating-landing .topic-feature,
  .dating-landing .topic-privacy-card,
  .dating-landing .topic-resources .condition-card,
  .dating-practical-grid article {
    min-height: 0;
    padding: 1.65rem 0;
    border-right: 0;
    border-bottom: 1px solid #bfd2d3;
  }

  .dating-practical-grid article {
    border-bottom-color: rgba(255,255,255,0.25);
  }

  .dating-practical-grid article:last-child,
  .dating-landing .topic-feature:last-child,
  .dating-landing .topic-privacy-card:last-child,
  .dating-landing .topic-resources .condition-card:last-child {
    border-bottom: 0;
  }

  .dating-practical-grid article > span {
    margin-bottom: 1.2rem;
  }

  .dating-practical-afterword {
    grid-template-columns: 1fr;
    gap: 0.6rem;
  }

  .dating-landing .cta-banner .container,
  .dating-guide-page .cta-banner .container {
    display: block;
    min-height: 0;
    padding-top: 3.75rem;
    padding-bottom: 3.75rem;
  }

  .dating-landing .cta-banner .hero-actions,
  .dating-guide-page .cta-banner .hero-actions {
    justify-content: flex-start;
    margin-top: 1.6rem;
  }

  .dating-guide-page .dating-guide-hero .dating-editorial-hero-content h1 {
    font-size: clamp(2.55rem, 11vw, 3.7rem);
  }

  .dating-guide-page .article-layout {
    padding-top: 3.5rem;
  }

  .dating-guide-page .article-body > section,
  .dating-guide-page .article-body > section + section {
    padding-top: 0;
    padding-bottom: 3rem;
    margin-bottom: 3rem;
  }

  .dating-guide-page .prose {
    padding-left: 0;
  }
}

/* ============================================================
   Homepage refinement — less repetition, clearer hierarchy
   ============================================================ */
.home-page main h1,
.home-page main h2,
.home-page main h3 {
  text-wrap: balance;
}

.home-page main p {
  text-wrap: pretty;
}

.home-section-label {
  margin: 0 0 0.9rem;
  color: var(--home-teal);
  font-size: 0.9rem;
  font-weight: 700;
}

.home-section-label--light {
  color: #91d8d2;
}

.home-page .feature-strip .container {
  background: #fff;
  box-shadow: 0 12px 32px rgba(10, 37, 55, 0.14);
  backdrop-filter: none;
}

.home-page .feature-strip-grid {
  padding: 0.85rem 0;
}

.home-page main > .home-story-section,
.home-page main > .home-topics-section,
.home-page main > .home-steps-section,
.home-page main > .home-privacy-section,
.home-page main > .home-cities-section,
.home-page main > .home-resources-section {
  padding-top: clamp(4.5rem, 6vw, 5.75rem);
  padding-bottom: clamp(4.5rem, 6vw, 5.75rem);
}

.home-story-copy h2 {
  max-width: 15ch;
  font-size: clamp(2.15rem, 3.25vw, 3.25rem) !important;
}

.home-story-copy .prose {
  max-width: 59ch;
}

.home-story-copy .prose p {
  margin-bottom: 1.15rem;
}

.home-paths-section,
.home-paths-section > .container {
  min-height: 620px;
}

.home-paths-section > .container {
  padding-top: clamp(3.75rem, 5vw, 4.75rem);
  padding-bottom: clamp(2.5rem, 4vw, 3.5rem);
}

.home-paths-header h2 {
  margin-top: 0;
  font-size: clamp(2.25rem, 3.6vw, 3.65rem) !important;
}

.home-paths-grid {
  border-radius: 1rem;
  box-shadow: 0 18px 44px rgba(2, 18, 29, 0.24);
  backdrop-filter: none;
}

.home-path-card,
.home-path-card:first-child,
.home-path-card:nth-child(2),
.home-path-card:nth-child(3),
.home-path-card:last-child {
  min-height: 235px;
  padding: 1.5rem;
  transition: none;
}

.home-path-card::after,
.home-path-card:first-child::after {
  display: none;
}

.home-path-card-top {
  min-height: 2.6rem;
  padding: 0;
}

.home-path-card .card-icon,
.home-path-card:first-child .card-icon,
.home-path-card:nth-child(2) .card-icon,
.home-path-card:nth-child(3) .card-icon {
  width: 2.6rem;
  height: 2.6rem;
}

.home-path-card h3,
.home-path-card:first-child h3 {
  margin-top: 1.25rem;
  font-size: 1.3rem;
}

.home-path-card p,
.home-path-card:first-child p {
  max-width: 36ch;
  margin-top: 0.55rem;
  font-size: 0.9rem;
  line-height: 1.58;
}

.home-path-card .more,
.home-path-card:first-child .more,
.home-topics-section .topic-visual-card .more {
  display: inline-block;
  width: max-content;
  padding-bottom: 0.12rem;
  border-bottom: 1px solid currentColor;
}

.home-path-card:hover,
.home-path-card:first-child:hover,
.home-path-card:nth-child(2):hover,
.home-path-card:nth-child(3):hover {
  padding-left: 1.5rem;
}

.home-topics-section h2 {
  font-size: clamp(2.1rem, 3.25vw, 3.2rem) !important;
}

.home-topics-section .home-condition-grid {
  margin-top: 2rem !important;
}

.home-topics-section .topic-visual-card {
  aspect-ratio: 16 / 9;
  border-radius: 0.9rem;
  box-shadow: 0 12px 30px rgba(13, 47, 69, 0.12);
  transition: none;
}

.topic-visual-card > img {
  transition: none;
}

.topic-visual-card:hover,
.topic-visual-card:hover > img {
  box-shadow: 0 12px 30px rgba(13, 47, 69, 0.12);
  transform: none;
}

.topic-card-content {
  padding: 1.55rem;
}

.home-steps-section h2 {
  font-size: clamp(2.15rem, 3.4vw, 3.35rem) !important;
}

.home-steps-section .steps--on-navy {
  margin-top: 3rem !important;
}

.home-steps-section .steps-horizontal .step {
  padding-inline: 1.2rem;
}

.home-privacy-intro h2,
.home-resources-copy h2 {
  font-size: clamp(2.1rem, 3.15vw, 3.05rem) !important;
}

.home-cities-section h2 {
  font-size: clamp(2.2rem, 3.45vw, 3.45rem) !important;
}

.home-cities-section .city-grid {
  margin-top: 1.65rem !important;
}

.home-cities-section .city-tile-tagline {
  max-width: 34ch;
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.35;
  text-transform: none;
}

.home-resource-list .card {
  min-height: 162px;
  border-radius: 0.8rem;
  box-shadow: 0 6px 18px rgba(16, 47, 73, 0.05);
}

.resource-card-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: none;
}

.home-final-cta .container {
  min-height: 320px;
}

.home-final-cta h2 {
  font-size: clamp(2.2rem, 3.5vw, 3.4rem) !important;
}

@media (max-width: 900px) {
  .home-paths-section,
  .home-paths-section > .container {
    min-height: 0;
  }

  .home-path-card,
  .home-path-card:first-child,
  .home-path-card:nth-child(2),
  .home-path-card:nth-child(3),
  .home-path-card:last-child {
    min-height: 0;
  }
}

@media (max-width: 639px) {
  .home-page main > .home-story-section,
  .home-page main > .home-topics-section,
  .home-page main > .home-steps-section,
  .home-page main > .home-privacy-section,
  .home-page main > .home-cities-section,
  .home-page main > .home-resources-section {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }

  .home-section-label {
    margin-bottom: 0.65rem;
    font-size: 0.84rem;
  }

  .home-story-copy h2,
  .home-topics-section h2,
  .home-steps-section h2,
  .home-privacy-intro h2,
  .home-cities-section h2,
  .home-resources-copy h2 {
    font-size: clamp(1.85rem, 8.2vw, 2.15rem) !important;
  }

  .home-paths-section > .container {
    padding-top: 3.5rem;
    padding-bottom: 3rem;
  }

  .home-paths-header h2 {
    font-size: clamp(2rem, 9.5vw, 2.55rem) !important;
  }

  .home-paths-grid {
    margin-top: 2rem;
    border-radius: 0.85rem;
    backdrop-filter: none;
  }

  .home-path-card,
  .home-path-card:first-child,
  .home-path-card:nth-child(2),
  .home-path-card:nth-child(3),
  .home-path-card:last-child {
    padding: 1.3rem;
  }

  .home-path-card:hover,
  .home-path-card:first-child:hover,
  .home-path-card:nth-child(2):hover,
  .home-path-card:nth-child(3):hover {
    padding-left: 1.3rem;
  }

  .home-path-card h3,
  .home-path-card:first-child h3 {
    margin-top: 0.9rem;
    font-size: 1.35rem;
  }

  .home-topics-section .topic-visual-card {
    height: 250px;
    min-height: 250px;
  }

  .home-topics-section .topic-visual-card .condition-title {
    font-size: 1.38rem;
  }

  .topic-card-content {
    padding: 1.2rem;
  }

  .home-resource-list .card {
    min-height: 0;
  }

  .home-final-cta .container {
    min-height: 0;
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  .home-final-cta h2 {
    font-size: 2rem !important;
  }

}

/* Landing-page overflow guard. Keep editorial media inside the content stage. */
.dating-landing .topic-split,
.dating-landing .topic-split > * {
  min-width: 0;
}

.dating-landing .topic-split-media,
.dating-landing .topic-split-media img {
  width: 100%;
  max-width: 100%;
}

/* ============================================================
   Blog — Canadian relationship journal
   ============================================================ */
.blog-page {
  color: #153d5c;
  background: #ffffff;
}

.blog-page main h1,
.blog-page main h2,
.blog-page main h3 {
  text-wrap: balance;
}

.blog-page main p {
  text-wrap: pretty;
}

.blog-section-label {
  margin: 0 0 0.9rem;
  color: #0b858a;
  font-size: 0.82rem;
  font-weight: 750;
}

.blog-masthead {
  padding: clamp(5rem, 9vw, 8rem) 0 clamp(4rem, 7vw, 6rem);
  background: #eaf2f3;
}

.blog-masthead-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: clamp(3rem, 8vw, 8rem);
  align-items: end;
}

.blog-masthead h1 {
  max-width: 13ch;
  margin: 0;
  color: #113f5d;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.2rem, 5.5vw, 5.6rem);
  font-weight: 500;
  line-height: 0.98;
}

.blog-masthead-grid > p {
  max-width: 520px;
  margin: 0;
  padding-left: 1.5rem;
  border-left: 3px solid #0b858a;
  color: #365e72;
  font-size: 1.08rem;
  line-height: 1.75;
}

.blog-feature-section {
  padding: clamp(4rem, 7vw, 7rem) 0;
}

.blog-feature-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(330px, 0.8fr);
  gap: clamp(3rem, 7vw, 6.5rem);
  align-items: center;
}

.blog-feature-image {
  display: block;
  min-width: 0;
}

.blog-feature-image img,
.blog-secondary-image img,
.blog-article-hero img {
  display: block;
  width: 100%;
  object-fit: cover;
}

.blog-feature-image img {
  aspect-ratio: 3 / 2;
  border-radius: 2px 2px 34px 2px;
  box-shadow: 16px 16px 0 #d8e9e6;
}

.blog-story-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1.2rem;
  margin: 0 0 1.25rem;
  color: #5b7888;
  font-size: 0.82rem;
}

.blog-story-meta span {
  padding-left: 1.2rem;
  border-left: 1px solid #b8ced0;
}

.blog-feature-copy h2,
.blog-latest-heading h2,
.blog-author-section h2 {
  margin: 0;
  color: #113f5d;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
}

.blog-feature-copy h2 {
  font-size: clamp(2.2rem, 3.6vw, 3.7rem);
  line-height: 1.05;
}

.blog-feature-copy h2 a,
.blog-secondary-story h3 a {
  color: inherit;
  text-decoration: none;
}

.blog-feature-copy > p:not(.blog-story-meta) {
  margin: 1.35rem 0 1.5rem;
  color: #365e72;
  line-height: 1.75;
}

.blog-read-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding-bottom: 0.35rem;
  border-bottom: 2px solid #0b858a;
  color: #0a6f75;
  font-weight: 750;
  text-decoration: none;
}

.blog-read-link .icon {
  width: 1rem;
  height: 1rem;
}

.blog-latest-section {
  padding: clamp(4rem, 7vw, 6.5rem) 0;
  background: #f2f6f7;
}

.blog-latest-layout {
  display: grid;
  grid-template-columns: minmax(230px, 0.62fr) minmax(0, 1.38fr);
  gap: clamp(3rem, 8vw, 8rem);
  align-items: start;
}

.blog-latest-heading {
  padding-left: 1.5rem;
  border-left: 4px solid #0b858a;
}

.blog-latest-heading h2 {
  max-width: 11ch;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.08;
}

.blog-secondary-story {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.1fr);
  gap: 2.5rem;
  align-items: center;
  padding-top: 1.8rem;
  border-top: 1px solid #afc6c9;
}

.blog-secondary-image img {
  aspect-ratio: 4 / 3;
  border-radius: 2px;
}

.blog-secondary-story h3 {
  margin: 0;
  color: #113f5d;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.7rem, 2.4vw, 2.35rem);
  font-weight: 500;
  line-height: 1.08;
}

.blog-secondary-story div > p:not(.blog-story-meta) {
  margin: 1rem 0 1.3rem;
  color: #365e72;
  line-height: 1.7;
}

.blog-author-section {
  padding: clamp(4rem, 7vw, 6rem) 0;
  background: #123f4d;
  color: #e7f2f1;
}

.blog-author-layout {
  display: grid;
  grid-template-columns: 170px minmax(300px, 0.9fr) minmax(280px, 1.1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.blog-author-layout > img {
  width: 170px;
  height: 170px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid rgba(255, 255, 255, 0.18);
}

.blog-author-section .blog-section-label {
  color: #9adbd5;
}

.blog-author-section h2 {
  color: #ffffff;
  font-size: clamp(2rem, 3vw, 3rem);
}

.blog-author-section p:not(.blog-section-label) {
  color: #d4e7e5;
  line-height: 1.75;
}

.blog-author-section blockquote {
  margin: 0;
  padding-left: 2rem;
  border-left: 1px solid rgba(255, 255, 255, 0.28);
  color: #ffffff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.5rem, 2.3vw, 2.15rem);
  line-height: 1.35;
}

.blog-cta {
  background: #0d3b4c !important;
}

.blog-breadcrumbs {
  background: #f6f9f9;
}

.blog-article-header {
  padding: clamp(4.5rem, 8vw, 7.5rem) 0 clamp(3rem, 5vw, 4.5rem);
  background: #eaf2f3;
}

.blog-article-heading {
  max-width: 980px;
}

.blog-article-heading h1 {
  max-width: 16ch;
  margin: 0;
  color: #113f5d;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 5vw, 5rem);
  font-weight: 500;
  line-height: 1;
}

.blog-article-dek {
  max-width: 760px;
  margin: 1.5rem 0 2rem;
  color: #365e72;
  font-size: clamp(1.08rem, 1.5vw, 1.25rem);
  line-height: 1.7;
}

.blog-byline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1rem;
  align-items: center;
  color: #5b7888;
  font-size: 0.84rem;
}

.blog-byline img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.blog-byline div {
  display: grid;
  margin-right: 1rem;
}

.blog-byline strong {
  color: #153d5c;
}

.blog-byline time,
.blog-byline > span {
  padding-left: 1rem;
  border-left: 1px solid #b8ced0;
}

.blog-article-hero {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 0;
}

.blog-article-hero img {
  max-height: 680px;
  aspect-ratio: 3 / 2;
  border-radius: 2px 2px 40px 2px;
}

.blog-article-hero figcaption {
  max-width: 760px;
  margin: 0.8rem auto 0;
  color: #6a8492;
  font-size: 0.8rem;
  font-style: italic;
}

.blog-article-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 720px);
  gap: clamp(3rem, 8vw, 8rem);
  justify-content: center;
  padding-top: clamp(4rem, 7vw, 6.5rem);
  padding-bottom: clamp(4.5rem, 8vw, 7rem);
}

.blog-article-rail {
  align-self: start;
  position: sticky;
  top: calc(var(--header-h) + 2rem);
}

.blog-author-card {
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #c7d8da;
}

.blog-author-card img {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  object-fit: cover;
}

.blog-author-card p {
  margin: 0.85rem 0 0;
  color: #587585;
  font-size: 0.85rem;
  line-height: 1.6;
}

.blog-author-card strong {
  color: #153d5c;
}

.blog-article-rail nav {
  display: grid;
  gap: 0.7rem;
  margin-top: 1.5rem;
}

.blog-article-rail nav strong {
  margin-bottom: 0.25rem;
  color: #153d5c;
  font-size: 0.86rem;
}

.blog-article-rail nav a {
  color: #597787;
  font-size: 0.82rem;
  text-decoration: none;
}

.blog-article-rail nav a:hover {
  color: #0b858a;
}

.blog-article-body {
  min-width: 0;
  color: #294f66;
  font-size: 1.04rem;
  line-height: 1.82;
}

.blog-article-body p {
  margin: 0 0 1.4rem;
}

.blog-article-body .blog-article-intro {
  color: #153d5c;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.3rem, 2vw, 1.55rem);
  line-height: 1.62;
}

.blog-article-body h2 {
  margin: 3.2rem 0 1rem;
  color: #113f5d;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.9rem, 2.6vw, 2.45rem);
  font-weight: 500;
  line-height: 1.16;
  scroll-margin-top: calc(var(--header-h) + 2rem);
}

.blog-pullquote {
  margin: 3rem 0;
  padding: 0.4rem 0 0.4rem 1.75rem;
  border-left: 4px solid #0b858a;
  color: #123f4d;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.55rem, 2.7vw, 2.25rem);
  line-height: 1.35;
}

.blog-practical-box {
  margin: 3rem 0;
  padding: 2rem 2.2rem;
  border-top: 1px solid #9fc6c8;
  border-bottom: 1px solid #9fc6c8;
  background: #eef6f6;
}

.blog-practical-box h3 {
  margin: 0 0 1rem;
  color: #123f5b;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  font-weight: 600;
}

.blog-practical-box ul,
.blog-practical-box ol {
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding-left: 1.25rem;
}

.blog-medical-note {
  margin-top: 3rem !important;
  padding-top: 1.5rem;
  border-top: 1px solid #c7d8da;
  color: #587585;
  font-size: 0.88rem;
  line-height: 1.7;
}

.blog-next-story {
  padding: 3.5rem 0;
  border-top: 1px solid #c7d8da;
  background: #f2f6f7;
}

.blog-next-story p {
  margin: 0 0 0.7rem;
  color: #0b858a;
  font-size: 0.8rem;
  font-weight: 750;
}

.blog-next-story a {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: center;
  color: #113f5d;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.7rem, 3vw, 2.7rem);
  line-height: 1.2;
  text-decoration: none;
}

.blog-next-story .icon {
  flex: 0 0 auto;
  width: 1.7rem;
  height: 1.7rem;
  color: #0b858a;
}

@media (max-width: 900px) {
  .blog-masthead-grid,
  .blog-feature-layout,
  .blog-latest-layout,
  .blog-secondary-story,
  .blog-author-layout,
  .blog-article-layout {
    grid-template-columns: 1fr;
  }

  .blog-masthead-grid,
  .blog-feature-layout,
  .blog-latest-layout,
  .blog-author-layout {
    gap: 2.5rem;
  }

  .blog-masthead-grid > p {
    max-width: 680px;
  }

  .blog-author-layout {
    text-align: left;
  }

  .blog-author-section blockquote {
    max-width: 680px;
  }

  .blog-article-layout {
    gap: 2.5rem;
  }

  .blog-article-rail {
    position: static;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #c7d8da;
  }

  .blog-article-rail nav {
    margin-top: 0;
  }
}

@media (max-width: 600px) {
  .blog-masthead {
    padding-top: 4rem;
  }

  .blog-masthead h1,
  .blog-article-heading h1 {
    font-size: clamp(2.55rem, 12vw, 3.5rem);
  }

  .blog-feature-image img,
  .blog-article-hero img {
    border-radius: 2px 2px 24px 2px;
    box-shadow: none;
  }

  .blog-story-meta span,
  .blog-byline time,
  .blog-byline > span {
    padding-left: 0;
    border-left: 0;
  }

  .blog-byline {
    align-items: flex-start;
  }

  .blog-byline time,
  .blog-byline > span {
    width: 100%;
    margin-left: 64px;
  }

  .blog-article-hero {
    width: 100%;
    padding: 0;
  }

  .blog-article-hero figcaption {
    padding: 0 1rem;
  }

  .blog-article-rail {
    grid-template-columns: 1fr;
  }

  .blog-article-rail nav {
    display: none;
  }

  .blog-practical-box {
    padding: 1.5rem;
  }

  .blog-next-story a {
    align-items: flex-start;
  }
}

/* Focused mid-page refinement: keep long guidance outside dense dark lists. */
.landing-afterword-section {
  padding: clamp(3.25rem, 5vw, 4.5rem) 0;
  border-top: 1px solid #c7d8da;
  border-bottom: 1px solid #c7d8da;
  background: #ffffff;
}

.landing-afterword-layout {
  display: grid;
  grid-template-columns: minmax(250px, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(3rem, 7vw, 6.5rem);
  align-items: start;
}

.landing-afterword-layout h2 {
  max-width: 12ch;
  margin: 0;
  padding-left: 1.25rem;
  border-left: 4px solid #0b898e;
  color: #123f5b;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 2.4vw, 2.35rem);
  font-weight: 500;
  line-height: 1.12;
}

.landing-afterword-layout > p,
.landing-afterword-copy {
  max-width: 720px;
  margin: 0;
  color: #365e72;
  font-size: 1rem;
  line-height: 1.78;
}

.landing-afterword-copy p {
  margin: 0;
}

.landing-afterword-copy p + p {
  margin-top: 1rem;
}

@media (min-width: 960px) {
  .dating-landing .connection-spectrum-section > .container {
    display: grid;
    grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
    gap: clamp(3.5rem, 7vw, 7rem);
    align-items: start;
  }

  .dating-landing .connection-spectrum-section .section-intro {
    display: block;
    margin: 0;
    padding: 0 0 0 1.75rem;
    border-left: 4px solid #0b898e;
  }

  .dating-landing .connection-spectrum-section .section-intro h2 {
    max-width: 12ch;
    margin: 0 0 1rem;
    font-size: clamp(2rem, 2.7vw, 2.8rem);
  }

  .dating-landing .connection-spectrum-section .section-intro .lead {
    max-width: 34ch;
    margin: 0;
    padding: 0;
  }

  .dating-landing .connection-spectrum-section .connection-spectrum {
    margin: 0;
  }

  .dating-landing .connection-spectrum-section .connection-spectrum article {
    grid-template-columns: 54px minmax(0, 1fr);
    padding: 1.8rem 0;
  }

  .dating-landing .connection-spectrum-section .connection-spectrum article:first-child {
    padding-top: 0.6rem;
  }

  .dating-landing .connection-spectrum-section .connection-spectrum h3 {
    font-size: 1.45rem;
  }

  .dating-landing .connection-spectrum-section .connection-spectrum-note {
    grid-column: 2;
    width: 100%;
    max-width: none;
    margin: 1.4rem 0 0;
  }
}

@media (max-width: 959px) {
  .landing-afterword-layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .landing-afterword-layout h2 {
    max-width: 16ch;
  }
}

/* ============================================================
   Baseline UI refinement — condition landing pages
   Calm Canadian editorial rhythm; desktop-first, mobile-safe.
   ============================================================ */
.dating-landing .section-intro .eyebrow,
.dating-landing .topic-split-body > .eyebrow,
.dating-landing .hpv-briefing-label,
.dating-landing .connection-spectrum-kicker,
.dating-landing .community-editorial .eyebrow,
.dating-landing .inclusion-editorial .eyebrow {
  text-transform: none;
}

.dating-landing .topic-split .topic-panel {
  padding: 1rem 0 1rem 1.5rem;
  border: 0;
  border-left: 3px solid #17858a;
  border-radius: 0;
  background: transparent;
}

.dating-landing .cta-banner,
.dating-guide-page .cta-banner {
  background: #0d3b4c;
}

@media (min-width: 960px) {
  .dating-landing main .container {
    max-width: 1180px;
  }

  .dating-landing main > .section {
    padding-top: 5.25rem;
    padding-bottom: 5.25rem;
  }

  .dating-landing .section-intro {
    display: grid;
    grid-template-columns: minmax(260px, 0.78fr) minmax(420px, 1.22fr);
    column-gap: clamp(3.5rem, 7vw, 7rem);
    max-width: none;
    margin-bottom: 2.75rem;
    align-items: end;
  }

  .dating-landing .section-intro .eyebrow {
    grid-column: 1;
    margin-bottom: 0.55rem;
  }

  .dating-landing .section-intro h2 {
    grid-column: 1;
    max-width: 15ch;
    margin: 0;
    font-size: clamp(1.9rem, 2.4vw, 2.55rem);
  }

  .dating-landing .section-intro .lead {
    grid-column: 2;
    grid-row: 1 / span 2;
    max-width: 620px;
    margin: 0;
    padding-bottom: 0.15rem;
    font-size: 1rem;
    line-height: 1.68;
  }

  .dating-landing .topic-split {
    grid-template-columns: minmax(0, 0.9fr) minmax(480px, 1.1fr);
    gap: clamp(3.5rem, 7vw, 6.5rem);
  }

  .dating-landing .topic-split-body {
    max-width: 58ch;
    font-size: 0.98rem;
    line-height: 1.74;
  }

  .dating-landing .topic-split-media,
  .dating-landing .topic-split-media img {
    min-height: 390px;
  }

  .dating-landing .topic-split-media {
    border-radius: 2px 2px 34px 2px;
    box-shadow: 16px 16px 0 #d8e9e6;
  }

  .dating-landing .topic-split--reverse .topic-split-media {
    border-radius: 2px 2px 2px 34px;
    box-shadow: -16px 16px 0 #d8e9e6;
  }

  .dating-landing .landing-story-section .topic-split {
    align-items: stretch;
  }

  .dating-landing .landing-story-section .topic-split-body {
    align-self: center;
  }

  .dating-landing .landing-myths-section .grid-3 {
    display: block;
    border-top: 1px solid #b8ced0;
  }

  .dating-landing .landing-myths-section .myth-card {
    display: grid;
    grid-template-columns: 120px minmax(230px, 0.85fr) minmax(0, 1.5fr);
    grid-template-rows: auto 1fr;
    column-gap: 2rem;
    min-height: 0;
    padding: 1.45rem 0;
    border: 0;
    border-bottom: 1px solid #b8ced0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .dating-landing .landing-myths-section .myth-label {
    grid-column: 1;
    grid-row: 1 / span 2;
    margin: 0;
  }

  .dating-landing .landing-myths-section .myth-quote {
    grid-column: 2;
    grid-row: 1 / span 2;
    margin: 0;
    color: #153d5c;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.2rem;
  }

  .dating-landing .landing-myths-section .reality-label {
    grid-column: 3;
    grid-row: 1;
    margin: 0 0 0.35rem;
  }

  .dating-landing .landing-myths-section .reality {
    grid-column: 3;
    grid-row: 2;
    margin: 0;
  }

  .dating-landing .landing-compare-section .topic-compare {
    gap: 0;
    border-top: 1px solid #b8ced0;
    border-bottom: 1px solid #b8ced0;
  }

  .dating-landing .landing-compare-section .topic-compare-card {
    padding: 2rem 2.2rem;
    border: 0;
    border-right: 1px solid #b8ced0;
    border-radius: 0;
  }

  .dating-landing .landing-compare-section .topic-compare-card--alt {
    border-right: 0;
    background: #154957;
  }

  .dating-landing .landing-compare-section .topic-compare-note {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3rem;
    margin-top: 1.5rem;
  }

  .dating-landing .landing-paths-section .topic-features {
    grid-template-columns: minmax(360px, 1.12fr) minmax(0, 0.88fr);
    grid-template-rows: repeat(2, 1fr);
    border: 0;
  }

  .dating-landing .landing-paths-section .topic-feature {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    align-content: center;
    column-gap: 1.25rem;
    min-height: 180px;
    padding: 1.75rem 2rem;
    border: 0;
    border-bottom: 1px solid #bfd2d3;
    background: transparent;
  }

  .dating-landing .landing-paths-section .topic-feature:first-child {
    grid-row: 1 / span 2;
    min-height: 360px;
    padding: 2.5rem;
    border-bottom: 0;
    background: #123f4d;
    color: #ffffff;
  }

  .dating-landing .landing-paths-section .topic-feature:first-child h3,
  .dating-landing .landing-paths-section .topic-feature:first-child p {
    color: #ffffff;
  }

  .dating-landing .landing-paths-section .topic-feature:last-child {
    border-bottom: 0;
  }

  .dating-landing .landing-paths-section .topic-feature-icon {
    grid-row: 1 / span 2;
    margin: 0;
  }

  .dating-landing .landing-paths-section .topic-feature h3 {
    align-self: end;
    margin: 0 0 0.45rem;
    font-size: 1.3rem;
  }

  .dating-landing .landing-paths-section .topic-feature p {
    margin: 0;
  }

  .dating-landing .landing-privacy-section:not(.landing-privacy-section--with-media) > .container {
    display: grid;
    grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1.3fr);
    gap: clamp(3.5rem, 7vw, 7rem);
    align-items: start;
  }

  .dating-landing .landing-privacy-section:not(.landing-privacy-section--with-media) .section-intro {
    display: block;
    margin: 0;
  }

  .dating-landing .landing-privacy-section:not(.landing-privacy-section--with-media) .section-intro h2 {
    margin-bottom: 0.85rem;
  }

  .dating-landing .landing-privacy-section:not(.landing-privacy-section--with-media) .topic-privacy {
    grid-template-columns: 1fr;
    margin: 0;
    border-top: 1px solid #b8ced0;
    border-bottom: 0;
  }

  .dating-landing .landing-privacy-section:not(.landing-privacy-section--with-media) .topic-privacy-card {
    padding: 1.25rem 0;
    border-right: 0;
    border-bottom: 1px solid #b8ced0;
  }

  .dating-landing .landing-privacy-section .topic-panel--spaced {
    grid-column: 1 / -1;
    margin-top: 0;
  }

  .dating-landing .landing-privacy-section--with-media .topic-split {
    grid-template-columns: minmax(0, 0.8fr) minmax(500px, 1.2fr);
  }

  .dating-landing .landing-privacy-section--with-media .topic-privacy {
    margin-top: 3.25rem;
  }

  .dating-landing .dating-practical .section-intro {
    margin-bottom: 2.25rem;
  }

  .dating-landing .dating-practical-grid {
    display: block;
    border-bottom: 0;
  }

  .dating-landing .dating-practical-grid article {
    display: grid;
    grid-template-columns: 70px minmax(230px, 0.65fr) minmax(0, 1.35fr);
    gap: 1.6rem;
    align-items: start;
    padding: 1.55rem 0;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  }

  .dating-landing .dating-practical-grid article > span {
    margin: 0;
  }

  .dating-landing .dating-practical-grid h3 {
    margin: 0;
    font-size: 1.3rem;
  }

  .dating-landing .dating-practical-grid p {
    max-width: 660px;
    margin: 0;
  }

  .dating-landing .dating-practical-note {
    margin: 1.5rem 0 0 auto;
  }

  .dating-landing .landing-resources-section > .container {
    display: grid;
    grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1.3fr);
    gap: 0 clamp(3.5rem, 7vw, 7rem);
    align-items: start;
  }

  .dating-landing .landing-resources-section .section-intro {
    display: block;
    margin: 0;
  }

  .dating-landing .landing-resources-section .section-intro h2 {
    margin-bottom: 0.85rem;
  }

  .dating-landing .landing-resources-section .topic-resources {
    display: block;
    margin: 0;
    border-top: 1px solid #b8ced0;
    border-bottom: 0;
  }

  .dating-landing .landing-resources-section .topic-resources .condition-card {
    display: grid;
    grid-template-columns: minmax(190px, 0.72fr) minmax(0, 1.28fr) 120px;
    gap: 1.5rem;
    align-items: center;
    min-height: 0;
    padding: 1.35rem 0;
    border-right: 0;
    border-bottom: 1px solid #b8ced0;
  }

  .dating-landing .landing-resources-section .condition-card p,
  .dating-landing .landing-resources-section .condition-card .more {
    margin: 0;
  }

  .dating-landing .landing-resources-section .condition-card .more {
    justify-self: end;
  }

  .dating-landing .landing-resources-section .topic-resource-note {
    grid-column: 2;
    margin-top: 1.25rem;
  }

  .dating-landing .community-editorial-section,
  .dating-landing .inclusion-editorial-section {
    padding-top: 5.25rem;
    padding-bottom: 5.25rem;
  }

  .dating-landing .connection-spectrum-section .connection-spectrum,
  .dating-landing .hpv-briefing-section .hpv-briefing {
    margin-top: 2.25rem;
  }

  .dating-landing .cta-banner .container {
    min-height: 310px;
    padding-top: 3.75rem;
    padding-bottom: 3.75rem;
  }

  .dating-landing .cta-banner h2 {
    font-size: clamp(2rem, 3vw, 3.15rem);
  }
}

/* Landing-page editorial modules: distinct structures for useful mid-page content. */
.terminology-ledger {
  margin-top: clamp(2rem, 4vw, 3.25rem);
  border-top: 1px solid rgba(18, 67, 92, 0.22);
  border-bottom: 1px solid rgba(18, 67, 92, 0.22);
}

.terminology-entry {
  display: grid;
  grid-template-columns: minmax(210px, 0.42fr) minmax(0, 1fr);
  min-height: 220px;
}

.terminology-entry + .terminology-entry {
  border-top: 1px solid rgba(18, 67, 92, 0.22);
}

.terminology-mark {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(1.5rem, 3vw, 2.35rem);
  background: #dcebed;
  color: #123f5b;
}

.terminology-entry--formal .terminology-mark {
  background: #123f4d;
  color: #ffffff;
}

.terminology-mark strong {
  font-family: var(--font-display);
  font-size: clamp(2.35rem, 5vw, 4.6rem);
  font-weight: 600;
  line-height: 0.95;
}

.terminology-mark span,
.hpv-briefing-label,
.connection-spectrum-kicker {
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
}

.terminology-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.6rem, 4vw, 3rem);
  background: rgba(255, 255, 255, 0.62);
}

.terminology-copy h3 {
  max-width: 720px;
  margin: 0 0 0.75rem;
  color: #123f5b;
  font-size: clamp(1.3rem, 2.2vw, 1.75rem);
  line-height: 1.2;
}

.terminology-copy p {
  max-width: 800px;
  margin: 0;
}

.terminology-copy .terminology-context {
  margin-top: 1rem;
  color: #087f86;
  font-size: 0.9rem;
  font-weight: 700;
}

.terminology-takeaway {
  max-width: 900px;
  margin: 1.35rem 0 0;
  padding-left: 1.25rem;
  border-left: 3px solid #21a5aa;
}

.community-editorial-section {
  padding-top: clamp(4rem, 7vw, 7rem);
  padding-bottom: clamp(4rem, 7vw, 7rem);
}

.community-editorial {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
  overflow: hidden;
  background: #123f4d;
  color: #ffffff;
}

.community-editorial-intro {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 5vw, 4.75rem);
  border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.community-editorial .eyebrow,
.inclusion-editorial .eyebrow {
  color: #8fe1dc;
}

.community-editorial h2,
.inclusion-editorial h2 {
  margin: 0.75rem 0 1.2rem;
  color: #ffffff;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.02;
}

.community-editorial-intro p {
  max-width: 480px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

.editorial-text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  width: fit-content;
  margin-top: 1.5rem;
  color: #087f86;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}

.community-editorial .editorial-text-link {
  color: #8fe1dc;
}

.community-routes {
  padding: clamp(1rem, 2.5vw, 2rem) clamp(1.5rem, 3.5vw, 3.25rem);
}

.community-route {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 1.2rem;
  padding: clamp(1.45rem, 2.5vw, 2.2rem) 0;
}

.community-route + .community-route {
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.community-route-icon,
.connection-spectrum-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(143, 225, 220, 0.56);
  border-radius: 50%;
  color: #8fe1dc;
}

.community-route-icon svg,
.connection-spectrum-icon svg,
.hpv-medical-note svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.community-route h3 {
  margin: 0 0 0.45rem;
  color: #ffffff;
  font-size: clamp(1.15rem, 1.8vw, 1.4rem);
}

.community-route p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.96rem;
}

.inclusion-editorial-section {
  padding-top: clamp(4rem, 7vw, 7rem);
  padding-bottom: clamp(4rem, 7vw, 7rem);
}

.inclusion-editorial {
  display: grid;
  grid-template-columns: minmax(310px, 0.88fr) minmax(0, 1.12fr);
  background: #0d344c;
  color: #ffffff;
  box-shadow: 18px 18px 0 #d9ecec;
}

.inclusion-statement {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 5vw, 4.75rem);
}

.inclusion-statement p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
}

.inclusion-principles {
  padding: clamp(1.25rem, 3vw, 2.5rem) clamp(1.5rem, 4vw, 3.5rem);
  background: #ffffff;
  color: #244c63;
}

.inclusion-principles article {
  position: relative;
  padding: clamp(1.35rem, 2.4vw, 2rem) 0 clamp(1.35rem, 2.4vw, 2rem) 3.4rem;
}

.inclusion-principles article + article {
  border-top: 1px solid #cadcdf;
}

.inclusion-principles article > span {
  position: absolute;
  top: clamp(1.35rem, 2.4vw, 2rem);
  left: 0;
  color: #0b8c91;
  font-family: var(--font-display);
  font-size: 1.2rem;
}

.inclusion-principles h3 {
  margin: 0 0 0.45rem;
  color: #123f5b;
  font-size: clamp(1.15rem, 1.8vw, 1.38rem);
}

.inclusion-principles p {
  margin: 0;
}

.hpv-briefing {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(320px, 0.94fr);
  margin-top: clamp(2rem, 4vw, 3.25rem);
  border-top: 1px solid #aecacc;
  border-bottom: 1px solid #aecacc;
  background: rgba(255, 255, 255, 0.58);
}

.hpv-briefing-facts,
.hpv-visit-list {
  padding: clamp(1.75rem, 4vw, 3.5rem);
}

.hpv-briefing-facts {
  border-right: 1px solid #aecacc;
}

.hpv-briefing-label,
.connection-spectrum-kicker {
  color: #0b898e;
}

.hpv-briefing h3 {
  margin: 0.7rem 0 1rem;
  color: #123f5b;
  font-size: clamp(1.55rem, 2.7vw, 2.25rem);
  line-height: 1.12;
}

.hpv-briefing-facts p {
  margin: 0 0 1rem;
}

.hpv-visit-list ul {
  margin: 1rem 0 1.5rem;
  padding: 0;
  list-style: none;
}

.hpv-visit-list li {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 0.75rem;
  padding: 1rem 0;
  border-bottom: 1px solid #c8dcde;
  color: #123f5b;
  font-weight: 700;
}

.hpv-visit-list li span {
  color: #0b898e;
  font-family: var(--font-display);
  font-weight: 500;
}

.hpv-medical-note {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin: 0;
  color: #4c6b7b;
  font-size: 0.88rem;
}

.hpv-medical-note svg {
  flex: 0 0 auto;
  color: #0b898e;
}

.connection-spectrum {
  margin-top: clamp(2rem, 4vw, 3.25rem);
  border-top: 1px solid #bed1d5;
  border-bottom: 1px solid #bed1d5;
}

.connection-spectrum article {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: clamp(1rem, 2vw, 1.75rem);
  padding: clamp(1.55rem, 3vw, 2.4rem) 0;
}

.connection-spectrum article + article {
  border-top: 1px solid #d4e0e2;
}

.connection-spectrum-icon {
  color: #0b898e;
  border-color: #a8d3d5;
  background: #e8f3f3;
}

.connection-spectrum h3 {
  margin: 0.35rem 0 0.45rem;
  color: #123f5b;
  font-size: clamp(1.25rem, 2.2vw, 1.7rem);
}

.connection-spectrum p {
  max-width: 780px;
  margin: 0;
}

.connection-spectrum-note {
  max-width: 850px;
  margin: 1.5rem 0 0 auto;
  padding-left: 1.25rem;
  border-left: 3px solid #21a5aa;
  color: #365e72;
}

@media (max-width: 800px) {
  .terminology-entry,
  .community-editorial,
  .inclusion-editorial,
  .hpv-briefing {
    grid-template-columns: 1fr;
  }

  .terminology-entry {
    min-height: 0;
  }

  .terminology-mark {
    min-height: 145px;
  }

  .community-editorial-intro,
  .hpv-briefing-facts {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }

  .hpv-briefing-facts {
    border-bottom-color: #aecacc;
  }

  .inclusion-editorial {
    box-shadow: 10px 10px 0 #d9ecec;
  }

  .connection-spectrum-note {
    margin-left: 0;
  }
}

@media (max-width: 520px) {
  .community-editorial,
  .inclusion-editorial {
    margin-right: 0.55rem;
  }

  .community-editorial-intro,
  .community-routes,
  .inclusion-statement,
  .inclusion-principles,
  .hpv-briefing-facts,
  .hpv-visit-list {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .community-route {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 0.85rem;
  }

  .community-route-icon,
  .connection-spectrum-icon {
    width: 40px;
    height: 40px;
  }

  .inclusion-principles article {
    padding-left: 2.8rem;
  }

  .connection-spectrum article {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 0.85rem;
  }
}

.home-page main > .home-app-section {
  padding: 0;
}

/* App showcase: a quiet product moment between privacy and local communities. */
.home-app-section {
  padding: 0;
  overflow: hidden;
  background: #f2f7f6;
}

.home-app-layout {
  display: grid;
  min-height: 610px;
  padding-top: clamp(4.25rem, 6vw, 5.75rem);
  padding-bottom: clamp(3.75rem, 5vw, 5rem);
  grid-template-columns: minmax(0, 1.18fr) minmax(340px, 0.82fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.home-app-visual {
  min-width: 0;
  margin: 0;
}

.home-app-visual img {
  display: block;
  width: min(100%, 760px);
  height: auto;
  margin-inline: auto;
}

.home-app-copy {
  max-width: 500px;
  padding-right: clamp(0rem, 2vw, 1.5rem);
}

.home-app-copy h2 {
  max-width: 11ch;
  margin: 0;
  color: var(--home-ink);
  font-size: clamp(2.35rem, 3.8vw, 3.7rem);
  line-height: 1.02;
  text-wrap: balance;
}

.home-app-copy > p {
  max-width: 44ch;
  margin: 1.5rem 0 0;
  color: #47616e;
  font-size: 1.05rem;
  line-height: 1.7;
  text-wrap: pretty;
}

.home-app-copy .home-app-supporting {
  margin-top: 0.75rem;
  color: #6c7f88;
  font-size: 0.94rem;
}

.store-badges {
  display: flex;
  margin-top: 2rem;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.store-badge {
  display: inline-flex;
  min-width: 174px;
  min-height: 56px;
  padding: 0.5rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 0.65rem;
  background: #071925;
  color: #fff;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
}

.store-badge:hover {
  background: #102d3e;
  color: #fff;
}

.store-badge:focus-visible {
  outline: 3px solid rgba(47, 152, 229, 0.4);
  outline-offset: 3px;
}

.store-badge > svg {
  display: block;
  width: 27px;
  height: 30px;
  flex: 0 0 auto;
}

.store-badge-apple {
  fill: currentColor;
}

.store-badge > span {
  display: grid;
  gap: 0.05rem;
  line-height: 1;
}

.store-badge small {
  font-size: 0.64rem;
  font-weight: 500;
}

.store-badge strong {
  font-size: 1.16rem;
  font-weight: 600;
  line-height: 1.15;
}

@media (max-width: 900px) {
  .home-app-layout {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .home-app-copy {
    max-width: 620px;
    padding-right: 0;
    grid-row: 1;
  }

  .home-app-visual {
    grid-row: 2;
  }
}

@media (max-width: 639px) {
  .home-app-layout {
    padding-top: 3.75rem;
    padding-bottom: 2.5rem;
    gap: 1.5rem;
  }

  .home-app-copy {
    text-align: left;
  }

  .home-app-copy h2 {
    max-width: 12ch;
    font-size: clamp(2.05rem, 9vw, 2.5rem);
  }

  .home-app-copy > p {
    margin-top: 1.15rem;
    font-size: 0.96rem;
  }

  .store-badges {
    display: grid;
    margin-top: 1.5rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
  }

  .store-badge {
    min-width: 0;
    min-height: 52px;
    padding: 0.45rem 0.6rem;
    gap: 0.5rem;
  }

  .store-badge > svg {
    width: 22px;
    height: 25px;
  }

  .store-badge small {
    font-size: 0.55rem;
  }

  .store-badge strong {
    font-size: 0.88rem;
  }

  .home-app-visual img {
    width: calc(100% + 1.5rem);
    max-width: none;
    margin-left: -0.75rem;
  }
}

/* ---------- Reset & base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--trust-navy);
  background-color: var(--canadian-snow);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg,
picture,
video {
  max-width: 100%;
  display: block;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  color: var(--trust-navy);
  line-height: 1.15;
  margin: 0 0 0.5em;
  font-weight: 700;
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(1.9rem, 4.5vw, 3rem);
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

h3 {
  font-size: 1.125rem;
  letter-spacing: -0.005em;
}

p {
  margin: 0 0 1em;
}

a {
  color: var(--clear-blue);
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

ul,
ol {
  margin: 0 0 1em;
  padding-left: 1.25em;
}

code {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.875em;
}

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

.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;
  top: -100px;
  left: 1rem;
  z-index: 1000;
  background: var(--trust-navy);
  color: #fff;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  transition: top 0.15s ease;
}

.skip-link:focus {
  top: 0.75rem;
}

/* ---------- Icon (inline SVG sprite) ---------- */
.icon {
  width: 1.25em;
  height: 1.25em;
  display: inline-block;
  vertical-align: -0.2em;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.9rem;
  line-height: 1.2;
  padding: 0.8rem 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease,
    box-shadow 0.15s ease;
  text-align: center;
  min-height: 44px;
}

.btn-primary {
  background-color: var(--clear-blue);
  color: #fff;
}

.btn-primary:hover {
  background-color: var(--clear-blue-hover);
  color: #fff;
}

.btn-light {
  background-color: #fff;
  color: var(--clear-blue);
}

.btn-light:hover {
  background-color: var(--glacier-mist);
  color: var(--clear-blue);
}

.btn-outline {
  background-color: var(--glacier-mist);
  color: var(--clear-blue);
  border-color: transparent;
}

.btn-outline:hover {
  background-color: var(--border-blue);
}

.btn-ghost {
  background-color: transparent;
  color: var(--cool-slate);
}

.btn-ghost:hover {
  color: var(--trust-navy);
}

.btn-lg {
  font-size: 1rem;
  padding: 0.95rem 1.9rem;
}

/* ---------- Section rhythm ---------- */
.section {
  padding: 3.5rem 0;
}

.section--alt {
  background-color: var(--canadian-snow);
  border-top: 1px solid var(--border-blue);
  border-bottom: 1px solid var(--border-blue);
}

.section--mist {
  background-color: var(--glacier-mist);
}

.section--white {
  background-color: #fff;
}

.eyebrow {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  /* Trust Navy reads at 11:1 on Glacier Mist and 12:1 on white. The lighter
     Positive Blue this used to be sat at 2.8:1, below the AA floor. */
  color: var(--trust-navy);
  margin-bottom: 0.6rem;
}

.lead {
  font-size: 1.125rem;
  color: var(--cool-slate);
  line-height: 1.65;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-blue);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
  color: var(--trust-navy);
}

.wordmark-mark {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--positive-blue);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wordmark-mark .icon {
  width: 18px;
  height: 18px;
  fill: #fff;
  stroke: none;
}

.wordmark-text {
  line-height: 1;
}

.wordmark-text strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.wordmark-text span {
  display: block;
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  color: var(--cool-slate);
  margin-top: 3px;
}

.desktop-nav {
  display: none;
}

.header-actions {
  display: none;
  align-items: center;
  gap: 0.75rem;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.5rem 0.15rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--trust-navy);
  border: none;
  background: none;
  cursor: pointer;
  font-family: var(--font-sans);
}

.nav-link:hover {
  color: var(--positive-blue);
}

.nav-link .icon {
  width: 15px;
  height: 15px;
  transition: transform 0.15s ease;
}

/* Dropdown (details-based, no-JS friendly) */
.dropdown {
  position: relative;
}

.dropdown summary {
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.5rem 0.15rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--trust-navy);
  cursor: pointer;
}

.dropdown summary::-webkit-details-marker {
  display: none;
}

.dropdown summary:hover {
  color: var(--positive-blue);
}

.dropdown summary .icon {
  width: 15px;
  height: 15px;
  transition: transform 0.15s ease;
}

.dropdown[open] summary .icon {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  min-width: 190px;
  background: #fff;
  border: 1px solid var(--border-blue);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 0.4rem;
  z-index: 60;
}

.dropdown-menu a {
  display: block;
  padding: 0.55rem 0.85rem;
  font-size: 0.88rem;
  color: var(--trust-navy);
  border-radius: var(--radius-sm);
}

.dropdown-menu a:hover {
  background: var(--glacier-mist);
  color: var(--clear-blue);
}

/* Mobile nav (details-based) */
.mobile-nav {
  display: block;
}

.mobile-nav summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: var(--trust-navy);
  cursor: pointer;
  border-radius: var(--radius-sm);
}

.mobile-nav summary::-webkit-details-marker {
  display: none;
}

.mobile-nav summary:hover {
  color: var(--positive-blue);
}

.mobile-nav .icon-close {
  display: none;
}

.mobile-nav[open] .icon-open {
  display: none;
}

.mobile-nav[open] .icon-close {
  display: block;
}

.mobile-menu {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: #fff;
  border-bottom: 1px solid var(--border-blue);
  box-shadow: var(--shadow-md);
  padding: 0.5rem 1rem 1.25rem;
  max-height: calc(100vh - var(--header-h));
  overflow-y: auto;
}

.mobile-menu > a,
.mobile-group summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 0.25rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--trust-navy);
  border-bottom: 1px solid var(--glacier-mist);
}

.mobile-group summary {
  list-style: none;
  cursor: pointer;
  width: 100%;
  font-family: var(--font-sans);
}

.mobile-group summary::-webkit-details-marker {
  display: none;
}

.mobile-group summary .icon {
  transition: transform 0.15s ease;
}

.mobile-group[open] summary .icon {
  transform: rotate(180deg);
}

.mobile-group-links {
  padding-left: 1rem;
  margin-top: 0.25rem;
}

.mobile-group-links a {
  display: block;
  padding: 0.55rem 0.25rem;
  font-size: 0.9rem;
  color: var(--cool-slate);
}

.mobile-group-links a:hover {
  color: var(--clear-blue);
}

.mobile-menu .btn {
  width: 100%;
  margin-top: 1rem;
}

.mobile-menu > .btn-primary,
.mobile-menu > .btn-primary:hover,
.mobile-menu > .btn-primary:focus-visible {
  color: #fff;
  background-color: var(--clear-blue);
}

/* Active nav state */
.nav-link[aria-current="page"],
.dropdown summary[aria-current="page"],
.mobile-menu > a[aria-current="page"] {
  color: var(--clear-blue);
  font-weight: 600;
}

/* ---------- Scroll to top ---------- */
.scroll-to-top {
  position: fixed;
  right: 0.85rem;
  bottom: max(0.85rem, env(safe-area-inset-bottom));
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  color: #fff;
  background: rgba(13, 53, 83, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 12px;
  box-shadow: 0 8px 22px rgba(9, 37, 57, 0.2);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.18s ease, transform 0.18s ease, background-color 0.18s ease;
}

.scroll-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.scroll-to-top:hover,
.scroll-to-top:focus-visible {
  background: var(--positive-blue);
}

.scroll-to-top svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Breadcrumbs ---------- */
.breadcrumbs {
  border-bottom: 1px solid var(--border-blue);
  background: #fff;
}

.breadcrumbs .container {
  padding-top: 0.8rem;
  padding-bottom: 0.8rem;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.85rem;
}

.breadcrumbs li {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.breadcrumbs a {
  color: var(--cool-slate);
}

.breadcrumbs a:hover {
  color: var(--positive-blue);
}

.breadcrumbs .icon {
  width: 13px;
  height: 13px;
  color: var(--cool-slate);
}

.breadcrumbs [aria-current="page"] {
  color: var(--trust-navy);
  font-weight: 600;
}

/* ---------- Home hero ---------- */
.hero-home {
  background: #fff;
  overflow: hidden;
}

.hero-home .container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.hero-home-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  align-self: flex-start;
  background: var(--glacier-mist);
  color: var(--clear-blue);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
}

.hero-badge .icon {
  width: 13px;
  height: 13px;
}

.hero-home h1 {
  font-size: clamp(1.9rem, 5.2vw, 3.25rem);
  line-height: 1.1;
  margin-bottom: 1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.hero-note {
  font-size: 0.8rem;
  color: var(--cool-slate);
}

.hero-image {
  display: none;
}

.topic-nav {
  margin-top: 1.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border-blue);
}

.topic-nav-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--cool-slate);
  margin-bottom: 0.75rem;
}

.topic-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.topic-pill {
  font-size: 0.8rem;
  font-weight: 500;
  background: var(--canadian-snow);
  border: 1px solid var(--border-blue);
  color: var(--cool-slate);
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  transition: border-color 0.15s ease, color 0.15s ease;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
}

.topic-pill:hover {
  border-color: var(--positive-blue);
  color: var(--clear-blue);
}

/* ---------- Page hero variants ---------- */
.page-hero {
  padding: 3.5rem 0;
}

.page-hero--navy {
  background: var(--trust-navy);
  color: #fff;
}

.page-hero--navy h1 {
  color: #fff;
}

.page-hero--navy .lead {
  color: var(--open-sky);
}

.page-hero--blue {
  background: var(--positive-blue);
  color: #fff;
}

.page-hero--blue h1 {
  color: #fff;
}

.page-hero--blue .lead {
  color: rgba(255, 255, 255, 0.9);
}

.page-hero--mist {
  background: var(--glacier-mist);
  border-bottom: 1px solid var(--border-blue);
}

.page-hero--white {
  background: #fff;
  border-bottom: 1px solid var(--border-blue);
}

.page-hero--center {
  text-align: center;
}

.page-hero--center h1,
.page-hero--center .lead {
  margin-left: auto;
  margin-right: auto;
  max-width: 720px;
}

/* ---------- Feature strip ---------- */
.feature-strip {
  background: var(--glacier-mist);
  border-top: 1px solid var(--border-blue);
  border-bottom: 1px solid var(--border-blue);
}

.feature-strip-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  padding: 2.25rem 0;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-align: center;
}

.feature-item-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-md);
  background: #fff;
  border: 1px solid var(--border-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
}

.feature-item-icon .icon {
  width: 22px;
  height: 22px;
  color: var(--positive-blue);
  stroke-width: 1.5;
}

.feature-item span {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--trust-navy);
}

/* ---------- Cards ---------- */
.card {
  background: #fff;
  border: 1px solid var(--border-blue);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}

.card--mist {
  background: var(--canadian-snow);
}

.card-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  background: var(--glacier-mist);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.card-icon .icon {
  width: 20px;
  height: 20px;
  color: var(--positive-blue);
  stroke-width: 1.5;
}

.card h3 {
  margin-bottom: 0.5rem;
}

.card p {
  color: var(--cool-slate);
  font-size: 0.9rem;
}

/* Grids */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

/* ---------- Condition / topic cards ---------- */
.condition-card {
  display: flex;
  flex-direction: column;
  background: var(--glacier-mist);
  border: 1px solid var(--border-blue);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.condition-card:hover {
  border-color: var(--positive-blue);
  box-shadow: var(--shadow-md);
}

.condition-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.condition-card h3 a {
  color: var(--positive-blue);
}

.condition-card p {
  color: var(--cool-slate);
  font-size: 0.9rem;
  flex: 1;
}

.condition-card .more {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 1.1rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--clear-blue);
}

.condition-card .more .icon {
  width: 13px;
  height: 13px;
}

/* ---------- Privacy feature cards ---------- */
.privacy-card {
  background: var(--canadian-snow);
  border: 1px solid var(--border-blue);
  border-radius: var(--radius-md);
  padding: 1.25rem;
}

.privacy-card .card-icon {
  margin-bottom: 0.75rem;
}

.privacy-card h3 {
  font-size: 0.95rem;
  margin-bottom: 0.35rem;
}

.privacy-card p {
  font-size: 0.82rem;
}

/* ---------- City grid (homepage) ---------- */
.city-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.city-tile {
  position: relative;
  display: block;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 180px;
  color: #fff;
}

.city-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.city-tile:hover img {
  transform: scale(1.05);
}

.city-tile-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(23, 58, 89, 0.85), rgba(23, 58, 89, 0.15) 60%, transparent);
}

.city-tile-body {
  position: absolute;
  left: 0;
  bottom: 0;
  padding: 1.25rem;
  z-index: 1;
}

.city-tile-tagline {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--open-sky);
  margin-bottom: 0.25rem;
}

.city-tile h3 {
  color: #fff;
  font-size: 1.6rem;
  margin-bottom: 0.4rem;
}

.city-tile .more {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.85);
}

.city-tile:hover .more {
  color: #fff;
}

/* ---------- City page hero ---------- */
.city-hero {
  position: relative;
  min-height: 340px;
  display: flex;
  align-items: flex-end;
}

.city-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.city-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(23, 58, 89, 0.93) 35%, rgba(23, 58, 89, 0.5) 100%);
}

.city-hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
}

.city-hero h1 {
  color: #fff;
  max-width: 760px;
}

/* ---------- Tables (comparison) ---------- */
.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  background: #fff;
  border: 1px solid var(--border-blue);
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-width: 460px;
}

.comparison-table thead th {
  background: var(--trust-navy);
  color: #fff;
  text-align: left;
  padding: 1rem 1.25rem;
  font-weight: 600;
}

.comparison-table thead th:not(:first-child) {
  text-align: center;
}

.comparison-table td {
  padding: 1rem 1.25rem;
  border-top: 1px solid var(--border-blue);
  vertical-align: middle;
}

.comparison-table tbody tr:nth-child(even) {
  background: var(--canadian-snow);
}

.comparison-table .feature-name {
  font-weight: 600;
  color: var(--trust-navy);
}

.comparison-table .feature-desc {
  display: block;
  font-size: 0.78rem;
  color: var(--cool-slate);
  margin-top: 0.2rem;
  font-weight: 400;
}

.check-cell {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--glacier-mist);
  color: var(--positive-blue);
}

.check-cell .icon {
  width: 14px;
  height: 14px;
  stroke-width: 2.5;
}

.check-cell--navy {
  background: rgba(23, 58, 89, 0.1);
  color: var(--trust-navy);
}

.minus-cell {
  color: var(--border-blue);
  font-size: 1.1rem;
}

/* ---------- FAQ accordions ---------- */
.faq-group {
  background: var(--canadian-snow);
  border: 1px solid var(--border-blue);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.faq-item {
  border-bottom: 1px solid var(--border-blue);
}

.faq-item:last-child {
  border-bottom: 0;
}

.faq-item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--trust-navy);
  font-family: var(--font-sans);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary:hover {
  color: var(--positive-blue);
}

.faq-item summary .icon {
  width: 18px;
  height: 18px;
  color: var(--positive-blue);
  transition: transform 0.2s ease;
}

.faq-item[open] summary {
  color: var(--clear-blue);
}

.faq-item[open] summary .icon {
  transform: rotate(180deg);
}

.faq-item .faq-answer {
  padding: 0 1.25rem 1.1rem;
  color: var(--cool-slate);
  font-size: 0.9rem;
  max-width: 720px;
}

.faq-item .faq-answer p:last-child {
  margin-bottom: 0;
}

/* ---------- Article layout + TOC ---------- */
.article-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.toc-mobile {
  border-bottom: 1px solid var(--border-blue);
  background: #fff;
}

.toc-mobile summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
  font-weight: 600;
  color: var(--trust-navy);
  cursor: pointer;
  font-family: var(--font-sans);
}

.toc-mobile summary::-webkit-details-marker {
  display: none;
}

.toc-mobile summary .icon {
  transition: transform 0.15s ease;
}

.toc-mobile[open] summary .icon {
  transform: rotate(180deg);
}

.toc-mobile ol {
  list-style: none;
  margin: 0;
  padding: 0 0 0.75rem;
}

.toc-mobile ol a {
  display: block;
  padding: 0.4rem 0;
  color: var(--clear-blue);
  font-size: 0.9rem;
}

.toc-desktop {
  display: none;
}

.article-toc {
  position: sticky;
  top: calc(var(--header-h) + 1.5rem);
}

.article-toc .toc-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--cool-slate);
  margin-bottom: 0.75rem;
}

.article-toc ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

.article-toc a {
  display: block;
  padding: 0.3rem 0;
  font-size: 0.85rem;
  color: var(--cool-slate);
  line-height: 1.35;
}

.article-toc a:hover {
  color: var(--clear-blue);
}

.article-body {
  min-width: 0;
}

.article-body section {
  scroll-margin-top: calc(var(--header-h) + 1rem);
}

.article-section-head {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.article-section-head .card-icon {
  width: 36px;
  height: 36px;
  margin-bottom: 0;
  flex-shrink: 0;
}

.article-section-head h2 {
  margin-bottom: 0;
  font-size: 1.4rem;
}

.article-section-head .icon {
  width: 18px;
  height: 18px;
  color: var(--positive-blue);
  stroke-width: 1.5;
}

.article-body .prose p,
.article-body .prose li {
  color: var(--cool-slate);
  line-height: 1.7;
}

/* ---------- Callouts ---------- */
.callout {
  background: var(--glacier-mist);
  border-left: 4px solid var(--positive-blue);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 1.1rem 1.25rem;
  margin: 1.25rem 0;
  color: var(--cool-slate);
  font-size: 0.9rem;
}

.callout strong {
  color: var(--trust-navy);
}

.callout--teal {
  border-left-color: var(--privacy-teal);
  background: var(--privacy-teal-soft);
}

.callout--note {
  background: var(--privacy-teal-soft);
  border: 1px solid rgba(62, 170, 161, 0.35);
  border-radius: var(--radius-lg);
}

.checklist {
  list-style: none;
  margin: 1rem 0;
  padding: 0;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  color: var(--cool-slate);
  font-size: 0.9rem;
  margin-bottom: 0.55rem;
}

.checklist .icon {
  width: 18px;
  height: 18px;
  color: var(--privacy-teal);
  margin-top: 0.15rem;
}

.dotlist {
  list-style: none;
  margin: 1rem 0;
  padding: 0;
}

.dotlist li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  color: var(--cool-slate);
  font-size: 0.95rem;
  margin-bottom: 0.55rem;
}

.dotlist li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--positive-blue);
  margin-top: 0.55rem;
  flex-shrink: 0;
}

/* Do / don't panels */
.do-dont-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.do-panel,
.dont-panel {
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}

.do-panel {
  background: var(--privacy-teal-soft);
  border: 1px solid rgba(62, 170, 161, 0.35);
}

.dont-panel {
  background: var(--canadian-snow);
  border: 1px solid var(--border-blue);
}

.do-panel h3,
.dont-panel h3 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.do-panel h3 .icon {
  color: var(--privacy-teal);
}

.dont-panel h3 .icon {
  color: var(--cool-slate);
}

.do-panel ul,
.dont-panel ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.do-panel li,
.dont-panel li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.88rem;
  margin-bottom: 0.6rem;
}

.do-panel li::before,
.dont-panel li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  margin-top: 0.5rem;
  flex-shrink: 0;
}

.do-panel li::before {
  background: var(--privacy-teal);
}

.dont-panel li::before {
  background: var(--cool-slate);
}

/* ---------- Resource directory ---------- */
.resource-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.resource-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--border-blue);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  color: var(--deep-navy);
  text-decoration: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.resource-card:hover {
  border-color: var(--open-sky);
  box-shadow: var(--shadow-sm);
}

.resource-card h3 {
  font-size: 1rem;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
}

.resource-card h3 .icon {
  width: 14px;
  height: 14px;
  color: var(--positive-blue);
  margin-top: 0.15rem;
}

.resource-card p {
  font-size: 0.85rem;
  color: var(--cool-slate);
  margin-bottom: 1rem;
}

.resource-card .more {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: auto;
  color: var(--positive-blue);
  font-size: 0.8rem;
  font-weight: 750;
}

.resource-card .more .icon { width: 15px; height: 15px; }
.resource-card--urgent { border-color: rgba(34, 113, 173, 0.45); background: #f7fbff; }

.editorial-meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--border-blue);
  color: var(--cool-slate);
  font-size: 0.82rem;
}

.editorial-meta a { color: var(--positive-blue); font-weight: 750; }

.about-author-section { background: #eef6fa; }
.about-author-layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.72fr) minmax(0, 1.45fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.about-author-photo { margin: 0; max-width: 360px; }
.about-author-photo img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; box-shadow: var(--shadow-card); }
.about-author-copy { max-width: 720px; }
.about-author-copy h2 { margin-top: 0.35rem; }
.blog-byline a,
.blog-author-card a,
.blog-card-author a { color: inherit; text-decoration-color: rgba(34, 113, 173, 0.35); text-underline-offset: 0.18em; }

@media (max-width: 720px) {
  .editorial-meta { flex-direction: column; gap: 0.25rem; }
  .about-author-layout { grid-template-columns: 1fr; gap: 1.5rem; }
  .about-author-photo { max-width: 190px; }
}

.resource-section h2 {
  font-size: 1.25rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--border-blue);
  margin-bottom: 1.25rem;
}

/* ---------- Link list (external resource links) ---------- */
.link-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.link-list li {
  margin-bottom: 0.7rem;
}

.ext-link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: #fff;
  border: 1px solid var(--border-blue);
  border-radius: var(--radius-md);
  padding: 0.9rem 1.1rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--clear-blue);
  transition: background-color 0.15s ease;
}

.ext-link:hover {
  background: var(--glacier-mist);
}

.ext-link .icon {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

/* ---------- CTA banner ---------- */
.cta-banner {
  background: var(--positive-blue);
  padding: 4rem 0;
  text-align: center;
}

.cta-banner .container {
  max-width: 720px;
}

.cta-banner h2 {
  color: #fff;
  font-size: clamp(1.6rem, 3.5vw, 2.25rem);
  margin-bottom: 0.75rem;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.05rem;
  margin-bottom: 1.75rem;
}

.cta-banner .hero-actions {
  justify-content: center;
}

.cta-banner .cta-note {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.78rem;
  margin-top: 1.25rem;
  margin-bottom: 0;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--trust-navy);
  color: #fff;
  padding: 3.5rem 0 2.5rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.footer-brand .wordmark-mark {
  width: 38px;
  height: 38px;
}

.footer-brand .wordmark-text strong {
  color: #fff;
}

.footer-brand .wordmark-text span {
  color: var(--open-sky);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem 1.5rem;
  margin-bottom: 2.25rem;
}

.footer-col h3 {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--open-sky);
  margin-bottom: 1rem;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col li {
  margin-bottom: 0.55rem;
}

.footer-col a {
  font-size: 0.88rem;
  color: rgba(214, 232, 242, 0.82);
  transition: color 0.15s ease;
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1.75rem;
}

.footer-bottom p {
  color: rgba(214, 232, 242, 0.72);
  font-size: 0.88rem;
  line-height: 1.65;
  max-width: 720px;
  margin-bottom: 0.75rem;
}

.footer-copyright {
  color: rgba(214, 232, 242, 0.5);
  font-size: 0.78rem;
  margin-bottom: 0;
}

/* ---------- Reveal animation (JS-gated) ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

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

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .city-tile img {
    transition: none;
  }
  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Responsive: small ---------- */
@media (min-width: 640px) {
  .section {
    padding: 4.5rem 0;
  }
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .feature-strip-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .resource-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .do-dont-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ---------- Responsive: large ---------- */
@media (min-width: 1024px) {
  .desktop-nav {
    display: flex;
    align-items: center;
    gap: 1.4rem;
  }
  .header-actions {
    display: flex;
  }
  .mobile-nav {
    display: none;
  }

  .hero-home .container {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    min-height: 600px;
    padding-top: 0;
    padding-bottom: 0;
  }
  .hero-home-copy {
    padding: 3rem 3rem 3rem 0;
  }
  .hero-image {
    display: block;
    position: relative;
  }
  .hero-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .hero-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.18), transparent);
  }

  .feature-strip-grid {
    grid-template-columns: repeat(6, 1fr);
  }
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
  .grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
  .resource-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .city-grid {
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 190px);
  }
  .city-grid .city-tile--toronto {
    grid-column: span 2;
    grid-row: span 2;
  }
  .city-grid .city-tile--calgary {
    grid-column: span 2;
  }

  .city-hero {
    min-height: 480px;
  }

  .article-layout {
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 2.5rem;
  }
  .toc-mobile {
    display: none;
  }
  .toc-desktop {
    display: block;
  }
}

/* ---------- Section head (icon + heading) ---------- */
.section-head {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  margin-bottom: 1.25rem;
}

.section-head-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--glacier-mist);
  color: var(--positive-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.section-head-icon .icon {
  width: 20px;
  height: 20px;
  stroke-width: 1.5;
}

.section-head-icon--teal {
  background: rgba(62, 170, 161, 0.12);
  color: var(--privacy-teal);
}

.section-head h2 {
  margin: 0;
  font-size: 1.4rem;
}

/* ---------- Icon feature (icon box + text) ---------- */
.icon-feature {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.icon-feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--glacier-mist);
  color: var(--positive-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.icon-feature-icon .icon {
  width: 20px;
  height: 20px;
  stroke-width: 1.5;
}

.icon-feature--teal .icon-feature-icon {
  background: rgba(62, 170, 161, 0.12);
  color: var(--privacy-teal);
}

.icon-feature h3 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.icon-feature p {
  color: var(--cool-slate);
  font-size: 0.9rem;
  margin: 0;
}

/* ---------- Steps timeline ---------- */
.steps {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.step {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
}

.step-circle {
  width: 46px;
  height: 46px;
  min-width: 46px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--positive-blue);
  color: var(--positive-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.8rem;
  flex-shrink: 0;
}

.step-circle .icon {
  width: 22px;
  height: 22px;
  stroke-width: 1.5;
}

.step-circle--solid {
  background: var(--positive-blue);
  color: #fff;
  border-color: var(--positive-blue);
}

.step-body {
  padding-top: 0.1rem;
}

.step-num {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--open-sky);
  margin-bottom: 0.15rem;
}

.step-body h3 {
  font-size: 1rem;
  margin-bottom: 0.3rem;
}

.step-body p {
  color: var(--cool-slate);
  font-size: 0.9rem;
  margin: 0;
}

.steps--on-navy .step-body h3 {
  color: #fff;
}

.steps--on-navy .step-body p {
  color: var(--open-sky);
}

@media (min-width: 1024px) {
  .steps-horizontal {
    flex-direction: row;
    align-items: flex-start;
    gap: 0;
    position: relative;
  }
  .steps-horizontal::before {
    content: "";
    position: absolute;
    top: 22px;
    left: 6%;
    right: 6%;
    height: 1px;
    background: var(--border-blue);
  }
  .steps-horizontal .step {
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
    gap: 0;
    padding: 0 0.6rem;
    position: relative;
  }
  .steps-horizontal .step-circle {
    margin-bottom: 0.9rem;
  }
  .steps-horizontal .step-body h3 {
    font-size: 0.88rem;
  }
  .steps-horizontal .step-body p {
    font-size: 0.78rem;
  }
}

.steps--on-navy::before {
  background: rgba(255, 255, 255, 0.2);
}

/* ---------- Info banner (note with icon) ---------- */
.info-banner {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--border-blue);
  border-radius: var(--radius-md);
  padding: 0.9rem 1.1rem;
}

.info-banner .icon {
  width: 18px;
  height: 18px;
  color: var(--positive-blue);
  margin-top: 0.15rem;
  flex-shrink: 0;
}

.info-banner p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--cool-slate);
  line-height: 1.6;
}

/* ---------- Tags (small pills) ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
}

.tag .icon {
  width: 13px;
  height: 13px;
}

.tag--blue {
  background: rgba(47, 152, 229, 0.1);
  color: var(--positive-blue);
}

.tag--teal {
  background: rgba(62, 170, 161, 0.12);
  color: var(--privacy-teal);
}

.tag--sky {
  background: rgba(115, 196, 241, 0.2);
  color: var(--clear-blue);
}

/* ---------- Myth / misconception card ---------- */
.myth-card {
  background: #fff;
  border: 1px solid var(--border-blue);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}

.myth-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--cool-slate);
  margin-bottom: 0.25rem;
}

.myth-quote {
  color: var(--trust-navy);
  font-weight: 500;
  margin-bottom: 0.9rem;
}

.reality-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--positive-blue);
  margin-bottom: 0.25rem;
}

.myth-card .reality {
  color: var(--cool-slate);
  font-size: 0.9rem;
  margin: 0;
  line-height: 1.6;
}

/* ---------- Panel (soft rounded container) ---------- */
.panel {
  background: var(--glacier-mist);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
}

.panel--bordered {
  border: 1px solid var(--border-blue);
}

.panel h2,
.panel h3 {
  margin-bottom: 0.6rem;
}

.panel .dotlist {
  margin: 0;
}

@media (min-width: 640px) {
  .panel {
    padding: 2.25rem;
  }
}

/* ---------- Generic prose ---------- */
.prose {
  color: var(--cool-slate);
}

.prose p {
  color: var(--cool-slate);
  line-height: 1.7;
  margin-bottom: 1em;
}

.prose p:last-child {
  margin-bottom: 0;
}

/* ---------- Two-column split ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .split {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

/* ---------- Condition / topic card title ---------- */
.condition-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--positive-blue);
  margin-bottom: 0.5rem;
}

/* ---------- City tile name ---------- */
.city-tile-name {
  display: block;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.6rem;
  line-height: 1.15;
  margin-bottom: 0.4rem;
}

/* ---------- Editorial reading width ---------- */
.reading {
  max-width: 720px;
}

.reading--wide {
  max-width: 900px;
}

.reading--spaced {
  margin-top: clamp(2rem, 4vw, 3rem);
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.text-center {
  text-align: center;
}

/* ---------- 2026 UI quality pass ---------- */
/* Keep the existing visual identity while improving hierarchy, legibility,
   responsive density, interaction feedback, and colour contrast. */
:root {
  --clear-blue: #176fa8;
  --clear-blue-hover: #0f5f91;
  --privacy-teal: #237c74;
  --shadow-card: 0 10px 30px rgba(23, 58, 89, 0.07);
  --shadow-float: 0 12px 32px rgba(23, 58, 89, 0.18);
}

html {
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

a,
button,
summary {
  touch-action: manipulation;
}

.wordmark {
  min-height: 44px;
}

.btn-primary {
  box-shadow: 0 6px 16px rgba(23, 111, 168, 0.2);
}

.btn-primary:hover {
  box-shadow: 0 8px 22px rgba(23, 111, 168, 0.26);
}

.topic-pill {
  min-height: 44px;
}

.card,
.condition-card,
.privacy-card,
.resource-card,
.myth-card,
.info-banner {
  box-shadow: var(--shadow-card);
}

.condition-card .more,
.resource-card a,
.btn-ghost {
  min-height: 44px;
}

.cta-banner {
  background: var(--clear-blue);
}

.cta-banner .cta-note {
  color: rgba(255, 255, 255, 0.92);
}

.footer-copyright {
  color: rgba(214, 232, 242, 0.78);
}

:focus-visible {
  outline: 3px solid var(--clear-blue);
  outline-offset: 3px;
}

@media (max-width: 639px) {
  .section {
    padding: 2.75rem 0;
  }

  .page-hero {
    padding: 2.75rem 0;
  }

  .hero-home .container {
    padding-top: 1.5rem;
    padding-bottom: 0;
  }

  .hero-home h1 {
    font-size: 2.15rem;
    line-height: 1.08;
    text-wrap: balance;
  }

  .hero-home .lead,
  .lead {
    font-size: 1rem;
    line-height: 1.65;
  }

  .hero-image {
    display: block;
    position: relative;
    height: 240px;
    margin-top: 1.5rem;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    overflow: hidden;
  }

  .hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 38%;
  }

  .hero-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(23, 58, 89, 0.12), transparent 45%);
  }

  .feature-strip-grid {
    gap: 1rem 0.75rem;
    padding: 1.5rem 0;
  }

  .feature-item span,
  .hero-note,
  .topic-nav-label,
  .eyebrow,
  .breadcrumbs ol {
    font-size: 0.875rem;
  }

  .card p,
  .condition-card p,
  .privacy-card p,
  .resource-card p,
  .icon-feature p,
  .step-body p,
  .info-banner p,
  .myth-card .reality,
  .article-body .prose p,
  .article-body .prose li {
    font-size: 1rem;
  }

  .home-story > div:last-child {
    display: none;
  }

  .home-condition-grid,
  .home-privacy-grid,
  .city-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-condition-grid,
  .home-privacy-grid {
    gap: 0.75rem;
  }

  .home-condition-grid .condition-card,
  .home-privacy-grid .privacy-card {
    padding: 1rem;
  }

  .home-condition-grid .condition-title,
  .home-privacy-grid h3 {
    font-size: 1rem;
  }

  .city-grid {
    gap: 0.75rem;
  }

  .city-tile {
    min-height: 150px;
  }

  .city-tile-body {
    padding: 1rem;
  }

  .city-tile-tagline {
    display: none;
  }

  .city-tile-name,
  .city-tile h3 {
    font-size: 1.25rem;
  }

  .scroll-to-top {
    right: 0.65rem;
    bottom: max(0.65rem, env(safe-area-inset-bottom));
    width: 36px;
    height: 36px;
    border-radius: 10px;
  }

  .cta-banner {
    padding: 3rem 0;
  }

  .cta-banner .cta-note,
  .footer-copyright {
    font-size: 0.8125rem;
  }

  .footer-col a,
  .footer-bottom p {
    font-size: 0.9375rem;
  }
}

@media (min-width: 1024px) and (max-width: 1179px) {
  .desktop-nav,
  .header-actions {
    display: none;
  }

  .mobile-nav {
    display: block;
  }
}

@media (min-width: 1180px) {
  .desktop-nav {
    gap: clamp(0.7rem, 1.2vw, 1.4rem);
  }
}

/* ============================================================
   Lower-density page layout
   Opt in with <body class="page-airy">. Used by How It Works
   and the city pages.
   ============================================================ */

.page-airy .section {
  padding: 4rem 0;
}

/* Shared centred section intro: eyebrow + heading + lead */
.section-intro {
  max-width: 640px;
  margin: 0 auto 2.5rem;
  text-align: center;
}

/* Hero: navy with a soft light bloom behind the headline */
.hiw-hero {
  position: relative;
  overflow: hidden;
}

.hiw-hero::before {
  content: "";
  position: absolute;
  top: -55%;
  left: 50%;
  width: min(880px, 150%);
  aspect-ratio: 1;
  transform: translateX(-50%);
  background: radial-gradient(
    circle,
    rgba(47, 152, 229, 0.32) 0%,
    rgba(47, 152, 229, 0) 62%
  );
  pointer-events: none;
}

.hiw-hero > .container {
  position: relative;
  z-index: 1;
}

.hiw-hero .hero-actions {
  justify-content: center;
  margin-top: 1.9rem;
  margin-bottom: 0;
}

/* "On this page" jump links, sitting inside the hero */
.hiw-jump {
  margin-top: 2.25rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.hiw-jump-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--open-sky);
  margin-bottom: 0.85rem;
}

.hiw-jump-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

.hiw-jump-links a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0.4rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 0.83rem;
  font-weight: 600;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.hiw-jump-links a:hover,
.hiw-jump-links a:focus-visible {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.45);
}

.section-intro h2 {
  margin-bottom: 0.6rem;
}

.section-intro p {
  margin: 0;
}

/* Steps as roomy cards instead of a tight horizontal rail */
.hiw-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hiw-step {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--border-blue);
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.5rem;
  box-shadow: var(--shadow-card);
}

.hiw-step-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.15rem;
}

.hiw-step-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: var(--glacier-mist);
  color: var(--clear-blue);
  flex-shrink: 0;
}

.hiw-step-icon .icon {
  width: 22px;
  height: 22px;
  stroke-width: 1.6;
}

.hiw-step-num {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  color: rgba(47, 152, 229, 0.24);
}

.hiw-step h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.hiw-step p {
  margin: 0;
  color: var(--cool-slate);
  font-size: 0.92rem;
  line-height: 1.65;
}

/* Comparison table: wider cells, tinted premium column */
.hiw-table {
  border: 1px solid var(--border-blue);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.hiw-table .comparison-table {
  border: 0;
  border-radius: 0;
  font-size: 0.95rem;
}

.hiw-table .comparison-table thead th,
.hiw-table .comparison-table td {
  padding: 1.15rem 1.5rem;
}

.hiw-table .comparison-table .feature-desc {
  font-size: 0.82rem;
  max-width: 48ch;
}

.hiw-table .comparison-table td:last-child {
  background: rgba(234, 246, 252, 0.6);
}

.hiw-table .comparison-table thead th:last-child {
  background: #1f4e75;
}

.hiw-table .comparison-table tbody tr:nth-child(even) td:last-child {
  background: rgba(214, 232, 242, 0.55);
}

.hiw-note {
  margin: 1.5rem 0 0;
  font-size: 0.83rem;
  color: var(--cool-slate);
}

/* Privacy controls: cards rather than a dense 3×3 text grid */
.hiw-controls {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.hiw-control {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  background: #fff;
  border: 1px solid var(--border-blue);
  border-radius: var(--radius-md);
  padding: 1.2rem 1.25rem;
  box-shadow: var(--shadow-card);
}

.hiw-control h3 {
  font-size: 0.97rem;
  margin-bottom: 0.3rem;
}

.hiw-control p {
  margin: 0;
  color: var(--cool-slate);
  font-size: 0.87rem;
  line-height: 1.6;
}

.hiw-controls-cta {
  margin: 2rem 0 0;
  text-align: center;
}

/* Safe first meetings */
.hiw-safety {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.hiw-safety-card {
  background: var(--canadian-snow);
  border: 1px solid var(--border-blue);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.4rem;
}

.hiw-safety-card .icon-feature-icon {
  margin-bottom: 0.9rem;
}

.hiw-safety-card p {
  margin: 0;
  color: var(--cool-slate);
  font-size: 0.9rem;
  line-height: 1.65;
}

@media (min-width: 640px) {
  .page-airy .section {
    padding: 5rem 0;
  }

  .hiw-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .hiw-controls {
    grid-template-columns: repeat(2, 1fr);
  }

  .hiw-safety {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .page-airy .section {
    padding: 5.5rem 0;
  }

  .hiw-steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }

  .hiw-controls {
    grid-template-columns: repeat(3, 1fr);
  }

  .hiw-safety {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 639px) {
  .page-airy .section {
    padding: 3.25rem 0;
  }

  .hiw-jump {
    margin-top: 1.75rem;
    padding-top: 1.4rem;
  }
}

/* ============================================================
   City pages — shared components
   ============================================================ */

/* Hero: taller, with an eyebrow + lead over the photo */
.city-hero {
  min-height: 420px;
}

.city-hero-content {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.city-hero .eyebrow {
  color: var(--open-sky);
}

.city-hero h1 {
  max-width: 840px;
  margin-bottom: 0.7rem;
  text-wrap: balance;
}

.city-hero-lead {
  max-width: 620px;
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.0625rem;
  line-height: 1.6;
}

/* Narrative + sticky fact card */
.city-intro {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.25rem;
  align-items: start;
}

.city-prose p {
  color: var(--cool-slate);
  line-height: 1.75;
  margin-bottom: 1.15rem;
}

.city-prose p:last-child {
  margin-bottom: 0;
}

.city-prose .callout {
  margin-top: 1.75rem;
}

.city-facts {
  background: var(--canadian-snow);
  border: 1px solid var(--border-blue);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
}

.city-facts h3 {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--cool-slate);
  margin-bottom: 1.1rem;
}

.city-facts dl {
  margin: 0;
  display: grid;
  gap: 0.95rem;
}

.city-facts dt {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--clear-blue);
  margin-bottom: 0.2rem;
}

.city-facts dd {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--trust-navy);
}

.city-facts-source {
  margin: 1.25rem 0 0;
  padding-top: 0.95rem;
  border-top: 1px solid var(--border-blue);
  font-size: 0.72rem;
  line-height: 1.5;
  color: var(--cool-slate);
}

/* Date ideas */
.city-dates {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.1rem;
}

.city-date {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--border-blue);
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.35rem;
  box-shadow: var(--shadow-card);
}

.city-date-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: var(--glacier-mist);
  color: var(--clear-blue);
  margin-bottom: 0.95rem;
}

.city-date-icon .icon {
  width: 20px;
  height: 20px;
  stroke-width: 1.6;
}

.city-date h3 {
  font-size: 1rem;
  margin-bottom: 0.4rem;
}

.city-date p {
  margin: 0 0 1rem;
  color: var(--cool-slate);
  font-size: 0.875rem;
  line-height: 1.6;
}

.city-date .tag {
  margin-top: auto;
  align-self: flex-start;
}

/* Neighbourhood guide */
.city-hoods {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9rem;
}

.city-hood {
  background: #fff;
  border: 1px solid var(--border-blue);
  border-left: 3px solid var(--positive-blue);
  border-radius: var(--radius-md);
  padding: 1.15rem 1.25rem;
  box-shadow: var(--shadow-card);
}

.city-hood h3 {
  font-size: 0.98rem;
  margin-bottom: 0.3rem;
}

.city-hood p {
  margin: 0;
  color: var(--cool-slate);
  font-size: 0.86rem;
  line-height: 1.6;
}

/* Privacy panel on a mist background */
.city-privacy {
  background: #fff;
  border: 1px solid var(--border-blue);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  box-shadow: var(--shadow-card);
}

.city-privacy .checklist {
  margin: 0;
}

@media (min-width: 1024px) {
  .city-privacy .checklist {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0 2.5rem;
  }
}

/* Health resources */
.city-health {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.1rem;
}

.city-health-card {
  background: #fff;
  border: 1px solid var(--border-blue);
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.35rem;
  box-shadow: var(--shadow-card);
}

.city-health-card h3 {
  font-size: 0.98rem;
  margin-bottom: 0.4rem;
}

.city-health-card p {
  margin: 0;
  color: var(--cool-slate);
  font-size: 0.875rem;
  line-height: 1.6;
}

.city-health-note {
  margin: 1.75rem 0 0;
  font-size: 0.86rem;
  line-height: 1.65;
  color: var(--cool-slate);
}

/* Condition links + cross-city links */
.city-conditions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.1rem;
}

/* ------------------------------------------------------------
   Reserved image slots

   Every .media-slot element holds its final size before any photo
   exists, so dropping an <img> in later causes no layout shift.
   To fill a slot, put an <img> (or <picture>) inside the element
   and delete its aria-hidden attribute. The placeholder artwork is
   suppressed automatically as soon as a child image is present.
   ------------------------------------------------------------ */
.media-slot {
  position: relative;
  overflow: hidden;
  /* <figure> carries a UA margin; each slot sets only the sides it needs. */
  margin: 0;
  background-color: var(--glacier-mist);
  background-image:
    linear-gradient(
      135deg,
      rgba(115, 196, 241, 0.32),
      rgba(234, 246, 252, 0.5) 55%,
      rgba(214, 232, 242, 0.8)
    ),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23167DC5' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='2.5'/%3E%3Ccircle cx='8.8' cy='9' r='1.9'/%3E%3Cpath d='m21 15.5-3.1-3.1a2 2 0 0 0-2.83 0L6.2 21'/%3E%3C/svg%3E");
  background-repeat: no-repeat, no-repeat;
  background-position: center, center;
  background-size: cover, 40px 40px;
}

.media-slot:has(img),
.media-slot:has(picture) {
  background-image: none;
}

.media-slot img,
.media-slot picture,
.media-slot video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Wide feature image below the intro copy */
.city-intro-media {
  aspect-ratio: 16 / 9;
  margin: 2.5rem 0 0;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
}

/* Wide feature image above the date-idea grid */
.city-dates-media {
  aspect-ratio: 16 / 9;
  margin: 0 0 2.25rem;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
}

@media (max-width: 639px) {
  .city-hero {
    min-height: 360px;
  }

  .city-hero-content {
    padding-top: 2.25rem;
    padding-bottom: 2.25rem;
  }

  .city-hero-lead {
    font-size: 1rem;
  }

  .city-facts {
    padding: 1.25rem;
  }
}

@media (min-width: 640px) {
  .city-hero {
    min-height: 460px;
  }

  .city-dates {
    grid-template-columns: repeat(2, 1fr);
  }

  .city-hoods {
    grid-template-columns: repeat(2, 1fr);
  }

  .city-health {
    grid-template-columns: repeat(2, 1fr);
  }

  .city-conditions {
    grid-template-columns: repeat(2, 1fr);
  }

  .city-privacy {
    padding: 2.5rem;
  }
}

@media (min-width: 1024px) {
  .city-hero {
    min-height: 520px;
  }

  .city-intro {
    grid-template-columns: minmax(0, 1.65fr) minmax(300px, 1fr);
    gap: 3.5rem;
  }

  .city-facts {
    position: sticky;
    top: calc(var(--header-h) + 1.5rem);
  }

  .city-intro-media {
    aspect-ratio: 21 / 9;
    margin: 3.5rem 0 0;
  }

  .city-dates-media {
    aspect-ratio: 21 / 9;
    margin-bottom: 3rem;
  }

  .city-dates {
    grid-template-columns: repeat(4, 1fr);
  }

  .city-hoods {
    grid-template-columns: repeat(3, 1fr);
  }

  .city-health {
    grid-template-columns: repeat(3, 1fr);
  }

  .city-conditions {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ============================================================
   Photo hero (generic) — used by guide and topic pages
   ============================================================ */
.photo-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 380px;
}

.photo-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(23, 58, 89, 0.94) 30%,
    rgba(23, 58, 89, 0.62) 70%,
    rgba(23, 58, 89, 0.42) 100%
  );
}

.photo-hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.photo-hero .eyebrow {
  color: var(--open-sky);
}

.photo-hero h1 {
  color: #fff;
  max-width: 840px;
  margin-bottom: 0.7rem;
  text-wrap: balance;
}

.photo-hero-lead {
  max-width: 640px;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.0625rem;
  line-height: 1.6;
}

/* ============================================================
   Condition topic pages — STI, herpes, HIV and HPV dating
   ============================================================ */

/* Alternating image + text split */
.topic-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

.topic-split-media {
  aspect-ratio: 4 / 3;
  /* <figure> carries a UA margin; the grid gap handles spacing. */
  margin: 0;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.topic-split-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.topic-split-body h2 {
  margin-bottom: 0.9rem;
}

.topic-split-body p {
  color: var(--cool-slate);
  line-height: 1.75;
  margin-bottom: 1.1rem;
}

.topic-split-body p:last-child {
  margin-bottom: 0;
}

.topic-split-body .eyebrow {
  margin-bottom: 0.5rem;
}

/* Side-by-side comparison: general apps vs a specialist community */
.topic-compare {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.topic-compare-card {
  background: #fff;
  border: 1px solid var(--border-blue);
  border-radius: var(--radius-xl);
  padding: 1.6rem 1.5rem;
  box-shadow: var(--shadow-card);
}

.topic-compare-card--alt {
  background: linear-gradient(180deg, rgba(234, 246, 252, 0.85), #fff 42%);
  border-color: rgba(47, 152, 229, 0.4);
}

.topic-compare-head {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1.2rem;
}

.topic-compare-head .icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.topic-compare-head h3 {
  margin: 0;
  font-size: 1.02rem;
}

.topic-compare-card--alt .topic-compare-head .icon {
  color: var(--privacy-teal);
}

.topic-compare-card:not(.topic-compare-card--alt) .topic-compare-head .icon {
  color: var(--cool-slate);
}

.topic-compare-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.topic-compare-list li {
  display: flex;
  gap: 0.7rem;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--cool-slate);
}

.topic-compare-list .icon {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.topic-compare-list--minus .icon {
  color: var(--cool-slate);
  opacity: 0.75;
}

.topic-compare-list--plus li {
  color: var(--trust-navy);
}

.topic-compare-list--plus .icon {
  color: var(--privacy-teal);
}

.topic-compare-note {
  margin: 2rem 0 0;
}

.topic-compare-note p {
  margin: 0 0 0.85rem;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--cool-slate);
}

.topic-compare-note p:last-child {
  margin-bottom: 0;
}

/* Feature cards with tinted icon badges */
.topic-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.topic-feature {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--border-blue);
  border-radius: var(--radius-xl);
  padding: 1.75rem 1.6rem;
  box-shadow: var(--shadow-card);
}

.topic-feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  margin-bottom: 1.15rem;
}

.topic-feature-icon .icon {
  width: 22px;
  height: 22px;
}

.topic-feature--blue .topic-feature-icon {
  background: var(--glacier-mist);
  color: var(--positive-blue);
}

.topic-feature--teal .topic-feature-icon {
  background: var(--privacy-teal-soft);
  color: var(--privacy-teal);
}

.topic-feature--sky .topic-feature-icon {
  background: rgba(115, 196, 241, 0.22);
  color: var(--clear-blue);
}

.topic-feature h3 {
  font-size: 1.08rem;
  margin-bottom: 0.55rem;
}

.topic-feature p {
  margin: 0;
  color: var(--cool-slate);
  font-size: 0.92rem;
  line-height: 1.65;
}

/* Glossary: STBBI and STI */
.topic-glossary {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.topic-term {
  background: #fff;
  border: 1px solid var(--border-blue);
  border-top: 4px solid var(--positive-blue);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.5rem 1.6rem;
  box-shadow: var(--shadow-card);
}

.topic-term--alt {
  border-top-color: var(--privacy-teal);
}

.topic-term-abbr {
  display: block;
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.015em;
  color: var(--trust-navy);
  line-height: 1.2;
}

.topic-term-full {
  display: block;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--clear-blue);
  margin: 0.3rem 0 0.9rem;
}

.topic-term--alt .topic-term-full {
  color: var(--privacy-teal);
}

.topic-term p {
  margin: 0;
  color: var(--cool-slate);
  font-size: 0.92rem;
  line-height: 1.7;
}

/* Privacy tools as icon rows */
.topic-privacy {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.1rem;
  margin-top: 2.5rem;
}

.topic-privacy-card {
  display: flex;
  gap: 1rem;
  background: #fff;
  border: 1px solid var(--border-blue);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.3rem;
  box-shadow: var(--shadow-card);
}

.topic-privacy-card .icon {
  width: 20px;
  height: 20px;
  color: var(--clear-blue);
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.topic-privacy-card h3 {
  font-size: 0.96rem;
  margin-bottom: 0.35rem;
}

.topic-privacy-card p {
  margin: 0;
  color: var(--cool-slate);
  font-size: 0.875rem;
  line-height: 1.6;
}

/* Resource links */
.topic-resources {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.1rem;
  margin-top: 0.5rem;
}

.topic-resource-note {
  margin: 1.75rem 0 0;
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--cool-slate);
}

@media (max-width: 639px) {
  .photo-hero {
    min-height: 340px;
  }

  .photo-hero-content {
    padding-top: 2.25rem;
    padding-bottom: 2.25rem;
  }

  .photo-hero-lead {
    font-size: 1rem;
  }
}

@media (min-width: 640px) {
  .photo-hero {
    min-height: 460px;
  }

  .topic-glossary {
    grid-template-columns: repeat(2, 1fr);
  }

  .topic-privacy {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .topic-features {
    grid-template-columns: repeat(3, 1fr);
  }

  .topic-resources {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .photo-hero {
    min-height: 500px;
  }

  .topic-split {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: 3.5rem;
  }

  .topic-split--reverse .topic-split-media {
    order: -1;
  }

  .topic-compare {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem;
  }

  .topic-privacy {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ============================================================
   Two-column hero with a side image
   Compose as: <section class="page-hero page-hero--blue">
                 <div class="container hero-split-inner"> … </div>
               </section>
   ============================================================ */
.hero-split-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

.hero-split-media {
  aspect-ratio: 4 / 3;
  margin: 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.hero-split-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero--navy .eyebrow {
  color: var(--open-sky);
}

/* Open Sky on Positive Blue is 1.6:1, so the label sits on a navy pill
   instead — white on that mix measures 9.5:1. */
.page-hero--blue .eyebrow {
  display: inline-block;
  color: #fff;
  background: rgba(23, 58, 89, 0.85);
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
}

/* ============================================================
   Tinted prose panel — pairs with .topic-split, or stands alone
   ============================================================ */
.topic-panel {
  background: #fff;
  border: 1px solid var(--border-blue);
  border-left: 4px solid var(--positive-blue);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.6rem;
  box-shadow: var(--shadow-card);
}

.topic-panel--accent {
  background: linear-gradient(180deg, rgba(234, 246, 252, 0.9), #fff 55%);
  border-color: rgba(47, 152, 229, 0.4);
  border-left-color: var(--positive-blue);
}

.topic-panel--teal {
  background: var(--privacy-teal-soft);
  border-color: rgba(62, 170, 161, 0.35);
  border-left-color: var(--privacy-teal);
}

.topic-panel h2 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.topic-panel h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.topic-panel p {
  margin: 0 0 0.9rem;
  color: var(--cool-slate);
  font-size: 0.94rem;
  line-height: 1.7;
}

.topic-panel p:last-child {
  margin-bottom: 0;
}

.topic-panel .icon-feature {
  width: 26px;
  height: 26px;
  color: var(--positive-blue);
  margin-bottom: 0.85rem;
}

.topic-panel--teal .icon-feature {
  color: var(--privacy-teal);
}

.topic-panel--wide {
  padding: 2rem 2.25rem;
}

.topic-panel--center {
  max-width: 780px;
  margin: 0 auto;
  border-left: none;
  border-top: 4px solid var(--positive-blue);
  text-align: center;
}

@media (min-width: 1024px) {
  .hero-split-inner {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 3.5rem;
  }
}

.topic-panel--center .icon-feature {
  display: block;
  margin: 0 auto 0.85rem;
}

.topic-panel--spaced {
  margin-top: 2rem;
}

/* ============================================================
   Supporting pages — community, membership, privacy, resources, about, FAQ
   ============================================================ */

/* Meta row on illustrative community cards */
.post-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
}

.post-note {
  margin: 1rem 0 0;
  font-size: 0.78rem;
  font-style: italic;
  color: var(--cool-slate);
}

/* Comparison table cell alignment — replaces per-cell inline styles */
.comparison-table .cell-center {
  text-align: center;
}

/* Directory sections need air between them once the page opts into .page-airy */
.resource-section + .resource-section {
  margin-top: 3rem;
}

/* FAQ jump navigation sits directly under centred hero copy */
.faq-nav .topic-nav-label {
  text-align: center;
}

.faq-nav .topic-pills {
  justify-content: center;
}

/* Icon chip on a section heading, matching .section-head-icon */
.section-head-icon--sky {
  background: rgba(115, 196, 241, 0.22);
  color: var(--clear-blue);
}

/* Navy emphasis card — membership free vs premium */
.card--navy {
  background: var(--trust-navy);
  border-color: var(--trust-navy);
}

.card--navy h3 {
  color: #fff;
}

.card--navy p {
  color: rgba(255, 255, 255, 0.82);
}

/* Spacing helpers for grids and button rows that follow an intro or panel */
.grid-spaced {
  margin-top: 2rem;
}

.actions-center {
  justify-content: center;
  margin-top: 2.5rem;
}

/* Callout whose leading icon sits inline with the text */
.callout--icon > p {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
}

.callout--icon .icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--privacy-teal);
}

/* Full-width reserved image band inside a section */
.section-media {
  aspect-ratio: 16 / 9;
  margin: 0 0 2.5rem;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
}

/* Resource directory headings carry an icon chip, so drop the underline */
.resource-section .section-head {
  margin-bottom: 1.5rem;
}

.resource-section .section-head h2 {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
  font-size: 1.35rem;
}

/* FAQ group heading, following the previous group's panel */
.faq-group + .section-head {
  margin-top: 3rem;
}

@media (min-width: 768px) {
  .section-media {
    aspect-ratio: 21 / 9;
  }
}

/* ---------- Full-viewport home hero ---------- */
.hero-home--fullscreen {
  position: relative;
  isolation: isolate;
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100svh - var(--header-h));
  background-color: #173a59;
  background-image: url("../images/positive-singles-canada.webp");
  background-position: 62% center;
  background-size: cover;
}

.hero-home--fullscreen::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(9, 33, 49, 0.94) 0%, rgba(9, 33, 49, 0.86) 34%, rgba(9, 33, 49, 0.36) 64%, rgba(9, 33, 49, 0.14) 100%),
    linear-gradient(0deg, rgba(9, 33, 49, 0.28), transparent 38%);
}

.hero-home--fullscreen .container {
  display: flex;
  align-items: center;
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100svh - var(--header-h));
  padding-top: clamp(3rem, 8vh, 6rem);
  padding-bottom: clamp(3rem, 8vh, 6rem);
}

.hero-home--fullscreen .hero-home-copy {
  width: min(100%, 670px);
  padding: 0;
}

.hero-home--fullscreen .hero-badge {
  align-self: flex-start;
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.34);
  box-shadow: 0 8px 28px rgba(4, 23, 35, 0.14);
  backdrop-filter: blur(10px);
}

.hero-home--fullscreen h1 {
  max-width: 650px;
  color: #fff;
  font-size: clamp(2.65rem, 5.25vw, 5rem);
  line-height: 0.99;
  letter-spacing: -0.045em;
  text-wrap: balance;
  text-shadow: 0 2px 24px rgba(5, 25, 38, 0.24);
}

.hero-home--fullscreen .lead {
  max-width: 600px !important;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  line-height: 1.65;
  text-shadow: 0 1px 12px rgba(5, 25, 38, 0.3);
}

.hero-home--fullscreen .hero-actions {
  margin-top: 1.75rem;
}

.hero-home--fullscreen .btn-primary {
  color: var(--trust-navy);
  background: #fff;
  border-color: #fff;
  box-shadow: 0 12px 30px rgba(4, 23, 35, 0.24);
}

.hero-home--fullscreen .btn-primary:hover {
  color: var(--trust-navy);
  background: #eaf7fb;
  border-color: #eaf7fb;
  box-shadow: 0 16px 36px rgba(4, 23, 35, 0.3);
}

.hero-home--fullscreen .btn-primary:focus-visible {
  outline-color: #fff;
}

.hero-home--fullscreen .hero-note {
  color: rgba(255, 255, 255, 0.78);
}

@media (max-width: 639px) {
  .hero-home--fullscreen {
    min-height: calc(100dvh - var(--header-h));
    background-position: 73% center;
  }

  .hero-home--fullscreen::before {
    background:
      linear-gradient(180deg, rgba(8, 29, 44, 0.72) 0%, rgba(8, 29, 44, 0.4) 32%, rgba(8, 29, 44, 0.78) 78%, rgba(8, 29, 44, 0.92) 100%),
      linear-gradient(90deg, rgba(8, 29, 44, 0.74), rgba(8, 29, 44, 0.2));
  }

  .hero-home--fullscreen .container {
    align-items: flex-end;
    min-height: calc(100dvh - var(--header-h));
    padding-top: 5rem;
    padding-bottom: max(2.5rem, env(safe-area-inset-bottom));
  }

  .hero-home--fullscreen h1 {
    max-width: 12ch;
    font-size: clamp(2.4rem, 12vw, 3.35rem);
    line-height: 1;
  }

  .hero-home--fullscreen .lead {
    max-width: 34rem !important;
    color: rgba(255, 255, 255, 0.94);
    font-size: 1rem;
    line-height: 1.55;
  }

  .hero-home--fullscreen .hero-actions {
    margin-top: 1.25rem;
  }

  .hero-home--fullscreen .btn-lg {
    width: 100%;
  }

  .hero-home--fullscreen .hero-note {
    margin-bottom: 0;
  }
}

@media (min-width: 640px) and (max-width: 1023px) {
  .hero-home--fullscreen {
    background-position: 68% center;
  }

  .hero-home--fullscreen::before {
    background: linear-gradient(90deg, rgba(9, 33, 49, 0.93) 0%, rgba(9, 33, 49, 0.75) 52%, rgba(9, 33, 49, 0.2) 100%);
  }
}

/* ---------- Home story section ---------- */
.home-story-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 92% 18%, rgba(63, 184, 217, 0.12), transparent 26rem),
    linear-gradient(180deg, #fff 0%, #f5fafc 100%);
}

.home-story {
  position: relative;
  gap: clamp(3rem, 6vw, 6rem);
}

.home-story-copy {
  max-width: 660px;
}

.home-story-copy h2 {
  max-width: 17ch;
  margin-bottom: 1.5rem;
  font-size: clamp(2.15rem, 3.8vw, 3.65rem);
  line-height: 1.06;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.home-story-copy .prose {
  max-width: 62ch;
}

.home-story-copy .prose p {
  font-size: 1.05rem;
  line-height: 1.75;
}

.home-story-copy > p:last-child {
  margin-top: 1.75rem;
}

.home-story-copy .btn-outline {
  color: var(--trust-navy);
  background: #fff;
  border-color: var(--border-blue);
  box-shadow: 0 8px 24px rgba(23, 58, 89, 0.08);
}

.home-story-copy .btn-outline:hover {
  color: var(--clear-blue-hover);
  background: var(--glacier-mist);
  border-color: #b8dbe8;
}

.home-story-media {
  position: relative;
  width: min(100%, 520px);
  aspect-ratio: 4 / 5;
  margin: 0;
  justify-self: end;
  overflow: hidden;
  background: #dceef3;
  border: 8px solid rgba(255, 255, 255, 0.92);
  border-radius: 2rem;
  box-shadow: 0 26px 70px rgba(23, 58, 89, 0.18);
}

.home-story-media::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(23, 58, 89, 0.08);
  border-radius: calc(2rem - 8px);
}

.home-story-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}

@media (min-width: 1024px) {
  .home-story {
    grid-template-columns: minmax(0, 1.12fr) minmax(380px, 0.88fr);
  }
}

@media (max-width: 639px) {
  .home-story-section {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }

  .home-story {
    gap: 2.5rem;
  }

  .home-story-copy h2 {
    font-size: clamp(2rem, 10vw, 2.7rem);
    line-height: 1.08;
  }

  .home-story-copy .prose p {
    font-size: 1rem;
    line-height: 1.7;
  }

  .home-story-media {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    border-width: 5px;
    border-radius: 1.5rem;
    justify-self: stretch;
    box-shadow: 0 18px 44px rgba(23, 58, 89, 0.16);
  }

  .home-story-media::after {
    border-radius: calc(1.5rem - 5px);
  }

  .home-story-media img {
    object-position: center 30%;
  }
}

/* ---------- Homepage editorial redesign ---------- */
.home-page {
  --home-ink: #102f49;
  --home-cream: #f4f0e9;
  --home-teal: #2f8f86;
  --home-teal-soft: #dcefeb;
  --home-line: rgba(16, 47, 73, 0.16);
  background: #fff;
}

.home-page .site-header {
  border-bottom-color: rgba(16, 47, 73, 0.1);
  box-shadow: 0 8px 30px rgba(16, 47, 73, 0.04);
}

.home-page main > section:not(.hero-home) h2 {
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  font-weight: 600;
  letter-spacing: -0.035em;
}

.home-page .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1rem;
  color: var(--home-teal);
  font-size: 0.76rem;
  letter-spacing: 0.14em;
}

.home-page .eyebrow::before {
  width: 2rem;
  height: 1px;
  content: "";
  background: currentColor;
}

.home-page .feature-strip {
  position: relative;
  z-index: 4;
  margin-top: -3.25rem;
  background: transparent;
  border: 0;
}

.home-page .feature-strip .container {
  width: calc(100% - 2rem);
  padding: 0 1.25rem;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 1.5rem;
  box-shadow: 0 22px 60px rgba(10, 37, 55, 0.18);
  backdrop-filter: blur(14px);
}

.home-page .feature-strip-grid {
  padding: 1.05rem 0;
}

.home-page .feature-item {
  position: relative;
  gap: 0.55rem;
}

.home-page .feature-item + .feature-item::before {
  position: absolute;
  left: 0;
  width: 1px;
  height: 2.25rem;
  content: "";
  background: var(--home-line);
}

.home-page .feature-item-icon {
  width: 2.25rem;
  height: 2.25rem;
  background: transparent;
  border: 0;
  border-radius: 50%;
  box-shadow: none;
}

.home-page .feature-item-icon .icon {
  width: 1.35rem;
  height: 1.35rem;
  color: var(--home-teal);
}

.home-page .feature-item > span:last-child {
  color: var(--home-ink);
  font-size: 0.78rem;
  font-weight: 700;
}

.home-page .home-story-section {
  padding-top: 7rem;
  padding-bottom: 7rem;
  background:
    radial-gradient(circle at 92% 18%, rgba(47, 143, 134, 0.1), transparent 24rem),
    #fff;
}

.home-page .home-story-copy h2 {
  color: var(--home-ink);
}

.home-page .home-story-media {
  border-radius: 12rem 12rem 1.5rem 1.5rem;
  border-width: 6px;
  box-shadow: 0 30px 80px rgba(16, 47, 73, 0.2);
}

.home-page .home-story-media::after {
  border-radius: inherit;
}

.home-paths-section {
  overflow: hidden;
  padding: 7rem 0;
  background: var(--home-cream);
}

.home-paths-section h2,
.home-topics-section h2,
.home-cities-section h2 {
  max-width: 760px !important;
  font-size: clamp(2.4rem, 4vw, 4rem);
  line-height: 1.02;
}

.home-paths-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 3rem;
}

.home-path-card {
  position: relative;
  grid-column: span 3;
  min-height: 350px;
  padding: 2rem;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.78);
  border: 0;
  border-radius: 0.35rem;
  box-shadow: none;
}

.home-path-card:first-child {
  grid-column: span 6;
  color: #fff;
  background:
    radial-gradient(circle at 90% 12%, rgba(115, 196, 241, 0.24), transparent 15rem),
    var(--home-ink);
}

.home-path-card:nth-child(3) {
  background: var(--home-teal-soft);
}

.home-path-card::after {
  position: absolute;
  top: 1.65rem;
  right: 1.8rem;
  content: attr(data-index);
  color: rgba(16, 47, 73, 0.28);
  font-family: Georgia, serif;
  font-size: 3.5rem;
  line-height: 1;
}

.home-path-card:first-child::after {
  color: rgba(255, 255, 255, 0.2);
}

.home-path-card .card-icon {
  width: 3.25rem;
  height: 3.25rem;
  margin-bottom: auto;
  color: var(--home-teal);
  background: rgba(255, 255, 255, 0.72);
  border-radius: 50%;
}

.home-path-card:first-child .card-icon {
  color: #fff;
  background: rgba(255, 255, 255, 0.13);
}

.home-path-card h3 {
  margin-top: 2.5rem;
  font-size: 1.45rem;
}

.home-path-card:first-child h3 {
  color: #fff;
  font-size: clamp(2rem, 3vw, 3rem);
}

.home-path-card:first-child p,
.home-path-card:first-child .more {
  color: rgba(255, 255, 255, 0.84);
}

.home-path-card .more {
  font-size: 0.9rem;
}

.home-topics-section {
  padding: 7rem 0;
  background: #fff;
}

.home-topics-section .home-condition-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 5rem;
  margin-top: 3.25rem !important;
  counter-reset: home-topic;
}

.home-topics-section .condition-card {
  position: relative;
  min-height: 220px;
  padding: 2rem 0 2rem 5.25rem;
  background: transparent;
  border: 0;
  border-top: 1px solid var(--home-line);
  border-radius: 0;
  box-shadow: none;
}

.home-topics-section .condition-card::before {
  position: absolute;
  top: 1.85rem;
  left: 0;
  content: attr(data-index);
  color: var(--home-teal);
  font-family: Georgia, serif;
  font-size: 2.4rem;
  line-height: 1;
}

.home-topics-section .condition-card:hover {
  border-color: var(--home-teal);
  box-shadow: none;
}

.home-topics-section .condition-title {
  color: var(--home-ink);
  font-family: Georgia, serif;
  font-size: 1.65rem;
}

.home-topics-section .condition-card p {
  max-width: 42ch;
  margin-top: 0.75rem;
  font-size: 1rem;
  line-height: 1.7;
}

.home-topics-section .condition-card .more {
  margin-top: auto;
  font-size: 0.88rem;
}

.home-steps-section {
  position: relative;
  overflow: hidden;
  padding: 7rem 0;
  background:
    radial-gradient(circle at 88% 0%, rgba(47, 143, 134, 0.24), transparent 28rem),
    var(--home-ink);
}

.home-steps-section h2 {
  max-width: 780px !important;
  color: #fff;
  font-size: clamp(2.4rem, 4vw, 4rem);
  line-height: 1.02;
}

.home-steps-section .eyebrow {
  color: #8ed8d0 !important;
}

.home-steps-section .steps--on-navy {
  margin-top: 4rem !important;
}

.home-steps-section .btn-light {
  color: var(--home-ink);
  border-color: #fff;
  border-radius: 999px;
}

.home-privacy-section {
  padding: 7rem 0;
  background: #e7f3f0;
}

.home-privacy-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  grid-template-rows: auto 1fr;
  gap: 1.5rem 6rem;
  align-items: start;
}

.home-privacy-intro {
  grid-column: 1;
  grid-row: 1;
}

.home-privacy-intro h2 {
  max-width: 10ch;
  margin-top: 1.25rem;
  font-size: clamp(2.5rem, 4.2vw, 4.25rem);
  line-height: 1.02;
}

.home-privacy-intro .lead {
  max-width: 36ch;
  font-size: 1.05rem;
}

.home-privacy-section .home-privacy-grid {
  grid-column: 2;
  grid-row: 1 / span 2;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 2.25rem;
  margin-top: 0 !important;
}

.home-privacy-section .privacy-card {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: 0.25rem 1rem;
  min-height: 118px;
  padding: 1.4rem 0;
  background: transparent;
  border: 0;
  border-top: 1px solid rgba(16, 47, 73, 0.18);
  border-radius: 0;
  box-shadow: none;
}

.home-privacy-section .privacy-card .card-icon {
  grid-column: 1;
  grid-row: 1 / span 2;
  width: 3rem;
  height: 3rem;
  margin: 0;
  color: var(--home-teal);
  background: rgba(255, 255, 255, 0.72);
  border-radius: 50%;
}

.home-privacy-section .privacy-card h3,
.home-privacy-section .privacy-card p {
  grid-column: 2;
  margin: 0;
}

.home-privacy-section .privacy-card h3 {
  font-size: 1rem;
}

.home-privacy-section .privacy-card p {
  color: var(--cool-slate);
  font-size: 0.9rem;
  line-height: 1.55;
}

.home-privacy-link {
  grid-column: 1;
  grid-row: 2;
  align-self: end;
  margin: 0;
}

.home-privacy-link .btn-ghost {
  padding-left: 0;
  color: var(--home-ink);
}

.home-cities-section {
  padding: 7rem 0;
  background: var(--home-ink);
}

.home-cities-section .eyebrow {
  color: #8ed8d0;
}

.home-cities-section h2 {
  color: #fff;
}

.home-cities-intro {
  max-width: 56ch;
  margin-top: 1rem;
  color: rgba(220, 239, 245, 0.76);
  font-size: 1.05rem;
}

.home-cities-section .city-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: none;
  gap: 1.25rem;
  margin-top: 3rem !important;
}

.home-cities-section .city-tile {
  grid-column: auto;
  grid-row: auto;
  min-height: 0;
  aspect-ratio: 4 / 3;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 1.1rem;
  background: #244863;
  box-shadow: 0 18px 44px rgba(3, 19, 30, 0.22);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.home-cities-section a.city-tile:hover {
  border-color: rgba(142, 216, 208, 0.65);
  box-shadow: 0 22px 54px rgba(3, 19, 30, 0.32);
  transform: translateY(-4px);
}

.home-cities-section .city-tile-overlay {
  background: linear-gradient(to top, rgba(5, 25, 39, 0.94), rgba(5, 25, 39, 0.08) 72%);
}

.home-cities-section .city-tile-body {
  right: 0;
  padding: 1.5rem;
}

.home-cities-section .city-tile-name {
  font-family: Georgia, serif;
  font-size: clamp(1.65rem, 2.2vw, 2.15rem);
}

.home-resources-section {
  padding: 5.5rem 0;
  background:
    radial-gradient(circle at 82% 20%, rgba(142, 216, 208, 0.16), transparent 28rem),
    var(--home-cream);
}

.home-resources-section > .container {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(3rem, 6vw, 6rem);
  align-items: center;
}

.home-resources-copy h2 {
  max-width: 17ch;
  font-size: clamp(2.2rem, 3.2vw, 3.25rem);
  line-height: 1.06;
  text-wrap: balance;
}

.home-resource-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  align-self: stretch;
}

.home-resource-list .card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  min-height: 188px;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(16, 47, 73, 0.1);
  border-radius: 1rem;
  box-shadow: 0 12px 32px rgba(16, 47, 73, 0.06);
}

.home-resource-list .card h3,
.home-resource-list .card p {
  margin: 0;
}

.home-resource-list .card h3 {
  margin-top: 0.25rem;
  font-size: 1.05rem;
  line-height: 1.35;
}

.home-resource-list .card p {
  margin-top: 0.45rem;
  font-size: 0.9rem;
  line-height: 1.6;
}

.resource-card-icon {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  color: var(--home-teal);
  background: #e3f3f1;
  border-radius: 0.8rem;
}

.resource-card-icon .icon {
  width: 1.25rem;
  height: 1.25rem;
}

.resource-card-label {
  display: block;
  color: #3d7e78;
  font-size: 0.69rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  line-height: 1.35;
  text-transform: uppercase;
}

.home-final-cta {
  position: relative;
  overflow: hidden;
  padding: 4.75rem 0;
  text-align: left;
  background:
    radial-gradient(circle at 85% 20%, rgba(47, 143, 134, 0.42), transparent 24rem),
    #0b283d;
}

.home-final-cta .container {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto auto auto auto;
  gap: 0 4rem;
  max-width: 1120px;
}

.home-final-cta .eyebrow {
  grid-column: 1;
  grid-row: 1;
  margin-bottom: 1rem;
  color: #8ed8d0;
}

.home-final-cta h2 {
  grid-column: 1;
  grid-row: 2;
  max-width: 18ch;
  font-size: clamp(2.25rem, 3.8vw, 3.7rem);
  line-height: 1.04;
  text-wrap: balance;
}

.home-final-cta > .container > p:not(.cta-note) {
  grid-column: 1;
  grid-row: 3;
  max-width: 48ch;
  margin: 1rem 0 0;
}

.home-final-cta .hero-actions {
  grid-column: 2;
  grid-row: 1 / span 3;
  align-self: center;
  justify-content: flex-end;
  margin: 0;
}

.home-final-cta .btn-light {
  color: var(--home-ink);
  border-radius: 999px;
}

.home-final-cta .cta-note {
  grid-column: 1 / -1;
  grid-row: 4;
  margin-top: 2.25rem;
}

@media (min-width: 1024px) {
  .home-steps-section .steps-horizontal {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0;
  }

  .home-steps-section .steps-horizontal::before {
    display: none;
  }

  .home-steps-section .steps-horizontal .step {
    display: block;
    width: auto;
    padding: 0 1.5rem;
    text-align: left;
    border-left: 1px solid rgba(255, 255, 255, 0.18);
  }

  .home-steps-section .steps-horizontal .step:first-child {
    padding-left: 0;
    border-left: 0;
  }

  .home-steps-section .steps-horizontal .step-circle {
    width: auto;
    height: auto;
    margin: 0 0 1.5rem;
    color: #8ed8d0;
    background: transparent;
    border: 0;
    border-radius: 0;
    font-family: Georgia, serif;
    font-size: 3.1rem;
    font-weight: 400;
    line-height: 1;
  }

  .home-steps-section .steps-horizontal .step-body h3 {
    font-size: 1rem;
    line-height: 1.35;
  }

  .home-steps-section .steps-horizontal .step-body p {
    color: rgba(220, 239, 245, 0.74);
    font-size: 0.88rem;
    line-height: 1.65;
  }
}

@media (max-width: 1023px) {
  .home-paths-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-path-card,
  .home-path-card:first-child {
    grid-column: auto;
  }

  .home-path-card:first-child {
    grid-column: 1 / -1;
  }

  .home-privacy-layout {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    gap: 2rem;
  }

  .home-privacy-intro,
  .home-privacy-section .home-privacy-grid,
  .home-privacy-link {
    grid-column: 1;
    grid-row: auto;
  }

  .home-cities-section .city-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-resources-section > .container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 639px) {
  .home-page .feature-strip {
    margin-top: -2rem;
  }

  .home-page .feature-strip .container {
    border-radius: 1.1rem;
  }

  .home-page .feature-strip-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.7rem;
  }

  .home-page .feature-item {
    gap: 0.25rem;
  }

  .home-page .feature-item + .feature-item::before {
    display: none;
  }

  .home-page .home-story-section,
  .home-paths-section,
  .home-topics-section,
  .home-steps-section,
  .home-privacy-section,
  .home-cities-section,
  .home-resources-section {
    padding-top: 4.5rem;
    padding-bottom: 4.5rem;
  }

  .home-page .home-story-media {
    border-radius: 5rem 5rem 1.25rem 1.25rem;
  }

  .home-paths-section h2,
  .home-topics-section h2,
  .home-cities-section h2 {
    font-size: clamp(2.2rem, 11vw, 3rem);
  }

  .home-paths-grid {
    grid-template-columns: 1fr;
    margin-top: 2rem;
  }

  .home-path-card,
  .home-path-card:first-child {
    grid-column: 1;
    min-height: 285px;
  }

  .home-topics-section .home-condition-grid {
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 2.5rem !important;
  }

  .home-topics-section .condition-card {
    min-height: 0;
    padding: 1.65rem 0 1.65rem 4.25rem;
  }

  .home-topics-section .condition-card::before {
    font-size: 2rem;
  }

  .home-privacy-intro h2 {
    max-width: 13ch;
    font-size: clamp(2.3rem, 11vw, 3.1rem);
  }

  .home-privacy-section .home-privacy-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .home-privacy-section .privacy-card {
    min-height: 104px;
  }

  .home-cities-section .city-grid {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }

  .home-cities-section .city-tile,
  .home-cities-section .city-tile--toronto,
  .home-cities-section .city-tile--calgary {
    min-height: 230px;
  }

  .home-resources-section > .container {
    gap: 3rem;
  }

  .home-resource-list {
    grid-template-columns: 1fr;
  }

  .home-resource-list .card {
    min-height: 0;
  }

  .home-final-cta {
    padding: 4.5rem 0;
    text-align: left;
  }

  .home-final-cta .container {
    display: block;
  }

  .home-final-cta h2 {
    font-size: clamp(2.2rem, 11vw, 3rem);
  }

  .home-final-cta .hero-actions {
    justify-content: flex-start;
    margin-top: 2rem;
  }

  .home-final-cta .btn-lg {
    width: 100%;
  }
}

/* Final cascade overrides for the homepage visual-card treatment. */
.hero-home--fullscreen .hero-title-refresh {
  display: grid;
  max-width: 760px;
  font-size: clamp(3.15rem, 5.6vw, 5.45rem);
  font-weight: 600;
  line-height: 0.94;
  letter-spacing: -0.04em;
}

.home-topics-section {
  background: radial-gradient(circle at 92% 8%, rgba(83, 191, 187, 0.11), transparent 30%), #f2f7f7;
}

.home-topics-section .home-condition-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.home-topics-section .topic-visual-card {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  min-height: 0;
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: 1.15rem;
  background: #123b56;
  box-shadow: 0 20px 46px rgba(13, 47, 69, 0.14);
}

.home-topics-section .topic-visual-card::before { display: none; }

.home-topics-section .topic-visual-card .condition-title {
  color: #fff;
  font-size: clamp(1.7rem, 2.7vw, 2.25rem);
  line-height: 1.08;
}

.home-topics-section .topic-visual-card p {
  flex: 0 0 auto;
  max-width: 38ch;
  margin-top: 0.75rem;
  color: rgba(239, 248, 250, 0.82);
  font-size: 0.92rem;
  line-height: 1.55;
}

.home-topics-section .topic-visual-card .more {
  margin-top: 1.15rem;
  color: #8fe7e1;
}

@media (max-width: 1023px) {
  .home-topics-section .topic-visual-card {
    width: 100%;
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 639px) {
  .hero-home--fullscreen .hero-title-refresh {
    max-width: 10ch;
    font-size: clamp(2.65rem, 13vw, 3.65rem);
  }

  .home-topics-section .home-condition-grid {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .home-topics-section .topic-visual-card {
    width: 100%;
    aspect-ratio: auto;
    height: 300px;
    min-height: 300px;
    padding: 0;
  }
}

.hero-title-main,
.hero-title-accent { display: block; }

.hero-title-accent {
  display: inline-flex;
  width: max-content;
  align-items: center;
  margin-top: 0.28em;
  color: #cfe5ee;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.74em;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.015em;
}

.hero-title-accent::after {
  width: clamp(2.75rem, 6vw, 5.75rem);
  height: 1px;
  margin-left: 1.1rem;
  background: linear-gradient(90deg, rgba(207, 229, 238, 0.42), transparent);
  content: "";
}

.topic-visual-card:focus-visible {
  outline: 3px solid #71ded7;
  outline-offset: 4px;
}

.topic-visual-card > img,
.topic-card-overlay,
.topic-card-content {
  position: absolute;
  inset: 0;
}

.topic-visual-card > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 650ms cubic-bezier(0.2, 0.65, 0.25, 1);
}

.topic-card-overlay {
  z-index: 1;
  background: linear-gradient(180deg, rgba(6, 31, 48, 0.08) 10%, rgba(5, 29, 46, 0.87) 94%), linear-gradient(90deg, rgba(5, 30, 47, 0.56), transparent 72%);
}

.topic-card-content {
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.75rem;
}

.home-topics-section .topic-card-content .more {
  margin-top: 1.15rem !important;
}

.topic-card-number {
  position: absolute;
  top: 1.35rem;
  right: 1.35rem;
  display: grid;
  min-width: 2.65rem;
  height: 2.15rem;
  padding: 0 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  background: rgba(7, 39, 59, 0.45);
  color: rgba(255, 255, 255, 0.86);
  font: 700 0.75rem/1 var(--font-sans);
  letter-spacing: 0.1em;
  place-items: center;
  backdrop-filter: blur(7px);
}

.topic-visual-card:hover {
  box-shadow: 0 28px 58px rgba(13, 47, 69, 0.23);
  transform: translateY(-4px);
}

.topic-visual-card:hover > img { transform: scale(1.045); }

@media (max-width: 639px) {
  .hero-title-accent::after { width: 2.25rem; margin-left: 0.7rem; }
  .topic-card-content { padding: 1.4rem; }
}

/* Editorial pathway index: one narrative column, three clear routes. */
.home-paths-section {
  position: relative;
  overflow: hidden;
  padding: clamp(5rem, 8vw, 8rem) 0;
  background:
    radial-gradient(circle at 8% 15%, rgba(65, 183, 174, 0.11), transparent 25rem),
    linear-gradient(135deg, #f8f5ef 0%, #f2f7f6 100%);
}

.home-paths-section > .container {
  display: grid;
  grid-template-columns: minmax(270px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(3.5rem, 8vw, 8rem);
  align-items: start;
}

.home-paths-header {
  display: block;
  padding-top: 0.75rem;
}

.home-paths-header h2 {
  max-width: 13ch !important;
  margin: 1rem 0 1.6rem;
  font-size: clamp(2.5rem, 3.7vw, 3.9rem);
  line-height: 0.98;
}

.home-paths-intro {
  max-width: 36ch;
  margin: 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(23, 58, 89, 0.18);
  color: #536c79;
  font-size: 1rem;
  line-height: 1.75;
}

.home-paths-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin: 0;
  border-top: 1px solid rgba(23, 58, 89, 0.2);
}

.home-path-card,
.home-path-card:first-child,
.home-path-card:nth-child(2),
.home-path-card:nth-child(3),
.home-path-card:last-child {
  position: relative;
  display: grid;
  grid-column: 1;
  min-height: 0;
  padding: 1.6rem 0 1.7rem 6.25rem;
  overflow: visible;
  border: 0;
  border-bottom: 1px solid rgba(23, 58, 89, 0.2);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #173a59;
  transition: padding 220ms ease, background-color 220ms ease;
}

.home-path-card::before {
  position: absolute;
  top: 1.45rem;
  left: 0;
  width: 4.25rem;
  height: 1px;
  background: #58b9b0;
  content: "";
  transition: width 220ms ease, background-color 220ms ease;
}

.home-path-card::after,
.home-path-card:first-child::after {
  top: 1.78rem;
  right: auto;
  left: 0;
  color: #2f8f88;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.1rem;
  line-height: 1;
}

.home-path-card-top {
  display: flex;
  min-height: 2.75rem;
  padding: 0;
  align-items: center;
  gap: 0.8rem;
}

.home-path-card .card-icon,
.home-path-card:first-child .card-icon {
  flex: 0 0 auto;
  width: 2.75rem;
  height: 2.75rem;
  margin: 0;
  border: 1px solid rgba(36, 143, 134, 0.2);
  border-radius: 50%;
  background: rgba(229, 246, 243, 0.88);
  color: #228f87;
}

.home-path-card .card-icon .icon,
.home-path-card .more .icon {
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.home-path-card .card-icon .icon {
  width: 1.18rem;
  height: 1.18rem;
}

.home-path-label {
  color: #64808b;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  line-height: 1.35;
  text-transform: uppercase;
}

.home-path-card h3,
.home-path-card:first-child h3 {
  margin: 0.7rem 0 0;
  color: #123955;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.9rem, 2.7vw, 2.5rem);
  font-weight: 600;
  line-height: 1.05;
}

.home-path-card p,
.home-path-card:first-child p {
  max-width: 60ch;
  margin: 0.8rem 0 0;
  color: #526b78;
  font-size: 0.95rem;
  line-height: 1.62;
}

.home-path-card .more,
.home-path-card:first-child .more {
  display: inline-flex;
  width: max-content;
  min-height: 44px;
  margin-top: 0.65rem;
  color: #137fc1;
  align-items: center;
  gap: 0.55rem;
}

.home-path-card:hover {
  padding-left: 6.25rem;
  background: rgba(255, 255, 255, 0.42);
  box-shadow: none;
  transform: none;
}

.home-path-card:hover::before {
  width: 4.75rem;
  background: #2f98e5;
}

.home-path-card:focus-within {
  outline: 3px solid rgba(47, 152, 229, 0.32);
  outline-offset: 5px;
}

@media (max-width: 900px) {
  .home-paths-section > .container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .home-paths-header h2 { max-width: 14ch !important; }
  .home-paths-intro { max-width: 58ch; }
}

@media (max-width: 639px) {
  .home-paths-section { padding: 4.5rem 0; }

  .home-paths-section > .container { gap: 2.4rem; }

  .home-paths-header h2 {
    margin-bottom: 1.25rem;
    font-size: clamp(2.25rem, 11vw, 3rem);
  }

  .home-paths-intro { padding-top: 1.15rem; }

  .home-path-card,
  .home-path-card:first-child,
  .home-path-card:nth-child(2),
  .home-path-card:nth-child(3),
  .home-path-card:last-child {
    padding: 1.7rem 0 1.8rem 3.75rem;
  }

  .home-path-card::before {
    top: 1.55rem;
    width: 2.7rem;
  }

  .home-path-card::after,
  .home-path-card:first-child::after {
    top: 1.88rem;
    font-size: 0.95rem;
  }

  .home-path-card:hover { padding-left: 3.75rem; }
  .home-path-card:hover::before { width: 2.7rem; }

  .home-path-card h3,
  .home-path-card:first-child h3 { font-size: 2rem; }
}

/* Dedicated mobile hero composition */
@media (max-width: 639px) {
  .hero-home--fullscreen {
    min-height: calc(100dvh - var(--header-h));
    background-image: url("../images/positive-singles-canada-mobile.webp");
    background-position: center top;
    background-size: cover;
  }

  .hero-home--fullscreen::before {
    background:
      linear-gradient(180deg, rgba(7, 29, 45, 0.16) 0%, rgba(7, 29, 45, 0.2) 31%, rgba(7, 29, 45, 0.54) 45%, rgba(5, 27, 44, 0.9) 61%, rgba(5, 27, 44, 0.98) 100%);
  }

  .hero-home--fullscreen .container {
    align-items: flex-end;
    justify-content: center;
    padding: 2rem 1rem max(4.7rem, calc(env(safe-area-inset-bottom) + 2.5rem));
  }

  .hero-home--fullscreen .hero-home-copy {
    display: flex;
    width: min(100%, 350px);
    margin-inline: auto;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .hero-home--fullscreen .hero-badge {
    align-self: center;
  }

  .hero-home--fullscreen .hero-title-refresh {
    width: 100%;
    max-width: none;
    margin: 1.1rem auto 0;
    justify-items: center;
    font-size: clamp(2.45rem, 11.5vw, 3.15rem);
    line-height: 0.96;
  }

  .hero-title-accent {
    margin-top: 0.24em;
  }

  .hero-title-accent::after {
    display: none;
  }

  .hero-home--fullscreen .lead {
    width: 100%;
    max-width: none !important;
    margin: 1rem auto 0;
    font-size: 0.96rem;
    line-height: 1.55;
  }

  .hero-home--fullscreen .hero-actions {
    display: flex;
    width: 100%;
    margin-top: 1.35rem;
    justify-content: center;
  }

  .hero-home--fullscreen .btn-lg {
    width: auto;
    min-width: 188px;
    padding-inline: 1.45rem;
  }

  .hero-home--fullscreen .btn-primary {
    border-color: transparent;
    background: linear-gradient(135deg, #38b8ac, #258bcf);
    box-shadow: 0 14px 32px rgba(5, 24, 39, 0.35);
    color: #fff;
  }

  .hero-home--fullscreen .btn-primary:hover {
    border-color: transparent;
    background: linear-gradient(135deg, #43c3b7, #3099db);
    color: #fff;
  }

  .hero-home--fullscreen .hero-note {
    max-width: 34ch;
    margin: 0.85rem auto 0;
    text-align: center;
  }

  .mobile-nav {
    flex: 0 0 auto;
    margin-left: auto;
  }

  .mobile-nav > summary {
    position: relative;
    border: 1px solid rgba(47, 152, 229, 0.2);
    background: #edf7fc;
    box-shadow: 0 5px 14px rgba(23, 58, 89, 0.08);
    color: #173a59;
  }

  .mobile-nav > summary:hover {
    border-color: rgba(47, 152, 229, 0.38);
    background: #e3f3fb;
  }

  .mobile-nav > summary .icon-open,
  .mobile-nav > summary .icon-close {
    display: none;
  }

  .mobile-nav > summary::before,
  .mobile-nav > summary::after {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 2px;
    margin: -1px 0 0 -10px;
    border-radius: 999px;
    background: currentColor;
    content: "";
    transition: box-shadow 180ms ease, transform 180ms ease;
  }

  .mobile-nav > summary::before {
    box-shadow: 0 -6px 0 currentColor, 0 6px 0 currentColor;
  }

  .mobile-nav > summary::after {
    opacity: 0;
  }

  .mobile-nav[open] > summary::before {
    box-shadow: none;
    transform: rotate(45deg);
  }

  .mobile-nav[open] > summary::after {
    opacity: 1;
    transform: rotate(-45deg);
  }
}

/* Refined mobile navigation sheet */
@media (max-width: 767px) {
  .mobile-menu {
    position: fixed;
    top: var(--header-h);
    right: 0;
    left: 0;
    width: 100%;
    max-height: calc(100dvh - var(--header-h));
    padding: 0.75rem 1rem 1rem;
    border: 1px solid rgba(23, 58, 89, 0.1);
    border-radius: 0 0 1.15rem 1.15rem;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 24px 60px rgba(10, 39, 61, 0.2);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
  }

  .mobile-menu > a,
  .mobile-group > summary {
    width: 100%;
    min-height: 46px;
    padding: 0.72rem 0.85rem;
    border: 0;
    border-radius: 0.75rem;
    color: #173a59;
    font-size: 0.92rem;
    font-weight: 600;
    line-height: 1.35;
    transition: background 160ms ease, color 160ms ease;
  }

  .mobile-menu > a:hover,
  .mobile-group > summary:hover,
  .mobile-menu > a[aria-current="page"] {
    background: #edf7fc;
    color: #167dc5;
  }

  .mobile-group > summary {
    position: relative;
    display: flex;
    height: auto;
    justify-content: space-between;
  }

  .mobile-group > summary .icon {
    display: none;
  }

  .mobile-group > summary::before {
    display: none;
  }

  .mobile-group > summary::after {
    position: static;
    display: block;
    width: 8px;
    height: 8px;
    margin-right: 0.2rem;
    border: 0;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    content: "";
    opacity: 0.72;
    transform: rotate(45deg);
    transition: transform 180ms ease;
  }

  .mobile-group[open] > summary {
    background: #f1f7f8;
    color: #267d83;
  }

  .mobile-group[open] > summary::after {
    transform: rotate(225deg);
  }

  .mobile-group-links {
    margin: 0.2rem 0 0.45rem 1rem;
    padding: 0.25rem 0 0.25rem 0.9rem;
    border-left: 2px solid #d8edf2;
  }

  .mobile-group-links a {
    padding: 0.55rem 0.65rem;
    border-radius: 0.55rem;
    color: #607584;
    font-size: 0.86rem;
  }

  .mobile-group-links a:hover {
    background: #f3f8fa;
    color: #167dc5;
  }

  .mobile-menu > .btn-primary,
  .mobile-menu > .btn-primary:hover,
  .mobile-menu > .btn-primary:focus-visible {
    display: flex;
    min-height: 46px;
    margin-top: 0.65rem;
    border: 0;
    border-radius: 0.8rem;
    background: linear-gradient(135deg, #38b8ac, #258bcf);
    box-shadow: 0 10px 24px rgba(25, 112, 155, 0.22);
    color: #fff;
    justify-content: center;
  }
}

/* Site-wide secondary heading scale. Component-level title sizes can override it. */
body h2 {
  font-size: clamp(1.6rem, 2.1vw, 2.15rem);
  line-height: 1.14;
}

@media (max-width: 639px) {
  body h2 {
    font-size: clamp(1.5rem, 6.7vw, 1.85rem);
    line-height: 1.15;
  }
}

/* Resource directory and FAQ: compact information-page typography. */
.resources-directory-page .page-hero,
.faq-page .page-hero {
  padding-top: 2.75rem;
  padding-bottom: 2.75rem;
}

.resources-directory-page .page-hero h1 {
  max-width: 760px;
  font-size: clamp(2.25rem, 3.5vw, 2.75rem);
  line-height: 1.08;
}

.faq-page .page-hero h1 {
  font-size: clamp(2.15rem, 3.2vw, 2.6rem);
  line-height: 1.08;
}

.resources-directory-page .page-hero .lead,
.faq-page .page-hero .lead {
  max-width: 680px;
  font-size: 1rem;
  line-height: 1.65;
}

.resources-directory-page .section-intro {
  margin-bottom: 1.75rem;
}

.resources-directory-page .section-intro h2,
.faq-page .section-intro h2 {
  font-size: clamp(1.65rem, 2.25vw, 1.95rem);
  line-height: 1.15;
}

.resources-directory-page .resource-section .section-head h2,
.faq-page .section-head h2 {
  font-size: 1.3rem;
  line-height: 1.25;
}

.resources-directory-page .resource-section + .resource-section,
.faq-page .faq-group + .section-head {
  margin-top: 2.5rem;
}

@media (max-width: 639px) {
  .resources-directory-page .page-hero,
  .faq-page .page-hero {
    padding-top: 2.25rem;
    padding-bottom: 2.25rem;
  }

  .resources-directory-page .page-hero h1,
  .faq-page .page-hero h1 {
    font-size: clamp(2rem, 9.5vw, 2.35rem);
  }

  .resources-directory-page .resource-section .section-head h2,
  .faq-page .section-head h2 {
    font-size: 1.2rem;
  }
}

/* Refined topic and city title scale */
.home-topics-section .topic-visual-card .condition-title {
  font-size: clamp(1.45rem, 2.2vw, 1.85rem);
}

.home-cities-section .city-tile-name {
  max-width: none;
  font-size: clamp(1.12rem, 1.45vw, 1.4rem);
  line-height: 1.16;
  white-space: nowrap;
}

/* Inline resource icons remain visible without the external sprite. */
.resource-card-icon .icon {
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Contained closing CTA panel */
.home-final-cta {
  padding: 5rem 0;
  background: #eef5f5;
}

.home-final-cta .container {
  position: relative;
  isolation: isolate;
  display: flex;
  max-width: 1180px;
  min-height: 430px;
  padding: clamp(2.5rem, 5vw, 4.5rem);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 1.6rem;
  background:
    radial-gradient(circle at 87% 18%, rgba(69, 184, 174, 0.34), transparent 22rem),
    linear-gradient(125deg, #092b43, #0e4059);
  box-shadow: 0 30px 75px rgba(12, 48, 69, 0.2);
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.home-final-cta .container::before,
.home-final-cta .container::after {
  position: absolute;
  z-index: -1;
  border: 1px solid rgba(151, 226, 219, 0.16);
  border-radius: 50%;
  content: "";
}

.home-final-cta .container::before {
  top: -8rem;
  right: -3rem;
  width: 27rem;
  height: 27rem;
}

.home-final-cta .container::after {
  right: 8rem;
  bottom: -13rem;
  width: 22rem;
  height: 22rem;
}

.home-final-cta h2 {
  max-width: 15ch;
  margin-top: 0.8rem;
}

.home-final-cta > .container > p:not(.cta-note) {
  max-width: 46ch;
  margin-top: 1rem;
  color: rgba(230, 243, 246, 0.78);
}

.home-final-points {
  display: flex;
  margin-top: 1.5rem;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.home-final-points span {
  display: inline-flex;
  min-height: 34px;
  padding: 0.45rem 0.8rem;
  border: 1px solid rgba(153, 224, 218, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  color: #cceae7;
  font-size: 0.78rem;
  font-weight: 700;
  align-items: center;
}

.home-final-cta .hero-actions {
  margin-top: 1.75rem;
}

.home-final-cta .btn-light {
  border: 0;
  background: linear-gradient(135deg, #42c0b4, #3099d7);
  box-shadow: 0 14px 30px rgba(2, 23, 36, 0.28);
  color: #fff;
}

.home-final-cta .btn-light:hover {
  background: linear-gradient(135deg, #50ccc0, #3ca7e3);
  color: #fff;
  transform: translateY(-2px);
}

@media (max-width: 639px) {
  .home-topics-section .topic-visual-card .condition-title {
    font-size: 1.5rem;
  }

  .home-cities-section .city-tile-name {
    font-size: 1.18rem;
  }

  .home-final-cta {
    padding: 3.75rem 1rem;
  }

  .home-final-cta .container {
    min-height: 0;
    padding: 2.4rem 1.5rem;
    border-radius: 1.25rem;
  }

  .home-final-points {
    display: grid;
    grid-template-columns: 1fr;
  }

  .home-final-cta .btn-lg {
    width: auto;
  }
}

/* Independent page brand mark: intentionally separate from the browser favicon. */
.wordmark-mark {
  overflow: hidden;
  background: linear-gradient(145deg, #1788d4 0%, #35a8e8 100%);
  border: 1px solid rgba(255, 255, 255, 0.34);
  box-shadow: 0 6px 16px rgba(14, 103, 163, 0.16);
  color: #fff;
  font-size: 0;
}

.wordmark-mark .icon {
  display: none;
}

.wordmark-mark::before {
  content: "PS";
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.045em;
}

.footer-brand .wordmark-mark::before {
  font-size: 0.78rem;
}

@media (min-width: 640px) {
  .hero-home--fullscreen .btn-primary {
    border-color: transparent;
    background: linear-gradient(135deg, #2f98e5 0%, #1579bd 100%);
    box-shadow: 0 14px 34px rgba(10, 75, 119, 0.34);
    color: #fff;
  }

  .hero-home--fullscreen .btn-primary:hover {
    border-color: transparent;
    background: linear-gradient(135deg, #3ba6f0 0%, #1987cd 100%);
    color: #fff;
    transform: translateY(-2px);
  }
}

.home-resources-section {
  background:
    radial-gradient(circle at 88% 12%, rgba(62, 170, 161, 0.12), transparent 26rem),
    #f1f6f6;
}

.home-resources-section > .container {
  align-items: start;
}

.home-resources-copy h2 {
  max-width: 18ch;
  font-size: clamp(2.2rem, 3vw, 3.05rem);
}

.home-resource-list {
  position: relative;
  gap: 0.9rem;
  padding: 0.9rem;
  border: 1px solid rgba(23, 58, 89, 0.09);
  border-radius: 1.45rem;
  background: rgba(255, 255, 255, 0.48);
  box-shadow: 0 24px 60px rgba(23, 58, 89, 0.08);
}

.home-resource-list .card {
  position: relative;
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr);
  gap: 0.9rem;
  min-height: 205px;
  padding: 1.35rem;
  overflow: hidden;
  border: 1px solid rgba(23, 58, 89, 0.09);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: none;
  transition: border-color 200ms ease, box-shadow 200ms ease, transform 200ms ease;
}

.home-resource-list .card:nth-child(2),
.home-resource-list .card:nth-child(3) {
  background: linear-gradient(145deg, #fff, #edf6f7);
}

.home-resource-list .card::after {
  position: absolute;
  right: -2rem;
  bottom: -2.5rem;
  width: 7rem;
  height: 7rem;
  border: 1px solid rgba(62, 170, 161, 0.12);
  border-radius: 50%;
  content: "";
}

.home-resource-list .card:hover {
  border-color: rgba(62, 170, 161, 0.28);
  box-shadow: 0 16px 34px rgba(23, 58, 89, 0.09);
  transform: translateY(-3px);
}

.resource-card-icon {
  width: 3rem;
  height: 3rem;
  border: 1px solid rgba(62, 170, 161, 0.16);
  border-radius: 50%;
  background: linear-gradient(145deg, #e4f4f2, #f5fbfa);
}

.home-resource-list .card h3 {
  margin-top: 0.45rem;
  color: #173a59;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.12rem;
}

.home-resource-list .card p {
  color: #607584;
  font-size: 0.86rem;
}

.home-final-cta .container {
  display: flex;
  max-width: 1120px;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.home-final-cta .eyebrow,
.home-final-cta h2,
.home-final-cta > .container > p:not(.cta-note),
.home-final-cta .hero-actions,
.home-final-cta .cta-note {
  grid-column: auto;
  grid-row: auto;
  text-align: left;
}

.home-final-cta .hero-actions {
  align-self: flex-start;
  margin-top: 2rem;
  justify-content: flex-start;
}

.home-final-cta .cta-note {
  margin-top: 1.5rem;
}

@media (max-width: 639px) {
  .hero-home--fullscreen .btn-lg {
    width: auto;
    min-width: 0;
    padding-inline: 1.7rem;
  }

  .home-resource-list {
    padding: 0.65rem;
  }

  .home-resource-list .card {
    min-height: 0;
    padding: 1.25rem;
  }
}

/* Full-bleed closing CTA: copy and action occupy opposite sides. */
.home-final-cta {
  padding: 0;
  background:
    radial-gradient(circle at 88% 18%, rgba(69, 184, 174, 0.32), transparent 26rem),
    linear-gradient(120deg, #08283e 0%, #0d3b54 58%, #124d60 100%);
}

.home-final-cta .container {
  display: grid;
  width: 100%;
  max-width: var(--container);
  min-height: 360px;
  margin-inline: auto;
  padding: clamp(3rem, 6vw, 5.5rem) 1rem;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto auto auto;
  column-gap: clamp(3rem, 9vw, 10rem);
  align-items: center;
}

.home-final-cta .eyebrow {
  grid-column: 1;
  grid-row: 1;
}

.home-final-cta h2 {
  grid-column: 1;
  grid-row: 2;
  max-width: 17ch;
}

.home-final-cta > .container > p:not(.cta-note) {
  grid-column: 1;
  grid-row: 3;
  max-width: 52ch;
}

.home-final-cta .hero-actions {
  grid-column: 2;
  grid-row: 1 / 4;
  align-self: center;
  justify-content: flex-end;
  margin: 0;
}

@media (max-width: 767px) {
  .home-final-cta .container {
    display: flex;
    min-height: 0;
    padding: 3.5rem 1.25rem;
    align-items: flex-start;
  }

  .home-final-cta .hero-actions {
    width: 100%;
    margin-top: 2rem;
  }

  .home-final-cta .btn-lg {
    width: 100%;
  }
}

/* Immersive three-path feature: one visual stage instead of separate UI cards. */
.home-paths-section {
  min-height: 740px;
  padding: 0;
  background:
    linear-gradient(90deg, rgba(5, 31, 48, 0.9) 0%, rgba(5, 31, 48, 0.7) 50%, rgba(5, 31, 48, 0.46) 100%),
    linear-gradient(0deg, rgba(5, 31, 48, 0.92) 0%, transparent 58%),
    url("../images/positive-singles-dating-community.webp") center / cover no-repeat;
}

.home-paths-section > .container {
  position: relative;
  display: flex;
  min-height: 740px;
  padding-top: clamp(4.5rem, 7vw, 6.5rem);
  padding-bottom: clamp(3rem, 5vw, 4.5rem);
  flex-direction: column;
}

.home-paths-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.48fr);
  gap: clamp(2rem, 7vw, 7rem);
  padding: 0;
  align-items: end;
}

.home-paths-header .eyebrow {
  color: #84ddd5;
}

.home-paths-header h2 {
  max-width: 13ch !important;
  margin: 1rem 0 0;
  color: #fff;
  font-size: clamp(2.65rem, 4.7vw, 4.7rem);
  line-height: 0.98;
  text-wrap: balance;
}

.home-paths-intro {
  max-width: 38ch;
  margin: 0 0 0.35rem;
  padding: 0 0 0 1.5rem;
  border-top: 0;
  border-left: 1px solid rgba(151, 226, 219, 0.48);
  color: rgba(240, 248, 249, 0.84);
  font-size: 1rem;
  line-height: 1.7;
}

.home-paths-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: auto;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 1.35rem;
  background: rgba(5, 31, 48, 0.73);
  box-shadow: 0 28px 70px rgba(2, 18, 29, 0.32);
  backdrop-filter: blur(16px);
}

.home-path-card,
.home-path-card:first-child,
.home-path-card:nth-child(2),
.home-path-card:nth-child(3),
.home-path-card:last-child {
  position: relative;
  display: flex;
  grid-column: auto;
  min-height: 300px;
  padding: 1.8rem;
  overflow: hidden;
  border: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #fff;
  flex-direction: column;
  transition: background-color 220ms ease;
}

.home-path-card:last-child {
  border-right: 0;
}

.home-path-card::before {
  display: none;
}

.home-path-card::after,
.home-path-card:first-child::after {
  top: 1.8rem;
  right: 1.8rem;
  left: auto;
  color: rgba(255, 255, 255, 0.28);
  font-size: 1.55rem;
}

.home-path-card-top {
  display: flex;
  min-height: 3rem;
  padding: 0 3.25rem 0 0;
  align-items: center;
  gap: 0.85rem;
}

.home-path-card .card-icon,
.home-path-card:first-child .card-icon,
.home-path-card:nth-child(2) .card-icon,
.home-path-card:nth-child(3) .card-icon {
  width: 3rem;
  height: 3rem;
  margin: 0;
  border: 1px solid rgba(143, 222, 214, 0.3);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #88e1d9;
}

.home-path-label {
  color: rgba(225, 243, 243, 0.75);
}

.home-path-card h3,
.home-path-card:first-child h3 {
  margin: 2rem 0 0;
  color: #fff;
  font-size: 1.45rem;
  font-weight: 600;
}

.home-path-card p,
.home-path-card:first-child p {
  margin-top: 0.8rem;
  color: rgba(232, 243, 246, 0.76);
  font-size: 0.92rem;
  line-height: 1.65;
}

.home-path-card .more,
.home-path-card:first-child .more {
  margin-top: auto;
  color: #8edff3;
}

.home-path-card:hover {
  padding-left: 1.8rem;
  background: rgba(66, 192, 180, 0.12);
}

.home-path-card:hover::before {
  width: auto;
}

@media (max-width: 900px) {
  .home-paths-section,
  .home-paths-section > .container {
    min-height: 0;
  }

  .home-paths-section > .container {
    display: flex;
    padding-top: 5rem;
    padding-bottom: 4rem;
  }

  .home-paths-header {
    display: block;
  }

  .home-paths-header h2 {
    max-width: 14ch !important;
  }

  .home-paths-intro {
    max-width: 54ch;
    margin-top: 1.6rem;
  }

  .home-paths-grid {
    grid-template-columns: 1fr;
    margin-top: 3rem;
  }

  .home-path-card,
  .home-path-card:first-child,
  .home-path-card:nth-child(2),
  .home-path-card:nth-child(3),
  .home-path-card:last-child {
    grid-column: 1;
    min-height: 0;
    padding: 1.55rem;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  }

  .home-path-card:last-child {
    border-bottom: 0;
  }

  .home-path-card:hover {
    padding-left: 1.55rem;
  }

  .home-path-card h3,
  .home-path-card:first-child h3 {
    margin-top: 1.25rem;
    font-size: 1.7rem;
  }

  .home-path-card .more,
  .home-path-card:first-child .more {
    margin-top: 1rem;
  }
}

@media (max-width: 639px) {
  .home-paths-section {
    background-position: 58% center;
  }

  .home-paths-section > .container {
    gap: 0;
    padding-top: 4.25rem;
    padding-bottom: 3.25rem;
  }

  .home-paths-header h2 {
    font-size: clamp(2.35rem, 11vw, 3.15rem);
  }

  .home-paths-intro {
    padding-left: 1rem;
  }

  .home-paths-grid {
    margin-top: 2.5rem;
    border-radius: 1.1rem;
    backdrop-filter: blur(12px);
  }

  .home-path-card::after,
  .home-path-card:first-child::after {
    top: 1.55rem;
    right: 1.55rem;
  }
}
/* ============================================================
   About page — editorial, calm and distinctly human
   ============================================================ */
.about-page {
  --about-ink: #0b3047;
  --about-paper: #f7f4ee;
  --about-rule: rgba(23, 58, 89, 0.17);
  background: var(--about-paper);
}

.about-page .breadcrumbs {
  background: var(--about-paper);
  border-color: var(--about-rule);
}

.about-hero {
  position: relative;
  overflow: hidden;
  padding: 0;
  color: #fff;
  background: var(--about-ink);
}

.about-hero::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 54%;
  background:
    radial-gradient(circle at 12% 20%, rgba(75, 188, 183, 0.18), transparent 34%),
    linear-gradient(135deg, #0b3047 0%, #08293d 100%);
}

.about-hero-inner {
  position: relative;
  min-height: 560px;
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(520px, 1.14fr);
  align-items: stretch;
}

.about-hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 570px;
  padding: 5.5rem 4.5rem 5.5rem 0;
}

.about-hero .eyebrow {
  color: #8dded9;
}

.about-hero h1 {
  max-width: 560px;
  margin: 1.15rem 0 1.25rem;
  color: #fff;
  font-size: clamp(2.55rem, 4.4vw, 4.55rem);
  font-weight: 560;
  line-height: 1.01;
  letter-spacing: -0.045em;
}

.about-hero .lead {
  max-width: 500px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.12rem;
  line-height: 1.7;
}

.about-hero-signoff {
  display: flex;
  gap: 1.35rem;
  margin-top: 2.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.035em;
}

.about-hero-signoff span + span::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 4px;
  margin: 0 1.35rem 0.15rem 0;
  border-radius: 50%;
  background: #70d2cc;
}

.about-hero-media {
  position: relative;
  min-height: 560px;
  margin: 0 -1rem 0 0;
  overflow: hidden;
}

.about-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--about-ink) 0%, rgba(11, 48, 71, 0.3) 14%, transparent 44%);
  pointer-events: none;
}

.about-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.about-hero-media figcaption,
.about-editorial-media figcaption {
  position: absolute;
  z-index: 2;
  right: 1.5rem;
  bottom: 1.25rem;
  padding: 0.5rem 0.7rem;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(7, 35, 52, 0.64);
  backdrop-filter: blur(8px);
  font-size: 0.72rem;
  letter-spacing: 0.025em;
}

.about-page .section {
  padding: clamp(4.5rem, 7vw, 7rem) 0;
}

.about-intro-section,
.about-audience-section,
.about-affiliate-section {
  background: var(--about-paper);
}

.about-section-number {
  display: block;
  margin-bottom: 0.85rem;
  color: var(--privacy-teal);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.13em;
}

.about-editorial-grid {
  display: grid;
  grid-template-columns: minmax(210px, 0.75fr) minmax(320px, 1fr) minmax(370px, 1.22fr);
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: start;
}

.about-editorial-heading {
  padding-top: 0.25rem;
}

.about-editorial-heading h2,
.about-affiliate-heading h2 {
  margin-top: 0.8rem;
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 580;
  letter-spacing: -0.035em;
}

.about-editorial-copy {
  padding-top: 2.7rem;
}

.about-editorial-copy .lead {
  color: var(--about-ink);
  font-size: 1.08rem;
  line-height: 1.72;
}

.about-editorial-copy p:not(.lead),
.about-affiliate-copy p,
.about-audience-copy p {
  color: var(--cool-slate);
  line-height: 1.82;
}

.about-editorial-media {
  position: relative;
  min-height: 430px;
  margin: 0;
  overflow: hidden;
  border-radius: 2px;
  box-shadow: 18px 18px 0 #dfeeed;
}

.about-editorial-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-scope-section,
.about-explore-section {
  background: #fff;
  border-top: 1px solid var(--about-rule);
  border-bottom: 1px solid var(--about-rule);
}

.about-section-heading {
  display: grid;
  grid-template-columns: minmax(220px, 0.65fr) minmax(0, 1.35fr);
  gap: 3rem;
  align-items: end;
  margin-bottom: 3.5rem;
}

.about-section-heading h2 {
  max-width: 700px;
  margin-bottom: 0.65rem;
  font-size: clamp(2rem, 3.3vw, 3.25rem);
  font-weight: 570;
  letter-spacing: -0.04em;
}

.about-section-heading .lead {
  max-width: 620px;
  margin: 0;
  color: var(--cool-slate);
}

.about-scope-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--about-rule);
  border-bottom: 1px solid var(--about-rule);
}

.about-scope-column {
  padding: 2.25rem 3rem 2.15rem 0;
}

.about-scope-column + .about-scope-column {
  padding-right: 0;
  padding-left: 3rem;
  border-left: 1px solid var(--about-rule);
}

.about-scope-column h3 {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1.5rem;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.about-scope-column--do h3 { color: #197d76; }
.about-scope-column--dont h3 { color: #8c5360; }

.about-scope-column ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.about-scope-column li {
  position: relative;
  padding: 0.82rem 0 0.82rem 1.15rem;
  border-top: 1px solid rgba(23, 58, 89, 0.1);
  color: #405d70;
  line-height: 1.55;
}

.about-scope-column li:first-child { border-top: 0; }
.about-scope-column li::before {
  content: "";
  position: absolute;
  top: 1.48rem;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--privacy-teal);
}
.about-scope-column--dont li::before { background: #ae6978; }

.about-audience-layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.65fr) minmax(0, 1.35fr);
  gap: 3rem;
  padding: 1rem 0 1rem 2rem;
  border-left: 4px solid var(--privacy-teal);
}

.about-audience-copy h2 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 3.6vw, 3.5rem);
  font-weight: 560;
  letter-spacing: -0.04em;
}

.about-audience-copy p {
  max-width: 780px;
  margin: 0;
  font-size: 1.08rem;
}

.about-link-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--about-rule);
}

.about-link-card {
  display: grid;
  grid-template-columns: 2.4rem minmax(0, 1fr) auto;
  gap: 1.25rem;
  align-items: start;
  min-height: 190px;
  padding: 2rem 2.25rem 2rem 0;
  border-bottom: 1px solid var(--about-rule);
  color: var(--about-ink);
  transition: background-color 180ms ease, padding 180ms ease;
}

.about-link-card:nth-child(even) {
  padding-right: 0;
  padding-left: 2.25rem;
  border-left: 1px solid var(--about-rule);
}

.about-link-card:hover {
  padding-left: 0.75rem;
  color: var(--about-ink);
  background: #f5faf9;
}

.about-link-card:nth-child(even):hover { padding-left: 3rem; }
.about-link-index {
  padding-top: 0.25rem;
  color: var(--privacy-teal);
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.08em;
}
.about-link-card h3 {
  margin-bottom: 0.7rem;
  font-size: 1.2rem;
}
.about-link-card p {
  max-width: 430px;
  margin: 0;
  color: var(--cool-slate);
  font-size: 0.94rem;
  line-height: 1.65;
}
.about-link-card > .icon {
  margin-top: 0.25rem;
  color: var(--clear-blue);
}

.about-affiliate-layout {
  display: grid;
  grid-template-columns: minmax(250px, 0.75fr) minmax(340px, 1.15fr);
  gap: clamp(3rem, 7vw, 7rem);
  align-items: start;
}
.about-affiliate-copy { padding-top: 2.7rem; }

.about-disclosure-link {
  grid-column: 2;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  margin-top: -1.5rem;
  padding-top: 1.35rem;
  border-top: 1px solid var(--about-rule);
}
.about-disclosure-link .icon-feature {
  width: 2rem;
  height: 2rem;
  padding: 0.42rem;
  border-radius: 50%;
  color: var(--privacy-teal);
  background: var(--privacy-teal-soft);
}
.about-disclosure-link h3 {
  margin: 0 0 0.15rem;
  font-size: 0.98rem;
}
.about-disclosure-link p {
  margin: 0;
  color: var(--cool-slate);
  font-size: 0.88rem;
}
.about-disclosure-link > a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border-blue);
  border-radius: 50%;
  background: #fff;
}
.about-disclosure-link > a:hover { background: var(--glacier-mist); }

.about-final-cta {
  padding: clamp(3.75rem, 6vw, 5.5rem) 0;
  text-align: left;
  background: linear-gradient(115deg, #0b3047 0%, #0f4259 62%, #176078 100%);
}
.about-final-cta .about-final-cta-inner {
  max-width: var(--container);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 3rem;
  align-items: center;
}
.about-final-cta .eyebrow { color: #83d9d4; }
.about-final-cta h2 {
  max-width: 700px;
  margin: 0.8rem 0 0.7rem;
  font-size: clamp(2rem, 3.4vw, 3.25rem);
  font-weight: 560;
  letter-spacing: -0.04em;
}
.about-final-cta p {
  max-width: 610px;
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
}
.about-final-cta .hero-actions { justify-content: flex-end; }
.about-final-cta .btn {
  color: var(--about-ink);
  border-radius: 999px;
  padding-inline: 1.7rem;
}

@media (max-width: 1023px) {
  .about-hero-inner {
    min-height: 510px;
    grid-template-columns: minmax(0, 0.95fr) minmax(390px, 1.05fr);
  }
  .about-hero-copy { padding-right: 2.5rem; }
  .about-editorial-grid {
    grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.2fr);
  }
  .about-editorial-copy { padding-top: 0; }
  .about-editorial-media {
    grid-column: 2;
    min-height: 360px;
  }
}

@media (max-width: 767px) {
  .about-hero::before { width: 100%; }
  .about-hero-inner {
    min-height: 0;
    grid-template-columns: 1fr;
    padding: 0;
  }
  .about-hero-media {
    grid-row: 1;
    min-height: 310px;
    margin: 0;
  }
  .about-hero-media::after {
    background: linear-gradient(180deg, transparent 44%, var(--about-ink) 100%);
  }
  .about-hero-media figcaption { display: none; }
  .about-hero-copy {
    margin-top: -2px;
    max-width: none;
    padding: 2.4rem 1.25rem 3.25rem;
    text-align: left;
  }
  .about-hero h1 {
    margin-top: 0.9rem;
    font-size: clamp(2.35rem, 12vw, 3.35rem);
    line-height: 1.03;
  }
  .about-hero .lead { font-size: 1rem; }
  .about-hero-signoff {
    flex-wrap: wrap;
    gap: 0.55rem 1rem;
    margin-top: 1.7rem;
  }
  .about-hero-signoff span + span::before { margin-right: 1rem; }
  .about-page .section { padding: 4rem 0; }
  .about-editorial-grid,
  .about-section-heading,
  .about-audience-layout,
  .about-affiliate-layout,
  .about-final-cta .about-final-cta-inner {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
  .about-editorial-copy,
  .about-affiliate-copy { padding-top: 0; }
  .about-editorial-media {
    grid-column: auto;
    min-height: 330px;
    box-shadow: 10px 10px 0 #dfeeed;
  }
  .about-section-heading { margin-bottom: 2.5rem; }
  .about-section-heading h2,
  .about-audience-copy h2,
  .about-editorial-heading h2,
  .about-affiliate-heading h2 { font-size: clamp(1.85rem, 8vw, 2.4rem); }
  .about-scope-grid,
  .about-link-grid { grid-template-columns: 1fr; }
  .about-scope-column,
  .about-scope-column + .about-scope-column {
    padding: 1.75rem 0;
    border-left: 0;
  }
  .about-scope-column + .about-scope-column { border-top: 1px solid var(--about-rule); }
  .about-audience-layout {
    padding: 0.25rem 0 0.25rem 1.25rem;
    gap: 1.25rem;
  }
  .about-audience-copy p { font-size: 1rem; }
  .about-link-card,
  .about-link-card:nth-child(even) {
    grid-template-columns: 1.8rem minmax(0, 1fr) auto;
    gap: 0.8rem;
    min-height: 0;
    padding: 1.5rem 0;
    border-left: 0;
  }
  .about-link-card:hover,
  .about-link-card:nth-child(even):hover { padding-left: 0.5rem; }
  .about-disclosure-link {
    grid-column: auto;
    margin-top: 0;
  }
  .about-final-cta .hero-actions { justify-content: flex-start; }
}

/* Final homepage refinement overrides. */
.home-page .feature-strip .container {
  background: #fff;
  box-shadow: 0 12px 32px rgba(10, 37, 55, 0.14);
  backdrop-filter: none;
}

.home-page .feature-strip-grid {
  padding: 0.85rem 0;
}

.home-page main > .home-story-section,
.home-page main > .home-topics-section,
.home-page main > .home-steps-section,
.home-page main > .home-privacy-section,
.home-page main > .home-cities-section,
.home-page main > .home-resources-section {
  padding-top: clamp(4.5rem, 6vw, 5.75rem);
  padding-bottom: clamp(4.5rem, 6vw, 5.75rem);
}

.home-paths-section,
.home-paths-section > .container {
  min-height: 620px;
}

.home-paths-section > .container {
  padding-top: clamp(3.75rem, 5vw, 4.75rem);
  padding-bottom: clamp(2.5rem, 4vw, 3.5rem);
  align-items: stretch;
}

.home-paths-header,
.home-paths-grid {
  width: 100%;
}

.home-paths-grid {
  border-radius: 1rem;
  box-shadow: 0 18px 44px rgba(2, 18, 29, 0.24);
  backdrop-filter: none;
}

.home-path-card,
.home-path-card:first-child,
.home-path-card:nth-child(2),
.home-path-card:nth-child(3),
.home-path-card:last-child {
  min-height: 235px;
  padding: 1.5rem;
  transition: none;
}

.home-path-card::before,
.home-path-card::after,
.home-path-card:first-child::after {
  display: none;
}

.home-path-card-top {
  min-height: 2.6rem;
  padding: 0;
}

.home-path-card .card-icon,
.home-path-card:first-child .card-icon,
.home-path-card:nth-child(2) .card-icon,
.home-path-card:nth-child(3) .card-icon {
  width: 2.6rem;
  height: 2.6rem;
}

.home-path-card h3,
.home-path-card:first-child h3 {
  margin-top: 1.25rem;
  font-size: 1.3rem;
}

.home-path-card p,
.home-path-card:first-child p {
  max-width: 36ch;
  margin-top: 0.55rem;
  font-size: 0.9rem;
  line-height: 1.58;
}

.home-path-card:hover,
.home-path-card:first-child:hover,
.home-path-card:nth-child(2):hover,
.home-path-card:nth-child(3):hover {
  padding-left: 1.5rem;
}

.home-topics-section .home-condition-grid {
  margin-top: 2rem !important;
}

.home-topics-section .topic-visual-card {
  aspect-ratio: 16 / 9;
  border-radius: 0.9rem;
  box-shadow: 0 12px 30px rgba(13, 47, 69, 0.12);
  transition: none;
}

.topic-visual-card > img {
  transition: none;
}

.topic-visual-card:hover,
.topic-visual-card:hover > img {
  box-shadow: 0 12px 30px rgba(13, 47, 69, 0.12);
  transform: none;
}

.topic-card-content {
  padding: 1.55rem;
}

.home-steps-section .steps--on-navy {
  margin-top: 3rem !important;
}

.home-steps-section .steps--on-navy .step-body p {
  color: rgba(232, 241, 244, 0.76);
}

@media (max-width: 1023px) {
  .home-steps-section .steps-horizontal .step-circle {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(190, 226, 223, 0.42);
    color: #c6e9e5;
  }
}

.home-cities-section .city-grid {
  margin-top: 1.65rem !important;
}

.home-cities-section .city-tile-tagline {
  max-width: 34ch;
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.35;
  text-transform: none;
}

.home-resource-list .card {
  min-height: 162px;
  border-radius: 0.8rem;
  box-shadow: 0 6px 18px rgba(16, 47, 73, 0.05);
}

.resource-card-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: none;
}

.home-final-cta .container {
  min-height: 320px;
}

@media (max-width: 900px) {
  .home-paths-section,
  .home-paths-section > .container,
  .home-path-card,
  .home-path-card:first-child,
  .home-path-card:nth-child(2),
  .home-path-card:nth-child(3),
  .home-path-card:last-child {
    min-height: 0;
  }
}

@media (max-width: 639px) {
  .home-page main > .home-story-section,
  .home-page main > .home-topics-section,
  .home-page main > .home-steps-section,
  .home-page main > .home-privacy-section,
  .home-page main > .home-cities-section,
  .home-page main > .home-resources-section {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }

  .home-paths-section > .container {
    padding-top: 3.5rem;
    padding-bottom: 3rem;
  }

  .home-paths-grid {
    margin-top: 2rem;
    border-radius: 0.85rem;
    backdrop-filter: none;
  }

  .home-path-card,
  .home-path-card:first-child,
  .home-path-card:nth-child(2),
  .home-path-card:nth-child(3),
  .home-path-card:last-child {
    padding: 1.3rem;
  }

  .home-path-card:hover,
  .home-path-card:first-child:hover,
  .home-path-card:nth-child(2):hover,
  .home-path-card:nth-child(3):hover {
    padding-left: 1.3rem;
  }

  .home-path-card h3,
  .home-path-card:first-child h3 {
    margin-top: 0.9rem;
    font-size: 1.35rem;
  }

  .home-topics-section .topic-visual-card {
    height: 250px;
    min-height: 250px;
  }

  .topic-card-content {
    padding: 1.2rem;
  }

  .home-final-cta .container {
    min-height: 0;
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

}

/* Final landing-page width guard. */
.dating-landing .topic-split,
.dating-landing .topic-split > * {
  min-width: 0;
}

.dating-landing .topic-split-media,
.dating-landing .topic-split-media img {
  width: 100%;
  max-width: 100%;
}

/* Mobile headings should use the available content measure.
   Desktop character limits create editorial rhythm, but on narrow screens they
   cause short headings to collapse into an unnecessarily tall left column. */
@media (max-width: 780px) {
  main h2 {
    width: auto;
    max-width: none !important;
    text-wrap: balance;
  }

  .home-app-copy,
  .home-story-copy,
  .home-paths-header,
  .home-privacy-copy,
  .home-resources-header,
  .blog-latest-heading,
  .landing-afterword-layout > header {
    width: 100%;
    max-width: none;
  }

  .home-page main .home-paths-header h2 {
    max-width: none !important;
  }
}

/* Blog index: restrained, traditional editorial archive. */
.blog-index-page main {
  background: #ffffff;
}

.blog-index-hero {
  padding: clamp(2rem, 4vw, 3.5rem) 0 clamp(3.5rem, 6vw, 5.5rem);
  background: #ffffff;
}

.blog-index-hero-panel {
  position: relative;
  display: flex;
  min-height: 440px;
  overflow: hidden;
  align-items: stretch;
  border-radius: 18px;
  background: #103b50;
}

.blog-index-hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  width: min(49%, 610px);
  padding: clamp(2.5rem, 5vw, 5rem);
  flex-direction: column;
  justify-content: center;
  background: rgba(13, 52, 74, 0.91);
}

.blog-index-hero .blog-section-label {
  margin-bottom: 1.1rem;
  color: #91d5d2;
}

.blog-index-hero h1 {
  max-width: 14ch;
  margin: 0;
  color: #ffffff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.8rem, 4.3vw, 4.45rem);
  font-weight: 500;
  line-height: 1.02;
  text-wrap: balance;
}

.blog-index-hero-copy > p:last-child {
  max-width: 45ch;
  margin: 1.4rem 0 0;
  color: rgba(240, 248, 248, 0.82);
  font-size: 1.02rem;
  line-height: 1.7;
}

.blog-index-hero-media {
  position: absolute;
  inset: 0;
  min-width: 0;
  margin: 0;
}

.blog-index-hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 52% center;
}

.blog-posts-section {
  padding: clamp(3.5rem, 6vw, 5.25rem) 0 clamp(5rem, 8vw, 7.5rem);
  background: #ffffff;
}

.blog-posts-header {
  display: grid;
  margin-bottom: 2.25rem;
  padding-bottom: 1.5rem;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 520px);
  gap: 2rem;
  align-items: end;
  border-bottom: 1px solid #cad9dc;
}

.blog-posts-header .blog-section-label {
  margin-bottom: 0.55rem;
}

.blog-posts-header h2 {
  margin: 0;
  color: #123f5b;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 3.3vw, 3.25rem);
  font-weight: 500;
  line-height: 1.08;
}

.blog-posts-header > p {
  margin: 0;
  color: #58717f;
  line-height: 1.65;
}

.blog-topic-intro {
  display: grid;
  margin: 0 0 2.5rem;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  grid-template-columns: minmax(0, 1.45fr) minmax(260px, 0.75fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  border: 1px solid #d4e0e2;
  border-radius: 12px;
  background: #f5f9f9;
}

.blog-topic-intro h3,
.blog-editorial-note h3 {
  margin: 0 0 0.75rem;
  color: #123f5b;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.4rem;
  line-height: 1.25;
}

.blog-topic-intro p,
.blog-editorial-note p {
  margin: 0 0 0.85rem;
  color: #415f6f;
  line-height: 1.72;
}

.blog-topic-intro p:last-child,
.blog-editorial-note p:last-child {
  margin-bottom: 0;
}

.blog-topic-intro aside {
  display: flex;
  padding-left: clamp(1.25rem, 3vw, 2rem);
  flex-direction: column;
  gap: 0.8rem;
  border-left: 1px solid #c4d7da;
}

.blog-topic-intro aside strong {
  color: #123f5b;
}

.blog-topic-intro a,
.blog-editorial-note a {
  color: #087c82;
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

.blog-editorial-note {
  max-width: 820px;
  margin: clamp(2.5rem, 5vw, 4rem) auto 0;
  padding-top: 1.75rem;
  border-top: 1px solid #cad9dc;
}

.blog-post-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 2.25rem);
  align-items: stretch;
}

.blog-post-card {
  display: flex;
  min-width: 0;
  overflow: hidden;
  flex-direction: column;
  border: 1px solid #d4e0e2;
  border-radius: 12px;
  background: #ffffff;
}

.blog-post-card-media {
  display: block;
  overflow: hidden;
  border-bottom: 1px solid #d4e0e2;
}

.blog-post-card-media img {
  display: block;
  width: 100%;
  height: clamp(240px, 23vw, 310px);
  object-fit: cover;
}

.blog-post-card-body {
  display: flex;
  min-height: 330px;
  padding: clamp(1.4rem, 2.5vw, 2rem);
  flex: 1;
  flex-direction: column;
}

.blog-post-card-meta {
  display: flex;
  margin: 0 0 1rem;
  flex-wrap: wrap;
  gap: 0.35rem 0.8rem;
  color: #667e8a;
  font-size: 0.76rem;
  line-height: 1.4;
}

.blog-post-card-meta span:first-child {
  color: #087c82;
  font-weight: 750;
}

.blog-post-card-meta > * + *::before {
  content: "";
  display: inline-block;
  width: 3px;
  height: 3px;
  margin: 0 0.8rem 0.16rem 0;
  border-radius: 50%;
  background: #9fb3bb;
}

.blog-post-card h3 {
  margin: 0;
  color: #123f5b;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.55rem, 2.3vw, 2rem);
  font-weight: 600;
  line-height: 1.18;
  text-wrap: balance;
}

.blog-post-card h3 a {
  color: inherit;
  text-decoration: none;
}

.blog-post-card h3 a:hover,
.blog-post-card h3 a:focus-visible,
.blog-card-link:hover,
.blog-card-link:focus-visible {
  color: #087c82;
}

.blog-post-card-body > p:not(.blog-post-card-meta) {
  margin: 1rem 0 1.5rem;
  color: #526d7c;
  line-height: 1.68;
}

.blog-post-card-footer {
  display: flex;
  margin-top: auto;
  padding-top: 1.2rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid #e1e9ea;
}

.blog-card-author {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 0.7rem;
}

.blog-card-author img {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border-radius: 50%;
  object-fit: cover;
}

.blog-card-author span {
  display: grid;
  min-width: 0;
  gap: 0.08rem;
}

.blog-card-author strong {
  overflow: hidden;
  color: #264d63;
  font-size: 0.79rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.blog-card-author small {
  color: #738893;
  font-size: 0.69rem;
}

.blog-card-link {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.4rem;
  color: #0a7278;
  font-size: 0.82rem;
  font-weight: 750;
  text-decoration: none;
}

.blog-card-link .icon {
  width: 0.95rem;
  height: 0.95rem;
}

@media (max-width: 900px) {
  .blog-index-hero-panel {
    min-height: 400px;
  }

  .blog-index-hero-copy {
    width: 55%;
    padding: 2.25rem;
  }

  .blog-posts-header {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .blog-topic-intro {
    grid-template-columns: 1fr;
  }

  .blog-topic-intro aside {
    padding: 1.25rem 0 0;
    border-top: 1px solid #c4d7da;
    border-left: 0;
  }
}

@media (max-width: 680px) {
  .blog-index-hero {
    padding: 1rem 0 3.5rem;
  }

  .blog-index-hero-panel {
    display: flex;
    min-height: 0;
    flex-direction: column;
    border-radius: 12px;
  }

  .blog-index-hero-media {
    position: relative;
    inset: auto;
    order: 1;
  }

  .blog-index-hero-media img {
    height: 220px;
    object-position: 52% 38%;
  }

  .blog-index-hero-copy {
    width: 100%;
    order: 2;
    padding: 1.6rem 1.35rem 1.8rem;
    background: #123b56;
  }

  .blog-index-hero h1 {
    max-width: none;
    font-size: clamp(2.2rem, 10vw, 2.8rem);
    line-height: 1.04;
  }

  .blog-index-hero-copy > p:last-child {
    margin-top: 1rem;
    font-size: 0.94rem;
  }

  .blog-posts-section {
    padding-bottom: 4rem;
  }

  .blog-posts-header {
    margin-bottom: 1.5rem;
  }

  .blog-topic-intro {
    margin-bottom: 1.5rem;
    padding: 1.25rem;
  }

  .blog-posts-header h2 {
    font-size: 2.25rem;
  }

  .blog-post-grid {
    grid-template-columns: 1fr;
  }

  .blog-post-card-body {
    min-height: 0;
    padding: 1.35rem;
  }

  .blog-post-card-media img {
    height: 215px;
  }

  .blog-post-card h3 {
    font-size: 1.55rem;
  }

  .blog-post-card-footer {
    align-items: flex-end;
  }
}

@media (max-width: 420px) {
  .blog-card-author small {
    display: none;
  }

  .blog-card-link {
    font-size: 0.78rem;
  }
}

/* Unified site palette: navy is the primary brand surface; blue-teal is used
   only as a restrained accent. Large green-tinted areas are returned to cool
   neutral blue so legacy and editorial pages read as one system. */
:root {
  --positive-blue: #2d91cf;
  --trust-navy: #153b57;
  --clear-blue: #1b79a8;
  --clear-blue-hover: #12678f;
  --glacier-mist: #eef5f8;
  --canadian-snow: #f7fafb;
  --cool-slate: #526c7b;
  --privacy-teal: #1d809e;
  --privacy-teal-soft: #e8f2f6;
  --border-blue: #d4e4eb;
}

.page-hero--mist,
.section--mist,
.home-topics-section,
.home-privacy-section,
.home-app-section,
.home-resources-section {
  background: #eef4f7 !important;
}

.about-intro-section,
.about-audience-section,
.about-affiliate-section {
  background: #f3f6f8 !important;
}

.dating-practical,
.home-steps-section,
.home-cities-section,
.cta-banner,
.blog-cta {
  background: #123b56 !important;
}

.blog-index-hero-panel,
.blog-index-hero-copy {
  background-color: #123b56;
}

.blog-section-label,
.about-section-number,
.blog-post-card-meta span:first-child,
.resource-card-label {
  color: #1b7898;
}

.topic-panel--teal,
.info-banner--teal {
  background-color: #e5f0f5;
  border-color: #bdd6e1;
}

.btn-primary {
  background-color: #1b79a8;
  box-shadow: 0 6px 16px rgba(21, 81, 116, 0.18);
}

.btn-primary:hover {
  background-color: #12678f;
  box-shadow: 0 8px 20px rgba(21, 81, 116, 0.22);
}

@media (max-width: 780px) {
  .home-page main h2 {
    width: 100%;
    max-width: none !important;
    font-size: clamp(1.85rem, 8vw, 2rem) !important;
    line-height: 1.12 !important;
  }

  .dating-guide-page .article-section-head {
    display: block;
    width: 100%;
  }

  .dating-guide-page .article-section-head .card-icon {
    display: inline-flex;
    margin-bottom: 0.85rem;
  }

  .dating-guide-page .article-section-head h2,
  .community-editorial-intro h2,
  .inclusion-statement h2 {
    width: 100%;
    max-width: none !important;
  }

  .community-editorial-intro,
  .inclusion-statement {
    padding-right: 0.75rem;
    padding-left: 0.75rem;
  }
}

/* Blog index hero: full-bleed horizontally with a bounded banner height. */
.blog-index-page .blog-index-hero {
  min-height: 0;
  padding: 0;
  background: #123b56;
}

.blog-index-page .blog-index-hero > .container {
  width: 100%;
  max-width: none;
  min-height: 0;
  padding: 0;
}

.blog-index-page .blog-index-hero-panel {
  width: 100%;
  min-height: clamp(500px, 48vw, 620px);
  border-radius: 0;
}

.blog-index-page .blog-index-hero-copy {
  width: 100%;
  min-height: inherit;
  padding: clamp(3rem, 7vw, 5.5rem) max(1.5rem, calc((100vw - var(--container)) / 2 + 1rem));
  align-items: center;
  justify-content: center;
  gap: 1.35rem;
  text-align: center;
  background: rgba(7, 40, 59, 0.58);
}

.blog-index-page .blog-index-hero h1 {
  max-width: none;
  font-size: clamp(3.1rem, 4.4vw, 4.5rem);
  line-height: 1;
  white-space: nowrap;
}

.blog-index-page .blog-index-hero .blog-section-label,
.blog-index-page .blog-index-hero-copy > p:last-child {
  margin-right: auto;
  margin-left: auto;
}

.blog-index-page .blog-index-hero .blog-section-label,
.blog-index-page .blog-index-hero-copy > p:last-child {
  margin-top: 0;
  margin-bottom: 0;
}

.blog-index-page .blog-index-hero-copy > p:last-child {
  max-width: 42rem;
  color: rgba(255, 255, 255, 0.9);
}

@media (max-width: 680px) {
  .blog-index-page .blog-index-hero,
  .blog-index-page .blog-index-hero > .container,
  .blog-index-page .blog-index-hero-panel {
    min-height: 560px;
  }

  .blog-index-page .blog-index-hero-panel {
    position: relative;
    display: block;
  }

  .blog-index-page .blog-index-hero-media {
    position: absolute;
    inset: 0;
    height: 100%;
  }

  .blog-index-page .blog-index-hero-media img {
    width: 100%;
    height: 100%;
    object-position: 67% center;
  }

  .blog-index-page .blog-index-hero-copy {
    position: relative;
    width: 100%;
    min-height: 560px;
    padding: 4rem 1.25rem;
    justify-content: center;
    gap: 1.25rem;
    background: rgba(7, 40, 59, 0.64);
  }

  .blog-index-page .blog-index-hero h1 {
    max-width: none;
    font-size: clamp(2.2rem, 10.3vw, 2.7rem);
    line-height: 1.04;
    white-space: normal;
  }

  .blog-index-page .blog-index-hero-copy > p:last-child {
    max-width: 35ch;
    color: rgba(255, 255, 255, 0.88);
  }
}

/* Home app showcase: keep the product keyword readable without forcing the
   heading into a narrow editorial column. */
.home-page .home-app-copy {
  width: 100%;
  max-width: 600px;
}

.home-page .home-app-copy h2 {
  width: 100%;
  max-width: 18ch;
  font-size: clamp(2.2rem, 3.1vw, 3.1rem);
  line-height: 1.08;
  text-wrap: balance;
}

@media (min-width: 901px) {
  .home-page .home-app-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(2rem, 4vw, 4rem);
  }

  .home-page .home-app-copy h2 {
    max-width: none;
  }
}

@media (max-width: 900px) {
  .home-page .home-app-copy {
    max-width: none;
  }
}

@media (max-width: 639px) {
  .home-page .home-app-copy h2 {
    max-width: none !important;
    font-size: clamp(1.85rem, 7.8vw, 2.2rem) !important;
    line-height: 1.12 !important;
  }
}

/* ============================================================
   Final site colour system
   One visual language: Canadian blue, deep navy and cool neutrals.
   Legacy teal variables remain as aliases so older components inherit the
   same palette instead of introducing a second brand colour.
   ============================================================ */
:root {
  /* Primitive tokens */
  --brand-blue-50: #eef6fb;
  --brand-blue-100: #dcecf5;
  --brand-blue-300: #91cce7;
  --brand-blue-500: #2d91cf;
  --brand-blue-600: #1b79a8;
  --brand-blue-700: #12678f;
  --brand-navy-800: #153b57;
  --brand-navy-900: #123149;
  --brand-neutral-0: #ffffff;
  --brand-neutral-50: #f7fafb;
  --brand-neutral-100: #eef4f7;
  --brand-neutral-200: #d4e4eb;

  /* Semantic tokens */
  --color-primary: var(--brand-blue-600);
  --color-primary-hover: var(--brand-blue-700);
  --color-primary-soft: var(--brand-blue-50);
  --color-accent-on-dark: var(--brand-blue-300);
  --color-surface: var(--brand-neutral-0);
  --color-surface-muted: var(--brand-neutral-100);
  --color-border: var(--brand-neutral-200);
  --color-heading: var(--brand-navy-800);

  /* Component tokens */
  --button-primary-bg: var(--color-primary);
  --button-primary-bg-hover: var(--color-primary-hover);
  --button-primary-fg: var(--brand-neutral-0);
  --button-primary-border: var(--color-primary);

  /* Legacy aliases */
  --positive-blue: var(--brand-blue-500);
  --clear-blue: var(--color-primary);
  --clear-blue-hover: var(--color-primary-hover);
  --privacy-teal: var(--color-primary);
  --privacy-teal-soft: var(--color-primary-soft);
  --glacier-mist: var(--color-surface-muted);
  --canadian-snow: var(--brand-neutral-50);
  --border-blue: var(--color-border);
}

.home-page {
  --home-teal: var(--color-primary);
  --home-teal-soft: var(--color-primary-soft);
}

/* Primary actions use one solid brand colour across every page. */
.btn-primary,
.hero-home--fullscreen .btn-primary,
.home-final-cta .btn-light,
.mobile-menu .btn-primary {
  border-color: var(--button-primary-border) !important;
  background: var(--button-primary-bg) !important;
  color: var(--button-primary-fg) !important;
  box-shadow: 0 8px 20px rgba(18, 103, 143, 0.2);
}

.btn-primary:hover,
.hero-home--fullscreen .btn-primary:hover,
.home-final-cta .btn-light:hover,
.mobile-menu .btn-primary:hover {
  border-color: var(--button-primary-bg-hover) !important;
  background: var(--button-primary-bg-hover) !important;
  color: var(--button-primary-fg) !important;
}

/* Labels, inline links and decorative icons share the same blue accent. */
.eyebrow,
.blog-section-label,
.resource-card-label,
.dating-hero-kicker,
.hpv-briefing-label,
.connection-spectrum-kicker,
.hpv-visit-list li span,
.hpv-medical-note svg,
.connection-spectrum-icon,
.blog-post-card-meta span:first-child,
.blog-card-link,
.about-scope-column--do h3,
.home-topics-section .topic-visual-card .more,
.section-head-icon--teal,
.icon-feature--teal .icon-feature-icon {
  color: var(--color-primary) !important;
}

/* Pale blue replaces green-tinted badges, notes and informational surfaces. */
.callout--teal,
.tag--teal,
.topic-panel--teal,
.info-banner--teal,
.hero-badge[style],
.connection-spectrum-icon,
.home-resources-section {
  border-color: var(--color-border) !important;
  background: var(--color-primary-soft) !important;
}

.dating-landing .topic-split-media {
  box-shadow: 24px 24px 0 var(--brand-blue-100);
}

.dating-landing .topic-split--reverse .topic-split-media {
  box-shadow: -24px 24px 0 var(--brand-blue-100);
}

.dating-landing .topic-features,
.dating-landing .topic-privacy,
.dating-landing .topic-resources,
.dating-landing .topic-feature,
.dating-landing .topic-privacy-card,
.dating-landing .topic-resources .condition-card {
  border-color: var(--color-border);
}

/* Blue on dark navy is intentionally lighter for accessible contrast. */
.home-section-label--light,
.home-steps-section .eyebrow,
.home-cities-section .eyebrow,
.community-editorial .eyebrow,
.inclusion-editorial .eyebrow,
.community-editorial .editorial-text-link,
.blog-author-section .blog-section-label,
.home-final-points span {
  color: var(--color-accent-on-dark) !important;
}

.home-path-card .card-icon,
.community-route-icon {
  border-color: rgba(145, 204, 231, 0.38) !important;
  color: var(--color-accent-on-dark) !important;
}

.home-path-card .card-icon {
  background: rgba(255, 255, 255, 0.1) !important;
}

.dating-landing .topic-feature-icon,
.dating-landing .card-icon {
  border-color: var(--color-border) !important;
}

.home-final-points span {
  border-color: rgba(145, 204, 231, 0.25) !important;
}

.community-editorial,
.inclusion-editorial {
  background: var(--brand-navy-800) !important;
}
