:root {
  --background: #f5f1f8;
  --header: #b7e4d7;
  --heading: #234f3d;
  --nav-text: #4e3a5a;
  --body: #333333;
  --accent: #7baa8b;
  --secondary: #7f9db8;
  --button: #234f3d;
  --button-text: #ffffff;
  --surface: #ffffff;
  --soft-border: rgba(78, 58, 90, 0.15);
  --shadow: 0 20px 50px rgba(78, 58, 90, 0.12);
  --accent-purple: #6b4ea0;
  --accent-purple-soft: #8b6fbf;
  --accent-purple-light: #f2ecfa;
}

* {
  box-sizing: border-box;
}

*,
*::before,
*::after {
  min-width: 0;
}

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

body {
  margin: 0;
  background: var(--background);
  color: var(--body);
  font-family: "Nunito", "Trebuchet MS", Arial, sans-serif;
  font-size: clamp(16px, 1.25vw, 18px);
  line-height: 1.7;
  overflow-x: hidden;
}

img,
video {
  display: block;
  max-width: 100%;
  height: auto;
}

.crisis-link {
  background: var(--heading);
  padding: 8px 16px;
  text-align: center;
}

.crisis-link a {
  color: var(--button-text);
  font-size: clamp(0.96rem, 2.4vw, 1.1rem);
  font-weight: 800;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.crisis-link a:hover,
.crisis-link a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 4px;
  outline: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--header);
  box-shadow: 0 8px 24px rgba(78, 58, 90, 0.12);
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}

.nav-wrap {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 82px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px 0 14px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
  max-width: min(100%, 460px);
  color: var(--heading);
  font-size: clamp(1rem, 2.3vw, 1.25rem);
  font-weight: 800;
  text-decoration: none;
  line-height: 1.15;
  overflow-wrap: normal;
}

.site-logo {
  width: 58px;
  height: 58px;
  flex: 0 0 auto;
  border: 3px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(78, 58, 90, 0.18);
}

.home-page .brand-title-main {
  font-size: clamp(1.25rem, 3.1vw, 2.05rem);
  line-height: 1.08;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  max-width: 100%;
  padding: 8px 11px;
  border-radius: 999px;
  color: var(--nav-text);
  font-size: clamp(0.86rem, 1.35vw, 0.95rem);
  font-weight: 800;
  line-height: 1.15;
  text-decoration: none;
  text-align: center;
  white-space: normal;
  overflow-wrap: anywhere;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a.active {
  background: var(--button);
  color: var(--button-text);
  transform: translateY(-1px);
  outline: none;
}

.section {
  padding: clamp(42px, 5vw, 58px) 0;
  margin-block: clamp(24px, 4vw, 44px);
  scroll-margin-top: 84px;
}

main.section {
  margin-block: 0;
}

main > .section:first-child {
  margin-top: 0;
}

main > .section:last-child {
  margin-bottom: 0;
}

.section-alt {
  background: rgba(183, 228, 215, 0.28);
}

.section-inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  padding-top: clamp(34px, 5vw, 52px);
}

.home-about-section {
  padding-top: clamp(34px, 5vw, 54px);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(20px, 3vw, 30px);
  align-items: center;
}

.hero-grid .hero-copy {
  max-width: 920px;
  margin: 0 auto;
}

.hero-copy,
.content-block,
.media-panel {
  border: 1px solid var(--soft-border);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
}

.hero-copy,
.content-block {
  padding: clamp(22px, 3vw, 38px);
}

.media-panel {
  padding: 18px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--nav-text);
  font-size: clamp(0.76rem, 1.3vw, 0.84rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

/* Breadcrumbs: add this nav near the top of future pages and update the final aria-current item for the current page. */
.breadcrumbs {
  margin: 0 0 22px;
  color: var(--nav-text);
  font-size: clamp(0.82rem, 1.5vw, 0.94rem);
  font-weight: 800;
  line-height: 1.35;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  padding: 0;
  margin: 0;
  list-style: none;
}

.breadcrumbs li {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.breadcrumbs li + li::before {
  content: ">";
  margin-right: 6px;
  color: var(--accent-purple-soft);
  font-weight: 800;
}

.breadcrumbs a {
  color: var(--accent-purple);
  text-decoration-color: var(--accent-purple-soft);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
  overflow-wrap: anywhere;
}

.breadcrumbs a:hover,
.breadcrumbs a:focus-visible {
  color: var(--nav-text);
  outline: none;
}

.breadcrumbs [aria-current="page"] {
  color: var(--heading);
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--heading);
  line-height: 1.12;
  letter-spacing: 0;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2rem, 6.4vw, 4.4rem);
  max-width: 980px;
}

h2 {
  font-size: clamp(1.55rem, 4.4vw, 2.85rem);
}

h3 {
  margin-top: 34px;
  font-size: clamp(1.25rem, 2.6vw, 1.85rem);
}

p {
  margin: 18px 0 0;
  overflow-wrap: anywhere;
  text-wrap: pretty;
}

.quote {
  margin: 24px 0 28px;
  padding: clamp(16px, 3vw, 22px) clamp(18px, 3.4vw, 24px);
  border-left: 8px solid var(--accent);
  border-radius: 20px;
  background: rgba(123, 170, 139, 0.13);
  color: var(--nav-text);
  font-size: clamp(0.98rem, 1.7vw, 1.08rem);
  font-weight: 700;
}

.quote span {
  color: var(--heading);
  white-space: nowrap;
}

.video-shell {
  overflow: hidden;
  border: 6px solid rgba(127, 157, 184, 0.35);
  border-radius: 26px;
  background: #000000;
}

.video-shell video {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.portrait {
  width: min(320px, 72%);
  margin: 0 auto;
  border: 6px solid rgba(183, 228, 215, 0.8);
  border-radius: 50% 40% 45% 38%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.content-block {
  max-width: 920px;
}

.page-block {
  margin-top: 20px;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(18px, 2.5vw, 24px);
  align-items: stretch;
}

.feature-grid .content-block {
  max-width: none;
}

.sections-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.3vw, 24px);
  width: 100%;
  max-width: 1200px;
  margin: 26px auto 0;
  align-items: stretch;
}

/* Keep incomplete three-card rows balanced on desktop. */
.sections-grid > :last-child:nth-child(3n + 1) {
  grid-column: 2;
}

.sections-grid > :last-child:nth-child(3n + 2) {
  grid-column: 3;
}

.section-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-width: 0;
  min-height: clamp(178px, 19vw, 230px);
  padding: clamp(15px, 2.1vw, 21px);
  border: 1px solid var(--soft-border);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 4px 12px rgba(78, 58, 90, 0.08);
  text-align: center;
  overflow: hidden;
}

.section-card > * {
  max-width: 100%;
}

.section-card h2,
.section-card h3 {
  width: 100%;
  margin: 0 0 12px;
  font-size: clamp(1.18rem, 1.95vw, 1.65rem);
  line-height: 1.18;
  overflow-wrap: anywhere;
  text-wrap: balance;
  hyphens: auto;
  color: var(--accent-purple);
}

.section-card p {
  width: 100%;
  margin-top: 0;
  font-size: clamp(0.96rem, 1.35vw, 1.04rem);
  line-height: 1.55;
  overflow-wrap: anywhere;
  text-wrap: pretty;
}

.section-card .card-caption {
  margin: 0 0 12px;
  color: var(--accent-purple);
  font-size: clamp(0.94rem, 1.25vw, 1.02rem);
  font-style: italic;
  font-weight: 800;
  line-height: 1.35;
}

.card-link {
  color: inherit;
  text-decoration: none;
  transition: box-shadow 180ms ease, transform 180ms ease, border-color 180ms ease;
}

.card-link:hover,
.card-link:focus-visible {
  border-color: var(--accent-purple-soft);
  box-shadow: 0 12px 24px rgba(107, 78, 160, 0.16);
  outline: none;
  transform: translateY(-2px);
}

.section-card .button-link {
  width: 100%;
  margin-top: auto;
}

/* Non-clickable information uses a quieter panel; linked cards remain navigation. */
.content-panel {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 0;
  padding: clamp(11px, 1.5vw, 16px);
  border: 0;
  border-left: 3px solid rgba(139, 111, 191, 0.42);
  border-radius: 8px;
  background: rgba(242, 236, 250, 0.46);
  box-shadow: none;
  color: inherit;
  text-align: left;
  overflow: visible;
}

.content-panel > * {
  max-width: 100%;
}

.content-panel h2,
.content-panel h3,
.content-panel h4 {
  width: 100%;
  margin: 0 0 7px;
  color: var(--accent-purple);
  font-size: clamp(1.02rem, 1.5vw, 1.25rem);
  line-height: 1.22;
  text-align: left;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

.content-panel p {
  width: 100%;
  margin: 0;
  font-size: clamp(0.92rem, 1.08vw, 0.99rem);
  line-height: 1.5;
}

.content-panel p + p {
  margin-top: 8px;
}

.content-panel ul,
.content-panel ol {
  margin: 7px 0 0;
  padding-left: 20px;
}

.content-panel:hover,
.content-panel:focus-within {
  border-left-color: var(--accent-purple);
  box-shadow: none !important;
  transform: none !important;
}

.protein-page,
.resource-page {
  max-width: 1180px;
}

.resource-section {
  margin-top: clamp(32px, 5vw, 52px);
}

.resource-section > h2 {
  padding-bottom: 8px;
  border-bottom: 2px solid var(--accent-purple-light);
  font-size: clamp(1.45rem, 3vw, 2.25rem);
}

.resource-section > h3 {
  margin-top: clamp(28px, 4vw, 42px);
  font-size: clamp(1.2rem, 2.2vw, 1.65rem);
}

.resource-note {
  padding: 11px 13px;
  border-left: 6px solid var(--accent);
  border-radius: 14px;
  background: rgba(123, 170, 139, 0.13);
  color: var(--nav-text);
  font-weight: 800;
}

.resource-status {
  margin-top: 10px;
  color: var(--accent-purple);
  font-size: 0.95rem;
  font-weight: 800;
}

.resource-library-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 1.8vw, 18px);
  margin-top: 18px;
}

.resource-type-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.7rem;
  height: 1.7rem;
  margin-right: 8px;
  border-radius: 999px;
  background: var(--accent-purple-light);
  color: var(--accent-purple);
  font-size: 0.78rem;
  font-weight: 800;
}

.resources-library-page .content-panel h4 {
  margin: 10px 0 6px;
  color: var(--heading);
  font-size: clamp(1rem, 1.25vw, 1.12rem);
}

.resources-library-page .content-panel a:not(.button-link) {
  display: inline-block;
  margin-top: 10px;
  color: var(--accent-purple);
  font-weight: 800;
}

.newsletter-section {
  max-width: 880px;
}

@media (max-width: 900px) {
  .resource-library-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .resource-library-grid {
    grid-template-columns: 1fr;
  }
}

.protein-food-grid,
.resource-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 210px));
  justify-content: center;
  gap: clamp(12px, 1.8vw, 18px);
  margin-top: 18px;
}

.protein-food-card,
.resource-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
  min-height: 150px;
  padding: clamp(11px, 1.45vw, 15px);
  border: 1px solid var(--soft-border);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 4px 12px rgba(78, 58, 90, 0.08);
  text-align: center;
  transition: box-shadow 180ms ease, transform 180ms ease;
}

.protein-food-card:hover,
.protein-food-card:focus-within,
.resource-card:hover,
.resource-card:focus-within {
  border-color: var(--accent-purple-soft);
  box-shadow: 0 12px 24px rgba(107, 78, 160, 0.16);
  transform: translateY(-2px);
}

.protein-food-card h4,
.resource-card h4 {
  margin: 0;
  color: var(--accent-purple);
  font-size: clamp(1rem, 1.45vw, 1.16rem);
  line-height: 1.18;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

.protein-food-card p,
.resource-card p {
  margin: 10px 0 12px;
  font-size: clamp(0.88rem, 1.15vw, 0.96rem);
  line-height: 1.35;
}

.protein-food-card strong,
.resource-card strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 36px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(35, 79, 61, 0.1);
  color: var(--heading);
  font-size: clamp(0.92rem, 1.25vw, 1rem);
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.compact-resource-grid .resource-card {
  min-height: 96px;
  justify-content: center;
}

.affiliate-disclaimer {
  margin-top: 32px;
  padding: clamp(13px, 1.9vw, 18px);
  border: 1px solid rgba(123, 170, 139, 0.28);
  border-radius: 18px;
  background: rgba(183, 228, 215, 0.26);
  color: var(--nav-text);
  font-weight: 800;
}

.affiliate-product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 210px));
  justify-content: center;
  gap: clamp(14px, 1.8vw, 18px);
  margin-top: 24px;
}

.affiliate-product-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 100%;
  overflow: hidden;
  border: 1px solid var(--soft-border);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 4px 12px rgba(78, 58, 90, 0.08);
  text-align: center;
  transition: box-shadow 180ms ease, transform 180ms ease, border-color 180ms ease;
}

.affiliate-product-card:hover,
.affiliate-product-card:focus-within {
  border-color: var(--accent-purple-soft);
  box-shadow: 0 12px 24px rgba(107, 78, 160, 0.16);
  transform: translateY(-2px);
}

.affiliate-product-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: rgba(183, 228, 215, 0.22);
}

.affiliate-product-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: clamp(11px, 1.4vw, 15px);
}

.affiliate-product-card h3 {
  margin: 0;
  font-size: clamp(1rem, 1.35vw, 1.18rem);
  line-height: 1.18;
  color: var(--accent-purple);
}

.affiliate-product-card p {
  margin: 12px 0 16px;
  font-size: clamp(0.9rem, 1.12vw, 0.96rem);
  line-height: 1.42;
}

.affiliate-product-card .button-link {
  width: 100%;
  margin-top: auto;
}

.affiliate-product-title-link {
  color: var(--accent-purple);
  font-size: clamp(1rem, 1.35vw, 1.18rem);
  font-weight: 800;
  line-height: 1.25;
  text-decoration-color: var(--accent-purple-soft);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
  overflow-wrap: anywhere;
}

.affiliate-product-title-link:hover,
.affiliate-product-title-link:focus-visible {
  color: var(--nav-text);
  outline: none;
}

.game-collection-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.affiliate-footer-note {
  margin: 24px auto 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(0.78rem, 1.1vw, 0.88rem);
  line-height: 1.45;
}

.nutrient-card {
  align-items: flex-start;
  text-align: left;
}

.nutrient-card h2,
.nutrient-card h3 {
  text-align: left;
}

.nutrient-card ul {
  margin: 10px 0 0;
  padding-left: 20px;
}

.top-nav-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0 0;
}

.resource-table-tools {
  margin-top: 18px;
}

.resource-table-tools input {
  width: min(100%, 420px);
  min-height: 44px;
  padding: 10px 14px;
  border: 2px solid rgba(78, 58, 90, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--body);
  font: inherit;
}

.resource-table-wrap {
  width: 100%;
  margin-top: 18px;
  overflow-x: auto;
  border: 1px solid var(--soft-border);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.82);
}

.resource-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

.resource-table th,
.resource-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--soft-border);
  text-align: left;
  vertical-align: top;
}

.resource-table th {
  background: rgba(183, 228, 215, 0.62);
  color: var(--nav-text);
  font-weight: 800;
}

.resource-table tr:last-child td {
  border-bottom: 0;
}

.nutrition-card {
  transition: box-shadow 180ms ease, transform 180ms ease;
}

.nutrition-card:hover,
.nutrition-card:focus-within {
  box-shadow: 0 12px 24px rgba(78, 58, 90, 0.12);
  transform: translateY(-2px);
}

.movement-summary {
  margin-top: 28px;
  padding: 22px 24px;
  border-left: 8px solid var(--secondary);
  border-radius: 20px;
  background: rgba(127, 157, 184, 0.16);
  color: var(--body);
}

.movement-summary h2 {
  font-size: clamp(1.25rem, 2.6vw, 1.85rem);
}

.movement-summary ul {
  margin: 8px 0 0;
  padding-left: 24px;
}

.movement-card {
  transition: box-shadow 180ms ease, transform 180ms ease;
}

.movement-card:hover,
.movement-card:focus-within {
  box-shadow: 0 12px 24px rgba(78, 58, 90, 0.12);
  transform: translateY(-2px);
}

.recovery-summary {
  margin-top: 28px;
  padding: 22px 24px;
  border-left: 8px solid var(--accent);
  border-radius: 20px;
  background: rgba(123, 170, 139, 0.14);
  color: var(--body);
}

.recovery-summary h2 {
  font-size: clamp(1.25rem, 2.6vw, 1.85rem);
}

.recovery-summary ul {
  margin: 8px 0 0;
  padding-left: 24px;
}

.recovery-card {
  transition: box-shadow 180ms ease, transform 180ms ease;
}

.recovery-card:hover,
.recovery-card:focus-within {
  box-shadow: 0 12px 24px rgba(78, 58, 90, 0.12);
  transform: translateY(-2px);
}

.mental-card,
.growth-card,
.support-card,
.emotional-card,
.topic-card {
  transition: box-shadow 180ms ease, transform 180ms ease;
}

.mental-card:hover,
.mental-card:focus-within,
.growth-card:hover,
.growth-card:focus-within,
.support-card:hover,
.support-card:focus-within,
.emotional-card:hover,
.emotional-card:focus-within,
.topic-card:hover,
.topic-card:focus-within {
  box-shadow: 0 12px 24px rgba(78, 58, 90, 0.12);
  transform: translateY(-2px);
}

.content-divider {
  width: 100%;
  margin: 44px 0;
  border: 0;
  border-top: 2px solid var(--soft-border);
}

.az-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 28px;
}

.az-group {
  padding: 20px;
  border: 1px solid var(--soft-border);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
}

.az-group h3 {
  margin-top: 0;
}

.az-group ul,
.coping-category ol {
  margin: 10px 0 0;
  padding-left: 24px;
}

.coping-category {
  margin-top: 30px;
  padding: 22px 24px;
  border: 1px solid var(--soft-border);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
}

.coping-category h2 {
  font-size: clamp(1.25rem, 2.6vw, 1.85rem);
}

.site-search {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: min(280px, 100%);
}

.header-search {
  flex: 0 0 100%;
  width: min(100%, 400px);
  max-width: 400px;
  min-width: 0;
  margin: 0 auto;
  justify-content: center;
}

.site-search input {
  width: 100%;
  min-height: 42px;
  padding: 8px 12px;
  border: 1px solid var(--soft-border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--body);
  font: inherit;
  font-size: clamp(0.92rem, 1.4vw, 1rem);
}

.site-search button {
  min-height: 42px;
  padding: 8px 14px;
  border: 0;
  border-radius: 999px;
  background: var(--button);
  color: var(--button-text);
  cursor: pointer;
  font: inherit;
  font-size: clamp(0.9rem, 1.35vw, 1rem);
  font-weight: 800;
  line-height: 1.15;
  white-space: normal;
}

.site-search input:focus,
.site-search button:focus-visible {
  outline: 3px solid rgba(123, 170, 139, 0.45);
  outline-offset: 2px;
}

.search-results {
  display: grid;
  gap: 18px;
  margin-top: 30px;
}

.search-result {
  padding: 20px;
  border: 1px solid var(--soft-border);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.82);
}

.search-result h2 {
  font-size: clamp(1.2rem, 2.05vw, 1.75rem);
}

.search-result a {
  color: var(--heading);
  font-weight: 800;
}

.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;
}

.button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  min-height: 48px;
  margin-top: 24px;
  padding: 10px clamp(14px, 2vw, 20px);
  border-radius: 999px;
  background: var(--button);
  color: var(--button-text);
  font-size: clamp(0.9rem, 1.35vw, 1rem);
  font-weight: 800;
  line-height: 1.18;
  text-decoration: none;
  text-align: center;
  white-space: normal;
  overflow-wrap: anywhere;
  transition: background 180ms ease, transform 180ms ease;
}

.button-link:hover,
.button-link:focus-visible {
  background: var(--accent-purple);
  box-shadow: 0 8px 18px rgba(107, 78, 160, 0.2);
  transform: translateY(-1px);
  outline: none;
}

.ecosystem-section {
  display: grid;
  gap: 32px;
}

.ecosystem-page .section-inner {
  width: min(1540px, calc(100% - 24px));
}

.ecosystem-intro {
  max-width: none;
  text-align: center;
}

.ecosystem-page .ecosystem-intro {
  padding: clamp(24px, 3vw, 44px);
}

.ecosystem-instruction {
  max-width: 760px;
  margin: 14px auto 0;
  color: var(--nav-text);
  font-size: clamp(1rem, 2.4vw, 1.2rem);
  font-weight: 800;
  text-align: center;
}

.ecosystem-wheel {
  position: relative;
  width: min(760px, 100%);
  margin: 36px auto 0;
}

.ecosystem-logo-large {
  width: 100%;
  border: 8px solid rgba(255, 255, 255, 0.78);
  border-radius: 50%;
  box-shadow: 0 24px 70px rgba(78, 58, 90, 0.2);
}

.ecosystem-hotspot {
  position: absolute;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 4px;
  width: 24%;
  min-height: 18%;
  padding: 12px;
  border: 2px solid transparent;
  border-radius: 18px;
  background: rgba(35, 79, 61, 0.1);
  color: var(--button-text);
  font-size: clamp(0.74rem, 1.55vw, 0.95rem);
  font-weight: 800;
  line-height: 1.25;
  text-decoration: none;
  text-align: center;
  transform: translate(-50%, -50%);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.75);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
  transition: background 220ms ease, border-color 220ms ease, transform 220ms ease, box-shadow 220ms ease;
}

.ecosystem-hotspot:hover,
.ecosystem-hotspot:focus-visible {
  background: rgba(35, 79, 61, 0.72);
  border-color: rgba(255, 255, 255, 0.9);
  transform: translate(-50%, -50%) scale(1.05);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.22);
  outline: none;
}

.hotspot-title {
  display: block;
}

.hotspot-preview,
.hotspot-topics,
.hotspot-action {
  display: block;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateY(5px);
  transition: max-height 220ms ease, opacity 220ms ease, transform 220ms ease;
}

.hotspot-preview {
  font-size: 0.82em;
  font-weight: 700;
}

.hotspot-topics {
  color: #ffffff;
  font-size: 0.78em;
}

.hotspot-action {
  margin-top: 2px;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  font-size: 0.78em;
}

.ecosystem-hotspot:hover .hotspot-preview,
.ecosystem-hotspot:hover .hotspot-topics,
.ecosystem-hotspot:hover .hotspot-action,
.ecosystem-hotspot:focus-visible .hotspot-preview,
.ecosystem-hotspot:focus-visible .hotspot-topics,
.ecosystem-hotspot:focus-visible .hotspot-action {
  max-height: 90px;
  opacity: 1;
  transform: translateY(0);
}

.ecosystem-hotspot.physical {
  left: 22%;
  top: 29%;
}

.ecosystem-hotspot.mental {
  left: 50%;
  top: 19%;
}

.ecosystem-hotspot.emotional {
  left: 77%;
  top: 29%;
}

.ecosystem-hotspot.spiritual {
  left: 80%;
  top: 52%;
}

.ecosystem-hotspot.financial {
  left: 28%;
  top: 84%;
}

.ecosystem-hotspot.intellectual {
  left: 75%;
  top: 72%;
}

.wellness-wheel {
  position: relative;
  width: min(1260px, 92vw);
  margin: 42px auto 0;
  overflow: hidden;
  border: 8px solid rgba(255, 255, 255, 0.78);
  border-radius: 28px;
  background: #05080d;
  box-shadow: 0 24px 70px rgba(78, 58, 90, 0.2);
}

.wellness-wheel-image {
  width: 100%;
  transition: filter 220ms ease, opacity 220ms ease;
}

.wellness-wheel.has-active .wellness-wheel-image {
  filter: brightness(0.72) saturate(0.95);
}

.wheel-hotspot {
  position: absolute;
  z-index: 2;
  width: 18%;
  aspect-ratio: 1 / 1;
  border: 2px solid transparent;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.01);
  cursor: pointer;
  transform: translate(-50%, -50%);
  transition: transform 220ms ease, box-shadow 220ms ease, background 220ms ease, border-color 220ms ease, opacity 220ms ease;
}

.wheel-hotspot:hover,
.wheel-hotspot:focus-visible,
.wheel-hotspot.active {
  transform: translate(-50%, -50%) scale(1.07);
  outline: none;
}

.wellness-wheel.has-active .wheel-hotspot:not(.active) {
  opacity: 0.45;
}

.wheel-hotspot.physical {
  left: 24%;
  top: 19%;
}

.wheel-hotspot.mental {
  left: 50%;
  top: 14%;
}

.wheel-hotspot.emotional {
  left: 73%;
  top: 19%;
}

.wheel-hotspot.spiritual {
  left: 81%;
  top: 45%;
}

.wheel-hotspot.intellectual {
  left: 75%;
  top: 68%;
}

.wheel-hotspot.environmental {
  left: 55%;
  top: 78%;
}

.wheel-hotspot.relationships {
  left: 40%;
  top: 79%;
}

.wheel-hotspot.financial {
  left: 23%;
  top: 65%;
}

.wheel-hotspot.purpose {
  left: 21%;
  top: 45%;
}

.wheel-hotspot.physical:hover,
.wheel-hotspot.physical:focus-visible,
.wheel-hotspot.physical.active {
  box-shadow: 0 0 34px rgba(108, 214, 96, 0.85);
  border-color: rgba(108, 214, 96, 0.9);
}

.wheel-hotspot.mental:hover,
.wheel-hotspot.mental:focus-visible,
.wheel-hotspot.mental.active,
.wheel-hotspot.intellectual:hover,
.wheel-hotspot.intellectual:focus-visible,
.wheel-hotspot.intellectual.active {
  box-shadow: 0 0 34px rgba(95, 177, 255, 0.85);
  border-color: rgba(95, 177, 255, 0.9);
}

.wheel-hotspot.emotional:hover,
.wheel-hotspot.emotional:focus-visible,
.wheel-hotspot.emotional.active {
  box-shadow: 0 0 34px rgba(255, 128, 75, 0.85);
  border-color: rgba(255, 128, 75, 0.9);
}

.wheel-hotspot.spiritual:hover,
.wheel-hotspot.spiritual:focus-visible,
.wheel-hotspot.spiritual.active,
.wheel-hotspot.relationships:hover,
.wheel-hotspot.relationships:focus-visible,
.wheel-hotspot.relationships.active {
  box-shadow: 0 0 34px rgba(219, 112, 255, 0.85);
  border-color: rgba(219, 112, 255, 0.9);
}

.wheel-hotspot.environmental:hover,
.wheel-hotspot.environmental:focus-visible,
.wheel-hotspot.environmental.active {
  box-shadow: 0 0 34px rgba(117, 210, 118, 0.85);
  border-color: rgba(117, 210, 118, 0.9);
}

.wheel-hotspot.financial:hover,
.wheel-hotspot.financial:focus-visible,
.wheel-hotspot.financial.active,
.wheel-hotspot.purpose:hover,
.wheel-hotspot.purpose:focus-visible,
.wheel-hotspot.purpose.active {
  box-shadow: 0 0 34px rgba(255, 188, 55, 0.85);
  border-color: rgba(255, 188, 55, 0.9);
}

.wheel-tooltip {
  position: absolute;
  z-index: 3;
  width: 140px;
  max-width: calc(100% - 16px);
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 10px;
  background: rgba(245, 241, 248, 0.94);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.2);
  color: var(--body);
  opacity: 0;
  pointer-events: none;
  transform: translateY(4px) scale(0.98);
  transition: opacity 120ms ease, transform 120ms ease;
  left: 50%;
  top: 50%;
}

.wheel-tooltip.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.wheel-tooltip h2 {
  font-size: 0.82rem;
  line-height: 1.15;
}

.wheel-tooltip p {
  margin-top: 4px;
  font-size: 0.72rem;
  line-height: 1.25;
}

.wheel-tooltip span {
  display: block;
  margin-top: 5px;
  color: var(--nav-text);
  font-size: 0.66rem;
  font-style: italic;
  font-weight: 800;
  line-height: 1.2;
}

.community-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.site-form {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.site-form label {
  color: var(--heading);
  font-weight: 800;
}

.site-form input,
.site-form select,
.site-form textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--soft-border);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--body);
  font: inherit;
  padding: 10px 14px;
}

.site-form textarea {
  min-height: 160px;
  resize: vertical;
}

.site-form input:focus,
.site-form select:focus,
.site-form textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(123, 170, 139, 0.18);
  outline: none;
}

.field-note {
  margin-top: -4px;
  color: var(--nav-text);
  font-size: 0.95rem;
  font-weight: 700;
}

.form-button {
  border: 0;
  cursor: pointer;
  justify-self: start;
}

.form-button:disabled {
  cursor: not-allowed;
  opacity: 0.72;
}

.form-button:disabled:hover,
.form-button:disabled:focus-visible {
  background: var(--button);
  transform: none;
}

.form-helper {
  margin-top: -6px;
  color: var(--muted);
  font-size: 0.9rem;
}

.form-disclaimer {
  padding: 16px 18px;
  border-left: 6px solid var(--accent);
  border-radius: 16px;
  background: rgba(123, 170, 139, 0.13);
  color: var(--nav-text);
  font-weight: 800;
}

.form-status {
  margin-top: 6px;
  color: var(--heading);
  font-weight: 800;
}

.community-page {
  display: grid;
  gap: clamp(24px, 4vw, 48px);
}

.feature-list {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  margin-top: 20px;
  padding: 0;
  list-style: none;
}

.feature-list li,
.group-card {
  border: 1px solid rgba(127, 157, 184, 0.28);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--body);
  font-weight: 800;
  padding: 13px 15px;
}

.preview-form-grid {
  display: grid;
  gap: clamp(18px, 3vw, 30px);
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.interest-checklist {
  display: grid;
  gap: 10px;
  border: 1px solid var(--soft-border);
  border-radius: 18px;
  padding: 16px;
}

.interest-checklist legend {
  color: var(--heading);
  font-weight: 800;
  padding: 0 8px;
}

.interest-checklist label {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--body);
  font-weight: 700;
}

.interest-checklist input {
  width: auto;
  min-height: auto;
  accent-color: var(--button);
}

.text-link {
  color: var(--heading);
  font-weight: 800;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 3px;
  text-underline-offset: 5px;
}

.group-preview-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  margin-top: 22px;
}

.safety-notice {
  border-left: 8px solid var(--secondary);
}

.about-photo {
  width: min(180px, 52vw);
  aspect-ratio: 1 / 1;
  object-fit: cover;
  float: right;
  margin: 6px 0 18px 22px;
  border: 5px solid rgba(183, 228, 215, 0.85);
  border-radius: 30px;
  box-shadow: 0 14px 34px rgba(78, 58, 90, 0.14);
}

.home-page .about-photo {
  display: block;
  float: none;
  margin: 18px 0 28px;
}

.home-page .hero {
  padding-bottom: 12px;
  margin-bottom: 0;
}

.home-page .home-about-section {
  padding-top: 18px;
  margin-top: 20px;
}

.home-intro-section {
  padding-top: clamp(28px, 5vw, 52px);
  margin-top: 0;
}

.home-intro-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.85fr);
  gap: clamp(22px, 3vw, 36px);
  align-items: start;
}

.home-intro-copy {
  display: grid;
  gap: clamp(18px, 2.4vw, 26px);
}

.home-intro-layout .hero-copy,
.home-intro-layout .content-block {
  max-width: none;
}

.home-intro-layout #blog {
  grid-column: 1;
}

.merch-feature {
  grid-column: 2;
  grid-row: 1 / span 2;
  width: 100%;
}

.merch-link {
  display: block;
  overflow: hidden;
  border: 1px solid var(--soft-border);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.merch-link:hover,
.merch-link:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(78, 58, 90, 0.16);
  outline: 3px solid rgba(123, 170, 139, 0.35);
  outline-offset: 4px;
}

.merch-link img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.merch-cta {
  display: grid;
  justify-items: center;
  gap: 12px;
  margin-top: 16px;
  text-align: center;
}

.merch-cta h2 {
  margin: 0;
  color: var(--heading);
  font-size: clamp(1.25rem, 2.2vw, 1.65rem);
}

@media (max-width: 768px) {
  .home-intro-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .home-intro-copy,
  .merch-feature,
  .home-intro-layout #blog {
    grid-column: 1;
  }

  .merch-feature {
    grid-row: auto;
  }

  .merch-link {
    border-radius: 20px;
  }

  .merch-link img {
    max-height: 520px;
    object-position: center;
  }
}

@media (max-width: 430px) {
  .home-intro-section {
    padding-top: 24px;
  }

  .merch-link {
    border-radius: 16px;
  }
}

.activity-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.hobby-category-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 24px;
  margin-top: 20px;
}

.hobby-category {
  padding: 14px 0 16px;
  border-top: 2px solid var(--accent-purple-light);
}

.hobby-category h3 {
  margin: 0;
  color: var(--accent-purple);
  font-size: clamp(1.08rem, 1.8vw, 1.35rem);
}

.hobby-category .activity-list {
  gap: 8px;
  margin-top: 12px;
}

.hobbies-page .section {
  padding-block: 42px;
  margin-block: 34px;
}

.hobbies-page .resource-section {
  margin-top: clamp(22px, 3.5vw, 36px);
}

.hobbies-page .sections-grid {
  gap: clamp(13px, 1.7vw, 17px);
  margin-top: 28px;
}

.hobbies-page .section-card {
  min-height: clamp(190px, 20vw, 240px);
  padding: clamp(13px, 1.7vw, 17px);
  box-shadow: 0 3px 8px rgba(78, 58, 90, 0.06);
}

.hobbies-page .resource-section > h3 {
  margin-top: clamp(20px, 2.8vw, 30px);
}

/* Deep resource pages use a quieter, denser reading layout. */
.section:has(.resource-page) {
  padding-block: 42px;
  margin-block: 32px;
}

.resource-page.content-block {
  padding: clamp(19px, 2.8vw, 36px);
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(78, 58, 90, 0.08);
}

.resource-page .eyebrow {
  margin-bottom: 6px;
}

.resource-page .breadcrumbs {
  margin-bottom: 15px;
}

.resource-page h1 {
  font-size: clamp(1.85rem, 5vw, 3.5rem);
}

.resource-page > p,
.resource-page > .resource-note {
  margin-top: 12px;
}

.resource-page > .resource-section {
  margin-top: clamp(22px, 3.5vw, 36px);
  padding-top: clamp(18px, 2.7vw, 28px);
  border-top: 1px solid rgba(139, 111, 191, 0.2);
}

.resource-page > .resource-section:first-of-type {
  padding-top: 0;
  border-top: 0;
}

.resource-page .resource-section > h2 {
  padding-bottom: 6px;
  border-bottom-width: 1px;
  font-size: clamp(1.35rem, 2.6vw, 1.95rem);
}

.resource-page .resource-section > h3 {
  margin-top: clamp(18px, 2.5vw, 27px);
  font-size: clamp(1.08rem, 1.9vw, 1.42rem);
}

.resource-page .resource-section p {
  margin-top: 11px;
}

.resource-page .sections-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 320px));
  justify-content: center;
  gap: clamp(10px, 1.35vw, 14px);
  margin-top: 18px;
}

.resource-page .sections-grid > *,
.resource-page .sections-grid > :last-child:nth-child(3n + 1),
.resource-page .sections-grid > :last-child:nth-child(3n + 2),
.resource-page .sections-grid > :last-child:nth-child(odd) {
  grid-column: auto;
  width: 100%;
}

.resource-page .section-card {
  align-items: flex-start;
  justify-content: flex-start;
  min-height: auto;
  padding: clamp(10px, 1.25vw, 14px);
  border: 0;
  border-left: 3px solid rgba(139, 111, 191, 0.45);
  border-radius: 8px;
  background: rgba(242, 236, 250, 0.55);
  box-shadow: none;
  text-align: left;
}

.resource-page .section-card h2,
.resource-page .section-card h3 {
  margin-bottom: 7px;
  font-size: clamp(1.02rem, 1.5vw, 1.25rem);
  text-align: left;
}

.resource-page .section-card p {
  margin: 0;
  font-size: clamp(0.91rem, 1.08vw, 0.98rem);
  line-height: 1.45;
}

.resource-page .section-card ul,
.resource-page .section-card ol {
  margin: 6px 0 0;
  padding-left: 19px;
}

.resource-page .card-link {
  transition: background 160ms ease, border-color 160ms ease;
}

.resource-page .card-link:hover,
.resource-page .card-link:focus-visible,
.resource-page .section-card:hover,
.resource-page .section-card:focus-within {
  border-left-color: var(--accent-purple);
  background: rgba(242, 236, 250, 0.9);
  box-shadow: none;
  transform: none;
}

.resource-page .section-card .button-link {
  min-height: 40px;
  margin-top: 12px;
  padding: 7px 12px;
  font-size: 0.9rem;
}

.resource-page .card-caption {
  margin-bottom: 7px;
  font-size: 0.92rem;
}

.resource-page .resource-note,
.resource-page .quote,
.resource-page .movement-summary,
.resource-page .recovery-summary,
.resource-page .affiliate-disclaimer {
  padding: 10px 12px;
  border-left-width: 4px;
  border-radius: 9px;
}

.resource-page .quote,
.resource-page .movement-summary,
.resource-page .recovery-summary {
  margin: 16px 0 18px;
}

.resource-page .protein-food-grid,
.resource-page .resource-card-grid,
.resource-page .affiliate-product-grid {
  gap: 10px;
  margin-top: 14px;
}

.resource-page .protein-food-card,
.resource-page .resource-card {
  min-height: 118px;
  padding: 10px 11px;
  border-radius: 9px;
  box-shadow: none;
}

.resource-page .protein-food-card:hover,
.resource-page .protein-food-card:focus-within,
.resource-page .resource-card:hover,
.resource-page .resource-card:focus-within {
  box-shadow: none;
  transform: none;
}

.resource-page .affiliate-product-grid {
  margin-top: 17px;
}

.resource-page .affiliate-product-card {
  border-radius: 9px;
  box-shadow: none;
}

.resource-page .affiliate-product-card:hover,
.resource-page .affiliate-product-card:focus-within {
  box-shadow: none;
  transform: none;
}

.resource-page .affiliate-product-body {
  padding: 10px 11px;
}

.resource-page .top-nav-buttons {
  gap: 7px;
  margin-top: 15px;
}

.resource-page .top-nav-buttons .button-link,
.resource-page > .button-link {
  min-height: 42px;
  margin-top: 15px;
  padding: 8px 14px;
}

.resource-page .resource-table-tools,
.resource-page .resource-table-wrap {
  margin-top: 13px;
}

.resource-page .resource-table th,
.resource-page .resource-table td {
  padding: 9px 11px;
}

.resource-page .content-divider {
  margin-block: 28px;
}

.activity-list span,
.activity-list a {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  min-height: 40px;
  padding: 8px 14px;
  border: 1px solid rgba(139, 111, 191, 0.32);
  border-radius: 999px;
  background: rgba(245, 241, 248, 0.85);
  color: var(--body);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.activity-list a:hover,
.activity-list a:focus-visible {
  border-color: var(--accent-purple-soft);
  background: var(--accent-purple);
  color: var(--button-text);
  outline: none;
}

.activity-list .hobby-list-card {
  display: flex;
  flex: 1 1 100%;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  min-height: 230px;
  padding: clamp(18px, 2.6vw, 26px);
  border: 1px solid var(--soft-border);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.82);
  color: inherit;
  text-align: center;
}

.activity-list .hobby-list-card:hover,
.activity-list .hobby-list-card:focus-visible {
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.9);
  color: inherit;
}

.hobby-list-card h2 {
  margin: 0 0 12px;
  color: var(--heading);
}

.hobby-list-card p {
  margin: 0;
}

.activity-list .hobby-list-card .hobby-card-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 240px);
  min-height: 48px;
  margin-top: auto;
  padding: 12px 18px;
  border: 0;
  border-radius: 14px;
  background: var(--button);
  color: var(--button-text);
  font-weight: 800;
}

.app-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.app-badges span {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 8px 15px;
  border-radius: 999px;
  background: rgba(127, 157, 184, 0.18);
  color: var(--heading);
  font-weight: 800;
}

.inline-app-link {
  color: var(--heading);
  font-weight: 800;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 3px;
  text-underline-offset: 5px;
}

.inline-app-link:hover,
.inline-app-link:focus-visible {
  color: var(--nav-text);
  outline: none;
}

.store-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.store-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--button);
  color: var(--button-text);
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  transition: background 180ms ease, transform 180ms ease;
}

.store-link:hover,
.store-link:focus-visible {
  background: var(--nav-text);
  transform: translateY(-1px);
  outline: none;
}

.store-link.unavailable {
  background: rgba(78, 58, 90, 0.18);
  color: var(--nav-text);
  cursor: default;
}

.store-link.unavailable:hover,
.store-link.unavailable:focus-visible {
  background: rgba(78, 58, 90, 0.18);
  transform: none;
}

.site-footer {
  background: var(--header);
  color: var(--body);
  padding: 36px 0;
  padding-bottom: max(36px, env(safe-area-inset-bottom));
}

.footer-inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  gap: 28px;
  justify-items: center;
  text-align: center;
}

.podcast {
  display: grid;
  gap: 12px;
  justify-items: center;
}

.logo-placeholder {
  display: grid;
  place-items: center;
  width: 132px;
  height: 132px;
  border: 2px dashed var(--accent);
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.62);
  color: var(--nav-text);
  font-weight: 800;
}

.podcast-logo {
  width: min(260px, 80vw);
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 6px solid rgba(255, 255, 255, 0.7);
  border-radius: 28px;
  box-shadow: 0 16px 40px rgba(78, 58, 90, 0.16);
}

.podcast-title {
  margin: 0;
  color: var(--heading);
  font-size: clamp(1.45rem, 3.6vw, 2.2rem);
  line-height: 1.12;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

.podcast p {
  margin: 0;
  color: var(--heading);
  font-size: clamp(1rem, 2vw, 1.12rem);
  font-weight: 800;
  overflow-wrap: anywhere;
  text-wrap: pretty;
}

.podcast-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 8px 16px;
  border: 2px solid var(--heading);
  border-radius: 999px;
  color: var(--heading);
  font-weight: 800;
  font-size: clamp(0.9rem, 1.35vw, 1rem);
  line-height: 1.15;
  text-decoration: none;
  text-align: center;
  white-space: normal;
  overflow-wrap: anywhere;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.podcast-link:hover,
.podcast-link:focus-visible {
  background: var(--heading);
  color: var(--button-text);
  transform: translateY(-1px);
  outline: none;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  max-width: 100%;
  min-height: 46px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--button);
  color: var(--button-text);
  font-weight: 800;
  font-size: clamp(0.9rem, 1.35vw, 1rem);
  line-height: 1.15;
  text-decoration: none;
  text-align: center;
  white-space: normal;
  overflow-wrap: anywhere;
  transition: background 180ms ease, transform 180ms ease;
}

.social-links a:hover,
.social-links a:focus-visible {
  background: var(--nav-text);
  transform: translateY(-1px);
  outline: none;
}

.social-icon {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  font-size: 0.92rem;
  line-height: 1;
}

.disclaimer {
  max-width: 850px;
  margin: 0;
  font-size: 0.95rem;
}

@media (max-width: 900px) {
  .sections-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sections-grid > * {
    grid-column: auto;
  }

  .sections-grid > :last-child:nth-child(odd) {
    grid-column: 1 / -1;
    justify-self: center;
    width: min(100%, 420px);
  }

  .protein-food-grid,
  .resource-card-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 210px));
  }

  .affiliate-product-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 210px));
  }

  .game-collection-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .az-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nav-wrap {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 18px 0;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .header-search {
    width: min(100%, 400px);
    max-width: 400px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .site-header {
    position: static;
  }

  .nav-wrap {
    width: min(100% - 24px, 720px);
    gap: 14px;
    min-height: auto;
    padding: 16px 0;
  }

  .brand {
    width: 100%;
    min-width: 0;
  }

  .nav-links {
    flex-wrap: nowrap;
    justify-content: flex-start;
    width: 100%;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 8px;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
  }

  .nav-links li {
    flex: 0 0 auto;
  }

  .nav-links a {
    white-space: nowrap;
  }

  .site-search {
    width: 100%;
  }

  .section {
    padding: 40px 0;
    margin-block: 28px;
    scroll-margin-top: 0;
  }

  .hero {
    padding-top: 28px;
  }

  .section-inner {
    width: min(100% - 24px, 720px);
  }

  .hero-grid {
    gap: 24px;
  }

  .media-panel {
    padding: 14px;
  }

  .video-shell {
    border-width: 4px;
  }

  .portrait {
    width: min(280px, 82%);
  }

  .quote span {
    white-space: normal;
  }

  .protein-food-grid,
  .resource-card-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 210px));
    justify-content: center;
  }

  .affiliate-product-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 210px));
    justify-content: center;
  }

  .game-collection-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .game-collection-grid > :last-child:nth-child(odd) {
    grid-column: 1 / -1;
    justify-self: center;
    width: min(100%, 360px);
  }

  .social-links {
    width: 100%;
  }

  .hobby-category-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .hobbies-page .section {
    padding-block: 34px;
    margin-block: 26px;
  }

  .section:has(.resource-page) {
    padding-block: 34px;
    margin-block: 24px;
  }

  .resource-page.content-block {
    padding: 17px;
    border-radius: 14px;
  }

  .resource-page > .resource-section {
    margin-top: 22px;
    padding-top: 18px;
  }
}

@media (max-width: 560px) {
  .sections-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .sections-grid > *,
  .sections-grid > :last-child:nth-child(odd) {
    grid-column: auto;
    width: 100%;
  }

  .section-card {
    min-height: auto;
    padding: 15px;
  }

  .hobbies-page .sections-grid {
    gap: 13px;
    margin-top: 20px;
  }

  .hobbies-page .section-card {
    padding: 13px;
  }

  .hobby-category {
    padding-block: 12px;
  }

  .resource-page .sections-grid {
    grid-template-columns: 1fr;
    gap: 9px;
    margin-top: 14px;
  }

  .resource-page .section-card {
    padding: 10px 11px;
  }

  .resource-page .resource-section > h2 {
    font-size: clamp(1.25rem, 6vw, 1.6rem);
  }

  .resource-page .resource-table {
    min-width: 640px;
  }

  .section-card h2,
  .section-card h3 {
    font-size: clamp(1.12rem, 6vw, 1.42rem);
  }

  .section-card .button-link {
    margin-top: 18px;
  }

  .protein-food-grid,
  .resource-card-grid {
    grid-template-columns: 1fr;
  }

  .affiliate-product-grid {
    grid-template-columns: 1fr;
  }

  .game-collection-grid {
    grid-template-columns: 1fr;
  }

  .game-collection-grid > :last-child:nth-child(odd) {
    grid-column: auto;
    width: 100%;
  }

  .protein-food-card,
  .resource-card {
    min-height: auto;
  }

  .az-list {
    grid-template-columns: 1fr;
  }

  .site-search {
    align-items: stretch;
    flex-direction: column;
  }

  .site-search button {
    width: 100%;
  }

  body {
    font-size: 16px;
  }

  .section {
    padding: 32px 0;
    margin-block: 22px;
  }

  .nav-links {
    gap: 6px;
  }

  .nav-links a {
    min-height: 38px;
    padding: 7px 10px;
    font-size: 0.86rem;
  }

  .hero-copy,
  .content-block {
    padding: 22px;
  }

  .hero-copy,
  .content-block,
  .media-panel {
    border-radius: 22px;
  }

  .quote {
    padding: 18px;
  }

  .wellness-wheel {
    border-width: 4px;
    border-radius: 18px;
  }

  .wheel-hotspot {
    width: 18%;
  }

  .wheel-hotspot:hover,
  .wheel-hotspot:focus-visible,
  .wheel-hotspot.active {
    transform: translate(-50%, -50%) scale(1.04);
  }

  .wheel-tooltip {
    left: 6%;
    top: auto;
    bottom: auto;
    width: min(150px, 72vw);
    padding: 8px;
  }

  .wheel-tooltip h2 {
    font-size: 0.82rem;
  }

  .wheel-tooltip p {
    font-size: 0.72rem;
  }

  .ecosystem-hotspot {
    width: 24%;
    min-height: 13%;
    padding: 5px;
    border-radius: 12px;
    font-size: 0.58rem;
  }

  .ecosystem-hotspot:hover,
  .ecosystem-hotspot:focus-visible {
    transform: translate(-50%, -50%) scale(1.03);
  }

  .ecosystem-wheel {
    width: min(100%, 430px);
  }

  .hotspot-preview,
  .hotspot-topics,
  .hotspot-action {
    display: none;
  }

  .button-link,
  .social-links a {
    width: 100%;
  }

  .about-photo {
    float: none;
    display: block;
    margin: 18px auto 8px;
    width: min(170px, 70vw);
  }

  .app-badges span {
    width: 100%;
    justify-content: center;
  }

  .store-link {
    width: 100%;
  }

  .activity-list span,
  .activity-list a {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .social-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .social-links a {
    padding-left: 12px;
    padding-right: 12px;
  }
}

@media (max-width: 390px) {
  .nav-wrap,
  .section-inner,
  .footer-inner {
    width: min(100% - 18px, 360px);
  }

  .brand {
    font-size: 1rem;
  }

  .site-logo {
    width: 48px;
    height: 48px;
  }

  .nav-links a {
    min-height: 36px;
    padding: 6px 9px;
    font-size: 0.82rem;
  }

  h1 {
    font-size: clamp(2rem, 12vw, 2.75rem);
  }

  h2 {
    font-size: clamp(1.55rem, 9vw, 2.1rem);
  }

  .hero-copy,
  .content-block,
  .media-panel {
    border-radius: 18px;
  }

  .hero-copy,
  .content-block {
    padding: 18px;
  }

  .quote {
    border-left-width: 6px;
    border-radius: 16px;
    font-size: 1rem;
    padding: 15px;
  }

  .logo-placeholder {
    width: 112px;
    height: 112px;
    border-radius: 28px;
  }

  .social-links {
    grid-template-columns: 1fr;
  }
}

/* Responsive stability: keep shared layouts fluid on narrow screens. */
html,
body {
  width: 100%;
  max-width: 100%;
}

picture,
svg,
canvas,
iframe {
  max-width: 100%;
}

picture,
svg,
canvas {
  height: auto;
}

iframe {
  width: 100%;
}

button,
input,
select,
textarea,
table,
pre,
code {
  max-width: 100%;
}

button,
input,
select,
textarea,
a,
th,
td,
li {
  overflow-wrap: anywhere;
  word-break: normal;
}

pre,
code {
  overflow-x: auto;
  white-space: pre-wrap;
}

.nav-wrap,
.section-inner,
.footer-inner,
.hero-copy,
.content-block,
.media-panel,
.resource-page,
.protein-page,
.sections-grid,
.resource-table-wrap {
  max-width: 100%;
}

.hero-copy,
.content-block,
.media-panel,
.section-card,
.resource-card,
.protein-food-card,
.affiliate-product-card {
  width: 100%;
}

.sections-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.resource-page .sections-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
}

.resource-page .sections-grid {
  max-width: 1040px;
}

.protein-food-grid,
.resource-card-grid,
.affiliate-product-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr));
  width: 100%;
}

.sections-grid > *,
.protein-food-grid > *,
.resource-card-grid > *,
.affiliate-product-grid > *,
.group-preview-grid > *,
.hobby-category-grid > * {
  min-width: 0;
  max-width: 100%;
}

.resource-table-wrap {
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  -webkit-overflow-scrolling: touch;
}

.feature-list,
.preview-form-grid,
.group-preview-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
}

.community-page {
  gap: clamp(28px, 6vw, 72px);
}

.preview-form-grid {
  gap: clamp(20px, 4vw, 40px);
}

@media (max-width: 900px) {
  .sections-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .nav-wrap,
  .section-inner,
  .footer-inner {
    width: calc(100% - 24px);
  }

  .nav-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(112px, 1fr));
    width: 100%;
    overflow-x: visible;
    padding-bottom: 0;
  }

  .nav-links li {
    display: flex;
    min-width: 0;
  }

  .nav-links a {
    width: 100%;
    min-height: 44px;
    white-space: normal;
  }

  .protein-food-grid,
  .resource-card-grid,
  .affiliate-product-grid,
  .group-preview-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr));
  }

  .button-link,
  .activity-list a,
  .podcast-link,
  .social-links a,
  .store-link,
  button,
  input,
  select,
  textarea {
    min-height: 44px;
  }
}

@media (max-width: 560px) {
  .nav-wrap,
  .section-inner,
  .footer-inner {
    width: calc(100% - 20px);
  }

  .nav-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sections-grid,
  .resource-page .sections-grid,
  .protein-food-grid,
  .resource-card-grid,
  .affiliate-product-grid,
  .group-preview-grid,
  .game-collection-grid,
  .az-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-copy,
  .content-block {
    padding: 18px;
  }

  .resource-page.content-block {
    padding: 15px;
  }

  .section-card,
  .resource-page .section-card,
  .protein-food-card,
  .resource-card,
  .affiliate-product-body {
    padding: 12px;
  }

  .resource-table {
    font-size: 0.88rem;
  }

  .resource-table th,
  .resource-table td,
  .resource-page .resource-table th,
  .resource-page .resource-table td {
    padding: 8px 9px;
  }
}

@media (max-width: 390px) {
  .nav-wrap,
  .section-inner,
  .footer-inner {
    width: calc(100% - 16px);
  }

  .nav-links {
    grid-template-columns: 1fr;
  }

  .hero-copy,
  .content-block,
  .resource-page.content-block {
    padding: 14px;
  }
}

/* Calm grouped treatment for Personal Growth and Emotional Wellness details. */
.calm-detail-page main .content-block {
  max-width: 1080px;
}

.calm-detail-page main .content-block > h1 + p,
.calm-detail-page main .content-block > h1 + p + p {
  max-width: 800px;
}

.calm-detail-page .resource-section {
  margin-top: clamp(32px, 5vw, 52px);
  padding-top: clamp(24px, 3.5vw, 36px);
}

.calm-detail-page .resource-section > h2 {
  margin-bottom: 10px;
}

.calm-detail-page .resource-section > h3 {
  margin-top: 24px;
  margin-bottom: 6px;
  color: var(--heading);
  font-size: clamp(1.05rem, 1.7vw, 1.3rem);
}

.calm-detail-page .resource-section > h3 + p {
  max-width: 780px;
  margin-top: 0;
  padding: 10px 14px;
  border-left: 3px solid var(--accent-purple-soft);
  background: rgba(242, 236, 250, 0.62);
}

.calm-detail-page .sections-grid,
.calm-detail-page.resource-page .sections-grid,
.calm-detail-page .resource-page .sections-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 18px;
  margin-top: 18px;
}

.calm-detail-page .sections-grid .content-panel,
.calm-detail-page .resource-card-grid .resource-card {
  min-height: 0;
  padding: 16px 18px;
  border: 0;
  border-left: 4px solid var(--header);
  border-radius: 4px;
  background: rgba(248, 246, 250, 0.9);
  box-shadow: none;
}

.calm-detail-page .sections-grid .content-panel h2,
.calm-detail-page .sections-grid .content-panel h3,
.calm-detail-page .resource-card-grid .resource-card h4 {
  margin-bottom: 7px;
  color: var(--nav-text);
  font-size: clamp(1.02rem, 1.5vw, 1.25rem);
  line-height: 1.25;
}

.calm-detail-page .sections-grid .content-panel p,
.calm-detail-page .resource-card-grid .resource-card p {
  margin: 0;
  line-height: 1.58;
}

.calm-detail-page .resource-card-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr));
  gap: 12px;
}

.calm-detail-page .hobby-category-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.calm-detail-page .hobby-category {
  padding: 18px;
  border: 1px solid rgba(78, 58, 90, 0.1);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: none;
}

.calm-detail-page .activity-list {
  gap: 7px;
}

.calm-detail-page .activity-list span,
.calm-detail-page .activity-list a {
  padding: 7px 9px;
  border: 1px solid rgba(78, 58, 90, 0.08);
  box-shadow: none;
}

.calm-detail-page .gratitude-prompts-grid .content-panel,
.calm-detail-page .balance-check-grid .content-panel {
  border-left-color: var(--accent-purple-soft);
  background: var(--accent-purple-light);
}

.calm-detail-page .gratitude-prompts-grid ol,
.calm-detail-page .balance-check-grid ol {
  margin-block: 0;
  padding-left: 22px;
}

@media (max-width: 768px) {
  .calm-detail-page .sections-grid,
  .calm-detail-page.resource-page .sections-grid,
  .calm-detail-page .resource-page .sections-grid,
  .calm-detail-page .hobby-category-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .calm-detail-page .sections-grid > *,
  .calm-detail-page .hobby-category-grid > * {
    width: 100%;
    justify-self: stretch;
  }
}

@media (max-width: 430px) {
  .calm-detail-page .resource-section {
    margin-top: 28px;
    padding-top: 20px;
  }

  .calm-detail-page .sections-grid .content-panel,
  .calm-detail-page .resource-card-grid .resource-card,
  .calm-detail-page .hobby-category {
    padding: 14px;
  }

  .calm-detail-page .activity-list {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Curated learning pages: clear guidance without directory-style overload. */
.curated-guide-page {
  max-width: 1080px;
}

.curated-guide-page .page-intro {
  max-width: 790px;
  margin-bottom: clamp(34px, 5vw, 52px);
  font-size: clamp(1rem, 1.35vw, 1.12rem);
  line-height: 1.75;
}

.curated-guide-page .editorial-intro {
  max-width: 820px;
  margin-top: clamp(28px, 4vw, 42px);
  padding: clamp(22px, 3vw, 30px);
  border-left: 5px solid var(--header);
  background: rgba(183, 228, 215, 0.18);
}

.curated-guide-page .editorial-intro h2 {
  margin-bottom: 10px;
  color: var(--heading);
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
}

.curated-guide-page .editorial-intro p {
  margin: 0;
  line-height: 1.72;
}

.curated-category {
  margin-top: clamp(42px, 6vw, 66px);
  padding-top: clamp(28px, 4vw, 38px);
  border-top: 1px solid rgba(78, 58, 90, 0.14);
}

.curated-category-intro {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  max-width: 850px;
}

.curated-category-intro:has(.section-number) .section-number {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin: 0;
  border-radius: 50%;
  background: var(--header);
  color: var(--nav-text);
  font-weight: 800;
  line-height: 1;
}

.curated-category-intro h2 {
  margin: 0 0 8px;
  color: var(--nav-text);
  font-size: clamp(1.45rem, 2.8vw, 2.1rem);
}

.curated-category-intro p {
  margin: 0;
  line-height: 1.65;
}

.curated-topic-grid,
.curated-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 20px;
  margin-top: 24px;
}

.curated-feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(28px, 4vw, 42px);
}

.curated-topic-grid article,
.curated-feature-grid article {
  min-width: 0;
  padding: 19px 20px;
  border: 1px solid rgba(78, 58, 90, 0.11);
  border-top: 4px solid var(--header);
  border-radius: 6px;
  background: #ffffff;
  box-shadow: 0 5px 16px rgba(78, 58, 90, 0.06);
}

.curated-topic-grid h3,
.curated-feature-grid h2 {
  margin: 0 0 8px;
  color: var(--nav-text);
  font-size: clamp(1.08rem, 1.6vw, 1.34rem);
  line-height: 1.25;
}

.curated-topic-grid p,
.curated-feature-grid p {
  margin: 0;
  line-height: 1.58;
}

.curated-feature-grid ul {
  margin: 14px 0 0;
  padding-left: 20px;
}

.curated-feature-grid li + li {
  margin-top: 6px;
}

.gentle-next-step {
  margin-top: clamp(38px, 5vw, 56px);
  padding: clamp(22px, 3vw, 30px);
  border-radius: 6px;
  background: var(--accent-purple-light);
}

.gentle-next-step h2 {
  margin: 0 0 8px;
  color: var(--heading);
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
}

.gentle-next-step p {
  max-width: 820px;
  margin: 0;
}

.curated-guide-page .hobby-category-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 24px;
}

.curated-guide-page .hobby-category {
  min-width: 0;
  padding: 18px;
}

.curated-guide-page .activity-list {
  gap: 7px;
}

.prompt-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.prompt-grid ol {
  margin: 0;
  padding: 20px 20px 20px 42px;
  border-left: 4px solid var(--accent-purple-soft);
  background: var(--accent-purple-light);
}

.prompt-grid li + li {
  margin-top: 8px;
}

@media (max-width: 900px) {
  .curated-feature-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 768px) {
  .curated-topic-grid,
  .curated-guide-page .hobby-category-grid,
  .prompt-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .curated-category-intro {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .curated-topic-grid article,
  .curated-feature-grid article,
  .curated-guide-page .hobby-category {
    width: 100%;
  }
}

@media (max-width: 430px) {
  .curated-category {
    margin-top: 34px;
    padding-top: 24px;
  }

  .curated-topic-grid article,
  .curated-feature-grid article,
  .curated-guide-page .hobby-category,
  .curated-guide-page .editorial-intro,
  .gentle-next-step {
    padding: 16px;
  }

  .prompt-grid ol {
    padding: 16px 14px 16px 36px;
  }
}

/* Editorial layout for educational pages beyond the ecosystem map. */
.educational-page {
  background: linear-gradient(180deg, #f8f6fa 0, var(--background) 420px);
}

.educational-page main.section {
  padding-block: clamp(34px, 5vw, 58px);
}

.educational-page main.section > .section-inner,
.educational-page main > .section > .section-inner {
  width: min(1120px, calc(100% - 32px));
}

.educational-page main .content-block {
  max-width: 1120px;
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid rgba(78, 58, 90, 0.12);
  border-top: 5px solid var(--heading);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 32px rgba(78, 58, 90, 0.08);
}

.educational-page .eyebrow {
  margin-bottom: 8px;
  color: var(--accent-purple);
  letter-spacing: 0.06em;
}

.educational-page .breadcrumbs {
  margin-bottom: clamp(18px, 2.5vw, 28px);
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(78, 58, 90, 0.12);
}

.educational-page h1 {
  max-width: 860px;
  color: var(--heading);
  font-size: clamp(2.15rem, 5vw, 3.65rem);
  line-height: 1.06;
}

.educational-page h1 + p,
.educational-page h1 + .quote,
.educational-page .breadcrumbs + h1 + p {
  max-width: 800px;
  font-size: clamp(1rem, 1.45vw, 1.13rem);
  line-height: 1.7;
}

.educational-page .quote,
.educational-page .resource-note,
.educational-page .movement-summary,
.educational-page .recovery-summary,
.educational-page .affiliate-disclaimer,
.educational-page .form-disclaimer {
  max-width: 900px;
  border-left-width: 5px;
  border-radius: 6px;
  box-shadow: none;
}

.educational-page .resource-section,
.educational-page main .content-block > section:not(.sections-grid) {
  margin-top: clamp(34px, 5vw, 58px);
  padding-top: clamp(26px, 3.5vw, 38px);
  border-top: 1px solid rgba(78, 58, 90, 0.14);
}

.educational-page .resource-section:first-of-type,
.educational-page main .content-block > section:not(.sections-grid):first-of-type {
  margin-top: clamp(28px, 4vw, 44px);
}

.educational-page .resource-section > h2,
.educational-page main .content-block > section > h2 {
  position: relative;
  max-width: 850px;
  padding: 0 0 11px;
  border-bottom: 3px solid var(--header);
  color: var(--nav-text);
  font-size: clamp(1.45rem, 2.7vw, 2.15rem);
  line-height: 1.16;
}

.educational-page .resource-section > h3,
.educational-page main .content-block > section > h3 {
  margin-top: clamp(24px, 3vw, 34px);
  color: var(--heading);
  font-size: clamp(1.14rem, 1.8vw, 1.42rem);
}

.educational-page .resource-section > p,
.educational-page main .content-block > section > p {
  max-width: 850px;
}

.educational-page .sections-grid,
.educational-page .resource-page .sections-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 22px);
  max-width: 100%;
  margin-top: 24px;
}

.educational-page .sections-grid > *,
.educational-page .sections-grid > :last-child:nth-child(3n + 1),
.educational-page .sections-grid > :last-child:nth-child(3n + 2),
.educational-page .sections-grid > :last-child:nth-child(odd) {
  grid-column: auto;
  justify-self: stretch;
  width: 100%;
}

.educational-page .section-card,
.educational-page .resource-page .section-card,
.educational-page .content-panel:has(.button-link) {
  align-items: flex-start;
  justify-content: flex-start;
  min-height: 178px;
  padding: clamp(18px, 2.2vw, 24px);
  border: 1px solid rgba(78, 58, 90, 0.14);
  border-top: 5px solid var(--header);
  border-left-width: 1px;
  border-radius: 6px;
  background: #ffffff;
  box-shadow: 0 6px 18px rgba(78, 58, 90, 0.07);
  text-align: left;
}

.educational-page .section-card h2,
.educational-page .section-card h3,
.educational-page .content-panel:has(.button-link) h2,
.educational-page .content-panel:has(.button-link) h3 {
  margin-bottom: 10px;
  color: var(--nav-text);
  font-size: clamp(1.12rem, 1.65vw, 1.42rem);
  text-align: left;
}

.educational-page .section-card p,
.educational-page .content-panel:has(.button-link) p {
  color: var(--body);
  font-size: 0.98rem;
  line-height: 1.55;
  text-align: left;
}

.educational-page .card-link:hover,
.educational-page .card-link:focus-visible,
.educational-page .content-panel:has(.button-link):hover,
.educational-page .content-panel:has(.button-link):focus-within {
  border-color: var(--accent-purple-soft);
  border-top-color: var(--accent-purple);
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(107, 78, 160, 0.12);
  transform: translateY(-2px);
}

.educational-page .content-panel:not(:has(.button-link)) {
  padding: clamp(16px, 2vw, 22px);
  border: 0;
  border-left: 4px solid var(--accent-purple-soft);
  border-radius: 4px;
  background: var(--accent-purple-light);
}

.educational-page .content-panel:not(:has(.button-link)) h2,
.educational-page .content-panel:not(:has(.button-link)) h3,
.educational-page .content-panel:not(:has(.button-link)) h4 {
  color: var(--nav-text);
}

.educational-page .button-link {
  min-height: 44px;
  margin-top: auto;
  border-radius: 4px;
  padding: 9px 16px;
}

.educational-page .az-list,
.educational-page .hobby-category-grid,
.educational-page .feature-list,
.educational-page .group-preview-grid {
  gap: clamp(16px, 2vw, 22px);
}

.educational-page .az-group,
.educational-page .hobby-category,
.educational-page .group-card,
.educational-page .feature-list li {
  border-radius: 5px;
  background: #ffffff;
  box-shadow: 0 4px 14px rgba(78, 58, 90, 0.06);
}

.educational-page .activity-list span,
.educational-page .activity-list a {
  border-radius: 4px;
  background: #ffffff;
}

.educational-page .content-divider {
  margin-block: clamp(30px, 5vw, 52px);
  border-top-width: 1px;
}

.educational-page .site-footer {
  margin-top: 0;
}

@media (max-width: 960px) {
  .educational-page .sections-grid,
  .educational-page .resource-page .sections-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .educational-page main.section {
    padding-block: 22px;
  }

  .educational-page main.section > .section-inner,
  .educational-page main > .section > .section-inner {
    width: calc(100% - 20px);
  }

  .educational-page main .content-block {
    padding: 20px 16px;
    border-top-width: 4px;
  }

  .educational-page h1 {
    font-size: clamp(1.9rem, 10vw, 2.65rem);
  }

  .educational-page .resource-section,
  .educational-page main .content-block > section:not(.sections-grid) {
    margin-top: 32px;
    padding-top: 24px;
  }

  .educational-page .sections-grid,
  .educational-page .resource-page .sections-grid,
  .educational-page .az-list,
  .educational-page .hobby-category-grid,
  .educational-page .feature-list,
  .educational-page .group-preview-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .educational-page .section-card,
  .educational-page .resource-page .section-card,
  .educational-page .content-panel:has(.button-link) {
    min-height: 0;
    padding: 18px;
  }

  .educational-page .content-panel:not(:has(.button-link)) {
    padding: 16px;
  }
}

/* Focused overview pages for the supporting wellness systems. */
.system-overview-page .page-intro {
  max-width: 780px;
  margin-bottom: clamp(28px, 4vw, 44px);
  color: var(--body);
  font-size: clamp(1.02rem, 1.4vw, 1.14rem);
  line-height: 1.75;
}

.system-overview-page .overview-topic-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.4vw, 28px);
}

.system-overview-page .overview-topic {
  padding: clamp(22px, 2.7vw, 30px);
  border-top: 5px solid var(--header);
  border-radius: 6px;
  background: #ffffff;
  box-shadow: 0 7px 20px rgba(78, 58, 90, 0.08);
}

.system-overview-page .overview-topic h2 {
  margin-bottom: 14px;
  color: var(--nav-text);
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  line-height: 1.2;
}

.system-overview-page .overview-topic p {
  margin: 0;
  color: var(--body);
  line-height: 1.7;
}

.system-overview-page .explore-systems {
  margin-top: clamp(42px, 6vw, 68px);
  padding: clamp(24px, 3.5vw, 34px);
  border: 1px solid rgba(107, 78, 160, 0.14);
  border-radius: 6px;
  background: var(--accent-purple-light);
}

.system-overview-page .explore-systems h2 {
  margin-bottom: 8px;
  color: var(--heading);
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
}

.system-overview-page .explore-system-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.system-overview-page .explore-system-links a {
  min-height: 44px;
  padding: 10px 15px;
  border: 1px solid rgba(107, 78, 160, 0.24);
  border-radius: 4px;
  background: #ffffff;
  color: var(--accent-purple);
  font-weight: 800;
  text-decoration: none;
}

.system-overview-page .explore-system-links a:hover,
.system-overview-page .explore-system-links a:focus-visible {
  border-color: var(--accent-purple);
  background: var(--header);
  color: var(--nav-text);
}

@media (max-width: 900px) {
  .system-overview-page .overview-topic-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .system-overview-page .overview-topic,
  .system-overview-page .explore-systems {
    padding: 18px;
  }

  .system-overview-page .explore-system-links {
    display: grid;
    grid-template-columns: 1fr;
  }

  .system-overview-page .explore-system-links a {
    width: 100%;
    text-align: center;
  }
}

/* Final responsive safeguards shared by every page. */
html {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body,
header,
main,
footer,
section,
nav {
  max-width: 100%;
}

body {
  min-width: 0;
}

main,
.site-header,
.site-footer {
  width: 100%;
}

p,
h1,
h2,
h3,
h4,
a,
button,
label,
li,
td,
th {
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.nav-wrap,
.section-inner,
.footer-inner {
  width: min(100% - 32px, 1180px);
  max-width: 100%;
  margin-inline: auto;
}

.section-inner {
  width: min(100% - 32px, 1120px);
}

.ecosystem-page .section-inner {
  width: min(100% - 24px, 1540px);
}

.hero-copy,
.content-block,
.media-panel,
.section-card,
.content-panel,
.resource-card,
.protein-food-card,
.affiliate-product-card,
.overview-topic,
.explore-systems {
  min-width: 0;
  max-width: 100%;
}

.sections-grid,
.resource-page .sections-grid,
.overview-topic-grid {
  width: 100%;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.protein-food-grid,
.resource-card-grid,
.affiliate-product-grid,
.feature-list,
.preview-form-grid,
.group-preview-grid,
.hobby-category-grid,
.az-list {
  width: 100%;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
}

.sections-grid > *,
.resource-page .sections-grid > *,
.overview-topic-grid > *,
.protein-food-grid > *,
.resource-card-grid > *,
.affiliate-product-grid > *,
.feature-list > *,
.preview-form-grid > *,
.group-preview-grid > *,
.hobby-category-grid > *,
.az-list > * {
  min-width: 0;
  max-width: 100%;
}

.button-link,
.podcast-link,
.store-link,
button,
input,
select,
textarea {
  max-width: 100%;
}

.resource-table-wrap {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  -webkit-overflow-scrolling: touch;
}

.wellness-wheel {
  width: min(100%, 1260px);
  max-width: 100%;
}

.wellness-wheel-image {
  width: 100%;
  max-width: 100%;
  height: auto;
}

@media (max-width: 1024px) {
  .nav-wrap {
    gap: 16px;
  }

  .sections-grid,
  .resource-page .sections-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .system-overview-page .overview-topic-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .site-header {
    position: static;
  }

  .nav-wrap {
    width: calc(100% - 24px);
    align-items: stretch;
    gap: 14px;
  }

  .brand {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  .brand span {
    min-width: 0;
    overflow-wrap: break-word;
  }

  .nav-links {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
    gap: 8px;
    overflow: visible;
    padding: 0;
  }

  .nav-links li,
  .nav-links a {
    width: 100%;
    min-width: 0;
  }

  .nav-links a {
    min-height: 44px;
    white-space: normal;
  }

  .header-search,
  .site-search {
    width: 100%;
    max-width: 100%;
  }

  .section-inner,
  .footer-inner,
  .ecosystem-page .section-inner {
    width: calc(100% - 24px);
  }

  .section {
    padding-block: 32px;
    margin-block: 20px;
  }

  .sections-grid,
  .resource-page .sections-grid,
  .system-overview-page .overview-topic-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .sections-grid > *,
  .sections-grid > :last-child:nth-child(odd),
  .resource-page .sections-grid > *,
  .system-overview-page .overview-topic-grid > * {
    grid-column: auto;
    justify-self: stretch;
    width: 100%;
  }

  .educational-page main .content-block {
    width: 100%;
    padding: clamp(18px, 4vw, 26px);
  }

  .educational-page h1 {
    font-size: clamp(1.9rem, 8vw, 2.75rem);
  }

  .wellness-wheel {
    margin-top: 26px;
    border-width: 5px;
    border-radius: 18px;
  }

  .wheel-tooltip {
    width: min(140px, calc(100% - 16px));
    max-width: calc(100% - 16px);
  }
}

@media (max-width: 430px) {
  .nav-wrap,
  .section-inner,
  .footer-inner,
  .ecosystem-page .section-inner {
    width: calc(100% - 18px);
  }

  .site-logo {
    width: 50px;
    height: 50px;
  }

  .nav-links {
    grid-template-columns: 1fr;
  }

  .site-search {
    flex-direction: column;
    align-items: stretch;
  }

  .site-search button,
  .button-link,
  .podcast-link,
  .store-link {
    width: 100%;
    min-height: 44px;
  }

  .hero-copy,
  .content-block,
  .media-panel,
  .educational-page main .content-block {
    padding: 16px;
    border-radius: 16px;
  }

  .section-card,
  .content-panel,
  .resource-card,
  .protein-food-card,
  .affiliate-product-card,
  .system-overview-page .overview-topic,
  .system-overview-page .explore-systems {
    padding: 16px;
  }

  h1,
  .educational-page h1 {
    font-size: clamp(1.8rem, 10vw, 2.4rem);
    line-height: 1.1;
  }

  h2 {
    font-size: clamp(1.35rem, 7vw, 1.8rem);
  }

  .wellness-wheel {
    width: 100%;
    margin-top: 20px;
    border-width: 3px;
    border-radius: 12px;
  }

  .wheel-hotspot {
    width: 19%;
    min-width: 44px;
    min-height: 44px;
  }

  .wheel-tooltip {
    width: min(132px, calc(100% - 12px));
    max-width: calc(100% - 12px);
    padding: 7px;
  }

  .wheel-tooltip h2 {
    font-size: 0.78rem;
  }

  .wheel-tooltip p {
    font-size: 0.68rem;
  }

  .wheel-tooltip span {
    font-size: 0.62rem;
  }
}

@media (max-width: 390px) {
  .nav-wrap,
  .section-inner,
  .footer-inner,
  .ecosystem-page .section-inner {
    width: calc(100% - 14px);
  }

  .crisis-link {
    padding-inline: 10px;
  }

  .brand {
    gap: 9px;
    font-size: 0.96rem;
  }

  .hero-copy,
  .content-block,
  .media-panel,
  .educational-page main .content-block {
    padding: 14px;
  }
}
