/* ------------------------------------------------------------------
   White-label supplement storefront - design system
   ------------------------------------------------------------------ */
:root {
  --font-head: 'Sora', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --ink: #14181c;
  --ink-2: #454c55;
  --muted: #7b8289;
  --line: #e7e3dc;
  --line-strong: #d6d1c8;
  --bg: #f7f4ee;
  --panel: #ffffff;
  --brand: #0f5c52;
  --brand-dark: #0a4239;
  --accent: #0f5c52;
  --accent-ink: #0f5c52;
  --pop: #e2572b;
  --new: #0f5c52;
  --warn: #c62828;
  --ok: #157d6d;

  --radius: 6px;
  --radius-sm: 4px;
  --radius-btn: 4px;
  --shadow: 0 12px 32px rgba(23, 26, 33, .08);
  --shadow-sm: 0 4px 14px rgba(23, 26, 33, .06);
  --shadow-lg: 0 30px 60px rgba(23, 26, 33, .14);
  --container: 1180px;
  --container-wide: 1440px;
  --header-h: 68px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; background: var(--bg); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}
.frame {
  margin: 0;
  background: var(--bg);
  border-radius: 0;
  overflow: clip;
  min-height: calc(100vh - 16px);
  display: flex;
  flex-direction: column;
  transition: opacity .28s ease, transform .28s ease;
}
body.leaving .frame { opacity: 0; transform: translateY(10px); }
main { flex: 1; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 .5em;
  letter-spacing: -.01em;
}
h1 { font-size: clamp(34px, 4.2vw, 56px); letter-spacing: -.025em; line-height: 1.08; }
h2 { font-size: clamp(26px, 2.8vw, 36px); letter-spacing: -.02em; }
h3 { font-size: 20px; }
p { margin: 0 0 1em; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
input, select, textarea { font: inherit; color: inherit; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.center { text-align: center; }
.link { color: var(--accent-ink); font-weight: 700; display: inline-flex; align-items: center; gap: 4px; }
.link:hover { text-decoration: underline; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container-wide { max-width: var(--container-wide); margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 820px; }
.ico { flex: none; display: inline-block; vertical-align: -.18em; }

/* ------------------------------------------------------------- loader */
.loader {
  position: fixed; inset: 0; z-index: 1000;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  transition: opacity .6s ease, visibility .6s;
}
.loader.done { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-inner { text-align: center; }
.loader-logo {
  font-family: var(--font-head); font-weight: 700; font-size: 26px; letter-spacing: .22em;
  margin-bottom: 18px;
  animation: loaderPulse 1.4s ease-in-out infinite;
}
.loader-bar { width: 160px; height: 3px; background: var(--line); border-radius: 2px; overflow: hidden; margin: 0 auto; }
.loader-bar span { display: block; height: 100%; width: 40%; background: var(--brand); border-radius: 2px; animation: loaderBar 1.1s var(--ease) infinite; }
@keyframes loaderPulse { 0%, 100% { opacity: .5; } 50% { opacity: 1; } }
@keyframes loaderBar { 0% { transform: translateX(-120%); } 100% { transform: translateX(300%); } }
html.no-js .loader { display: none; }

/* ------------------------------------------------------------ buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: var(--radius-btn);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 14px;
  line-height: 1;
  letter-spacing: -.01em;
  border: 1.5px solid transparent;
  transition: transform .2s var(--ease), box-shadow .2s ease, background .2s ease, border-color .2s, color .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: .6; cursor: default; transform: none; }
.btn .ico:last-child { transition: transform .25s var(--ease); }
.btn:hover .ico:last-child { transform: translateX(3px); }
.btn-dark { background: var(--brand); color: #fff; }
.btn-dark:hover { background: var(--brand-dark); box-shadow: 0 12px 26px rgba(15, 92, 82, .28); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-ghost { background: #fff; color: var(--ink-2); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: #f1ede5; }
.btn-text { display: inline-flex; align-items: center; gap: 5px; font-family: var(--font-head); font-weight: 600; font-size: 13.5px; color: var(--brand); border-bottom: 1.5px solid transparent; transition: border-color .2s; }
.btn-text:hover { border-color: var(--brand); }
.btn-text .ico { transition: transform .25s var(--ease); }
.btn-text:hover .ico { transform: translateX(3px); }
.btn-block { width: 100%; }
.btn-sm { padding: 9px 18px; font-size: 13px; }
.btn-lg { padding: 17px 28px; font-size: 15px; }
.btn .ico { width: 16px; height: 16px; }

/* ------------------------------------------------------------- badges */
.badge {
  display: inline-flex; align-items: center; gap: 6px; box-shadow: 0 1px 4px rgba(20, 24, 28, .08);
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 600;
  padding: 5px 10px 5px 8px;
  border-radius: 4px;
  color: var(--ink);
  background: #fff;
  line-height: 1.2;
}
.badge i { width: 7px; height: 7px; border-radius: 50%; background: var(--ink); }
.badge-popular i { background: var(--pop); }
.badge-new i { background: var(--new); }

/* ------------------------------------------------------------- header */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 244, 238, .96);
  box-shadow: 0 1px 0 rgba(20, 24, 28, .06);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 24px;
}
.logo {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 21px;
  letter-spacing: -.02em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.logo sup { font-size: 9px; letter-spacing: 0; margin-left: 1px; }
.logo-sm { font-size: 17px; letter-spacing: .1em; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.cart-link { position: relative; display: inline-flex; padding: 9px; border-radius: 50%; color: var(--ink); transition: background .2s; }
.cart-link:hover { background: rgba(15, 92, 82, .08); }
.cart-count {
  position: absolute;
  top: 0; right: 0;
  min-width: 18px; height: 18px;
  border-radius: 4px;
  background: var(--pop);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  padding: 0 5px;
  animation: pop .35s var(--ease);
}
@keyframes pop { 0% { transform: scale(.4); } 70% { transform: scale(1.2); } 100% { transform: scale(1); } }
.menu-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 6px 8px 14px;
  border-radius: 4px;
  font-family: var(--font-head); font-weight: 700; font-size: 13px; letter-spacing: .06em; text-transform: uppercase;
  transition: background .2s;
}
.menu-btn:hover { background: rgba(15, 92, 82, .08); }
.burger { width: 42px; height: 42px; border-radius: 6px; background: var(--brand); display: inline-flex; flex-direction: column; justify-content: center; align-items: center; gap: 4px; }
.burger i { display: block; width: 16px; height: 2px; background: #fff; border-radius: 1px; transition: transform .3s var(--ease), opacity .2s, width .3s; }

/* --------------------------------------------------- full-screen menu */
.menu {
  position: fixed; inset: 0; z-index: 90;
  background: #12141a;
  color: #fff;
  opacity: 0; visibility: hidden;
  transition: opacity .45s ease, visibility .45s;
  overflow: hidden;
}
.menu.open { opacity: 1; visibility: visible; }
.menu-glow { position: absolute; border-radius: 50%; filter: none; pointer-events: none; opacity: .55; transition: transform 1.2s var(--ease); }
.menu-glow.g1 { width: 60vw; height: 60vw; left: -20vw; top: -25vw; background: radial-gradient(circle, #5c4dff 0, rgba(92, 77, 255, 0) 65%); }
.menu-glow.g2 { width: 55vw; height: 55vw; right: -18vw; bottom: -25vw; background: radial-gradient(circle, #1a9c88 0, rgba(26, 156, 136, 0) 65%); }
.menu.open .menu-glow.g1 { transform: translate(6vw, 4vw); }
.menu.open .menu-glow.g2 { transform: translate(-6vw, -4vw); }
.menu-inner { position: relative; height: 100%; display: flex; flex-direction: column; overflow: auto; }
.menu-top { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); flex: none; width: 100%; }
.menu-close {
  width: 48px; height: 48px; border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, .25);
  display: inline-flex; align-items: center; justify-content: center;
  transition: background .2s, transform .4s var(--ease);
}
.menu-close:hover { background: rgba(255, 255, 255, .1); transform: rotate(90deg); }
.menu-body { flex: 1; width: 100%; display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: center; padding-top: 24px; padding-bottom: 40px; }
.menu-nav { display: flex; flex-direction: column; }
.menu-link {
  display: flex; align-items: baseline; gap: 18px;
  padding: 10px 0;
  font-family: var(--font-head); font-weight: 700;
  font-size: clamp(36px, 6vw, 76px); line-height: 1.05; letter-spacing: -.02em;
  opacity: 0; transform: translateY(30px);
  transition: color .2s;
}
.menu-link small { font-family: var(--font-body); font-weight: 600; font-size: 14px; color: rgba(255, 255, 255, .55); letter-spacing: 0; }
.menu-link span { position: relative; white-space: nowrap; }
.menu-link span::after { content: ""; position: absolute; left: 0; bottom: 4px; height: 3px; width: 0; background: #8ee5d5; transition: width .35s var(--ease); }
.menu-link:hover span::after { width: 100%; }
.menu-link:hover { color: #fff; }
.menu.open .menu-link { animation: menuIn .7s var(--ease) forwards; animation-delay: calc(.12s + var(--i) * 70ms); }
@keyframes menuIn { to { opacity: 1; transform: none; } }
.menu-side { display: flex; flex-direction: column; gap: 8px; }
.menu-side .eyebrow { color: rgba(255, 255, 255, .5); margin-bottom: 6px; }
.menu-product {
  display: flex; align-items: center; gap: 14px;
  padding: 10px 14px 10px 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, .06);
  opacity: 0; transform: translateX(30px);
  transition: background .2s, border-color .2s;
}
.menu-product:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .25); }
.menu.open .menu-product { animation: menuInX .6s var(--ease) forwards; animation-delay: calc(.35s + var(--i) * 70ms); }
@keyframes menuInX { to { opacity: 1; transform: none; } }
.menu-product-thumb { width: 54px; height: 62px; border-radius: 4px; background: var(--cl); display: flex; align-items: center; justify-content: center; flex: none; }
.menu-product b { display: block; font-family: var(--font-head); font-size: 15px; }
.menu-product small { display: block; color: rgba(255, 255, 255, .55); font-size: 12px; }
.menu-product > span:nth-child(2) { flex: 1; }
.menu-product .ico { color: rgba(255, 255, 255, .5); }
.menu-foot { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 16px; font-size: 13px; font-weight: 700; color: rgba(255, 255, 255, .7); }
.menu-foot a { display: inline-flex; align-items: center; gap: 6px; }
.menu-foot a:hover { color: #fff; }
body.menu-open { overflow: hidden; }

/* ------------------------------------------------------------ flashes */
.flashes { padding-top: 16px; }
.flash {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px;
  border-radius: 6px;
  font-weight: 600;
  margin-bottom: 8px;
  background: #e5f5f1; color: var(--ok);
  animation: fadeUp .5s var(--ease) both;
}
.flash-error { background: #fdecec; color: var(--warn); }

/* ----------------------------------------------------------- sections */
.section { padding: 76px 0; }
.section-sm { padding: 40px 0; }
.section-title { text-align: center; margin-bottom: 40px; }
.section-title p { color: var(--ink-2); max-width: 600px; margin: 0 auto; font-size: 15.5px; }
.section-title .eyebrow { display: block; margin-bottom: 10px; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 40px; }
.section-head h2 { margin: 0; max-width: 620px; }
.section-head .eyebrow { margin-bottom: 12px; }
.section-head p { color: var(--ink-2); max-width: 400px; margin: 0; font-size: 15px; }
.section-head.center { flex-direction: column; align-items: center; text-align: center; gap: 12px; }
.section-head.center p { max-width: 580px; }
.panel-wrap { padding: 0 16px; }
.panel {
  background: var(--panel);
  border-radius: 6px;
  padding: 72px 24px;
  max-width: 1440px;
  margin: 0 auto;
}
.panel + .panel { margin-top: 16px; }
.panel-divider { max-width: 1000px; margin: 64px auto; border-top: 1px solid var(--line-strong); }
.eyebrow {
  font-family: var(--font-head);
  font-size: 12px;
  letter-spacing: .02em;
  font-weight: 600;
  color: var(--brand);
}

/* ----------------------------------------------------- scroll reveal */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s var(--ease); }
.js [data-reveal].in { opacity: 1; transform: none; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* --------------------------------------------------------------- hero */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: flex; align-items: center;
  padding: 40px 0 56px;
  overflow: hidden;
}
.hero-inner {
  max-width: 1320px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 88px;
  align-items: center;
  width: 100%;
}
.hero-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px 6px 6px;
  border-radius: 4px;
  background: #fff;
  font-size: 13px; font-weight: 600; color: var(--ink-2);
  margin-bottom: 26px;
  transition: border-color .2s, transform .2s var(--ease);
}
.hero-pill:hover { border-color: var(--brand); transform: translateY(-1px); }
.hero-pill span { background: var(--brand); color: #fff; font-family: var(--font-head); font-size: 11px; font-weight: 600; padding: 3px 8px; border-radius: 4px; }
.hero h1 { margin-bottom: 20px; }
.hero p { font-size: 17.5px; color: var(--ink-2); max-width: 520px; margin-bottom: 30px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }
.hero-mini { display: flex; gap: 20px; flex-wrap: wrap; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.hero-mini li { display: flex; align-items: center; gap: 6px; }
.hero-mini .ico { color: var(--brand); }
.js [data-anim] { opacity: 0; transform: translateY(22px); }
.js body.loaded [data-anim], .js .loaded [data-anim] { animation: heroIn .9s var(--ease) forwards; animation-delay: calc(.15s + var(--i) * .1s); }
@keyframes heroIn { to { opacity: 1; transform: none; } }

.hero-art { position: relative; height: min(78vh, 660px); min-height: 480px; width: 100%; max-width: 660px; margin-left: auto; }
.hero-stage {
  position: absolute; inset: 0;
  border-radius: 8px;
  background: linear-gradient(150deg, #e4ede9 0%, #f3ebe0 55%, #e9e2f2 100%);
    transform: scale(.96) translateY(12px); opacity: 0;
  transition: transform 1.2s var(--ease), opacity 1s ease;
}
.loaded .hero-stage { transform: none; opacity: 1; }
.hero-ring { position: absolute; left: 50%; border-radius: 50%; border: 1.5px dashed rgba(20, 24, 28, .14); pointer-events: none; opacity: 0; transition: opacity 1s ease .4s; }
.loaded .hero-ring { opacity: 1; }
.hero-ring.r1 { width: 520px; height: 520px; top: 48%; margin: -260px 0 0 -240px; animation: spin 60s linear infinite; }
.hero-ring.r2 { width: 360px; height: 360px; top: 48%; margin: -180px 0 0 -160px; animation: spin 45s linear infinite reverse; border-style: solid; border-color: rgba(20, 24, 28, .08); }
.hero-dot { position: absolute; border-radius: 50%; opacity: 0; transform: scale(.5); transition: transform 1s var(--ease), opacity .8s; }
.loaded .hero-dot { opacity: 1; transform: none; }
.hero-dot.d1 { width: 22px; height: 22px; background: var(--pop); left: 16%; top: 62%; transition-delay: .5s; }
.hero-dot.d2 { width: 14px; height: 14px; background: var(--brand); right: 12%; top: 16%; transition-delay: .6s; }
.hero-dot.d3 { width: 30px; height: 30px; background: #f2c14e; right: 8%; bottom: 20%; transition-delay: .7s; }
.hero-person { position: absolute; inset: 0; display: flex; justify-content: center; align-items: flex-end; overflow: hidden; border-radius: 8px; pointer-events: none; }
.hero-person img { height: 96%; width: auto; max-width: 96%; object-fit: contain; object-position: bottom; opacity: 0; transform: translateY(40px) scale(.97); filter: drop-shadow(0 30px 40px rgba(20, 24, 28, .18)); }
.js .loaded .hero-person img { animation: personIn 1.2s var(--ease) forwards; animation-delay: .3s; }
@keyframes personIn { to { opacity: 1; transform: none; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.hero-chip {
  position: absolute;
  background: #fff;
  border-radius: 6px;
  box-shadow: var(--shadow);
  padding: 10px 14px;
  display: flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 13px;
  z-index: 4;
}
.hero-chip .ico { color: var(--brand); }
.hero-chip.c1 { left: 0; top: 22%; }
.hero-chip.c2 { right: -2%; bottom: 14%; }
.hero-chip small { display: block; font-weight: 600; color: var(--muted); font-size: 11px; }

/* ---------------------------------------------------------- trust bar */
.trust { padding: 0 24px 24px; }
.trust-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; padding: 22px 0; }
.trust-row li { display: flex; align-items: center; gap: 12px; font-family: var(--font-head); font-weight: 600; font-size: 13.5px; color: var(--ink-2); }
.trust-row .ico { color: var(--brand); }
.strip { background: #fff; text-align: center; padding: 12px; font-weight: 700; font-size: 13px; color: var(--ink-2); border-radius: 6px; margin-bottom: 36px; }
.strip b { color: var(--ink); }

/* -------------------------------------------------------------- tiles */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tile {
  position: relative;
  display: flex; flex-direction: column; gap: 10px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  border-radius: 6px;
  padding: 22px 22px 20px;
  transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
  overflow: hidden;
}
.tile::after { content: ""; position: absolute; right: -40px; top: -40px; width: 120px; height: 120px; border-radius: 50%; background: var(--cl); transition: transform .5s var(--ease); z-index: 0; }
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.tile:hover::after { transform: scale(1.5); }
.tile > * { position: relative; z-index: 1; }
.tile-icon { width: 46px; height: 46px; border-radius: 6px; background: var(--cl); color: var(--c); display: flex; align-items: center; justify-content: center; }
.tile-label { font-family: var(--font-head); font-weight: 600; font-size: 17px; letter-spacing: -.01em; }
.tile-meta { display: inline-flex; align-items: center; gap: 4px; font-size: 12.5px; font-weight: 600; color: var(--muted); }
.tile:hover .tile-meta { color: var(--c); }
.tile .badge { position: absolute; top: 18px; right: 18px; }

/* ------------------------------------------------------ winding routine */
.day { position: relative; max-width: 1040px; margin: 0 auto; padding: 10px 0 0; }
.day-path { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; overflow: visible; }
.day-path path { fill: none; stroke-width: 3; stroke-linecap: round; transition: stroke-dashoffset 2.6s var(--ease); }
.day-item { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 140px 1fr; align-items: center; gap: 20px; padding: 26px 0; }
.day-item > * { grid-row: 1; }
.day-media { grid-column: 1; position: relative; display: flex; justify-content: center; align-items: center; min-height: 260px; }
.day-blob { position: relative; width: 250px; height: 250px; border-radius: 50%; background: var(--cl); overflow: hidden; display: flex; justify-content: center; align-items: flex-start; transition: transform .6s var(--ease); }
.day-item:hover .day-blob { transform: scale(1.04); }
.day-blob .pimg { height: 100% !important; width: auto; max-width: none; object-fit: cover; object-position: top center; transition: transform .6s var(--ease); }
.day-item:hover .day-blob .pimg { transform: scale(1.05); }
.day-node { grid-column: 2; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.day-dot { width: 20px; height: 20px; border-radius: 50%; background: var(--c); border: 4px solid #fff; box-shadow: 0 0 0 2px var(--c), 0 6px 14px rgba(20, 24, 28, .15); }
.day-time { font-family: var(--font-head); font-weight: 600; font-size: 13px; color: var(--ink); background: var(--bg); padding: 5px 12px; border-radius: 4px; white-space: nowrap; }
.day-text { grid-column: 3; max-width: 380px; }
.day-step { display: block; font-family: var(--font-head); font-weight: 600; font-size: 12px; color: var(--c); margin-bottom: 8px; letter-spacing: .02em; }
.day-text h3 { font-size: 26px; margin-bottom: 8px; letter-spacing: -.02em; }
.day-text p { color: var(--ink-2); font-size: 15px; margin-bottom: 12px; }
.day-item.flip .day-media { grid-column: 3; }
.day-item.flip .day-text { grid-column: 1; justify-self: end; text-align: right; }
.day-item.flip .day-text .btn-text { flex-direction: row-reverse; }
.day-end { position: relative; z-index: 1; text-align: center; padding: 30px 0 6px; display: flex; flex-direction: column; align-items: center; gap: 14px; }

/* accordion (product FAQ / FAQ page) */
.acc-item { border-bottom: 1px solid var(--line-strong); }
.acc-item > button {
  width: 100%;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 16px 4px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 15px;
  text-align: left;
}
.acc-item > button .ico { transition: transform .3s var(--ease); color: var(--muted); }
.acc-item.open > button .ico { transform: rotate(45deg); color: var(--ink); }
.acc-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease); color: var(--ink-2); font-size: 14.5px; }
.acc-body > * { overflow: hidden; }
.acc-item.open .acc-body { grid-template-rows: 1fr; }
.acc-body-inner { padding: 0 4px 0; }
.acc-item.open .acc-body-inner { padding-bottom: 18px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------------------------------------------------------- carousel */
.carousel-wrap { position: relative; }
.carousel {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 12px 4px 24px;
  scrollbar-width: none;
}
.carousel::-webkit-scrollbar { display: none; }
.carousel > * { flex: 0 0 300px; scroll-snap-align: start; }
.carousel-btn {
  display: none;
  position: absolute;
  top: 45%;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: #fff;
  box-shadow: var(--shadow-sm);
  align-items: center; justify-content: center;
  z-index: 2;
  transition: background .2s, color .2s;
}
.carousel-btn.prev { left: -16px; }
.carousel-btn.next { right: -16px; }
.carousel-wrap.has-overflow .carousel-btn { display: flex; }
.carousel-btn:hover { background: var(--brand); color: #fff; }

/* ------------------------------------------------ products (wide row) */
.products-section { padding-top: 80px; }
.products-row > * { flex: 0 0 340px; }
@media (min-width: 1200px) {
  .products-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); overflow: visible; gap: 22px; }
  .products-row > * { flex: none; }
}

/* ------------------------------------------------------ product card */
.pcard {
  display: flex; flex-direction: column;
  background: #fff;
  box-shadow: var(--shadow-sm);
  border-radius: 6px;
  overflow: hidden;
  transition: box-shadow .3s ease, transform .3s var(--ease);
}
.pcard:hover { box-shadow: var(--shadow-lg); transform: translateY(-6px); }
.pcard-top {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  height: 330px;
  background: #fff;
  overflow: hidden;
  padding: 14px 18px;
}
.pcard-ring { display: none; }
.pcard-top .pimg { position: relative; height: 300px; transition: transform .5s var(--ease); }
.pcard:hover .pcard-top .pimg { transform: translateY(-8px) scale(1.03); }
.pcard-body { border-top: 1px solid var(--line); }
.pcard-top .badge { position: absolute; top: 14px; right: 14px; }
.pcard-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.pcard-goal { display: flex; justify-content: space-between; align-items: baseline; font-size: 12px; font-weight: 700; color: var(--c); margin-bottom: 4px; }
.pcard-goal small { font-size: 11.5px; color: var(--muted); font-weight: 600; }
.pcard-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 6px; }
.pcard-title { font-size: 21px; margin: 0; letter-spacing: -.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.pcard-price { font-family: var(--font-head); font-size: 20px; font-weight: 700; white-space: nowrap; flex: none; }
.pcard-short { color: var(--ink-2); font-size: 14px; margin-bottom: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pcard-tags { display: flex; flex-direction: column; gap: 4px; margin-bottom: 18px; flex: 1; align-content: flex-start; min-height: 106px; }
.pcard-tags li { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: var(--ink-2); padding: 3px 0; }
.pcard-tags .ico { color: var(--c); }
.pcard-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: nowrap; }
.pcard-actions .btn-text { white-space: nowrap; flex: none; }
.pcard-actions .btn { padding-left: 18px; padding-right: 18px; }
.pcard-sub { margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--line); font-size: 12px; color: var(--muted); font-weight: 600; display: flex; align-items: center; gap: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pcard-sub .ico { color: var(--brand); }
.benefits { display: grid; gap: 8px; margin-bottom: 18px; }
.benefits li { display: flex; align-items: flex-start; gap: 9px; font-size: 14.5px; color: var(--ink-2); font-weight: 600; line-height: 1.4; }
.benefits li .ico { color: var(--brand); margin-top: 2px; }

/* ------------------------------------------------------- plan builder */
.builder {
  position: relative;
  margin: 40px 0 0;
  padding: 88px 0 96px;
  background: radial-gradient(60% 70% at 85% 10%, rgba(142, 229, 213, .22) 0, transparent 60%), linear-gradient(160deg, #0f5c52 0%, #0b453d 55%, #14181c 100%);
  color: #fff;
  overflow: hidden;
}
.builder .section-head { margin-bottom: 44px; }
.builder .section-head h2 { color: #fff; font-size: clamp(30px, 3.4vw, 44px); }
.builder .section-head p { color: rgba(255, 255, 255, .72); max-width: 440px; }
.builder .eyebrow { color: #8ee5d5; }
.builder-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 28px; align-items: start; }

.b-form { background: #fff; color: var(--ink); border-radius: 8px; padding: 40px 44px; box-shadow: 0 30px 80px rgba(0, 0, 0, .28); }
.b-block { padding: 26px 0; border-bottom: 1px solid var(--line); }
.b-block:first-child { padding-top: 0; }
.b-label { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 18px; }
.b-label > div { flex: 1; }
.b-label b { display: block; font-family: var(--font-head); font-weight: 600; font-size: 19px; letter-spacing: -.015em; }
.b-label small { display: block; color: var(--muted); font-size: 13.5px; margin-top: 2px; }
.b-num { width: 30px; height: 30px; border-radius: 4px; background: var(--brand); color: #fff; font-family: var(--font-head); font-weight: 600; font-size: 13px; display: inline-flex; align-items: center; justify-content: center; flex: none; margin-top: 2px; }
.b-age-out { font-family: var(--font-head); font-weight: 700; font-size: 48px; line-height: 1; letter-spacing: -.03em; color: var(--brand); }
.b-age-out::after { content: " yrs"; font-size: 13px; color: var(--muted); font-family: var(--font-body); font-weight: 700; letter-spacing: 0; }
.b-range { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 4px; background: linear-gradient(90deg, var(--brand) var(--p, 25%), #e6e1d8 var(--p, 25%)); outline: none; cursor: pointer; margin: 0; }
.b-range::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; border-radius: 50%; background: #fff; border: 3px solid var(--brand); box-shadow: 0 4px 12px rgba(15, 92, 82, .35); cursor: grab; }
.b-range::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 3px solid var(--brand); box-shadow: 0 4px 12px rgba(15, 92, 82, .35); }
.b-range-scale { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); font-weight: 600; margin-top: 8px; }

.seg { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; background: var(--bg); padding: 6px; border-radius: 6px; }
.seg label { position: relative; cursor: pointer; display: flex; }
.seg label input { position: absolute; opacity: 0; width: 0; height: 0; }
.seg label span { display: flex; flex: 1; width: 100%; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 12px 8px; min-height: 68px; border-radius: 4px; font-family: var(--font-head); font-weight: 600; font-size: 15px; color: var(--ink-2); transition: background .2s, color .2s, box-shadow .2s; text-align: center; }
.seg label span em { font-style: normal; font-size: 10.5px; font-weight: 700; color: var(--brand); }
.seg label:hover span { background: #fff; }
.seg label input:checked + span { background: var(--brand); color: #fff; box-shadow: 0 6px 16px rgba(15, 92, 82, .25); }
.seg label input:checked + span em { color: #8ee5d5; }
.seg label input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 2px; }

.goal-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.goal-cards label { position: relative; cursor: pointer; }
.goal-cards label input { position: absolute; opacity: 0; width: 0; height: 0; }
.gc { position: relative; display: grid; grid-template-columns: 44px 1fr; grid-template-rows: auto auto; column-gap: 14px; padding: 16px 18px; border-radius: 6px; background: var(--bg); box-shadow: inset 0 0 0 2px transparent; transition: box-shadow .2s, background .2s, transform .2s var(--ease); }
.gc-icon { grid-row: span 2; width: 44px; height: 44px; border-radius: 4px; background: var(--cl); color: var(--c); display: flex; align-items: center; justify-content: center; }
.gc b { font-family: var(--font-head); font-weight: 600; font-size: 15.5px; letter-spacing: -.01em; }
.gc small { color: var(--muted); font-size: 12.5px; line-height: 1.4; }
.gc-check { position: absolute; top: 12px; right: 12px; width: 22px; height: 22px; border-radius: 50%; background: var(--c); color: #fff; display: flex; align-items: center; justify-content: center; opacity: 0; transform: scale(.5); transition: opacity .2s, transform .25s var(--ease); }
.goal-cards label:hover .gc { transform: translateY(-2px); background: #fff; box-shadow: inset 0 0 0 2px var(--line); }
.goal-cards label input:checked + .gc { background: #fff; box-shadow: inset 0 0 0 2px var(--c); }
.goal-cards label input:checked + .gc .gc-check { opacity: 1; transform: none; }
.goal-cards label input:focus-visible + .gc { outline: 2px solid var(--brand); outline-offset: 2px; }

.b-budget-row { display: grid; grid-template-columns: 1fr auto; gap: 14px; align-items: center; }
.b-budget { display: flex; align-items: center; background: var(--bg); border-radius: 6px; padding: 4px 18px; box-shadow: inset 0 0 0 2px transparent; transition: box-shadow .2s; }
.b-budget:focus-within { box-shadow: inset 0 0 0 2px var(--brand); }
.b-budget .cur { font-family: var(--font-head); font-weight: 700; font-size: 30px; color: var(--muted); margin-right: 8px; }
.b-budget input { border: 0; padding: 10px 0; font-family: var(--font-head); font-weight: 700; font-size: 38px; letter-spacing: -.03em; width: 100%; outline: none; background: transparent; box-shadow: none; -moz-appearance: textfield; }
.b-budget input::-webkit-outer-spin-button, .b-budget input::-webkit-inner-spin-button { -webkit-appearance: none; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips button { display: inline-flex; align-items: center; padding: 9px 13px; border-radius: 4px; font-family: var(--font-head); font-weight: 600; font-size: 13px; color: var(--ink-2); background: var(--bg); transition: background .2s, color .2s; }
.chips button:hover { background: var(--brand); color: #fff; }
.b-err { color: var(--warn); font-weight: 700; font-size: 13.5px; margin: 18px 0 0; text-align: center; }
#b-submit { margin-top: 26px; padding: 20px 28px; font-size: 16px; }

/* result column (dark glass) */
.b-result { position: sticky; top: calc(var(--header-h) + 20px); background: rgba(255, 255, 255, .06); border-radius: 8px; padding: 36px; min-height: 560px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); display: flex; flex-direction: column; }
.b-empty { text-align: center; padding: 30px 6px; margin: auto 0; }
.b-empty-icon { width: 72px; height: 72px; border-radius: 50%; background: rgba(255, 255, 255, .1); color: #8ee5d5; display: flex; align-items: center; justify-content: center; margin: 0 auto 22px; }
.builder-light .b-empty-icon { background: #e2eeea; color: var(--brand); }
.b-empty h3 { font-size: 22px; color: #fff; }
.b-empty p { color: rgba(255, 255, 255, .65); font-size: 14.5px; max-width: 360px; margin: 0 auto 22px; }
.b-perks { display: inline-flex; flex-direction: column; gap: 10px; text-align: left; font-size: 13.5px; font-weight: 600; color: rgba(255, 255, 255, .85); }
.b-perks li { display: flex; align-items: center; gap: 10px; }
.b-perks .ico { color: #8ee5d5; }
.b-loading { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; min-height: 420px; font-family: var(--font-head); font-weight: 600; color: rgba(255, 255, 255, .8); margin: auto 0; }
.spinner { width: 46px; height: 46px; border-radius: 50%; border: 4px solid rgba(255, 255, 255, .15); border-top-color: #8ee5d5; animation: spin .8s linear infinite; }
.b-plan { animation: fadeUp .6s var(--ease); }
.b-plan-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 20px; }
.b-plan-head h3 { font-size: 24px; margin: 6px 0 0; color: #fff; letter-spacing: -.02em; }
.b-level { background: #8ee5d5; color: var(--ink); font-family: var(--font-head); font-weight: 600; font-size: 12px; padding: 6px 12px; border-radius: 4px; white-space: nowrap; }
.b-meter { margin-bottom: 18px; }
.b-meter-bar { height: 10px; background: rgba(255, 255, 255, .12); border-radius: 5px; overflow: hidden; }
.b-meter-bar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #8ee5d5, #f2c14e); border-radius: 5px; transition: width 1.1s var(--ease); }
.b-meter-labels { display: flex; justify-content: space-between; font-size: 12.5px; font-weight: 700; color: rgba(255, 255, 255, .75); margin-top: 8px; }
.b-items li { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-top: 1px solid rgba(255, 255, 255, .1); opacity: 0; animation: fadeUp .6s var(--ease) forwards; animation-delay: calc(.15s + var(--i) * .12s); }
.b-items .thumb { width: 52px; height: 66px; border-radius: 4px; background: var(--cl); display: flex; align-items: center; justify-content: center; flex: none; }
.b-items .grow { flex: 1; min-width: 0; }
.b-items b { display: block; font-family: var(--font-head); font-weight: 600; font-size: 15px; color: #fff; }
.b-items small { color: rgba(255, 255, 255, .6); font-size: 12.5px; display: block; }
.b-items .qty { font-family: var(--font-head); font-weight: 600; font-size: 12.5px; background: rgba(255, 255, 255, .12); color: #fff; border-radius: 4px; padding: 5px 10px; white-space: nowrap; }
.b-items .qty-custom { background: rgba(142, 229, 213, .2); color: #8ee5d5; }
.b-items .price { font-family: var(--font-head); font-weight: 600; min-width: 64px; text-align: right; color: #fff; }
.b-totals { border-top: 2px solid rgba(255, 255, 255, .5); padding-top: 12px; margin-top: 4px; font-size: 14px; }
.b-totals .row { display: flex; justify-content: space-between; padding: 4px 0; color: rgba(255, 255, 255, .7); }
.b-totals .row.save { color: #8ee5d5; font-weight: 700; }
.b-totals .row.total { font-family: var(--font-head); font-weight: 600; font-size: 22px; color: #fff; padding-top: 8px; }
.b-totals .row.total small { font-family: var(--font-body); font-size: 12px; color: rgba(255, 255, 255, .6); font-weight: 600; align-self: center; margin-left: 8px; }
.b-tip { margin-top: 14px; background: rgba(142, 229, 213, .14); color: #fff; border-radius: 4px; padding: 12px 16px; font-size: 13.5px; font-weight: 600; display: flex; gap: 10px; align-items: flex-start; }
.b-tip .ico { color: #8ee5d5; margin-top: 2px; }
.b-tips { margin-top: 12px; display: grid; gap: 6px; }
.b-tips li { font-size: 13px; color: rgba(255, 255, 255, .7); display: flex; gap: 8px; }
.b-tips li::before { content: "•"; color: #8ee5d5; }
.b-actions { display: flex; gap: 10px; margin-top: 22px; flex-wrap: wrap; }
.b-actions .btn-light { flex: 1; }
.btn-glass { background: rgba(255, 255, 255, .1); color: #fff; }
.btn-glass:hover { background: rgba(255, 255, 255, .18); }

/* ---------------------------------------------------------- label tabs */
.labels { background: #fff; border-radius: 6px; overflow: hidden; }
.labels-tabs { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--line); }
.labels-tab { display: flex; align-items: center; gap: 12px; padding: 16px 20px; text-align: left; border-right: 1px solid var(--line); position: relative; transition: background .2s; }
.labels-tab:last-child { border-right: 0; }
.labels-tab:hover { background: var(--bg); }
.labels-tab .pimg { flex: none; }
.labels-tab b { display: block; font-family: var(--font-head); font-weight: 600; font-size: 14.5px; }
.labels-tab small { color: var(--muted); font-size: 12px; }
.labels-tab::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--c); transform: scaleX(0); transition: transform .3s var(--ease); }
.labels-tab.active { background: var(--cl); }
.labels-tab.active::after { transform: none; }
.labels-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding: 36px; animation: fadeUp .5s var(--ease); }
.labels-visual { width: 100%; height: 260px; border-radius: 6px; background: var(--cl); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.labels-info h3 { font-size: 24px; }
.labels-info p { color: var(--ink-2); font-size: 14.5px; }
.labels-info .free-from { margin: 14px 0 22px; }

/* articles (learn page cards) */
.acard {
  position: relative;
  display: flex; flex-direction: column; justify-content: flex-end;
  border-radius: 6px; padding: 22px 18px; color: #fff; min-height: 330px; overflow: hidden;
  background: linear-gradient(to top, rgba(10, 12, 20, .82) 0%, rgba(10, 12, 20, .25) 55%, rgba(10, 12, 20, 0) 100%), var(--c, #333);
  transition: transform .35s var(--ease), box-shadow .35s;
}
.acard::before { content: ""; position: absolute; inset: 0; background: radial-gradient(40% 35% at 75% 20%, rgba(255, 255, 255, .35) 0, transparent 70%), radial-gradient(50% 45% at 20% 40%, rgba(255, 255, 255, .18) 0, transparent 70%); }
.acard:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.acard > * { position: relative; }
.acard h3 { font-size: 16px; margin-bottom: 4px; }
.acard p { font-size: 12.5px; opacity: .9; margin-bottom: 10px; }
.acard .read { font-family: var(--font-head); font-weight: 600; font-size: 12.5px; display: inline-flex; align-items: center; gap: 4px; }
.acard .tag { position: absolute; top: 14px; left: 14px; font-size: 10px; font-weight: 700; letter-spacing: .08em; background: rgba(255, 255, 255, .22); padding: 4px 8px; border-radius: 4px; }

/* ------------------------------------------------------------- journal */
.journal-section { padding-top: 88px; }
.journal-section .section-head { align-items: flex-end; }
.jgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.jcard { display: flex; flex-direction: column; background: #fff; border-radius: 6px; overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s; }
.jcard:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.jcard-top { background: var(--cl); padding: 18px 22px; display: flex; justify-content: space-between; align-items: flex-start; min-height: 118px; position: relative; overflow: hidden; }
.jcard-top::after { content: ""; position: absolute; right: -30px; bottom: -60px; width: 150px; height: 150px; border-radius: 50%; background: rgba(255, 255, 255, .45); transition: transform .5s var(--ease); }
.jcard:hover .jcard-top::after { transform: scale(1.3); }
.jcard-num { position: relative; font-family: var(--font-head); font-weight: 700; font-size: 60px; line-height: .9; letter-spacing: -.05em; color: var(--c); }
.jcard-tag { position: relative; font-size: 11.5px; font-weight: 700; color: var(--c); background: #fff; padding: 5px 9px; border-radius: 4px; }
.jcard-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; gap: 8px; }
.jcard-body h3 { font-size: 18px; margin: 0; letter-spacing: -.015em; }
.jcard-body p { color: var(--ink-2); font-size: 13.5px; margin: 0; flex: 1; }
.jcard-meta { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-head); font-weight: 600; font-size: 13px; color: var(--brand); margin-top: 6px; }
.jcard-meta i { font-style: normal; color: var(--muted); }
.jcard-meta .ico { transition: transform .25s var(--ease); }
.jcard:hover .jcard-meta .ico { transform: translateX(4px); }

/* --------------------------------------------------------------- offer */
.offer {
  position: relative; overflow: hidden;
  background: var(--ink); color: #fff;
  border-radius: 6px;
  padding: 44px 48px;
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center;
}
.offer-glow { position: absolute; width: 520px; height: 520px; border-radius: 50%; right: -160px; top: -240px; background: radial-gradient(circle, rgba(15, 92, 82, .9) 0, rgba(15, 92, 82, 0) 65%); pointer-events: none; }
.offer-text, .offer-form { position: relative; }
.offer .eyebrow { color: #8ee5d5; }
.offer h3 { font-size: 28px; margin: 10px 0 8px; letter-spacing: -.02em; }
.offer p { color: rgba(255, 255, 255, .7); font-size: 14.5px; margin: 0; max-width: 480px; }
.offer-form .row { display: flex; gap: 10px; }
.offer-form input { flex: 1; background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .2); color: #fff; }
.offer-form input::placeholder { color: rgba(255, 255, 255, .45); }
.offer-form input:focus { border-color: #8ee5d5; box-shadow: none; }
.offer-form small { display: block; color: rgba(255, 255, 255, .5); font-size: 11.5px; margin-top: 8px; }

/* promo (legacy) */
.promo { border-radius: 6px; background: #fff; padding: 34px 40px; display: flex; justify-content: space-between; align-items: center; gap: 32px; }
.promo-form .row { display: flex; gap: 8px; }
.promo-form input { width: 300px; }

/* ------------------------------------------------------ customer photos */
.stars { color: #f5b400; display: inline-flex; gap: 1px; }
.reviews .section-title p .ico { vertical-align: -2px; }
.ugc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ugc {
  background: #fff; border-radius: 6px; overflow: hidden; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
  transition: transform .35s var(--ease), box-shadow .35s;
}
.ugc:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.ugc-photo { position: relative; aspect-ratio: 4 / 5; background: var(--cl); overflow: hidden; }
.ugc-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.ugc:hover .ugc-photo img { transform: scale(1.05); }
.ugc-tag { position: absolute; top: 14px; left: 14px; background: rgba(255, 255, 255, .92); color: var(--ink); font-family: var(--font-head); font-weight: 600; font-size: 11.5px; padding: 5px 10px; border-radius: 4px; }
.ugc-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.ugc-body .title { font-family: var(--font-head); font-weight: 700; font-size: 15.5px; margin: 8px 0 6px; }
.ugc-body p { color: var(--ink-2); font-size: 13.5px; flex: 1; }
.tmeta { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; flex-wrap: wrap; }
.tmeta .verified { color: var(--accent-ink); display: inline-flex; align-items: center; gap: 4px; font-weight: 700; }
.ugc-wide { grid-column: span 2; flex-direction: row; }
.ugc-flip { flex-direction: row-reverse; }
.ugc-wide .ugc-photo { flex: 0 0 48%; aspect-ratio: auto; }
.ugc-wide .ugc-body { justify-content: center; padding: 32px; }
.ugc-wide .ugc-body .title { font-size: 22px; margin: 12px 0 10px; }
.ugc-wide .ugc-body p { font-size: 15px; flex: 0; }


/* ------------------------------------------------------------- toast */
.toast {
  position: fixed;
  left: 50%; bottom: 24px;
  transform: translateX(-50%);
  background: var(--ink); color: #fff;
  padding: 12px 18px;
  border-radius: 4px;
  font-weight: 700; font-size: 14px;
  box-shadow: var(--shadow);
  z-index: 200;
  display: flex; align-items: center; gap: 14px;
  animation: toastIn .4s var(--ease);
}
@keyframes toastIn { from { opacity: 0; transform: translate(-50%, 16px); } to { opacity: 1; transform: translate(-50%, 0); } }
.toast a { color: #8ee5d5; text-decoration: underline; }

/* ------------------------------------------------------------- modal */
.modal {
  position: fixed; inset: 0;
  background: rgba(23, 26, 33, .55);
  display: flex; align-items: center; justify-content: center;
  z-index: 100;
  padding: 16px;
  animation: fadeIn .25s ease;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.modal-card {
  background: #fff;
  border-radius: 6px;
  width: min(560px, 100%);
  max-height: 90vh;
  overflow: auto;
  padding: 28px;
  position: relative;
  animation: modalIn .4s var(--ease);
}
@keyframes modalIn { from { opacity: 0; transform: translateY(24px) scale(.97); } to { opacity: 1; transform: none; } }
.modal-close { position: absolute; top: 14px; right: 14px; padding: 6px; border-radius: 50%; }
.modal-close:hover { background: var(--bg); }
.modal-head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.modal-head h3 { margin: 0; }
.modal-head .muted { font-size: 13px; }

/* ------------------------------------------------------- facts table */
.facts {
  border: 2px solid var(--ink);
  padding: 12px 14px;
  font-family: Helvetica, Arial, sans-serif;
  color: #000;
  background: #fff;
  border-radius: 4px;
}
.facts-title { font-weight: 900; font-size: 26px; letter-spacing: -.02em; line-height: 1; border-bottom: 8px solid var(--ink); padding-bottom: 6px; }
.facts-serving { font-size: 12px; padding: 6px 0; border-bottom: 4px solid var(--ink); }
.facts table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.facts th { text-align: right; font-size: 11px; padding: 6px 0; border-bottom: 1px solid var(--ink); }
.facts th:first-child { text-align: left; }
.facts td { padding: 5px 0; border-bottom: 1px solid #bbb; text-align: right; }
.facts td:first-child { text-align: left; }
.facts tbody tr:last-child td { border-bottom: 8px solid var(--ink); }
.facts-note { font-size: 11px; margin: 6px 0 0; line-height: 1.4; }

/* --------------------------------------------------------------- forms */
.input, input[type=text], input[type=email], input[type=tel], input[type=number], input[type=password], select, textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--line-strong);
  border-radius: 6px;
  background: #fff;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
input:focus, select:focus, textarea:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(23, 26, 33, .06); }
input.invalid, .field.invalid input { border-color: var(--warn); }
.field { margin-bottom: 14px; }
.field label { display: block; font-weight: 700; font-size: 13px; margin-bottom: 6px; }
.field .err { color: var(--warn); font-size: 12px; margin-top: 4px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.checkbox { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.checkbox input { width: 18px; height: 18px; }

/* ---------------------------------------------------------- page hero */
.page-head { padding: 64px 0 32px; text-align: center; animation: fadeUp .7s var(--ease); }
.page-head p { color: var(--ink-2); max-width: 600px; margin: 0 auto; font-size: 16px; }
.breadcrumb { font-size: 13px; color: var(--muted); margin-bottom: 20px; display: flex; gap: 8px; align-items: center; }
.breadcrumb a:hover { color: var(--ink); }

/* -------------------------------------------------------- product grid */
.pgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }

/* --------------------------------------------------------- routine */
.routine { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; max-width: 1000px; margin: 0 auto; }
.routine-slot { background: var(--bg); border-radius: 6px; padding: 22px; }
.routine-slot .slot-head { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 700; margin-bottom: 14px; }
.routine-slot .slot-head .ico { color: var(--accent-ink); }
.routine-slot li { display: flex; align-items: center; gap: 12px; padding: 8px 0; border-top: 1px dashed var(--line); font-size: 14px; }
.routine-slot li:first-child { border-top: 0; }
.routine-slot li .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--c); flex: none; }
.routine-slot li b { font-family: var(--font-head); }
.routine-slot li small { display: block; color: var(--muted); font-size: 12px; }

/* --------------------------------------------------------- product page */
.pdp { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; padding: 24px 0 48px; animation: fadeUp .7s var(--ease); }
.pdp-media {
  position: sticky; top: calc(var(--header-h) + 20px);
  border-radius: 6px;
  background: var(--cl);
  aspect-ratio: 1;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.pdp-media .pimg { animation: float 6s ease-in-out infinite; }
.pdp-media .badge { position: absolute; top: 18px; left: 18px; }
.pdp-media .chips { position: absolute; bottom: 18px; left: 18px; right: 18px; display: flex; gap: 8px; flex-wrap: wrap; }
.chip { background: #fff; box-shadow: var(--shadow-sm); border-radius: 4px; padding: 6px 12px; font-size: 12px; font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
.chip .ico { color: var(--accent-ink); }
.pdp-info h1 { font-size: 40px; margin-bottom: 6px; }
.pdp-info .lead { font-size: 17px; color: var(--ink-2); margin-bottom: 14px; }
.pdp-rating { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; margin-bottom: 18px; }
.pdp-info .benefits { grid-template-columns: 1fr 1fr; margin-bottom: 24px; }
.pdp-info .benefits li { font-size: 14px; white-space: nowrap; }
.plans { display: grid; gap: 10px; margin-bottom: 16px; }
.plan {
  display: flex; align-items: center; gap: 14px;
  border: 1.5px solid var(--line-strong);
  border-radius: 6px;
  padding: 14px 16px;
  cursor: pointer;
  transition: border-color .2s, background .2s, transform .2s var(--ease);
  position: relative;
}
.plan:hover { transform: translateY(-1px); }
.plan.selected { border-color: var(--brand); background: #fff; }
.plan input { width: 18px; height: 18px; accent-color: var(--ink); }
.plan .plan-text { flex: 1; }
.plan .plan-text b { display: block; font-family: var(--font-head); font-size: 15px; }
.plan .plan-text small { color: var(--muted); font-size: 12.5px; }
.plan .plan-price { text-align: right; font-family: var(--font-head); font-weight: 700; font-size: 17px; }
.plan .plan-price s { display: block; color: var(--muted); font-size: 12px; font-weight: 600; }
.plan .save { position: absolute; top: -9px; right: 14px; background: var(--brand); color: #fff; font-size: 10px; font-weight: 700; letter-spacing: .06em; padding: 2px 8px; border-radius: 4px; }
.buy-row { display: flex; gap: 12px; align-items: stretch; margin-bottom: 16px; }
.stepper { display: inline-flex; align-items: center; border: 1.5px solid var(--line-strong); border-radius: 4px; overflow: hidden; }
.stepper button { width: 42px; height: 46px; display: flex; align-items: center; justify-content: center; transition: background .2s; }
.stepper button:hover { background: var(--bg); }
.stepper input { width: 40px; text-align: center; border: 0; padding: 0; font-weight: 700; -moz-appearance: textfield; box-shadow: none; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; }
.buy-row .btn { flex: 1; }
.buy-row .btn strong { margin-left: auto; }
.pdp-trust { display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 12.5px; font-weight: 700; color: var(--ink-2); margin-bottom: 8px; }
.pdp-trust li { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.pdp-trust .ico { color: var(--accent-ink); }
.pdp-details { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; padding: 24px 0 40px; }
.pdp-details h2 { font-size: 24px; }
.pdp-details h3 { font-size: 17px; margin-top: 24px; }
.pdp-details p { color: var(--ink-2); }
.free-from { display: flex; flex-wrap: wrap; gap: 8px; }
.free-from li { background: var(--bg); border-radius: 4px; padding: 5px 12px; font-size: 12.5px; font-weight: 700; display: inline-flex; align-items: center; gap: 5px; }
.free-from .ico { color: var(--accent-ink); }
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-list .acc-item > button { font-size: 16px; padding: 18px 4px; }

/* --------------------------------------------------------------- cart */
.cart-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 40px; padding: 24px 0 56px; align-items: start; }
.cart-line { display: grid; grid-template-columns: 80px 1fr auto; gap: 18px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); animation: fadeUp .5s var(--ease) both; }
.cart-line .thumb { background: var(--cl); border-radius: 6px; display: flex; align-items: center; justify-content: center; height: 90px; }
.cart-line h3 { font-size: 16px; margin-bottom: 2px; }
.cart-line .plan-tag { font-size: 12px; font-weight: 700; color: var(--accent-ink); display: inline-flex; align-items: center; gap: 4px; }
.cart-line .remove { font-size: 12.5px; color: var(--muted); margin-left: 12px; }
.cart-line .remove:hover { color: var(--warn); }
.cart-line .line-right { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.cart-line .line-total { font-family: var(--font-head); font-weight: 700; font-size: 17px; }
.cart-line .stepper button { height: 36px; width: 36px; }
.summary { background: #fff; box-shadow: var(--shadow-sm); border-radius: 6px; padding: 24px; position: sticky; top: calc(var(--header-h) + 20px); }
.summary h3 { margin-bottom: 14px; }
.summary .row { display: flex; justify-content: space-between; padding: 7px 0; font-size: 14px; color: var(--ink-2); }
.summary .row.total { border-top: 1px solid var(--line-strong); margin-top: 8px; padding-top: 14px; font-family: var(--font-head); font-weight: 700; font-size: 18px; color: var(--ink); }
.summary .discount-row { color: var(--accent-ink); font-weight: 700; }
.summary .code-form { display: flex; gap: 8px; margin: 12px 0; }
.summary .code-form input { padding: 10px 12px; }
.summary .btn-block { margin-top: 12px; }
.ship-bar { margin: 4px 0 14px; font-size: 12.5px; font-weight: 700; color: var(--ink-2); }
.ship-bar .bar { height: 6px; background: #fff; border-radius: 3px; overflow: hidden; margin-top: 6px; }
.ship-bar .bar span { display: block; height: 100%; background: var(--accent); transition: width 1s var(--ease); }
.empty { text-align: center; padding: 60px 0 80px; animation: fadeUp .6s var(--ease); }
.empty .ico { color: var(--muted); margin: 0 auto 14px; }

/* ------------------------------------------------------------ checkout */
.checkout-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; padding: 24px 0 56px; align-items: start; animation: fadeUp .6s var(--ease); }
.checkout-grid h2 { font-size: 22px; margin: 26px 0 14px; }
.checkout-grid h2:first-child { margin-top: 0; }
.pay-options { display: grid; gap: 10px; }
.pay-note { font-size: 12.5px; color: var(--muted); background: #fff; padding: 10px 14px; border-radius: 4px; margin-top: 10px; }
.mini-line { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line-strong); font-size: 13.5px; }
.mini-line .thumb { width: 44px; height: 52px; border-radius: 4px; background: var(--cl); display: flex; align-items: center; justify-content: center; flex: none; }
.mini-line .grow { flex: 1; }
.mini-line small { color: var(--muted); display: block; }

/* -------------------------------------------------------------- success */
.success { text-align: center; padding: 56px 0; animation: fadeUp .6s var(--ease); }
.success .mark { width: 72px; height: 72px; border-radius: 50%; background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; animation: pop .6s var(--ease); }
.order-box { text-align: left; background: #fff; border-radius: 6px; padding: 24px; max-width: 560px; margin: 24px auto; }
.order-box .row { display: flex; justify-content: space-between; padding: 6px 0; font-size: 14px; }
.order-box .row.total { font-weight: 700; border-top: 1px solid var(--line-strong); margin-top: 6px; padding-top: 12px; }

/* ----------------------------------------------------------------- quiz */
.quiz { max-width: 640px; margin: 0 auto; padding: 40px 0 70px; animation: fadeUp .6s var(--ease); }
.quiz-card { background: #fff; border-radius: 6px; padding: 36px; box-shadow: var(--shadow-sm); }
.quiz-progress { height: 6px; background: var(--bg); border-radius: 3px; overflow: hidden; margin-bottom: 24px; }
.quiz-progress span { display: block; height: 100%; background: var(--brand); transition: width .4s var(--ease); }
.quiz-step { font-size: 12px; font-weight: 700; color: var(--muted); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 8px; }
.quiz h2 { font-size: 24px; margin-bottom: 22px; }
.qa { display: grid; gap: 10px; }
.qa button {
  text-align: left;
  padding: 15px 18px;
  border: 1.5px solid var(--line-strong);
  border-radius: 6px;
  font-weight: 700;
  font-size: 15px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  transition: border-color .2s, background .2s, transform .25s var(--ease);
  animation: fadeUp .5s var(--ease) both;
}
.qa button:nth-child(2) { animation-delay: .06s; } .qa button:nth-child(3) { animation-delay: .12s; } .qa button:nth-child(4) { animation-delay: .18s; }
.qa button:hover { border-color: var(--ink); background: #fafbfc; transform: translateX(4px); }
.qa button .ico { color: var(--muted); }
.quiz-back { margin-top: 18px; font-size: 13px; color: var(--muted); font-weight: 700; display: inline-flex; align-items: center; gap: 4px; }
.quiz-result { text-align: center; animation: fadeUp .6s var(--ease); }
.quiz-result .pcard { text-align: left; max-width: 340px; margin: 20px auto; }
.quiz-result .why { background: var(--bg); border-radius: 6px; padding: 14px 18px; font-size: 14px; color: var(--ink-2); text-align: left; margin: 18px 0; }
.quiz-result .also { font-size: 13.5px; color: var(--muted); }

/* --------------------------------------------------------------- article */
.article { max-width: 720px; margin: 0 auto; padding: 40px 0 60px; animation: fadeUp .7s var(--ease); }
.article-head { margin-bottom: 26px; }
.article-head h1 { font-size: 38px; }
.article-meta { color: var(--muted); font-size: 13px; font-weight: 700; display: flex; gap: 12px; align-items: center; }
.article-hero { border-radius: 6px; height: 260px; background: var(--c, #333); margin-bottom: 28px; position: relative; overflow: hidden; }
.article-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(45% 45% at 75% 25%, rgba(255, 255, 255, .35) 0, transparent 70%), radial-gradient(50% 50% at 20% 60%, rgba(255, 255, 255, .18) 0, transparent 70%); }
.article-hero .pimg { position: absolute; right: 50px; bottom: -10px; transform: rotate(10deg); }
.article-body p { font-size: 16.5px; line-height: 1.75; color: var(--ink-2); }
.article-cta { display: flex; align-items: center; gap: 18px; background: #fff; border-radius: 6px; padding: 18px 22px; margin: 32px 0; transition: transform .3s var(--ease); }
.article-cta:hover { transform: translateY(-2px); }
.article-cta .grow { flex: 1; }
.article-cta h3 { margin-bottom: 2px; font-size: 17px; }
.article-cta p { margin: 0; color: var(--ink-2); font-size: 13.5px; }
.agrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }

/* ----------------------------------------------------------------- about */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; max-width: 1000px; margin: 0 auto; }
.about-grid p { color: var(--ink-2); font-size: 15.5px; }
.about-visual { border-radius: 8px; background: linear-gradient(150deg, #e4ede9 0%, #f3ebe0 55%, #e9e2f2 100%); height: 440px; display: flex; align-items: flex-end; justify-content: center; overflow: hidden; }
.about-visual img { height: 100%; width: auto; max-width: 100%; object-fit: contain; object-position: bottom; }
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.value { position: relative; background: var(--bg); border-radius: 8px; padding: 28px 24px 26px; overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s; }
.value::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--brand), #8ee5d5); transform: scaleX(.35); transform-origin: left; transition: transform .4s var(--ease); }
.value:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.value:hover::before { transform: none; }
.value-num { position: absolute; top: 18px; right: 22px; font-family: var(--font-head); font-weight: 700; font-size: 34px; letter-spacing: -.04em; color: rgba(15, 92, 82, .1); line-height: 1; }
.value-icon { width: 52px; height: 52px; border-radius: 50%; background: #e2eeea; color: var(--brand); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.value h3 { font-size: 17px; letter-spacing: -.015em; margin-bottom: 8px; min-height: 2.4em; }
.value p { font-size: 14px; line-height: 1.6; color: var(--ink-2); margin: 0; }

/* ----------------------------------------------------------------- admin */
.admin { padding: 24px 0 60px; }
.admin h2 { font-size: 22px; margin: 32px 0 12px; }
.table { width: 100%; border-collapse: collapse; font-size: 13.5px; background: #fff; box-shadow: var(--shadow-sm); border-radius: 6px; overflow: hidden; }
.table th, .table td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.table th { background: var(--bg); font-family: var(--font-head); font-size: 12px; letter-spacing: .05em; text-transform: uppercase; }
.table tr:last-child td { border-bottom: 0; }
.table-wrap { overflow-x: auto; }
.status { display: inline-block; padding: 2px 10px; border-radius: 4px; font-size: 11.5px; font-weight: 700; background: var(--panel); }
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.stat { background: #fff; border-radius: 6px; padding: 18px; }
.stat b { display: block; font-family: var(--font-head); font-size: 26px; }
.stat span { font-size: 12.5px; color: var(--muted); font-weight: 700; }
.inline-form { display: inline-flex; gap: 6px; align-items: center; }
.inline-form select { padding: 5px 8px; border-radius: 4px; font-size: 12.5px; width: auto; }
.login-box { max-width: 380px; margin: 60px auto; background: #fff; box-shadow: var(--shadow-sm); border-radius: 6px; padding: 32px; }

/* ------------------------------------------------------------ cta bar */
.cta-bar { display: flex; align-items: center; justify-content: space-between; gap: 28px; background: var(--ink); color: #fff; border-radius: 6px; padding: 30px 36px; }
.cta-bar h3 { font-size: 22px; margin: 0 0 4px; letter-spacing: -.02em; }
.cta-bar p { margin: 0; color: rgba(255, 255, 255, .7); font-size: 14.5px; max-width: 560px; }
.cta-bar .btn { flex: none; }

/* -------------------------------------------- builder, light variant */
.builder-light { background: var(--panel); color: var(--ink); margin: 0 auto; padding: 72px 24px 80px; border-radius: 6px; max-width: 1440px; }
.builder-light .container-wide { padding: 0; }
.builder-light .section-head h2 { color: var(--ink); }
.builder-light .section-head p { color: var(--ink-2); }
.builder-light .eyebrow { color: var(--brand); }
.builder-light .b-form { background: var(--bg); box-shadow: none; }
.builder-light .b-block { border-bottom-color: #e6e1d8; }
.builder-light .seg { background: #fff; }
.builder-light .seg label:hover span { background: #f1ede5; }
.builder-light .gc { background: #fff; }
.builder-light .goal-cards label:hover .gc { box-shadow: inset 0 0 0 2px var(--line-strong); }
.builder-light .b-budget { background: #fff; }
.builder-light .chips button { background: #fff; }
.builder-light .chips button:hover { background: var(--brand); }
.builder-light .b-result { background: var(--bg); box-shadow: none; }
.builder-light .b-empty h3, .builder-light .b-plan-head h3, .builder-light .b-items b, .builder-light .b-items .price, .builder-light .b-totals .row.total, .builder-light .b-tip { color: var(--ink); }
.builder-light .b-empty p, .builder-light .b-loading, .builder-light .b-meter-labels, .builder-light .b-items small, .builder-light .b-totals .row, .builder-light .b-tips li, .builder-light .b-perks { color: var(--ink-2); }
.builder-light .b-perks .ico, .builder-light .b-tip .ico, .builder-light .b-tips li::before, .builder-light .b-totals .row.save { color: var(--brand); }
.builder-light .spinner { border-color: #e6e1d8; border-top-color: var(--brand); }
.builder-light .b-level { background: var(--ink); color: #fff; }
.builder-light .b-meter-bar { background: #e6e1d8; }
.builder-light .b-meter-bar span { background: linear-gradient(90deg, var(--brand), #d9781f); }
.builder-light .b-items li { border-top-color: var(--line); }
.builder-light .b-items .qty { background: #fff; color: var(--ink); }
.builder-light .b-items .qty-custom { background: #e2eeea; color: var(--brand); }
.builder-light .b-totals { border-top-color: var(--ink); }
.builder-light .b-totals .row.total small { color: var(--muted); }
.builder-light .b-tip { background: #e2eeea; }
.builder-light .b-actions .btn-light { background: var(--brand); color: #fff; }
.builder-light .b-actions .btn-light:hover { background: var(--brand-dark); }
.builder-light .btn-glass { background: #fff; color: var(--ink-2); }
.builder-light .btn-glass:hover { background: #f1ede5; color: var(--ink); }

/* --------------------------------------------------------------- legal */
.legal { display: grid; grid-template-columns: 240px 1fr; gap: 56px; padding: 56px 0 80px; align-items: start; }
.legal-nav { position: sticky; top: calc(var(--header-h) + 24px); display: flex; flex-direction: column; gap: 4px; }
.legal-nav .eyebrow { margin-bottom: 10px; }
.legal-nav > a { padding: 8px 10px; border-radius: 4px; font-family: var(--font-head); font-weight: 600; font-size: 14px; color: var(--ink-2); }
.legal-nav > a:hover { background: #fff; color: var(--ink); }
.legal-nav > a.active { background: var(--brand); color: #fff; }
.legal-company { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--ink-2); line-height: 1.7; }
.legal-company b { display: block; color: var(--ink); font-family: var(--font-head); }
.legal-company a { color: var(--brand); font-weight: 600; }
.legal-body { max-width: 760px; }
.legal-body h1 { font-size: clamp(30px, 3.4vw, 42px); margin: 10px 0 18px; }
.legal-body .lead { font-size: 17px; color: var(--ink-2); margin-bottom: 30px; }
.legal-body h2 { font-size: 21px; margin: 38px 0 10px; letter-spacing: -.015em; }
.legal-body h3 { font-size: 16px; margin: 20px 0 8px; }
.legal-body p, .legal-body li { color: var(--ink-2); font-size: 15px; line-height: 1.7; }
.legal-body ul, .legal-body ol { padding-left: 20px; margin: 0 0 14px; }
.legal-body ul { list-style: disc; } .legal-body ol { list-style: decimal; }
.legal-body li { margin-bottom: 6px; }
.legal-body a { color: var(--brand); font-weight: 600; }
.legal-body code { background: #fff; padding: 2px 6px; border-radius: 3px; font-size: 13px; }
.legal-table { width: 100%; border-collapse: collapse; font-size: 13px; margin: 12px 0 18px; background: #fff; }
.legal-table th, .legal-table td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; color: var(--ink-2); }
.legal-table th { background: var(--bg); font-family: var(--font-head); font-size: 12px; color: var(--ink); }
.legal-form { background: #fff; padding: 18px 20px; border-radius: 4px; font-family: var(--font-body); font-size: 14px; line-height: 1.7; white-space: pre-wrap; color: var(--ink-2); }
.link-btn { color: var(--brand); font-weight: 600; text-decoration: underline; }
.terms-field .checkbox { align-items: flex-start; font-size: 13.5px; line-height: 1.55; font-weight: 500; color: var(--ink-2); }
.terms-field .checkbox input { margin-top: 3px; flex: none; }
.terms-field.invalid .checkbox { color: var(--warn); }


/* ------------------------------------------------------------ cookies */
.cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 300; display: flex; justify-content: center; pointer-events: none; }
.cookie-inner { pointer-events: auto; width: min(760px, 100%); background: var(--ink); color: #fff; border-radius: 6px; padding: 22px 24px; box-shadow: 0 24px 60px rgba(0, 0, 0, .3); display: grid; gap: 16px; transform: translateY(30px); opacity: 0; transition: transform .5s var(--ease), opacity .4s; }
.cookie.open .cookie-inner { transform: none; opacity: 1; }
.cookie-text b { font-family: var(--font-head); font-weight: 600; font-size: 15px; display: block; margin-bottom: 4px; }
.cookie-text p { margin: 0; font-size: 13.5px; color: rgba(255, 255, 255, .72); }
.cookie-text a { color: #8ee5d5; font-weight: 600; }
.cookie-options { display: grid; gap: 10px; padding-top: 4px; border-top: 1px solid rgba(255, 255, 255, .12); }
.cookie-options label { display: flex; gap: 12px; align-items: flex-start; font-size: 13.5px; cursor: pointer; padding-top: 10px; }
.cookie-options input { width: 18px; height: 18px; margin-top: 2px; accent-color: #8ee5d5; flex: none; }
.cookie-options b { display: block; font-family: var(--font-head); font-weight: 600; }
.cookie-options small { color: rgba(255, 255, 255, .6); font-size: 12.5px; }
.cookie-actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.cookie-actions .btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .3); }
.cookie-actions .btn-ghost:hover { border-color: #fff; color: #fff; }
.cookie-actions .btn-dark { background: #fff; color: var(--ink); }
.cookie-actions .btn-dark:hover { background: #e9e5dd; box-shadow: none; }

/* -------------------------------------------------------------- footer */
.footer { background: #fff; margin-top: 48px; padding: 56px 0 28px; }
.footer-cols { display: grid; grid-template-columns: 1.8fr 1fr 1fr 1fr; gap: 36px; }
.footer-brand p { color: var(--ink-2); font-size: 13.5px; max-width: 300px; margin: 14px 0 0; }
.footer-col { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; font-size: 13.5px; color: var(--ink-2); }
.footer-col b { font-family: var(--font-head); font-weight: 600; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); margin-bottom: 4px; }
.footer-col a, .footer-col button { color: var(--ink-2); font-weight: 600; transition: color .2s; text-align: left; }
.footer-col a:hover, .footer-col button:hover { color: var(--brand); }
.footer-col button { font-size: 13.5px; }
.disclaimer { margin: 40px 0 0; padding-top: 20px; border-top: 1px solid var(--line); font-size: 11.5px; color: var(--muted); line-height: 1.6; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 16px; font-size: 12px; color: var(--muted); }
.footer-company a { color: var(--brand); font-weight: 600; }
.footer-mail { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-size: 13.5px; font-weight: 600; color: var(--brand); }

/* goal cards: equal height */
.goal-cards label { display: flex; }
.gc { flex: 1; }

.article-body h2 { font-size: 22px; margin: 34px 0 10px; letter-spacing: -.015em; }
.article-sources { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); }
.article-sources h3 { font-size: 15px; margin-bottom: 10px; }
.article-sources ol { list-style: decimal; padding-left: 20px; }
.article-sources li { font-size: 12.5px; color: var(--muted); line-height: 1.6; margin-bottom: 6px; }

/* ---------------------------------------------- builder: device quantity */
.gcard { display: flex; flex-direction: column; }
.gcard > label { flex: 1; display: flex; }
.gc-qty { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 8px; padding: 8px 12px; border-radius: 6px; background: #fff; box-shadow: inset 0 0 0 2px var(--c); font-family: var(--font-head); font-weight: 600; font-size: 13px; color: var(--ink-2); animation: fadeUp .3s var(--ease); }
.builder-light .gc-qty { background: var(--bg); }
.stepper-sm { border-width: 0; background: var(--bg); border-radius: 4px; }
.builder-light .stepper-sm { background: #fff; }
.stepper-sm button { width: 30px; height: 30px; }
.stepper-sm input { width: 32px; font-size: 14px; background: transparent; }
.pimg { max-width: 100%; }

.related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }

/* ----------------------------------------------------------- responsive */
@media (max-width: 1080px) {
  .pgrid, .related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cta-bar { flex-direction: column; align-items: flex-start; }
  .values { grid-template-columns: repeat(2, 1fr); }
  .hero-inner { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 900px) {
  .hero { min-height: 0; padding: 36px 0 48px; }
  .hero-inner { grid-template-columns: 1fr; gap: 28px; }
  .hero-art { height: 440px; min-height: 0; max-width: 560px; margin: 0 auto; }
  .hero-ring.r1 { width: 380px; height: 380px; margin: -190px 0 0 -170px; }
  .hero-ring.r2 { width: 260px; height: 260px; margin: -130px 0 0 -110px; }
  .scroll-cue { display: none; }
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .trust-row { grid-template-columns: repeat(2, 1fr); }
  .day-path { display: none !important; }
  .day-item, .day-item.flip .day-text { grid-template-columns: 1fr; text-align: center; justify-self: center; }
  .day-item .day-media, .day-item .day-node, .day-item .day-text, .day-item.flip .day-media, .day-item.flip .day-text { grid-column: 1; }
  .day-item .day-media { grid-row: 1; } .day-item .day-node { grid-row: 2; } .day-item .day-text { grid-row: 3; }
  .day-item.flip .day-text .btn-text { flex-direction: row; }
  .day-item { gap: 10px; padding: 18px 0; }
  .labels-tabs { grid-template-columns: repeat(2, 1fr); }
  .labels-tab { border-bottom: 1px solid var(--line); }
  .labels-panel, .journal, .offer, .builder-grid { grid-template-columns: 1fr; }
  .b-result { position: static; min-height: 0; }
  .jgrid { grid-template-columns: repeat(2, 1fr); }
  .b-form { padding: 28px; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .pdp, .pdp-details, .cart-grid, .checkout-grid, .about-grid { grid-template-columns: 1fr; }
  .pdp-media { position: static; max-width: 420px; margin: 0 auto; }
  .summary { position: static; }
  .routine, .agrid { grid-template-columns: 1fr; }
  .ugc-grid { grid-template-columns: repeat(2, 1fr); }
  .ugc-wide { grid-column: span 2; }
  .promo { flex-direction: column; align-items: stretch; text-align: center; }
  .promo-form input { width: auto; flex: 1; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .legal { grid-template-columns: 1fr; gap: 24px; }
  .legal-nav { position: static; flex-direction: row; flex-wrap: wrap; }
  .legal-company { flex-basis: 100%; }
  .stat-row { grid-template-columns: repeat(2, 1fr); }
  .frame { margin: 4px; border-radius: 6px; }
  .carousel-btn.prev { left: 4px; }
  .carousel-btn.next { right: 4px; }
  .menu-body { grid-template-columns: 1fr; gap: 28px; align-items: start; }
  .menu-link { font-size: clamp(34px, 9vw, 56px); padding: 6px 0; flex-direction: column; align-items: flex-start; gap: 2px; }
  .menu-btn-label, .header-shop { display: none; }
}
@media (max-width: 560px) {
  .container, .container-wide { padding: 0 16px; }
  .footer-cols { grid-template-columns: 1fr; gap: 26px; }
  .tiles, .trust-row, .labels-tabs { grid-template-columns: 1fr; }
  .labels-panel { padding: 22px; }
  .offer { padding: 30px 24px; }
  .offer-form .row { flex-direction: column; }
  .form-row { grid-template-columns: 1fr; }
  .pdp-info .benefits { grid-template-columns: 1fr; }
  .pdp-trust { grid-template-columns: 1fr; }
  .cart-line { grid-template-columns: 64px 1fr; }
  .cart-line .line-right { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; }
  .hero-chip.c2 { display: none; }
  .hero-chip.c1 { top: auto; bottom: 14px; left: 8px; }
  .hero-art { height: 360px; }
  .quiz-card { padding: 22px; }
  .b-form { padding: 22px 18px; }
  .goal-cards, .jgrid, .b-budget-row { grid-template-columns: 1fr; }
  .seg { grid-template-columns: repeat(2, 1fr); }
  .b-result { padding: 24px 18px; }
  .panel { padding: 44px 16px; border-radius: 6px; }
  .panel-divider { margin: 44px auto; }
  .stat-row { grid-template-columns: 1fr; }
  .ugc-grid { grid-template-columns: 1fr; }
  .ugc-wide, .ugc-flip { grid-column: auto; flex-direction: column; }
  .ugc-wide .ugc-photo { aspect-ratio: 4 / 5; }
  .products-row > * { flex-basis: 86vw; }
}

/* ------------------------------------------------- reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js [data-reveal], .js [data-anim], .hb, .hero-person img { opacity: 1; transform: none; }
}
