.thrive {
  container-type: inline-size;
  --thrive-teal: var(--gk-public-teal);
  --thrive-gold: var(--gk-public-gold);
  --thrive-ivory: var(--gk-public-ivory);
  --thrive-paper: var(--gk-public-paper);
  --thrive-ink: var(--gk-public-ink);
  --thrive-muted: var(--gk-public-muted);
  --thrive-line: var(--gk-public-line);
  background: var(--thrive-paper);
  color: var(--thrive-ink);
}

.thrive-wrap {
  width: min(100% - clamp(2rem, 9%, 7rem), 70rem);
  margin-inline: auto;
}

.thrive [id] { scroll-margin-top: calc(var(--gk-hdr, 4rem) + 1rem); }
.thrive p { margin: 0; line-height: 1.65; }
.thrive h1, .thrive h2, .thrive h3 { margin: 0; color: var(--thrive-teal); }
.thrive h2 { font-size: clamp(1.9rem, 4vw, 2.85rem); line-height: 1.12; }
.thrive h3 { font-size: 1.3rem; line-height: 1.25; }

.thrive .thrive-byline { font-size: .95rem; font-weight: 700; color: var(--thrive-muted); }

.thrive-hero h1 {
  margin-block: .65rem 1.1rem;
  font-size: clamp(2.5rem, 5.4vw, 4.65rem);
  font-size: clamp(2.5rem, 6cqi, 4.65rem);
  line-height: 1.06;
  text-wrap: balance;
}

.thrive .thrive-hero-lead {
  max-width: 29rem;
  color: var(--thrive-muted);
  font-size: clamp(1.05rem, 1.8vw, 1.19rem);
}

.thrive-hero-image { object-position: 50% 80%; }

.thrive-hero-verse {
  margin: 1rem 0 0;
  padding-inline-start: .85rem;
  border-inline-start: 2px solid var(--thrive-gold);
  color: var(--thrive-muted);
}

.thrive-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .65rem 1.15rem;
  margin-top: 1.25rem;
}

.thrive a:focus-visible { outline: 2px solid var(--thrive-teal); outline-offset: 4px; }

.thrive-stages { background: var(--thrive-teal); border-bottom: 2px solid var(--thrive-gold); }
.thrive-stages ul {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-block: 0;
  padding: 0;
  list-style: none;
}

.thrive-stages a {
  display: flex;
  align-items: center;
  gap: .8rem;
  min-height: 5rem;
  padding: .8rem .35rem;
  color: var(--thrive-ivory);
  line-height: 1.35;
  text-decoration: none;
}

.thrive-stages i { flex: none; color: #e0c488; font-size: 1.45rem; }
.thrive-stages strong { display: block; font: 650 1.15rem/1.25 var(--font-display); }
.thrive-stages a span span { font-size: .9rem; }
.thrive-stages a:hover strong { text-decoration: underline; text-underline-offset: .2em; }
.thrive-stages a:focus-visible { outline-color: var(--thrive-ivory); outline-offset: -4px; }

.thrive-section { padding-block: clamp(2.8rem, 6vw, 5rem); }

.thrive-tool-list {
  margin-top: 1.4rem;
  border-top: 2px solid var(--thrive-gold);
}

.thrive-tool {
  --tool-accent: #80612b;
  --tool-paper: #f6efe0;
  display: grid;
  grid-template-columns: minmax(9rem, 1fr) minmax(0, 3.6fr);
  align-items: start;
  gap: clamp(1rem, 4vw, 2.65rem);
  padding-block: clamp(1.5rem, 4vw, 2.5rem);
  border-bottom: 1px solid var(--thrive-line);
}

.thrive-tool#compass { --tool-accent: #245b56; --tool-paper: #eaf1ec; }
.thrive-tool#tree { --tool-accent: #41613a; --tool-paper: #edf0e5; }

.thrive-tool-figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--thrive-line);
  border-radius: .25rem;
  background: var(--tool-paper);
  color: var(--tool-accent);
}

.thrive-tool-figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
}

.thrive-tool-figure figcaption {
  padding: .55rem .8rem;
  border-top: 1px solid var(--thrive-line);
  font: 650 1.12rem/1.25 var(--font-display);
}

.thrive-tool h3 { font-size: clamp(1.45rem, 3vw, 2rem); }

.thrive-tool-content {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(0, 1fr);
  align-items: start;
  gap: .9rem clamp(1.25rem, 5vw, 4rem);
  margin-top: .75rem;
}

.thrive-tool-content p { max-width: 34rem; color: var(--thrive-muted); }

.thrive-tool-outcomes {
  display: grid;
  gap: .35rem;
  margin: 0;
  padding-inline-start: 1.2rem;
  line-height: 1.55;
}

.thrive-tool-outcomes li::marker, .thrive-partnership-list li::marker { color: var(--thrive-gold); }

.thrive blockquote {
  font-family: var(--font-serif);
  font-style: italic;
  line-height: 1.55;
}

.thrive blockquote span {
  display: block;
  margin-top: .3rem;
  font: 700 .9rem/1.5 var(--font-sans);
}

.thrive-tool blockquote {
  max-width: 32rem;
  margin: .85rem 0 0;
  padding-inline-start: .75rem;
  border-inline-start: 1px solid var(--thrive-gold);
  color: var(--thrive-muted);
  font-size: .95rem;
}

.thrive-transformation { background: var(--thrive-teal); color: var(--thrive-ivory); }
.thrive-transformation h2, .thrive-transformation h3 { color: inherit; }
.thrive-benefits-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.8fr); gap: clamp(1.8rem, 5vw, 4rem); }
.thrive-benefits-intro p { max-width: 25rem; margin-top: .75rem; color: #e0e9e3; }

.thrive-benefits, .thrive-program-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem 1.75rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.thrive-benefits li { padding-top: .7rem; border-top: 1px solid #ffffff40; }
.thrive-benefits p { margin-top: .25rem; color: #e0e9e3; }

.thrive-partnership {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: center;
}

.thrive-partnership h2 + p { margin-top: .8rem; color: var(--thrive-muted); }
.thrive-partnership-image { display: block; width: 100%; height: auto; aspect-ratio: 1.35; object-fit: cover; border-radius: .2rem; }
.thrive-partnership-list { display: grid; gap: .35rem; margin-block: 1rem 1.2rem; padding-inline-start: 1.2rem; }
.thrive .thrive-sign-in { margin-top: .55rem; font-size: .9rem; color: var(--thrive-muted); }

.thrive-programs { padding-bottom: clamp(3rem, 6vw, 5rem); }
.thrive-programs h2 { font-size: clamp(1.65rem, 3.25vw, 2.3rem); }
.thrive-program-grid { margin-top: 1.25rem; }
.thrive-program-grid li { border-top: 1px solid var(--thrive-line); padding-top: .85rem; }
.thrive-program-grid p { margin-top: .35rem; color: var(--thrive-muted); }

@container (max-width: 790px) {
  .thrive-benefits-layout { grid-template-columns: 1fr; }
}

@container (max-width: 720px) {
  .thrive-hero .gk-public-hero-grid, .thrive-partnership, .thrive-tool-content { grid-template-columns: 1fr; }
  .thrive-hero h1 { font-size: clamp(2.35rem, 8.2cqi, 3.8rem); text-wrap: initial; }
  .thrive-hero-image { aspect-ratio: 1.65; }
}

@container (max-width: 580px) {
  .thrive-stages ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .thrive-stages li:nth-child(n + 3) { border-top: 1px solid #ffffff40; }
  .thrive-stages a { min-height: 4.25rem; gap: .55rem; }
  .thrive-tool { grid-template-columns: minmax(0, 1fr); }
  .thrive-tool-figure img { aspect-ratio: 4 / 3; }
  .thrive-benefits, .thrive-program-grid { grid-template-columns: 1fr; }
}

.thrive-tool-tagline { margin: -.2rem 0 .8rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--gk-public-teal, #12626b); font-size: 1rem; }
.thrive-tools-sub { margin: -.4rem 0 1.5rem; font-size: 1.1rem; letter-spacing: .08em; text-transform: uppercase; color: var(--gk-public-muted, #55666a); }
