/* ============================================================
   NOCTURIDA — SNOOZEBAND 2.0 — MASTER STYLESHEET
   "Csendes éjszaka" — warm paper + deep night navy + coral ember
   Fraunces (display) + Sora (body) — soft, rounded, floating shapes
   ============================================================ */

/* ── Google Fonts ────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,400;0,9..144,500;0,9..144,600;0,9..144,700;0,9..144,800;1,9..144,400;1,9..144,500&family=Sora:wght@300;400;500;600;700;800&display=swap');

/* ── CSS Variables ───────────────────────────────────────── */
:root {
  --color-ink:       #17212C;
  --color-ink-soft:  #49545F;
  --color-ink-muted: #7C8791;
  --color-bg:        #FBF5EA;
  --color-bg-alt:    #F2E7D4;
  --color-bg-dark:   #0E1620;
  --color-accent:    #E8623D;
  --color-accent-dk: #C84B29;
  --color-accent-2:  #2F7A6E;
  --color-accent-2-dk: #235D54;
  --color-white:     #FFFDF9;
  --color-border:    rgba(23,33,44,0.10);
  --color-border-md: rgba(23,33,44,0.18);

  --font-display: 'Fraunces', Georgia, serif;
  --font-body:    'Sora', system-ui, sans-serif;

  --nav-w: 96px;
  --nav-h: 72px;

  --radius-sm: 12px;
  --radius-md: 22px;
  --radius-lg: 36px;
  --radius-pill: 999px;

  --shadow-soft: 0 24px 60px -24px rgba(14,22,32,0.22);
  --shadow-card: 0 14px 34px -16px rgba(14,22,32,0.16);
  --shadow-pop:  0 10px 24px -10px rgba(232,98,61,0.45);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);

  --section-pad: clamp(72px, 10vw, 136px);
}

/* ── Reset ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-ink);
  overflow-x: hidden;
  padding-left: calc(var(--nav-w) + 18px);
  padding-top: 0;
}
img { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font-family: inherit; }

/* ── Dark-section scope ──────────────────────────────────── */
.on-dark { color: rgba(255,255,255,0.82); }
.on-dark h1, .on-dark h2, .on-dark h3, .on-dark h4 { color: #fff; }
.on-dark p { color: rgba(255,255,255,0.68); }
.on-dark a:not(.btn):not(.btn-cta) { color: inherit; }

/* ── Container ───────────────────────────────────────────── */
/* Every section's content wrapper — gets its own quiet texture + a slow
   drifting color wash so sections stop feeling like flat, identical boxes.
   Pure decoration: absolute, behind content, never affects layout/flow. */
.container {
  width: 100%;
  max-width: 1220px;
  margin-inline: auto;
  padding-inline: clamp(24px, 5vw, 56px);
  position: relative;
  isolation: isolate;
}
.container::before {
  content: '';
  position: absolute;
  inset: -6% -4%;
  z-index: -1;
  pointer-events: none;
  background-image: radial-gradient(rgba(23,33,44,0.08) 1px, transparent 1.4px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 85% 15%, #000 0%, transparent 72%);
          mask-image: radial-gradient(ellipse 60% 70% at 85% 15%, #000 0%, transparent 72%);
  opacity: 0.5;
}
.container::after {
  content: '';
  position: absolute;
  inset: -10%;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(circle at 12% 85%, rgba(232,98,61,0.10), transparent 45%);
  filter: blur(10px);
  animation: container-drift 18s ease-in-out infinite;
}
.on-dark .container::before { background-image: radial-gradient(rgba(255,255,255,0.10) 1px, transparent 1.4px); opacity: 0.6; }
.on-dark .container::after { background: radial-gradient(circle at 12% 85%, rgba(47,122,110,0.22), transparent 45%); }
.checkout-header .container::before, .checkout-header .container::after,
.footer .container::before, .footer .container::after,
.adv-bar .container::before, .adv-bar .container::after { content: none; }
@keyframes container-drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(3%, -4%) scale(1.15); }
}
@media (prefers-reduced-motion: reduce) {
  .container::after { animation: none; }
}
.container--narrow {
  max-width: 760px;
  margin-inline: auto;
  padding-inline: clamp(24px, 5vw, 48px);
}

/* ── Typography ──────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  line-height: 1.08;
  letter-spacing: -0.015em;
  font-optical-sizing: auto;
}
p { line-height: 1.7; }

.headline-outline { -webkit-text-stroke: 1.5px var(--color-ink); color: transparent; }
.headline-filled  { color: var(--color-ink); }
.on-dark .headline-outline { -webkit-text-stroke: 1.5px #fff; }
.on-dark .headline-filled  { color: #fff; }
.headline-accent-outline { -webkit-text-stroke: 1.5px var(--color-accent); color: transparent; }
.headline-accent-filled  { color: var(--color-accent); }

/* Eyebrow / pill tag label */
.eyebrow {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-accent-2);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}
.eyebrow::before {
  content: '';
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--color-accent);
  flex-shrink: 0;
}
.on-dark .eyebrow { color: rgba(255,255,255,0.55); }

/* ── Buttons — soft pill system ──────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  color: var(--color-ink);
  background: var(--color-white);
  border: 1.5px solid var(--color-border-md);
  padding: 13px 26px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: color 0.25s, border-color 0.25s, background 0.25s, transform 0.25s;
}
.btn:hover { color: var(--color-accent-dk); border-color: var(--color-accent); transform: translateY(-2px); }
.btn--accent { color: var(--color-accent); border-color: var(--color-accent); }
.btn--white { color: #fff; border-color: rgba(255,255,255,0.3); background: rgba(255,255,255,0.08); }
.btn--white:hover { border-color: #fff; background: rgba(255,255,255,0.16); }
.btn--xl { font-size: 14.5px; padding: 16px 32px; }
.btn svg { flex-shrink: 0; transition: transform 0.25s var(--ease-out); }
.btn:hover svg { transform: translateX(4px); }

/* CTA pill — primary action, solid filled */
.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  background: var(--color-ink);
  color: var(--color-white);
  border: 1.5px solid var(--color-ink);
  padding: 17px 36px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: background 0.25s, color 0.25s, transform 0.25s, box-shadow 0.25s;
  box-shadow: var(--shadow-card);
}
.btn-cta:hover { background: var(--color-accent); border-color: var(--color-accent); transform: translateY(-2px); box-shadow: var(--shadow-pop); }
.btn-cta--accent { background: var(--color-accent); border-color: var(--color-accent); }
.btn-cta--accent:hover { background: var(--color-accent-dk); border-color: var(--color-accent-dk); }
.btn-cta svg { flex-shrink: 0; transition: transform 0.25s var(--ease-out); }
.btn-cta:hover svg { transform: translateX(4px); }
.btn.is-loading, .btn-cta.is-loading { opacity: 0.7; pointer-events: none; }

/* Spinner */
@keyframes spin { to { transform: rotate(360deg); } }
.spinner {
  width: 16px; height: 16px;
  border: 2px solid currentColor;
  border-top-color: transparent;
  border-radius: 50%;
  display: inline-block;
  animation: spin 0.7s linear infinite;
  flex-shrink: 0;
}

/* ── Cards ───────────────────────────────────────────────── */
.card {
  border: 1px solid var(--color-border);
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }

/* ── Photo placeholder ───────────────────────────────────── */
.photo-placeholder {
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-2));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 100%;
  min-height: 200px;
  border-radius: inherit;
}
.photo-placeholder__icon { font-size: 32px; }
.photo-placeholder__label { color: #fff; font-size: 13px; font-weight: 600; text-align: center; padding: 0 16px; }

/* ── Generated-art fallback (used when no matching photo exists) ─── */
.art-fallback {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 220px;
  overflow: hidden;
  background: linear-gradient(155deg, #11202A 0%, #17212C 55%, #0E1620 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: inherit;
}
.art-fallback__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(26px);
  opacity: 0.55;
  animation: blob-drift 14s ease-in-out infinite;
}
.art-fallback__blob--a { width: 46%; aspect-ratio: 1; background: var(--color-accent); top: -8%; left: -6%; animation-delay: 0s; }
.art-fallback__blob--b { width: 38%; aspect-ratio: 1; background: var(--color-accent-2); bottom: -10%; right: -4%; animation-delay: -5s; }
.art-fallback__blob--c { width: 30%; aspect-ratio: 1; background: #E8B23D; bottom: 6%; left: 14%; animation-delay: -9s; opacity: 0.35; }
.art-fallback__icon {
  position: relative; z-index: 2;
  width: 30%; max-width: 86px;
  color: rgba(255,255,255,0.92);
}
.art-fallback__ring {
  position: absolute; z-index: 1;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 50%;
  animation: ring-spin 22s linear infinite;
}
.art-fallback__ring--1 { width: 58%; aspect-ratio: 1; }
.art-fallback__ring--2 { width: 78%; aspect-ratio: 1; animation-direction: reverse; animation-duration: 30s; }
@keyframes blob-drift {
  0%, 100% { transform: translate(0,0) scale(1) rotate(0deg); }
  33%      { transform: translate(6%, -8%) scale(1.12) rotate(8deg); }
  66%      { transform: translate(-5%, 6%) scale(0.95) rotate(-6deg); }
}
@keyframes ring-spin { to { transform: rotate(360deg); } }

/* ── Floating capsule side nav ───────────────────────────── */
.sidenav {
  position: fixed;
  left: 16px; top: 16px;
  width: calc(var(--nav-w) - 16px);
  height: calc(100vh - 32px);
  background: var(--color-bg-dark);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
  z-index: 1000;
  box-shadow: var(--shadow-soft);
}
.sidenav__logo {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--color-accent), var(--color-accent-dk));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  flex-shrink: 0;
}
.sidenav__links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.sidenav__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 10px 6px;
  border-radius: var(--radius-sm);
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  transition: color 0.2s, background 0.2s;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
}
.sidenav__link:hover, .sidenav__link.active { color: #fff; background: rgba(255,255,255,0.08); }
.sidenav__dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  transition: background 0.2s, transform 0.2s;
  flex-shrink: 0;
}
.sidenav__link:hover .sidenav__dot,
.sidenav__link.active .sidenav__dot { background: var(--color-accent); transform: scale(1.6); }
.sidenav__bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.sidenav__icon {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--color-accent);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  transition: transform 0.2s, background 0.2s;
  text-decoration: none;
}
.sidenav__icon:hover { background: var(--color-accent-dk); transform: scale(1.08); }

/* Mobile top nav */
.topnav {
  display: none;
  position: fixed;
  top: 10px; left: 10px; right: 10px;
  height: var(--nav-h);
  background: var(--color-bg-dark);
  border-radius: var(--radius-lg);
  align-items: center;
  justify-content: space-between;
  padding-inline: 22px;
  z-index: 1000;
  box-shadow: var(--shadow-soft);
}
.topnav__logo {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: #fff;
  text-decoration: none;
}
.topnav__hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.topnav__hamburger span {
  display: block;
  width: 22px; height: 2px;
  border-radius: 2px;
  background: #fff;
  transition: transform 0.25s, opacity 0.25s;
}
.topnav__hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.topnav__hamburger.open span:nth-child(2) { opacity: 0; }
.topnav__hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: fixed;
  top: calc(var(--nav-h) + 20px); left: 10px; right: 10px;
  background: var(--color-bg-dark);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  z-index: 999;
  flex-direction: column;
  gap: 2px;
  box-shadow: var(--shadow-soft);
}
.mobile-menu.nav__links--open { display: flex; }
.mobile-menu a {
  font-size: 14px;
  font-weight: 600;
  padding: 13px 4px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.8);
  text-decoration: none;
}
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu a:hover { color: var(--color-accent); }

/* ── Advertorial bar ─────────────────────────────────────── */
.adv-bar {
  background: var(--color-ink);
  text-align: center;
  padding: 9px 20px;
  font-size: 11.5px;
  font-weight: 500;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.03em;
}
.adv-bar a { color: var(--color-accent); text-decoration: underline; }

/* ── Hero ────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  background: var(--color-bg);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 0;
  position: relative;
  overflow: hidden;
}
.hero__left {
  padding: clamp(60px, 8vw, 110px) clamp(32px, 5vw, 72px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 2;
}
.hero__trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}
.hero__trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--color-border-md);
  padding: 8px 16px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--color-ink-soft);
  background: var(--color-white);
}
.hero__trust-badge svg { color: var(--color-accent); flex-shrink: 0; }

.hero__headline {
  font-size: clamp(42px, 5.2vw, 76px);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin-bottom: 22px;
}
.hero__sub {
  font-size: clamp(15px, 1.3vw, 18px);
  font-weight: 400;
  color: var(--color-ink-soft);
  max-width: 440px;
  margin-bottom: 36px;
  line-height: 1.65;
}
.hero__price-block {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 30px;
}
.hero__price {
  font-family: var(--font-display);
  font-size: clamp(30px, 3.2vw, 44px);
  font-weight: 600;
  color: var(--color-ink);
}
.hero__price-old {
  font-size: 18px;
  color: var(--color-ink-muted);
  text-decoration: line-through;
}
.hero__price-note {
  font-size: 13px;
  color: var(--color-ink-muted);
  font-weight: 500;
}
.hero__cta-row {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.hero__right {
  position: relative;
  background: radial-gradient(ellipse at 60% 40%, #203342 0%, var(--color-bg-dark) 70%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  min-height: 600px;
}
.hero__right::before {
  content: '';
  position: absolute;
  inset: -10%;
  background:
    radial-gradient(circle at 20% 20%, rgba(232,98,61,0.20), transparent 40%),
    radial-gradient(circle at 80% 75%, rgba(47,122,110,0.28), transparent 45%);
  pointer-events: none;
}
/* Visual stage — everything floats around this, nothing is clipped by the image mask */
.hero__visual {
  position: relative;
  width: 78%;
  max-width: 460px;
  aspect-ratio: 1/1;
  z-index: 1;
}

/* Decorative rotating rings behind the photo */
.hero__ring {
  position: absolute;
  inset: -6%;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  animation: ring-spin 26s linear infinite;
}
.hero__ring--2 {
  inset: -13%;
  border-color: rgba(232,98,61,0.22);
  border-style: dashed;
  animation-duration: 38s;
  animation-direction: reverse;
}

/* Soft breathing glow behind everything */
.hero__glow {
  position: absolute;
  inset: 6%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232,98,61,0.35) 0%, transparent 70%);
  filter: blur(30px);
  z-index: 0;
  animation: glow-pulse 5s ease-in-out infinite;
}

.hero__img-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 6px solid rgba(255,255,255,0.08);
  animation: blob-morph 11s ease-in-out infinite, float 6s ease-in-out infinite;
}
.hero__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: kenburns 10s ease-in-out infinite alternate;
}
.hero__img-wrap::after {
  content: '';
  position: absolute; top: 0; left: 0;
  width: 45%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.30), transparent);
  animation: shimmer-sweep 6s ease-in-out infinite;
  animation-delay: 1.5s;
  pointer-events: none;
}

/* Small round decorative accent badge (moon icon) */
.hero__badge {
  position: absolute;
  top: -5%; left: 2%;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--color-accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-pop);
  z-index: 10;
  animation: float 6.5s ease-in-out infinite, badge-pop 0.7s var(--ease-out) 0.5s both;
}

.hero__floating-stat {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,0.90);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.6);
  border-radius: var(--radius-md);
  padding: 12px 18px;
  z-index: 10;
  box-shadow: var(--shadow-card);
  animation: float 7s ease-in-out infinite, badge-pop 0.7s var(--ease-out) both;
}
.hero__floating-stat--1 { top: -4%; right: -9%; animation-delay: 0s, 0.65s; }
.hero__floating-stat--2 { bottom: 2%; left: -11%; animation-delay: -3s, 0.8s; }
.hero__stat-icon {
  flex-shrink: 0;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(232,98,61,0.14);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero__stat-val {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--color-ink);
  line-height: 1;
}
.hero__stat-lbl {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-ink-muted);
  margin-top: 3px;
}

.hero__bg-num {
  position: absolute;
  font-family: var(--font-display);
  font-size: clamp(140px, 20vw, 300px);
  font-weight: 700;
  color: rgba(23,33,44,0.035);
  pointer-events: none;
  z-index: 0;
  bottom: -30px;
  left: -10px;
  line-height: 1;
  user-select: none;
}

/* ── Keyframes ───────────────────────────────────────────── */
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%       { transform: translateY(-14px) rotate(1deg); }
}
@keyframes fade-up {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes slide-in-left {
  from { opacity: 0; transform: translateX(-40px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes pulse-ring {
  0%   { transform: scale(1); opacity: 0.5; }
  100% { transform: scale(1.5); opacity: 0; }
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes draw-line {
  from { stroke-dashoffset: 400; }
  to   { stroke-dashoffset: 0; }
}
@keyframes kenburns {
  0%   { transform: scale(1) translate(0,0); }
  100% { transform: scale(1.12) translate(-1.5%, -1%); }
}
@keyframes shimmer-sweep {
  0%   { transform: translateX(-120%) skewX(-12deg); }
  60%, 100% { transform: translateX(220%) skewX(-12deg); }
}
@keyframes blob-morph {
  0%, 100% { border-radius: 50% 46% 54% 50% / 46% 54% 46% 54%; }
  33%      { border-radius: 58% 42% 48% 52% / 52% 48% 52% 48%; }
  66%      { border-radius: 44% 56% 58% 42% / 50% 46% 54% 50%; }
}
@keyframes glow-pulse {
  0%, 100% { opacity: 0.55; transform: scale(1); }
  50%      { opacity: 0.85; transform: scale(1.08); }
}
/* Transform-only pop (never opacity) — badges must stay visible even if this
   animation's delay never elapses (frozen tab, slow device, etc.) */
@keyframes badge-pop {
  from { transform: translateY(14px) scale(0.85); }
  to   { transform: translateY(0) scale(1); }
}

/* Hero entrance animations */
.hero__left { animation: slide-in-left 0.9s var(--ease-out) both; }
.hero__right { animation: fade-in 1.1s var(--ease-out) 0.2s both; }
.hero__headline { animation: fade-up 0.8s var(--ease-out) 0.1s both; }
.hero__trust-row { animation: fade-up 0.8s var(--ease-out) 0s both; }
.hero__sub { animation: fade-up 0.8s var(--ease-out) 0.2s both; }
.hero__price-block { animation: fade-up 0.8s var(--ease-out) 0.3s both; }
.hero__cta-row { animation: fade-up 0.8s var(--ease-out) 0.4s both; }

/* ── Scroll animations ───────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(40px) scale(0.98);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.reveal.revealed { opacity: 1; transform: translateY(0) scale(1); }
.reveal-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.reveal-left.revealed { opacity: 1; transform: translateX(0); }
.reveal-right {
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.reveal-right.revealed { opacity: 1; transform: translateX(0); }

/* Ken-Burns + shimmer + tilt wrappers for content photos */
.kb-media { position: relative; overflow: hidden; border-radius: inherit; }
.kb-media img { animation: kenburns 9s ease-in-out infinite alternate; }
.kb-media::after {
  content: '';
  position: absolute; top: 0; left: 0;
  width: 40%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.35), transparent);
  animation: shimmer-sweep 5s ease-in-out infinite;
  animation-delay: 1.2s;
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
  .kb-media img { animation: none; }
  .kb-media::after { display: none; }
  .hero__ring, .hero__glow, .hero__img-wrap, .hero__img-wrap img, .hero__img-wrap::after,
  .hero__floating-stat, .hero__badge { animation: none; }
}
.tilt-card { transition: transform 0.15s ease-out; transform-style: preserve-3d; }

/* ── Stats section ───────────────────────────────────────── */
.stats-section {
  background: var(--color-bg-alt);
  padding: var(--section-pad) 0;
  position: relative;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  margin-top: -40px;
}
.stats-section .container { display: grid; grid-template-columns: 1fr 2fr; gap: 80px; align-items: center; }
.stats__label-col h2 {
  font-size: clamp(34px, 3.8vw, 52px);
  font-weight: 600;
  line-height: 1.1;
  margin-bottom: 20px;
}
.stats__label-col p {
  font-size: 15px;
  color: var(--color-ink-soft);
  max-width: 300px;
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.stat-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 30px 26px;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s var(--ease-out);
}
.stat-card:hover { transform: translateY(-5px); }
.stat-card__val {
  font-family: var(--font-display);
  font-size: clamp(34px, 4.2vw, 54px);
  font-weight: 600;
  color: var(--color-accent);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-card__val sup { font-size: 0.5em; vertical-align: super; }
.stat-card__label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--color-ink);
}
.stat-card__sub {
  font-size: 12px;
  color: var(--color-ink-muted);
  margin-top: 4px;
  line-height: 1.4;
}

/* ── Product section ─────────────────────────────────────── */
.product-section {
  padding: var(--section-pad) 0;
  background: var(--color-bg);
}
.product-section .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.product__gallery { position: sticky; top: 32px; }
.product__main-img {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: var(--radius-lg);
  margin-bottom: 14px;
  box-shadow: var(--shadow-card);
  background: var(--color-white);
}
.product__main-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease-out);
}
.product__main-img:hover img { transform: scale(1.04); }
.product__thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.product__thumb {
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 0.2s;
  background: var(--color-white);
}
.product__thumb.active, .product__thumb:hover { border-color: var(--color-accent); }
.product__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.product__thumb:hover img { transform: scale(1.08); }

/* Colour swatch selector */
.swatch-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 18px 0 28px;
}
.swatch {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 2px solid transparent;
  box-shadow: 0 0 0 1px var(--color-border-md);
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  padding: 0;
}
.swatch:hover { transform: scale(1.14); }
.swatch.active { border-color: var(--color-white); box-shadow: 0 0 0 2px var(--color-accent); }
.swatch-label { font-size: 12px; color: var(--color-ink-muted); font-weight: 600; margin-left: 4px; }

.product__info {}
.product__name {
  font-size: clamp(30px, 3.4vw, 46px);
  font-weight: 600;
  margin-bottom: 8px;
  line-height: 1.1;
}
.product__tagline {
  font-size: 15px;
  color: var(--color-ink-soft);
  margin-bottom: 24px;
  line-height: 1.6;
}
.product__specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 32px;
}
.product__spec {
  background: var(--color-bg-alt);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
}
.product__spec-key {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-ink-muted);
  margin-bottom: 4px;
}
.product__spec-val {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-ink);
}
.product__price-row {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 24px;
  padding: 22px 0;
  border-top: 1px dashed var(--color-border-md);
  border-bottom: 1px dashed var(--color-border-md);
}
.product__price {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 600;
  color: var(--color-ink);
}
.product__price-note { font-size: 13px; color: var(--color-ink-muted); }
.product__order-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-body);
  font-size: 14.5px;
  font-weight: 700;
  background: var(--color-accent);
  color: #fff;
  border: none;
  border-radius: var(--radius-pill);
  padding: 19px 40px;
  cursor: pointer;
  transition: background 0.25s, transform 0.25s, box-shadow 0.25s;
  text-decoration: none;
  width: 100%;
  justify-content: center;
  margin-bottom: 16px;
  box-shadow: var(--shadow-pop);
}
.product__order-btn:hover { background: var(--color-accent-dk); transform: translateY(-2px); }
.product__scroll-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-ink-muted);
  text-decoration: none;
  transition: color 0.2s;
  width: 100%;
}
.product__scroll-btn:hover { color: var(--color-accent); }
.product__trust-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 24px;
}
.product__trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--color-ink-soft);
}
.product__trust-item svg { color: var(--color-accent-2); flex-shrink: 0; }

/* ── How it works ────────────────────────────────────────── */
.how-section {
  padding: var(--section-pad) 0;
  background: var(--color-bg-dark);
  border-radius: var(--radius-lg);
  margin: 24px clamp(0px, 2vw, 0px);
}
.how-section .eyebrow { color: rgba(255,255,255,0.45); }
.how__headline {
  font-size: clamp(34px, 4.2vw, 58px);
  font-weight: 600;
  color: #fff;
  max-width: 600px;
  margin-bottom: 60px;
}
.how__steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 56px;
}
.how__step {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  padding: 36px 30px;
  position: relative;
  transition: background 0.25s, transform 0.3s var(--ease-out);
}
.how__step:hover { background: rgba(255,255,255,0.07); transform: translateY(-5px); }
.how__step-num {
  font-family: var(--font-display);
  font-size: 68px;
  font-weight: 700;
  color: rgba(255,255,255,0.06);
  line-height: 1;
  position: absolute;
  top: 18px; right: 22px;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}
.how__step-icon {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(232,98,61,0.16);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
  color: var(--color-accent);
  position: relative; z-index: 1;
}
.how__step-title {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 12px;
  position: relative; z-index: 1;
}
.how__step-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.58);
  line-height: 1.7;
  position: relative; z-index: 1;
}
.how__img-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.how__img-cell {
  background: rgba(255,255,255,0.04);
  overflow: hidden;
  border-radius: var(--radius-md);
  aspect-ratio: 16/11;
}
.how__img-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.92;
  transition: opacity 0.3s, transform 0.4s var(--ease-out);
}
.how__img-cell:hover img { opacity: 1; transform: scale(1.05); }

/* ── Benefits ────────────────────────────────────────────── */
.benefits-section {
  padding: var(--section-pad) 0;
  background: var(--color-bg);
}
.benefits-section .container {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  grid-template-areas:
    "intro grid"
    "photo grid";
  column-gap: 72px;
  row-gap: 32px;
  align-items: start;
}
.benefits__intro { grid-area: intro; }
.benefits__img-col { grid-area: photo; min-width: 0; }
.benefits__intro h2 {
  font-size: clamp(32px, 3.8vw, 52px);
  font-weight: 600;
  line-height: 1.1;
  margin-bottom: 22px;
}
.benefits__intro p { font-size: 15px; color: var(--color-ink-soft); line-height: 1.7; }
.benefits__img {
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}
.benefits__img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.benefits__grid {
  grid-area: grid;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-content: start;
}
.benefit-item {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 30px 26px;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s var(--ease-out);
}
.benefit-item:hover { transform: translateY(-5px); }
.benefit-item__icon {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(47,122,110,0.12);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  color: var(--color-accent-2);
}
.benefit-item__title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--color-ink);
}
.benefit-item__desc { font-size: 13px; color: var(--color-ink-muted); line-height: 1.65; }

/* ── Hearing-health teaser ───────────────────────────────── */
.hearing-section {
  padding: var(--section-pad) 0;
  background: var(--color-bg-alt);
  border-radius: var(--radius-lg);
}
.hearing__intro { max-width: 820px; margin-bottom: 48px; }
.hearing__intro h2 {
  font-size: clamp(32px, 3.8vw, 52px);
  font-weight: 600;
  line-height: 1.1;
  margin-bottom: 22px;
}
.hearing__intro p { font-size: 15px; color: var(--color-ink-soft); line-height: 1.7; margin-bottom: 16px; }
.hearing__intro p:last-child { margin-bottom: 0; }

/* ── Blog cards — one base component, two modifiers ──────── */
.blog-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.blog-card {
  display: flex;
  flex-direction: column;
  background: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s;
}
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-soft); }
.blog-card__img { aspect-ratio: 4 / 3; overflow: hidden; line-height: 0; background: var(--color-bg-alt); }
.blog-card__img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s var(--ease-out); }
.blog-card:hover .blog-card__img img { transform: scale(1.07); }
.blog-card__body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.blog-card__eyebrow {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 10px;
  display: inline-block;
  background: rgba(232,98,61,0.1);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  width: fit-content;
}
.blog-card__title { font-family: var(--font-display); font-size: 17px; font-weight: 600; line-height: 1.3; margin-bottom: 10px; color: var(--color-ink); }
.blog-card__excerpt { font-size: 13px; color: var(--color-ink-muted); line-height: 1.6; margin-bottom: 16px; flex: 1; }
.blog-card__link { font-size: 12px; font-weight: 700; color: var(--color-ink); display: inline-flex; align-items: center; gap: 6px; }
.blog-card__link svg { transition: transform 0.25s; }
.blog-card:hover .blog-card__link svg { transform: translateX(4px); }

/* Featured (hub top) — large horizontal card */
.blog-card--featured {
  flex-direction: row;
  grid-column: 1 / -1;
}
.blog-card--featured .blog-card__img { aspect-ratio: auto; width: 46%; flex-shrink: 0; }
.blog-card--featured .blog-card__body { padding: 36px 40px; justify-content: center; }
.blog-card--featured .blog-card__title { font-size: 28px; }
.blog-card--featured .blog-card__excerpt { font-size: 14.5px; }

/* Compact (crosslinks at end of articles) */
.blog-card--compact {
  flex-direction: row;
  align-items: center;
}
.blog-card--compact .blog-card__img { width: 92px; aspect-ratio: 1; flex-shrink: 0; border-radius: var(--radius-sm); margin: 14px; }
.blog-card--compact .blog-card__body { padding: 14px 18px 14px 0; }
.blog-card--compact .blog-card__eyebrow, .blog-card--compact .blog-card__excerpt { display: none; }
.blog-card--compact .blog-card__title { font-size: 14.5px; margin-bottom: 4px; }
.crosslink-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.crosslink-row--3 { grid-template-columns: 1fr 1fr 1fr; }

/* ── Marquee strip ───────────────────────────────────────── */
.marquee-strip {
  background: var(--color-accent);
  overflow: hidden;
  padding: 18px 0;
  position: relative;
  border-radius: var(--radius-lg);
  margin: 0 clamp(0px,1vw,0px);
}
.marquee-track { display: flex; gap: 0; width: max-content; animation: marquee 26s linear infinite; }
.marquee-track:hover { animation-play-state: paused; }
.marquee-item {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 0 44px;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
}
.marquee-item::after { content: ''; width: 4px; height: 4px; border-radius: 50%; background: rgba(255,255,255,0.5); flex-shrink: 0; }

/* ── FAQ ─────────────────────────────────────────────────── */
.faq-section { padding: var(--section-pad) 0; background: var(--color-bg); }
.faq-section .container { display: grid; grid-template-columns: 1fr 2fr; gap: 72px; align-items: start; }
.faq__left h2 { font-size: clamp(30px, 3.4vw, 48px); font-weight: 600; line-height: 1.1; margin-bottom: 16px; }
.faq__left p { font-size: 14px; color: var(--color-ink-soft); line-height: 1.65; }
.faq__list { display: flex; flex-direction: column; gap: 10px; }
.faq-item { border-radius: var(--radius-md); background: var(--color-white); box-shadow: var(--shadow-card); overflow: hidden; }
.faq-item__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 26px;
  cursor: pointer;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 500;
  color: var(--color-ink);
  transition: color 0.2s;
}
.faq-item__trigger:hover { color: var(--color-accent); }
.faq-item__icon {
  flex-shrink: 0;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--color-bg-alt);
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.3s var(--ease-out), background 0.2s;
}
.faq-item.faq--open .faq-item__icon { transform: rotate(45deg); background: var(--color-accent); color: #fff; }
.faq-item__body { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease-out); }
.faq-item.faq--open .faq-item__body { max-height: 400px; }
.faq-item__body p { font-size: 14px; color: var(--color-ink-soft); line-height: 1.75; padding: 0 26px 24px; max-width: 600px; }

/* ── Email subscription ──────────────────────────────────── */
.email-section { padding: var(--section-pad) 0; background: var(--color-bg-dark); position: relative; overflow: hidden; border-radius: var(--radius-lg); }
.email-section .container { display: grid; grid-template-columns: 1.2fr 1fr; gap: 72px; align-items: center; }
.email__left h2 { font-size: clamp(30px, 3.4vw, 48px); font-weight: 600; line-height: 1.1; margin-bottom: 16px; color: #fff; }
.email__left p { font-size: 15px; color: rgba(255,255,255,0.60); line-height: 1.65; }
.email__bg-num {
  position: absolute; font-family: var(--font-display); font-size: 280px; font-weight: 700;
  color: rgba(255,255,255,0.025); pointer-events: none; right: -30px; bottom: -50px; line-height: 1; user-select: none; z-index: 0;
}
.email__form { position: relative; z-index: 1; }
.email__input-group {
  display: flex;
  border-radius: var(--radius-pill);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  overflow: hidden;
  margin-bottom: 12px;
  padding: 4px;
}
.email__input { flex: 1; background: transparent; border: none; padding: 13px 20px; font-size: 14px; color: #fff; outline: none; }
.email__input::placeholder { color: rgba(255,255,255,0.35); }
.email__submit {
  padding: 13px 24px;
  background: var(--color-accent);
  border: none;
  border-radius: var(--radius-pill);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
  display: flex; align-items: center; gap: 8px;
}
.email__submit:hover { background: var(--color-accent-dk); }
.email__note { font-size: 11px; color: rgba(255,255,255,0.32); line-height: 1.5; }
.email__note a { color: rgba(255,255,255,0.55); text-decoration: underline; }
.email__success { display: none; color: #fff; font-size: 16px; font-weight: 600; font-family: var(--font-display); }

/* ── Support / Contact ───────────────────────────────────── */
.support-section { padding: var(--section-pad) 0; background: var(--color-bg); }
.support-section .container { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: clamp(20px, 3vw, 28px); }
.support-card { background: var(--color-white); border-radius: var(--radius-md); padding: 44px 36px; box-shadow: var(--shadow-card); transition: transform 0.3s var(--ease-out); }
.support-card:hover { transform: translateY(-6px); }
.support-card__icon {
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(232,98,61,0.12);
  display: flex; align-items: center; justify-content: center;
  color: var(--color-accent);
  margin-bottom: 22px;
}
.support-card__title { font-family: var(--font-display); font-size: 21px; font-weight: 600; margin-bottom: 12px; color: var(--color-ink); }
.support-card__desc { font-size: 13px; color: var(--color-ink-muted); line-height: 1.7; margin-bottom: 20px; }
.support-card__link {
  font-size: 14px; font-weight: 700; color: var(--color-accent); text-decoration: none;
  display: inline-flex; align-items: center; gap: 6px; transition: gap 0.2s;
}
.support-card__link:hover { gap: 10px; }

/* ── Footer ──────────────────────────────────────────────── */
.footer { background: var(--color-bg-dark); padding: 64px 0 36px; border-radius: var(--radius-lg) var(--radius-lg) 0 0; margin-top: 24px; }
.footer__inner { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 56px; margin-bottom: 48px; }
.footer__logo { font-family: var(--font-display); font-size: 22px; font-weight: 600; color: #fff; text-decoration: none; display: block; margin-bottom: 12px; }
.footer__tagline { font-size: 13px; color: rgba(255,255,255,0.4); line-height: 1.6; margin-bottom: 20px; max-width: 280px; }
.footer__contact p { font-size: 12px; color: rgba(255,255,255,0.4); line-height: 1.8; }
.footer__contact a { color: rgba(255,255,255,0.6); text-decoration: none; transition: color 0.2s; }
.footer__contact a:hover { color: var(--color-accent); }
.footer__col-title { font-size: 10px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.28); margin-bottom: 20px; }
.footer__links { display: flex; flex-direction: column; gap: 11px; }
.footer__links a { font-size: 13px; color: rgba(255,255,255,0.55); text-decoration: none; transition: color 0.2s; }
.footer__links a:hover { color: var(--color-accent); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 28px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer__copy { font-size: 12px; color: rgba(255,255,255,0.25); }
.footer__adv-note { font-size: 11px; color: rgba(255,255,255,0.25); max-width: 500px; text-align: right; line-height: 1.5; }

/* ── Cookie banner ───────────────────────────────────────── */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: calc(var(--nav-w) + 34px);
  right: 20px;
  max-width: 480px;
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 24px;
  z-index: 9000;
  box-shadow: var(--shadow-soft);
  display: none;
}
.cookie-banner.visible { display: block; }
.cookie-banner__title { font-family: var(--font-display); font-size: 17px; font-weight: 600; margin-bottom: 8px; color: var(--color-ink); }
.cookie-banner__text { font-size: 13px; color: var(--color-ink-soft); line-height: 1.6; margin-bottom: 16px; }
.cookie-banner__text a { color: var(--color-accent); text-decoration: underline; }
.cookie-banner__btns { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 0; }
.cookie-banner__btns button {
  font-family: var(--font-body); font-size: 12px; font-weight: 700;
  padding: 10px 18px; border-radius: var(--radius-pill);
  border: 1px solid var(--color-border-md); cursor: pointer; transition: background 0.2s, color 0.2s;
  background: none; color: var(--color-ink);
}
.cookie-banner__btns .cb-accept { background: var(--color-accent); color: #fff; border-color: var(--color-accent); }
.cookie-banner__btns .cb-accept:hover { background: var(--color-accent-dk); }
.cookie-banner__btns .cb-reject:hover { border-color: var(--color-ink); }
.cookie-banner__btns .cb-config:hover { border-color: var(--color-accent); color: var(--color-accent); }
.cookie-config-panel { display: none; margin-top: 16px; border-top: 1px solid var(--color-border); padding-top: 16px; }
.cookie-config-panel.visible { display: block; }
.cookie-toggle-row { display: flex; align-items: center; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--color-border); font-size: 13px; }
.cookie-toggle-row:last-of-type { border-bottom: none; }
.cookie-toggle-row label { font-weight: 600; color: var(--color-ink); }
.cookie-toggle-row .badge { font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-ink-muted); border: 1px solid var(--color-border-md); padding: 2px 6px; border-radius: var(--radius-pill); }
.cookie-toggle-row input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--color-accent); }
.cookie-save-btn {
  margin-top: 12px; font-family: var(--font-body); font-size: 12px; font-weight: 700;
  padding: 10px 20px; border-radius: var(--radius-pill); background: var(--color-accent); color: #fff; border: none; cursor: pointer; transition: background 0.2s;
}
.cookie-save-btn:hover { background: var(--color-accent-dk); }

/* ── Modal ───────────────────────────────────────────────── */
.modal-overlay { display: none; position: fixed; inset: 0; background: rgba(14,22,32,0.6); z-index: 9999; align-items: center; justify-content: center; padding: 20px; }
.modal-overlay.active { display: flex; }
.modal-box { background: var(--color-white); max-width: 480px; width: 100%; padding: 48px 40px; border-radius: var(--radius-lg); text-align: center; animation: fade-up 0.4s var(--ease-out) both; box-shadow: var(--shadow-soft); }
.modal-box__icon { width: 56px; height: 56px; border-radius: 50%; background: rgba(47,122,110,0.14); display: flex; align-items: center; justify-content: center; margin: 0 auto 24px; color: var(--color-accent-2); }
.modal-box h3 { font-size: 26px; font-weight: 600; margin-bottom: 12px; color: var(--color-ink); }
.modal-box p { font-size: 14px; color: var(--color-ink-soft); line-height: 1.7; margin-bottom: 28px; }
.modal-box__close { font-family: var(--font-body); font-size: 12px; font-weight: 700; padding: 14px 32px; border-radius: var(--radius-pill); background: var(--color-ink); color: #fff; border: none; cursor: pointer; transition: background 0.2s; }
.modal-box__close:hover { background: var(--color-accent); }

/* ── Checkout page ───────────────────────────────────────── */
.checkout-page { min-height: 100vh; background: var(--color-bg); }
.checkout-header { padding: 18px 0; background: var(--color-bg-dark); }
.checkout-header .container { display: flex; align-items: center; justify-content: space-between; }
.checkout-logo { font-family: var(--font-display); font-size: 20px; font-weight: 600; color: #fff; text-decoration: none; }
.checkout-secure { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: rgba(255,255,255,0.65); }
.checkout-secure svg { color: var(--color-accent); }

.checkout-body { padding: 48px 0 80px; }
.checkout-body .container { display: grid; grid-template-columns: 1fr 420px; gap: 56px; align-items: start; }

.checkout-section-title {
  font-family: var(--font-display); font-size: 18px; font-weight: 600; margin-bottom: 20px; color: var(--color-ink);
  border-bottom: 1px dashed var(--color-border-md); padding-bottom: 12px;
}
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 12px; font-weight: 700; letter-spacing: 0.04em; color: var(--color-ink-muted); margin-bottom: 6px; }
.form-group input, .form-group select {
  width: 100%; padding: 14px 18px; border-radius: var(--radius-sm); border: 1.5px solid var(--color-border-md);
  background: var(--color-white); font-size: 14px; color: var(--color-ink); outline: none; transition: border-color 0.2s;
}
.form-group input:focus, .form-group select:focus { border-color: var(--color-accent); }
.form-group input.error, .form-group select.error { border-color: #cc4444; }
.form-group .field-error { font-size: 11px; color: #cc4444; margin-top: 4px; display: none; }
.form-group .field-error.visible { display: block; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-check { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 16px; }
.form-check input[type="checkbox"] { margin-top: 2px; accent-color: var(--color-accent); }
.form-check label { font-size: 13px; color: var(--color-ink-soft); line-height: 1.5; }

.checkout-seller-block { background: var(--color-bg-alt); border-radius: var(--radius-md); padding: 20px 24px; margin-bottom: 24px; }
.checkout-seller-block__title { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-ink-muted); margin-bottom: 10px; }
.checkout-seller-block p { font-size: 13px; color: var(--color-ink-soft); line-height: 1.7; }
.checkout-seller-block a { color: var(--color-accent); text-decoration: underline; }

.checkout-terms-line { background: var(--color-bg-alt); border-radius: var(--radius-sm); padding: 14px 18px; font-size: 12px; color: var(--color-ink-soft); line-height: 1.6; margin-bottom: 24px; }

.checkout-submit {
  width: 100%; padding: 19px; background: var(--color-accent); color: #fff; border: none; border-radius: var(--radius-pill);
  font-family: var(--font-body); font-size: 14px; font-weight: 700; cursor: pointer; transition: background 0.25s, transform 0.25s;
  display: flex; align-items: center; justify-content: center; gap: 10px; box-shadow: var(--shadow-pop);
}
.checkout-submit:hover:not(:disabled) { background: var(--color-accent-dk); transform: translateY(-2px); }
.checkout-submit:disabled { opacity: 0.65; cursor: not-allowed; }

.checkout-summary { background: var(--color-white); border-radius: var(--radius-lg); padding: 32px; position: sticky; top: 24px; box-shadow: var(--shadow-card); }
.summary-toggle { display: none; align-items: center; justify-content: space-between; padding-bottom: 16px; border-bottom: 1px solid var(--color-border); margin-bottom: 16px; cursor: pointer; font-size: 14px; font-weight: 700; color: var(--color-accent); }
.summary-title { font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--color-ink-muted); margin-bottom: 20px; }
.summary-product { display: flex; gap: 16px; align-items: center; margin-bottom: 24px; padding-bottom: 24px; border-bottom: 1px dashed var(--color-border-md); }
.summary-product__img { width: 72px; height: 72px; border-radius: var(--radius-sm); overflow: hidden; flex-shrink: 0; background: var(--color-bg-alt); }
.summary-product__img img { width: 100%; height: 100%; object-fit: cover; }
.summary-product__name { font-family: var(--font-display); font-size: 16px; font-weight: 600; color: var(--color-ink); margin-bottom: 4px; }
.summary-product__sub { font-size: 12px; color: var(--color-ink-muted); }
.summary-qty-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 24px; padding-bottom: 24px; border-bottom: 1px dashed var(--color-border-md); }
.summary-qty-row label { font-size: 12px; font-weight: 700; color: var(--color-ink-muted); }
.summary-qty-select { padding: 8px 12px; border-radius: var(--radius-sm); border: 1.5px solid var(--color-border-md); background: var(--color-bg); font-size: 14px; color: var(--color-ink); outline: none; }
.summary-line { display: flex; justify-content: space-between; font-size: 13px; color: var(--color-ink-soft); margin-bottom: 10px; }
.summary-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 16px; border-top: 1px solid var(--color-border-md); margin-top: 8px; }
.summary-total__label { font-size: 13px; font-weight: 700; color: var(--color-ink); }
.summary-total__val { font-family: var(--font-display); font-size: 28px; font-weight: 600; color: var(--color-accent); }
.summary-cod { margin-top: 20px; padding: 14px 16px; border-radius: var(--radius-sm); background: var(--color-bg-alt); display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; color: var(--color-ink-soft); }
.summary-cod svg { color: var(--color-accent-2); flex-shrink: 0; }

.checkout-modal { display: none; position: fixed; inset: 0; background: rgba(14,22,32,0.6); z-index: 9999; align-items: center; justify-content: center; padding: 20px; }
.checkout-modal.active { display: flex; }
.checkout-modal .modal-box { animation: fade-up 0.4s var(--ease-out) both; }

/* ── Thanks page (post-checkout) ──────────────────────────── */
.thanks-body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 18px;
  padding-left: 18px;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(232,98,61,0.10) 0%, transparent 55%),
  linear-gradient(180deg, var(--color-bg-dark) 0%, #0a1118 100%);
}
.thanks-page {
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
}
.thanks-card {
  width: 100%;
  max-width: 520px;
  background: rgba(255,253,249,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 44px 32px 36px;
  text-align: center;
  color: rgba(255,255,255,0.82);
  box-shadow: 0 30px 60px -25px rgba(0,0,0,0.55);
  animation: thanks-rise 0.6s var(--ease-out) both;
}
@keyframes thanks-rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
.thanks-card__eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.45);
  margin-bottom: 8px;
}
.thanks-card__icon {
  width: 92px;
  height: 92px;
  margin: 0 auto 22px;
  animation: thanks-settle 0.8s cubic-bezier(0.2, 0.9, 0.25, 1.2) both;
  animation-delay: 0.12s;
}
@keyframes thanks-settle {
  from { opacity: 0; transform: scale(0.4) rotate(-40deg); }
  to { opacity: 1; transform: scale(1) rotate(0); }
}
.thanks-card__icon svg { width: 100%; height: 100%; }
.thanks-card h1 {
  font-family: var(--font-display);
  font-size: clamp(28px, 5vw, 36px);
  font-weight: 600;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 12px;
}
.thanks-card__lead {
  font-size: 15px;
  line-height: 1.65;
  color: rgba(255,255,255,0.72);
  max-width: 400px;
  margin: 0 auto 24px;
}
.thanks-card__lead b { color: var(--color-accent); font-weight: 600; }
.thanks-card__divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.16), transparent);
  margin: 24px 0;
}
.thanks-card__next {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 14px;
  text-align: left;
}
.thanks-list {
  list-style: none;
  text-align: left;
  margin: 0 0 24px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.thanks-list li {
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255,255,255,0.62);
  padding-left: 22px;
  position: relative;
}
.thanks-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-accent);
  opacity: 0.85;
}
.thanks-list li strong { color: rgba(255,255,255,0.92); font-weight: 600; }
.thanks-card__note {
  font-size: 12.5px;
  line-height: 1.55;
  color: rgba(255,255,255,0.55);
  background: rgba(232,98,61,0.08);
  border: 1px dashed rgba(255,255,255,0.16);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  margin-bottom: 26px;
  text-align: left;
}
.thanks-card__note a { color: var(--color-accent); text-decoration: underline; }
.thanks-card .btn-cta { width: 100%; justify-content: center; }
@media (prefers-reduced-motion: reduce) {
  .thanks-card, .thanks-card__icon { animation: none; }
}

/* ── Section clip helpers (kept for legacy compatibility) ─── */
.section-angled-top { padding-top: calc(var(--section-pad) + 20px); }
.section-angled-bottom { padding-bottom: calc(var(--section-pad) + 20px); }

/* ── Legal pages ──────────────────────────────────────────── */
.legal-page { padding: var(--section-pad) 0; }
.legal-page h1 { font-size: clamp(32px, 4vw, 54px); font-weight: 600; margin-bottom: 12px; }
.legal-page .legal-updated { font-size: 13px; color: var(--color-ink-muted); margin-bottom: 48px; }
.legal-page h2 { font-size: 21px; font-weight: 600; margin-top: 40px; margin-bottom: 12px; }
.legal-page h3 { font-size: 16px; font-weight: 600; margin-top: 24px; margin-bottom: 8px; }
.legal-page p { font-size: 15px; color: var(--color-ink-soft); line-height: 1.75; margin-bottom: 16px; }
.legal-page ul { list-style: disc; padding-left: 24px; margin-bottom: 16px; }
.legal-page ul li { font-size: 15px; color: var(--color-ink-soft); line-height: 1.75; margin-bottom: 6px; }
.legal-page a { color: var(--color-accent); text-decoration: underline; }
.legal-contact-box {
  background: var(--color-bg-alt);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  margin: 20px 0 28px;
}
.legal-contact-box p { margin-bottom: 4px; font-size: 15px; color: var(--color-ink); }
.legal-contact-box p:last-child { margin-bottom: 0; }
.legal-contact-box a { font-weight: 600; }

/* ── Blog photo groups ───────────────────────────────────── */
.photo-group { margin-bottom: 48px; }
.photo-group:last-child { margin-bottom: 0; }
.photo-group__title { font-family: var(--font-display); font-size: 17px; font-weight: 600; color: var(--color-ink); margin-bottom: 8px; }
.photo-group__note { font-size: 14px; color: var(--color-ink-muted); line-height: 1.65; max-width: 640px; margin-bottom: 20px; }
.photo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.photo-grid__item { aspect-ratio: 1 / 1; overflow: hidden; border-radius: var(--radius-sm); line-height: 0; background: var(--color-bg-alt); box-shadow: var(--shadow-card); }
.photo-grid__item img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s var(--ease-out); }
.photo-grid__item:hover img { transform: scale(1.08); }

/* ── Unified item grid (nutrients / folk-method photo+caption cards) ── */
.item-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.item-card { background: var(--color-white); border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-card); transition: transform 0.3s var(--ease-out); }
.item-card:hover { transform: translateY(-5px); }
.item-card__img { aspect-ratio: 1 / 1; overflow: hidden; background: var(--color-bg-alt); }
.item-card__img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s var(--ease-out); }
.item-card:hover .item-card__img img { transform: scale(1.07); }
.item-card__body { padding: 18px 20px; }
.item-card__title { font-family: var(--font-display); font-size: 16px; font-weight: 600; color: var(--color-ink); margin-bottom: 6px; }
.item-card__note { font-size: 13px; color: var(--color-ink-muted); line-height: 1.6; }
.warning-box { margin-top: 28px; padding: 22px 26px; border-radius: var(--radius-md); background: var(--color-bg-dark); }
.warning-box p { font-size: 14px; color: rgba(255,255,255,0.75); line-height: 1.7; margin: 0; }

/* ── Article hero image ──────────────────────────────────── */
.article-hero-img { display: block; width: 100%; max-height: 420px; object-fit: cover; margin-top: -36px; border-radius: var(--radius-lg); box-shadow: var(--shadow-soft); }

/* ── Article "no medical claims" dark section ────────────── */
.article-disclaimer { background: var(--color-bg-dark); padding: calc(var(--section-pad) * 0.75) 0; border-radius: var(--radius-lg); }
.article-disclaimer .eyebrow { color: rgba(255,255,255,0.4); justify-content: center; }
.article-disclaimer h2 { font-size: clamp(22px, 3vw, 34px); font-weight: 600; color: #fff; margin-bottom: 20px; text-align: center; }
.article-disclaimer p { font-size: 14px; color: rgba(255,255,255,0.65); line-height: 1.8; text-align: center; margin: 0; }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1100px) {
  .stats-section .container { grid-template-columns: 1fr; gap: 40px; }
  .faq-section .container { grid-template-columns: 1fr; gap: 40px; }
  .benefits-section .container { grid-template-columns: 1fr; grid-template-areas: "intro" "photo" "grid"; gap: 32px; }
  .blog-cards { grid-template-columns: repeat(2, 1fr); }
  .blog-card--featured { grid-column: 1 / -1; flex-direction: column; }
  .blog-card--featured .blog-card__img { width: 100%; aspect-ratio: 16/9; }
  .item-grid { grid-template-columns: repeat(2, 1fr); }
  .checkout-body .container { grid-template-columns: 1fr; }
  .checkout-summary { position: static; }
  .summary-toggle { display: flex; }
  .summary-content { display: none; }
  .summary-content.open { display: block; }
  .crosslink-row, .crosslink-row--3 { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  body { padding-left: 0; padding-top: calc(var(--nav-h) + 20px); }
  .sidenav { display: none; }
  .topnav { display: flex; }
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero__right { min-height: 380px; order: -1; }
  .hero__floating-stat, .hero__badge, .hero__ring { display: none; }
  .how__steps { grid-template-columns: 1fr; }
  .how__img-row { grid-template-columns: 1fr; }
  .product-section .container { grid-template-columns: 1fr; }
  .product__gallery { position: static; }
  .footer__inner { grid-template-columns: 1fr; gap: 32px; }
  .cookie-banner { left: 16px; }
  .email-section .container { grid-template-columns: 1fr; gap: 40px; }
  .support-section .container { grid-template-columns: 1fr; }
  .checkout-body .container { gap: 32px; }
}
@media (max-width: 600px) {
  .product__specs { grid-template-columns: 1fr; }
  .product__thumbs { grid-template-columns: repeat(4, 1fr); }
  .hero__trust-row { gap: 8px; }
  .hero__trust-badge { font-size: 10px; padding: 6px 12px; }
  .benefits__grid { grid-template-columns: 1fr; }
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .photo-grid { grid-template-columns: repeat(2, 1fr); }
  .item-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .blog-cards { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .footer__adv-note { text-align: left; }
}

/* Progressive-enhancement safety (builder-injected): scroll-reveal blocks stay VISIBLE
   unless JS confirms it can animate them by adding .js-anim to <html>. Guarantees a
   truncated page or a failed script can never leave content permanently hidden. */
html:not(.js-anim) .reveal,
html:not(.js-anim) .reveal-left,
html:not(.js-anim) .reveal-right,
html:not(.js-anim) .reveal-scale,
html:not(.js-anim) .stagger-child {
  opacity: 1 !important;
  transform: none !important;
}
