/* =====================================================================
   GlowStrong — Homepage styles (Module 4)
   Loaded only on the front page. Inherits tokens + shared components
   from global.css. Mobile-first; motion is subtle and reduced-motion safe.
   ===================================================================== */

/* ---------- Hero ---------- */
.gs-home-hero { padding-block: var(--gs-space-9) var(--gs-space-8);
    background:
        radial-gradient(120% 110% at 90% -10%, var(--gs-glow-soft) 0%, transparent 42%),
        radial-gradient(100% 100% at -10% 110%, rgba(94,139,126,0.16) 0%, transparent 45%),
        var(--gs-canvas);
}
.gs-home-hero__stats { display: flex; flex-wrap: wrap; gap: var(--gs-space-6); margin-top: var(--gs-space-7); }
.gs-home-hero__stats .gs-stat { text-align: left; }
.gs-home-hero__media {
    background:
        radial-gradient(120% 120% at 20% 10%, var(--gs-glow-soft) 0%, transparent 55%),
        linear-gradient(160deg, var(--gs-sage) 0%, var(--gs-sage-deep) 100%);
    will-change: transform;
}

/* ---------- Scan centerpiece ---------- */
.gs-home-scan__steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--gs-space-4); }
.gs-home-scan__step { display: flex; gap: var(--gs-space-4); align-items: flex-start; }
.gs-home-scan__num { flex: 0 0 auto; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%;
    background: var(--gs-glow); color: var(--gs-ink); font-weight: 700; font-family: var(--gs-font-heading); }
.gs-home-scan__copy strong { display: block; color: var(--gs-white); margin-bottom: 2px; }
.gs-home-scan__copy span { color: rgba(238,241,246,0.72); font-size: var(--gs-fs-sm); }

/* ---------- Home product loops (Woo shortcodes) ---------- */
.gs-home .woocommerce ul.products, .gs-home ul.products {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gs-space-5); list-style: none; margin: 0; padding: 0;
}
@media (min-width: 900px) { .gs-home ul.products { grid-template-columns: repeat(4, 1fr); } }
.gs-home ul.products li.product { width: auto !important; margin: 0 !important; float: none !important;
    background: var(--gs-surface); border: 1px solid var(--gs-border); border-radius: var(--gs-radius-lg); padding: var(--gs-space-4); }
.gs-home ul.products li.product img { border-radius: var(--gs-radius); margin-bottom: var(--gs-space-3); }
.gs-home .gs-section--dark ul.products li.product { background: var(--gs-charcoal); border-color: rgba(255,255,255,0.08); }
.gs-home .gs-section--dark ul.products li.product .woocommerce-loop-product__title,
.gs-home .gs-section--dark ul.products li.product .price { color: var(--gs-white); }

/* ---------- Science ---------- */
.gs-science__inner { display: grid; gap: var(--gs-space-7); }
@media (min-width: 900px) { .gs-science__inner { grid-template-columns: 0.9fr 1.1fr; align-items: start; } }
.gs-science__grid { display: grid; gap: var(--gs-space-5); }
@media (min-width: 640px) { .gs-science__grid { grid-template-columns: 1fr 1fr; } }
.gs-science__item { background: var(--gs-surface); border: 1px solid var(--gs-border); border-radius: var(--gs-radius); padding: var(--gs-space-5); }
.gs-science__item h3 { font-size: var(--gs-fs-lg); margin-bottom: var(--gs-space-2); }
.gs-science__item p { color: var(--gs-text-muted); font-size: var(--gs-fs-sm); }

/* ---------- Journey / how it works ---------- */
.gs-journey__track { display: grid; gap: var(--gs-space-5); counter-reset: step; }
@media (min-width: 768px) { .gs-journey__track { grid-template-columns: repeat(4, 1fr); } }
.gs-journey__step { position: relative; background: var(--gs-surface); border: 1px solid var(--gs-border); border-radius: var(--gs-radius-lg); padding: var(--gs-space-6); }
.gs-journey__num { font-family: var(--gs-font-heading); font-size: var(--gs-fs-2xl); color: var(--gs-glow); display: block; margin-bottom: var(--gs-space-2); }
.gs-journey__title { font-size: var(--gs-fs-lg); margin-bottom: var(--gs-space-2); }
.gs-journey__text { color: var(--gs-text-muted); font-size: var(--gs-fs-sm); }

/* ---------- Testimonials ---------- */
.gs-quote { background: var(--gs-surface); border: 1px solid var(--gs-border); border-radius: var(--gs-radius-lg); padding: var(--gs-space-6); margin: 0; }
.gs-quote__stars { color: var(--gs-glow); letter-spacing: 2px; margin-bottom: var(--gs-space-3); }
.gs-quote__text { font-family: var(--gs-font-heading); font-size: var(--gs-fs-lg); line-height: var(--gs-lh-snug); color: var(--gs-ink); margin-bottom: var(--gs-space-4); }
.gs-quote__by strong { display: block; color: var(--gs-ink); }
.gs-quote__by span { font-size: var(--gs-fs-xs); color: var(--gs-text-muted); }

/* ---------- Before / after (compliant) ---------- */
.gs-ba { display: grid; gap: var(--gs-space-4); align-items: center; grid-template-columns: 1fr; max-width: 760px; margin-inline: auto; }
@media (min-width: 640px) { .gs-ba { grid-template-columns: 1fr auto 1fr; } }
.gs-ba__panel { margin: 0; text-align: center; }
.gs-ba__img { aspect-ratio: 4/5; border-radius: var(--gs-radius-lg); display: grid; place-items: center; color: var(--gs-white); font-family: var(--gs-font-heading); font-size: var(--gs-fs-lg); box-shadow: var(--gs-shadow); }
.gs-ba__img--before { background: linear-gradient(160deg, #8d96a6, #5a6478); }
.gs-ba__img--after { background: linear-gradient(160deg, var(--gs-sage), var(--gs-sage-deep)); }
.gs-ba__panel figcaption { margin-top: var(--gs-space-3); color: var(--gs-text-muted); font-size: var(--gs-fs-sm); }
.gs-ba__arrow { font-size: var(--gs-fs-2xl); color: var(--gs-glow); text-align: center; }
.gs-ba__disclaimer { max-width: 70ch; margin: var(--gs-space-6) auto 0; text-align: center; font-size: var(--gs-fs-xs); color: var(--gs-text-muted); }

/* ---------- Newsletter ---------- */
.gs-newsletter__form { display: flex; gap: var(--gs-space-2); max-width: 480px; margin: var(--gs-space-5) auto 0; flex-wrap: wrap; }
.gs-newsletter__form input[type="email"] { flex: 1 1 220px; border: 1px solid var(--gs-border); border-radius: var(--gs-radius-pill); padding: 0.85em 1.3em; font-size: var(--gs-fs-base); background: var(--gs-surface); }
.gs-newsletter__form input[type="email"]:focus-visible { outline: 2px solid var(--gs-sage); }
.gs-newsletter__msg { min-height: 1.4em; margin-top: var(--gs-space-3); font-size: var(--gs-fs-sm); color: var(--gs-sage-deep); font-weight: 600; }
.gs-newsletter__fine { font-size: var(--gs-fs-xs); color: var(--gs-text-muted); margin-top: var(--gs-space-2); }

/* ---------- Final CTA helpers ---------- */
.gs-final-cta .gs-btn--on-dark-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.5); }
.gs-final-cta .gs-btn--on-dark-ghost:hover { background: rgba(255,255,255,0.1); color: #fff; }

/* ---------- Section rhythm: alternate subtle entrance ---------- */
@media (prefers-reduced-motion: no-preference) {
    .gs-home [data-gs-reveal] { will-change: opacity, transform; }
}

/* =====================================================================
   PREMIUM HOMEPAGE REDESIGN (below hero) — luxury spacing & polish
   ===================================================================== */
.gs-home .gs-section{padding-block:6rem}
@media (max-width:768px){.gs-home .gs-section{padding-block:4rem}}
.gs-home .gs-section__head{margin-bottom:3.25rem}
.gs-home h2{font-size:clamp(2rem,1.5rem+2vw,3rem);letter-spacing:-.02em}

/* Feature cards (Why GlowStrong) */
.gs-feature{padding:2.75rem 2.25rem;border-radius:22px;transition:transform .45s cubic-bezier(.22,1,.36,1),box-shadow .45s cubic-bezier(.22,1,.36,1)}
.gs-feature:hover{transform:translateY(-6px);box-shadow:0 24px 60px rgba(13,36,74,.12)}
.gs-feature__icon{display:inline-grid;place-items:center;width:62px;height:62px;border-radius:16px;background:var(--gs-surface-2);color:var(--gs-navy-2,#173A73);font-size:1.5rem;margin-bottom:1.4rem}
.gs-feature__title{font-size:1.35rem;margin-bottom:.6rem}
.gs-feature__text{color:var(--gs-text-muted);font-size:.98rem;line-height:1.7}

/* How It Works — vertical stepper with arrows */
.gs-how__steps{list-style:none;margin:0 auto;padding:0;max-width:680px;display:flex;flex-direction:column;gap:1.1rem}
.gs-how__step{position:relative;display:flex;gap:1.4rem;align-items:flex-start;background:var(--gs-surface);border:1px solid var(--gs-border);border-radius:20px;padding:1.6rem 1.9rem;box-shadow:0 8px 30px rgba(13,36,74,.06)}
.gs-how__num{flex:0 0 auto;width:52px;height:52px;display:grid;place-items:center;border-radius:50%;background:var(--gs-navy,#0D244A);color:#fff;font-family:var(--gs-font-heading);font-size:1.5rem;font-weight:600}
.gs-how__title{display:block;font-family:var(--gs-font-heading);font-size:1.2rem;color:var(--gs-ink);margin-bottom:.2rem}
.gs-how__text{display:block;color:var(--gs-text-muted);font-size:.95rem}
.gs-how__arrow{position:absolute;left:50%;bottom:-1.45rem;transform:translateX(-50%);color:var(--gs-red,#C00000);font-size:1.3rem;line-height:1;z-index:1}

/* Scan CTA — large premium panel */
.gs-scan-cta__panel{position:relative;overflow:hidden;text-align:center;border-radius:30px;padding:5.5rem 2rem;color:#fff;
  background:radial-gradient(120% 130% at 100% 0,rgba(192,0,0,.28) 0,transparent 55%),linear-gradient(160deg,#173A73 0%,#0D244A 70%)}
.gs-scan-cta__title{color:#fff;font-size:clamp(2rem,1.4rem+2.6vw,3.4rem);line-height:1.12;max-width:18ch;margin:0 auto .9rem}
.gs-scan-cta__text{color:rgba(255,255,255,.82);font-size:1.15rem;max-width:52ch;margin:0 auto 2rem}
.gs-scan-cta__btn{font-size:1rem;padding:1.05em 2.2em}

/* Guide cards */
.gs-guide-card{display:flex;flex-direction:column;background:#0F2A55;border:1px solid rgba(255,255,255,.08);border-radius:20px;padding:2rem 1.7rem;transition:transform .45s cubic-bezier(.22,1,.36,1)}
.gs-guide-card:hover{transform:translateY(-6px)}
.gs-guide-card__tag{align-self:flex-start;font-size:.7rem;font-weight:700;letter-spacing:.12em;padding:.3em .7em;border-radius:999px;background:rgba(200,0,0,.18);color:#ff8a8a;margin-bottom:1.1rem}
.gs-guide-card__title{color:#fff;font-size:1.18rem;margin-bottom:.5rem}
.gs-guide-card__text{color:rgba(255,255,255,.7);font-size:.92rem;line-height:1.6;flex:1}
.gs-guide-card__link{margin-top:1.1rem;color:#fff;font-weight:600;font-size:.9rem}

/* Trust strip */
.gs-trust-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:1.5rem}
@media (min-width:760px){.gs-trust-grid{grid-template-columns:repeat(4,1fr)}}
.gs-trust-item{display:flex;flex-direction:column;align-items:center;gap:.7rem;padding:1.75rem 1rem;background:var(--gs-surface);border:1px solid var(--gs-border);border-radius:18px;text-align:center}
.gs-trust-item__icon{width:50px;height:50px;display:grid;place-items:center;border-radius:14px;background:var(--gs-surface-2);color:var(--gs-navy-2,#173A73);font-size:1.3rem}
.gs-trust-item__label{font-weight:600;color:var(--gs-ink);font-size:.98rem}

/* Newsletter panel */
.gs-newsletter__panel{text-align:center;border-radius:30px;padding:4.5rem 2rem;background:linear-gradient(160deg,#F7F9FC,#EEF2F8);border:1px solid var(--gs-border)}
.gs-newsletter__panel .gs-newsletter__form{margin-top:1.8rem}

/* Best sellers — large product cards */
.gs-bestsellers ul.products li.product{padding:1.4rem;border-radius:20px;transition:transform .45s cubic-bezier(.22,1,.36,1),box-shadow .45s cubic-bezier(.22,1,.36,1)}
.gs-bestsellers ul.products li.product:hover{transform:translateY(-6px);box-shadow:0 24px 60px rgba(13,36,74,.12)}

/* Goal cards spacing on home */
.gs-goals-section .gs-goal{min-height:160px;border-radius:20px}

/* =====================================================================
   SPRINT 1.2 — Above-the-fold hero upgrade
   Additive + isolated to the classes below. Theme-aware (semantic tokens),
   mobile-first, reduced-motion safe (global.css disables animation on
   prefers-reduced-motion). No images or external assets are used.
   ===================================================================== */

.gs-hero__trust {
    list-style: none; padding: 0;
    margin: var(--gs-space-7) 0 0;
    display: flex; flex-wrap: wrap;
    gap: var(--gs-space-4) var(--gs-space-6);
}
.gs-hero__trust-item {
    display: flex; align-items: center; gap: var(--gs-space-3);
    font-size: var(--gs-fs-sm); font-weight: 600; color: var(--gs-text);
}
.gs-hero__trust-ico {
    flex: none; display: grid; place-items: center;
    width: 36px; height: 36px; border-radius: var(--gs-radius-pill);
    background: var(--gs-surface-2); color: var(--gs-heading);
    border: 1px solid var(--gs-border);
}
.gs-hero__trust-ico svg { width: 19px; height: 19px; }

/* AI-inspired visual panel (self-contained deep gradient; premium in both themes) */
.gs-home-hero__viz {
    position: relative; overflow: hidden;
    display: grid; place-items: center;
    background:
        radial-gradient(120% 120% at 25% 12%, rgba(31, 78, 140, 0.55) 0%, transparent 55%),
        linear-gradient(160deg, #10294D 0%, #081A38 100%);
    border: 1px solid var(--gs-border);
    box-shadow: var(--gs-shadow-lg);
}
.gs-home-hero__viz .gs-viz { width: 100%; height: 100%; display: block; }

/* SVG motif styling */
.gs-viz__ring { fill: none; stroke: rgba(159, 192, 238, 0.28); stroke-width: 1; }
.gs-viz__ring--faint { stroke: rgba(159, 192, 238, 0.16); }
.gs-viz__link { stroke: rgba(233, 240, 250, 0.16); stroke-width: 1; }
.gs-viz__node { fill: rgba(233, 240, 250, 0.92); }
.gs-viz__node--accent { fill: var(--gs-glow); }
.gs-viz__core { filter: drop-shadow(0 0 14px rgba(192, 0, 0, 0.55)); }
.gs-viz__pulse { fill: none; stroke: rgba(159, 192, 238, 0.55); stroke-width: 1.5; transform-origin: 205px 235px; animation: gsVizPulse 3.6s var(--gs-ease) infinite; }
.gs-viz__spin { transform-origin: 205px 235px; animation: gsVizSpin 44s linear infinite; }
.gs-viz__node--twinkle { animation: gsVizTwinkle 3.2s ease-in-out infinite; }

@keyframes gsVizPulse { 0% { opacity: 0.75; transform: scale(0.55); } 70% { opacity: 0; transform: scale(1.35); } 100% { opacity: 0; transform: scale(1.35); } }
@keyframes gsVizSpin  { to { transform: rotate(360deg); } }
@keyframes gsVizTwinkle { 0%, 100% { opacity: 0.35; } 50% { opacity: 1; } }

/* Mobile-first: on small screens the visual sits below the copy and is shorter. */
@media (max-width: 899.98px) {
    .gs-hero__trust { gap: var(--gs-space-3) var(--gs-space-5); }
}

/* =====================================================================
   SPRINT 1.3 — AI Tools section (below hero)
   Additive + isolated. Theme-aware (semantic tokens), mobile-first,
   reduced-motion safe (global.css disables animation on reduced motion).
   ===================================================================== */

.gs-ai-tools {
    position: relative;
    background:
        radial-gradient(90% 60% at 50% -10%, var(--gs-info-bg) 0%, transparent 60%),
        var(--gs-bg);
}
.gs-ai-tools__grid { margin-top: var(--gs-space-7); align-items: stretch; }

/* Premium AI card — extends the shared .gs-card primitive. */
.gs-ai-card {
    position: relative;
    display: flex; flex-direction: column; align-items: flex-start;
    overflow: hidden;
    padding-top: var(--gs-space-7);
}
/* Brand accent hairline across the top of each card. */
.gs-ai-card::before {
    content: ""; position: absolute; inset: 0 0 auto 0; height: 3px;
    background: linear-gradient(90deg, var(--gs-sage) 0%, var(--gs-glow) 100%);
    opacity: 0.9;
}
/* Soft corner glow that warms on hover (subtle motion, no layout shift). */
.gs-ai-card::after {
    content: ""; position: absolute; top: -40%; right: -30%;
    width: 220px; height: 220px; border-radius: 50%;
    background: radial-gradient(circle, var(--gs-info-bg) 0%, transparent 70%);
    opacity: 0; transition: opacity var(--gs-dur) var(--gs-ease);
    pointer-events: none;
}
.gs-ai-card:hover::after, .gs-ai-card:focus-within::after { opacity: 1; }

.gs-ai-card__icon {
    width: 52px; height: 52px; font-size: 1.35rem;
    animation: gsAiFloat 6s var(--gs-ease-in-out) infinite;
}
.gs-ai-card:hover .gs-ai-card__icon { color: var(--gs-accent); }
@keyframes gsAiFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }

.gs-ai-card__tag { margin-bottom: var(--gs-space-3); }
.gs-ai-card__title { font-family: var(--gs-font-heading); font-size: var(--gs-fs-xl); color: var(--gs-heading); margin-bottom: var(--gs-space-2); }
.gs-ai-card__text { color: var(--gs-text-muted); font-size: var(--gs-fs-sm); }
.gs-ai-card__cta { margin-top: var(--gs-space-6); }

/* Mobile-first: single column with comfortable spacing already via .gs-grid. */
@media (min-width: 640px) { .gs-ai-tools__grid { gap: var(--gs-space-6); } }

/* =====================================================================
   SPRINT 1.4 — Shop by Goal grid
   Additive + isolated. Theme-aware (semantic tokens), mobile-first
   (.gs-grid--4: 1 col -> 2 @640 -> 4 @900), reduced-motion safe.
   ===================================================================== */

.gs-goals-section .gs-section__head { margin-bottom: var(--gs-space-7); }
.gs-goals-grid-v2 { align-items: stretch; }

/* Goal card — extends the shared .gs-card primitive. */
.gs-goal-card { position: relative; display: flex; flex-direction: column; align-items: flex-start; }
.gs-goal-card__icon { color: var(--gs-heading); transition: color var(--gs-dur) var(--gs-ease), background var(--gs-dur) var(--gs-ease); }
.gs-goal-card:hover .gs-goal-card__icon,
.gs-goal-card:focus-within .gs-goal-card__icon { color: var(--gs-accent); }

.gs-goal-card__title { font-family: var(--gs-font-heading); font-size: var(--gs-fs-lg); color: var(--gs-heading); margin-bottom: var(--gs-space-2); }
.gs-goal-card__text { color: var(--gs-text-muted); font-size: var(--gs-fs-sm); flex: 1 1 auto; }


/* =====================================================================
   SPRINT 1.5 — Featured Products showcase
   Additive + isolated. Theme-aware (semantic tokens), mobile-first
   (.gs-grid--4), reduced-motion safe. Empty state reuses .gs-empty (1.0).
   ===================================================================== */

.gs-featured__grid { align-items: stretch; margin-top: var(--gs-space-6); }

/* Product card — extends .gs-card; image is flush, body is padded. */
.gs-product-card { position: relative; padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.gs-product-card__media {
    display: block; aspect-ratio: 1 / 1; overflow: hidden;
    background: var(--gs-surface-2); padding: var(--gs-space-4);
}
.gs-product-card__img {
    width: 100%; height: 100%; object-fit: contain;
    transition: transform var(--gs-dur) var(--gs-ease);
}
.gs-product-card:hover .gs-product-card__img { transform: scale(1.04); }

.gs-product-card__body {
    display: flex; flex-direction: column; align-items: flex-start;
    gap: var(--gs-space-2); padding: var(--gs-space-5); flex: 1 1 auto;
}
.gs-product-card__title {
    font-family: var(--gs-font-heading); font-size: var(--gs-fs-lg); color: var(--gs-heading);
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
/* Module 6: one real goal/category label — small, quiet, silver. */
.gs-product-card__goal {
    margin: 0; font-size: var(--gs-fs-xs); font-weight: 700;
    letter-spacing: 0.08em; text-transform: uppercase; color: var(--gs-text-muted);
}
.gs-product-card__price { margin-top: var(--gs-space-1); font-weight: 700; color: var(--gs-heading); font-size: var(--gs-fs-base); }
.gs-product-card__price del { color: var(--gs-text-muted); font-weight: 500; margin-right: 0.4em; }
.gs-product-card__price ins { text-decoration: none; }

/* Rating stars — decorative visual + screen-reader text supplied in markup. */
.gs-product-card__rating { display: flex; align-items: center; gap: 0.45em; }
.gs-stars { position: relative; display: inline-block; width: 5.4em; height: 1.05em; font-size: 0.9rem; line-height: 1; }
.gs-stars::before, .gs-stars::after {
    content: "\2605\2605\2605\2605\2605"; position: absolute; left: 0; top: 0;
    letter-spacing: 0.12em; white-space: nowrap;
}
.gs-stars::before { color: var(--gs-border); }
.gs-stars::after { color: var(--gs-glow); overflow: hidden; width: calc(var(--gs-rating, 0) / 5 * 100%); }
.gs-product-card__rating-num { font-size: var(--gs-fs-xs); color: var(--gs-text-muted); }

.gs-product-card__cta { margin-top: var(--gs-space-4); align-self: stretch; }
/* Stretched link: whole card is clickable; ring shown on the card. */
.gs-product-card__cta::after { content: ""; position: absolute; inset: 0; border-radius: var(--gs-radius-lg); }
.gs-product-card:focus-within { outline: 2px solid var(--gs-focus); outline-offset: 3px; }
.gs-product-card__cta:focus-visible { outline: none; }

/* =====================================================================
   SPRINT 1.6 — Why GlowStrong (four pillars)
   Additive + isolated. Theme-aware (semantic tokens), mobile-first
   (.gs-grid--4), reduced-motion safe. Uses the shared .gs-card__icon.
   ===================================================================== */

.gs-why__grid { align-items: stretch; margin-top: var(--gs-space-6); }
.gs-why-card { display: flex; flex-direction: column; align-items: flex-start; }
.gs-why-card__icon { color: var(--gs-heading); transition: color var(--gs-dur) var(--gs-ease), background var(--gs-dur) var(--gs-ease); }
.gs-why-card:hover .gs-why-card__icon,
.gs-why-card:focus-within .gs-why-card__icon { color: var(--gs-accent); }
.gs-why-card__title { font-family: var(--gs-font-heading); font-size: var(--gs-fs-lg); color: var(--gs-heading); margin-bottom: var(--gs-space-2); }
.gs-why-card__text { color: var(--gs-text-muted); font-size: var(--gs-fs-sm); }

/* =====================================================================
   SPRINT 1.7 — How It Works (three steps)
   Additive + isolated. Theme-aware (semantic tokens), mobile-first
   (stacked with vertical connector -> 3 columns with a flowing horizontal
   connector at >=768px), reduced-motion safe.
   ===================================================================== */

/* Module 4 — five-step journey. Compact vertical timeline (mobile + tablet),
   five equal columns on one horizontal rail at >=1024px. */
.gs-steps {
    position: relative; list-style: none; margin: var(--gs-space-7) auto 0; padding: 0;
    display: grid; gap: var(--gs-space-5); max-width: 560px;
}
.gs-step { position: relative; display: flex; align-items: flex-start; gap: var(--gs-space-4); }

.gs-step__marker {
    position: relative; z-index: 1; flex: 0 0 auto;
    display: grid; place-items: center; width: 40px; height: 40px;
    border-radius: var(--gs-radius-pill);
    background: var(--gs-surface); border: 1px solid var(--gs-border);
    box-shadow: var(--gs-shadow-sm);
}
.gs-step__num { font-family: var(--gs-font-heading); font-size: var(--gs-fs-base); font-weight: 600; color: var(--gs-accent); }
.gs-step__title { font-family: var(--gs-font-heading); font-size: var(--gs-fs-base); color: var(--gs-heading); margin: 0.5rem 0 var(--gs-space-1); }
.gs-step__text { color: var(--gs-text-muted); font-size: var(--gs-fs-sm); max-width: 46ch; }

/* Vertical rail between markers (mobile + tablet timeline). */
.gs-step:not(:last-child)::after {
    content: ""; position: absolute; z-index: 0;
    left: 19px; top: 44px; bottom: calc(-1 * var(--gs-space-5) - 4px);
    width: 2px; background: var(--gs-border);
}

@media (min-width: 1024px) {
    .gs-steps { grid-template-columns: repeat(5, 1fr); gap: var(--gs-space-4); max-width: none; }
    .gs-step { flex-direction: column; gap: var(--gs-space-3); }
    .gs-step__marker { width: 48px; height: 48px; }
    .gs-step__title { margin: 0 0 var(--gs-space-1); }
    .gs-step__text { max-width: 26ch; }
    .gs-step:not(:last-child)::after { display: none; }
    /* One horizontal journey rail behind the marker row (subtle motion). */
    .gs-steps::before {
        content: ""; position: absolute; z-index: 0; top: 23px; left: 10%; right: 10%; height: 2px;
        background: linear-gradient(90deg, var(--gs-border), var(--gs-accent), var(--gs-border));
        background-size: 200% 100%; animation: gsStepFlow 6s linear infinite;
    }
}
@keyframes gsStepFlow { to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) {
    .gs-steps::before { animation: none; background: var(--gs-border); }
}

/* =====================================================================
   SPRINT 1.8 — Guides / Learn education preview
   Additive + isolated. Theme-aware (semantic tokens), mobile-first
   (.gs-grid--4), reduced-motion safe. Uses the shared .gs-card__icon.
   ===================================================================== */

.gs-guides__grid { align-items: stretch; margin-top: var(--gs-space-6); }
.gs-guide-card-v2 { position: relative; display: flex; flex-direction: column; align-items: flex-start; }
.gs-guide-card-v2__icon { color: var(--gs-heading); transition: color var(--gs-dur) var(--gs-ease), background var(--gs-dur) var(--gs-ease); }
.gs-guide-card-v2:hover .gs-guide-card-v2__icon,
.gs-guide-card-v2:focus-within .gs-guide-card-v2__icon { color: var(--gs-accent); }
.gs-guide-card-v2__title { font-family: var(--gs-font-heading); font-size: var(--gs-fs-lg); color: var(--gs-heading); margin-bottom: var(--gs-space-2); }
.gs-guide-card-v2__text { color: var(--gs-text-muted); font-size: var(--gs-fs-sm); flex: 1 1 auto; }
.gs-guide-card-v2__cta {
    margin-top: var(--gs-space-4);
    display: inline-flex; align-items: center; gap: 0.4em;
    font-weight: 600; font-size: var(--gs-fs-sm); color: var(--gs-link);
    transition: gap var(--gs-dur) var(--gs-ease), color var(--gs-dur) var(--gs-ease);
}
.gs-guide-card-v2:hover .gs-guide-card-v2__cta { gap: 0.75em; color: var(--gs-accent); }
/* Stretched link: whole card clickable; focus ring shown on the card. */
.gs-guide-card-v2__cta::after { content: ""; position: absolute; inset: 0; border-radius: var(--gs-radius-lg); }
.gs-guide-card-v2:focus-within { outline: 2px solid var(--gs-focus); outline-offset: 3px; }
.gs-guide-card-v2__cta:focus-visible { outline: none; }

/* =====================================================================
   SPRINT 1.9 — Trust / Standards (four principles)
   Additive + isolated. Theme-aware (semantic tokens), mobile-first
   (.gs-grid--4), reduced-motion safe. Seal-style icon treatment.
   ===================================================================== */

.gs-trust__grid { align-items: stretch; margin-top: var(--gs-space-6); }
.gs-trust-card { display: flex; flex-direction: column; align-items: flex-start; }
.gs-trust-card__title { font-family: var(--gs-font-heading); font-size: var(--gs-fs-lg); color: var(--gs-heading); margin: var(--gs-space-4) 0 var(--gs-space-2); }
.gs-trust-card__text { color: var(--gs-text-muted); font-size: var(--gs-fs-sm); }

/* Seal-style badge: line-icon inside a soft disc with a dashed inner ring. */
.gs-seal {
    position: relative; display: grid; place-items: center;
    width: 64px; height: 64px; border-radius: 50%;
    background: var(--gs-surface-2); color: var(--gs-heading);
    border: 1px solid var(--gs-border);
    transition: color var(--gs-dur) var(--gs-ease);
}
.gs-seal::before {
    content: ""; position: absolute; inset: 5px; border-radius: 50%;
    border: 1.5px dashed var(--gs-border);
}
.gs-seal svg { position: relative; z-index: 1; }
.gs-trust-card:hover .gs-seal,
.gs-trust-card:focus-within .gs-seal { color: var(--gs-accent); }
.gs-trust-card:hover .gs-seal::before { animation: gsSealSpin 14s linear infinite; }
@keyframes gsSealSpin { to { transform: rotate(360deg); } }

/* =====================================================================
   SPRINT 1.10 — "What GlowStrong Is Built For" (honest social proof)
   Additive + isolated. Theme-aware (semantic tokens), mobile-first
   (.gs-grid--2), reduced-motion safe. Quote-mark visual treatment.
   ===================================================================== */

.gs-audience__grid { align-items: stretch; margin-top: var(--gs-space-6); }
.gs-audience-card { position: relative; display: flex; flex-direction: column; align-items: flex-start; overflow: hidden; }
.gs-audience-card__mark {
    font-family: var(--gs-font-heading); font-size: 3.6rem; line-height: 0.7;
    color: var(--gs-accent); opacity: 0.22; margin-bottom: var(--gs-space-3);
    transition: opacity var(--gs-dur) var(--gs-ease);
}
.gs-audience-card:hover .gs-audience-card__mark,
.gs-audience-card:focus-within .gs-audience-card__mark { opacity: 0.4; }
.gs-audience-card__title { font-family: var(--gs-font-heading); font-size: var(--gs-fs-lg); color: var(--gs-heading); margin-bottom: var(--gs-space-2); }
.gs-audience-card__text { color: var(--gs-text-muted); font-size: var(--gs-fs-sm); }

/* =====================================================================
   SPRINT 1.11 — Newsletter / Lead Capture
   Additive + isolated. Theme-aware (semantic tokens), mobile-first,
   reduced-motion safe. Built on .gs-input / .gs-btn / .gs-input-group.
   Overrides scoped under .gs-lead-capture beat the older hardcoded
   .gs-newsletter__form rules so the field is dark/light correct.
   ===================================================================== */

.gs-lead-capture {
    position: relative; overflow: hidden; text-align: center;
    max-width: 720px; margin-inline: auto;
    padding: clamp(2.5rem, 5vw, 4rem) var(--gs-space-6);
    border-radius: var(--gs-radius-lg);
    border: 1px solid var(--gs-border);
    background:
        radial-gradient(120% 130% at 50% -20%, var(--gs-info-bg) 0%, transparent 60%),
        var(--gs-surface);
    box-shadow: var(--gs-shadow);
}
.gs-lead-capture h2 { margin-bottom: var(--gs-space-3); }
.gs-lead-capture .gs-lead { margin-bottom: var(--gs-space-6); }

/* Neutralize the legacy .gs-newsletter__form flex; let .gs-input-group lay out. */
.gs-lead-capture .gs-newsletter__form { display: block; max-width: 460px; margin: 0 auto; }
.gs-lead-capture .gs-lead-capture__group { gap: var(--gs-space-2); }
.gs-lead-capture .gs-lead-capture__group .gs-input { flex: 1 1 12rem; }

/* Re-assert the theme-aware field styling over the legacy input rule. */
.gs-lead-capture .gs-newsletter__form .gs-input {
    background: var(--gs-input-bg);
    border: 1px solid var(--gs-input-border);
    border-radius: var(--gs-radius-sm);
    padding: 0.75em 0.95em;
}
.gs-lead-capture .gs-newsletter__form .gs-input:focus-visible {
    outline: none; border-color: var(--gs-focus); box-shadow: var(--gs-focus-ring);
}

/* Success/neutral message (aria-live). Error color is set inline by main.js. */
.gs-lead-capture .gs-newsletter__msg {
    min-height: 1.3em; margin-top: var(--gs-space-3);
    font-size: var(--gs-fs-sm); font-weight: 600; color: var(--gs-success-fg);
}
.gs-lead-capture__note { margin-top: var(--gs-space-3); font-size: var(--gs-fs-xs); color: var(--gs-text-muted); }

/* =====================================================================
   SPRINT 2 — STOREFRONT POLISH (ecommerce presentation only)
   Additive, homepage-only (home.css loads on the front page). No redesign:
   sharpens product cards, category/bundle collections, CTAs, price
   hierarchy and section rhythm so the homepage reads as a premium shop.
   Theme-aware (semantic tokens) + reduced-motion safe.
   ===================================================================== */

/* --- Section headings: brand-red eyebrow, confident scale --- */
.gs-home .gs-section__head .gs-eyebrow { color: var(--gs-glow); letter-spacing: 0.16em; }
.gs-home .gs-section__head h2 { font-size: clamp(1.9rem, 1.5rem + 1.4vw, 2.55rem); letter-spacing: -0.01em; }


/* --- FEATURED PRODUCTS: prominent shop shelf --- */
.gs-featured .gs-product-card {
    background: var(--gs-surface);
    border: 1px solid var(--gs-border);
    border-radius: var(--gs-radius-lg);
    box-shadow: var(--gs-shadow-sm);
    transition: transform var(--gs-dur) var(--gs-ease), box-shadow var(--gs-dur) var(--gs-ease), border-color var(--gs-dur) var(--gs-ease);
}
.gs-featured .gs-product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 60px rgba(13, 36, 74, 0.14);
    border-color: color-mix(in srgb, var(--gs-glow) 45%, var(--gs-border));
}
.gs-featured .gs-product-card__media {
    background: linear-gradient(160deg, var(--gs-surface-2) 0%, var(--gs-surface-3) 100%);
}
.gs-featured .gs-product-card__body { gap: var(--gs-space-2); padding: var(--gs-space-5) var(--gs-space-5) var(--gs-space-6); }
.gs-featured .gs-product-card__title { font-size: var(--gs-fs-lg); line-height: 1.22; }
/* price hierarchy: bigger, brand-navy, pushed to the bottom above the CTA */
.gs-featured .gs-product-card__price { margin-top: auto; padding-top: var(--gs-space-2); font-size: var(--gs-fs-xl); font-weight: 800; color: var(--gs-heading); }
/* stronger View Product CTA (navy -> brand-red on card hover) */
.gs-featured .gs-product-card__cta.gs-btn { background: var(--gs-ink); color: #fff; font-weight: 700; letter-spacing: 0.01em; }
.gs-featured .gs-product-card:hover .gs-product-card__cta.gs-btn { background: var(--gs-glow); color: #fff; box-shadow: var(--gs-shadow); }

/* --- SHOP BY GOAL: clearer shoppable cards --- */
/* (Module 7: legacy top-bar hover + CTA styles removed — single subtle lift now.) */

/* --- PRODUCT CATEGORIES: homepage cards (content.css doesn't load here) --- */
.gs-categories .gs-cat-card {
    position: relative; display: flex; flex-direction: column; gap: var(--gs-space-2);
    text-decoration: none; background: var(--gs-surface); border: 1px solid var(--gs-border);
    border-radius: var(--gs-radius-lg); padding: var(--gs-space-6); min-height: 210px;
    box-shadow: var(--gs-shadow-sm);
    transition: transform var(--gs-dur) var(--gs-ease), box-shadow var(--gs-dur) var(--gs-ease), border-color var(--gs-dur) var(--gs-ease);
}
.gs-categories .gs-cat-card:hover {
    transform: translateY(-6px); box-shadow: 0 24px 60px rgba(13, 36, 74, 0.12);
    border-color: color-mix(in srgb, var(--gs-glow) 40%, var(--gs-border));
}
.gs-categories .gs-cat-card:focus-visible { outline: 2px solid var(--gs-focus); outline-offset: 2px; }
.gs-categories .gs-cat-card__name { font-family: var(--gs-font-heading); font-size: var(--gs-fs-xl); color: var(--gs-heading); }
.gs-categories .gs-cat-card__text { color: var(--gs-text-muted); font-size: var(--gs-fs-sm); flex: 1 1 auto; }
.gs-categories .gs-cat-card__cta { margin-top: var(--gs-space-3); font-weight: 700; font-size: var(--gs-fs-sm); color: var(--gs-glow); transition: gap var(--gs-dur) var(--gs-ease); }

/* --- BUNDLES: purchasable collection cards (WooCommerce [products]) --- */
.gs-bundles .gs-bundles__grid ul.products,
.gs-bundles ul.products { display: grid; gap: var(--gs-space-6); grid-template-columns: 1fr; margin: 0; padding: 0; list-style: none; }
@media (min-width: 640px) { .gs-bundles ul.products { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .gs-bundles ul.products { grid-template-columns: repeat(3, 1fr); } }
.gs-bundles ul.products li.product {
    position: relative; margin: 0; padding: var(--gs-space-5);
    background: var(--gs-surface); border: 1px solid var(--gs-border);
    border-radius: var(--gs-radius-lg); box-shadow: var(--gs-shadow-sm);
    transition: transform var(--gs-dur) var(--gs-ease), box-shadow var(--gs-dur) var(--gs-ease), border-color var(--gs-dur) var(--gs-ease);
}
.gs-bundles ul.products li.product:hover {
    transform: translateY(-6px); box-shadow: 0 24px 60px rgba(13, 36, 74, 0.14);
    border-color: color-mix(in srgb, var(--gs-glow) 45%, var(--gs-border));
}
/* "Bundle" ribbon so collections read as bundles, not single items */
.gs-bundles ul.products li.product::before {
    content: "Bundle"; position: absolute; top: var(--gs-space-4); left: var(--gs-space-4); z-index: 2;
    font-family: var(--gs-font-body); font-size: var(--gs-fs-xs); font-weight: 700; letter-spacing: 0.04em;
    padding: 0.35em 0.7em; border-radius: var(--gs-radius-pill);
    background: var(--gs-glow-soft); color: var(--gs-danger);
}
.gs-bundles ul.products li.product img { border-radius: var(--gs-radius); margin-bottom: var(--gs-space-3); }
.gs-bundles ul.products li.product .woocommerce-loop-product__title {
    font-family: var(--gs-font-heading); font-size: var(--gs-fs-lg); color: var(--gs-heading); padding: 0 0 var(--gs-space-1);
}
.gs-bundles ul.products li.product .price { color: var(--gs-heading); font-weight: 800; font-size: var(--gs-fs-lg); }
.gs-bundles ul.products li.product .price del { color: var(--gs-text-muted); font-weight: 500; }
/* strong Add to Cart on each bundle */
.gs-bundles ul.products li.product .button {
    display: inline-flex; align-items: center; justify-content: center;
    margin-top: var(--gs-space-3); font-weight: 700;
    background: var(--gs-ink); color: #fff; border: 0;
    border-radius: var(--gs-radius-pill); padding: 0.8em 1.4em;
    transition: background var(--gs-dur) var(--gs-ease), transform var(--gs-dur) var(--gs-ease);
}
.gs-bundles ul.products li.product:hover .button { background: var(--gs-glow); }
.gs-bundles ul.products li.product .button:hover { transform: translateY(-2px); }

@media (prefers-reduced-motion: reduce) {
    .gs-featured .gs-product-card, .gs-categories .gs-cat-card,
    .gs-bundles ul.products li.product, .gs-goals-section .gs-goal-card { transition: none; }
}

/* =====================================================================
   RC2 — PREMIUM ECOMMERCE STOREFRONT (homepage-only; loads on front page)
   Merchandising & conversion polish. Uses existing design tokens only
   (no brand redesign). All product/bundle data comes from real WooCommerce
   data — this file only styles it. Reduced-motion + mobile safe.
   ===================================================================== */

/* ---- HERO: trust strip (science graphic retained as media) ---- */
.gs-hero__trust--strip {
    display: flex; flex-wrap: wrap; gap: var(--gs-space-3) var(--gs-space-5);
    align-items: center; margin-top: var(--gs-space-6); padding: 0; list-style: none;
}
.gs-hero__trust--strip .gs-hero__trust-item {
    display: inline-flex; align-items: center; gap: 0.5em;
    font-size: var(--gs-fs-xs); font-weight: 700; letter-spacing: 0.04em;
    text-transform: uppercase; color: var(--gs-text-muted);
}
.gs-hero__trust--strip .gs-hero__trust-ico { display: inline-grid; place-items: center; width: 26px; height: 26px; color: var(--gs-glow); }
.gs-hero__trust--strip .gs-hero__trust-ico svg { width: 18px; height: 18px; }


/* ---- BADGES (real-data-only; rendered by PHP when conditions are met) ---- */
.gs-badge--save { background: var(--gs-glow); color: #fff; font-weight: 800; }

/* ---- PREMIUM PRODUCT CARDS (Featured + Best Sellers) ---- */
.gs-featured .gs-product-card,
.gs-bestsellers .gs-product-card {
    padding: 0; overflow: hidden; border-radius: var(--gs-radius-lg);
    background: var(--gs-surface); border: 1px solid var(--gs-border); box-shadow: var(--gs-shadow-sm);
    transition: transform var(--gs-dur) var(--gs-ease), box-shadow var(--gs-dur) var(--gs-ease), border-color var(--gs-dur) var(--gs-ease);
}
.gs-featured .gs-product-card:hover,
.gs-bestsellers .gs-product-card:hover {
    transform: translateY(-8px); box-shadow: 0 28px 64px rgba(13,36,74,.16);
    border-color: color-mix(in srgb, var(--gs-glow) 45%, var(--gs-border));
}
.gs-product-card__media {
    position: relative; display: block; aspect-ratio: 1 / 1; overflow: hidden;
    background: linear-gradient(160deg, var(--gs-surface-2) 0%, var(--gs-surface-3) 100%); padding: var(--gs-space-5);
}
.gs-product-card__media-inner { display: grid; place-items: center; width: 100%; height: 100%; }
.gs-product-card__img { width: 100%; height: 100%; object-fit: contain; transition: transform var(--gs-dur) var(--gs-ease); }
.gs-product-card:hover .gs-product-card__img { transform: scale(1.05); }
.gs-product-card__save { position: absolute; top: var(--gs-space-4); z-index: 2; }
.gs-product-card__save { left: var(--gs-space-4); }
/* Quick View — reveal on hover (desktop); always visible where hover is unavailable. */
.gs-product-card__quickview {
    position: absolute; left: 50%; bottom: var(--gs-space-4); transform: translate(-50%, 8px);
    z-index: 2; opacity: 0; pointer-events: none;
    font-family: var(--gs-font-body); font-size: var(--gs-fs-xs); font-weight: 700;
    padding: 0.55em 1.1em; border: 0; border-radius: var(--gs-radius-pill); cursor: pointer;
    background: rgba(13,36,74,.92); color: #fff; backdrop-filter: blur(4px);
    transition: opacity var(--gs-dur) var(--gs-ease), transform var(--gs-dur) var(--gs-ease);
}
@media (hover: hover) {
    .gs-product-card:hover .gs-product-card__quickview,
    .gs-product-card:focus-within .gs-product-card__quickview { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
}
@media (hover: none) { .gs-product-card__quickview { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; } }
.gs-product-card__quickview:focus-visible { outline: 2px solid var(--gs-focus); outline-offset: 2px; }

.gs-product-card__body { display: flex; flex-direction: column; align-items: flex-start; gap: var(--gs-space-2); padding: var(--gs-space-5) var(--gs-space-5) var(--gs-space-6); flex: 1 1 auto; }
.gs-product-card__title { font-family: var(--gs-font-heading); font-size: var(--gs-fs-lg); line-height: 1.2; color: var(--gs-heading); }
.gs-product-card__price { margin-top: auto; padding-top: var(--gs-space-2); font-size: var(--gs-fs-xl); font-weight: 800; color: var(--gs-heading); }
.gs-product-card__price del { color: var(--gs-text-muted); font-weight: 500; margin-right: .4em; }
.gs-product-card__price ins { text-decoration: none; color: var(--gs-glow); }
.gs-product-card__cta.gs-btn--gold { font-weight: 800; letter-spacing: .01em; }
.gs-product-card__cta { margin-top: var(--gs-space-3); }

/* Best Sellers visually separated from Featured (Featured is --alt). */
.gs-bestsellers { background: var(--gs-bg); }
.gs-bestsellers .gs-eyebrow { color: var(--gs-ink); }

/* ---- SHOP BY GOAL (Module 7): whole-card link, recognition-first ---- */
.gs-goals-section .gs-goal-card {
    padding: 0; overflow: hidden; border-radius: var(--gs-radius-lg);
    text-decoration: none; color: inherit;
    border: 1px solid var(--gs-border); background: var(--gs-surface);
    box-shadow: var(--gs-shadow-sm);
    transition: transform var(--gs-dur) var(--gs-ease), box-shadow var(--gs-dur) var(--gs-ease);
}
.gs-goals-section .gs-goal-card:hover,
.gs-goals-section .gs-goal-card:focus-visible {
    transform: translateY(-4px);
    box-shadow: 0 18px 44px rgba(13, 36, 74, 0.12);
}
.gs-goals-section .gs-goal-card:focus-visible { outline: 2px solid var(--gs-focus); outline-offset: 3px; }
.gs-goal-card__media {
    display: grid; place-items: center; aspect-ratio: 16 / 9; width: 100%;
    background: radial-gradient(120% 120% at 30% 10%, var(--gs-glow-soft) 0%, transparent 60%),
                linear-gradient(160deg, var(--gs-surface-2) 0%, var(--gs-surface-3) 100%);
    color: var(--gs-heading);
}
.gs-goal-card__media .gs-goal-card__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: var(--gs-radius); background: rgba(255,255,255,.7); box-shadow: var(--gs-shadow-sm); }
.gs-goals-section .gs-goal-card:hover .gs-goal-card__icon { color: var(--gs-glow); }
.gs-goal-card__body { display: flex; flex-direction: column; align-items: flex-start; gap: var(--gs-space-1); padding: var(--gs-space-5); }
/* Recognition-first hierarchy: title leads, sentence reinforces. */
.gs-goals-section .gs-goal-card__title { font-size: var(--gs-fs-xl); margin: 0; line-height: 1.15; }
.gs-goals-section .gs-goal-card__text { font-size: var(--gs-fs-xs); margin: 0; line-height: 1.5; }

/* Tablet: two columns. */
@media (min-width: 640px) and (max-width: 899px) {
    .gs-goals-grid-v2 { grid-template-columns: repeat(2, 1fr); }
}
/* Mobile: one column — recognition beats density on small screens. */
@media (max-width: 639px) {
    .gs-goals-grid-v2 { gap: var(--gs-space-3); }
    .gs-goal-card__media { aspect-ratio: 3 / 1; }
    .gs-goal-card__body { padding: var(--gs-space-4) var(--gs-space-5); }
}

/* ---- PRODUCT CATEGORIES: premium collection cards ---- */
.gs-categories .gs-cat-card { padding: 0; overflow: hidden; min-height: 0; }
.gs-cat-card__media {
    display: block; aspect-ratio: 3 / 2; width: 100%;
    background: radial-gradient(120% 120% at 70% 10%, var(--gs-glow-soft) 0%, transparent 60%),
                linear-gradient(160deg, var(--gs-sage) 0%, var(--gs-sage-deep) 100%);
}
.gs-cat-card__body { display: flex; flex-direction: column; gap: var(--gs-space-2); padding: var(--gs-space-6); }
.gs-categories .gs-cat-card__name { font-family: var(--gs-font-heading); font-size: var(--gs-fs-xl); color: var(--gs-heading); }
.gs-categories .gs-cat-card__text { color: var(--gs-text-muted); font-size: var(--gs-fs-sm); }
.gs-cat-card__count { font-size: var(--gs-fs-xs); font-weight: 700; color: var(--gs-text-muted); }
.gs-categories .gs-cat-card__cta { margin-top: var(--gs-space-2); font-weight: 700; color: var(--gs-glow); }

/* ---- BUNDLES: flagship cards (real WooCommerce grouped products) ---- */
.gs-bundles ul.products li.product { padding: var(--gs-space-6); border-radius: var(--gs-radius-lg); }
.gs-bundles ul.products li.product .button { background: var(--gs-glow); font-weight: 800; }
.gs-bundles ul.products li.product:hover .button { background: var(--gs-ink); }

/* ---- TRUST: 6-signal grid (Module 3) ----
   Desktop 3×2 · tablet 2-col · mobile compact left-aligned rows.
   Icons: brand red stroke in a silver well with a navy-tinted border. */
.gs-trust__grid--6 { gap: var(--gs-space-5); }
.gs-trust-card { text-align: center; align-items: center; padding: var(--gs-space-6) var(--gs-space-5); }
.gs-trust-card .gs-seal {
    display: grid; place-items: center; width: 56px; height: 56px;
    margin: 0 auto var(--gs-space-3); border-radius: var(--gs-radius);
    background: var(--gs-surface-2); color: var(--gs-glow);
    border: 1px solid rgba(13, 36, 74, 0.14);
}
.gs-trust-card .gs-seal::before { border-radius: calc(var(--gs-radius) - 4px); }
.gs-trust-card__title { font-size: var(--gs-fs-base); margin: 0 0 var(--gs-space-2); }
.gs-trust-card__text { line-height: 1.55; }

/* Tablet: two columns */
@media (min-width: 600px) and (max-width: 899px) {
    .gs-trust__grid--6 { grid-template-columns: repeat(2, 1fr); }
}

/* Mobile: compact rows — icon left, copy right (faster to scan) */
@media (max-width: 599px) {
    .gs-trust__grid--6 { gap: var(--gs-space-3); }
    .gs-trust-card {
        display: grid; grid-template-columns: 44px 1fr;
        column-gap: var(--gs-space-4); align-items: start;
        text-align: left; padding: var(--gs-space-4) var(--gs-space-5);
    }
    .gs-trust-card .gs-seal { grid-row: 1 / 3; width: 44px; height: 44px; margin: 2px 0 0; }
    .gs-trust-card .gs-seal svg { width: 20px; height: 20px; }
    .gs-trust-card__title, .gs-trust-card__text { grid-column: 2; }
    .gs-trust-card__title { margin: 0 0 var(--gs-space-1); }
}

/* ---- MOBILE ---- */
@media (max-width: 640px) {
    .gs-hero__trust--strip { gap: var(--gs-space-2) var(--gs-space-4); }
}

/* Module 6: featured shelf — 2-up compact grid below the 4-col breakpoint. */
@media (max-width: 899px) {
    .gs-featured__grid { grid-template-columns: repeat(2, 1fr); gap: var(--gs-space-3); }
    .gs-featured .gs-product-card__body { padding: var(--gs-space-4); gap: var(--gs-space-1); }
    .gs-featured .gs-product-card__title { font-size: var(--gs-fs-base); }
    .gs-featured .gs-product-card__price { font-size: var(--gs-fs-lg); }
    .gs-featured .gs-product-card__cta.gs-btn { font-size: var(--gs-fs-sm); padding: 0.85em 1em; }
    .gs-featured .gs-product-card__media { padding: var(--gs-space-3); }
}
@media (prefers-reduced-motion: reduce) {
    .gs-featured .gs-product-card, .gs-bestsellers .gs-product-card,
    .gs-product-card__img, .gs-product-card__quickview,
    .gs-goals-section .gs-goal-card { transition: none; }
    .gs-trust-card:hover .gs-seal::before { animation: none; }
}

/* =====================================================================
   World-class storefront — editorial hero + dynamic product packshots
   ===================================================================== */
.gs-home-hero--editorial {
    padding: clamp(1rem, 2vw, 1.75rem) 0 0;
    background:
        radial-gradient(circle at 5% 15%, rgba(192, 0, 0, .05), transparent 28rem),
        linear-gradient(180deg, var(--gs-canvas) 0%, var(--gs-bg-alt) 100%);
    overflow: hidden;
}
.gs-hero__stage {
    position: relative;
    min-height: clamp(580px, 70vw, 760px);
    border-radius: clamp(1.25rem, 2vw, 2rem);
    overflow: hidden;
    background: var(--gs-mist);
    box-shadow: 0 28px 80px rgba(13, 36, 74, .14);
}
.gs-hero__visual,
.gs-hero__visual-img { position: absolute; inset: 0; width: 100%; height: 100%; }
.gs-hero__visual-img { object-fit: cover; object-position: center; }
.gs-hero__stage::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(255, 255, 255, .98) 0%, rgba(255, 255, 255, .92) 34%, rgba(255, 255, 255, .22) 60%, transparent 76%);
    pointer-events: none;
}
.gs-home-hero--editorial .gs-hero__text {
    position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start;
    justify-content: center; min-height: inherit; width: min(50%, 650px);
    padding: clamp(2rem, 5vw, 5.5rem);
}
.gs-home-hero--editorial .gs-hero__title {
    max-width: 10ch; margin: .3em 0 .32em;
    font-size: clamp(3.1rem, 6.2vw, 6rem); line-height: .94; letter-spacing: -.045em;
}
.gs-home-hero--editorial .gs-hero__text-lead {
    max-width: 34rem; color: var(--gs-text-muted); font-size: clamp(1rem, 1.4vw, 1.2rem);
    line-height: 1.65; margin-bottom: 1.8rem;
}
.gs-home-hero--editorial .gs-hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.gs-home-hero--editorial .gs-hero__actions .gs-btn--gold {
    background: var(--gs-glow); border-color: var(--gs-glow); color: var(--gs-white);
    box-shadow: 0 14px 30px rgba(192, 0, 0, .24);
}
.gs-home-hero--editorial .gs-hero__actions .gs-btn--gold:hover {
    background: #A00000; border-color: #A00000; color: var(--gs-white);
    box-shadow: 0 18px 36px rgba(192, 0, 0, .28);
}
.gs-home-hero--editorial .gs-hero__actions .gs-btn--ghost {
    background: rgba(255, 255, 255, .72); border-color: var(--gs-border); color: var(--gs-text);
}
.gs-home-hero--editorial .gs-hero__actions .gs-btn--ghost:hover {
    border-color: var(--gs-heading); color: var(--gs-heading); background: var(--gs-white);
}
.gs-hero__microcopy { margin-top: .9rem; font-size: .8rem; color: var(--gs-text-muted); }
.gs-hero__trust--premium {
    display: grid; grid-template-columns: repeat(4, 1fr); margin: 0;
    padding: 1.1rem clamp(1rem, 3vw, 2.5rem); border-bottom: 1px solid var(--gs-border);
}
.gs-hero__trust--premium .gs-hero__trust-item {
    justify-content: center; padding: .35rem 1rem; border-right: 1px solid var(--gs-border);
}
.gs-hero__trust--premium .gs-hero__trust-item:last-child { border-right: 0; }

/* Product-specific digital packshot used only until real photography exists. */
.gs-packshot {
    --pack-w: 44%; --pack-h: 67%;
    position: relative; display: grid; place-items: center; width: 100%; height: 100%;
    overflow: hidden;
    background:
        radial-gradient(circle at 50% 78%, rgba(194, 116, 94, .18), transparent 33%),
        linear-gradient(145deg, #f8f4ee 0%, #e9eef2 100%);
}
.gs-packshot__package {
    position: relative; z-index: 1; display: flex; align-items: center; justify-content: center;
    width: var(--pack-w); height: var(--pack-h); min-width: 118px;
    border-radius: 15% 15% 12% 12% / 8% 8% 6% 6%;
    background: linear-gradient(90deg, #f1f1ed, #fff 48%, #e7e7e2);
    box-shadow: inset -10px 0 18px rgba(18,38,74,.08), 0 24px 40px rgba(18,38,74,.18);
    transform: translateY(-2%);
}
.gs-packshot__cap {
    position: absolute; left: 4%; right: 4%; top: -6%; height: 12%;
    border-radius: 8px 8px 4px 4px;
    background: repeating-linear-gradient(90deg, #f8f8f5 0 3px, #deded9 3px 4px);
    box-shadow: 0 3px 4px rgba(18,38,74,.08);
}
.gs-packshot__label {
    display: flex; flex-direction: column; width: 100%; min-height: 58%; padding: 14% 10% 10%;
    color: #fff; text-align: left; background: linear-gradient(145deg, #12264a, #08192f 80%);
    border-bottom: 4px solid #db5f4e;
}
.gs-packshot__brand { font-family: var(--gs-font-heading); font-size: clamp(.54rem, .8vw, .78rem); letter-spacing: -.02em; }
.gs-packshot__brand strong { color: #ef8a77; font-weight: inherit; }
.gs-packshot__name {
    display: -webkit-box; margin: auto 0; overflow: hidden; -webkit-line-clamp: 3; -webkit-box-orient: vertical;
    font-family: var(--gs-font-heading); font-size: clamp(.7rem, 1.35vw, 1.18rem); line-height: 1.03;
}
.gs-packshot__rule { width: 28%; height: 1px; margin-bottom: .35rem; background: #ef8a77; }
.gs-packshot__detail { font-size: clamp(.38rem, .55vw, .55rem); letter-spacing: .08em; text-transform: uppercase; opacity: .72; }
.gs-packshot__shadow {
    position: absolute; width: 52%; height: 9%; bottom: 12%; border-radius: 50%;
    background: rgba(18,38,74,.19); filter: blur(12px);
}
.gs-packshot--tub { --pack-w: 57%; --pack-h: 56%; }
.gs-packshot--pouch { --pack-w: 52%; --pack-h: 72%; }
.gs-packshot--pouch .gs-packshot__package { border-radius: 5% 5% 3% 3%; }
.gs-packshot--pouch .gs-packshot__cap { height: 3%; top: 1%; left: 0; right: 0; border-radius: 0; }
.gs-packshot--system { --pack-w: 64%; }
.gs-packshot--system .gs-packshot__package::before,
.gs-packshot--system .gs-packshot__package::after {
    content: ""; position: absolute; z-index: -1; width: 52%; height: 84%; top: 9%;
    border-radius: inherit; background: #f5f5f1; box-shadow: 0 18px 32px rgba(18,38,74,.16);
}
.gs-packshot--system .gs-packshot__package::before { left: -30%; transform: rotate(-8deg); }
.gs-packshot--system .gs-packshot__package::after { right: -30%; transform: rotate(8deg); }
.gs-packshot--book { --pack-w: 55%; --pack-h: 70%; }
.gs-packshot--book .gs-packshot__package { border-radius: 2%; transform: rotate(-4deg); }
.gs-product-card:hover .gs-packshot__package { transform: translateY(-4%) scale(1.025); }
.gs-packshot__package { transition: transform var(--gs-dur) var(--gs-ease); }

@media (max-width: 760px) {
    .gs-hero__stage { min-height: 680px; }
    .gs-hero__stage::after { background: linear-gradient(180deg, rgba(255,255,255,.99) 0%, rgba(255,255,255,.96) 58%, rgba(255,255,255,.55) 78%, rgba(255,255,255,.1) 92%); }
    .gs-hero__visual-img { object-position: 72% center; }
    .gs-home-hero--editorial .gs-hero__text { justify-content: flex-start; width: 100%; min-height: 0; padding: 2.2rem 1.5rem; }
    .gs-home-hero--editorial .gs-hero__title { max-width: 10ch; font-size: clamp(2.7rem, 12vw, 4.2rem); }
    .gs-home-hero--editorial .gs-hero__text-lead { max-width: 30rem; }
    .gs-home-hero--editorial .gs-hero__actions { width: 100%; }
    .gs-home-hero--editorial .gs-hero__actions .gs-btn { flex: 1 1 100%; }
    .gs-home-hero--editorial .gs-hero__actions .gs-btn--gold { order: -1; }
    .gs-hero__trust--premium { grid-template-columns: 1fr 1fr; }
    .gs-hero__trust--premium .gs-hero__trust-item { border-right: 0; justify-content: flex-start; padding: .65rem .25rem; }
}

/* Module 2 — How It Works: quiet Scan link (button demoted; hero + final CTA
   carry the primary prompts). */
.gs-how__link {
    font-weight: 600; font-size: var(--gs-fs-sm); color: var(--gs-link);
    text-decoration: underline; text-underline-offset: 4px;
}
.gs-how__link:hover { color: var(--gs-glow); }

/* =====================================================================
   MODULE 5 — Dashboard Preview (.gs-dashprev*, homepage only)
   Static demonstration panel. One reveal animation on the panel; no
   interactive controls. Account dashboard styles (account.css) untouched.
   ===================================================================== */
.gs-dashprev__panel {
    max-width: 960px; margin: var(--gs-space-7) auto 0;
    background: var(--gs-surface); border: 1px solid var(--gs-border);
    border-radius: var(--gs-radius-lg); box-shadow: var(--gs-shadow-lg);
    padding: clamp(1.25rem, 3vw, 2rem);
}
.gs-dashprev__top {
    display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between;
    gap: var(--gs-space-3); padding-bottom: var(--gs-space-5);
    border-bottom: 1px solid var(--gs-border); margin-bottom: var(--gs-space-5);
}
.gs-dashprev__title { font-family: var(--gs-font-heading); font-size: var(--gs-fs-xl); color: var(--gs-heading); margin: 0 0 2px; }
.gs-dashprev__status { font-size: var(--gs-fs-xs); color: var(--gs-text-muted); margin: 0; }
.gs-dashprev__badge {
    flex: 0 0 auto; padding: 0.35em 0.9em; border-radius: var(--gs-radius-pill);
    background: var(--gs-surface-2); border: 1px solid var(--gs-border);
    font-size: var(--gs-fs-xs); font-weight: 600; color: var(--gs-text-muted);
    letter-spacing: 0.02em; white-space: nowrap;
}
.gs-dashprev__grid { display: grid; gap: var(--gs-space-4); }
.gs-dashprev__card {
    background: var(--gs-surface-3); border: 1px solid var(--gs-border);
    border-radius: var(--gs-radius); padding: var(--gs-space-5);
}
.gs-dashprev__label {
    font-family: var(--gs-font-body); font-size: var(--gs-fs-xs); font-weight: 700;
    letter-spacing: 0.08em; text-transform: uppercase; color: var(--gs-text-muted);
    margin: 0 0 var(--gs-space-3);
}
.gs-dashprev__chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--gs-space-2); }
.gs-dashprev__chips li {
    padding: 0.4em 1em; border-radius: var(--gs-radius-pill);
    background: var(--gs-surface); border: 1px solid rgba(13, 36, 74, 0.18);
    font-size: var(--gs-fs-sm); font-weight: 600; color: var(--gs-ink);
}
.gs-dashprev__list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--gs-space-2); }
.gs-dashprev__list li {
    position: relative; padding-left: 1.6rem;
    font-size: var(--gs-fs-sm); color: var(--gs-text);
}
.gs-dashprev__list li::before {
    content: ""; position: absolute; left: 0; top: 0.28em;
    width: 0.95em; height: 0.95em; border-radius: 50%;
    border: 1.5px solid var(--gs-glow);
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C00000' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4 10-10'/%3E%3C/svg%3E") no-repeat center / 60%;
}
.gs-dashprev__recs { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--gs-space-3); }
.gs-dashprev__recs li { display: grid; gap: 2px; font-size: var(--gs-fs-sm); }
.gs-dashprev__recs strong { color: var(--gs-heading); font-weight: 600; }
.gs-dashprev__recs span { color: var(--gs-text-muted); }
.gs-dashprev__card--insight { background: var(--gs-ink); border-color: var(--gs-ink); }
.gs-dashprev__card--insight .gs-dashprev__label { color: rgba(255, 255, 255, 0.72); }
.gs-dashprev__insight { margin: 0; color: var(--gs-text-inverse); font-size: var(--gs-fs-base); line-height: 1.55; }
.gs-dashprev__cta { margin-top: var(--gs-space-6); }

@media (min-width: 760px) {
    .gs-dashprev__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 759px) {
    .gs-dashprev__panel { padding: var(--gs-space-5) var(--gs-space-4); }
    .gs-dashprev__card { padding: var(--gs-space-4); }
    .gs-dashprev__top { padding-bottom: var(--gs-space-4); margin-bottom: var(--gs-space-4); }
}

/* =====================================================================
   PHASE B — polish: extracted inline styles, mobile rhythm
   ===================================================================== */
/* Post-grid "view all" row (was an inline margin). */
.gs-section__more { margin-top: var(--gs-space-7); }
.gs-how__more { margin-top: var(--gs-space-6); }
/* Final CTA eyebrow on the dark panel (was an inline color). */
.gs-scan-cta__eyebrow { color: rgba(255, 255, 255, 0.82); }

/* Mobile rhythm: slightly tighter section spacing — still airy, less scroll. */
@media (max-width: 640px) {
    .gs-home .gs-section { padding-block: var(--gs-space-7); }
    .gs-home .gs-section__head { margin-bottom: var(--gs-space-6); }
    .gs-section__more { margin-top: var(--gs-space-6); }
}

/* =====================================================================
   VERSION C — HIGH-CONVERTING PREMIUM ECOMMERCE
   Homepage-only overrides. Commerce uses navy; red is reserved for Scan
   actions. No JavaScript, external assets or product-data assumptions.
   ===================================================================== */

/* Shop-first hero hierarchy. */
.gs-home-hero--editorial .gs-hero__text-lead { margin-bottom: .7rem; }
.gs-hero__commerce-line {
    max-width: 34rem; margin: 0 0 1.55rem;
    color: var(--gs-heading); font-size: var(--gs-fs-sm); font-weight: 700;
    letter-spacing: .015em;
}
.gs-home-hero--editorial .gs-hero__actions .gs-hero__cta-shop {
    background: var(--gs-ink); border-color: var(--gs-ink); color: #fff;
    box-shadow: 0 14px 30px rgba(13, 36, 74, .2);
}
.gs-home-hero--editorial .gs-hero__actions .gs-hero__cta-shop:hover {
    background: var(--gs-navy-2, #173A73); border-color: var(--gs-navy-2, #173A73);
    color: #fff; box-shadow: 0 18px 36px rgba(13, 36, 74, .25);
}
.gs-home-hero--editorial .gs-hero__actions .gs-hero__cta-scan {
    background: rgba(255, 255, 255, .82); border-color: var(--gs-glow);
    color: var(--gs-glow);
}
.gs-home-hero--editorial .gs-hero__actions .gs-hero__cta-scan:hover {
    background: var(--gs-glow); border-color: var(--gs-glow); color: #fff;
}

/* Compact trust bridge between the hero and the shopping shelves. */
.gs-trust-section--compact { padding-block: clamp(2.75rem, 5vw, 4.25rem); }
.gs-trust-section--compact .gs-section__head { margin-bottom: var(--gs-space-5); }
.gs-trust-section--compact .gs-trust__grid--6 { gap: var(--gs-space-3); }
.gs-trust-section--compact .gs-trust-card {
    min-height: 0; padding: var(--gs-space-4); text-align: left; align-items: flex-start;
    box-shadow: none;
}
.gs-trust-section--compact .gs-trust-card .gs-seal {
    width: 42px; height: 42px; margin: 0 0 var(--gs-space-3);
    color: var(--gs-ink);
}
.gs-trust-section--compact .gs-trust-card__title { margin-bottom: var(--gs-space-1); }
.gs-trust-section--compact .gs-trust-card__text { font-size: var(--gs-fs-xs); }

/* Featured products are the first major content shelf. */
.gs-featured {
    background: linear-gradient(180deg, var(--gs-bg-alt) 0%, var(--gs-bg) 100%);
    border-block: 1px solid var(--gs-border);
}
.gs-featured .gs-product-card__media {
    min-height: clamp(270px, 25vw, 340px); padding: clamp(1rem, 2vw, 1.75rem);
}
.gs-featured .gs-product-card:hover {
    border-color: rgba(13, 36, 74, .28);
    transform: translateY(-6px);
}
.gs-featured .gs-product-card__cta.gs-btn,
.gs-featured .gs-product-card:hover .gs-product-card__cta.gs-btn {
    background: var(--gs-ink); border-color: var(--gs-ink); color: #fff;
}
.gs-featured .gs-product-card__cta.gs-btn:hover {
    background: var(--gs-navy-2, #173A73); border-color: var(--gs-navy-2, #173A73);
}
.gs-featured__all-link {
    display: inline-flex; align-items: center; gap: .45rem;
    color: var(--gs-ink); font-weight: 750; text-decoration: none;
    border-bottom: 1px solid rgba(13, 36, 74, .32); padding-bottom: .2rem;
}
.gs-featured__all-link:hover { color: var(--gs-navy-2, #173A73); border-color: currentColor; }
.gs-featured__all-link span { transition: transform var(--gs-dur) var(--gs-ease); }
.gs-featured__all-link:hover span { transform: translateX(3px); }

/* Goal cards stay fully clickable and gain clearer visual anchors. */
.gs-goals-section .gs-goal-card:hover,
.gs-goals-section .gs-goal-card:focus-visible { border-color: rgba(13, 36, 74, .28); }
.gs-goal-card__media .gs-goal-card__icon {
    width: 62px; height: 62px; color: var(--gs-ink);
}
.gs-goal-card__media .gs-goal-card__icon svg { width: 30px; height: 30px; }
.gs-goals-section .gs-goal-card:hover .gs-goal-card__icon { color: var(--gs-navy-2, #173A73); }

/* Real grouped products, presented as systems rather than discounted piles. */
.gs-systems-grid { display: grid; grid-template-columns: 1fr; gap: var(--gs-space-5); }
.gs-system-card {
    display: flex; flex-direction: column; overflow: hidden;
    background: var(--gs-surface); border: 1px solid var(--gs-border);
    border-radius: var(--gs-radius-lg); box-shadow: var(--gs-shadow-sm);
    transition: transform var(--gs-dur) var(--gs-ease), box-shadow var(--gs-dur) var(--gs-ease), border-color var(--gs-dur) var(--gs-ease);
}
.gs-system-card:hover {
    transform: translateY(-6px); box-shadow: 0 24px 60px rgba(13, 36, 74, .14);
    border-color: rgba(13, 36, 74, .28);
}
.gs-system-card__media {
    display: grid; place-items: center; aspect-ratio: 4 / 3; overflow: hidden;
    background: linear-gradient(145deg, #f8f4ee 0%, #e9eef2 100%);
    text-decoration: none;
}
.gs-system-card__media .gs-packshot,
.gs-system-card__img { width: 100%; height: 100%; object-fit: contain; }
.gs-system-card__body {
    display: flex; flex: 1 1 auto; flex-direction: column; align-items: flex-start;
    gap: var(--gs-space-2); padding: var(--gs-space-5);
}
.gs-system-card__label {
    margin: 0; color: var(--gs-text-muted); font-size: var(--gs-fs-xs);
    font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
}
.gs-system-card__title {
    margin: 0; color: var(--gs-heading); font-family: var(--gs-font-heading);
    font-size: var(--gs-fs-xl); line-height: 1.15;
}
.gs-system-card__text { margin: 0; color: var(--gs-text-muted); font-size: var(--gs-fs-sm); }
.gs-system-card__count {
    margin: auto 0 0; padding-top: var(--gs-space-2);
    color: var(--gs-heading); font-size: var(--gs-fs-sm); font-weight: 700;
}
.gs-system-card__cta { margin-top: var(--gs-space-3); }

/* The plan preview remains useful without interrupting product discovery. */
.gs-dash-preview { padding-block: clamp(3.5rem, 6vw, 5.5rem); }
.gs-dash-preview .gs-dashprev__panel { max-width: 900px; margin-top: var(--gs-space-5); box-shadow: var(--gs-shadow-sm); }
.gs-dash-preview .gs-dashprev__cta { margin-top: var(--gs-space-5); }

@media (min-width: 640px) {
    .gs-systems-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 900px) {
    .gs-systems-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gs-space-6); }
}
@media (max-width: 899px) {
    .gs-featured .gs-product-card__media { min-height: 220px; }
}
@media (max-width: 560px) {
    .gs-featured__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .gs-featured .gs-product-card__media { min-height: 170px; }
    .gs-featured .gs-product-card__body { padding: var(--gs-space-4); }
    .gs-featured .gs-product-card__title { min-height: 2.4em; }
    .gs-system-card__media { aspect-ratio: 16 / 10; }
}
@media (prefers-reduced-motion: reduce) {
    .gs-system-card, .gs-featured__all-link span { transition: none; }
}

/* =====================================================================
   VERSION D — PREMIUM WELLNESS ECOMMERCE
   Homepage-only overrides. Product discovery leads; the Scan supports the
   buying journey. No new scripts, external assets, sliders, or carousels.
   ===================================================================== */

.gs-home { background: var(--gs-bg); }
.gs-home .gs-section { padding-block: clamp(4.75rem, 8vw, 7.5rem); }
.gs-home .gs-section__head { max-width: 760px; margin-bottom: clamp(2.25rem, 4vw, 3.75rem); }
.gs-home .gs-section__head h2 { font-size: clamp(2.25rem, 4.5vw, 4.25rem); letter-spacing: -.035em; }
.gs-home .gs-section__head .gs-lead { font-size: clamp(1rem, 1.5vw, 1.18rem); }

/* Hero: lifestyle image and minimal, high-confidence message. */
.gs-home-hero--editorial .gs-hero__stage { min-height: clamp(660px, 76vh, 860px); }
.gs-home-hero--editorial .gs-hero__text { max-width: 690px; }
.gs-home-hero--editorial .gs-hero__title {
    max-width: 11ch; font-size: clamp(3.25rem, 6.1vw, 6.6rem);
    line-height: .96; letter-spacing: -.055em;
}
.gs-home-hero--editorial .gs-hero__text-lead { max-width: 41rem; font-size: clamp(1.05rem, 1.55vw, 1.28rem); margin-bottom: 1.7rem; }
.gs-home-hero--editorial .gs-hero__actions .gs-hero__cta-scan,
.gs-home-hero--editorial .gs-hero__actions .gs-hero__cta-scan:hover {
    background: var(--gs-glow); border-color: var(--gs-glow); color: #fff;
    box-shadow: 0 16px 34px rgba(192, 0, 0, .22);
}
.gs-home-hero--editorial .gs-hero__actions .gs-hero__cta-scan:hover { background: #a80000; border-color: #a80000; transform: translateY(-2px); }
.gs-home-hero--editorial .gs-hero__actions .gs-hero__cta-shop {
    background: var(--gs-ink); border-color: var(--gs-ink); color: #fff;
    box-shadow: 0 16px 34px rgba(13,36,74,.18);
}
.gs-home-hero--editorial .gs-hero__actions .gs-hero__cta-shop:hover {
    background: #173a73; border-color: #173a73; color: #fff; box-shadow: 0 18px 38px rgba(13,36,74,.22);
}
.gs-hero__standards {
    display: flex; flex-wrap: wrap; gap: .65rem 1.35rem; list-style: none;
    margin: 1.25rem 0 0; padding: 0; color: var(--gs-text-muted);
    font-size: .76rem; font-weight: 750; letter-spacing: .07em; text-transform: uppercase;
}
.gs-hero__standards li { display: inline-flex; align-items: center; gap: .55rem; }
.gs-hero__standards li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--gs-glow); }

/* A single low-profile trust rail. */
.gs-trust-strip { background: var(--gs-ink); color: #fff; border-block: 1px solid rgba(255,255,255,.09); }
.gs-trust-strip__list {
    display: grid; grid-template-columns: repeat(5, minmax(0,1fr));
    list-style: none; margin: 0; padding: 1.15rem 0;
}
.gs-trust-strip__list li {
    display: flex; align-items: center; justify-content: center; gap: .55rem;
    min-height: 34px; padding: .2rem .8rem; border-right: 1px solid rgba(255,255,255,.14);
    color: rgba(255,255,255,.88); font-size: .76rem; font-weight: 700; letter-spacing: .025em; text-align: center;
}
.gs-trust-strip__list li:last-child { border-right: 0; }
.gs-trust-strip__list span { color: #ff7d72; }

/* Best Sellers is the largest commerce shelf. */
.gs-featured { background: #f7f4ef; border-block: 0; }
.gs-featured .gs-featured__grid { gap: clamp(1rem, 2.2vw, 2rem); }
.gs-featured .gs-product-card { border-color: rgba(13,36,74,.1); border-radius: 22px; box-shadow: 0 14px 44px rgba(13,36,74,.08); }
.gs-featured .gs-product-card__media { min-height: clamp(330px, 31vw, 465px); padding: clamp(1.5rem, 3vw, 2.5rem); background: linear-gradient(145deg,#fbfaf7,#e9edf1); }
.gs-featured .gs-product-card__body { padding: 1.5rem 1.55rem 1.7rem; }
.gs-featured .gs-product-card__title { font-size: clamp(1.15rem, 1.7vw, 1.45rem); }
.gs-featured .gs-product-card__cta.gs-btn { min-height: 50px; border-radius: 12px; }

/* Flagship systems: cinematic media, real contents, no invented pricing. */
.gs-bundles { background: var(--gs-ink); color: #fff; }
.gs-bundles .gs-eyebrow { color: #ff8a80; }
.gs-bundles .gs-section__head h2, .gs-bundles .gs-section__head .gs-lead { color: #fff; }
.gs-bundles .gs-section__head .gs-lead { color: rgba(255,255,255,.72); }
.gs-bundles .gs-systems-grid { gap: clamp(1.2rem, 2.5vw, 2.25rem); }
.gs-bundles .gs-system-card { border: 1px solid rgba(255,255,255,.13); border-radius: 24px; background: #fff; box-shadow: 0 24px 64px rgba(0,0,0,.22); }
.gs-bundles .gs-system-card__media { aspect-ratio: 5 / 4; min-height: 330px; background: linear-gradient(145deg,#f8f5ef,#e5eaf0); }
.gs-system-card__included { width: 100%; margin-top: .45rem; padding-top: .8rem; border-top: 1px solid var(--gs-border); }
.gs-system-card__included > p { margin: 0 0 .45rem; color: var(--gs-heading); font-size: .72rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.gs-system-card__included ul { display: grid; gap: .3rem; list-style: none; margin: 0; padding: 0; }
.gs-system-card__included li { position: relative; padding-left: 1rem; color: var(--gs-text-muted); font-size: .82rem; }
.gs-system-card__included li::before { content: ""; position: absolute; left: 0; top: .58em; width: 5px; height: 5px; border-radius: 50%; background: var(--gs-glow); }
.gs-bundles .gs-featured__all-link { color: #fff; border-color: rgba(255,255,255,.4); }

/* Goal cards: cleaner, larger and more visual even before owner imagery exists. */
.gs-goals-section { background: #fff; }
.gs-goals-section .gs-goals-grid-v2 { gap: clamp(1rem, 2vw, 1.65rem); }
.gs-goals-section .gs-goal-card { min-height: 300px; border: 1px solid rgba(13,36,74,.1); border-radius: 20px; background: linear-gradient(155deg,#fbfaf7 0%,#eef2f5 100%); box-shadow: 0 12px 36px rgba(13,36,74,.07); }
.gs-goals-section .gs-goal-card__media { aspect-ratio: 16 / 8.5; min-height: 145px; }
.gs-goals-section .gs-goal-card__body { padding: 1.35rem 1.4rem 1.55rem; }
.gs-goals-section .gs-goal-card__title { font-size: 1.4rem; }

/* Scan: premium buying assistant, not a dashboard-heavy detour. */
.gs-scan-assistant { background: #f3eee7; }
.gs-scan-assistant__layout { display: grid; grid-template-columns: minmax(0,.82fr) minmax(0,1.18fr); align-items: center; gap: clamp(2.5rem,6vw,6rem); }
.gs-scan-assistant__copy h2 { max-width: 10ch; margin: .7rem 0 1.2rem; font-size: clamp(2.5rem,4.8vw,5rem); line-height: 1; letter-spacing: -.045em; }
.gs-scan-assistant__copy .gs-lead { max-width: 36rem; }
.gs-scan-assistant__benefits { display: grid; gap: .75rem; list-style: none; margin: 1.65rem 0 2rem; padding: 0; }
.gs-scan-assistant__benefits li { position: relative; padding-left: 1.65rem; color: var(--gs-heading); font-weight: 650; }
.gs-scan-assistant__benefits li::before { content: "\2713"; position: absolute; left: 0; color: var(--gs-glow); font-weight: 900; }
.gs-scan-assistant__preview { padding: clamp(1.25rem,3vw,2rem); border: 1px solid rgba(13,36,74,.11); border-radius: 26px; background: #fff; box-shadow: 0 28px 70px rgba(13,36,74,.14); }
.gs-scan-assistant__preview-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; padding-bottom: 1.35rem; border-bottom: 1px solid var(--gs-border); }
.gs-scan-assistant__preview-top p { margin: 0 0 .15rem; color: var(--gs-text-muted); font-size: .76rem; text-transform: uppercase; letter-spacing: .08em; }
.gs-scan-assistant__preview-top strong { color: var(--gs-heading); font-family: var(--gs-font-heading); font-size: 1.45rem; }
.gs-scan-assistant__preview-top > span { padding: .35rem .7rem; border-radius: 999px; background: #f2eee8; color: var(--gs-text-muted); font-size: .72rem; font-weight: 700; }
.gs-scan-assistant__preview-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; padding-top: 1rem; }
.gs-scan-assistant__preview-grid article { min-height: 215px; padding: 1.35rem; border-radius: 18px; background: #f7f8f9; border: 1px solid var(--gs-border); }
.gs-scan-assistant__preview-grid article:last-child { background: var(--gs-ink); border-color: var(--gs-ink); }
.gs-scan-assistant__preview-grid small { color: var(--gs-glow); font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.gs-scan-assistant__preview-grid h3 { margin: 2rem 0 .65rem; font-size: 1.35rem; }
.gs-scan-assistant__preview-grid p { margin: 0; color: var(--gs-text-muted); font-size: .88rem; }
.gs-scan-assistant__preview-grid article:last-child h3, .gs-scan-assistant__preview-grid article:last-child p { color: #fff; }
.gs-scan-assistant__preview-grid article:last-child p { color: rgba(255,255,255,.7); }

/* Why GlowStrong: only three refined columns. */
.gs-why-d { background: #fff; }
.gs-why-d__grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 0; border-block: 1px solid var(--gs-border); }
.gs-why-d__grid article { padding: clamp(2rem,4vw,3.5rem); border-right: 1px solid var(--gs-border); text-align: center; }
.gs-why-d__grid article:last-child { border-right: 0; }
.gs-why-d__grid article > span { display: block; width: 32px; height: 3px; margin: 0 auto 1.4rem; background: var(--gs-glow); }
.gs-why-d__grid h3 { margin: 0 0 .65rem; font-size: clamp(1.4rem,2vw,1.9rem); }
.gs-why-d__grid p { max-width: 28rem; margin: 0 auto; color: var(--gs-text-muted); }

/* Three real articles with low visual weight but premium editorial scale. */
.gs-research-d { background: #f7f4ef; }
.gs-research-d__grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(1.1rem,2.5vw,2rem); }
.gs-research-d__card { overflow: hidden; border: 1px solid rgba(13,36,74,.1); border-radius: 22px; background: #fff; box-shadow: 0 12px 36px rgba(13,36,74,.07); }
.gs-research-d__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--gs-ink); text-decoration: none; }
.gs-research-d__img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--gs-dur) var(--gs-ease); }
.gs-research-d__card:hover .gs-research-d__img { transform: scale(1.025); }
.gs-research-d__fallback { display: grid; place-items: center; width: 100%; height: 100%; padding: 2rem; color: rgba(255,255,255,.82); font-family: var(--gs-font-heading); font-size: 1.35rem; letter-spacing: .03em; text-align: center; }
.gs-research-d__body { padding: 1.45rem 1.45rem 1.7rem; }
.gs-research-d__meta { margin: 0 0 .6rem; color: var(--gs-glow); font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.gs-research-d__body h3 { margin: 0 0 .7rem; font-size: clamp(1.25rem,1.8vw,1.65rem); line-height: 1.18; }
.gs-research-d__body h3 a { color: var(--gs-heading); text-decoration: none; }
.gs-research-d__body > p:not(.gs-research-d__meta) { color: var(--gs-text-muted); font-size: .9rem; }
.gs-research-d__link { color: var(--gs-ink); font-size: .86rem; font-weight: 800; text-decoration: none; }

/* Minimal capture and premium dual-path closing banner. */
.gs-newsletter { padding-block: clamp(3.5rem,6vw,5rem) !important; background: #fff; }
.gs-newsletter .gs-lead-capture { max-width: 820px; padding: clamp(2rem,4vw,3.25rem); box-shadow: none; }
.gs-newsletter .gs-lead-capture h2 { font-size: clamp(2rem,3.5vw,3.25rem); }
.gs-scan-cta__panel { padding: clamp(3rem,7vw,6rem); border-radius: 28px; background: linear-gradient(135deg,#0d244a 0%,#173a73 100%); }
.gs-scan-cta__title { max-width: 13ch; margin-inline: auto; font-size: clamp(2.5rem,5vw,5rem); line-height: 1; letter-spacing: -.045em; }
.gs-scan-cta__actions { display: flex; justify-content: center; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
.gs-scan-cta__shop { background: #fff; border-color: #fff; color: var(--gs-ink); }
.gs-scan-cta__shop:hover { background: #f2f5f8; border-color: #f2f5f8; color: var(--gs-ink); }

@media (max-width: 1020px) {
    .gs-trust-strip__list { grid-template-columns: repeat(3,minmax(0,1fr)); }
    .gs-trust-strip__list li:nth-child(3) { border-right: 0; }
    .gs-trust-strip__list li:nth-child(n+4) { border-top: 1px solid rgba(255,255,255,.12); }
    .gs-scan-assistant__layout { grid-template-columns: 1fr; }
    .gs-scan-assistant__copy { max-width: 700px; }
}

@media (max-width: 760px) {
    .gs-home .gs-section { padding-block: 4rem; }
    .gs-home-hero--editorial .gs-hero__stage { min-height: 720px; }
    .gs-home-hero--editorial .gs-hero__title { max-width: 11ch; font-size: clamp(2.8rem,12vw,4.6rem); }
    .gs-hero__standards { gap: .55rem 1rem; font-size: .68rem; }
    .gs-trust-strip__list { grid-template-columns: 1fr 1fr; }
    .gs-trust-strip__list li { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.12); }
    .gs-trust-strip__list li:nth-child(odd) { border-right: 1px solid rgba(255,255,255,.12); }
    .gs-trust-strip__list li:last-child { grid-column: 1 / -1; border-bottom: 0; }
    .gs-featured .gs-product-card__media { min-height: 245px; }
    .gs-bundles .gs-system-card__media { min-height: 270px; }
    .gs-goals-section .gs-goal-card { min-height: 250px; }
    .gs-why-d__grid, .gs-research-d__grid { grid-template-columns: 1fr; }
    .gs-why-d__grid article { border-right: 0; border-bottom: 1px solid var(--gs-border); }
    .gs-why-d__grid article:last-child { border-bottom: 0; }
}

@media (max-width: 560px) {
    .gs-featured .gs-featured__grid { grid-template-columns: 1fr; }
    .gs-featured .gs-product-card__media { min-height: 330px; }
    .gs-goals-section .gs-goals-grid-v2 { grid-template-columns: 1fr; }
    .gs-goals-section .gs-goal-card { min-height: 0; }
    .gs-scan-assistant__preview-grid { grid-template-columns: 1fr; }
    .gs-scan-assistant__preview-grid article { min-height: 180px; }
    .gs-scan-cta__actions .gs-btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
    .gs-research-d__img { transition: none; }
}

/* Version D refinement: blue homepage header with a quieter Scan action. */
body.home .gs-header {
    background: rgba(13, 36, 74, .98);
    border-bottom-color: rgba(255, 255, 255, .12);
    box-shadow: 0 8px 28px rgba(7, 21, 46, .14);
}
body.home .gs-header .gs-nav > ul > li > a,
body.home .gs-header .gs-cart,
body.home .gs-header .gs-icon-btn,
body.home .gs-header .gs-theme-toggle { color: rgba(255, 255, 255, .9); }
body.home .gs-header .gs-nav > ul > li > a:hover,
body.home .gs-header .gs-nav > ul > li > a:focus-visible,
body.home .gs-header .gs-cart:hover,
body.home .gs-header .gs-icon-btn:hover,
body.home .gs-header .gs-theme-toggle:hover { color: #fff; }
body.home .gs-header .gs-burger span { background: #fff; }
body.home .gs-header .gs-cart-count { background: var(--gs-glow); color: #fff; }
body.home .gs-header .gs-header__cta {
    min-height: 38px;
    padding: .62rem .95rem;
    border-radius: 10px;
    background: var(--gs-glow);
    border-color: var(--gs-glow);
    color: #fff;
    font-size: .76rem;
    line-height: 1;
    letter-spacing: .015em;
    box-shadow: none;
}
body.home .gs-header .gs-header__cta:hover {
    background: #a80000;
    border-color: #a80000;
    color: #fff;
    transform: none;
}

/* Goal-card fallback art: a finished visual treatment until real owner-
   assigned product_goal photography is available. */
.gs-goals-section .gs-goal-card:not(:has(.gs-goal-card__img)) {
    min-height: 0;
    background: #fff;
}
.gs-goals-section .gs-goal-card:not(:has(.gs-goal-card__img)) .gs-goal-card__media {
    position: relative;
    min-height: 175px;
    aspect-ratio: auto;
    overflow: hidden;
    background:
        radial-gradient(circle at 78% 20%, rgba(255,255,255,.88) 0 11%, transparent 12%),
        linear-gradient(145deg, #f5dada 0%, #eef2f6 72%);
}
.gs-goals-section .gs-goal-card:not(:has(.gs-goal-card__img)) .gs-goal-card__media::before,
.gs-goals-section .gs-goal-card:not(:has(.gs-goal-card__img)) .gs-goal-card__media::after {
    content: "";
    position: absolute;
    border: 1px solid rgba(13,36,74,.09);
    border-radius: 50%;
}
.gs-goals-section .gs-goal-card:not(:has(.gs-goal-card__img)) .gs-goal-card__media::before {
    width: 190px; height: 190px; right: -54px; top: -70px;
}
.gs-goals-section .gs-goal-card:not(:has(.gs-goal-card__img)) .gs-goal-card__media::after {
    width: 120px; height: 120px; left: -46px; bottom: -60px;
}
.gs-goals-section .gs-goal-card:not(:has(.gs-goal-card__img)) .gs-goal-card__icon {
    position: relative;
    z-index: 1;
    width: 88px;
    height: 88px;
    border: 1px solid rgba(13,36,74,.08);
    border-radius: 24px;
    background: rgba(255,255,255,.88);
    color: var(--gs-ink);
    box-shadow: 0 18px 38px rgba(13,36,74,.12);
}
.gs-goals-section .gs-goal-card:not(:has(.gs-goal-card__img)) .gs-goal-card__icon svg {
    width: 39px;
    height: 39px;
}
.gs-goals-section .gs-goal-card:not(:has(.gs-goal-card__img)) .gs-goal-card__body {
    min-height: 150px;
    justify-content: center;
    background: #fff;
}
.gs-goals-section .gs-goal-card:nth-child(2):not(:has(.gs-goal-card__img)) .gs-goal-card__media { background: linear-gradient(145deg,#f6e1d3,#eef2f6 72%); }
.gs-goals-section .gs-goal-card:nth-child(3):not(:has(.gs-goal-card__img)) .gs-goal-card__media { background: linear-gradient(145deg,#e3e1f3,#eef2f6 72%); }
.gs-goals-section .gs-goal-card:nth-child(4):not(:has(.gs-goal-card__img)) .gs-goal-card__media { background: linear-gradient(145deg,#dce7ef,#f1f3f5 72%); }
.gs-goals-section .gs-goal-card:nth-child(5):not(:has(.gs-goal-card__img)) .gs-goal-card__media { background: linear-gradient(145deg,#dcece8,#f0f3f4 72%); }
.gs-goals-section .gs-goal-card:nth-child(6):not(:has(.gs-goal-card__img)) .gs-goal-card__media { background: linear-gradient(145deg,#dfead9,#f1f3ef 72%); }
.gs-goals-section .gs-goal-card:nth-child(7):not(:has(.gs-goal-card__img)) .gs-goal-card__media { background: linear-gradient(145deg,#eee0d3,#f3f0ed 72%); }
.gs-goals-section .gs-goal-card:nth-child(8):not(:has(.gs-goal-card__img)) .gs-goal-card__media { background: linear-gradient(145deg,#e1e8f1,#f0f2f5 72%); }

@media (max-width: 560px) {
    .gs-goals-section .gs-goal-card:not(:has(.gs-goal-card__img)) .gs-goal-card__media { min-height: 150px; }
    .gs-goals-section .gs-goal-card:not(:has(.gs-goal-card__img)) .gs-goal-card__body { min-height: 135px; }
}
