/* ============================================================
   BioFit — New Version design system
   ivory / bone (light) + forest (dark) + sage (accent)
   Replaces the sage-on-sage system on the live site.
   ============================================================ */

:root {
  --ivory: #f6f3ec;
  --bone: #eae4d6;
  --bone-line: #d8d0bd;
  --forest: #16231c;
  --forest-soft: #1e2e25;
  --forest-line: #2c4033;
  --sage: #7fa087;
  --sage-bright: #a3c2a8;
  --sage-deep: #3e5c46;
  --sage-deep-hover: #345140;
  --ink: #1b241d;
  --ink-muted: #4d5b50;
  --on-dark: #eef1ec;
  --on-dark-muted: #a9b8ae;
  --teal-light: #d9efec;
  --teal-ink: #1f6f66;
  --sage-text: var(--sage-deep);
  --surface: #ffffff;
  --surface-a: rgba(255, 255, 255, 0.69);
  --surface-a2: rgba(246, 243, 236, 0.94);
  --shadow-sm: 0 8px 24px -14px rgba(22, 35, 28, 0.3);
  --shadow-lg: 0 24px 60px -28px rgba(22, 35, 28, 0.4);
  --radius: 14px;
  --radius-sm: 8px;
  --max: 1180px;
}

:root[data-theme="dark"] {
  --ivory: #121613;
  --bone: #1a201b;
  --bone-line: #2c342d;
  --ink: #eef1ec;
  --ink-muted: #a9b8ae;
  --surface: #1d241f;
  --surface-a: rgba(29, 36, 31, 0.75);
  --surface-a2: rgba(26, 32, 27, 0.9);
  --sage-text: var(--sage-bright);
  --shadow-sm: 0 8px 24px -14px rgba(0, 0, 0, 0.55);
  --shadow-lg: 0 24px 60px -28px rgba(0, 0, 0, 0.65);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ivory: #121613;
    --bone: #1a201b;
    --bone-line: #2c342d;
    --ink: #eef1ec;
    --ink-muted: #a9b8ae;
    --surface: #1d241f;
    --surface-a: rgba(29, 36, 31, 0.75);
    --surface-a2: rgba(26, 32, 27, 0.9);
    --sage-text: var(--sage-bright);
    --shadow-sm: 0 8px 24px -14px rgba(0, 0, 0, 0.55);
    --shadow-lg: 0 24px 60px -28px rgba(0, 0, 0, 0.65);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { font: inherit; }

.serif { font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-variant-numeric: tabular-nums; }

h1, h2, h3, h4 { text-wrap: balance; margin: 0; }
p { text-wrap: pretty; margin: 0; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--sage-text);
}
.eyebrow.on-dark { color: var(--sage-bright); }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 clamp(20px, 4vw, 56px); }

.section { padding: clamp(56px, 8vw, 104px) 0; }
.section.tight { padding: clamp(40px, 5vw, 64px) 0; }
.section.dark { background: var(--forest); color: var(--on-dark); }
.section.bone { background: var(--bone); }
.section.bordered { border-bottom: 1px solid var(--bone-line); }
.section.dark.bordered { border-bottom: 1px solid var(--forest-line); }

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 24px;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, border-color 160ms ease, color 160ms ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible { outline: 2px solid var(--sage); outline-offset: 2px; }
.btn-primary {
  background: var(--sage-deep);
  color: #f4f7f2;
  box-shadow: 0 10px 24px -12px rgba(62, 92, 70, 0.7);
}
.btn-primary:hover { background: var(--sage-deep-hover); box-shadow: 0 14px 28px -12px rgba(62, 92, 70, 0.85); }
.btn-secondary {
  background: transparent;
  color: var(--sage-text);
  border-color: var(--sage-text);
}
.btn-secondary:hover { background: var(--sage-deep); color: #f4f7f2; }
.btn-ghost {
  background: transparent;
  color: var(--on-dark);
  border-color: #f4f7f255;
}
.btn-ghost:hover { border-color: #f4f7f2; background: #f4f7f214; }
.btn-sm { padding: 9px 16px; font-size: 0.82rem; }
.btn-block { width: 100%; justify-content: center; }

/* ---------------- Top banner + Nav ---------------- */
.top-banner {
  background: var(--forest);
  color: var(--on-dark);
  font-size: 0.82rem;
  padding: 10px 0;
}
.top-banner .wrap { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; text-align: center; }
.top-banner a { color: var(--sage-bright); font-weight: 600; }

nav.site-nav {
  background: var(--ivory);
  border-bottom: 1px solid var(--bone-line);
  position: sticky; top: 0; z-index: 50;
}
.nav-bar { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { font-weight: 700; font-size: 1.05rem; letter-spacing: -0.01em; display: flex; align-items: center; gap: 6px; }
.nav-links { display: none; gap: 30px; align-items: center; }
.nav-links a { font-size: 0.92rem; font-weight: 500; color: var(--ink-muted); padding: 6px 0; border-bottom: 2px solid transparent; transition: color 140ms ease, border-color 140ms ease; }
.nav-links a:hover, .nav-links a.active { color: var(--ink); border-color: var(--sage); }
.nav-cta { display: none; }
.nav-toggle { display: inline-flex; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle svg { width: 24px; height: 24px; }

.theme-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 999px;
  border: 1px solid var(--bone-line); background: transparent; color: var(--ink);
  cursor: pointer; flex-shrink: 0; transition: border-color 140ms ease, background 140ms ease;
}
.theme-toggle:hover { border-color: var(--sage); }
.theme-toggle svg { width: 17px; height: 17px; }
.theme-toggle .icon-moon { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-moon { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .icon-sun { display: none; }
  :root:not([data-theme="light"]) .theme-toggle .icon-moon { display: block; }
}
.mobile-menu .theme-toggle { align-self: flex-start; margin-top: 8px; }
.mobile-menu { display: none; flex-direction: column; gap: 4px; padding: 8px 0 20px; border-top: 1px solid var(--bone-line); }
.mobile-menu.open { display: flex; }
.mobile-menu a { padding: 12px 4px; font-size: 0.98rem; font-weight: 500; border-bottom: 1px solid var(--bone-line); }
.mobile-menu .btn { margin-top: 12px; }

@media (min-width: 1024px) {
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; }
  .nav-toggle { display: none; }
}

/* ---------------- Hero ---------------- */
.hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
}
.hero img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(22,35,28,0.35) 0%, rgba(15,22,17,0.72) 62%, rgba(12,18,14,0.94) 100%);
}
.hero-content { padding: clamp(40px, 6vw, 76px) 0 clamp(48px, 6vw, 72px); color: var(--on-dark); }
.hero-content h1 { font-size: clamp(2.4rem, 5.2vw, 4.2rem); line-height: 1.04; font-weight: 500; margin-top: 16px; max-width: 16ch; }
.hero-content .lede { max-width: 52ch; color: #d7ded8cc; font-size: 1.05rem; margin-top: 18px; }
.hero-actions { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }

.page-header {
  position: relative;
  min-height: 46vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
}
.page-header img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.page-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(22,35,28,0.3) 0%, rgba(15,22,17,0.78) 100%);
}
.page-header-content { padding: clamp(48px, 7vw, 72px) 0 clamp(36px, 5vw, 52px); color: var(--on-dark); }
.page-header-content h1 { font-size: clamp(2rem, 3.6vw, 3.1rem); font-weight: 500; margin-top: 14px; max-width: 22ch; }
.page-header-content p { max-width: 56ch; color: #d7ded8cc; margin-top: 14px; font-size: 1rem; }

/* ---------------- Split hero (Method page): half banner image, half biometric ---------------- */
.split-hero { display: grid; grid-template-columns: 1fr 1fr; min-height: 62vh; }
.split-hero .sh-image { position: relative; overflow: hidden; }
.split-hero .sh-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.split-hero .sh-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(22,35,28,0) 60%, rgba(22,35,28,0.5) 100%); }
.split-hero .sh-panel {
  background: var(--forest); color: var(--on-dark);
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  padding: clamp(32px, 5vw, 56px); text-align: center; position: relative;
}
.split-hero .sh-copy { max-width: 380px; margin-bottom: 12px; }
.split-hero .sh-copy h1 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); font-weight: 500; margin-top: 10px; }
.split-hero .sh-copy p { color: var(--on-dark-muted); margin-top: 12px; font-size: 0.96rem; }
@media (max-width: 860px) {
  .split-hero { grid-template-columns: 1fr; min-height: auto; }
  .split-hero .sh-image { min-height: 260px; }
}

.bio-signature { position: relative; width: 100%; max-width: 420px; aspect-ratio: 1/1; margin: 0 auto; animation: bio-drift 11s var(--ease-soft, cubic-bezier(0.33,1,0.68,1)) infinite; }
.bs-aura {
  position: absolute; inset: 18%; border-radius: 9999px; filter: blur(60px); pointer-events: none;
  background: radial-gradient(circle at center, rgba(127,160,135,0.25), rgba(127,160,135,0) 70%);
}
.bs-svg { position: relative; width: 100%; height: 100%; }
.bs-orbit { animation: bio-orbit 48s linear infinite; transform-box: fill-box; transform-origin: center; }
.bs-pulse { animation: bs-pulse 2.6s cubic-bezier(0.33,1,0.68,1) infinite; }
.bs-scan { animation: bs-scan 5s ease-in-out infinite; }
@keyframes bio-drift { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-8px) rotate(0.8deg); } }
@keyframes bio-orbit { to { transform: rotate(360deg); } }
@keyframes bs-pulse { 0% { r: 5px; opacity: 0.55; } 70% { opacity: 0; } 100% { r: 20px; opacity: 0; } }
@keyframes bs-scan { 0% { transform: translateY(0); opacity: 0; } 10% { opacity: 1; } 88% { opacity: 1; } 100% { transform: translateY(446px); opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .bio-signature, .bs-orbit, .bs-pulse, .bs-scan { animation: none; }
}

/* ---------------- Condition thumbnail row ---------------- */
.condition-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(220px, 1fr);
  gap: 16px;
  overflow-x: auto;
  padding: 4px 4px 12px;
  scroll-snap-type: x proximity;
}
.condition-row::-webkit-scrollbar { height: 6px; }
.condition-row::-webkit-scrollbar-thumb { background: var(--bone-line); border-radius: 4px; }
.cond-card {
  scroll-snap-align: start;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 260px;
  display: flex; align-items: flex-end;
  box-shadow: var(--shadow-sm);
  isolation: isolate;
}
.cond-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 400ms ease; }
.cond-card:hover img { transform: scale(1.05); }
.cond-card::before { content:""; position:absolute; inset:0; background: linear-gradient(180deg, rgba(22,35,28,0) 35%, rgba(15,22,17,0.9) 100%); z-index:-1; }
.cond-card .cc-body { padding: 18px 16px; color: var(--on-dark); }
.cond-card h3 { font-size: 1.05rem; font-weight: 600; }
.cond-card p { font-size: 0.82rem; color: var(--on-dark-muted); margin-top: 6px; }

/* Elevated condition grid (used on Home + could reuse elsewhere) */
.condition-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 18px;
}

/* ---------------- Cards / grids ---------------- */
.card {
  background: var(--surface-a);
  border: 1px solid var(--bone-line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }

/* ---------------- Two-col image/copy block (Science, Method, Programs) ---------------- */
.split-block {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.split-block.reverse { grid-template-columns: 1fr 1.05fr; }
.split-block.reverse .split-copy { order: 2; }
.split-copy {
  background: var(--forest);
  color: var(--on-dark);
  padding: clamp(32px, 4vw, 52px);
  display: flex; flex-direction: column; justify-content: center;
}
.split-copy h2, .split-copy h3 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); font-weight: 500; line-height: 1.15; margin-top: 12px; }
.split-copy p { color: var(--on-dark-muted); margin-top: 14px; font-size: 0.98rem; line-height: 1.65; }
.split-visual { position: relative; min-height: 380px; }
.split-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.feature-list { margin-top: 24px; display: flex; flex-direction: column; gap: 16px; }
.feature-row { display: flex; gap: 14px; align-items: flex-start; border-top: 1px solid var(--forest-line); padding-top: 16px; }
.feature-row:first-child { border-top: none; padding-top: 0; }
.feature-num { font-size: 0.75rem; color: var(--sage); flex-shrink: 0; padding-top: 3px; }
.feature-row h4 { font-size: 0.98rem; font-weight: 600; margin: 0; }
.feature-row p { margin: 4px 0 0; font-size: 0.86rem; color: var(--on-dark-muted); }

.stat-overlay {
  position: absolute; left: 20px; right: 20px; bottom: 20px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
}
.stat-chip {
  background: var(--surface-a2); backdrop-filter: blur(6px);
  border-radius: 10px; padding: 14px 12px;
}
.stat-chip .num { font-size: 1.4rem; font-weight: 700; color: var(--ink); line-height: 1; }
.stat-chip .lbl { font-size: 0.66rem; color: var(--ink-muted); margin-top: 6px; }

/* ---------------- Biomarker readout chips (hero) ---------------- */
.biomarker-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.biomarker-chips span {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-variant-numeric: tabular-nums;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.02em;
  color: var(--on-dark); background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18); border-radius: 999px; padding: 6px 12px;
}
.biomarker-chips span b { color: var(--sage-bright); font-weight: 700; margin-right: 4px; }

/* ---------------- Biomarker category tags ---------------- */
.tag-cloud { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.tag-cloud span { font-size: 0.78rem; font-weight: 600; padding: 8px 14px; border-radius: 999px; background: var(--forest-soft); color: var(--on-dark-muted); border: 1px solid var(--forest-line); }
.tag-cloud .total { color: var(--sage-bright); border-color: var(--sage); }

/* ---------------- Outcome stats (3-up) ---------------- */
.outcome-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.outcome-strip .outcome { text-align: center; padding: 28px 16px; background: var(--surface); border: 1px solid var(--bone-line); border-radius: var(--radius); }
.outcome-strip .num { font-size: 2.4rem; font-weight: 700; color: var(--sage-text); font-family: ui-monospace, monospace; line-height: 1; }
.outcome-strip .lbl { margin-top: 10px; font-size: 0.88rem; color: var(--ink-muted); }

@media (max-width: 640px) {
  .outcome-strip { grid-template-columns: 1fr; }
}

/* ---------------- Divider banner ---------------- */
.divider-banner {
  position: relative;
  min-height: 300px;
  display: flex; align-items: center; justify-content: center; text-align: center;
  overflow: hidden;
}
.divider-banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.divider-banner::before { content:""; position:absolute; inset:0; z-index:-1; background: linear-gradient(180deg, rgba(22,35,28,0.55), rgba(22,35,28,0.78)); }
.divider-banner blockquote { margin: 0; max-width: 640px; padding: 0 24px; color: var(--on-dark); font-size: clamp(1.25rem, 2.4vw, 1.8rem); line-height: 1.35; font-weight: 500; font-style: normal; }
.divider-banner cite { display: block; margin-top: 14px; font-style: normal; font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--sage-bright); }

/* ---------------- Steps ---------------- */
.step-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.step-card { border-top: 3px solid var(--sage); padding-top: 16px; }
.step-card .step-num { font-size: 0.78rem; color: var(--sage-text); font-weight: 700; }
.step-card h4 { font-size: 1.05rem; font-weight: 600; margin-top: 8px; }
.step-card p { font-size: 0.9rem; color: var(--ink-muted); margin-top: 8px; line-height: 1.55; }

/* ---------------- Program / pricing cards ---------------- */
.program-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
.program-card {
  background: var(--surface); border: 1px solid var(--bone-line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-sm); position: relative; display: flex; flex-direction: column;
}
.program-card.featured { border-color: var(--sage-text); box-shadow: var(--shadow-lg); }
.program-card .badge {
  position: absolute; top: -12px; right: 20px;
  background: var(--sage-deep); color: #fff; font-size: 0.68rem; font-weight: 700;
  padding: 5px 12px; border-radius: 999px; letter-spacing: 0.04em; text-transform: uppercase;
}
.program-card .duration { font-size: 0.72rem; color: var(--sage-text); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.program-card h3 { font-size: 1.5rem; margin-top: 8px; }
.program-card .subtitle { color: var(--ink-muted); font-size: 0.88rem; margin-top: 4px; }
.program-card .desc { font-size: 0.92rem; margin-top: 14px; color: var(--ink); line-height: 1.5; }
.program-card ul { margin-top: 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.program-card li { font-size: 0.86rem; color: var(--ink-muted); padding-left: 20px; position: relative; line-height: 1.4; }
.program-card li::before { content: "✓"; position: absolute; left: 0; color: var(--sage-text); font-weight: 700; }
.program-card .btn { margin-top: 22px; }

/* ---------------- Comparison table ---------------- */
.compare-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--bone-line); }
table.compare { width: 100%; border-collapse: collapse; min-width: 640px; background: var(--surface); }
table.compare th, table.compare td { text-align: left; padding: 14px 18px; font-size: 0.86rem; border-bottom: 1px solid var(--bone-line); }
table.compare thead th { background: var(--forest); color: var(--on-dark); font-weight: 600; }
table.compare tbody tr.group-row td { background: var(--bone); font-weight: 700; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--sage-text); }
table.compare td.yes { color: var(--sage-text); font-weight: 700; }
table.compare td.no { color: var(--ink-muted); opacity: 0.5; }

/* ---------------- Treatment chips ---------------- */
.chip-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px,1fr)); gap: 14px; }
.chip { background: var(--surface); border: 1px solid var(--bone-line); border-radius: var(--radius-sm); padding: 16px; }
.chip h4 { font-size: 0.94rem; font-weight: 600; }
.chip p { font-size: 0.82rem; color: var(--ink-muted); margin-top: 6px; line-height: 1.45; }

/* ---------------- FAQ ---------------- */
.faq-item { border-bottom: 1px solid var(--bone-line); }
.faq-q { width: 100%; text-align: left; background: none; border: none; padding: 20px 0; display: flex; justify-content: space-between; align-items: center; cursor: pointer; font-size: 1rem; font-weight: 600; color: var(--ink); }
.faq-q .icon { flex-shrink: 0; transition: transform 200ms ease; color: var(--sage-text); }
.faq-item.open .faq-q .icon { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 240ms ease; }
.faq-item.open .faq-a { max-height: 400px; }
.faq-a p { padding-bottom: 20px; color: var(--ink-muted); font-size: 0.92rem; line-height: 1.6; max-width: 68ch; }

/* ---------------- Stat strip ---------------- */
.stat-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--forest-line); border-radius: var(--radius); overflow: hidden; }
.stat-strip .stat { background: var(--forest); padding: 22px 18px; text-align: center; }
.stat-strip .stat .num { font-size: 1.6rem; font-weight: 700; color: var(--on-dark); }
.stat-strip .stat .lbl { font-size: 0.68rem; color: var(--on-dark-muted); margin-top: 6px; text-transform: uppercase; letter-spacing: 0.04em; }

/* ---------------- Article cards ---------------- */
.article-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; }
.article-card { border-radius: var(--radius); overflow: hidden; background: var(--surface); border: 1px solid var(--bone-line); box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: transform 200ms ease, box-shadow 200ms ease; }
.article-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.article-card .thumb { aspect-ratio: 16/10; overflow: hidden; }
.article-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.article-card .ac-body { padding: 18px 18px 22px; flex: 1; display: flex; flex-direction: column; }
.article-card .date { font-size: 0.72rem; color: var(--sage-text); font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; }
.article-card h3 { font-size: 1.05rem; margin-top: 8px; font-weight: 600; }
.article-card p { font-size: 0.86rem; color: var(--ink-muted); margin-top: 8px; }
.article-card .read-more { margin-top: auto; padding-top: 14px; font-size: 0.82rem; font-weight: 600; color: var(--sage-text); }

.article-hero { position: relative; aspect-ratio: 21/9; border-radius: var(--radius); overflow: hidden; margin-bottom: 28px; }
.article-hero img { width: 100%; height: 100%; object-fit: cover; }
.article-body { max-width: 72ch; }
.article-body h2 { font-size: 1.4rem; font-weight: 600; margin-top: 36px; margin-bottom: 12px; }
.article-body p { margin-top: 14px; line-height: 1.7; color: var(--ink); font-size: 1rem; }
.article-body .point { margin-top: 14px; padding-left: 18px; border-left: 2px solid var(--sage); }
.article-body .point .plabel { font-weight: 700; font-size: 0.88rem; color: var(--sage-text); }
.article-body .point p { margin-top: 4px; }
.article-sources { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--bone-line); font-size: 0.82rem; color: var(--ink-muted); }
.article-sources li { margin-top: 8px; }

/* ---------------- Shop / products ---------------- */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 22px; }
.product-card { background: var(--surface); border: 1px solid var(--bone-line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: transform 200ms ease, box-shadow 200ms ease; }
.product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.product-card .pc-image { position: relative; aspect-ratio: 1/1; background: var(--bone); overflow: hidden; }
.product-card .pc-image img { width: 100%; height: 100%; object-fit: cover; }
.product-card .pc-badge {
  position: absolute; top: 12px; left: 12px;
  background: var(--surface-a2); backdrop-filter: blur(4px);
  font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.05em; font-weight: 700;
  color: var(--ink); padding: 6px 12px; border-radius: 999px;
}
.product-card .pc-body { padding: 16px 18px 20px; flex: 1; display: flex; flex-direction: column; }
.product-card h3 { font-size: 1rem; margin-top: 0; font-weight: 600; }
.product-card .tagline { font-size: 0.82rem; color: var(--ink-muted); margin-top: 4px; }
.product-card .tag-row { margin-top: 10px; }
.product-card .tag-row span { font-size: 0.68rem; padding: 4px 9px; }
.product-card .price { margin-top: auto; padding-top: 14px; font-size: 1.05rem; font-weight: 700; color: var(--ink); font-family: ui-monospace, monospace; }
.product-card .price span { font-size: 0.7rem; color: var(--ink-muted); font-weight: 500; margin-left: 4px; }

.pill-filter { display: flex; flex-wrap: wrap; gap: 8px; }
.pill-filter a { font-size: 0.8rem; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--bone-line); color: var(--ink-muted); font-weight: 600; }
.pill-filter a.active, .pill-filter a:hover { border-color: var(--sage-text); color: var(--sage-text); }

.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }
.product-detail .pd-image { border-radius: var(--radius); overflow: hidden; background: var(--bone); }
.product-detail h1 { font-size: 2rem; font-weight: 500; margin-top: 10px; }
.product-detail .price-lg { font-size: 1.6rem; font-weight: 700; margin-top: 12px; font-family: ui-monospace, monospace; color: var(--ink); }
.product-detail .desc { margin-top: 18px; color: var(--ink-muted); line-height: 1.6; }
.product-detail h4 { margin-top: 26px; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--sage-text); }
.product-detail ul.simple { margin-top: 10px; display: flex; flex-direction: column; gap: 8px; }
.product-detail ul.simple li { font-size: 0.9rem; padding-left: 18px; position: relative; }
.product-detail ul.simple li::before { content:"—"; position:absolute; left:0; color: var(--sage); }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.tag-row span { font-size: 0.76rem; font-weight: 600; background: var(--teal-light); padding: 5px 10px; border-radius: 999px; color: var(--teal-ink); }

.disclaimer-note {
  background: var(--bone); border: 1px solid var(--bone-line); border-radius: var(--radius-sm);
  padding: 14px 16px; font-size: 0.8rem; color: var(--ink-muted); margin-top: 28px; line-height: 1.5;
}

/* ---------------- Footer ---------------- */
footer.site-footer { background: var(--forest); color: var(--on-dark-muted); padding-top: clamp(48px,6vw,72px); }
.footer-newsletter { border-bottom: 1px solid var(--forest-line); padding-bottom: 40px; margin-bottom: 40px; display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: center; }
.footer-newsletter h3 { color: var(--on-dark); font-size: 1.3rem; font-weight: 500; max-width: 26ch; }
.footer-newsletter p { margin-top: 8px; max-width: 40ch; font-size: 0.88rem; }
.newsletter-form { display: flex; gap: 10px; flex-wrap: wrap; }
.newsletter-form input { padding: 12px 16px; border-radius: var(--radius-sm); border: 1px solid var(--forest-line); background: var(--forest-soft); color: var(--on-dark); font-size: 0.9rem; min-width: 240px; }
.newsletter-form input::placeholder { color: var(--on-dark-muted); }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 32px; padding-bottom: 44px; }
.footer-grid h4 { color: var(--on-dark); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 14px; }
.footer-grid a, .footer-grid p { font-size: 0.88rem; display: block; margin-bottom: 9px; }
.footer-grid a:hover { color: var(--on-dark); }
.footer-bottom { border-top: 1px solid var(--forest-line); padding: 20px 0 28px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 0.78rem; }

/* ---------------- WhatsApp persistent widget ---------------- */
.wa-widget {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  width: 56px; height: 56px; border-radius: 50%;
  background: #2f8f5b; color: #fff; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 24px -8px rgba(0,0,0,0.4);
  transition: transform 160ms ease;
}
.wa-widget:hover { transform: scale(1.06); }

/* ---------------- Utility ---------------- */
.center { text-align: center; }
.mt-sm { margin-top: 12px; } .mt-md { margin-top: 24px; } .mt-lg { margin-top: 44px; }
.section-head { max-width: 620px; margin-bottom: 40px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 500; margin-top: 12px; }
.section-head p { color: var(--ink-muted); margin-top: 12px; font-size: 1rem; }
.section-head.on-dark h2 { color: var(--on-dark); }
.section-head.on-dark p { color: var(--on-dark-muted); }
.breadcrumb { font-size: 0.8rem; color: var(--on-dark-muted); margin-top: 2px; }
.breadcrumb a { color: var(--sage-bright); }

@media (max-width: 860px) {
  .split-block, .split-block.reverse { grid-template-columns: 1fr; }
  .split-block.reverse .split-copy { order: 0; }
  .split-visual { min-height: 260px; }
  .stat-overlay { position: static; grid-template-columns: repeat(3,1fr); margin-top: 0; background: var(--forest); padding: 16px; }
  .product-detail { grid-template-columns: 1fr; }
  .stat-strip { grid-template-columns: repeat(2, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .cond-card img, .article-card, .product-card { transition: none; }
}
