/* Belly Balance - designmockup v2 (Lifesum-inspirerad)
   Sans-serif, större typografi, grönt + vitt, kräm sparsamt */

:root {
  --green: #447e7e;
  --green-dark: #356565;
  --green-darker: #234747;
  --green-light: #689898;
  --green-muted: #e8f0f0;
  --orange: #f6a884;
  --cream: #fdede4;
  --white: #ffffff;
  --text: #1a2e2e;
  --text-muted: #4a6565;
  --border: rgba(68, 126, 126, 0.18);
  --focus: #234747;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 8px 40px rgba(26, 46, 46, 0.08);
  --max: 1180px;
  --header-h: 76px;
  /* Sticky sub-bars (recipe toolbar etc.): header inner + border-bottom. Admin bar added below. */
  --header-sticky-offset: calc(var(--header-h) + 1px);
  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --font-head: 'Teachers', 'Inter', system-ui, -apple-system, sans-serif;
  /* Aliases for inner templates */
  --green-text: var(--green-dark);
  --green-text-strong: var(--green-darker);
  --border-subtle: var(--border);
  --shadow-soft: var(--shadow);
  --max-article: 720px;
  --font-body: var(--font);
  --font-heading: var(--font-head);
  --font-button: var(--font-head);
  --orange-pastel: #f9d0bb;
}

*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
  overflow-x: clip;
  max-width: 100%;
}
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.125rem;
  line-height: 1.55;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  max-width: 100%;
}

.wp-site-blocks {
  overflow-x: clip;
  max-width: 100%;
}

img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--green-dark); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--green-darker); }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  top: -999px;
  left: 1rem;
  z-index: 200;
  padding: 0.75rem 1.25rem;
  background: var(--green);
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
  border-radius: var(--radius-sm);
}
.skip-link:focus {
  position: fixed;
  top: 1rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

/* Typography - Teachers for headings, Inter for body */
h1, h2, h3, h4, h5, h6,
.wp-block-heading,
.section-heading {
  font-family: var(--font-head);
  font-weight: 700;
  font-style: normal;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 0 0 1rem;
}
h1, .wp-block-heading.h1 { font-size: clamp(2.5rem, 6.5vw, 4.25rem); }
h2 { font-size: clamp(2rem, 4.5vw, 3rem); }
h3 { font-size: clamp(1.375rem, 2.5vw, 1.75rem); }

.eyebrow {
  display: block;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 1rem;
}
.eyebrow--light { color: rgba(255, 255, 255, 0.75); }

.lead {
  font-size: clamp(1.125rem, 2.2vw, 1.375rem);
  line-height: 1.5;
  color: var(--text-muted);
  max-width: 42ch;
}
.lead--center { margin-inline: auto; }

/* Buttons - Teachers (same as headings) */
.btn,
button.button,
a.button,
input[type="submit"],
input[type="button"],
.wp-element-button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
  font-family: var(--font-button);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 1.75rem;
  border-radius: 999px;
  font-family: var(--font-button);
  font-size: 1.0625rem;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, color 0.2s;
  min-height: 52px;
}
.btn:active { transform: scale(0.98); }
.btn-primary {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}
.btn-primary:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
  color: var(--white);
}
.btn-outline {
  background: transparent;
  color: var(--green-dark);
  border-color: var(--green-dark);
}
.btn-outline:hover {
  background: var(--green-muted);
  color: var(--green-darker);
}
.btn-on-dark {
  background: var(--white);
  color: var(--green-darker);
  border-color: var(--white);
}
.btn-on-dark:hover {
  background: var(--green-muted);
  color: var(--green-darker);
}
.btn-sm { padding: 0.625rem 1.25rem; font-size: 0.9375rem; min-height: 44px; }

/* Slow right-arrow nudge after CTA label (hub banner, feature showcase, …) */
.btn--arrow {
  gap: 0.45rem;
}
.btn__arrow {
  display: inline-block;
  font-weight: 700;
  line-height: 1;
  transform: translateY(0.12em);
  animation: btn-arrow-nudge 1.8s ease-in-out infinite;
}
@keyframes btn-arrow-nudge {
  0%,
  100% { transform: translateY(0.12em) translateX(0); }
  50% { transform: translateY(0.12em) translateX(0.35rem); }
}
@media (prefers-reduced-motion: reduce) {
  .btn__arrow { animation: none; }
}

.store-badges { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }
.store-badges a {
  display: block;
  line-height: 0;
  height: 48px;
  width: 148px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: transform 0.15s ease;
}
.store-badges a:hover { transform: translateY(-2px); }
.store-badges img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
}

/* Header - white, clean */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border);
  /* Blur on ::before so backdrop-filter does not become a containing/
     hit-testing trap for sticky children (Safari). */
  isolation: isolate;
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  pointer-events: none;
}

/*
 * FSE wraps the header in .wp-block-template-part (only as tall as the header).
 * That short box breaks position:sticky on .site-header. display:contents removes
 * the wrapper from the box tree so sticky sticks to the page scrollport instead.
 * Do not make the wrapper itself sticky - it pulls the skip-link into view and
 * leaves a gap above the bar on mobile (esp. with admin-bar offsets).
 */
.wp-block-template-part:has(.site-header) {
  display: contents;
}

.admin-bar .site-header {
  top: var(--wp-admin--admin-bar--height, 32px);
}

.admin-bar {
  --header-sticky-offset: calc(var(--header-h) + 1px + var(--wp-admin--admin-bar--height, 32px));
}

@media screen and (max-width: 782px) {
  .admin-bar .site-header {
    top: var(--wp-admin--admin-bar--height, 46px);
  }

  .admin-bar {
    --header-sticky-offset: calc(var(--header-h) + 1px + var(--wp-admin--admin-bar--height, 46px));
  }
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 0.75rem;
  min-width: 0;
  max-width: 100%;
  position: relative;
}
.logo {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  /* Grow created a ~450px invisible hit zone between mark and nav;
     dropdowns / bridge could steal clicks intermittently (esp. Safari). */
  flex: 0 1 auto;
  max-width: calc(100% - 8.5rem); /* plats för cart + språk + meny */
  position: relative;
  z-index: 2;
}
.logo img {
  height: 31px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}
.header-inner > nav {
  flex: 0 1 auto;
  min-width: 0;
  position: relative;
  z-index: 1;
}
.nav-desktop {
  display: none;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-desktop > li { display: flex; align-items: center; }
.nav-desktop a,
.nav-dropdown-trigger {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  text-decoration: none;
  color: var(--text);
}
.nav-desktop a:hover,
.nav-desktop a[aria-current="page"],
.nav-dropdown.is-active .nav-dropdown-trigger {
  color: var(--green-dark);
}

.nav-item--shop {
  padding-left: 0.75rem;
  margin-left: 0.25rem;
  border-left: 1px solid var(--border);
}

.nav-link--shop {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 500;
}

.nav-shop-icon {
  flex-shrink: 0;
  color: var(--green-dark);
  transition: color 0.2s ease;
}

.nav-link--shop:hover .nav-shop-icon,
.nav-link--shop[aria-current="page"] .nav-shop-icon {
  color: var(--green-darker);
}

.nav-mobile .nav-mobile-toplink--shop {
  display: inline-flex;
  align-items: center;
}

.nav-mobile a:focus-visible {
  outline: 2px solid var(--green-light);
  outline-offset: 2px;
  border-radius: 4px;
}

.nav-mobile-group {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
}

.nav-mobile-group-title {
  display: block;
  padding-bottom: 0.25rem;
  margin-bottom: 0.125rem;
  font-family: var(--font-head);
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.3;
  text-decoration: none;
  color: var(--green-dark);
}

.nav-mobile-group-title:hover {
  color: var(--green-darker);
}

.nav-mobile-group-links {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.nav-mobile-sublink {
  display: block;
  padding: 0.3125rem 0 0.3125rem 0.75rem;
  border-left: 2px solid var(--border);
  font-family: var(--font-head);
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.35;
  text-decoration: none;
  color: var(--text);
  transition: color 0.15s ease, border-color 0.15s ease;
}

.nav-mobile-sublink:hover {
  color: var(--green-dark);
  border-left-color: var(--green-dark);
}

.nav-mobile-toplink {
  display: flex;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
  font-family: var(--font-head);
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.3;
  text-decoration: none;
  color: var(--green-dark);
}

.nav-mobile-toplink:hover {
  color: var(--green-darker);
}

.nav-mobile-toplink--shop {
  gap: 0.45rem;
}
.nav-dropdown { position: relative; }

/* Invisible bridge: keeps :hover on .nav-dropdown while moving to the panel */
.nav-dropdown::after {
  content: "";
  position: absolute;
  left: -0.5rem;
  right: -0.5rem;
  top: 100%;
  height: 0.75rem;
}

.nav-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0;
  border: none;
  background: none;
  font-family: var(--font-head);
  cursor: pointer;
  min-height: 44px;
}
.nav-chevron { transition: transform 0.2s ease; flex-shrink: 0; }
.nav-dropdown-trigger[aria-expanded="true"] .nav-chevron { transform: rotate(180deg); }
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 0.35rem);
  left: 50%;
  transform: translateX(-50%);
  min-width: 13rem;
  margin: 0;
  padding: 0.4rem;
  list-style: none;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.15s ease, visibility 0.15s ease;
  z-index: 110;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu,
.nav-dropdown.is-open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.nav-dropdown-menu a {
  display: block;
  padding: 0.6rem 0.85rem;
  border-radius: 8px;
  font-family: var(--font-head);
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  white-space: nowrap;
  text-decoration: none;
  color: var(--text);
}
.nav-dropdown-menu a:hover {
  background: var(--green-muted);
  color: var(--green-dark);
}
.nav-dropdown-divider {
  height: 1px;
  margin: 0.35rem 0.65rem;
  background: var(--border-subtle);
  list-style: none;
  padding: 0;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: 0 0 auto;
  min-width: 0;
  /* Luft mellan Butik (sista nav-länk) och cart/språkflaggor */
  margin-inline-start: 0.5rem;
}
.header-actions .btn-primary { display: none; }

.header-cart {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 50%;
  color: var(--green-dark);
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.header-cart:hover,
.header-cart:focus-visible {
  background: var(--green-muted);
  color: var(--green-darker);
  outline: none;
}

.header-cart-icon {
  display: block;
}

.header-cart-count {
  position: absolute;
  top: 4px;
  right: 2px;
  min-width: 1.125rem;
  height: 1.125rem;
  padding: 0 0.25rem;
  border-radius: 999px;
  background: var(--orange);
  color: var(--white);
  font-family: var(--font);
  font-size: 0.6875rem;
  font-weight: 700;
  line-height: 1.125rem;
  text-align: center;
  pointer-events: none;
}

.header-cart-count.is-empty {
  display: none;
}

.header-cart.is-updated {
  animation: header-cart-pulse 0.65s ease;
}

.header-cart.is-updated .header-cart-count {
  animation: header-cart-badge-pop 0.45s ease;
}

@keyframes header-cart-pulse {
  0% { transform: scale(1); }
  35% { transform: scale(1.08); }
  100% { transform: scale(1); }
}

@keyframes header-cart-badge-pop {
  0% { transform: scale(1); }
  45% { transform: scale(1.2); }
  100% { transform: scale(1); }
}

.lang-switcher { display: flex; align-items: center; gap: 0.375rem; }
.lang-flag {
  display: inline-flex;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid var(--border);
  overflow: hidden;
  opacity: 0.75;
  transition: opacity 0.2s, border-color 0.2s;
}
.lang-flag:hover,
.lang-flag.is-active {
  opacity: 1;
  border-color: var(--green-light);
}
.lang-flag svg { display: block; width: 100%; height: 100%; }
.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: none;
  border: none;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--green);
  border-radius: 1px;
  transition: transform 0.25s, opacity 0.25s;
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-mobile {
  display: none;
  flex-direction: column;
  width: 100%;
  max-width: 100%;
  max-height: calc(100dvh - var(--header-h));
  padding: 0;
  border-top: 1px solid var(--border);
  background: var(--white);
  box-sizing: border-box;
}
.nav-mobile.is-open { display: flex; }
.nav-mobile-inner {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  max-width: 100%;
}
.nav-mobile-links {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  overflow-y: auto;
  padding: 0.5rem 0;
}
.nav-mobile-cta {
  flex: 0 0 auto;
  padding: 0.75rem 0 0.875rem;
  border-top: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.98);
}
.nav-mobile-cta .btn-primary {
  display: inline-flex;
  width: 100%;
  justify-content: center;
  margin: 0;
  min-height: 46px;
  padding: 0.625rem 1.25rem;
  font-size: 1rem;
  border-bottom: none;
  color: var(--white);
}
.lang-switcher--mobile { padding: 0.5625rem 0; border-bottom: 1px solid var(--border); }
@media (max-width: 420px) {
  .header-inner { gap: 0.5rem; }
  .header-actions { gap: 0.375rem; }
  .logo { max-width: calc(100% - 7.75rem); }
  .logo img { height: 27px; }
}
@media (min-width: 900px) {
  .nav-desktop { display: flex; gap: 1rem; }
  .nav-desktop a,
  .nav-dropdown-trigger { font-size: 0.9375rem; }
  .menu-toggle { display: none; }
  .nav-mobile { display: none !important; }
  .header-actions .btn-primary { display: inline-flex; }
}
@media (min-width: 1100px) {
  .nav-desktop { gap: 1.5rem; }
  .nav-desktop a,
  .nav-dropdown-trigger { font-size: 1rem; }
}

/* Sections */
section { padding: clamp(4rem, 8vw, 6.5rem) 0; }
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3.5rem;
}
.section-header .lead { margin-inline: auto; }
.section--cream { background: var(--cream); }
.section--muted { background: var(--green-muted); }
.section--green {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--green);
  color: var(--white);
}
/* Soft organic pattern (dots + gentle arcs) - flat tints, no wash/gradient. */
.section--green::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.28;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='96' viewBox='0 0 96 96' fill='none'%3E%3Ccircle cx='14' cy='18' r='1.6' fill='%2395b9b9'/%3E%3Ccircle cx='48' cy='12' r='1.1' fill='%23689898'/%3E%3Ccircle cx='78' cy='28' r='1.4' fill='%2395b9b9'/%3E%3Ccircle cx='28' cy='46' r='1.2' fill='%23689898'/%3E%3Ccircle cx='62' cy='52' r='1.7' fill='%2395b9b9'/%3E%3Ccircle cx='18' cy='74' r='1.1' fill='%23689898'/%3E%3Ccircle cx='84' cy='70' r='1.3' fill='%2395b9b9'/%3E%3Ccircle cx='46' cy='82' r='1.5' fill='%23689898'/%3E%3Cpath d='M-4 34c12 6 24-6 36 0s24 6 36 0 24-6 36 0' stroke='%2395b9b9' stroke-width='0.9' stroke-linecap='round' opacity='0.55'/%3E%3Cpath d='M-8 64c14 5 26-5 40 0s26 5 40 0 26-5 40 0' stroke='%23689898' stroke-width='0.8' stroke-linecap='round' opacity='0.4'/%3E%3C/svg%3E");
  background-size: 96px 96px;
  background-repeat: repeat;
}
.section--green > * {
  position: relative;
  z-index: 1;
}
.section--green h2,
.section--green h3 { color: var(--white); }
.section--green .lead { color: rgba(255, 255, 255, 0.88); }

/* Hero */
.hero {
  padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(4rem, 8vw, 6rem);
  background: var(--white);
}
.hero-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}
.hero-content .lead { margin-bottom: 2rem; max-width: 44ch; }
.hero-cta { display: flex; flex-direction: column; gap: 1rem; align-items: flex-start; }
.hero-note {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--text-muted);
}
.hero-visual {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 16 / 10;
}
.hero-visual video,
.hero-visual:not(.hero-visual--illustration) img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1fr 1.05fr; gap: 4rem; }
}

/* Trust bar */
.trust-bar {
  border-block: 1px solid var(--border);
  padding: 2rem 0;
  background: var(--white);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  text-align: center;
}
.trust-item strong {
  display: block;
  font-family: var(--font-head);
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--green-dark);
  margin-bottom: 0.25rem;
}
.trust-item span {
  font-size: 0.9375rem;
  color: var(--text-muted);
}
@media (min-width: 640px) {
  .trust-grid { grid-template-columns: repeat(4, 1fr); }
}

/* Split feature rows (Lifesum-style) */
.split-row {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}
.split-row + .split-row { margin-top: clamp(3rem, 6vw, 5rem); }
.split-row__media {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.split-row__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.split-row__text p {
  margin: 0 0 1.25rem;
  color: var(--text-muted);
  font-size: 1.0625rem;
  max-width: 46ch;
}
.split-row__cta {
  margin: 1.5rem 0 0;
  max-width: none;
}
.split-row__cta .btn {
  display: inline-flex;
}
.split-row__text ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.split-row__text li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.625rem;
  font-size: 1rem;
  color: var(--text);
}
.split-row__text li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
}
@media (min-width: 900px) {
  .split-row { grid-template-columns: 1fr 1fr; gap: 4rem; }
  .split-row--reverse .split-row__media { order: 2; }
}

/* Stats */
.stats-grid {
  display: grid;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}
.stat-card {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  padding: 1.75rem;
  text-align: center;
}
.stat-card strong {
  display: block;
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.35rem;
}
.stat-card span { font-size: 1rem; opacity: 0.9; }
.stats-cta { text-align: center; }
.stats-cta-note {
  margin: 1rem 0 0;
  font-size: 0.9375rem;
  opacity: 0.85;
}
@media (min-width: 640px) {
  .stats-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Symptom chips */
.symptom-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
  margin: 1.5rem 0;
}
.chip {
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--green-dark);
  background: var(--white);
  border: 1px solid var(--border);
  transition: border-color 0.2s, background 0.2s;
}
.chip:hover {
  border-color: var(--green);
  background: var(--green-muted);
  color: var(--green-darker);
}

/* Steps */
.steps-grid {
  display: grid;
  gap: 1.5rem;
}
.step-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  border: 1px solid var(--border);
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  font-weight: 800;
  font-size: 1.125rem;
  margin-bottom: 1rem;
}
.step-card p { margin: 0; color: var(--text-muted); font-size: 1rem; }
@media (min-width: 768px) {
  .steps-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Experts */
.experts-grid {
  display: grid;
  gap: 1.5rem;
}
.expert-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border);
}
.expert-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}
.expert-card-body { padding: 1.25rem 1.5rem 1.5rem; }
.expert-card h3 { margin-bottom: 0.25rem; font-size: 1.25rem; }
.expert-card .role {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--text-muted);
}
@media (min-width: 640px) {
  .experts-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Testimonials */
.testimonial-grid {
  display: grid;
  gap: 1.5rem;
}
.testimonial {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  margin: 0;
}
.testimonial .stars {
  color: var(--green);
  font-size: 1.125rem;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}
.testimonial blockquote {
  margin: 0 0 1.25rem;
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--text);
}
.testimonial cite {
  font-style: normal;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-muted);
}
@media (min-width: 768px) {
  .testimonial-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Pricing */
.pricing-grid {
  display: grid;
  gap: 1.5rem;
  max-width: 820px;
  margin-inline: auto;
}
.price-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
}
.price-card.featured {
  border-color: var(--green);
  box-shadow: 0 0 0 2px var(--green);
}
.price-card h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.price-card .amount {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 0.25rem;
  color: var(--green-dark);
}
.price-card .amount-alt {
  margin: 0 0 1.5rem;
  font-size: 0.9375rem;
  color: var(--text-muted);
}
.price-card ul {
  margin: 0 0 1.75rem;
  padding: 0;
  list-style: none;
}
.price-card li {
  padding: 0.4rem 0 0.4rem 1.5rem;
  position: relative;
  font-size: 0.9375rem;
  color: var(--text-muted);
}
.price-card li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}
.price-card .btn { width: 100%; }
@media (min-width: 640px) {
  .pricing-grid { grid-template-columns: 1fr 1fr; }
}

/* FAQ */
.faq-list { max-width: 720px; margin-inline: auto; }
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 0.25rem 0;
}
.faq-item summary {
  padding: 1.25rem 0;
  font-weight: 700;
  font-size: 1.0625rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--green);
  flex-shrink: 0;
}
.faq-item[open] summary::after { content: '−'; }
.faq-item p {
  margin: 0 0 1.25rem;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.55;
}

/* CTA band */
.cta-band {
  background: var(--cream);
  color: var(--text);
  text-align: center;
  padding: clamp(4rem, 8vw, 5.5rem) 0;
}
.cta-band__visual {
  display: flex;
  justify-content: center;
  margin: 0 auto 1.25rem;
  max-width: min(13.2rem, 50.4vw); /* ~20% larger than 11rem / 42vw */
}
.cta-band__visual img {
  width: 100%;
  height: auto;
  display: block;
}
.cta-band h2 { color: var(--green-darker); margin-bottom: 1rem; }
.cta-band p {
  margin: 0 auto 2rem;
  max-width: 48ch;
  font-size: 1.125rem;
  color: var(--text-muted);
}
.cta-band .store-badges { justify-content: center; }

/* FSE wraps the footer in a template-part block; WP block layout adds gap above it. */
.wp-block-template-part:has(.site-footer) {
  margin-top: 0;
}

/* Footer */
.site-footer {
  background: var(--text);
  color: rgba(255, 255, 255, 0.75);
  padding: 3.5rem 0 1.5rem;
  font-size: 0.9375rem;
}
.site-footer a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
}
.site-footer a:hover { color: var(--white); }
.site-footer h4 {
  font-family: var(--font-head);
  color: var(--white);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 0.75rem;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li {
  margin-bottom: 0.25rem;
  font-size: 0.8125rem;
  line-height: 1.4;
}
.site-footer li a {
  font-size: inherit;
}
.footer-grid { display: grid; gap: 2rem; }
.footer-logo img {
  height: 38px;
  width: auto;
  filter: brightness(0) invert(1);
  margin-bottom: 1rem;
}
.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
  font-size: 0.8125rem;
}
@media (min-width: 640px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
}

.footer-brand p {
  margin: 0;
  line-height: 1.55;
  max-width: 32ch;
}
.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin-top: 1.25rem;
}
.footer-social a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
}
.footer-social svg { flex-shrink: 0; }
.footer-link--primary {
  color: var(--white);
  font-weight: 700;
}
.footer-link--primary:hover { color: var(--green-muted); }

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  font-size: 0.8125rem;
  color: var(--text-muted);
}
.breadcrumb a { color: var(--text-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--green-dark); }
.breadcrumb li:not(:last-child)::after {
  content: '›';
  margin-left: 0.5rem;
  color: var(--green-light);
}

.eyebrow--on-dark { color: rgba(255, 255, 255, 0.75); }

/* 404 */
.bb-404-hero {
  background: linear-gradient(165deg, var(--green-muted) 0%, var(--cream) 55%, var(--white) 100%);
  padding: 3.5rem 0 2.75rem;
}
.bb-404-kicker {
  margin: 0 0 0.5rem;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--green);
}
.bb-404-hero h1 {
  margin: 0 0 0.75rem;
  font-family: var(--font-head);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  color: var(--green-darker);
  line-height: 1.2;
}
.bb-404-hero .lead {
  margin: 0 0 1.5rem;
  max-width: 36rem;
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.55;
}
.bb-404-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.bb-404-links {
  padding: 2.5rem 0 3.5rem;
}
.bb-404-links h2 {
  margin: 0 0 1rem;
  font-family: var(--font-head);
  font-size: 1.25rem;
  color: var(--green-darker);
}
.bb-404-link-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
  max-width: 28rem;
}
.bb-404-link-list a {
  color: var(--green);
  text-decoration: none;
  font-weight: 600;
}
.bb-404-link-list a:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
