/* ==========================================================================
   TrueLyfe — Brand Variables
   Colors sampled directly from the logo and product label artwork so the
   site matches packaging exactly. Fonts: Poppins (geometric, matches the
   wordmark/label headings) + Inter (body copy).
   ========================================================================== */

:root {
	/* Brand palette */
	--color-navy:        #1D2045; /* label panel / primary dark */
	--color-navy-soft:   #2F3254; /* label panel gradient / hover states */
	--color-ink:         #1E2028; /* body text, near-black */
	--color-green:       #5F9A3B; /* logo leaf accent */
	--color-badge:       #E7E7ED; /* label pill background */
	--color-cream:       #FAFAF8; /* page background */
	--color-white:       #FFFFFF;
	--color-border:      #E5E4EC;

	/* Accent colors — added for the visual redesign pass. Used sparingly as
	   icon-badge fills and section-background tints, never as body text
	   color, so the site gains warmth/color without losing the clinical
	   credibility a supplement brand needs. */
	--color-amber:       #E8935A;
	--color-amber-tint:  #FCEEE4;
	--color-sky:         #5B8FA8;
	--color-sky-tint:    #E7F0F3;
	--color-green-tint:  #EAF3E3;
	--color-navy-tint:   #E9E9F1;

	/* Type */
	--font-heading: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
	--font-body:    'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

	/* Header */
	--header-h-default: 96px;
	--header-h-shrunk:  64px;
	--container-w:      1200px;

	/* Z-index scale (kept centralized as more sections stack) */
	--z-header: 100;
}

/* ==========================================================================
   Reset / base
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
	margin: 0;
	font-family: var(--font-body);
	color: var(--color-ink);
	background: var(--color-cream);
	-webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

.container {
	max-width: var(--container-w);
	margin-inline: auto;
	padding-inline: 1.5rem;
}

/* Respect reduced-motion globally; individual sections add their own
   fallback rules as they're built (see main.js for the JS-side check). */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-family: var(--font-heading);
	font-weight: 600;
	font-size: 0.9375rem;
	padding: 0.7rem 1.5rem;
	border-radius: 999px;
	white-space: nowrap;
	transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary {
	background: var(--color-navy);
	color: var(--color-white);
	box-shadow: 0 4px 14px rgba(29, 32, 69, 0.25);
}
.btn--primary:hover { background: var(--color-navy-soft); }

.btn--ghost {
	background: transparent;
	color: var(--color-navy);
	border: 1.5px solid var(--color-navy);
	padding: calc(0.7rem - 1.5px) calc(1.5rem - 1.5px);
}
.btn--ghost:hover { background: var(--color-navy); color: var(--color-white); }

/* ==========================================================================
   Section 1 — Header / Sticky Nav
   Starts transparent over the hero, solidifies to a translucent white bar
   and shrinks in height as the user scrolls (see main.js — GSAP
   ScrollTrigger, scrubbed, not a page-load animation). Assumes a light hero
   background per the label/product photography; revisit this file's
   .site-header colors if Section 2's hero art turns out dark.
   ========================================================================== */

.site-header {
	position: fixed;
	inset-block-start: 0;
	inset-inline: 0;
	z-index: var(--z-header);
	height: var(--header-h-default);
	background-color: rgba(255, 255, 255, 0);
	border-bottom: 1px solid rgba(229, 228, 236, 0);
	transition: background-color 0.2s ease, border-color 0.2s ease; /* reduced-motion fallback path */
}

/* Once JS confirms GSAP/ScrollTrigger booted, hand height/background over
   to the scrubbed timeline and let CSS transitions stand down. */
.site-header[data-js-ready] {
	transition: none;
}

.site-header.is-solid {
	background-color: rgba(255, 255, 255, 0.92);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border-bottom-color: var(--color-border);
	box-shadow: 0 1px 0 rgba(29, 32, 69, 0.03);
}

.site-header__inner {
	max-width: var(--container-w);
	margin-inline: auto;
	height: 100%;
	padding-inline: 1.5rem;
	display: flex;
	align-items: center;
	gap: 2rem;
}

.site-header__logo {
	display: flex;
	align-items: center;
	flex-shrink: 0;
}

.site-header__logo-img {
	height: 26px;
	width: auto;
	transition: height 0.2s ease;
}

.site-header__nav {
	flex: 1;
	display: none;
}

.site-header__nav-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	justify-content: center;
	gap: 2.25rem;
}

.site-header__nav-list a {
	font-family: var(--font-heading);
	font-weight: 500;
	font-size: 0.9375rem;
	color: var(--color-ink);
	padding: 0.5rem 0;
	position: relative;
}

.site-header__nav-list a::after {
	content: '';
	position: absolute;
	left: 0; right: 0; bottom: 0;
	height: 2px;
	background: var(--color-green);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.2s ease;
}

.site-header__nav-list a:hover::after { transform: scaleX(1); }

.site-header__actions {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin-inline-start: auto;
	flex-shrink: 0;
}

/* Mini product thumbnail + price — hidden until deep scroll (see main.js) */
.site-header__mini-product {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.25rem 0.75rem 0.25rem 0.25rem;
	border-radius: 999px;
	background: var(--color-badge);
	opacity: 0;
	transform: translateY(-6px) scale(0.96);
	pointer-events: none;
}

.site-header__mini-product-img {
	width: 32px;
	height: 32px;
	border-radius: 999px;
	object-fit: cover;
	background: var(--color-white);
}

.site-header__mini-price {
	font-family: var(--font-heading);
	font-weight: 600;
	font-size: 0.875rem;
	color: var(--color-navy);
}

.site-header__menu-toggle {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 4px;
	width: 40px;
	height: 40px;
	border: none;
	background: transparent;
	cursor: pointer;
	padding: 0;
}

.site-header__menu-toggle span {
	display: block;
	height: 2px;
	background: var(--color-ink);
	border-radius: 2px;
	transition: transform 0.2s ease, opacity 0.2s ease;
}

.site-header__menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.site-header__menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.site-header__menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.site-header__mobile-nav {
	background: var(--color-white);
	border-bottom: 1px solid var(--color-border);
	padding: 1rem 1.5rem 1.5rem;
}

.site-header__mobile-nav-list {
	list-style: none;
	margin: 0 0 1rem;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
}

.site-header__mobile-nav-list a {
	display: block;
	padding: 0.75rem 0.25rem;
	font-family: var(--font-heading);
	font-weight: 500;
	border-bottom: 1px solid var(--color-border);
}

.site-header__mobile-buy { width: 100%; }

/* Desktop: show inline nav + mini product + buy button, hide hamburger */
@media (min-width: 900px) {
	.site-header__nav { display: block; }
	.site-header__mini-product { display: flex; }
	.site-header__menu-toggle { display: none; }
	.site-header__mobile-nav { display: none !important; }
}

/* Below 900px: header never shrinks (mobile has less scroll headroom to
   justify it) and the mini buy-bar stays off — the always-visible Buy
   button already does that job on small screens. */
@media (max-width: 899.98px) {
	.site-header { height: var(--header-h-default) !important; }
	.site-header__mini-product { display: none !important; }
}

/* ==========================================================================
   Section 2 — Hero
   Full-bleed single screen. The header sits transparent on top of this
   section, so top padding here just keeps the headline clear of the logo/
   nav row — it isn't a second header. Product image gets its scroll-tied
   entrance + parallax purely via main.js (GSAP), CSS only sets the
   pre-animation starting state so there's no flash-of-unstyled-content.
   ========================================================================== */

.hero {
	min-height: 100vh;
	display: flex;
	align-items: center;
	padding-block: calc(var(--header-h-default) + 2rem) 3rem;
	background:
		radial-gradient(60% 55% at 85% 15%, rgba(232, 147, 90, 0.14) 0%, rgba(232, 147, 90, 0) 100%),
		radial-gradient(50% 50% at 8% 85%, rgba(95, 154, 59, 0.12) 0%, rgba(95, 154, 59, 0) 100%),
		linear-gradient(180deg, #FAFAF8 0%, #F1F0EC 100%);
	position: relative;
	overflow: hidden;
}

/* Gentle continuous float on the product image — cheap, safe motion that
   adds life without needing scroll position. Skipped under
   prefers-reduced-motion below. */
.hero__product-img { animation: truelyfe-float 6s ease-in-out infinite; }

@keyframes truelyfe-float {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-10px); }
}

@media (prefers-reduced-motion: reduce) {
	.hero__product-img { animation: none; }
}

.hero__inner {
	max-width: var(--container-w);
	margin-inline: auto;
	padding-inline: 1.5rem;
	width: 100%;
	display: grid;
	grid-template-columns: 1fr;
	gap: 3rem;
	align-items: center;
}

.hero__eyebrow {
	font-family: var(--font-heading);
	font-weight: 600;
	font-size: 0.8125rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--color-green);
	margin: 0 0 0.75rem;
}

.hero__headline {
	font-family: var(--font-heading);
	font-weight: 600;
	font-size: clamp(2.25rem, 5vw, 3.5rem);
	line-height: 1.08;
	color: var(--color-navy);
	margin: 0 0 1.25rem;
}

.hero__headline-line { display: block; }

.hero__subline {
	font-family: var(--font-body);
	font-size: 1.0625rem;
	line-height: 1.6;
	color: #4A4B57;
	max-width: 34rem;
	margin: 0 0 1.75rem;
}

.hero__badges {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
	margin: 0 0 2rem;
	padding: 0;
}

.hero__badges li {
	font-family: var(--font-heading);
	font-weight: 500;
	font-size: 0.75rem;
	letter-spacing: 0.02em;
	color: var(--color-navy);
	background: var(--color-badge);
	padding: 0.4rem 0.85rem;
	border-radius: 999px;
}

.hero__cta-row {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
}

.hero__product {
	position: relative;
	display: flex;
	justify-content: center;
	/* Starting state for the scroll-tied entrance (see main.js). Reduced-
	   motion visitors get the final state immediately — see the JS guard. */
	opacity: 0;
	transform: translateY(24px) rotate(-4deg) scale(0.94);
}

.hero__product-img {
	max-width: 320px;
	width: 100%;
	height: auto;
	border-radius: 16px;
	filter: drop-shadow(0 30px 40px rgba(29, 32, 69, 0.18));
}

.hero__scroll-cue {
	position: absolute;
	bottom: 1.75rem;
	left: 50%;
	transform: translateX(-50%);
	width: 22px;
	height: 34px;
	border: 1.5px solid rgba(29, 32, 69, 0.35);
	border-radius: 999px;
}

.hero__scroll-cue span {
	position: absolute;
	top: 6px;
	left: 50%;
	transform: translateX(-50%);
	width: 4px;
	height: 8px;
	border-radius: 999px;
	background: var(--color-navy);
	animation: truelyfe-scroll-cue 1.6s ease-in-out infinite;
}

@keyframes truelyfe-scroll-cue {
	0%, 100% { transform: translate(-50%, 0); opacity: 1; }
	50% { transform: translate(-50%, 10px); opacity: 0.4; }
}

@media (prefers-reduced-motion: reduce) {
	.hero__product { opacity: 1; transform: none; }
	.hero__scroll-cue span { animation: none; }
}

@media (min-width: 900px) {
	.hero__inner {
		grid-template-columns: 1.1fr 0.9fr;
		gap: 4rem;
	}
	.hero__product-img { max-width: 100%; }
}

/* ==========================================================================
   Section 3 — Social Proof Strip
   Thin band, directly below the hero. Rating number counts up once on
   scroll-into-view (see main.js); everything else is static.
   ========================================================================== */

.social-proof {
	background: linear-gradient(90deg, var(--color-amber-tint) 0%, var(--color-white) 45%, var(--color-sky-tint) 100%);
	border-block: 1px solid var(--color-border);
	padding-block: 1.5rem;
}

.social-proof__inner {
	max-width: var(--container-w);
	margin-inline: auto;
	padding-inline: 1.5rem;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0.75rem 2rem;
	text-align: center;
}

.social-proof__stars {
	position: relative;
	display: inline-block;
	font-size: 1.25rem;
	line-height: 1;
	letter-spacing: 2px;
}

.social-proof__stars-base { color: #DCDBE2; }

.social-proof__stars-fill {
	position: absolute;
	inset-block-start: 0;
	inset-inline-start: 0;
	overflow: hidden;
	white-space: nowrap;
	color: #F5B400;
}

.social-proof__rating {
	display: flex;
	align-items: baseline;
	gap: 0.35rem;
	margin: 0;
}

.social-proof__rating-number {
	font-family: var(--font-heading);
	font-weight: 700;
	font-size: 1.25rem;
	color: var(--color-navy);
	font-variant-numeric: tabular-nums;
}

.social-proof__rating-scale {
	font-family: var(--font-heading);
	font-size: 0.875rem;
	color: #9394A1;
}

.social-proof__rating-count {
	font-family: var(--font-body);
	font-size: 0.875rem;
	color: #6B6C77;
	margin-inline-start: 0.25rem;
}

.social-proof__link {
	font-family: var(--font-heading);
	font-weight: 500;
	font-size: 0.875rem;
	color: var(--color-navy);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.social-proof__link:hover { color: var(--color-green); }

/* ==========================================================================
   Section 4 — The Problem (Why Magnesium)
   Icon strokes are full/visible by default (see inc/icons.php) — main.js
   only adds the draw-in reveal on top when GSAP + DrawSVGPlugin are
   available, so a no-JS or reduced-motion visitor still sees complete
   icons, never a blank/broken state.
   ========================================================================== */

.problem {
	background: var(--color-white);
	padding-block: 5rem;
}

.problem__inner {
	max-width: var(--container-w);
	margin-inline: auto;
	padding-inline: 1.5rem;
}

.problem__intro {
	max-width: 42rem;
	margin: 0 auto 3rem;
	text-align: center;
}

.problem__heading {
	font-family: var(--font-heading);
	font-weight: 600;
	font-size: clamp(1.75rem, 3.5vw, 2.5rem);
	color: var(--color-navy);
	margin: 0.5rem 0 1rem;
	line-height: 1.15;
}

.problem__subline {
	font-family: var(--font-body);
	font-size: 1.0625rem;
	line-height: 1.65;
	color: #4A4B57;
	margin: 0;
}

.problem__grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 2rem 1.5rem;
}

.problem__item {
	text-align: center;
	padding-inline: 0.5rem;
}

.problem__icon {
	width: 72px;
	height: 72px;
	margin: 0 auto 1.1rem;
	border-radius: 999px;
	background: var(--color-cream);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--color-navy);
	transition: transform 0.25s ease;
}

.problem__item:hover .problem__icon { transform: translateY(-4px); }

/* Colorful icon-badge treatment (redesign pass) — each symptom gets its
   own accent tint/color pairing instead of one flat cream circle, closer
   to the "category icon" energy from the reference brief while staying
   inside the existing brand palette. */
.problem__icon[data-accent="navy"]  { background: var(--color-navy-tint); color: var(--color-navy); }
.problem__icon[data-accent="amber"] { background: var(--color-amber-tint); color: var(--color-amber); }
.problem__icon[data-accent="sky"]   { background: var(--color-sky-tint); color: var(--color-sky); }
.problem__icon[data-accent="green"] { background: var(--color-green-tint); color: var(--color-green); }

.problem__item-label {
	font-family: var(--font-heading);
	font-weight: 600;
	font-size: 1rem;
	color: var(--color-navy);
	margin: 0 0 0.5rem;
}

.problem__item-copy {
	font-family: var(--font-body);
	font-size: 0.9rem;
	line-height: 1.6;
	color: #6B6C77;
	margin: 0;
}

@media (min-width: 900px) {
	.problem__grid {
		grid-template-columns: repeat(4, 1fr);
		gap: 1.75rem;
	}
}

/* ==========================================================================
   Section 5 — Product Details (The Formula)
   Default state (below) is everything already expanded and visible — safe
   for no-JS/reduced-motion. main.js only adds the ".js-pd-active" class to
   .product-details__pin when it actually applies the pinned scroll
   choreography, and that's what switches on the collapsed/sequential-
   reveal behavior below.
   ========================================================================== */

.product-details { background: var(--color-cream); }

.product-details__pin {
	min-height: 100vh;
	display: flex;
	align-items: center;
	padding-block: 4rem;
}

.product-details__inner {
	max-width: var(--container-w);
	margin-inline: auto;
	padding-inline: 1.5rem;
	width: 100%;
	display: grid;
	grid-template-columns: 1fr;
	gap: 2.5rem;
	align-items: center;
}

.product-details__media {
	/* Deliberately no height/max-height here: the dots below are
	   percentage-positioned against this element's box, so its height must
	   always exactly equal the rendered image's height (via width + auto
	   height, aspect ratio preserved) or the dots drift off the photo. */
	position: relative;
	display: flex;
	justify-content: center;
}

.product-details__img {
	display: block;
	width: 100%;
	max-width: 260px;
	height: auto;
	border-radius: 16px;
	filter: drop-shadow(0 24px 30px rgba(29, 32, 69, 0.15));
}

.product-details__dot {
	position: absolute;
	width: 14px;
	height: 14px;
	border-radius: 999px;
	background: var(--color-white);
	border: 3px solid var(--color-navy);
	transform: translate(-50%, -50%);
	transition: opacity 0.3s ease, transform 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
}

.product-details__heading {
	font-family: var(--font-heading);
	font-weight: 600;
	font-size: clamp(1.75rem, 3vw, 2.25rem);
	color: var(--color-navy);
	margin: 0.5rem 0 1.75rem;
	line-height: 1.15;
}

.product-details__callout {
	display: flex;
	gap: 1rem;
	padding-block: 1.25rem;
	border-top: 1px solid var(--color-border);
}

.product-details__callout:first-of-type { border-top: none; }

.product-details__callout-number {
	font-family: var(--font-heading);
	font-weight: 700;
	font-size: 0.875rem;
	color: var(--color-green);
	flex-shrink: 0;
	width: 1.75rem;
	padding-top: 0.15rem;
}

.product-details__callout-name {
	font-family: var(--font-heading);
	font-weight: 600;
	font-size: 1.125rem;
	color: var(--color-navy);
	margin: 0 0 0.4rem;
}

.product-details__more-link {
	margin-top: 1.75rem;
	align-self: flex-start;
}

.product-details__callout-copy {
	font-family: var(--font-body);
	font-size: 0.9375rem;
	line-height: 1.65;
	color: #6B6C77;
	margin: 0;
	max-height: 220px;
	opacity: 1;
	overflow: hidden;
	transition: max-height 0.4s ease, opacity 0.3s ease;
}

/* Pinned/sequential-reveal mode — only active once JS confirms it's
   actually running the pinned timeline. */
.product-details__pin.js-pd-active .product-details__dot { opacity: 0.35; }

.product-details__pin.js-pd-active .product-details__dot.is-active {
	opacity: 1;
	background: var(--color-green);
	border-color: var(--color-green);
	transform: translate(-50%, -50%) scale(1.3);
	box-shadow: 0 0 0 6px rgba(95, 154, 59, 0.18);
}

.product-details__pin.js-pd-active .product-details__callout { opacity: 0.4; }
.product-details__pin.js-pd-active .product-details__callout.is-active { opacity: 1; }

.product-details__pin.js-pd-active .product-details__callout-copy {
	max-height: 0;
	opacity: 0;
}

.product-details__pin.js-pd-active .product-details__callout.is-active .product-details__callout-copy {
	max-height: 220px;
	opacity: 1;
}

/* Hover lets anyone re-read a non-active callout without waiting for
   scroll — harmless in the default (non-pinned) state too. */
@media ( hover: hover ) {
	.product-details__pin.js-pd-active .product-details__callout:hover .product-details__callout-copy {
		max-height: 220px;
		opacity: 1;
	}
}

@media (min-width: 900px) {
	.product-details__inner {
		grid-template-columns: 0.9fr 1.1fr;
		gap: 4rem;
	}
	.product-details__img { max-width: 300px; }
}

/* ==========================================================================
   Section 6 — Science Behind the Formula
   Default state is fully visible/filled (bars at their real height, cards
   shown) — safe for no-JS/reduced-motion. main.js only resets to a hidden
   starting state and re-plays the reveal when it's actually going to run
   the animation (see initScience()).
   ========================================================================== */

.science { background: var(--color-white); padding-block: 5rem; }

.science__inner {
	max-width: var(--container-w);
	margin-inline: auto;
	padding-inline: 1.5rem;
}

.science__intro {
	max-width: 42rem;
	margin: 0 auto 3rem;
	text-align: center;
}

.science__heading {
	font-family: var(--font-heading);
	font-weight: 600;
	font-size: clamp(1.75rem, 3.5vw, 2.5rem);
	color: var(--color-navy);
	margin: 0.5rem 0 1rem;
	line-height: 1.15;
}

.science__subline {
	font-family: var(--font-body);
	font-size: 1.0625rem;
	color: #4A4B57;
	margin: 0;
}

.science__chart {
	max-width: 36rem;
	margin: 0 auto 3.5rem;
	text-align: center;
	background: var(--color-cream);
	border-radius: 16px;
	padding: 2.5rem 2rem 2rem;
}

.science__chart-title {
	font-family: var(--font-heading);
	font-weight: 600;
	font-size: 1.125rem;
	color: var(--color-navy);
	margin: 0 0 2rem;
}

.science__bars {
	display: flex;
	justify-content: center;
	align-items: flex-end;
	gap: 2rem;
	height: 160px;
	margin-bottom: 1.25rem;
}

.science__bar-group {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-end;
	height: 100%;
	gap: 0.4rem;
}

.science__bar {
	width: 56px;
	height: 160px;
	display: flex;
	align-items: flex-end;
}

.science__bar-fill {
	display: block;
	width: 100%;
	background: var(--color-navy);
	border-radius: 8px 8px 0 0;
	transform: scaleY(1);
	transform-origin: bottom;
}

.science__bar--muted .science__bar-fill { background: #B9BAC4; }

.science__bar-value {
	font-family: var(--font-heading);
	font-weight: 600;
	font-size: 0.8rem;
	color: var(--color-navy);
	margin-top: 0.25rem;
}

.science__bar-label {
	font-family: var(--font-body);
	font-size: 0.75rem;
	color: #6B6C77;
	text-align: center;
}

.science__chart-note {
	font-family: var(--font-body);
	font-size: 0.8125rem;
	line-height: 1.55;
	color: #8A8B95;
	margin: 0;
}

.science__chart-note a,
.science__card-copy sup a {
	color: var(--color-green);
	text-decoration: none;
	font-weight: 600;
}

.science__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.5rem;
	margin-bottom: 3rem;
}

.science__card {
	background: var(--color-cream);
	border-radius: 16px;
	padding: 1.75rem;
	opacity: 1;
	transform: none;
}

.science__card-title {
	font-family: var(--font-heading);
	font-weight: 600;
	font-size: 1.0625rem;
	color: var(--color-navy);
	margin: 0 0 0.75rem;
}

.science__card-copy {
	font-family: var(--font-body);
	font-size: 0.9rem;
	line-height: 1.65;
	color: #4A4B57;
	margin: 0;
}

.science__citations {
	font-family: var(--font-body);
	font-size: 0.75rem;
	line-height: 1.75;
	color: #8A8B95;
	max-width: 42rem;
	margin: 0 auto;
	padding-left: 1.25rem;
}

.science__citations a { color: var(--color-navy); }

@media (min-width: 900px) {
	.science__grid { grid-template-columns: repeat(3, 1fr); }
}

/* ==========================================================================
   Section 7 — Ingredients / Supplement Facts
   Table rows default to visible (safe for no-JS/reduced-motion); main.js
   resets to a hidden state and staggers them in only when it's actually
   going to animate. Accordion panels are native <details>/<summary> —
   functional with zero JS — and main.js layers a smooth height animation
   on top when GSAP is available (see initIngredients()).
   ========================================================================== */

.ingredients { background: var(--color-white); padding-block: 5rem; }

.ingredients__inner {
	max-width: 780px;
	margin-inline: auto;
	padding-inline: 1.5rem;
}

.ingredients__intro {
	text-align: center;
	margin-bottom: 2.5rem;
}

.ingredients__heading {
	font-family: var(--font-heading);
	font-weight: 600;
	font-size: clamp(1.75rem, 3.5vw, 2.25rem);
	color: var(--color-navy);
	margin: 0.5rem 0 0.75rem;
	line-height: 1.15;
}

.ingredients__subline {
	font-family: var(--font-body);
	font-size: 1rem;
	color: #6B6C77;
	margin: 0;
}

.ingredients__table-wrap {
	background: var(--color-cream);
	border-radius: 16px;
	padding: 1.75rem 1.75rem 1.25rem;
	margin-bottom: 1.5rem;
	overflow-x: auto;
}

.ingredients__table {
	width: 100%;
	border-collapse: collapse;
	font-family: var(--font-body);
}

.ingredients__table th {
	text-align: left;
	font-family: var(--font-heading);
	font-weight: 600;
	font-size: 0.8125rem;
	color: var(--color-navy);
	padding-bottom: 0.75rem;
	border-bottom: 2px solid var(--color-navy);
	white-space: nowrap;
}

.ingredients__table th:not(:first-child),
.ingredients__table td:not(:first-child) {
	text-align: right;
}

.ingredients__table td {
	padding: 0.9rem 0;
	border-bottom: 1px solid var(--color-border);
	font-size: 0.9375rem;
	color: #333438;
	opacity: 1;
	transform: none;
}

.ingredients__table td:last-child {
	font-weight: 600;
	color: var(--color-navy);
}

.ingredients__row:last-child td { border-bottom: none; }

.ingredients__row-note {
	display: block;
	font-size: 0.78rem;
	color: #8A8B95;
	margin-top: 0.15rem;
	font-weight: 400;
}

.ingredients__footnote {
	font-size: 0.75rem;
	color: #9394A1;
	margin: 0.75rem 0 0;
}

.ingredients__badges {
	justify-content: center;
	margin-bottom: 2rem;
}

.ingredients__accordion {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	margin-bottom: 1.75rem;
}

.ingredients__panel {
	background: var(--color-cream);
	border-radius: 12px;
	overflow: hidden;
}

.ingredients__panel summary {
	cursor: pointer;
	list-style: none;
	padding: 1.1rem 1.25rem;
	font-family: var(--font-heading);
	font-weight: 600;
	font-size: 0.95rem;
	color: var(--color-navy);
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.ingredients__panel summary::-webkit-details-marker { display: none; }

.ingredients__panel summary::after {
	content: '+';
	font-size: 1.35rem;
	line-height: 1;
	color: var(--color-green);
	transition: transform 0.25s ease;
	flex-shrink: 0;
	margin-inline-start: 1rem;
}

.ingredients__panel[open] summary::after { transform: rotate(45deg); }

.ingredients__panel-body {
	padding: 0 1.25rem 1.25rem;
	font-family: var(--font-body);
	font-size: 0.9rem;
	line-height: 1.65;
	color: #4A4B57;
	overflow: hidden;
}

.ingredients__panel-body p { margin: 0; }

.ingredients__disclaimer {
	font-family: var(--font-body);
	font-size: 0.8rem;
	color: #9394A1;
	text-align: center;
	margin: 0;
}

/* ==========================================================================
   Section 8 — Quality & Testing
   No scroll-jacking here — just a light stagger-in (consistent with the
   rest of the page's motion language) plus the hover lift the spec calls
   for directly. Badges are visible by default (safe for no-JS/reduced-
   motion); main.js only adds the entrance stagger when it's going to run.
   ========================================================================== */

.quality { background: var(--color-cream); padding-block: 5rem; }

.quality__inner {
	max-width: var(--container-w);
	margin-inline: auto;
	padding-inline: 1.5rem;
}

.quality__intro {
	text-align: center;
	margin-bottom: 2.5rem;
}

.quality__heading {
	font-family: var(--font-heading);
	font-weight: 600;
	font-size: clamp(1.75rem, 3.5vw, 2.25rem);
	color: var(--color-navy);
	margin: 0.5rem 0 0;
	line-height: 1.15;
}

.quality__grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1.25rem;
}

.quality__badge {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 0.75rem;
	padding: 1.75rem 1rem;
	background: var(--color-white);
	border-radius: 14px;
	opacity: 1;
	transform: none;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.quality__badge:hover {
	transform: translateY(-4px);
	box-shadow: 0 14px 26px rgba(29, 32, 69, 0.1);
}

.quality__badge-icon {
	width: 56px;
	height: 56px;
	border-radius: 999px;
	background: var(--color-cream);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--color-navy);
	transition: background-color 0.25s ease, color 0.25s ease;
}

/* Colorful icon-badge treatment (redesign pass), same accent system as
   Section 4 (The Problem) — each badge tints toward its accent color on
   hover instead of one flat navy fill. */
.quality__badge-icon[data-accent="navy"]  { background: var(--color-navy-tint); }
.quality__badge-icon[data-accent="amber"] { background: var(--color-amber-tint); }
.quality__badge-icon[data-accent="sky"]   { background: var(--color-sky-tint); }
.quality__badge-icon[data-accent="green"] { background: var(--color-green-tint); }

.quality__badge:hover .quality__badge-icon[data-accent="navy"]  { background: var(--color-navy); color: var(--color-white); }
.quality__badge:hover .quality__badge-icon[data-accent="amber"] { background: var(--color-amber); color: var(--color-white); }
.quality__badge:hover .quality__badge-icon[data-accent="sky"]   { background: var(--color-sky); color: var(--color-white); }
.quality__badge:hover .quality__badge-icon[data-accent="green"] { background: var(--color-green); color: var(--color-white); }

.quality__badge-label {
	font-family: var(--font-heading);
	font-weight: 600;
	font-size: 0.8125rem;
	color: var(--color-navy);
	line-height: 1.3;
}

@media (min-width: 700px) {
	.quality__grid { grid-template-columns: repeat(4, 1fr); }
}

/* ==========================================================================
   Section 9 — How to Use
   The connecting line is a plain, fully-drawn SVG path by default (that's
   just what an un-animated <path> looks like) — main.js only resets it to
   an undrawn state when it's actually going to scrub it in, so no-JS/
   reduced-motion visitors just see a normal solid connecting line.
   ========================================================================== */

.how-to-use { background: var(--color-white); padding-block: 5rem; }

.how-to-use__inner {
	max-width: var(--container-w);
	margin-inline: auto;
	padding-inline: 1.5rem;
}

.how-to-use__intro {
	text-align: center;
	margin-bottom: 3rem;
}

.how-to-use__heading {
	font-family: var(--font-heading);
	font-weight: 600;
	font-size: clamp(1.75rem, 3.5vw, 2.25rem);
	color: var(--color-navy);
	margin: 0.5rem 0 0;
	line-height: 1.15;
}

.how-to-use__timeline {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	max-width: 640px;
	margin-inline: auto;
}

.how-to-use__line { display: none; }

.how-to-use__step {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 0.6rem;
	background: var(--color-cream);
	border-radius: 16px;
	padding: 2rem 1.5rem;
	position: relative;
	z-index: 1;
}

.how-to-use__step-icon {
	width: 64px;
	height: 64px;
	border-radius: 999px;
	background: var(--color-white);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--color-navy);
}

.how-to-use__step-number {
	font-family: var(--font-heading);
	font-weight: 700;
	font-size: 0.75rem;
	color: var(--color-green);
	letter-spacing: 0.05em;
}

.how-to-use__step-label {
	font-family: var(--font-heading);
	font-weight: 600;
	font-size: 1.0625rem;
	color: var(--color-navy);
	margin: 0;
}

.how-to-use__step-copy {
	font-family: var(--font-body);
	font-size: 0.875rem;
	line-height: 1.6;
	color: #6B6C77;
	margin: 0;
	max-width: 22rem;
}

@media (min-width: 800px) {
	.how-to-use__timeline {
		flex-direction: row;
		align-items: flex-start;
		max-width: none;
		gap: 2rem;
		padding-inline: 1rem;
	}
	.how-to-use__step { flex: 1; background: var(--color-cream); }
	.how-to-use__line {
		display: block;
		position: absolute;
		top: 64px; /* aligns with the icon circles' vertical center */
		left: 0;
		width: 100%;
		height: 4px;
		z-index: 0;
		pointer-events: none;
	}
}

/* ==========================================================================
   Section 10 — Reviews
   The amber .reviews__notice badge is deliberate — it stays visible so
   the placeholder testimonials never quietly pass as real ones. Remove
   the notice (and swap the card content) once real reviews are in.
   ========================================================================== */

.reviews { background: var(--color-white); padding-block: 5rem; overflow: hidden; }

.reviews__inner {
	max-width: var(--container-w);
	margin-inline: auto;
	padding-inline: 1.5rem;
}

.reviews__intro { text-align: center; margin-bottom: 0.5rem; }

.reviews__heading {
	font-family: var(--font-heading);
	font-weight: 600;
	font-size: clamp(1.75rem, 3.5vw, 2.25rem);
	color: var(--color-navy);
	margin: 0.5rem 0 0;
	line-height: 1.15;
}

.reviews__notice {
	display: inline-block;
	margin-top: 0.85rem;
	padding: 0.4rem 0.9rem;
	background: #FEF3C7;
	color: #92640A;
	border-radius: 999px;
	font-family: var(--font-body);
	font-size: 0.78rem;
}

.reviews__track {
	display: flex;
	gap: 1.25rem;
	overflow-x: auto;
	padding: 2rem 0.25rem 0.5rem;
	scroll-snap-type: x mandatory;
	-webkit-overflow-scrolling: touch;
}

.reviews__card {
	flex: 0 0 280px;
	scroll-snap-align: start;
	background: var(--color-cream);
	border-radius: 16px;
	padding: 1.75rem;
}

.reviews__card-avatar {
	width: 44px;
	height: 44px;
	border-radius: 999px;
	background: var(--color-navy);
	color: var(--color-white);
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: var(--font-heading);
	font-weight: 600;
	margin-bottom: 0.85rem;
}

.reviews__card-stars { color: #F5B400; font-size: 1rem; margin-bottom: 0.6rem; letter-spacing: 1px; }

.reviews__card-quote {
	font-family: var(--font-body);
	font-style: italic;
	font-size: 0.9375rem;
	line-height: 1.6;
	color: #333438;
	margin: 0 0 0.85rem;
}

.reviews__card-name {
	font-family: var(--font-heading);
	font-weight: 600;
	font-size: 0.85rem;
	color: var(--color-navy);
}

.reviews__link {
	display: block;
	text-align: center;
	margin-top: 1.5rem;
	font-family: var(--font-heading);
	font-weight: 500;
	font-size: 0.9rem;
	color: var(--color-navy);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.reviews__link:hover { color: var(--color-green); }

.reviews__summary {
	font-family: var(--font-body);
	font-size: 0.95rem;
	color: #4A4B57;
	margin-top: 0.85rem;
}

.reviews__summary-score {
	font-family: var(--font-heading);
	font-weight: 700;
	color: var(--color-navy);
	font-size: 1.1rem;
}

.reviews__flash {
	display: inline-block;
	margin-top: 0.85rem;
	padding: 0.5rem 1rem;
	border-radius: 999px;
	font-family: var(--font-body);
	font-size: 0.82rem;
}

.reviews__flash--success { background: rgba(95, 154, 59, 0.12); color: #3D6B26; }
.reviews__flash--error { background: #FDE2E1; color: #A02622; }

/* --- Write a Review form ------------------------------------------- */

.reviews__form-toggle { margin-top: 2rem; text-align: center; }

.reviews__form-toggle summary {
	list-style: none;
	cursor: pointer;
}
.reviews__form-toggle summary::-webkit-details-marker { display: none; }

.reviews__form-button { display: inline-flex; }

.reviews__form {
	max-width: 480px;
	margin: 1.5rem auto 0;
	text-align: left;
	background: var(--color-cream);
	border-radius: 16px;
	padding: 1.75rem;
	display: flex;
	flex-direction: column;
	gap: 1.1rem;
}

.reviews__honeypot {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.reviews__form-row { display: flex; flex-direction: column; gap: 0.4rem; }

.reviews__form-row label,
.reviews__form-label {
	font-family: var(--font-heading);
	font-weight: 600;
	font-size: 0.85rem;
	color: var(--color-navy);
}

.reviews__form-row input[type="text"],
.reviews__form-row textarea {
	font-family: var(--font-body);
	font-size: 0.9rem;
	padding: 0.65rem 0.9rem;
	border: 1px solid var(--color-border);
	border-radius: 10px;
	background: var(--color-white);
	color: var(--color-ink);
	resize: vertical;
}

.reviews__form-row input[type="text"]:focus,
.reviews__form-row textarea:focus {
	outline: 2px solid var(--color-green);
	outline-offset: 1px;
}

/* Pure-CSS star rating: radios in reverse DOM order (5→1) + row-reverse
   flex, so hovering/checking a star also highlights every star before it
   in visual order without any JS. */
.reviews__star-input {
	display: flex;
	flex-direction: row-reverse;
	justify-content: flex-end;
	gap: 0.15rem;
	font-size: 1.6rem;
}

.reviews__star-input input[type="radio"] {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.reviews__star-input label {
	color: #D8D9E0;
	cursor: pointer;
	font-family: var(--font-body);
	font-weight: 400;
	transition: color 0.15s ease;
}

.reviews__star-input input[type="radio"]:checked ~ label,
.reviews__star-input label:hover,
.reviews__star-input label:hover ~ label {
	color: #F5B400;
}

.reviews__form-note {
	font-family: var(--font-body);
	font-size: 0.75rem;
	color: #9394A1;
	margin: 0;
}

/* ==========================================================================
   Section 11 — Comparison Table
   ========================================================================== */

.comparison { background: var(--color-cream); padding-block: 5rem; }

.comparison__inner {
	max-width: 780px;
	margin-inline: auto;
	padding-inline: 1.5rem;
}

.comparison__intro { text-align: center; margin-bottom: 2.5rem; }

.comparison__heading {
	font-family: var(--font-heading);
	font-weight: 600;
	font-size: clamp(1.75rem, 3.5vw, 2.25rem);
	color: var(--color-navy);
	margin: 0.5rem 0 0;
	line-height: 1.15;
}

.comparison__table-wrap {
	background: var(--color-white);
	border-radius: 16px;
	padding: 0.5rem 1.5rem 1.5rem;
	overflow-x: auto;
}

.comparison__table {
	width: 100%;
	min-width: 480px;
	border-collapse: collapse;
	font-family: var(--font-body);
	font-size: 0.875rem;
}

.comparison__table th {
	font-family: var(--font-heading);
	font-weight: 600;
	padding: 1rem;
	text-align: center;
	color: var(--color-navy);
	border-bottom: 2px solid var(--color-border);
}

.comparison__table td {
	padding: 0.9rem 1rem;
	text-align: center;
	border-bottom: 1px solid var(--color-border);
	color: #4A4B57;
}

.comparison__table tr:last-child td { border-bottom: none; }

.comparison__row-label,
th.comparison__row-label {
	text-align: left;
	font-weight: 600;
	color: var(--color-navy);
}

.comparison__col-truelyfe {
	background: rgba(95, 154, 59, 0.07);
	font-weight: 600;
	color: var(--color-navy);
}

th.comparison__col-truelyfe {
	background: var(--color-navy);
	color: var(--color-white);
	border-radius: 10px 10px 0 0;
}

.comparison__check--yes { color: var(--color-green); font-weight: 700; font-size: 1rem; }
.comparison__check--no { color: #C0392B; font-weight: 700; font-size: 1rem; }

.comparison__footnote {
	font-family: var(--font-body);
	font-size: 0.75rem;
	color: #9394A1;
	margin: 1rem 0 0;
}

.comparison__footnote a { color: var(--color-navy); }

/* ==========================================================================
   Section 12 — FAQ (reuses .ingredients__panel accordion styling)
   ========================================================================== */

.faq { background: var(--color-white); padding-block: 5rem; }

.faq__inner {
	max-width: 720px;
	margin-inline: auto;
	padding-inline: 1.5rem;
}

.faq__intro { text-align: center; margin-bottom: 2.5rem; }

.faq__heading {
	font-family: var(--font-heading);
	font-weight: 600;
	font-size: clamp(1.75rem, 3.5vw, 2.25rem);
	color: var(--color-navy);
	margin: 0.5rem 0 0;
	line-height: 1.15;
}

.faq__accordion {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.faq__panel .ingredients__panel-body a {
	color: var(--color-green);
	font-weight: 600;
	text-decoration: none;
}

/* ==========================================================================
   Section 13 — Blog Teaser
   ========================================================================== */

.blog-teaser { background: var(--color-cream); padding-block: 5rem; }

.blog-teaser__inner {
	max-width: var(--container-w);
	margin-inline: auto;
	padding-inline: 1.5rem;
	text-align: center;
}

.blog-teaser__intro { margin-bottom: 2.5rem; }

.blog-teaser__heading {
	font-family: var(--font-heading);
	font-weight: 600;
	font-size: clamp(1.75rem, 3.5vw, 2.25rem);
	color: var(--color-navy);
	margin: 0.5rem 0 0;
	line-height: 1.15;
}

.blog-teaser__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.5rem;
	text-align: left;
	margin-bottom: 2.5rem;
}

.blog-teaser__card {
	display: block;
	background: var(--color-white);
	border-radius: 16px;
	overflow: hidden;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.blog-teaser__card:hover {
	transform: translateY(-4px);
	box-shadow: 0 14px 26px rgba(29, 32, 69, 0.08);
}

.blog-teaser__card-image img {
	width: 100%;
	height: 180px;
	object-fit: cover;
	display: block;
}

.blog-teaser__card-body { padding: 1.25rem; }

.blog-teaser__card-title {
	font-family: var(--font-heading);
	font-weight: 600;
	font-size: 1.0625rem;
	color: var(--color-navy);
	margin: 0 0 0.5rem;
	line-height: 1.3;
}

.blog-teaser__card-excerpt {
	font-family: var(--font-body);
	font-size: 0.875rem;
	color: #6B6C77;
	line-height: 1.6;
	margin: 0;
}

.blog-teaser__empty {
	font-family: var(--font-body);
	color: #8A8B95;
	margin-bottom: 2.5rem;
}

@media (min-width: 800px) {
	.blog-teaser__grid { grid-template-columns: repeat(3, 1fr); }
}

/* ==========================================================================
   Section 14 — Final CTA / Buy Block
   ========================================================================== */

.final-cta { background: var(--color-navy); padding-block: 5rem; }

.final-cta__inner {
	max-width: var(--container-w);
	margin-inline: auto;
	padding-inline: 1.5rem;
	display: grid;
	grid-template-columns: 1fr;
	gap: 2.5rem;
	align-items: center;
}

.final-cta__media { display: flex; justify-content: center; }

.final-cta__img {
	width: 100%;
	max-width: 220px;
	height: auto;
	border-radius: 16px;
	filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.35));
}

.final-cta__copy { text-align: center; }

.final-cta__headline {
	font-family: var(--font-heading);
	font-weight: 600;
	font-size: clamp(1.75rem, 3.5vw, 2.5rem);
	line-height: 1.15;
	color: var(--color-white);
	margin: 0 0 1rem;
}

.final-cta__price {
	font-family: var(--font-heading);
	font-weight: 600;
	font-size: 1.125rem;
	color: var(--color-white);
	margin: 0 0 1.5rem;
}

.final-cta__price span {
	font-family: var(--font-body);
	font-weight: 400;
	font-size: 0.875rem;
	color: rgba(255, 255, 255, 0.65);
}

.final-cta__buy { margin-bottom: 1.5rem; }

.final-cta__badges { justify-content: center; }
.final-cta__badges li { background: rgba(255, 255, 255, 0.12); color: var(--color-white); }

@media (min-width: 800px) {
	.final-cta__inner { grid-template-columns: 0.8fr 1.2fr; }
	.final-cta__copy { text-align: left; }
	.final-cta__badges { justify-content: flex-start; }
}

/* ==========================================================================
   Section 15 — Footer
   Logo is inverted to white via filter since assets/images/logo.png is
   dark navy/green — fine here since it's just for a dark background, but
   flag if a dedicated white/reversed logo file ever becomes available.
   ========================================================================== */

.site-footer { background: var(--color-navy); padding-block: 4rem 2rem; }

.site-footer__inner {
	max-width: var(--container-w);
	margin-inline: auto;
	padding-inline: 1.5rem;
}

.site-footer__top {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2.5rem;
	padding-bottom: 3rem;
	border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.site-footer__logo {
	height: 24px;
	width: auto;
	filter: brightness(0) invert(1);
	margin-bottom: 1rem;
	opacity: 0.95;
}

.site-footer__disclaimer {
	font-family: var(--font-body);
	font-size: 0.8rem;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.6);
	margin: 0;
	max-width: 24rem;
}

.site-footer__nav-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.65rem;
}

.site-footer__nav-list a {
	font-family: var(--font-heading);
	font-size: 0.9rem;
	color: rgba(255, 255, 255, 0.85);
}

.site-footer__nav-list a:hover { color: var(--color-green); }

.site-footer__signup-title {
	font-family: var(--font-heading);
	font-weight: 600;
	font-size: 1rem;
	color: var(--color-white);
	margin: 0 0 0.5rem;
}

.site-footer__signup-copy {
	font-family: var(--font-body);
	font-size: 0.8rem;
	color: rgba(255, 255, 255, 0.6);
	margin: 0 0 1rem;
	line-height: 1.5;
}

.site-footer__signup-form { display: flex; gap: 0.5rem; }

.site-footer__signup-form input {
	flex: 1;
	min-width: 0;
	padding: 0.65rem 0.9rem;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, 0.25);
	background: rgba(255, 255, 255, 0.08);
	color: var(--color-white);
	font-family: var(--font-body);
	font-size: 0.875rem;
}

.site-footer__signup-form input::placeholder { color: rgba(255, 255, 255, 0.5); }

.site-footer__signup-form .btn {
	padding: 0.65rem 1.25rem;
	font-size: 0.82rem;
	white-space: nowrap;
}

.site-footer__bottom {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	align-items: center;
	text-align: center;
	padding-top: 2rem;
}

.site-footer__legal p {
	margin: 0 0 0.5rem;
	font-family: var(--font-body);
	font-size: 0.8rem;
}

.site-footer__legal p:first-child a {
	color: rgba(255, 255, 255, 0.85);
	margin-inline-end: 1rem;
	font-family: var(--font-heading);
	font-weight: 500;
}

.site-footer__legal p:first-child a:hover { color: var(--color-green); }

.site-footer__company {
	color: rgba(255, 255, 255, 0.55);
	line-height: 1.7;
}

.site-footer__company a { color: rgba(255, 255, 255, 0.75); }

.site-footer__company strong {
	color: #FFD27A;
	font-weight: 700;
}

.site-footer__social { display: flex; gap: 0.75rem; }

.site-footer__social a {
	width: 36px;
	height: 36px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.08);
	display: flex;
	align-items: center;
	justify-content: center;
	color: rgba(255, 255, 255, 0.8);
	transition: background-color 0.2s ease, color 0.2s ease;
}

.site-footer__social a:hover { background: var(--color-green); color: var(--color-white); }

.site-footer__copyright {
	font-family: var(--font-body);
	font-size: 0.75rem;
	color: rgba(255, 255, 255, 0.4);
	margin: 0;
}

/* ==========================================================================
   Product Detail page (barcode/QR landing page)
   Denser, "Amazon-style" buy-box layout — distinct from the homepage's
   marketing hero on purpose (see page-product-detail.php doc-comment).
   ========================================================================== */

.product-page__breadcrumb {
	max-width: var(--container-w);
	margin: 0 auto;
	padding: 1.25rem 1.5rem 0;
	font-family: var(--font-body);
	font-size: 0.8rem;
	color: #8A8B95;
}

.product-page__breadcrumb a { color: var(--color-navy); }
.product-page__breadcrumb span[aria-hidden] { margin: 0 0.5rem; }

.product-page__hero { padding: 1.5rem 0 3rem; }

.product-page__hero-inner {
	max-width: var(--container-w);
	margin: 0 auto;
	padding: 0 1.5rem;
	display: grid;
	grid-template-columns: 1fr;
	gap: 2.5rem;
}

.product-page__gallery-main {
	background: var(--color-cream);
	border-radius: 16px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 2rem;
}

.product-page__gallery-main img {
	width: 100%;
	max-width: 280px;
	height: auto;
	display: block;
}

.product-page__gallery-thumbs { display: flex; gap: 0.75rem; margin-top: 0.85rem; }

.product-page__gallery-thumb {
	border: 2px solid transparent;
	border-radius: 10px;
	background: var(--color-cream);
	padding: 0.35rem;
	cursor: pointer;
	line-height: 0;
}

.product-page__gallery-thumb img { width: 48px; height: 48px; object-fit: contain; display: block; }
.product-page__gallery-thumb.is-active { border-color: var(--color-green); }

.product-page__brand {
	font-family: var(--font-heading);
	font-weight: 600;
	font-size: 0.8rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--color-green);
	margin: 0 0 0.4rem;
}

.product-page__title {
	font-family: var(--font-heading);
	font-weight: 600;
	font-size: clamp(1.5rem, 3vw, 2rem);
	line-height: 1.25;
	color: var(--color-navy);
	margin: 0 0 0.75rem;
}

.product-page__rating {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	margin-bottom: 1rem;
	font-family: var(--font-body);
	font-size: 0.9rem;
}

.product-page__rating-stars { color: #F5B400; letter-spacing: 1px; }
.product-page__rating a { color: var(--color-navy); text-decoration: underline; }

.product-page__price {
	font-family: var(--font-heading);
	font-weight: 700;
	font-size: 1.75rem;
	color: var(--color-navy);
	margin: 0 0 1.25rem;
}

.product-page__price span {
	font-family: var(--font-body);
	font-weight: 400;
	font-size: 0.85rem;
	color: #8A8B95;
}

.product-page__facts {
	list-style: none;
	margin: 0 0 1.5rem;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	font-family: var(--font-body);
	font-size: 0.9rem;
	color: #4A4B57;
}

.product-page__facts strong { color: var(--color-navy); }

.product-page__buy { width: 100%; text-align: center; margin-bottom: 1.25rem; }

.product-page__badges { justify-content: flex-start; margin-bottom: 1.5rem; }

.product-page__scanned-note {
	font-family: var(--font-body);
	font-size: 0.85rem;
	line-height: 1.6;
	color: #4A4B57;
	background: var(--color-cream);
	border-radius: 12px;
	padding: 0.9rem 1.1rem;
	margin: 0;
}

@media (min-width: 900px) {
	.product-page__hero-inner { grid-template-columns: 1fr 1fr; align-items: start; }
	.product-page__buybox { position: sticky; top: 96px; }
}

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

@media (min-width: 800px) {
	.site-footer__top { grid-template-columns: 1.2fr 1fr 1fr; gap: 3rem; }
	.site-footer__bottom { flex-direction: row; justify-content: space-between; text-align: left; }
}
