/**
 * Muscle & Protein Support — section styles.
 * Design direction: "Alpine apothecary" — calm, editorial, Swiss-precise wellness.
 * Soft serif display (Fraunces) on the theme's clean sans, a green-tinted neutral
 * palette, generous whitespace, airy layered hero, elevated cards. Mobile-first.
 * Herbalife green core, elevated — refined gradients, soft shadows, quiet motion.
 */

/* Self-hosted Fraunces (variable, wght 400–700) — no Google Fonts request, so
   no third-party font call / IP leak (GDPR / revDSG compliant). Files live in
   assets/fonts/fraunces/. */
@font-face {
	font-family: 'Fraunces';
	font-style: normal;
	font-weight: 400 700;
	font-display: swap;
	src: url('../fonts/fraunces/fraunces-latin.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: 'Fraunces';
	font-style: normal;
	font-weight: 400 700;
	font-display: swap;
	src: url('../fonts/fraunces/fraunces-latin-ext.woff2') format('woff2');
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

.hs-support,
.hs-teaser {
	/* core Herbalife greens */
	--hs-green: #4A9D3F;
	--hs-green-dark: #2E6B27;
	--hs-lime: #8BC34A;
	/* elevated neutrals — faintly green-tinted, warmer than pure gray */
	--hs-ink: #1B2A1E;
	--hs-forest: #14301A;
	--hs-muted: #5C6B5A;
	--hs-paper: #FBFDFA;
	--hs-soft: #F1F7ED;
	--hs-mist: #E5F0DF;
	--hs-white: #FFFFFF;
	--hs-line: rgba(31, 74, 34, 0.10);
	--hs-line-strong: rgba(31, 74, 34, 0.16);
	/* form */
	--hs-radius: 22px;
	--hs-radius-sm: 14px;
	--hs-display: 'Fraunces', 'Iowan Old Style', 'Palatino Linotype', Palatino, Georgia, serif;
	/* layered soft shadows */
	--hs-shadow-sm: 0 2px 8px rgba(20, 48, 26, 0.05);
	--hs-shadow: 0 14px 40px -12px rgba(31, 74, 34, 0.16), 0 4px 12px -6px rgba(31, 74, 34, 0.10);
	--hs-shadow-lg: 0 30px 70px -20px rgba(31, 74, 34, 0.28), 0 8px 20px -10px rgba(31, 74, 34, 0.14);
	--hs-glow: 0 12px 28px -8px rgba(74, 157, 63, 0.45);
	color: var(--hs-ink);
	font-family: inherit;
	-webkit-font-smoothing: antialiased;
}

/* ---- shared bits ---- */
.hs-wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.hs-wrap--narrow { max-width: 800px; }

.hs-eyebrow {
	display: inline-flex; align-items: center; gap: .6rem;
	letter-spacing: .18em; text-transform: uppercase; font-size: .74rem;
	font-weight: 700; color: var(--hs-green-dark); margin: 0 0 1.1rem;
}
.hs-eyebrow::before {
	content: ""; width: 26px; height: 2px; border-radius: 2px;
	background: linear-gradient(90deg, var(--hs-lime), var(--hs-green));
}

.hs-h2 {
	font-family: var(--hs-display); font-optical-sizing: auto;
	font-size: clamp(1.85rem, 3.4vw, 2.75rem); font-weight: 600; letter-spacing: -0.015em;
	margin: 0 0 .7rem; line-height: 1.12; color: var(--hs-forest);
}
.hs-h2::before {
	content: ""; display: block; width: 46px; height: 3px; border-radius: 3px;
	margin: 0 0 1.4rem;
	background: linear-gradient(90deg, var(--hs-green), var(--hs-lime));
}
.hs-lead { color: var(--hs-muted); font-size: 1.12rem; line-height: 1.65; max-width: 720px; margin: 0 0 2.4rem; }
.hs-section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.hs-note { color: var(--hs-muted); font-size: .84rem; margin-top: 1.6rem; text-align: center; }

/* ---- buttons ---- */
.hs-btn {
	display: inline-flex; align-items: center; justify-content: center;
	padding: .95rem 1.9rem; border-radius: 999px;
	font-weight: 700; text-decoration: none; font-size: 1rem; line-height: 1;
	letter-spacing: .005em; cursor: pointer;
	transition: transform .22s cubic-bezier(.2,.7,.3,1), box-shadow .22s ease, background .22s ease, color .22s ease;
}
.hs-support .hs-btn--primary {
	background: linear-gradient(135deg, var(--hs-green) 0%, var(--hs-green-dark) 100%);
	color: #fff; box-shadow: var(--hs-glow);
}
.hs-support .hs-btn--primary:hover {
	color: #fff; transform: translateY(-3px);
	box-shadow: 0 18px 38px -8px rgba(74, 157, 63, 0.55);
}
.hs-support .hs-btn--ghost {
	background: rgba(255,255,255,.6); color: var(--hs-green-dark);
	border: 1.5px solid var(--hs-line-strong);
	-webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.hs-support .hs-btn--ghost:hover {
	background: var(--hs-white); color: var(--hs-green-dark);
	border-color: var(--hs-green); transform: translateY(-3px); box-shadow: var(--hs-shadow-sm);
}

/* ---- homepage teaser ---- */
.hs-teaser {
	position: relative; overflow: hidden;
	background:
		radial-gradient(900px 420px at 12% -20%, var(--hs-mist), transparent 60%),
		radial-gradient(700px 380px at 100% 120%, #dcebd4, transparent 55%),
		linear-gradient(160deg, var(--hs-soft), var(--hs-paper));
	padding: clamp(3rem, 7vw, 4.5rem) 0;
}
.hs-teaser__inner { position: relative; max-width: 1000px; margin: 0 auto; padding: 0 24px; text-align: center; }
.hs-teaser__title { font-family: var(--hs-display); font-optical-sizing: auto;
	font-size: clamp(1.7rem, 3.6vw, 2.6rem); font-weight: 600; letter-spacing: -0.015em;
	margin: 0 0 .9rem; color: var(--hs-forest); line-height: 1.12; }
.hs-teaser__sub { color: var(--hs-muted); font-size: 1.12rem; line-height: 1.6; max-width: 640px; margin: 0 auto 1.8rem; }
.hs-chips { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; margin-bottom: 2rem; }
.hs-chip { background: rgba(255,255,255,.85); border: 1px solid var(--hs-line); border-radius: 999px;
	padding: .58rem 1.1rem; font-size: .9rem; box-shadow: var(--hs-shadow-sm); }
.hs-chip strong { color: var(--hs-green-dark); }
.hs-teaser__cta { display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; }
.hs-teaser__note { color: var(--hs-muted); font-size: .78rem; margin-top: 1.1rem; }

/* ---- hero — the thesis: airy, layered, calm ---- */
.hs-hero {
	position: relative; overflow: hidden;
	background:
		radial-gradient(1100px 520px at 72% -12%, var(--hs-mist), transparent 58%),
		radial-gradient(760px 460px at 8% 110%, #e8f2e2, transparent 55%),
		linear-gradient(180deg, var(--hs-paper) 0%, var(--hs-white) 100%);
	padding: clamp(4rem, 9vw, 7.5rem) 0 clamp(4rem, 9vw, 7rem);
}
/* ambient depth — soft blurred orbs, quiet by default */
.hs-hero::before,
.hs-hero::after {
	content: ""; position: absolute; border-radius: 50%; pointer-events: none;
	filter: blur(60px); opacity: .5; z-index: 0;
}
.hs-hero::before {
	width: 380px; height: 380px; top: -110px; right: -60px;
	background: radial-gradient(circle at 30% 30%, rgba(139,195,74,.55), transparent 70%);
	animation: hs-drift 22s ease-in-out infinite alternate;
}
.hs-hero::after {
	width: 300px; height: 300px; bottom: -120px; left: -50px;
	background: radial-gradient(circle at 60% 40%, rgba(74,157,63,.4), transparent 70%);
	animation: hs-drift 28s ease-in-out infinite alternate-reverse;
}
@keyframes hs-drift {
	from { transform: translate3d(0,0,0) scale(1); }
	to   { transform: translate3d(-26px, 22px, 0) scale(1.08); }
}
.hs-hero__inner { position: relative; z-index: 1; max-width: 840px; margin: 0 auto; padding: 0 24px; text-align: center; }
.hs-hero .hs-eyebrow { justify-content: center; }
.hs-hero__title {
	font-family: var(--hs-display); font-optical-sizing: auto;
	font-size: clamp(2.3rem, 5.6vw, 4rem); font-weight: 600; letter-spacing: -0.022em;
	line-height: 1.06; margin: 0 auto 1.3rem; max-width: 14ch; color: var(--hs-forest);
	text-wrap: balance;
}
.hs-hero__sub { color: var(--hs-muted); font-size: clamp(1.08rem, 1.6vw, 1.22rem); line-height: 1.66;
	margin: 0 auto 2.4rem; max-width: 640px; }
.hs-hero__cta { display: flex; gap: .9rem; justify-content: center; flex-wrap: wrap; }

/* ---- cards grid ---- */
.hs-cards { display: grid; gap: 1.4rem; }
.hs-cards--3 { grid-template-columns: repeat(3, 1fr); }
.hs-cards--4 { grid-template-columns: repeat(4, 1fr); }

.hs-why { background: linear-gradient(180deg, var(--hs-soft) 0%, var(--hs-paper) 100%); }

/* evidence cards — quiet, with a thin accent bar as signature */
.hs-card {
	position: relative; overflow: hidden; background: var(--hs-white);
	border: 1px solid var(--hs-line); border-radius: var(--hs-radius); padding: 2rem 1.7rem 1.8rem;
	box-shadow: var(--hs-shadow-sm);
	transition: transform .28s cubic-bezier(.2,.7,.3,1), box-shadow .28s ease, border-color .28s ease;
}
.hs-card::before {
	content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
	background: linear-gradient(90deg, var(--hs-green), var(--hs-lime));
	transform: scaleX(0); transform-origin: left; transition: transform .35s ease;
}
.hs-card:hover { transform: translateY(-6px); box-shadow: var(--hs-shadow); border-color: transparent; }
.hs-card:hover::before { transform: scaleX(1); }
.hs-stat {
	font-family: var(--hs-display); font-optical-sizing: auto; font-variant-numeric: tabular-nums;
	font-size: 2.7rem; font-weight: 600; color: var(--hs-green-dark); line-height: 1; margin-bottom: .8rem;
	letter-spacing: -0.02em;
}
.hs-card p { margin: 0 0 1rem; color: var(--hs-ink); line-height: 1.55; }
.hs-source { display: block; font-size: .78rem; color: var(--hs-muted); font-style: italic;
	padding-top: .9rem; border-top: 1px solid var(--hs-line); line-height: 1.45; }

/* how-we-help — softer, tinted tiles */
.hs-help {
	position: relative; background: var(--hs-white);
	border-radius: var(--hs-radius-sm); padding: 1.8rem 1.5rem;
	border: 1px solid var(--hs-line);
	transition: transform .28s cubic-bezier(.2,.7,.3,1), box-shadow .28s ease, background .28s ease;
}
.hs-help::before {
	content: ""; display: block; width: 46px; height: 46px; margin-bottom: 1.15rem;
	border-radius: 13px; box-shadow: inset 0 0 0 1px var(--hs-line);
	background-repeat: no-repeat; background-position: center; background-size: 24px 24px, cover;
}
/* distinct minimal line icons per benefit (icon layer first = on top) */
.hs-help:nth-child(1)::before {
	background-image:
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%232E6B27' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2s6 5.5 6 10a6 6 0 0 1-12 0c0-4.5 6-10 6-10Z'/%3E%3C/svg%3E"),
		linear-gradient(140deg, var(--hs-mist), #dcecd5);
}
.hs-help:nth-child(2)::before {
	background-image:
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%232E6B27' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M11 20A7 7 0 0 1 4 13C4 7 9 3 20 3c0 11-4 17-9 17Z'/%3E%3Cpath d='M8 17c1.5-4 4-6 8-8'/%3E%3C/svg%3E"),
		linear-gradient(140deg, var(--hs-mist), #dcecd5);
}
.hs-help:nth-child(3)::before {
	background-image:
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%232E6B27' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 12h4l2 5 4-11 2 6h6'/%3E%3C/svg%3E"),
		linear-gradient(140deg, var(--hs-mist), #dcecd5);
}
.hs-help:nth-child(4)::before {
	background-image:
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%232E6B27' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l7 3v5c0 4.5-3 8-7 10-4-2-7-5.5-7-10V6l7-3Z'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E"),
		linear-gradient(140deg, var(--hs-mist), #dcecd5);
}
.hs-help h3 { font-family: var(--hs-display); color: var(--hs-green-dark); margin: 0 0 .5rem;
	font-size: 1.2rem; font-weight: 600; letter-spacing: -0.01em; }
.hs-help p { margin: 0; color: var(--hs-muted); line-height: 1.55; }
.hs-help:hover { transform: translateY(-6px); box-shadow: var(--hs-shadow); background: var(--hs-white); }

/* ---- plans ---- */
.hs-plans { background: linear-gradient(180deg, var(--hs-paper) 0%, var(--hs-soft) 100%); }
.hs-plans__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; align-items: stretch; }
.hs-plan {
	position: relative; background: var(--hs-white);
	border: 1px solid var(--hs-line); border-radius: var(--hs-radius); padding: 2.2rem 1.8rem;
	display: flex; flex-direction: column; box-shadow: var(--hs-shadow-sm);
	transition: transform .28s cubic-bezier(.2,.7,.3,1), box-shadow .28s ease;
}
.hs-plan:hover { transform: translateY(-6px); box-shadow: var(--hs-shadow); }
.hs-plan--popular {
	border-color: transparent;
	box-shadow: var(--hs-shadow-lg);
	background:
		linear-gradient(var(--hs-white), var(--hs-white)) padding-box,
		linear-gradient(160deg, var(--hs-lime), var(--hs-green) 55%, var(--hs-green-dark)) border-box;
	border: 2px solid transparent;
}
@media (min-width: 961px) {
	.hs-plan--popular { transform: scale(1.04); }
	.hs-plan--popular:hover { transform: scale(1.04) translateY(-6px); }
}
.hs-plan__badge {
	position: absolute; top: -15px; left: 50%; transform: translateX(-50%);
	background: linear-gradient(135deg, var(--hs-green), var(--hs-green-dark));
	color: #fff; font-size: .72rem; font-weight: 700; text-transform: uppercase;
	padding: .4rem 1.1rem; border-radius: 999px; letter-spacing: .09em; white-space: nowrap;
	box-shadow: var(--hs-glow);
}
.hs-plan__name { font-family: var(--hs-display); font-size: 1.55rem; font-weight: 600;
	letter-spacing: -0.015em; margin: 0 0 .3rem; color: var(--hs-forest); }
.hs-plan__tagline { color: var(--hs-muted); margin: 0 0 1.4rem; font-size: .98rem; }
.hs-plan__contents { list-style: none; padding: 0; margin: 0 0 1.6rem;
	border-top: 1px solid var(--hs-line); padding-top: 1.3rem; }
.hs-plan__contents li { padding: .42rem 0 .42rem 1.9rem; position: relative; color: var(--hs-ink); line-height: 1.4; }
.hs-plan__contents li::before {
	content: ""; position: absolute; left: 0; top: .5rem; width: 18px; height: 18px; border-radius: 50%;
	background: var(--hs-mist);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%232E6B27' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
	background-repeat: no-repeat; background-position: center;
}
.hs-plan__price { margin: auto 0 1.4rem; display: flex; flex-wrap: wrap; align-items: baseline; gap: .55rem; }
.hs-plan__was { text-decoration: line-through; color: var(--hs-muted); font-size: .95rem; }
.hs-plan__now { font-family: var(--hs-display); font-size: 2rem; font-weight: 600; color: var(--hs-forest);
	letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.hs-plan__save { background: var(--hs-mist); color: var(--hs-green-dark); border-radius: 999px;
	padding: .26rem .8rem; font-size: .76rem; font-weight: 700; align-self: center; }
.hs-plan__cta { text-align: center; width: 100%; }

/* ---- FAQ — override theme's default button styling ---- */
.hs-accordion { display: flex; flex-direction: column; gap: .8rem; }
.hs-accordion__item {
	background: var(--hs-white); border: 1px solid var(--hs-line); border-radius: var(--hs-radius-sm);
	overflow: hidden; box-shadow: var(--hs-shadow-sm);
	transition: border-color .25s ease, box-shadow .25s ease;
}
.hs-accordion__item:hover { border-color: var(--hs-line-strong); }
.hs-support .hs-accordion__q {
	width: 100%; text-align: left; background: var(--hs-white); border: 0; cursor: pointer;
	padding: 1.25rem 1.5rem; font-size: 1.06rem; font-weight: 600; font-family: inherit;
	display: flex; justify-content: space-between; align-items: center; gap: 1rem;
	color: var(--hs-forest); text-transform: none; letter-spacing: 0; line-height: 1.4;
	transition: color .2s ease;
	box-shadow: none;
}
.hs-support .hs-accordion__q:hover { color: var(--hs-green-dark); background: var(--hs-white); }
.hs-accordion__q[aria-expanded="true"] { color: var(--hs-green-dark); }
.hs-accordion__icon { width: 16px; height: 16px; position: relative; flex: 0 0 16px; }
.hs-accordion__icon::before, .hs-accordion__icon::after {
	content: ""; position: absolute; background: var(--hs-green-dark); border-radius: 2px;
	transition: transform .25s ease;
}
.hs-accordion__icon::before { top: 7px; left: 0; width: 16px; height: 2px; }
.hs-accordion__icon::after { top: 0; left: 7px; width: 2px; height: 16px; }
.hs-accordion__q[aria-expanded="true"] .hs-accordion__icon::after { transform: scaleY(0); }
.hs-accordion__a { padding: 0 1.5rem 1.35rem; color: var(--hs-muted); line-height: 1.65; }
.hs-accordion__a p { margin: 0; }

/* ---- disclaimer — deep forest, not flat black ---- */
.hs-disclaimer {
	background: linear-gradient(160deg, #16301c 0%, #0f2414 100%);
	color: #bcccb4; padding: clamp(2.5rem, 5vw, 3.5rem) 0;
}
.hs-disclaimer p { margin: 0; font-size: .9rem; line-height: 1.75; }

/* ---- scroll reveal (only hide when JS is active — progressive enhancement) ---- */
.hs-js .hs-reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.3,1); }
.hs-js .hs-reveal.is-visible { opacity: 1; transform: none; }
/* gentle stagger for grouped cards */
.hs-js .hs-cards .hs-reveal:nth-child(2) { transition-delay: .08s; }
.hs-js .hs-cards .hs-reveal:nth-child(3) { transition-delay: .16s; }
.hs-js .hs-cards .hs-reveal:nth-child(4) { transition-delay: .24s; }
.hs-js .hs-plans__grid .hs-reveal:nth-child(2) { transition-delay: .08s; }
.hs-js .hs-plans__grid .hs-reveal:nth-child(3) { transition-delay: .16s; }

/* ---- responsive ---- */
@media (max-width: 960px) {
	.hs-cards--4 { grid-template-columns: repeat(2, 1fr); }
	.hs-plans__grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
}
@media (max-width: 620px) {
	.hs-cards--3, .hs-cards--4 { grid-template-columns: 1fr; }
	.hs-btn { width: 100%; }
	.hs-hero__cta, .hs-teaser__cta { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
	.hs-js .hs-reveal { opacity: 1; transform: none; transition: none; }
	.hs-js .hs-reveal:nth-child(n) { transition-delay: 0s; }
	.hs-btn, .hs-card, .hs-help, .hs-plan, .hs-card::before, .hs-accordion__icon::before, .hs-accordion__icon::after { transition: none; }
	.hs-hero::before, .hs-hero::after { animation: none; }
}

/* ============================================================= *
 * Section-intro consistency — center every section intro like the
 * hero so the page reads as one cohesive rhythm (headings + lead
 * centered; card grids stay full container width).
 * ============================================================= */
.hs-support .hs-section .hs-h2 { text-align: center; }
.hs-support .hs-section .hs-h2::before { margin-left: auto; margin-right: auto; }
.hs-support .hs-section .hs-lead {
	text-align: center;
	margin-left: auto;
	margin-right: auto;
}
.hs-support .hs-section .hs-eyebrow { justify-content: center; width: 100%; }
