@import url('https://fonts.googleapis.com/css2?family=Inter+Tight:wght@400;500;600&family=IBM+Plex+Mono:wght@400;500;600&display=swap');

:root {
  --bg: #141210;
  --bg-deep: #0b0a09;
  --bg-card: #211d19;
  --text: #e8e2d6;
  --text-muted: #b5ad9f;
  --text-subtle: #8e8577;
  --line: #3a342c;
  --accent-light: #f4f1ea;
  --font-display: 'Inter Tight', 'Helvetica Neue', Arial, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, Menlo, monospace;
  --c-metabolic: #2a9495;
  --c-regenerative: #7ea05f;
  --c-longevity: #675a9b;
  --c-gh: #ae413b;
  --c-lipolytic: #d89153;
  --c-cognitive: #2f7db3;
  --c-wellness: #b54f7a;
  --c-essentials: #b6b0a8;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font-display); -webkit-font-smoothing: antialiased; }
a { color: var(--text); text-decoration: none; transition: color .15s; }
a:hover { color: #fff; }
img { display: block; max-width: 100%; }
button { font-family: inherit; }

.wrap { max-width: 1280px; margin: 0 auto; padding: 0 48px; }
@media (max-width: 720px) { .wrap { padding: 0 20px; } }

.mono { font-family: var(--font-mono); }
.label { font-family: var(--font-mono); font-size: 12px; font-weight: 600; letter-spacing: .66px; text-transform: uppercase; }
.caption { font-family: var(--font-mono); font-size: 11px; letter-spacing: .66px; text-transform: uppercase; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 16px; padding-bottom: 16px; }
.logo { display: flex; align-items: center; gap: 18px; flex-shrink: 0; }
.nav-main { display: flex; align-items: center; gap: 24px; font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: .66px; text-transform: uppercase; }
.nav-main a.muted { color: var(--text-muted); }
.nav-main a.active { border-bottom: 1px solid var(--text); }
.btn-nav { background: var(--text); color: var(--bg) !important; padding: 10px 22px; font-weight: 600; font-size: 11px; letter-spacing: .66px; text-transform: uppercase; transition: opacity .15s; flex-shrink: 0; }
.btn-nav:hover { opacity: .85; color: var(--bg) !important; }
@media (max-width: 1100px) { .nav-main { gap: 16px; font-size: 10px; } .btn-nav { padding: 8px 16px; font-size: 10px; } }
@media (max-width: 860px) { .site-header .wrap { flex-wrap: wrap; } .nav-main { gap: 14px; } }

/* Hero */
.hero { position: relative; background: var(--bg-deep); overflow: hidden; display: flex; align-items: center; }
.hero .wrap { width: 100%; padding-top: 80px; padding-bottom: 80px; display: flex; flex-direction: column; gap: 28px; }
.hero h1 { margin: 0; font-size: 88px; font-weight: 500; line-height: .95; letter-spacing: -2px; text-transform: uppercase; max-width: 900px; }
@media (max-width: 720px) { .hero .wrap { padding-top: 48px; padding-bottom: 48px; } .hero h1 { font-size: 48px; } }

/* Sections */
.section { padding-top: 104px; padding-bottom: 104px; }
.section-heading { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; border-bottom: 1px solid var(--line); padding-bottom: 24px; }
.section-heading h2 { margin: 0; font-size: 32px; font-weight: 400; letter-spacing: -.5px; text-transform: uppercase; }
.section-heading .note { font-family: var(--font-mono); font-size: 12px; letter-spacing: .66px; text-transform: uppercase; color: var(--text-subtle); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 16px 28px; font-size: 15px; font-weight: 600; border: 0; cursor: pointer; font-family: var(--font-display); }
.btn-primary { background: var(--text); color: var(--bg); }
.btn-outline { background: transparent; border: 1px solid rgba(232,226,214,.4); color: var(--text); font-weight: 500; }
.btn-dark { background: var(--bg); color: var(--text); }

/* Cards grid */
.cards { display: flex; flex-wrap: wrap; gap: 24px; }
.card { flex: 1 1 340px; display: flex; flex-direction: column; }

/* Pillar card */
.pillar-img { aspect-ratio: 4/5; background: var(--bg-card); display: flex; align-items: flex-end; padding: 20px; }
.pillar-links { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.pillar-links a { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); min-height: 44px; font-size: 15px; }
.line-dot { width: 4px; height: 20px; }

/* Proof (light) */
.proof { background: var(--text); color: var(--bg); }
.proof .wrap { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.proof h2 { margin: 0; font-size: 56px; font-weight: 500; line-height: 1; letter-spacing: -1px; text-transform: uppercase; }
@media (max-width: 720px) { .proof h2 { font-size: 36px; } }

/* Lot card */
.lot-card { background: var(--accent-light); border: 1px solid rgba(20,18,16,.16); max-width: 460px; }
.lot-card-bar { height: 8px; }
.lot-card-body { padding: 28px; display: flex; flex-direction: column; gap: 18px; }
.lot-row { display: flex; justify-content: space-between; padding: 10px 0; border-top: 1px solid rgba(20,18,16,.16); font-family: var(--font-mono); font-size: 13px; }
.lot-row .dim { color: var(--line); }

/* Input */
.input { min-height: 52px; border: 1px solid var(--bg); background: var(--accent-light); padding: 0 16px; font-family: var(--font-mono); font-size: 15px; color: var(--bg); border-radius: 0; }
.input-dark { border-color: var(--line); background: var(--bg); color: var(--text); }

/* Color legend */
.color-legend { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px 24px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .66px; text-transform: uppercase; }
@media (max-width: 720px) { .color-legend { grid-template-columns: repeat(2, minmax(0,1fr)); } }
.color-legend span { display: flex; align-items: center; gap: 10px; }
.color-swatch { width: 24px; height: 4px; }

/* Steps */
.steps { display: flex; flex-wrap: wrap; gap: 48px; }
.step { flex: 1 1 260px; display: flex; flex-direction: column; gap: 12px; }

/* Clinics */
.clinics { background: var(--bg-card); border-top: 1px solid var(--line); }
.clinics .wrap { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-end; justify-content: space-between; }
.clinics h2 { margin: 0; font-size: 56px; font-weight: 500; line-height: 1; letter-spacing: -1px; text-transform: uppercase; }
@media (max-width: 720px) { .clinics h2 { font-size: 36px; } }

/* Footer */
.site-footer { background: var(--bg-deep); border-top: 1px solid var(--line); }
.site-footer .wrap { padding-top: 56px; padding-bottom: 56px; display: flex; flex-direction: column; gap: 28px; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; align-items: center; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 24px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .66px; text-transform: uppercase; }
.footer-nav a { color: var(--text-muted); }
.footer-legal { display: flex; flex-direction: column; gap: 8px; font-size: 13px; line-height: 1.4; color: var(--text-subtle); max-width: 900px; }

/* Equipment cards (light bg) */
.equip-card { background: var(--accent-light); border: 1px solid rgba(20,18,16,.16); display: flex; flex-direction: column; }
.equip-img { aspect-ratio: 16/9; background: #d9d3c6; }
.equip-body { padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.equip-row { display: flex; justify-content: space-between; padding: 9px 0; border-top: 1px solid rgba(20,18,16,.16); font-family: var(--font-mono); font-size: 13px; }

/* Product page */
.product-gallery { display: flex; flex-direction: column; gap: 12px; }
.product-thumbs { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
.purity-card { background: var(--text); color: var(--bg); padding: 22px 24px; display: flex; flex-direction: column; font-family: var(--font-mono); font-size: 13px; }
.purity-row { display: flex; justify-content: space-between; padding: 10px 0; border-top: 1px solid rgba(20,18,16,.16); }

/* Format selector */
.format-btn { display: flex; justify-content: space-between; align-items: center; gap: 16px; width: 100%; min-height: 72px; padding: 16px 20px; background: var(--bg-card); color: var(--text); border: 1px solid var(--line); border-radius: 0; cursor: pointer; font-family: inherit; text-align: left; }
.format-btn.active { border: 2px solid var(--c-regenerative); }

/* Price breakdown (light) */
.price-section { background: var(--text); color: var(--bg); }
.price-table { display: flex; flex-direction: column; font-family: var(--font-mono); font-size: 14px; }
.price-row { display: flex; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid rgba(20,18,16,.16); }

/* Breadcrumb */
.breadcrumb { font-family: var(--font-mono); font-size: 11px; letter-spacing: .66px; text-transform: uppercase; color: var(--text-subtle); padding-top: 20px; }
.breadcrumb a { color: var(--text-subtle); }

/* Product detail layout */
.product-layout { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; }
.product-left { flex: 1 1 560px; min-width: 0; }
.product-right { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }

/* Ritual cards */
.ritual-card { display: flex; flex-direction: column; gap: 16px; flex: 1 1 320px; }
.ritual-img { aspect-ratio: 4/3; background: var(--bg-card); }

/* Cross-sell */
.cross-sell { display: flex; flex-wrap: wrap; gap: 24px; }
.cross-main { flex: 2 1 520px; background: var(--bg-card); border-top: 3px solid var(--c-regenerative); padding: 32px; display: flex; flex-direction: column; gap: 14px; }
.cross-side { flex: 1 1 300px; background: var(--bg-card); border-top: 3px solid var(--c-essentials); padding: 32px; display: flex; flex-direction: column; gap: 14px; }

/* Active product cards */
.active-card { flex: 1 1 340px; display: flex; flex-direction: column; background: var(--bg-card); border: 1px solid var(--line); }
.active-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.active-card-body { padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.active-card-footer { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 13px; padding-top: 10px; border-top: 1px solid var(--line); }
