/* Shared visual layer for the Plans and Lifestyle pages. */
body > .topstrip,
body > .marquee,
body > header.nav,
.compliance-band {
  display: none;
}

.desktop-nav a.active::after,
.desktop-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

main > section {
  padding: 112px 0;
}

.wrap {
  width: min(1180px, calc(100% - 48px));
  max-width: none;
  margin-inline: auto;
  padding: 0;
}

.section-eyebrow,
.detail-eyebrow,
.med-eyebrow {
  margin-bottom: 18px;
  color: var(--sage-deep);
  font-family: var(--font-body);
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.section-head {
  max-width: 720px;
  margin-bottom: 56px;
}

.section-head h2 {
  margin-bottom: 0;
}

.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .06em;
  line-height: 1;
  text-transform: uppercase;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: var(--white);
  background: var(--ink);
  box-shadow: 0 9px 22px rgba(23, 35, 53, .16);
}

.btn-primary:hover {
  background: #26364b;
  box-shadow: 0 12px 30px rgba(23, 35, 53, .22);
}

.plans-hero,
.life-hero {
  position: relative;
  overflow: hidden;
  min-height: 610px;
  padding: 118px max(24px, calc((100vw - 1180px) / 2));
  text-align: left;
  background: var(--cream);
}

.plans-hero::before,
.life-hero::before {
  position: absolute;
  top: 76px;
  right: max(24px, calc((100vw - 1180px) / 2));
  width: min(35vw, 430px);
  aspect-ratio: 1;
  border-radius: 48% 52% 42% 58% / 54% 40% 60% 46%;
  background: var(--sage);
  content: "";
  transform: rotate(8deg);
}

.plans-hero::after,
.life-hero::after {
  position: absolute;
  right: max(60px, calc((100vw - 1080px) / 2));
  bottom: 58px;
  width: min(18vw, 220px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: -165px -110px 0 -50px var(--paper);
  content: "";
}

.plans-hero > *,
.life-hero > * {
  position: relative;
  z-index: 1;
  animation: subpage-intro 620ms both cubic-bezier(.2,.8,.2,1);
}

.plans-hero > :nth-child(2),
.life-hero > :nth-child(2) { animation-delay: 70ms; }
.plans-hero > :nth-child(3),
.life-hero > :nth-child(3) { animation-delay: 140ms; }
.plans-hero > :nth-child(4),
.life-hero > :nth-child(4) { animation-delay: 210ms; }
.plans-hero > :nth-child(5),
.life-hero > :nth-child(5) { animation-delay: 280ms; }

@keyframes subpage-intro {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

.plans-hero .section-eyebrow,
.life-hero .section-eyebrow {
  max-width: 680px;
  margin-inline: 0;
  text-align: left !important;
}

.plans-hero h1,
.life-hero h1 {
  max-width: 720px;
  margin-bottom: 24px;
  font-size: clamp(3.4rem, 6.7vw, 6.4rem);
  line-height: .94;
}

.plans-hero h1 em,
.life-hero h1 em {
  color: var(--sage-deep);
  font-weight: 500;
}

.plans-hero p,
.life-hero > p {
  max-width: 640px;
  margin: 0 0 30px;
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.plans-hero .btn,
.life-hero .btn {
  min-height: 56px;
  padding: 15px 28px !important;
}

.included-tag {
  display: table;
  margin: 22px 0 0;
  padding: 8px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--sage-deep);
  background: rgba(255,255,255,.55);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* Plans */
.plans-hero + section {
  padding-top: 112px !important;
  color: var(--white);
  background: var(--ink);
}

.plans-hero + section .wrap {
  max-width: 1040px !important;
}

.med-card {
  margin-bottom: 28px;
  padding: clamp(28px, 5vw, 52px);
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--paper);
  box-shadow: none;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.med-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.med-card:nth-child(2) {
  background: var(--sage);
}

.med-name {
  margin-bottom: 30px;
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4vw, 3.65rem);
  font-weight: 600;
  letter-spacing: -.04em;
  line-height: 1;
}

.tier-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.tier {
  position: relative;
  min-height: 154px;
  padding: 25px 20px 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255,255,255,.48);
}

.tier.best {
  border-color: var(--ink);
  color: var(--white);
  background: var(--ink);
  box-shadow: 0 14px 30px rgba(23,35,53,.15);
}

.tier-badge {
  position: absolute;
  top: -10px;
  left: 16px;
  padding: 5px 9px;
  border-radius: 999px;
  color: var(--ink);
  background: var(--coral);
  font-size: .6rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.tier-name {
  margin-bottom: 14px;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .08em;
  opacity: .66;
  text-transform: uppercase;
}

.tier-price {
  margin-bottom: 7px;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: -.04em;
  line-height: 1;
}

.tier-price span {
  margin-left: 3px;
  font-family: var(--font-body);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: 0;
  opacity: .62;
}

.tier-note {
  color: inherit;
  font-size: .7rem;
  opacity: .62;
}

.tier-note b {
  color: var(--sage) !important;
}

.med-card:nth-child(2) .tier-note b {
  color: var(--sage-deep) !important;
}

.includes {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 25px;
  margin-top: 30px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.includes-label {
  color: var(--sage-deep);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.includes-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: .8rem;
  font-weight: 700;
}

.includes-list li::before,
.detail-list li::before {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 9px;
  border-radius: 50%;
  background: var(--coral);
  content: "";
}

.disclaimer-note {
  margin: 22px 0 0;
  color: var(--ink-soft);
  font-size: .68rem;
}

.steps-row,
.process-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.steps-row .step-card,
.process-row .process-card {
  min-height: 280px;
  padding: 32px 30px 24px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.steps-row .step-card + .step-card,
.process-row .process-card + .process-card {
  padding-left: 30px;
  border-left: 1px solid var(--line);
}

.step-time,
.process-time {
  margin-bottom: 70px;
  color: var(--sage-deep);
  font-family: var(--font-body);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.steps-row h3,
.process-row h3 {
  max-width: 260px;
  font-family: var(--font-display);
  font-size: 1.55rem;
}

.steps-row p,
.process-row p {
  margin-bottom: 0;
  font-size: .86rem;
}

.faq {
  max-width: 820px;
  margin-inline: auto;
}

.faq .faq-item p {
  padding-left: 0;
}

/* Lifestyle */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.pillar-card {
  min-height: 340px;
  padding: 36px 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: none;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.pillar-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.pillar-card:nth-child(2) {
  background: var(--sage-soft);
}

.pillar-card:nth-child(3) {
  color: var(--white);
  background: var(--ink);
}

.pillar-card:nth-child(3) p {
  color: rgba(255,255,255,.65);
}

.pillar-icon {
  width: 58px;
  height: 58px;
  margin-bottom: 88px;
}

.pillar-card h3 {
  font-family: var(--font-display);
  font-size: 1.75rem;
}

.pillar-card p {
  margin-bottom: 0;
  font-size: .88rem;
}

.pillars-grid + * {
  margin-top: 0;
}

.detail-row {
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  align-items: stretch;
  gap: 0;
  margin-bottom: 34px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.detail-row.reverse {
  grid-template-columns: .98fr 1.02fr;
}

.detail-row.reverse .detail-media {
  order: 2;
}

.detail-media {
  width: 100%;
  height: 100%;
  min-height: 430px;
  border-radius: 0;
  object-fit: cover;
}

.detail-copy {
  display: flex;
  padding: clamp(35px, 6vw, 78px);
  flex-direction: column;
  justify-content: center;
}

.detail-copy h3 {
  margin-bottom: 18px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 3.2rem);
  letter-spacing: -.035em;
  line-height: 1.05;
}

.detail-copy p {
  margin-bottom: 22px;
  color: var(--ink-soft);
}

.detail-list {
  display: grid;
  gap: 11px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: .82rem;
  font-weight: 700;
}

.detail-list li {
  display: block;
  padding: 0;
}

main > section:has(.detail-row) {
  background: var(--sage-soft) !important;
}

.cta-band {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
  padding: clamp(55px, 8vw, 92px);
  border-radius: var(--radius);
  color: var(--white);
  text-align: left;
  background: var(--sage-deep);
}

.cta-band h2 {
  max-width: 760px;
  color: var(--white);
}

.cta-band p {
  max-width: 680px;
  color: rgba(255,255,255,.7);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-start;
}

.cta-band .btn-primary {
  color: var(--ink);
  background: var(--coral);
}

/* Existing subpage footer, restyled to match the homepage. */
body > footer {
  padding: 82px 0 92px;
  color: var(--white);
  background: var(--ink);
}

body > footer .wrap {
  width: min(1180px, calc(100% - 48px));
}

body > footer .footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(2, 1fr);
  gap: 34px;
  margin-bottom: 0;
  padding-bottom: 55px;
}

body > footer .footer-brand {
  margin-bottom: 22px;
}

body > footer .footer-tag {
  max-width: 300px;
  color: rgba(255,255,255,.63);
  font-size: .78rem;
}

body > footer .footer-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 11px;
}

body > footer .footer-col h4 {
  margin-bottom: 10px;
  color: var(--sage);
  font-family: var(--font-body);
  font-size: .68rem;
  letter-spacing: .12em;
  opacity: 1;
  text-transform: uppercase;
}

body > footer .footer-col a {
  margin: 0;
  color: rgba(255,255,255,.74);
  font-size: .78rem;
  opacity: 1;
}

body > footer .footer-col a:hover {
  color: var(--white);
}

body > footer .footer-legal {
  padding-top: 34px;
  border-top: 1px solid var(--line-light);
  color: rgba(255,255,255,.46);
  font-size: .68rem;
  opacity: 1;
}

body > footer .footer-legal p {
  max-width: 1050px;
  color: rgba(255,255,255,.63);
}

@media (max-width: 1020px) {
  .plans-hero,
  .life-hero {
    min-height: 560px;
  }

  .plans-hero::before,
  .life-hero::before {
    right: -70px;
    opacity: .72;
  }

  .plans-hero::after,
  .life-hero::after {
    right: 60px;
  }

  .tier-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  main > section {
    padding: 78px 0;
  }

  .plans-hero,
  .life-hero {
    min-height: auto;
    padding-top: 82px;
    padding-bottom: 90px;
  }

  .plans-hero::before,
  .life-hero::before {
    top: auto;
    right: -80px;
    bottom: -110px;
    width: 280px;
  }

  .plans-hero::after,
  .life-hero::after {
    right: 80px;
    bottom: -40px;
    width: 120px;
    opacity: .9;
  }

  .plans-hero h1,
  .life-hero h1 {
    font-size: clamp(3.2rem, 16vw, 5rem);
  }

  .plans-hero p,
  .life-hero > p {
    max-width: 90%;
  }

  .tier-grid,
  .pillars-grid,
  .steps-row,
  .process-row,
  .detail-row,
  .detail-row.reverse {
    grid-template-columns: 1fr;
  }

  .includes {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .steps-row .step-card,
  .process-row .process-card {
    min-height: 220px;
    padding: 30px 0;
  }

  .steps-row .step-card + .step-card,
  .process-row .process-card + .process-card {
    padding-left: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .step-time,
  .process-time {
    margin-bottom: 45px;
  }

  .pillar-card {
    min-height: 290px;
  }

  .pillar-icon {
    margin-bottom: 65px;
  }

  .detail-row.reverse .detail-media {
    order: 0;
  }

  .detail-media {
    min-height: 280px;
  }

  .cta-band {
    width: min(100% - 32px, 1180px);
    padding: 52px 28px;
  }

  body > footer .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  body > footer .footer-grid > div:first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 520px) {
  .tier-grid {
    grid-template-columns: 1fr;
  }

  .tier {
    min-height: 132px;
  }

  .med-card {
    padding: 28px 22px;
  }
}
