/* ==================== SodaPeak landing page ==================== */
/* Self-hosted variable fonts (latin subset) - avoids render-blocking Google Fonts request */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 800; font-display: swap; src: url(fonts/inter-latin.woff2) format('woff2'); }
@font-face { font-family: 'Playfair Display'; font-style: normal; font-weight: 700 800; font-display: swap; src: url(fonts/playfair-latin.woff2) format('woff2'); }
:root {
  --ink: #141012;
  --ink-2: #1e171a;
  --ink-3: #2a2024;
  --cream: #faf6ef;
  --paper: #ffffff;
  --maroon: #6b1f2a;
  --maroon-2: #8a2a37;
  --gold: #c9a84c;
  --gold-2: #e6c66a;
  --amber: #f59e0b;
  --orange: #f97316;
  --green: #15803d;
  --text: #2b2427;
  --muted: #6b6266;
  --on-dark: #f4efe8;
  --on-dark-muted: #bdb3ad;
  --line: #e8e0d4;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(20, 16, 18, .12);
  --shadow-lg: 0 24px 60px rgba(20, 16, 18, .25);
  --font-head: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { font-family: var(--font-body); color: var(--text); background: var(--cream); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--maroon); }
ul { list-style: none; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; color: inherit; }
.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 820px; }
.center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-weight: 800; font-size: 1.05rem; letter-spacing: .01em; text-decoration: none;
  padding: 1rem 1.75rem; border-radius: 999px; border: 0; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}
.btn-buy {
  color: #1b1206; background: linear-gradient(180deg, #ffc94a 0%, var(--amber) 55%, #e88a06 100%);
  box-shadow: 0 6px 0 #b86a05, 0 12px 28px rgba(245, 158, 11, .35);
}
.btn-buy:hover { transform: translateY(-2px); filter: brightness(1.05); color: #1b1206; }
.btn-buy:active { transform: translateY(2px); box-shadow: 0 3px 0 #b86a05; }
.btn-xl { font-size: 1.2rem; padding: 1.15rem 2.25rem; }
.btn-block { width: 100%; }
.btn-ghost { color: var(--on-dark); border: 1.5px solid rgba(244, 239, 232, .35); background: transparent; }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-2); }
.btn .arrow { transition: transform .15s ease; }
.btn:hover .arrow { transform: translateX(3px); }
.micro { font-size: .85rem; color: var(--muted); margin-top: .75rem; }
.dark .micro { color: var(--on-dark-muted); }
.micro span { white-space: nowrap; }

/* ---------- top bar + header ---------- */
.topbar { background: var(--maroon); color: #fff; font-size: .85rem; font-weight: 600; text-align: center; padding: .5rem 1rem; }
.topbar strong { color: var(--gold-2); }
.header { position: sticky; top: 0; z-index: 50; background: #141012; border-bottom: 1px solid rgba(201, 168, 76, .2); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 1rem; }
.logo { font-family: var(--font-head); font-size: 1.45rem; font-weight: 800; color: var(--on-dark); text-decoration: none; }
.logo sup { font-size: .55em; color: var(--gold); }
.nav { display: flex; align-items: center; gap: 1.75rem; }
.nav a { color: var(--on-dark-muted); text-decoration: none; font-size: .95rem; font-weight: 500; }
.nav a:hover { color: var(--gold-2); }
.nav a.btn-buy, .nav a.btn-buy:hover { color: #1b1206; }
.nav .btn { padding: .6rem 1.2rem; font-size: .95rem; box-shadow: 0 4px 0 #b86a05; }
@media (max-width: 760px) { .nav a:not(.btn) { display: none; } }

/* ---------- sections ---------- */
section { padding: 88px 0; }
/* Skip rendering work for off-screen sections until they scroll near the viewport */
main > section:not(.hero) { content-visibility: auto; contain-intrinsic-size: auto 900px; }
.dark { background: var(--ink); color: var(--on-dark); }
.dark-2 { background: var(--ink-2); color: var(--on-dark); }
.white { background: var(--paper); }
.eyebrow { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--maroon); margin-bottom: .9rem; }
.dark .eyebrow, .dark-2 .eyebrow, .pricing .eyebrow { color: var(--gold); }
.h2 { font-size: clamp(1.9rem, 4vw, 2.75rem); margin-bottom: 1rem; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 680px; }
.center .lead { margin: 0 auto; }
.dark .lead, .dark-2 .lead, .pricing .lead { color: var(--on-dark-muted); }
.gold { color: var(--gold-2); }
.section-cta { margin-top: 3rem; text-align: center; }

/* ---------- hero ---------- */
.hero { padding: 56px 0 72px; background: radial-gradient(1200px 600px at 75% 30%, #3a1820 0%, var(--ink) 60%); color: var(--on-dark); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 3rem; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: .5rem; background: rgba(201, 168, 76, .12); border: 1px solid rgba(201, 168, 76, .35); color: var(--gold-2); font-size: .82rem; font-weight: 700; padding: .4rem .9rem; border-radius: 999px; margin-bottom: 1.25rem; }
.hero h1 { font-size: clamp(2.4rem, 5.6vw, 4rem); font-weight: 800; letter-spacing: -.01em; margin-bottom: 1.25rem; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, var(--gold-2), var(--amber)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .sub { font-size: 1.18rem; color: var(--on-dark-muted); margin-bottom: 1.5rem; max-width: 560px; }
.ticks { display: grid; gap: .6rem; margin-bottom: 2rem; }
.ticks li { display: flex; gap: .7rem; align-items: flex-start; font-weight: 500; }
.ticks li::before { content: ""; flex: 0 0 22px; height: 22px; margin-top: 1px; border-radius: 50%; background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23141012' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 13px no-repeat; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
.hero-proof { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; margin-top: 1.75rem; font-size: .88rem; color: var(--on-dark-muted); }
.hero-proof span::before { content: "✓ "; color: var(--gold); font-weight: 800; }
.hero-art { position: relative; }
.hero-art::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle, rgba(245, 158, 11, .28) 0%, rgba(245, 158, 11, .08) 45%, transparent 68%); }
.hero-art img { position: relative; width: 100%; max-width: 560px; margin: 0 auto; }
.hero-art .hero-seal { position: absolute; right: 2%; bottom: 6%; width: 120px; }
.price-tag { position: absolute; left: 0; top: 10%; background: var(--paper); color: var(--ink); border-radius: 12px; padding: .7rem 1rem; box-shadow: var(--shadow-lg); text-align: center; line-height: 1.2; }
.price-tag small { display: block; font-size: .72rem; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.price-tag b { font-size: 1.6rem; font-family: var(--font-head); color: var(--maroon); }

/* ---------- trust strip ---------- */
.strip { background: var(--ink-2); padding: 22px 0; border-top: 1px solid rgba(201, 168, 76, .15); border-bottom: 1px solid rgba(201, 168, 76, .15); }
.strip ul { display: flex; justify-content: center; flex-wrap: wrap; gap: 1.25rem 2.5rem; }
.strip li { display: flex; align-items: center; gap: .65rem; color: var(--on-dark); font-size: .9rem; font-weight: 600; }
.strip img { width: 44px; height: 44px; border-radius: 50%; background: #fff; padding: 2px; }

/* ---------- problem ---------- */
.pains { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 2.5rem; }
.pain { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; text-align: left; }
.pain .ic { font-size: 1.8rem; margin-bottom: .6rem; }
.pain h3 { font-size: 1.2rem; margin-bottom: .4rem; color: var(--ink); }
.pain p { color: var(--muted); font-size: .97rem; }
.bridge { margin: 2.75rem auto 0; max-width: 760px; font-size: 1.15rem; text-align: center; }
.bridge strong { color: var(--maroon); }

/* ---------- solution / product ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }
.split-img { background: radial-gradient(circle at 50% 45%, #3a1820, var(--ink) 70%); border-radius: 22px; padding: 2rem; }
.benefits { display: grid; gap: 1.1rem; margin: 1.75rem 0 2rem; }
.benefit { display: flex; gap: 1rem; }
.benefit .num { flex: 0 0 44px; height: 44px; border-radius: 12px; background: rgba(201, 168, 76, .14); color: var(--gold-2); display: grid; place-items: center; font-size: 1.3rem; }
.benefit h3 { font-family: var(--font-body); font-size: 1.05rem; font-weight: 700; margin-bottom: .15rem; }
.benefit p { color: var(--on-dark-muted); font-size: .96rem; }

/* ---------- comparison ---------- */
.compare { width: 100%; border-collapse: separate; border-spacing: 0; margin-top: 2.5rem; background: var(--paper); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); font-size: .97rem; }
.compare th, .compare td { padding: 1rem 1.1rem; text-align: center; border-bottom: 1px solid var(--line); }
.compare th:first-child, .compare td:first-child { text-align: left; font-weight: 600; color: var(--ink); }
.compare thead th { background: var(--ink); color: var(--on-dark); font-family: var(--font-body); font-size: .9rem; font-weight: 700; }
.compare thead th.us { background: var(--maroon); color: #fff; }
.compare td.us { background: #fdf6e7; font-weight: 700; color: var(--ink); }
.compare tr:last-child td { border-bottom: 0; }
.yes { color: var(--green); font-weight: 800; }
.no { color: #b91c1c; font-weight: 800; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table-scroll .compare { min-width: 560px; }

/* ---------- ingredients ---------- */
.ingredients { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; margin-top: 2.5rem; }
.ing { background: var(--ink-3); border: 1px solid rgba(201, 168, 76, .18); border-radius: var(--radius); padding: 1.35rem 1.4rem; }
.ing h3 { font-family: var(--font-body); font-size: 1.05rem; font-weight: 700; color: var(--gold-2); margin-bottom: .2rem; }
.ing .origin { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--on-dark-muted); margin-bottom: .55rem; }
.ing p { font-size: .94rem; color: var(--on-dark); opacity: .9; }
.ing p a { display: block; margin-top: .35rem; color: var(--gold-2); font-size: .82rem; font-weight: 600; white-space: nowrap; text-decoration: underline; text-underline-offset: 2px; }
.lead a { color: var(--gold-2); font-weight: 600; }
.faq details p a { font-weight: 600; }
.facts { display: grid; grid-template-columns: 1.2fr 1fr; gap: 2rem; align-items: center; margin-top: 3rem; background: var(--paper); color: var(--text); border-radius: var(--radius); padding: 1.75rem; }
.facts h3 { font-size: 1.35rem; color: var(--ink); margin-bottom: .6rem; }
.facts p { font-size: .93rem; color: var(--muted); margin-bottom: .5rem; }
.facts p strong { color: var(--ink); }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2.75rem; counter-reset: s; }
.step { background: var(--paper); border-radius: var(--radius); padding: 2rem 1.6rem 1.6rem; position: relative; box-shadow: var(--shadow); text-align: left; }
.step::before { counter-increment: s; content: counter(s); position: absolute; top: -18px; left: 1.6rem; width: 40px; height: 40px; border-radius: 50%; background: var(--maroon); color: #fff; font-weight: 800; display: grid; place-items: center; font-size: 1.1rem; }
.step h3 { font-size: 1.25rem; color: var(--ink); margin-bottom: .45rem; }
.step p { color: var(--muted); font-size: .97rem; }

/* ---------- fit ---------- */
.fit { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 2.5rem; }
.fit-col { border-radius: var(--radius); padding: 1.75rem; }
.fit-yes { background: #f0f7f1; border: 1px solid #cfe5d3; }
.fit-no { background: #fbf1f1; border: 1px solid #efd3d3; }
.fit-col h3 { font-family: var(--font-body); font-size: 1.1rem; font-weight: 800; margin-bottom: 1rem; }
.fit-col li { padding: .45rem 0 .45rem 1.8rem; position: relative; font-size: .98rem; }
.fit-yes li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 900; }
.fit-no li::before { content: "✕"; position: absolute; left: 0; color: #b91c1c; font-weight: 900; }

/* ---------- pricing ---------- */
.pricing { background: linear-gradient(180deg, var(--ink) 0%, #23141a 100%); color: var(--on-dark); }
.packs { display: grid; grid-template-columns: 1fr 1.08fr 1fr; gap: 1.25rem; align-items: center; margin-top: 2.75rem; }
.pack { background: var(--paper); color: var(--text); border-radius: 18px; padding: 1.75rem 1.5rem 1.5rem; text-align: center; position: relative; box-shadow: var(--shadow-lg); border: 2px solid transparent; }
.pack.best { border-color: var(--amber); transform: scale(1.03); padding-top: 2.5rem; }
.ribbon { position: absolute; top: -15px; left: 50%; transform: translateX(-50%); background: var(--maroon); color: #fff; font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: .4rem 1rem; border-radius: 999px; white-space: nowrap; }
.pack.best .ribbon { background: linear-gradient(90deg, var(--orange), var(--amber)); color: #1b1206; }
.pack h3 { font-family: var(--font-body); font-size: 1.15rem; font-weight: 800; color: var(--ink); }
.pack .supply { font-size: .85rem; color: var(--muted); }
.pack picture img { width: 200px; height: 200px; object-fit: contain; margin: .75rem auto; }
.pack.best picture img { width: 230px; height: 230px; }
.per { font-family: var(--font-head); font-size: 3.1rem; font-weight: 800; color: var(--maroon); line-height: 1; }
.per sup { font-size: .45em; vertical-align: super; }
.per small { font-family: var(--font-body); font-size: .9rem; color: var(--muted); font-weight: 600; }
.save { display: inline-block; margin: .7rem 0 .25rem; background: #e9f6ec; color: var(--green); font-weight: 800; font-size: .85rem; padding: .25rem .7rem; border-radius: 6px; }
.total { font-size: .95rem; color: var(--muted); margin-bottom: .2rem; }
.total s { color: var(--muted); }
.total b { color: var(--ink); }
.ship { font-size: .88rem; font-weight: 700; margin-bottom: 1.1rem; }
.ship.free { color: var(--green); }
.pack .btn { width: 100%; }
.pack .cards { width: 170px; margin: .9rem auto 0; opacity: .85; }
.pack-note { margin-top: 2rem; font-size: .82rem; color: var(--on-dark-muted); text-align: center; }

/* ---------- guarantee ---------- */
.guarantee { display: grid; grid-template-columns: 220px 1fr; gap: 2.5rem; align-items: center; background: var(--paper); border: 2px dashed var(--gold); border-radius: 22px; padding: 2.5rem; }
.guarantee h2 { font-size: clamp(1.6rem, 3.2vw, 2.2rem); color: var(--ink); margin-bottom: .75rem; }
.guarantee p { color: var(--muted); margin-bottom: .75rem; }

/* ---------- faq ---------- */
.faq { margin-top: 2.5rem; display: grid; gap: .75rem; }
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 0 1.35rem; }
.faq summary { cursor: pointer; list-style: none; padding: 1.15rem 2rem 1.15rem 0; font-weight: 700; color: var(--ink); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--maroon); font-weight: 400; }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding-bottom: 1.2rem; color: var(--muted); }

/* ---------- final cta ---------- */
.final { background: radial-gradient(900px 500px at 50% 0%, #3a1820, var(--ink) 70%); color: var(--on-dark); text-align: center; }
.final img.bottles { width: 340px; margin: 0 auto 1.5rem; }
.final .h2 { max-width: 760px; margin: 0 auto 1rem; }

/* ---------- articles ---------- */
.articles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2rem; }
.articles a { display: block; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 1.2rem 1.3rem; text-decoration: none; color: var(--ink); font-weight: 600; transition: border-color .15s ease, transform .15s ease; }
.articles a:hover { border-color: var(--gold); transform: translateY(-2px); }
.articles small { display: block; font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: var(--maroon); margin-bottom: .3rem; font-weight: 700; }

/* ---------- footer ---------- */
.footer { background: #0b0809; color: var(--on-dark-muted); padding: 56px 0 110px; font-size: .86rem; }
.footer .logo { display: inline-block; margin-bottom: .75rem; }
.footer-legal { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; margin: 1.25rem 0 1.75rem; }
.footer-legal a { color: var(--on-dark); text-decoration: none; }
.footer-legal a:hover { color: var(--gold-2); }
.fine { display: grid; gap: .9rem; border-top: 1px solid rgba(255, 255, 255, .08); padding-top: 1.5rem; }
.fine strong { color: var(--on-dark); }
.fda-box { border: 1px solid rgba(255, 255, 255, .2); padding: .9rem 1rem; border-radius: 8px; color: var(--on-dark); }

/* ---------- sticky mobile bar ---------- */
.sticky-buy { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: rgba(20, 16, 18, .97); border-top: 1px solid rgba(201, 168, 76, .3); padding: .7rem 16px calc(.7rem + env(safe-area-inset-bottom)); display: flex; align-items: center; justify-content: space-between; gap: .9rem; transform: translateY(110%); transition: transform .25s ease; }
.sticky-buy.show { transform: none; }
.sticky-buy .txt { color: var(--on-dark); font-size: .85rem; line-height: 1.3; }
.sticky-buy .txt b { color: var(--gold-2); font-size: 1rem; }
.sticky-buy .btn { padding: .75rem 1.2rem; font-size: .98rem; box-shadow: 0 4px 0 #b86a05; white-space: nowrap; }
@media (min-width: 900px) { .sticky-buy { display: none; } .footer { padding-bottom: 56px; } }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .hero .wrap, .split { grid-template-columns: 1fr; }
  .hero { padding-top: 32px; }
  .hero-art { order: -1; max-width: 420px; margin: 0 auto; }
  .hero-art .hero-seal { width: 88px; }
  .price-tag { top: 4%; padding: .5rem .75rem; }
  .price-tag b { font-size: 1.3rem; }
  .pains, .ingredients, .steps, .articles { grid-template-columns: 1fr 1fr; }
  .packs { grid-template-columns: 1fr; max-width: 420px; margin-left: auto; margin-right: auto; }
  .pack.best { transform: none; order: -1; }
  .facts { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  section { padding: 64px 0; }
  .wrap { padding: 0 16px; }
  .pains, .ingredients, .steps, .articles, .fit { grid-template-columns: 1fr; }
  .steps { gap: 2rem; }
  .hero { padding-top: 16px; }
  .hero .wrap { gap: 1.25rem; }
  .hero-art { max-width: 250px; }
  .hero-art .hero-seal { width: 70px; right: -8%; }
  .price-tag { left: -10%; }
  .hero-copy { display: flex; flex-direction: column; }
  .hero-copy .pill { display: none; }
  .hero .sub { font-size: 1.05rem; margin-bottom: 1.25rem; }
  .hero-copy .ticks { order: 3; margin: 1.5rem 0 0; }
  .hero-cta .btn { width: 100%; }
  .hero-cta .btn-ghost { display: none; }
  .guarantee { grid-template-columns: 1fr; text-align: center; padding: 1.75rem 1.25rem; }
  .guarantee img { width: 150px; margin: 0 auto; }
  .topbar { font-size: .78rem; }
  .final img.bottles { width: 260px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
