/* ==========================================================================
   Repyra™ Marketing Platform — HelloClearHealth-Inspired DTC Design System
   Palette: Warm Sand Alabaster (#FAF8F5), Crisp White (#FFFFFF), Deep Forest
   Emerald (#0F3B2E), Health Mint (#22C55E), Newsreader Editorial Typography.
   ========================================================================== */

:root {
  /* HelloClearHealth Surface & Canvas Tokens */
  --canvas: #FAF8F5;
  --canvas-subtle: #F3EFE6;
  --surface: #FFFFFF;
  --surface-elevated: #FFFFFF;
  --surface-alt: #F4F0E8;
  --line: rgba(15, 23, 42, 0.08);
  --line-strong: rgba(15, 23, 42, 0.16);
  --text: #11161D;
  --muted: #525E71;
  --muted-light: #7E8B9F;

  /* HelloClearHealth Signature Medical & Wellness Emerald Palette */
  --forest: #0F3B2E;
  --forest-hover: #165442;
  --forest-dark: #082119;
  --forest-card: #09281F;
  --emerald: #10B981;
  --mint: #22C55E;
  --mint-badge: #EBF7EE;
  --mint-text: #0F3B2E;
  --gold: #D97706;
  --amber: #F59E0B;
  --lime: #C8F542;
  --lime-ink: #0F3B2E;

  /* Typography */
  --font-d: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-serif: 'Newsreader', Georgia, serif;
  --font-b: 'Inter', system-ui, -apple-system, sans-serif;

  /* Layout, Radii & Shadows */
  --r: 24px;
  --r-sm: 14px;
  --r-pill: 9999px;
  --w: 1200px;
  --gut: 24px;
  --nav-h: 74px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);

  --sh-sm: 0 2px 8px -1px rgba(17, 24, 39, 0.04), 0 1px 3px -1px rgba(17, 24, 39, 0.02);
  --sh-card: 0 10px 30px -4px rgba(15, 23, 42, 0.06), 0 2px 8px -2px rgba(15, 23, 42, 0.03);
  --sh-lg: 0 24px 50px -8px rgba(15, 59, 46, 0.12), 0 8px 20px -4px rgba(15, 23, 42, 0.06);

  /* Fallback aliases */
  --bg: var(--canvas);
  --fg: var(--text);
  --mut: var(--muted);
  --ln: var(--line);
  --card: var(--surface);
  --green: var(--forest);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background: var(--canvas); }
body {
  margin: 0;
  font: 16px/1.6 var(--font-b);
  color: var(--fg);
  background: var(--canvas);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
p a, li a, td a { color: var(--forest); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

h1, h2, h3, h4 {
  font-family: var(--font-d);
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin: 0 0 0.5em;
  font-weight: 700;
  color: var(--text);
}
h1 { font-size: clamp(2.4rem, 5.2vw, 4.3rem); font-weight: 800; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); font-weight: 700; letter-spacing: -0.025em; }
h3 { font-size: 1.28rem; font-weight: 700; }
p { margin: 0 0 1em; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--forest); outline-offset: 3px; border-radius: 8px; }

.skip {
  position: absolute; left: -999px; top: 8px;
  background: var(--forest); color: #fff;
  padding: 8px 16px; border-radius: 8px; z-index: 999;
}
.skip:focus { left: 8px; }

.wrap { width: min(var(--w), 100% - 2 * var(--gut)); margin-inline: auto; }
.section { padding: clamp(64px, 8vw, 110px) 0; }
.section.tight { padding: clamp(40px, 5vw, 70px) 0; }

.mut { color: var(--mut); }
.center { text-align: center; }
.center .lead, .center .pill-badge { margin-inline: auto; }
.lead { font-size: clamp(1.06rem, 1.5vw, 1.25rem); color: var(--muted); max-width: 60ch; line-height: 1.6; }

.section-header { max-width: 740px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-header h2 { margin: 12px 0 14px; }
.section-header-split {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 20px; flex-wrap: wrap; margin-bottom: 36px;
}
.section-header-split h2 { margin: 10px 0 0; }

.grid { display: grid; gap: 24px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .g3, .g4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } }

/* ==========================================================================
   Pill Badges & Tags (HelloClearHealth Style)
   ========================================================================== */
.pill-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--mint-badge); color: var(--forest);
  border: 1px solid rgba(15, 59, 46, 0.12);
  border-radius: var(--r-pill);
  padding: 6px 14px;
  font: 700 0.74rem/1 var(--font-d);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.pill-badge.light {
  background: rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.25);
}

/* ==========================================================================
   Buttons (HelloClearHealth Signature Pills)
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 10px; min-height: 52px; padding: 0 28px;
  border-radius: var(--r-pill); border: 1.5px solid transparent;
  font-family: var(--font-d); font-weight: 600; font-size: 0.96rem;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.2s, border-color 0.2s;
  white-space: nowrap; text-decoration: none !important;
}
.btn svg { width: 17px; height: 17px; transition: transform 0.2s; }
.btn:hover svg { transform: translateX(3px); }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--forest); color: #FFFFFF;
  box-shadow: 0 8px 22px -3px rgba(15, 59, 46, 0.28);
}
.btn-primary:hover {
  background: var(--forest-hover);
  box-shadow: 0 12px 28px -4px rgba(15, 59, 46, 0.38);
}

.btn-secondary {
  background: #FFFFFF; color: var(--forest);
  border-color: rgba(15, 59, 46, 0.18);
  box-shadow: var(--sh-sm);
}
.btn-secondary:hover {
  border-color: var(--forest);
  background: #FAF8F5;
  box-shadow: 0 4px 14px rgba(0,0,0,0.06);
}

.btn-ghost {
  border-color: var(--line-strong); color: var(--fg); background: transparent;
}
.btn-ghost:hover { border-color: var(--text); background: rgba(0,0,0,0.02); }
.btn-ghost.light {
  border-color: rgba(255, 255, 255, 0.3); color: #FFFFFF;
}
.btn-ghost.light:hover {
  border-color: #FFFFFF; background: rgba(255, 255, 255, 0.1);
}

.btn-lime {
  background: var(--lime); color: var(--lime-ink);
  box-shadow: 0 8px 20px rgba(200, 245, 66, 0.3);
}
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 0.88rem; }
.arrow-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; color: var(--forest); text-decoration: none !important;
  font-family: var(--font-d); font-size: 0.95rem;
}
.arrow-link svg { width: 17px; height: 17px; transition: transform 0.2s; }
.arrow-link:hover svg { transform: translateX(4px); }

/* ==========================================================================
   Announcement Bar (ClearHealth Signature Top Banner)
   ========================================================================== */
.announcement-bar {
  background: #0F3B2E; color: #EBF7EE;
  font-size: 0.84rem; padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.ann-wrap {
  display: flex; align-items: center; justify-content: center;
  gap: 12px; flex-wrap: wrap; text-align: center;
}
.ann-pill {
  background: #22C55E; color: #082119;
  font: 800 0.68rem/1 var(--font-d);
  padding: 3px 8px; border-radius: var(--r-pill);
  text-transform: uppercase; letter-spacing: 0.06em;
}
.ann-text { font-weight: 500; }
.ann-link {
  color: var(--lime); font-weight: 700;
  display: inline-flex; align-items: center; gap: 4px;
  text-decoration: none !important;
}
.ann-link svg { width: 14px; height: 14px; }
.ann-link:hover { text-decoration: underline !important; }

/* ==========================================================================
   Navigation Bar (HelloClearHealth Warm Ivory Glass)
   ========================================================================== */
.nav {
  position: sticky; top: 0; z-index: 50;
  height: var(--nav-h); display: flex; align-items: center;
  background: rgba(250, 248, 245, 0.94);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  transition: transform 0.35s var(--ease);
}
.nav.hide { transform: translateY(-100%); }
.nav .wrap { display: flex; align-items: center; gap: 28px; }

.brand {
  display: flex; align-items: center; gap: 10px;
  font: 800 1.25rem var(--font-d); letter-spacing: -0.03em;
  color: #11161D; text-decoration: none !important;
}
.brand-mark { width: 36px; height: 36px; border-radius: 10px; flex: none; }
.brand-text { display: flex; align-items: center; }
.brand-badge {
  font-size: 0.65rem; background: var(--mint-badge); color: var(--forest);
  padding: 2px 6px; border-radius: var(--r-pill);
  font-weight: 800; margin-left: 6px;
  border: 1px solid rgba(15, 59, 46, 0.12);
}

.nav-links { display: flex; gap: 6px; margin-left: auto; }
.nav-links a {
  padding: 8px 14px; border-radius: var(--r-pill);
  font-weight: 600; font-size: 0.92rem; color: #4B5565;
  transition: color 0.2s, background 0.2s; text-decoration: none !important;
}
.nav-links a:hover, .nav-links a[aria-current] {
  color: var(--text); background: rgba(15, 23, 42, 0.05);
}

.nav-actions { display: flex; align-items: center; gap: 14px; margin-left: 12px; }
.nav-login {
  color: var(--text); font-weight: 600; font-size: 0.92rem;
  padding: 6px 10px; text-decoration: none !important;
}
.nav-login:hover { color: var(--forest); }

.burger {
  display: none; margin-left: auto; width: 44px; height: 44px;
  border: 1px solid var(--line); background: #FFFFFF; color: var(--text);
  border-radius: 10px;
}
.burger svg { width: 24px; height: 24px; margin: auto; }

@media (max-width: 960px) {
  .nav-links, .nav-actions { display: none; }
  .burger { display: grid; place-items: center; }
  .nav.open .nav-links {
    display: flex; flex-direction: column; position: absolute;
    top: var(--nav-h); left: 0; right: 0;
    background: var(--canvas); padding: 16px var(--gut) 24px;
    border-bottom: 1px solid var(--line); gap: 4px;
    box-shadow: var(--sh-lg);
  }
  .nav.open .nav-links a { padding: 12px 14px; font-size: 1.05rem; }
}

/* ==========================================================================
   Hero Section (HelloClearHealth Layout)
   ========================================================================== */
.clear-hero {
  position: relative; overflow: hidden;
  padding: clamp(48px, 7vw, 92px) 0 40px;
  background: radial-gradient(ellipse at 50% 0%, rgba(34, 197, 94, 0.05), transparent 70%);
}
.clear-hero .hero-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 64px); align-items: center;
}
.hero-text { max-width: 600px; }

.trust-pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: #FFFFFF; border: 1px solid var(--line);
  border-radius: var(--r-pill); padding: 7px 16px;
  font-size: 0.82rem; font-weight: 600; color: #11161D;
  box-shadow: var(--sh-sm); margin-bottom: 22px;
}
.trust-pill .stars { color: var(--amber); letter-spacing: 2px; font-size: 0.88rem; }
.trust-pill .pill-dot { color: var(--line-strong); }
.trust-pill .pill-count { color: var(--muted); }

.editorial-accent {
  font-family: var(--font-serif);
  font-style: italic; font-weight: 500;
  color: var(--forest);
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 24px; }
.hero-guarantees {
  display: flex; flex-wrap: wrap; gap: 16px 22px;
  font-size: 0.85rem; color: var(--muted); font-weight: 500;
}
.hero-guarantees span { display: inline-flex; align-items: center; gap: 6px; }
.hero-guarantees svg { width: 16px; height: 16px; color: var(--emerald); }

/* ==========================================================================
   Hero Visual: Wellness Card Stack & Phone Mockup
   ========================================================================== */
.hero-visual { position: relative; min-height: 640px; display: grid; place-items: center; }
.wellness-card-stack { position: relative; width: 100%; max-width: 440px; }

.float-badge {
  position: absolute; z-index: 5;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--line); border-radius: 18px;
  padding: 12px 16px; display: flex; align-items: center; gap: 12px;
  box-shadow: var(--sh-lg); animation: floaty 6s ease-in-out infinite;
}
.float-badge .fb-icon { font-size: 1.3rem; }
.float-badge b { font: 700 0.88rem var(--font-d); color: var(--text); display: block; }
.float-badge small { font-size: 0.76rem; color: var(--muted); display: block; margin-top: 2px; }

.fb-top { top: 6%; left: -6%; animation-delay: 0s; }
.fb-right { top: 48%; right: -8%; animation-delay: 1.5s; }
.fb-bottom { bottom: 6%; left: -4%; animation-delay: 3s; }

/* Phone Mockup */
.phone {
  width: 320px; margin: 0 auto;
  background: #0B0E14; border-radius: 46px; padding: 12px;
  box-shadow: var(--sh-lg), 0 0 0 1px rgba(0, 0, 0, 0.08);
  transform: rotate(-2deg); transition: transform 0.8s var(--ease);
  position: relative; z-index: 2;
}
.hero-visual:hover .phone { transform: rotate(0deg); }
.phone::after {
  content: ""; position: absolute; top: 22px; left: 50%;
  transform: translateX(-50%); width: 88px; height: 24px;
  background: #0B0E14; border-radius: 20px; z-index: 3;
}
.screen {
  background: #111622; border-radius: 36px;
  padding: 48px 16px 14px; color: #FFFFFF;
  font-size: 13px; min-height: 600px;
  display: flex; flex-direction: column; gap: 12px;
  position: relative; overflow: hidden;
}
.greeting-sub { font-size: 10px; text-transform: uppercase; letter-spacing: 0.08em; color: #94A3B8; }
.ps-top { display: flex; justify-content: space-between; align-items: flex-start; }
.ps-top b { font: 700 1.2rem var(--font-d); display: block; }
.ps-streak {
  background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--r-pill); padding: 4px 10px; font-weight: 700; font-size: 11px;
}
.ps-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ps-tile {
  background: #1A2232; border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px; padding: 10px;
}
.ps-tile small { display: block; font-size: 9.5px; text-transform: uppercase; color: #94A3B8; letter-spacing: 0.06em; }
.ps-tile b { font: 700 14px var(--font-d); display: block; margin: 3px 0 5px; }
.ps-tile b span { font: 500 10px var(--font-b); color: #94A3B8; }
.ps-tile i { display: block; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, 0.1); overflow: hidden; }
.ps-tile i::after {
  content: ""; display: block; height: 100%; width: var(--p);
  background: var(--lime); border-radius: 4px;
}
.ps-tile.protein i::after { background: #22C55E; }
.ps-tile.water i::after { background: #38BDF8; }

.ps-session {
  background: linear-gradient(145deg, #1A2436, #121A26);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px; padding: 14px;
  display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center;
}
.ps-tag { font-size: 9.5px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--lime); }
.ps-focus { font: 700 16px var(--font-d); margin: 3px 0 2px; }
.ps-meta { color: #94A3B8; font-size: 11px; }
.ps-ring {
  width: 54px; height: 54px; border-radius: 50%;
  background: conic-gradient(var(--lime) 0 70%, rgba(255, 255, 255, 0.1) 70% 100%);
  display: grid; place-items: center;
}
.ps-ring span {
  width: 42px; height: 42px; border-radius: 50%;
  background: #121A26; display: grid; place-items: center;
  font: 700 11px var(--font-d);
}
.ps-cta {
  grid-column: 1 / -1; background: var(--lime); color: var(--forest-dark);
  border-radius: 12px; text-align: center; padding: 9px; font-weight: 700; font-size: 12px;
}
.ps-list { display: flex; flex-direction: column; gap: 6px; }
.ps-row {
  display: flex; align-items: center; gap: 10px;
  background: #1A2232; border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px; padding: 8px 12px;
}
.ps-row i {
  width: 16px; height: 16px; border-radius: 5px;
  border: 1.5px solid rgba(255, 255, 255, 0.2); flex: none;
}
.ps-row.done i { background: #22C55E; border-color: #22C55E; }
.ps-row .ex-name { font-weight: 600; font-size: 12px; display: block; }
.ps-row .ex-detail { font-size: 10.5px; color: #94A3B8; display: block; }
.ps-row .row-badge {
  margin-left: auto; font-size: 10px; font-weight: 700; color: #22C55E;
}
.ps-row .row-timer {
  margin-left: auto; font-size: 10px; font-weight: 700; color: var(--lime);
  background: rgba(200, 245, 66, 0.15); padding: 3px 8px; border-radius: 6px;
}
.ps-nav {
  margin-top: auto; display: flex; justify-content: space-around;
  background: #0B0E14; border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--r-pill); padding: 6px; font-size: 10px; color: #94A3B8;
}
.ps-nav span { padding: 5px 9px; border-radius: var(--r-pill); }
.ps-nav span.on { background: var(--lime); color: var(--forest-dark); font-weight: 700; }

@media (max-width: 960px) {
  .clear-hero .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 560px; margin-top: 20px; }
  .fb-top { left: 0; } .fb-right { right: 0; } .fb-bottom { left: 0; }
}

/* ==========================================================================
   Foods Ticker Marquee
   ========================================================================== */
.foods-ticker {
  margin-top: 48px; border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line); padding: 14px 0;
  display: flex; align-items: center; overflow: hidden;
  background: #FFFFFF;
}
.ticker-label {
  flex: none; padding-left: var(--gut); padding-right: 18px;
  font: 700 0.8rem/1 var(--font-d); text-transform: uppercase;
  letter-spacing: 0.06em; color: var(--forest);
  border-right: 1px solid var(--line);
}
.marquee {
  overflow: hidden; width: 100%;
  font: 600 0.92rem var(--font-d); color: var(--muted);
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}
.marquee .track { display: flex; gap: 32px; width: max-content; animation: marquee 52s linear infinite; }
.marquee span { display: inline-flex; align-items: center; gap: 32px; white-space: nowrap; }
.marquee span::after { content: "·"; color: var(--mint); font-size: 1.4em; }

/* ==========================================================================
   Credibility Stats Bar
   ========================================================================== */
.credibility-bar {
  padding: 44px 0; background: #FFFFFF;
  border-bottom: 1px solid var(--line);
}
.cred-stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 24px; text-align: center;
}
.cred-stat b {
  font: 800 clamp(2rem, 3.2vw, 2.8rem)/1 var(--font-d);
  letter-spacing: -0.03em; color: var(--forest); display: block; margin-bottom: 8px;
}
.cred-stat p { font-size: 0.92rem; color: var(--muted); margin: 0; font-weight: 500; }
@media (max-width: 800px) { .cred-stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 16px; } }

/* ==========================================================================
   Offerings & Protocols Grid (Signature HelloClearHealth Cards)
   ========================================================================== */
.protocols-section { background: var(--canvas); }
.protocols-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 24px; align-items: stretch;
}
.protocol-card {
  background: #FFFFFF; border: 1px solid var(--line);
  border-radius: var(--r); padding: 32px 26px;
  display: flex; flex-direction: column;
  box-shadow: var(--sh-card);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.3s;
  position: relative;
}
.protocol-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--sh-lg);
  border-color: rgba(15, 59, 46, 0.22);
}
.protocol-card.featured-proto {
  border-color: rgba(15, 59, 46, 0.25);
  background: linear-gradient(180deg, #FFFFFF, #F6FBF8);
}
.proto-top {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 18px;
}
.proto-tag {
  font: 800 0.72rem var(--font-d); letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--forest);
}
.proto-badge {
  background: var(--mint-badge); color: var(--forest);
  font: 700 0.74rem var(--font-d); padding: 4px 10px;
  border-radius: var(--r-pill); border: 1px solid rgba(15, 59, 46, 0.1);
}
.proto-badge.highlight {
  background: var(--forest); color: #FFFFFF; border-color: var(--forest);
}
.protocol-card h3 {
  font-size: 1.25rem; margin-bottom: 10px; line-height: 1.25;
}
.proto-desc {
  font-size: 0.94rem; color: var(--muted); margin-bottom: 20px; line-height: 1.55;
}
.proto-features {
  list-style: none; padding: 0; margin: 0 0 28px;
  display: grid; gap: 10px; font-size: 0.9rem; color: #374151;
}
.proto-features li { display: flex; align-items: flex-start; gap: 10px; }
.proto-features svg { width: 18px; height: 18px; color: var(--emerald); flex: none; margin-top: 2px; }

.proto-footer {
  margin-top: auto; padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.proto-price small { display: block; font-size: 0.72rem; color: var(--muted); text-transform: uppercase; }
.proto-price b { font: 800 1.15rem var(--font-d); color: var(--text); }
.proto-cta {
  font: 700 0.88rem var(--font-d); color: var(--forest);
  display: inline-flex; align-items: center; gap: 6px; text-decoration: none !important;
}
.proto-cta svg { width: 16px; height: 16px; transition: transform 0.2s; }
.proto-cta:hover svg { transform: translateX(3px); }
.proto-cta.btn-solid {
  background: var(--forest); color: #FFFFFF;
  padding: 8px 16px; border-radius: var(--r-pill);
}
.proto-cta.btn-solid:hover { background: var(--forest-hover); }

@media (max-width: 1080px) { .protocols-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .protocols-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   3-Step ClearHealth Journey Flow
   ========================================================================== */
.flow-section { background: #FFFFFF; border-block: 1px solid var(--line); }
.steps-timeline {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.step-card {
  background: var(--canvas); border: 1px solid var(--line);
  border-radius: var(--r); padding: 36px 30px;
  box-shadow: var(--sh-card); display: flex; flex-direction: column;
}
.step-num-badge {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--forest); color: #FFFFFF;
  font: 800 0.95rem var(--font-d); display: grid; place-items: center;
  margin-bottom: 20px;
}
.step-icon-box {
  width: 48px; height: 48px; border-radius: 14px;
  background: #FFFFFF; border: 1px solid var(--line);
  color: var(--forest); display: grid; place-items: center;
  margin-bottom: 20px;
}
.step-icon-box svg { width: 24px; height: 24px; }
.step-card h3 { font-size: 1.25rem; margin-bottom: 12px; }
.step-card p { font-size: 0.95rem; color: var(--muted); line-height: 1.6; margin-bottom: 20px; }
.step-tag {
  margin-top: auto; align-self: flex-start;
  font: 700 0.74rem var(--font-d); color: var(--forest);
  background: var(--mint-badge); padding: 4px 10px; border-radius: var(--r-pill);
}
@media (max-width: 900px) { .steps-timeline { grid-template-columns: 1fr; } }

/* ==========================================================================
   Transformations & Case Studies (Patient Results Style)
   ========================================================================== */
.transformations-section { background: var(--canvas); }
.stories-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.story-card {
  background: #FFFFFF; border: 1px solid var(--line);
  border-radius: var(--r); padding: 32px 28px;
  box-shadow: var(--sh-card); display: flex; flex-direction: column;
  justify-content: space-between;
}
.story-header {
  display: flex; justify-content: space-between; align-items: flex-start;
  margin-bottom: 16px;
}
.story-user { display: flex; align-items: center; gap: 12px; }
.story-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--forest); color: #C8F542;
  font: 800 0.92rem var(--font-d); display: grid; place-items: center; flex: none;
}
.story-user b { font: 700 1rem var(--font-d); color: var(--text); display: block; }
.story-user small { font-size: 0.8rem; color: var(--muted); display: block; }
.story-badge {
  font: 700 0.72rem var(--font-d); background: var(--canvas-subtle);
  color: var(--forest); padding: 4px 10px; border-radius: var(--r-pill);
}
.story-metrics {
  display: grid; grid-template-columns: repeat(3, 1fr);
  background: var(--canvas); border-radius: 16px;
  padding: 14px 8px; margin: 18px 0; text-align: center;
  border: 1px solid rgba(0,0,0,0.03);
}
.story-metrics .sm-item b {
  font: 800 1.05rem var(--font-d); color: var(--forest); display: block;
}
.story-metrics .sm-item small {
  font-size: 0.74rem; color: var(--muted); text-transform: uppercase;
}
.story-quote {
  font-family: var(--font-serif); font-style: italic;
  font-size: 1rem; color: #2D3748; line-height: 1.6; margin-bottom: 20px;
}
.story-footer {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 14px; border-top: 1px solid var(--line);
}
.verified-check {
  font: 700 0.78rem var(--font-d); color: var(--forest);
  display: inline-flex; align-items: center; gap: 4px;
}
.story-footer .stars { color: var(--amber); letter-spacing: 2px; font-size: 0.82rem; }
@media (max-width: 900px) { .stories-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Comparison Table (ClearHealth Style)
   ========================================================================== */
.comparison-section { background: #FFFFFF; border-block: 1px solid var(--line); }
.table-container {
  overflow-x: auto; background: #FFFFFF;
  border: 1px solid var(--line); border-radius: var(--r);
  box-shadow: var(--sh-card); padding: 12px;
}
.comp-table {
  width: 100%; border-collapse: collapse; text-align: left;
  font-size: 0.94rem;
}
.comp-table th, .comp-table td {
  padding: 18px 20px; border-bottom: 1px solid var(--line);
  vertical-align: middle;
}
.comp-table th {
  font: 700 0.88rem var(--font-d); text-transform: uppercase;
  letter-spacing: 0.06em; color: var(--muted); background: #FAF8F5;
}
.comp-table th.col-highlight {
  background: var(--forest); color: #FFFFFF; font-size: 1rem;
  border-top-left-radius: 12px; border-top-right-radius: 12px;
}
.comp-table td.col-highlight {
  background: #FAF8F5; border-left: 2px solid var(--forest);
  border-right: 2px solid var(--forest); font-weight: 600; color: var(--forest);
}
.comp-table tbody tr:last-child td { border-bottom: 0; }
.comp-table tbody tr:last-child td.col-highlight {
  border-bottom: 2px solid var(--forest);
  border-bottom-left-radius: 12px; border-bottom-right-radius: 12px;
}
.check-icon {
  color: var(--mint); font-weight: 900; margin-right: 6px; font-size: 1.1rem;
}
.x-icon { color: #DC2626; font-weight: 900; margin-right: 6px; font-size: 1.1rem; }
.maybe-icon { color: var(--amber); font-weight: 900; margin-right: 6px; font-size: 1.1rem; }

/* ==========================================================================
   Daily Routine Moments (Compact HelloClearHealth Cards)
   ========================================================================== */
.day-section { background: var(--canvas); }
.day-flow { display: grid; gap: 28px; max-width: 1060px; margin-inline: auto; }
.day-step {
  display: grid; grid-template-columns: 1.3fr 0.7fr;
  gap: clamp(24px, 4vw, 44px); align-items: center;
  background: #FFFFFF; border: 1px solid var(--line);
  border-radius: var(--r); padding: clamp(24px, 3.5vw, 38px);
  box-shadow: var(--sh-card);
}
.day-step:nth-child(even) {
  grid-template-columns: 0.7fr 1.3fr;
}
.day-step:nth-child(even) .day-step-text { order: 2; }
.day-step:nth-child(even) .day-step-img { order: 1; }

.step-clock {
  display: inline-block; font: 800 0.76rem var(--font-d);
  color: #FFFFFF; background: var(--forest);
  padding: 5px 12px; border-radius: var(--r-pill); margin-bottom: 12px;
}
.day-step-text h3 { font-size: clamp(1.25rem, 2vw, 1.65rem); margin-bottom: 10px; }
.day-step-text p { font-size: 0.95rem; color: var(--muted); line-height: 1.6; max-width: 46ch; margin-bottom: 14px; }
.micro-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--canvas); border: 1px solid var(--line);
  border-radius: 12px; padding: 8px 14px; font-size: 0.84rem;
  color: var(--text); box-shadow: var(--sh-sm);
}
.micro-badge b { color: var(--forest); font-family: var(--font-d); }

.day-step-img {
  position: relative; border-radius: 16px;
  overflow: hidden; box-shadow: var(--sh-sm);
  max-width: 280px; max-height: 175px; aspect-ratio: 16 / 10;
  margin-inline: auto; width: 100%; border: 1px solid var(--line);
}
.day-step-img img {
  width: 100%; height: 100%; max-height: 175px; object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.day-step:hover .day-step-img img { transform: scale(1.04); }

@media (max-width: 900px) {
  .day-step, .day-step:nth-child(even) { grid-template-columns: 1fr; }
  .day-step:nth-child(even) .day-step-text { order: 0; }
  .day-step:nth-child(even) .day-step-img { order: 1; }
  .day-step-img { max-width: 320px; max-height: 190px; }
}

/* ==========================================================================
   Articles & Blog Cards (Compact Thumbnail Ratios)
   ========================================================================== */
.articles-section { background: #FFFFFF; border-block: 1px solid var(--line); }
.post-card {
  display: flex; flex-direction: column; background: #FFFFFF;
  border: 1px solid var(--line); border-radius: var(--r);
  overflow: hidden; transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
  height: 100%; box-shadow: var(--sh-sm); text-decoration: none !important;
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--sh-card); }
.post-card .img {
  aspect-ratio: 16 / 9; max-height: 145px;
  overflow: hidden; background: var(--canvas-subtle);
}
.post-card .img img {
  width: 100%; height: 100%; max-height: 145px;
  object-fit: cover; transition: transform 1s var(--ease);
}
.post-card:hover .img img { transform: scale(1.05); }
.post-card .body { padding: 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.post-card h3 { font-size: 1.15rem; margin: 0; color: var(--text); line-height: 1.35; }
.post-card p { color: var(--muted); font-size: 0.94rem; margin: 0; flex: 1; }
.cat {
  display: inline-flex; align-items: center; gap: 6px;
  font: 700 0.72rem/1 var(--font-d); letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--forest);
}
.cat::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--emerald); }
.meta { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; color: var(--muted); }
.avatar {
  width: 30px; height: 30px; border-radius: 50%; object-fit: cover;
  background: var(--forest); color: #C8F542; display: grid; place-items: center;
  font: 800 0.75rem var(--font-d); flex: none;
}

/* ==========================================================================
   FAQ Section (HelloClearHealth Accordion)
   ========================================================================== */
.faq-section { background: var(--canvas); }
.faq-split { display: grid; grid-template-columns: 1fr 1.35fr; gap: clamp(32px, 6vw, 72px); align-items: start; }
.faq-intro h2 { margin: 12px 0 16px; }
.faq-cta-box {
  background: #FFFFFF; border: 1px solid var(--line);
  border-radius: var(--r); padding: 26px; margin-top: 32px;
  box-shadow: var(--sh-sm);
}
.faq-cta-box b { font: 700 1.05rem var(--font-d); color: var(--text); display: block; margin-bottom: 6px; }
.faq-cta-box p { font-size: 0.92rem; color: var(--muted); margin-bottom: 16px; }

.faq { border-top: 1px solid var(--line); }
.faq details {
  border-bottom: 1px solid var(--line);
  transition: background 0.2s;
}
.faq summary {
  list-style: none; cursor: pointer;
  padding: 22px 48px 22px 0; font: 700 1.08rem var(--font-d);
  position: relative; color: var(--text); letter-spacing: -0.015em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 8px; top: 50%;
  transform: translateY(-50%); font-size: 1.5rem; font-weight: 400;
  color: var(--forest); transition: transform 0.3s var(--ease);
}
.faq details[open] summary::after {
  content: "−";
}
.faq .ans {
  padding: 0 0 24px; color: var(--muted);
  max-width: 68ch; font-size: 0.98rem; line-height: 1.65;
}
.faq .ans p { margin: 0; }
@media (max-width: 900px) { .faq-split { grid-template-columns: 1fr; } }

/* ==========================================================================
   Bottom High-Converting CTA Banner (HelloClearHealth Deep Forest)
   ========================================================================== */
.cta-banner-section { padding: 40px 0 clamp(64px, 8vw, 100px); background: var(--canvas); }
.clear-cta-card {
  background: linear-gradient(135deg, #082119 0%, #0F3B2E 100%);
  color: #FFFFFF; border-radius: 32px;
  padding: clamp(48px, 6vw, 84px) clamp(24px, 5vw, 64px);
  text-align: center; box-shadow: var(--sh-lg);
  position: relative; overflow: hidden;
}
.clear-cta-card::before {
  content: ""; position: absolute; inset: -40% -20%;
  background: radial-gradient(circle at 50% 30%, rgba(34, 197, 94, 0.22), transparent 60%);
  pointer-events: none;
}
.cta-content { position: relative; z-index: 2; max-width: 720px; margin-inline: auto; }
.clear-cta-card h2 {
  color: #FFFFFF; font-size: clamp(2rem, 4.4vw, 3.4rem);
  margin: 16px 0 16px; letter-spacing: -0.03em;
}
.clear-cta-card p {
  color: #CBD5E1; font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  line-height: 1.6; margin-bottom: 32px;
}
.cta-buttons { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.clear-cta-card .btn-primary {
  background: var(--lime); color: var(--forest-dark);
  box-shadow: 0 8px 24px rgba(200, 245, 66, 0.35);
}
.clear-cta-card .btn-primary:hover {
  background: #D9FA65; box-shadow: 0 12px 30px rgba(200, 245, 66, 0.45);
}
.cta-meta {
  display: flex; justify-content: center; flex-wrap: wrap;
  gap: 16px 24px; font-size: 0.85rem; color: #94A3B8; font-weight: 500;
}

/* ==========================================================================
   Footer (HelloClearHealth Style)
   ========================================================================== */
.footer {
  background: #0B0E14; color: #94A3B8;
  padding: 80px 0 36px; border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-top {
  display: grid; grid-template-columns: 1.4fr 1.6fr;
  gap: clamp(32px, 5vw, 64px); padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-brand-box .brand { color: #FFFFFF; margin-bottom: 16px; }
.footer-brand-box .blurb {
  max-width: 44ch; font-size: 0.94rem; line-height: 1.6; color: #94A3B8; margin-bottom: 20px;
}
.trust-pill-list { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.trust-pill-list .pill-badge {
  background: rgba(255, 255, 255, 0.06); color: #CBD5E1;
  border-color: rgba(255, 255, 255, 0.12); font-size: 0.7rem;
}
.footer-contact a { color: var(--lime); font-weight: 600; text-decoration: none !important; }

.footer-links-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.footer h4 {
  color: #FFFFFF; font: 700 0.8rem var(--font-d);
  letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 18px;
}
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.footer a { color: #94A3B8; font-size: 0.92rem; text-decoration: none !important; transition: color 0.2s; }
.footer a:hover { color: #FFFFFF; }

.disclaimer-bar {
  padding: 24px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.8rem; color: #64748B; line-height: 1.6;
}
.disclaimer-bar strong { color: #94A3B8; }

.footer .bottom {
  display: flex; flex-wrap: wrap; gap: 14px 28px;
  justify-content: space-between; padding-top: 28px; font-size: 0.85rem;
}
.bottom-links a { color: #94A3B8; }
.bottom-links a:hover { color: #FFFFFF; }

@media (max-width: 900px) {
  .footer-top { grid-template-columns: 1fr; }
  .footer-links-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
}
@media (max-width: 540px) {
  .footer-links-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Animations & Transitions
   ========================================================================== */
.js .reveal { opacity: 0; transform: translateY(22px); }
.js .reveal.in {
  opacity: 1; transform: none;
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: calc(var(--i, 0) * 80ms);
}
.js .reveal-l { opacity: 0; transform: translateX(-24px); }
.js .reveal-l.in {
  opacity: 1; transform: none;
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.js .reveal-scale { opacity: 0; transform: scale(0.95); }
.js .reveal-scale.in {
  opacity: 1; transform: none;
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes marquee { to { transform: translateX(-50%); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .js .reveal, .js .reveal-l, .js .reveal-scale { opacity: 1; transform: none; }
}

/* ==========================================================================
   Product, Subpage & Dark Section Styles
   ========================================================================== */
.dark {
  --bg: #09281F; --fg: #FFFFFF; --mut: #CBD5E1; --ln: rgba(255,255,255,0.12); --card: #0F3B2E;
  background: var(--bg); color: var(--fg);
}
.dark h1, .dark h2, .dark h3 { color: #FFFFFF; }
.dark p a, .dark li a { color: var(--lime); }
.dark .lead { color: #CBD5E1; }
.dark .eyebrow { color: #A7F3D0; }
.dark .eyebrow::before { background: var(--lime); }

.eyebrow {
  font: 700 0.76rem/1 var(--font-d); letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--forest);
  margin: 0 0 16px; display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 20px; height: 2px; background: var(--forest); }

.hd { max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.hd h2 { margin-bottom: 14px; }

/* Product Page Styles */
.anchor-nav {
  display: flex; gap: 8px; flex-wrap: wrap;
  position: sticky; top: var(--nav-h); z-index: 20;
  background: rgba(250, 248, 245, 0.94); backdrop-filter: blur(12px);
  padding: 12px 0; border-bottom: 1px solid var(--line); margin-bottom: 24px;
}
.anchor-nav a {
  font-size: 0.85rem; font-weight: 600; padding: 6px 14px;
  border-radius: var(--r-pill); border: 1px solid var(--line);
  color: var(--muted); background: #FFFFFF; transition: all 0.2s;
  text-decoration: none !important;
}
.anchor-nav a:hover { color: var(--forest); border-color: var(--forest); }

.split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.split.rev {
  grid-template-columns: 0.85fr 1.15fr;
}
.split.rev > *:first-child { order: 2; }
.split.rev > *:last-child { order: 1; }

@media (max-width: 900px) {
  .split, .split.rev { grid-template-columns: 1fr; gap: 32px; }
  .split.rev > *:first-child { order: 1; }
  .split.rev > *:last-child { order: 2; }
}

.collage {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  grid-template-rows: repeat(2, 1fr);
  gap: 12px;
  max-width: 380px;
  width: 100%;
  margin-inline: auto;
}
.collage > div:first-child {
  grid-row: span 2;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--sh-card);
  border: 1px solid var(--line);
  aspect-ratio: 3 / 4;
  max-height: 320px;
}
.collage > div:first-child img {
  width: 100%;
  height: 100%;
  max-height: 320px;
  object-fit: cover;
}
.collage > div:not(:first-child) {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--sh-sm);
  border: 1px solid var(--line);
  aspect-ratio: 4 / 3;
  max-height: 154px;
}
.collage > div:not(:first-child) img {
  width: 100%;
  height: 100%;
  max-height: 154px;
  object-fit: cover;
}
@media (max-width: 600px) {
  .collage { max-width: 100%; }
}

.featured {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(24px, 4vw, 44px);
  align-items: center;
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  padding: clamp(20px, 3vw, 28px);
  margin-bottom: clamp(36px, 5vw, 52px);
  box-shadow: var(--sh-card);
  text-decoration: none !important;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.3s;
}
.featured:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-lg);
  border-color: rgba(15, 59, 46, 0.22);
}
.featured .img {
  border-radius: 16px;
  overflow: hidden;
  max-width: 380px;
  max-height: 230px;
  aspect-ratio: 16 / 10;
  width: 100%;
  border: 1px solid var(--line);
  margin-inline: auto;
}
.featured .img img {
  width: 100%;
  height: 100%;
  max-height: 230px;
  object-fit: cover;
  transition: transform 1s var(--ease);
}
.featured:hover .img img { transform: scale(1.04); }
.featured .body {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.featured h2 {
  font-size: clamp(1.3rem, 2.2vw, 1.75rem);
  margin: 0;
  line-height: 1.25;
}
.featured p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}
@media (max-width: 860px) {
  .featured {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .featured .img { max-width: 100%; max-height: 220px; }
}

.product-sec {
  padding: clamp(48px, 7vw, 92px) 0;
  border-top: 1px solid var(--line);
  scroll-margin-top: calc(var(--nav-h) + 60px);
}
.product-sec:first-of-type { border-top: 0; }

.checklist { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist svg { width: 20px; height: 20px; color: var(--emerald); flex: none; margin-top: 3px; }
.dark .checklist svg { color: var(--lime); }

.photo-frame {
  border-radius: 16px; overflow: hidden;
  max-width: 340px; max-height: 210px; aspect-ratio: 16 / 10;
  box-shadow: var(--sh-card); margin-inline: auto; width: 100%;
  border: 1px solid var(--line);
}
.photo-frame img { width: 100%; height: 100%; max-height: 210px; object-fit: cover; }

/* Mockup Components */
.mock {
  background: #0B0E14; color: #FFFFFF; border-radius: 24px;
  padding: 24px; font-size: 13.5px; box-shadow: var(--sh-lg);
  max-width: 440px; margin-inline: auto; position: relative;
}
.mock .row {
  display: flex; align-items: center; gap: 10px;
  background: #161D2A; border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px; padding: 10px 14px; margin-top: 8px;
}
.mock .row b { font-family: var(--font-d); }
.mock .row small { margin-left: auto; color: #94A3B8; }
.mock .pill {
  background: var(--lime); color: var(--forest-dark);
  border-radius: var(--r-pill); padding: 3px 10px; font-size: 11px; font-weight: 700;
}
.mock .hint {
  margin-top: 14px; background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.28); border-radius: 12px;
  padding: 10px 14px; color: #BBF7D0; font-size: 12.5px; line-height: 1.5;
}
.mock .big { font: 800 44px/1 var(--font-d); letter-spacing: -0.03em; }
.mock .search {
  display: flex; align-items: center; gap: 10px;
  background: #161D2A; border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px; padding: 10px 14px; color: #94A3B8;
}
.mock .search b { color: #FFFFFF; font-weight: 600; }
.mock .search b::after { content: "|"; animation: blink 1s steps(1) infinite; color: var(--lime); }
.mock .score { display: flex; align-items: center; gap: 18px; }
.mock .score .ring {
  width: 90px; height: 90px; border-radius: 50%;
  background: conic-gradient(var(--lime) 0 var(--p), rgba(255,255,255,0.1) var(--p) 100%);
  display: grid; place-items: center; flex: none;
}
.mock .score .ring span {
  width: 70px; height: 70px; border-radius: 50%;
  background: #0B0E14; display: grid; place-items: center; font: 800 22px var(--font-d);
}
.mock .bars { display: grid; gap: 8px; flex: 1; }
.mock .bars div { font-size: 11.5px; color: #94A3B8; }
.mock .bars i {
  display: block; height: 6px; border-radius: 6px;
  background: rgba(255,255,255,0.1); margin-top: 4px; overflow: hidden;
}
.mock .bars i::after { content: ""; display: block; height: 100%; width: var(--p); background: var(--lime); }
.mock .timer { text-align: center; padding: 10px 0 6px; }
.mock .timer .big { color: var(--lime); }
.mock .timer small { display: block; color: #94A3B8; margin-top: 6px; }
.mock .sets { display: flex; gap: 8px; justify-content: center; margin-top: 14px; }
.mock .sets span {
  width: 40px; height: 40px; border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.12); display: grid; place-items: center;
  font-weight: 700; color: #94A3B8;
}
.mock .sets span.on { background: var(--lime); color: var(--forest-dark); border-color: var(--lime); }
.mock .caption {
  position: absolute; left: 50%; transform: translateX(-50%);
  bottom: -16px; background: #FFFFFF; color: var(--text);
  font-size: 12px; font-weight: 700; padding: 6px 14px;
  border-radius: var(--r-pill); box-shadow: var(--sh-card); white-space: nowrap;
}

/* Feature Band for Gyms */
.band {
  position: relative; overflow: hidden; border-radius: 28px;
  padding: clamp(32px, 4vw, 56px); background: #0F3B2E;
  color: #FFFFFF; display: grid; grid-template-columns: 1.2fr 0.8fr;
  gap: 36px; align-items: center; box-shadow: var(--sh-lg);
}
.band h2 { color: #FFFFFF; }
.band p { color: #CBD5E1; }
.band .photo {
  border-radius: 16px; overflow: hidden;
  max-width: 320px; max-height: 200px; aspect-ratio: 16 / 10;
  margin-inline: auto; width: 100%; border: 1px solid rgba(255,255,255,0.15);
}
.band .photo img { width: 100%; height: 100%; max-height: 200px; object-fit: cover; }
.band ul { list-style: none; padding: 0; margin: 20px 0 28px; display: grid; gap: 12px; }
.band li { display: flex; gap: 12px; align-items: flex-start; color: #E2E8F0; }
.band li svg { width: 20px; height: 20px; color: var(--lime); flex: none; margin-top: 3px; }
@media (max-width: 900px) {
  .band { grid-template-columns: 1fr; }
  .band .photo { max-width: 320px; max-height: 200px; }
}

/* Forms & Inputs */
.form { display: grid; gap: 18px; }
.form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 600px) { .form .two { grid-template-columns: 1fr; } }
label { font: 700 0.88rem var(--font-d); display: block; margin-bottom: 6px; color: var(--text); }
input, select, textarea {
  width: 100%; font: inherit; color: var(--text);
  background: #FFFFFF; border: 1.5px solid var(--line);
  border-radius: 14px; padding: 13px 16px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
textarea { min-height: 140px; resize: vertical; }
input:focus, select:focus, textarea:focus {
  outline: 0; border-color: var(--forest);
  box-shadow: 0 0 0 4px rgba(15, 59, 46, 0.12);
}
.form-msg { display: none; padding: 14px 18px; border-radius: 12px; font-weight: 500; font-size: 0.95rem; }
.form-msg.ok { display: block; background: var(--mint-badge); color: var(--forest); }
.form-msg.err { display: block; background: #FEE2E2; color: #991B1B; }

/* Blog Elements */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.chip {
  border: 1px solid var(--line); background: #FFFFFF;
  border-radius: var(--r-pill); padding: 8px 18px;
  font-weight: 600; font-size: 0.92rem; color: var(--muted);
  cursor: pointer; transition: all 0.2s;
}
.chip:hover { border-color: var(--forest); color: var(--forest); }
.chip.on { background: var(--forest); color: #FFFFFF; border-color: var(--forest); }

.post-hero { padding: clamp(40px, 6vw, 72px) 0 0; }
.post-hero .crumbs { font-size: 0.88rem; color: var(--muted); margin-bottom: 20px; display: flex; gap: 8px; }
.post-hero h1 { max-width: 22ch; font-size: clamp(2rem, 4.2vw, 3.2rem); }
.byline {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 18px 0 28px;
  font-size: 0.9rem;
  color: var(--muted);
  flex-wrap: wrap;
}
.byline .who {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}
.byline .who b { color: var(--text); font-weight: 700; }
.byline .who span { font-size: 0.8rem; color: var(--muted); }
.byline .sep { color: var(--line-strong); }

.post-cover {
  border-radius: 18px; overflow: hidden;
  max-height: 240px; max-width: 680px; aspect-ratio: 21 / 9;
  box-shadow: var(--sh-card); margin-inline: auto; width: 100%;
  border: 1px solid var(--line);
}
.post-cover img { width: 100%; height: 100%; max-height: 240px; object-fit: cover; }

.author-card {
  display: flex;
  gap: 18px;
  align-items: center;
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 24px;
  margin: 36px 0 24px;
  box-shadow: var(--sh-sm);
}
.author-card b { font-family: var(--font-d); font-size: 1.1rem; color: var(--text); display: block; }
.author-card span { font-size: 0.85rem; color: var(--forest); font-weight: 600; display: block; margin-bottom: 4px; }
.author-card p { font-size: 0.92rem; color: var(--muted); margin: 0; line-height: 1.5; }

.prevnext {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.prevnext a {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #FFFFFF;
  transition: all 0.2s;
  text-decoration: none !important;
}
.prevnext a:hover {
  border-color: var(--forest);
  transform: translateY(-2px);
  box-shadow: var(--sh-sm);
}
.prevnext a small { font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 700; color: var(--forest); }
.prevnext a strong { font-size: 0.94rem; color: var(--text); line-height: 1.35; }
.prevnext a.next { text-align: right; margin-left: auto; width: 100%; }

.share {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.share button, .share a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  padding: 8px 16px;
  text-decoration: none !important;
  transition: all 0.2s;
  cursor: pointer;
}
.share button:hover, .share a:hover {
  color: var(--forest);
  border-color: var(--forest);
}
.share svg { width: 16px; height: 16px; }

.faq-block {
  margin: 36px 0;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.faq-block h2 { font-size: 1.4rem; margin-bottom: 18px; }

.post-layout {
  display: grid; grid-template-columns: 240px minmax(0, 720px);
  gap: 64px; justify-content: center; padding-top: 48px;
}
.toc { position: sticky; top: calc(var(--nav-h) + 24px); align-self: start; font-size: 0.9rem; }
.toc h4 { font: 700 0.78rem var(--font-d); letter-spacing: 0.1em; text-transform: uppercase; color: var(--forest); margin-bottom: 12px; }
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
.toc a { display: block; padding: 6px 0 6px 14px; color: var(--muted); margin-left: -2px; border-left: 2px solid transparent; }
.toc a:hover { color: var(--text); }
.toc a.on { color: var(--forest); border-left-color: var(--forest); font-weight: 700; }
@media (max-width: 1000px) { .post-layout { grid-template-columns: minmax(0, 720px); } .toc { display: none; } }

.prose { font-size: 1.1rem; line-height: 1.75; color: #2D3748; }
.prose h2 { font-size: 1.65rem; margin: 2em 0 0.6em; }
.prose h3 { font-size: 1.25rem; margin: 1.6em 0 0.5em; }
.prose blockquote {
  margin: 1.6em 0; padding: 18px 24px;
  border-left: 4px solid var(--forest); background: #FFFFFF;
  border-radius: 0 16px 16px 0; font-family: var(--font-serif);
  font-style: italic; font-size: 1.15rem; box-shadow: var(--sh-sm);
}
.takeaways {
  background: #0F3B2E; color: #FFFFFF; border-radius: 20px;
  padding: 24px 28px; margin-bottom: 36px;
}
.takeaways h4 { color: var(--lime); font: 700 0.8rem var(--font-d); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 12px; }
.takeaways ul { margin: 0; padding-left: 20px; display: grid; gap: 8px; }

/* About & Team */
.principles { counter-reset: p; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.principle {
  border: 1px solid var(--line); border-radius: var(--r); padding: 28px;
  background: #FFFFFF; counter-increment: p; box-shadow: var(--sh-sm);
}
.principle::before {
  content: "0" counter(p); font: 800 0.85rem var(--font-d);
  color: #FFFFFF; background: var(--forest); padding: 4px 12px;
  border-radius: var(--r-pill); display: inline-block; margin-bottom: 16px;
}
.principle h3 { font-size: 1.15rem; margin-bottom: 8px; }
.principle p { color: var(--muted); margin: 0; font-size: 0.95rem; }

.team { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.person {
  background: #FFFFFF; border: 1px solid var(--line); border-radius: var(--r);
  padding: 26px; display: flex; gap: 18px; align-items: flex-start; box-shadow: var(--sh-sm);
}
.person b { display: block; font-family: var(--font-d); font-size: 1.05rem; }
.person span { display: block; color: var(--forest); font-size: 0.88rem; font-weight: 600; margin-bottom: 8px; }
.person p { margin: 0; color: var(--muted); font-size: 0.92rem; }

/* 404 */
.nf { min-height: 60vh; display: grid; place-items: center; text-align: center; }
.nf b { font: 800 clamp(5rem, 15vw, 9rem)/1 var(--font-d); color: var(--forest); letter-spacing: -0.05em; display: block; }

