/* ==========================================
   Home page layer – LIFE site
   Keep style.css as core; load this last.
   Premium compact scale pass.
   ========================================== */

.page-home-life {
  --life-bg: #f6faf8;
  --life-surface: #ffffff;
  --life-surface-soft: #f0f8f5;
  --life-ink: #0f2d33;
  --life-ink-soft: #29484e;
  --life-muted: #60777a;
  --life-border: #dce9e5;
  --life-border-strong: #c5dcd6;
  --life-teal: #158fa0;
  --life-teal-dark: #0f7380;
  --life-deep: #0b464d;
  --life-radius-xl: 22px;
  --life-radius-lg: 18px;
  --life-radius-md: 14px;
  --life-shadow-xs: 0 6px 18px rgba(15, 45, 51, 0.045);
  --life-shadow-sm: 0 12px 30px rgba(15, 45, 51, 0.07);
  --life-shadow-md: 0 20px 48px rgba(15, 45, 51, 0.11);

  min-height: 100vh;
  color: var(--life-ink-soft);
  font-family: 'Lato', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  background:
    radial-gradient(circle at 6% 0%, rgba(21, 143, 160, 0.08), transparent 28rem),
    linear-gradient(180deg, #f3faf7 0%, #f8fcfb 48%, #ffffff 100%);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.page-home-life .container {
  max-width: 1120px;
}

.page-home-life a {
  color: var(--life-teal-dark);
}

.page-home-life a:hover,
.page-home-life a:focus {
  color: var(--life-deep);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.16em;
}

/* Navigation: intentionally compact, less estate-agent-billboard */
.page-home-life .navbar {
  position: sticky;
  top: 0;
  z-index: 1030;
  padding: 0.34rem 1.1rem;
  background: rgba(255, 255, 255, 0.96) !important;
  border-bottom: 1px solid rgba(197, 220, 214, 0.7);
  box-shadow: 0 8px 24px rgba(15, 45, 51, 0.045);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.page-home-life .navbar-brand {
  display: inline-flex;
  align-items: center;
  margin-right: 1.55rem;
  padding-top: 0.2rem;
  padding-bottom: 0.2rem;
}

.page-home-life .navbar-brand img {
  height: 50px !important;
  width: auto;
}

.page-home-life .navbar-toggler {
  border: 1px solid var(--life-border-strong);
  border-radius: 12px;
  padding: 0.38rem 0.58rem;
}

.page-home-life .nav-link {
  position: relative;
  padding: 0.7rem 0.72rem !important;
  color: var(--life-ink) !important;
  font-family: 'Montserrat', system-ui, sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.page-home-life .nav-link:hover,
.page-home-life .nav-link:focus,
.page-home-life .nav-item.active .nav-link {
  color: var(--life-teal-dark) !important;
}

.page-home-life .nav-item.active .nav-link::after {
  content: '';
  position: absolute;
  left: 0.72rem;
  right: 0.72rem;
  bottom: 0.34rem;
  height: 2px;
  border-radius: 999px;
  background: var(--life-teal);
}

/* Buttons */
.page-home-life .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 42px;
  border-radius: 999px !important;
  padding: 0.68rem 1.05rem !important;
  font-family: 'Montserrat', system-ui, sans-serif;
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.005em;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}

.page-home-life .btn:hover,
.page-home-life .btn:focus {
  transform: translateY(-1px);
}

.page-home-life .btn-primary {
  background-color: var(--life-teal) !important;
  border-color: var(--life-teal) !important;
  color: #fff !important;
  box-shadow: 0 10px 22px rgba(21, 143, 160, 0.22);
}

.page-home-life .btn-primary:hover,
.page-home-life .btn-primary:focus {
  background-color: var(--life-teal-dark) !important;
  border-color: var(--life-teal-dark) !important;
  box-shadow: 0 14px 28px rgba(15, 115, 128, 0.24);
}

.page-home-life .btn-outline-light {
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.75) !important;
  color: #fff !important;
  box-shadow: none;
}

.page-home-life .btn-outline-light:hover,
.page-home-life .btn-outline-light:focus {
  background: rgba(255, 255, 255, 0.18) !important;
  border-color: #fff !important;
  color: #fff !important;
}

.page-home-life .btn-outline-dark {
  background: #fff !important;
  border: 1px solid var(--life-border-strong) !important;
  color: var(--life-deep) !important;
  box-shadow: var(--life-shadow-xs);
}

.page-home-life .btn-outline-dark:hover,
.page-home-life .btn-outline-dark:focus {
  background: var(--life-deep) !important;
  border-color: var(--life-deep) !important;
  color: #fff !important;
}

/* Type scale */
.page-home-life .home-eyebrow {
  margin-bottom: 0.55rem;
  color: var(--life-muted);
  font-family: 'Montserrat', system-ui, sans-serif;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.35;
  text-transform: uppercase;
}

.page-home-life .home-section-title,
.page-home-life .home-hero__title,
.page-home-life .home-panel-title,
.page-home-life .home-step-title {
  color: var(--life-ink);
  font-family: 'Montserrat', system-ui, sans-serif;
  font-weight: 800;
  letter-spacing: -0.035em;
}

.page-home-life .home-section-title {
  max-width: 760px;
  margin-bottom: 0;
  font-size: clamp(1.42rem, 2.15vw, 2.18rem);
  line-height: 1.13;
  text-wrap: balance;
}

.page-home-life .home-intro__text,
.page-home-life .home-step-text,
.page-home-life .card-text {
  color: #3d595e;
  font-family: 'Lato', system-ui, sans-serif;
  font-size: 0.95rem;
  line-height: 1.65;
}

/* Hero: premium editorial hero, not oversized landing-page block */
.page-home-life .home-hero {
  position: relative;
  min-height: auto;
  padding: clamp(3rem, 5vw, 4.6rem) 0 clamp(2.8rem, 4.6vw, 4.2rem);
  overflow: hidden;
  color: #fff;
  background-position: center right;
  background-size: cover;
}

.page-home-life .home-hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 31, 36, 0.88) 0%, rgba(6, 31, 36, 0.72) 42%, rgba(6, 31, 36, 0.38) 76%, rgba(6, 31, 36, 0.22) 100%),
    radial-gradient(circle at 18% 24%, rgba(21, 143, 160, 0.22), transparent 24rem);
}

.page-home-life .home-hero__inner {
  position: relative;
  z-index: 2;
}

.page-home-life .home-hero__panel {
  max-width: 620px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.page-home-life .home-hero__panel .home-eyebrow {
  color: rgba(255, 255, 255, 0.78);
}

.page-home-life .home-hero__title {
  max-width: 610px;
  margin: 0 0 0.82rem;
  color: #fff;
  font-size: clamp(1.9rem, 3.15vw, 3.05rem);
  line-height: 1.06;
  text-wrap: balance;
}

.page-home-life .home-hero__text {
  max-width: 570px;
  margin: 0 0 0.72rem;
  color: rgba(255, 255, 255, 0.91);
  font-family: 'Lato', system-ui, sans-serif;
  font-size: clamp(0.94rem, 1.05vw, 1.02rem);
  line-height: 1.62;
}

.page-home-life .home-hero__text + .home-hero__text {
  max-width: 545px;
  color: rgba(255, 255, 255, 0.82);
}

.page-home-life .home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.68rem;
  margin-top: 1.1rem;
}

.page-home-life .home-hero__proof {
  display: flex;
  flex-wrap: wrap;
  gap: 0.52rem;
  margin-top: 1.25rem;
}

.page-home-life .home-hero__proof span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0.38rem 0.68rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.82);
  font-family: 'Montserrat', system-ui, sans-serif;
  font-size: 0.73rem;
  font-weight: 700;
}

/* Intro */
.page-home-life .home-intro {
  padding: clamp(1.9rem, 3.5vw, 3rem) 0 clamp(1.1rem, 2.4vw, 2rem);
}

.page-home-life .home-intro__copy {
  max-width: 960px;
  margin: 0 auto;
  padding: clamp(1.15rem, 2.1vw, 1.75rem);
  text-align: left;
  border: 1px solid var(--life-border);
  border-radius: var(--life-radius-xl);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--life-shadow-xs);
}

.page-home-life .home-intro__copy .home-section-title {
  max-width: 720px;
}

.page-home-life .home-intro__text {
  max-width: 760px;
  margin: 0.85rem 0 1rem;
}

.page-home-life .home-intro__cta {
  margin-top: 0.05rem;
}

.page-home-life .home-intro__copy p:last-child,
.page-home-life .home-intro__copy .mt-3.mb-0 {
  margin-top: 0.95rem !important;
  color: var(--life-muted);
  font-family: 'Montserrat', system-ui, sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
}

/* Trust pills */
.page-home-life .home-pill-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}

.page-home-life .home-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0.45rem 0.78rem;
  border: 1px solid var(--life-border);
  border-radius: 999px;
  background: #fff;
  color: var(--life-ink-soft);
  box-shadow: 0 6px 16px rgba(15, 45, 51, 0.035);
  font-family: 'Montserrat', system-ui, sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
}

.page-home-life .home-pill::before {
  content: '';
  width: 0.38rem;
  height: 0.38rem;
  margin-right: 0.45rem;
  border-radius: 50%;
  background: var(--life-teal);
  box-shadow: 0 0 0 3px rgba(21, 143, 160, 0.10);
}

/* Steps */
.page-home-life .home-steps {
  padding: clamp(1.2rem, 2.4vw, 2.1rem) 0 clamp(1.4rem, 3vw, 2.6rem);
}

.page-home-life .home-steps .row:first-child .col-12 {
  margin-bottom: 1.35rem !important;
}

.page-home-life .home-steps-row {
  align-items: stretch;
}

.page-home-life .home-step-card {
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--life-border);
  border-radius: var(--life-radius-lg);
  background: var(--life-surface);
  box-shadow: var(--life-shadow-xs);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.page-home-life .home-step-card:hover {
  transform: translateY(-2px);
  border-color: var(--life-border-strong);
  box-shadow: var(--life-shadow-sm);
}

.page-home-life .home-step-image-wrap {
  display: flex;
  justify-content: center;
  padding: 1.05rem 1rem 0.15rem;
}

.page-home-life .home-step-image {
  width: auto;
  max-width: 100%;
  max-height: 82px;
  object-fit: contain;
  margin: 0 auto;
  padding: 0.48rem;
  border-radius: 18px;
  background: linear-gradient(180deg, #f0faf7, #ffffff);
}

.page-home-life .home-step-card .card-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.92rem 1rem 1.12rem;
}

.page-home-life .home-step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.48rem;
  padding: 0.28rem 0.54rem;
  border-radius: 999px;
  background: var(--life-surface-soft);
  color: var(--life-deep);
  font-family: 'Montserrat', system-ui, sans-serif;
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.page-home-life .home-step-title {
  margin-bottom: 0.52rem;
  font-size: clamp(1.02rem, 1.28vw, 1.2rem);
  line-height: 1.18;
  text-wrap: balance;
}

.page-home-life .home-step-text {
  margin-bottom: 0.92rem;
  font-size: 0.92rem;
  line-height: 1.62;
}

.page-home-life .home-step-btn {
  min-width: 124px;
  margin-top: auto;
}

/* Feeds */
.page-home-life .home-feeds {
  padding: 0 0 clamp(2rem, 3.8vw, 3.4rem);
}

.page-home-life .home-feed-panel {
  position: relative;
  height: 100%;
  overflow: hidden;
  padding: clamp(1rem, 1.8vw, 1.35rem);
  border: 1px solid var(--life-border);
  border-radius: var(--life-radius-xl);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--life-shadow-xs);
}

.page-home-life .home-feed-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 1rem;
  right: 1rem;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--life-teal), rgba(21, 143, 160, 0.06));
}

.page-home-life .home-panel-title {
  max-width: 460px;
  margin: 0 auto;
  font-size: clamp(1.18rem, 1.65vw, 1.55rem);
  line-height: 1.16;
  text-wrap: balance;
}

.page-home-life .home-feed-panel .row.mt-4,
.page-home-life .home-feed-panel .latest-news.mt-4 {
  margin-top: 1.1rem !important;
}

.page-home-life .home-feed-card {
  overflow: hidden;
  border: 1px solid #e4eeeb;
  border-radius: var(--life-radius-md);
  background: #fff;
  box-shadow: none;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.page-home-life .home-feed-card:hover {
  transform: translateY(-1px);
  border-color: var(--life-border-strong);
  box-shadow: 0 10px 24px rgba(15, 45, 51, 0.055);
}

.page-home-life .home-feed-card .card-body {
  padding: 0.9rem 0.95rem 1rem;
}

.page-home-life .home-feed-card .card-title {
  margin-bottom: 0.46rem;
  color: var(--life-ink);
  font-family: 'Montserrat', system-ui, sans-serif;
  font-size: clamp(0.98rem, 1.15vw, 1.12rem);
  font-weight: 800;
  line-height: 1.23;
  letter-spacing: -0.026em;
  text-wrap: balance;
}

.page-home-life .home-feed-card .card-text {
  margin-bottom: 0.82rem;
  font-size: 0.91rem;
  line-height: 1.58;
}

.page-home-life .home-feed-card .btn {
  min-height: 38px;
  padding: 0.58rem 0.88rem !important;
  font-size: 0.8rem;
}

.page-home-life .home-news-image {
  width: 100%;
  height: 132px;
  object-fit: cover;
}

.page-home-life .text-muted.small {
  color: #728588 !important;
  font-family: 'Montserrat', system-ui, sans-serif;
  font-size: 0.7rem !important;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Footer scale nudges so the whole page feels premium, not oversized */
.page-home-life .site-footer {
  background: #0f3339;
}

.page-home-life .site-footer__brand-title {
  font-size: clamp(1.15rem, 1.6vw, 1.45rem);
  line-height: 1.15;
}

.page-home-life .site-footer__title {
  font-size: 0.95rem;
  line-height: 1.25;
}

.page-home-life .site-footer__copy,
.page-home-life .site-footer__cta-text,
.page-home-life .site-footer__links,
.page-home-life .site-footer__legal,
.page-home-life .site-footer__legal-links {
  font-size: 0.9rem;
  line-height: 1.6;
}

.page-home-life .site-footer__badge {
  font-size: 0.74rem;
}

.page-home-life .site-footer a:hover {
  color: #b9ebe2;
}

/* Cookie banner */
.page-home-life .cookie-banner {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  z-index: 9999;
  max-width: 860px;
  margin: 0 auto;
  padding: 0.82rem 0.95rem;
  border: 1px solid var(--life-border-strong);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 18px 44px rgba(15, 45, 51, 0.14);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--life-ink-soft);
  text-align: center;
  font-size: 0.88rem;
}

.page-home-life .cookie-banner__button {
  margin-left: 0.7rem;
  padding: 0.5rem 0.88rem;
  border: 0;
  border-radius: 999px;
  background: var(--life-teal);
  color: #fff;
  cursor: pointer;
  font-family: 'Montserrat', system-ui, sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
}

.page-home-life .cookie-banner__button:hover,
.page-home-life .cookie-banner__button:focus {
  background: var(--life-teal-dark);
}

@media (max-width: 991.98px) {
  .page-home-life .navbar {
    padding: 0.32rem 0.95rem;
  }

  .page-home-life .navbar-brand img {
    height: 46px !important;
  }

  .page-home-life .nav-item.active .nav-link::after {
    display: none;
  }

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

  .page-home-life .home-hero__panel {
    max-width: 620px;
  }
}

@media (max-width: 767.98px) {
  .page-home-life {
    font-size: 15.5px;
  }

  .page-home-life .navbar-brand img {
    height: 42px !important;
  }

  .page-home-life .nav-link {
    padding: 0.6rem 0.1rem !important;
    font-size: 0.88rem;
  }

  .page-home-life .home-hero {
    padding: 2.15rem 0 2.1rem;
    background-position: center;
  }

  .page-home-life .home-hero__overlay {
    background: linear-gradient(90deg, rgba(6, 31, 36, 0.88) 0%, rgba(6, 31, 36, 0.72) 100%);
  }

  .page-home-life .home-hero__panel,
  .page-home-life .home-intro__copy {
    text-align: left;
    margin: 0 auto;
  }

  .page-home-life .home-hero__actions .btn {
    width: 100%;
  }

  .page-home-life .home-hero__proof span {
    width: 100%;
    justify-content: center;
  }

  .page-home-life .home-section-title {
    font-size: clamp(1.35rem, 6.4vw, 1.85rem);
  }

  .page-home-life .home-pill {
    width: 100%;
  }

  .page-home-life .home-step-image {
    max-height: 74px;
  }

  .page-home-life .home-news-image {
    height: 128px;
  }

  .page-home-life .cookie-banner {
    right: 0.75rem;
    bottom: 0.75rem;
    left: 0.75rem;
    display: block;
    padding: 0.82rem;
    font-size: 0.84rem;
  }

  .page-home-life .cookie-banner__button {
    display: block;
    width: 100%;
    margin: 0.65rem 0 0;
  }
}

@media (max-width: 575.98px) {
  .page-home-life .home-feed-panel {
    border-radius: 18px;
  }

  .page-home-life .home-feed-card .btn,
  .page-home-life .home-step-btn,
  .page-home-life .home-intro__cta {
    width: 100%;
  }
}

/* ==========================================
   Final compact scale override – v8
   Fixes oversized nav, oversized cards and off-centre buttons.
   Keep this at the bottom of home.css so it wins.
   ========================================== */

html body.page-home-life {
  font-size: 15px;
}

html body.page-home-life .container {
  max-width: 1080px;
}

/* Home hero and section scale */
html body.page-home-life .home-hero {
  padding: clamp(2rem, 3.6vw, 3.35rem) 0 clamp(2rem, 3.4vw, 3.25rem) !important;
}

html body.page-home-life .home-hero__panel {
  max-width: 560px !important;
}

html body.page-home-life .home-hero__title {
  max-width: 555px !important;
  font-size: clamp(1.62rem, 2.55vw, 2.42rem) !important;
  line-height: 1.08 !important;
  margin-bottom: 0.68rem !important;
}

html body.page-home-life .home-hero__text {
  max-width: 520px !important;
  font-size: clamp(0.9rem, 0.8vw, 0.98rem) !important;
  line-height: 1.58 !important;
  margin-bottom: 0.58rem !important;
}

html body.page-home-life .home-hero__actions {
  gap: 0.55rem !important;
  margin-top: 0.95rem !important;
}

html body.page-home-life .home-hero__proof {
  gap: 0.42rem !important;
  margin-top: 1rem !important;
}

html body.page-home-life .home-hero__proof span {
  min-height: 28px !important;
  padding: 0.3rem 0.58rem !important;
  font-size: 0.68rem !important;
}

html body.page-home-life .home-intro {
  padding: clamp(1.45rem, 2.8vw, 2.35rem) 0 clamp(0.85rem, 1.9vw, 1.55rem) !important;
}

html body.page-home-life .home-intro__copy {
  max-width: 880px !important;
  padding: clamp(1rem, 1.7vw, 1.35rem) !important;
  border-radius: 18px !important;
  text-align: center !important;
}

html body.page-home-life .home-intro__copy .home-section-title,
html body.page-home-life .home-intro__text {
  margin-left: auto !important;
  margin-right: auto !important;
}

html body.page-home-life .home-section-title {
  font-size: clamp(1.22rem, 1.75vw, 1.82rem) !important;
  line-height: 1.16 !important;
}

html body.page-home-life .home-intro__text,
html body.page-home-life .home-step-text,
html body.page-home-life .card-text {
  font-size: 0.9rem !important;
  line-height: 1.58 !important;
}

html body.page-home-life .home-eyebrow {
  font-size: 0.62rem !important;
  margin-bottom: 0.42rem !important;
}

html body.page-home-life .home-pill-row {
  gap: 0.42rem !important;
  margin-top: 1rem !important;
}

html body.page-home-life .home-pill {
  min-height: 30px !important;
  padding: 0.36rem 0.66rem !important;
  font-size: 0.7rem !important;
}

/* Steps: smaller cards and correctly centred buttons */
html body.page-home-life .home-steps {
  padding: clamp(0.8rem, 1.8vw, 1.55rem) 0 clamp(1rem, 2.4vw, 2rem) !important;
}

html body.page-home-life .home-steps .row:first-child .col-12 {
  margin-bottom: 1rem !important;
}

html body.page-home-life .home-step-card {
  border-radius: 16px !important;
}

html body.page-home-life .home-step-image-wrap {
  padding: 0.85rem 0.85rem 0 !important;
}

html body.page-home-life .home-step-image {
  max-height: 62px !important;
  padding: 0.38rem !important;
  border-radius: 14px !important;
}

html body.page-home-life .home-step-card .card-body {
  align-items: center !important;
  justify-content: flex-start !important;
  text-align: center !important;
  padding: 0.78rem 0.9rem 0.95rem !important;
}

html body.page-home-life .home-step-number {
  margin-bottom: 0.38rem !important;
  padding: 0.22rem 0.46rem !important;
  font-size: 0.58rem !important;
}

html body.page-home-life .home-step-title {
  font-size: clamp(0.96rem, 1.05vw, 1.08rem) !important;
  margin-bottom: 0.42rem !important;
}

html body.page-home-life .home-step-text {
  margin-bottom: 0.78rem !important;
}

html body.page-home-life .home-step-card .btn,
html body.page-home-life .home-step-btn {
  align-self: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Feed panels: centre CTAs and reduce bulky feel */
html body.page-home-life .home-feeds {
  padding-bottom: clamp(1.45rem, 3vw, 2.65rem) !important;
}

html body.page-home-life .home-feed-panel {
  padding: clamp(0.85rem, 1.45vw, 1.08rem) !important;
  border-radius: 18px !important;
}

html body.page-home-life .home-panel-title {
  font-size: clamp(1.05rem, 1.35vw, 1.34rem) !important;
}

html body.page-home-life .home-feed-panel .row.mt-4,
html body.page-home-life .home-feed-panel .latest-news.mt-4 {
  margin-top: 0.85rem !important;
}

html body.page-home-life .home-feed-card {
  border-radius: 14px !important;
}

html body.page-home-life .home-feed-card .card-body {
  align-items: center !important;
  text-align: center !important;
  padding: 0.76rem 0.82rem 0.88rem !important;
}

html body.page-home-life .home-feed-card .card-title {
  font-size: clamp(0.92rem, 1vw, 1.02rem) !important;
  line-height: 1.22 !important;
  margin-bottom: 0.38rem !important;
}

html body.page-home-life .home-feed-card .card-text {
  margin-bottom: 0.7rem !important;
}

html body.page-home-life .home-feed-card .btn,
html body.page-home-life .home-feed-panel > .text-center .btn,
html body.page-home-life .card .btn {
  align-self: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

html body.page-home-life .home-news-image {
  height: 112px !important;
}

/* Compact buttons on home without making touch targets too small */
html body.page-home-life .btn {
  min-height: 38px !important;
  padding: 0.56rem 0.88rem !important;
  font-size: 0.78rem !important;
  line-height: 1.08 !important;
}

html body.page-home-life .home-feed-card .btn {
  min-height: 34px !important;
  padding: 0.5rem 0.76rem !important;
  font-size: 0.74rem !important;
}

@media (max-width: 991.98px) {
  html body.page-home-life .home-hero {
    padding: 2.1rem 0 2.1rem !important;
  }
}

@media (max-width: 767.98px) {
  html body.page-home-life {
    font-size: 14.75px;
  }

  html body.page-home-life .home-hero {
    padding: 1.75rem 0 1.85rem !important;
  }

  html body.page-home-life .home-hero__panel,
  html body.page-home-life .home-intro__copy {
    text-align: center !important;
  }

  html body.page-home-life .home-hero__actions {
    justify-content: center !important;
  }

  html body.page-home-life .home-section-title {
    font-size: clamp(1.18rem, 5.5vw, 1.56rem) !important;
  }

  html body.page-home-life .home-step-image {
    max-height: 56px !important;
  }

  html body.page-home-life .home-news-image {
    height: 104px !important;
  }
}

/* Topic link pills beneath intro panel */
.page-home-life .home-pill-row {
  margin-top: -0.25rem;
  margin-bottom: 1.15rem;
  gap: 0.5rem;
}

.page-home-life .home-pill {
  min-height: 34px;
  padding: 0.42rem 0.78rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(197, 220, 214, 0.95);
  color: var(--life-deep);
  font-family: 'Montserrat', system-ui, sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 6px 14px rgba(15, 45, 51, 0.04);
  transition: transform 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.page-home-life .home-pill:hover,
.page-home-life .home-pill:focus {
  transform: translateY(-1px);
  background: var(--life-deep);
  border-color: var(--life-deep);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 10px 22px rgba(15, 45, 51, 0.12);
}

.page-home-life .home-pill::before {
  width: 0.38rem;
  height: 0.38rem;
  margin-right: 0.48rem;
  background: var(--life-teal);
  box-shadow: 0 0 0 3px rgba(21, 143, 160, 0.12);
}

.page-home-life .home-pill:hover::before,
.page-home-life .home-pill:focus::before {
  background: #b9ebe2;
  box-shadow: 0 0 0 3px rgba(185, 235, 226, 0.14);
}

@media (max-width: 767.98px) {
  .page-home-life .home-pill-row {
    margin-top: 0.1rem;
  }

  .page-home-life .home-pill {
    width: 100%;
    justify-content: center;
  }
}

/* Fix How It Works heading alignment */
.page-home-life .home-steps .row:first-child .col-12 {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-home-life .home-steps .home-eyebrow {
  text-align: center;
}

.page-home-life .home-steps .home-section-title {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  max-width: 760px;
}