/* Holistico: section layout and components. Colours, type and spacing tokens come from theme.json. */

:root {
  --holistico-cream: var(--wp--preset--color--cream);
  --holistico-ink: var(--wp--preset--color--ink);
  --holistico-muted: var(--wp--preset--color--muted);
  --holistico-red: var(--wp--preset--color--red);
  --holistico-line: var(--wp--preset--color--sand);
  --hl-section: var(--wp--custom--layout--section);
}

html { scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
img { height: auto; }
:where(a, button, input, summary):focus-visible { outline: 2px solid var(--wp--preset--color--red); outline-offset: 3px; }

/* Sections butt up against each other; each one carries its own padding. */
.wp-site-blocks > * { margin-block-start: 0; }
.hl-main { margin-top: 0; }
.hl-page { padding-top: var(--hl-section); padding-bottom: var(--hl-section); }
.hl-main > .wp-block-post-content > * { margin-block: 0; }

/* Small uppercase label above headings */
.hl-eyebrow {
  margin-bottom: 0.75rem;
  color: var(--wp--preset--color--green);
  font-size: var(--wp--preset--font-size--small);
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}

/* Buttons */
.wp-block-button.is-style-outline > .wp-block-button__link {
  background: transparent;
  border-color: var(--wp--preset--color--ink);
  color: var(--wp--preset--color--ink);
  padding: 1rem 1.9rem;
}
.wp-block-button.is-style-outline > .wp-block-button__link:hover { background: var(--wp--preset--color--ink); color: var(--wp--preset--color--cream); }
.wp-block-button__link { transition: background-color 0.15s ease, color 0.15s ease; }

/* Top bar and header */
.hl-topbar { background: var(--wp--preset--color--green); padding-block: 0.6rem; }
.hl-topbar p { margin: 0; font-size: var(--wp--preset--font-size--small); font-weight: 500; letter-spacing: 0; text-transform: none; }
.hl-topbar a { color: var(--wp--preset--color--cream); text-decoration: none; }
.hl-topbar a:hover { text-decoration: underline; text-underline-offset: 3px; }
.hl-topbar a::after { content: " \2192"; }

.hl-header { margin-top: 0; padding-block: 1.1rem; background: var(--wp--preset--color--cream); border-bottom: 1px solid var(--wp--preset--color--sand); }
.hl-wordmark { margin: 0; }
.hl-wordmark { flex-shrink: 0; }
.hl-wordmark img { display: block; width: 184px; height: auto; }
.hl-header .wp-block-navigation__container { gap: clamp(1rem, 2.2vw, 2rem); }
.hl-header .wp-block-navigation-item__content:hover { color: var(--wp--preset--color--red); }
.hl-header .wp-block-navigation__submenu-container { min-width: 15rem; padding: 0.5rem 0; background: var(--wp--preset--color--paper); border: 1px solid var(--wp--preset--color--sand); }
.wp-block-navigation__responsive-container.is-menu-open { background: var(--wp--preset--color--cream); padding: 1.5rem; }

/* Hero */
.hl-hero { padding-block: clamp(2.5rem, 6vw, 5rem) var(--hl-section); }
.hl-hero .wp-block-columns { gap: clamp(2rem, 5vw, 4.5rem); margin: 0; }
.hl-hero h1 { margin: 0 0 1.25rem; }
.hl-hero p { max-width: 34rem; }
.hl-hero .hl-lead { font-size: var(--wp--preset--font-size--large); line-height: 1.5; }
.hl-hero .wp-block-buttons { margin-top: 2rem; gap: 0.75rem; }
.hl-hero figure { margin: 0; }
.hl-hero img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 66% 50%; border-radius: var(--wp--custom--radius--image); }

/* Shared section rhythm */
.hl-section { padding-block: var(--hl-section); }
.hl-section > h2, .hl-section > .hl-eyebrow { text-align: center; }
.hl-section > h2 { margin: 0 0 clamp(2rem, 4vw, 3.25rem); }
.hl-tint { background: var(--wp--preset--color--paper); }

/* Client results */
.hl-results .wp-block-columns { gap: 1.25rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.hl-results figure { margin: 0; }
.hl-results img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 4px; }
.hl-results figcaption { margin-top: 0.6rem; text-align: center; letter-spacing: 0; text-transform: none; font-size: var(--wp--preset--font-size--small); }
.hl-results .wp-block-quote { max-width: 48rem; margin: 0 auto; text-align: center; }
.hl-results .wp-block-quote p { margin: 0; }
.hl-results cite { display: block; margin-top: 1.25rem; font-family: var(--wp--preset--font-family--body); font-style: normal; font-size: 0.8rem; letter-spacing: 0; text-transform: none; color: var(--wp--preset--color--muted); }
.hl-results > .wp-block-buttons { margin-top: 2rem; justify-content: center; gap: 0.75rem; }

/* Work with us cards */
.hl-cards .wp-block-columns { gap: 1.5rem; margin: 0; }
.hl-card { height: 100%; background: var(--wp--preset--color--cream); border: 1px solid var(--wp--preset--color--sand); border-radius: 4px; overflow: hidden; }
.hl-tint .hl-card { background: var(--wp--preset--color--cream); }
.hl-card figure { margin: 0; }
.hl-card img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 22%; }
.hl-card-body { padding: clamp(1.5rem, 3vw, 2.25rem); }
.hl-card-body h3 { margin: 0 0 0.75rem; font-size: clamp(1.5rem, 2.6vw, 1.9rem); }
.hl-card-body .wp-block-buttons { margin-top: 1.5rem; }

/* Meet Katie */
.hl-meet .wp-block-columns { gap: clamp(2rem, 5vw, 4.5rem); margin: 0; }
.hl-meet figure { margin: 0; }
.hl-meet img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--wp--custom--radius--image); }
.hl-meet h2 { margin: 0 0 1rem; }
.hl-meet .wp-block-buttons { margin-top: 1.75rem; }

/* Learn cards */
.hl-learn .wp-block-columns { gap: 1.5rem; margin: 0; }
.hl-learn .wp-block-column { text-align: center; }
.hl-learn figure { margin: 0 auto 1.25rem; width: min(11rem, 60%); }
.hl-learn img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; }
.hl-learn h3 { margin: 0 0 0.4rem; font-family: var(--wp--preset--font-family--body); font-size: 0.9rem; font-weight: 600; letter-spacing: 0; text-transform: none; }
.hl-learn h3 a { color: var(--wp--preset--color--ink); text-decoration: none; }
.hl-learn h3 a:hover { color: var(--wp--preset--color--red); }
.hl-learn p { margin: 0; color: var(--wp--preset--color--muted); }

/* Quiz band */
.hl-band { padding-block: var(--hl-section); background: var(--wp--preset--color--green); color: var(--wp--preset--color--cream); text-align: center; }
.hl-band h2 { margin: 0 0 0.75rem; color: var(--wp--preset--color--cream); }
.hl-band p { margin: 0; letter-spacing: 0; text-transform: none; font-size: 0.8rem; }
.hl-band .wp-block-buttons { margin-top: 2rem; justify-content: center; }
.hl-band .wp-block-button__link { background: var(--wp--preset--color--cream); border-color: var(--wp--preset--color--cream); color: var(--wp--preset--color--ink); }
.hl-band .wp-block-button__link:hover { background: var(--wp--preset--color--paper); color: var(--wp--preset--color--red); }

/* Newsletter and footer */
.hl-signup { margin-top: 0; padding-block: var(--hl-section); background: var(--wp--preset--color--paper); border-top: 1px solid var(--wp--preset--color--sand); }
.hl-signup h2 { margin: 0 0 1.75rem; }
.hl-newsletter, .hl-newsletter * { box-sizing: border-box; }
.hl-newsletter-fields { display: grid; gap: 0.75rem; grid-template-columns: 1fr 1fr auto; align-items: end; }
.hl-newsletter label span { display: block; margin-bottom: 0.3rem; font-size: 0.8rem; font-weight: 600; letter-spacing: 0; }
.hl-newsletter input[type="text"], .hl-newsletter input[type="email"] {
  width: 100%; min-height: 3.1rem; padding: 0.6rem 0.8rem; border: 1px solid var(--wp--preset--color--sand); border-radius: 2px;
  background: #fff; color: inherit; font: inherit; font-size: 1rem;
}
.hl-newsletter button { min-height: 3.1rem; cursor: pointer; }
.hl-newsletter-note { margin: 0.9rem 0 0; text-align: center; font-size: 0.8rem; color: var(--wp--preset--color--muted); }
.hl-newsletter-done, .hl-newsletter-error { text-align: center; font-weight: 500; }
.hl-trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.hl-footer { margin-top: 0; padding-block: 2.75rem 2.25rem; background: var(--wp--preset--color--green); color: var(--wp--preset--color--cream); }
.hl-footer .hl-wordmark a { color: var(--wp--preset--color--cream); }
.hl-footer-links { display: flex; flex-wrap: wrap; gap: 0.5rem 1.75rem; margin: 2rem 0 0; font-size: var(--wp--preset--font-size--small); letter-spacing: 0.04em; text-transform: none; }
.hl-footer-links a { color: var(--wp--preset--color--cream); text-decoration: none; }
.hl-footer-links a:hover { text-decoration: underline; text-underline-offset: 3px; }
.hl-footer-legal { margin: 1.5rem 0 0; font-size: 0.8rem; color: #b9b0a6; }

/* Quiz popup */
.hq-dialog { width: min(46rem, calc(100% - 1.5rem)); max-height: calc(100dvh - 1.5rem); padding: 0; border: 0; border-radius: 6px; background: var(--wp--preset--color--cream); overflow: auto; }
.hq-dialog::backdrop { background: rgba(38, 34, 31, 0.62); }
.hq-dialog .hq { max-width: none; min-height: min(34rem, calc(100dvh - 1.5rem)); display: grid; align-content: center; }
.hq-dialog-close { position: absolute; top: 0.4rem; right: 0.5rem; z-index: 1; width: 2.75rem; height: 2.75rem; border: 0; background: none; color: var(--wp--preset--color--ink); font-size: 1.75rem; line-height: 1; cursor: pointer; }
.hq .hq-title { font-family: var(--wp--preset--font-family--heading); font-weight: 400; }

/* Program sales page. Price comes from [holistico_program_price]. */
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.hl-price { display: inline-flex; align-items: baseline; gap: 0.8rem; font-family: var(--wp--preset--font-family--heading); line-height: 1; }
.hl-price del { color: var(--wp--preset--color--muted); font-size: 1.35rem; text-decoration-thickness: 1px; }
.hl-price ins { color: var(--wp--preset--color--ink); font-size: clamp(2.5rem, 5vw, 3.25rem); text-decoration: none; }
.hl-price-line { margin: 1.75rem 0 0.5rem; }
.hl-price-note { margin: 0; font-size: 0.9rem; font-weight: 500; }
.hl-terms { margin: 1rem 0 0; font-size: 0.8rem; line-height: 1.55; color: var(--wp--preset--color--muted); }
.hl-hero .hl-price-note { max-width: none; }
.hl-program-hero .wp-block-buttons { margin-top: 1.5rem; }
.hl-program-hero img { object-position: 50% 50%; }

/* Before and after photos. The source files are already cut to 4:3. */
.hl-proof .wp-block-columns { gap: 1.25rem; margin: 0; }
.hl-proof figure { margin: 0; }
.hl-proof img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; }
.hl-proof figcaption, .hl-proof cite { display: block; margin-top: 0.6rem; font-family: var(--wp--preset--font-family--body); font-size: var(--wp--preset--font-size--small); font-style: normal; letter-spacing: 0; text-transform: none; color: var(--wp--preset--color--muted); }
.hl-proof figcaption { text-align: center; }
.hl-story { height: 100%; background: var(--wp--preset--color--cream); border: 1px solid var(--wp--preset--color--sand); border-radius: 4px; overflow: hidden; }
.hl-story img { border-radius: 0; }
.hl-story .wp-block-quote { margin: 0; padding: 1.25rem 1.4rem 1.5rem; font-size: 1.1rem; line-height: 1.5; }
.hl-story .wp-block-quote p { margin: 0; }
.hl-story cite { margin-top: 1rem; }
.hl-proof .hl-proof-more { margin-top: 1.25rem; }

/* Why it is different */
.hl-diff .wp-block-columns { gap: clamp(2rem, 5vw, 4.5rem); margin: 0; }
.hl-diff h2 { margin: 0 0 1rem; }
.hl-diff .hl-lead { margin: 0; font-size: var(--wp--preset--font-size--large); line-height: 1.5; }
.hl-diff .wp-block-column > p:first-child { margin-top: 0; }
.hl-nots, .hl-checks { margin: 0; padding: 0; list-style: none; }
.hl-nots { margin-block: 1rem 1.5rem; border-top: 1px solid var(--wp--preset--color--sand); }
.hl-nots li { position: relative; padding: 0.9rem 0 0.9rem 2rem; border-bottom: 1px solid var(--wp--preset--color--sand); font-weight: 500; }
.hl-nots li::before { content: "\00d7"; position: absolute; left: 0.15rem; top: 0.62rem; color: var(--wp--preset--color--red); font-size: 1.4rem; line-height: 1.2; }

/* What it includes */
.hl-includes .hl-checks { max-width: 62rem; columns: 2; column-gap: clamp(2rem, 5vw, 4rem); }
.hl-checks li { position: relative; padding: 0.8rem 0 0.8rem 2.1rem; border-bottom: 1px solid var(--wp--preset--color--sand); break-inside: avoid; }
.hl-checks li::before { content: ""; position: absolute; left: 0.2rem; top: 1.2rem; width: 0.95rem; height: 0.5rem; border-left: 2px solid var(--wp--preset--color--green); border-bottom: 2px solid var(--wp--preset--color--green); transform: rotate(-45deg); }

/* Accordions: the five modules, the FAQ, and the terms beside the offer box and closing buttons. All core Details blocks. */
:is(.hl-modules, .hl-faq, .hl-offer, .hl-join) .wp-block-details { border-bottom: 1px solid var(--wp--preset--color--sand); }
.hl-modules > .wp-block-details, .hl-faq > .wp-block-details { max-width: 50rem; }
.hl-modules > .wp-block-details:first-of-type, .hl-faq > .wp-block-details:first-of-type { border-top: 1px solid var(--wp--preset--color--sand); }
:is(.hl-modules, .hl-faq, .hl-offer, .hl-join) summary { position: relative; padding: 1.15rem 2.75rem 1.15rem 0; list-style: none; cursor: pointer; font-weight: 600; }
:is(.hl-modules, .hl-faq, .hl-offer, .hl-join) summary::-webkit-details-marker { display: none; }
:is(.hl-modules, .hl-faq, .hl-offer, .hl-join) summary::after { content: "+"; position: absolute; right: 0.35rem; top: 50%; translate: 0 -50%; color: var(--wp--preset--color--green); font-family: var(--wp--preset--font-family--body); font-size: 1.6rem; font-weight: 400; line-height: 1; }
:is(.hl-modules, .hl-faq, .hl-offer, .hl-join) details[open] > summary::after { content: "\2212"; }
.hl-modules summary:hover, .hl-faq summary:hover { color: var(--wp--preset--color--red); }
.hl-modules summary { color: var(--wp--preset--color--muted); font-size: var(--wp--preset--font-size--small); letter-spacing: 0; text-transform: none; }
.hl-modules summary strong { display: block; margin-bottom: 0.3rem; color: var(--wp--preset--color--ink); font-family: var(--wp--preset--font-family--heading); font-size: 1.45rem; font-weight: 500; letter-spacing: 0; text-transform: none; }
.hl-modules summary:hover strong { color: var(--wp--preset--color--red); }
.hl-lessons { margin: 0 0 1.5rem; padding-left: 1.1rem; columns: 2; column-gap: 2.5rem; font-size: 0.95rem; }
.hl-lessons li { margin-bottom: 0.35rem; break-inside: avoid; }
.hl-modules-more { max-width: 50rem; margin-top: 1.75rem; color: var(--wp--preset--color--muted); }
.hl-faq summary { font-size: 1.05rem; }
.hl-faq details p { margin: 0; }
/* WordPress zeroes the bottom margin of the last block in a container, so the gap under an open answer is set here. */
:is(.hl-modules, .hl-faq, .hl-offer, .hl-join) .wp-block-details > :last-child { margin-block-end: 1.4rem; }

/* Offer box */
.hl-offer { max-width: 40rem; margin-inline: auto; padding: clamp(1.75rem, 4vw, 3rem); background: var(--wp--preset--color--cream); border: 1px solid var(--wp--preset--color--sand); border-top: 4px solid var(--wp--preset--color--green); border-radius: 4px; text-align: center; }
.hl-offer h2 { margin: 0; font-size: clamp(1.7rem, 3vw, 2.2rem); }
.hl-offer .wp-block-buttons { margin-top: 1.5rem; justify-content: center; }
.hl-offer .wp-block-button, .hl-offer .wp-block-button__link { width: 100%; }
.hl-offer .hl-terms { margin-bottom: 1.5rem; }
:is(.hl-offer, .hl-join) .wp-block-details { text-align: left; font-size: 0.85rem; }
:is(.hl-offer, .hl-join) .wp-block-details:first-of-type { border-top: 1px solid var(--wp--preset--color--sand); }
:is(.hl-offer, .hl-join) summary { padding-block: 0.85rem; font-size: 0.8rem; letter-spacing: 0.04em; text-transform: none; }
.hl-offer details p { margin: 0 0 0.75rem; color: var(--wp--preset--color--muted); }

/* The Community */
.hl-community { padding-block: var(--hl-section); background: var(--wp--preset--color--green); color: var(--wp--preset--color--cream); }
.hl-community .wp-block-columns { gap: clamp(2rem, 5vw, 4.5rem); margin: 0; }
.hl-community h2, .hl-community h3 { color: var(--wp--preset--color--cream); }
.hl-community h2 { margin: 0 0 1rem; }
.hl-community .hl-eyebrow { color: var(--wp--preset--color--cream); opacity: 0.85; }
.hl-community .hl-lead { font-size: var(--wp--preset--font-size--large); line-height: 1.5; }
.hl-dots { margin: 0; padding-left: 1.1rem; }
.hl-dots li { margin-bottom: 0.4rem; }
.hl-feature { padding: clamp(1.25rem, 3vw, 1.9rem); border: 1px solid rgba(255,249,236, 0.3); border-radius: 4px; }
.hl-feature + .hl-feature { margin-top: 1rem; }
.hl-feature h3 { margin: 0 0 0.5rem; }
.hl-feature p { margin: 0; }

/* Closing band on the sales page: price, button, the short terms line and the two terms accordions */
.hl-join .hl-price ins, .hl-join .hl-price del { color: var(--wp--preset--color--cream); }
.hl-join .hl-price del { opacity: 0.75; }
.hl-join p.hl-price-line { margin: 1.5rem 0 0.5rem; letter-spacing: 0; text-transform: none; }
.hl-join p.hl-terms { margin: 1.25rem 0 1.75rem; color: rgba(255,249,236, 0.85); letter-spacing: 0; text-transform: none; }
.hl-join .wp-block-details { max-width: 34rem; border-color: rgba(255,249,236, 0.3); }
.hl-join .wp-block-details:first-of-type { border-top-color: rgba(255,249,236, 0.3); }
.hl-join summary::after { color: var(--wp--preset--color--cream); }
.hl-join details p { margin: 0 0 0.75rem; color: rgba(255,249,236, 0.85); font-size: 0.85rem; letter-spacing: 0; text-transform: none; }

/* Phones */
@media (max-width: 781px) {
  .hl-includes .hl-checks, .hl-lessons { columns: 1; }
  .hl-program-hero img { object-position: 50% 72%; }
  .hl-offer { padding-inline: 1.25rem; }
  .hl-modules summary strong { font-size: 1.25rem; }
  /* Photos four to six sit in one row the visitor swipes sideways; the next one peeks in. */
  .hl-proof .wp-block-columns.hl-proof-more { overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 0.5rem; }
  .hl-proof .wp-block-columns.hl-proof-more > .wp-block-column { flex: 0 0 84%; scroll-snap-align: start; }
  .hl-hero img { aspect-ratio: 4 / 3; border-radius: 4px; object-position: 70% 40%; }
  .hl-meet img { aspect-ratio: 1; border-radius: 4px; object-position: 50% 22%; }
  .hl-results .wp-block-columns { display: grid; grid-template-columns: 1fr 1fr; }
  .hl-results .wp-block-column:first-child { grid-column: 1 / -1; }
  .hl-learn .wp-block-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem 1rem; }
  .hl-newsletter-fields { grid-template-columns: 1fr; }
  .hl-newsletter button { width: 100%; }
  .hl-hero .wp-block-button, .hl-hero .wp-block-button__link { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .wp-block-button__link { transition: none; }
}

/* Shared controls and readable labels. Existing wording stays intact. */
.wp-block-button__link, .hl-newsletter button { min-height: 52px; box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; }
.hl-eyebrow { font-size: var(--wp--preset--font-size--small); font-weight: 400; line-height: 1.6; }
.hl-topbar p { font-size: var(--wp--preset--font-size--small); line-height: 1.5; }
.hl-header .wp-block-navigation-item__content { min-height: 44px; display: flex; align-items: center; }
.hl-header .wp-block-navigation__responsive-container-open, .hl-header .wp-block-navigation__responsive-container-close { width: 44px; height: 44px; justify-content: center; align-items: center; }
.hl-header .wp-block-woocommerce-customer-account, .hl-header .wc-block-mini-cart__button { min-width: 44px; min-height: 44px; padding: 8px; }
.hl-header .wp-block-woocommerce-customer-account a { min-width: 44px; min-height: 44px; display: flex; align-items: center; justify-content: center; }
.hl-header > .wp-block-group { gap: 12px; }
.hl-footer .hl-wordmark { background: var(--wp--preset--color--cream); padding: 12px 16px; border-radius: 3px; }
.hl-footer .wp-block-social-link a { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; }
.hl-footer-links a { min-height: 44px; display: inline-flex; align-items: center; font-size: var(--wp--preset--font-size--small); }
.hl-footer-legal { color: var(--wp--preset--color--cream); font-size: var(--wp--preset--font-size--small); }
.hl-signup .hl-eyebrow { margin-top: 16px; margin-bottom: 32px; }
.hl-signup h2 { margin-bottom: 0; }
:where(.hl-band,.hl-community,.hl-footer,.hl-testimonial,.hl-topbar) :where(a,button,input,summary):focus-visible { outline-color: var(--wp--preset--color--cream); }
.hl-main.hl-page > .wp-block-post-title { font-size: var(--wp--preset--font-size--page-title); margin-bottom: 24px; }
@media (max-width: 781px) {
 .hl-wordmark img { width: 136px; }
 .hl-header { padding-block: 16px; }
 .hl-header .wp-block-navigation { margin-left: auto; }
 .hl-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content { min-height: 44px; }
 .hl-footer-row { gap: 24px; }
}

/* Home: complete proof photos and a separate, full-width client quote. */
.hl-hero h1 em, .hl-section h2 em { color: var(--wp--preset--color--red); font-weight: 400; }
.hl-hero .hl-eyebrow { margin-block: 24px 16px; }
.hl-results > h2 { margin-bottom: 16px; }
.hl-results > .hl-eyebrow { margin-bottom: 32px; }
.hl-results .wp-block-columns { align-items: start; margin-bottom: 0; gap: 24px; }
.hl-results img { aspect-ratio: auto; height: auto; object-fit: contain; }
.hl-results figcaption { line-height: 1.5; margin-top: 16px; }
.hl-testimonial { padding-block: var(--hl-section); background: var(--wp--preset--color--green); color: var(--wp--preset--color--cream); text-align: center; }
.hl-testimonial .wp-block-quote { max-width: 52rem; margin-inline: auto; font-size: clamp(1.75rem, 3.4vw, 2.75rem); line-height: 1.5; }
.hl-testimonial .wp-block-quote p { margin: 0; }
.hl-testimonial cite { display: block; font-family: var(--wp--preset--font-family--body); font-style: normal; font-size: 14px; margin-top: 24px; }
.hl-testimonial .wp-block-buttons { justify-content: center; gap: 16px; margin-top: 32px; }
.hl-testimonial .wp-block-button__link { background: var(--wp--preset--color--cream); border-color: var(--wp--preset--color--cream); color: var(--wp--preset--color--ink); }
.hl-testimonial .is-style-outline .wp-block-button__link { background: transparent; color: var(--wp--preset--color--cream); }
.hl-card { background: transparent; border: 0; border-bottom: 1px solid var(--wp--preset--color--sand); border-radius: 0; }
.hl-card-body { padding: 24px 0 32px; }
.hl-card-body .hl-eyebrow { margin-block: 12px 24px; }
.hl-cards .wp-block-columns { gap: 48px; }
.hl-meet img { border-radius: 3px; }
.hl-meet .hl-eyebrow { margin-block: 16px 24px; }
.hl-learn h3 { font-size: 18px; line-height: 1.5; }
.hl-learn h3 a { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; }
@media (max-width: 781px) {
 .hl-results .wp-block-columns { display: flex; flex-direction: column; gap: 32px; }
 .hl-results .wp-block-column { width: 100%; }
 .hl-hero { padding-top: 32px; }
 .hl-testimonial .wp-block-button, .hl-testimonial .wp-block-button__link { width: 100%; }
}

/* Program: quiet section navigation and a clear path to the three offers. */
.hl-program-hero h1 { font-size: clamp(2.625rem, 5vw, 4rem); }
.hl-program-hero h1 em { color: var(--wp--preset--color--red); }
.hl-program-nav { position: sticky; top: 0; z-index: 20; background: var(--wp--preset--color--cream); border-block: 1px solid var(--wp--preset--color--sand); gap: 24px; padding-block: 8px; overflow-x: auto; }
.hl-program-nav p { flex: 0 0 auto; margin: 0; font-size: 14px; }
.hl-program-nav a { display: inline-flex; min-height: 44px; align-items: center; color: var(--wp--preset--color--ink); text-decoration: none; }
.hl-program-nav a:hover { color: var(--wp--preset--color--red); text-decoration: underline; text-underline-offset: 6px; }
:where(.hl-proof,.hl-includes,.hl-modules,.hl-offer-wrap,.hl-community,.hl-faq) { scroll-margin-top: 76px; }
.hl-proof > h2, .hl-modules > h2 { margin-bottom: 16px; }
.hl-proof > .hl-eyebrow, .hl-modules > .hl-eyebrow { margin-bottom: 32px; }
.hl-proof img { height: auto; aspect-ratio: auto; object-fit: contain; }
.hl-story { border: 0; border-bottom: 1px solid var(--wp--preset--color--sand); border-radius: 3px; background: transparent; }
.hl-story .wp-block-quote { padding: 24px 0 32px; font-size: 18px; line-height: 1.6; }
.hl-story cite, .hl-proof figcaption { font-size: 14px; line-height: 1.5; }
.hl-proof .wp-block-columns { gap: 24px; }
.hl-diff .hl-eyebrow, .hl-community .hl-eyebrow { margin-block: 16px 24px; }
.hl-offer { max-width: 48rem; padding: clamp(24px, 4vw, 48px); background: var(--wp--preset--color--paper); }
:is(.hl-program-hero,.hl-offer) .is-style-outline .wp-block-button__link { color: var(--wp--preset--color--paper); border-color: var(--wp--preset--color--red); background: var(--wp--preset--color--red); }
:is(.hl-program-hero,.hl-offer) .is-style-outline .wp-block-button__link:hover { background: var(--wp--preset--color--ink); border-color: var(--wp--preset--color--ink); }
.hl-modules summary { font-size: 14px; line-height: 1.5; }
.hl-modules summary strong { font-weight: 400; font-size: 24px; line-height: 1.3; }
.hl-faq summary { font-size: 18px; line-height: 1.5; font-weight: 500; }
.hl-terms, :is(.hl-offer,.hl-join) summary { font-size: 14px; line-height: 1.6; }
.hl-feature { border: 0; border-top: 1px solid var(--wp--preset--color--sage); border-radius: 0; padding: 24px 0; }
@media (max-width: 781px) {
 .hl-program-nav { justify-content: flex-start; gap: 24px; }
 .hl-program-hero img { aspect-ratio: 4 / 3; object-position: 50% 72%; }
 .hl-modules summary strong { font-size: 24px; }
}

/* Functional pages keep one title, then give the task enough space. */
.hl-quiz-page { padding-block: 48px 64px; }
.hl-quiz-page:has(.hq-question,.hq-lead) > .wp-block-post-title { font-size: 24px; margin-bottom: 24px; }
.hl-quiz-page .hq { scroll-margin-top: 24px; }
.hl-quiz-page .hq .hq-title { font-weight: 400; }
.hl-result-page > .wp-block-post-title { max-width: 54rem; }
.hl-result-page > .wp-block-post-content { margin-top: 32px; }
.hl-result-page .wp-block-post-content > * + * { margin-top: 24px; }
.hl-result-page .wp-block-video { margin-inline: 0; }
.hl-result-page video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: var(--wp--preset--color--ink); border-radius: 3px; }
.hl-result-page .wp-block-buttons { justify-content: center; margin-top: 32px; }
@media (max-width: 781px) {
 .hl-quiz-page { padding-top: 32px; }
 .hl-result-page { padding-top: 32px; }
 .hl-result-page .wp-block-button, .hl-result-page .wp-block-button__link { width: 100%; }
}
/* Checkout keeps WooCommerce's own live form, cart, coupons and payment blocks. */
.hl-checkout-header { padding-block: 24px; border-bottom: 1px solid var(--wp--preset--color--sand); }
.hl-checkout-header .hl-wordmark { margin-left: 0; }
.hl-checkout { padding-block: 48px 64px; }
.hl-checkout > .wp-block-post-title { font-size: var(--wp--preset--font-size--page-title); margin-block: 0 32px; }
.hl-checkout .wp-block-woocommerce-checkout { padding-top: 0; }
.hl-checkout .wc-block-components-main { padding-right: 48px; }
.hl-checkout .wc-block-components-sidebar { background: var(--wp--preset--color--paper); border: 1px solid var(--wp--preset--color--sand); padding: 24px; border-radius: 3px; }
.hl-checkout .wc-block-components-title { font-family: var(--wp--preset--font-family--heading); font-size: 24px; font-weight: 400; line-height: 1.3; }
.hl-checkout .wc-block-components-checkout-step { margin-bottom: 32px; }
.hl-checkout .wc-block-components-text-input input, .hl-checkout .wc-blocks-components-select__select { min-height: 56px; border-color: var(--wp--preset--color--muted); border-radius: 3px; }
.hl-checkout .wc-block-components-checkout-place-order-button { min-height: 52px; border-radius: 3px; background: var(--wp--preset--color--red); color: var(--wp--preset--color--paper); font-family: var(--wp--preset--font-family--body); font-size: 14px; font-weight: 500; letter-spacing: 0.04em; }
.hl-checkout .wc-block-components-product-name { font-family: var(--wp--preset--font-family--heading); font-size: 20px; line-height: 1.3; }
.hl-checkout .wc-block-components-order-summary-item__image img { border-radius: 3px; object-fit: cover; }
.hl-checkout .wc-block-components-totals-coupon__button { min-height: 44px; }
.hl-checkout-footer { padding-block: 24px; background: var(--wp--preset--color--green); color: var(--wp--preset--color--cream); }
.hl-checkout-footer .hl-footer-links { margin-top: 0; }
.hl-checkout-footer a:focus-visible { outline-color: var(--wp--preset--color--cream); }
@media (max-width: 781px) {
 .hl-checkout-header { padding-block: 20px; }
 .hl-checkout { padding-top: 32px; }
 .hl-checkout .wc-block-components-main { padding-right: 0; }
 .hl-checkout .wc-block-components-sidebar { padding: 16px; }
}
/* A quiet holding page, with the existing words and a CSS botanical outline. */
.hl-404 { padding-block: 96px; text-align: center; }
.hl-404::before { content: ""; display: block; width: 64px; height: 88px; border: 2px solid var(--wp--preset--color--green); border-radius: 100% 0 100% 0; margin: 0 auto 32px; transform: rotate(15deg); }
.hl-404 h1 { font-size: var(--wp--preset--font-size--page-title); max-width: 42rem; margin-block: 0 24px; }
.hl-404 p { max-width: 32rem; margin-block: 0 32px; }
.hl-404 .wp-block-buttons { justify-content: center; }
@media (max-width: 781px) {
 .hl-404 { padding-block: 48px 64px; }
 .hl-404 .wp-block-button, .hl-404 .wp-block-button__link { width: 100%; }
}
.hl-checkout > .wp-block-post-title { max-width: none; margin-inline: 0; }
.hl-checkout .wp-block-woocommerce-checkout-order-summary-block { border: 0; }
