/* =========================================================================
   Lotus Athlete: Peptide Guide
   Deep-navy + lotus-teal palette taken from the brand mark.
   ========================================================================= */
:root {
  --bg: #050d1c;
  --bg-2: #081428;
  --surface: #0c1a31;
  --surface-2: #11223e;
  --line: rgba(150, 185, 230, 0.12);
  --line-2: rgba(150, 185, 230, 0.22);
  --text: #e9f0f8;
  --muted: #9aabc4;
  --faint: #6d7f9b;

  --teal: #4cc3b2;
  --teal-2: #2e9f91;
  --teal-glow: rgba(76, 195, 178, 0.16);
  --navy: #1d4596;
  --ice: #dfeaf8;

  --jade: #4cc3b2;
  --amber: #f0a84a;
  --violet: #a58bf5;
  --sky: #5fa8f5;
  --rose: #ef7fb4;
  --coral: #f2786c;
  --ban: #f2786c;

  --radius: 16px;
  --radius-sm: 10px;
  --header-h: 72px;
  --font-display: "Jost", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; color-scheme: dark; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 20px); }
body {
  margin: 0;
  background:
    radial-gradient(1100px 600px at 75% -10%, rgba(29, 69, 150, 0.35), transparent 60%),
    radial-gradient(800px 500px at -10% 20%, rgba(76, 195, 178, 0.07), transparent 60%),
    var(--bg);
  background-attachment: fixed;
  color: var(--text);
  font: 400 16px/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
h1, h2, h3, h4 { font-family: var(--font-display); margin: 0; line-height: 1.15; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 6px; }

.eyebrow { font: 500 11px/1 var(--font-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--faint); margin: 0 0 14px; }
.eyebrow-accent { color: var(--teal); }

/* ---------- progress ---------- */
.progress { position: fixed; inset: 0 0 auto; height: 4px; z-index: 60; background: rgba(150, 185, 230, 0.08); }
.progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--teal-2), var(--teal) 70%, #8ff0e2); box-shadow: 0 0 14px rgba(76,195,178,.8); border-radius: 0 4px 4px 0; transition: width .1s linear; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(5, 13, 28, 0.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.header-inner { height: var(--header-h); max-width: 1440px; margin: 0 auto; padding: 0 28px; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand img { width: 46px; height: auto; }
.brand-word { font: 300 19px/1 var(--font-display); letter-spacing: .3em; color: var(--ice); }
.brand-word b { font-weight: 500; color: var(--teal); }
.main-nav { display: flex; gap: 4px; margin-left: auto; }
.main-nav a { font: 500 13px/1 var(--font-display); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding: 10px 14px; border-radius: 999px; transition: color .2s, background .2s; }
.main-nav a:hover { color: var(--text); background: rgba(255,255,255,.04); }
.main-nav a.is-active { color: var(--teal); }
.menu-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--line-2); border-radius: 10px; background: none; position: relative; }
.menu-toggle span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: var(--text); transition: transform .25s; }
.menu-toggle span:first-child { top: 16px; } .menu-toggle span:last-child { top: 24px; }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
.mobile-nav { display: none; }
.section-bar { display: none; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 999px; padding: 12px 22px; font: 600 13px/1 var(--font-display); letter-spacing: .1em; text-transform: uppercase; border: 1px solid transparent; transition: transform .15s, background .2s, border-color .2s, box-shadow .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn-accent { background: linear-gradient(135deg, var(--teal), var(--teal-2)); color: #03201c; box-shadow: 0 6px 22px -8px rgba(76,195,178,.6); }
.btn-accent:hover { box-shadow: 0 10px 28px -8px rgba(76,195,178,.75); }
.btn-ghost { border-color: var(--line-2); color: var(--text); }
.btn-ghost:hover { border-color: var(--teal); color: var(--teal); }
.btn-sm { padding: 10px 16px; font-size: 12px; }
.icon-btn { width: 32px; height: 32px; border-radius: 8px; border: 0; background: none; color: var(--muted); display: grid; place-items: center; font-size: 18px; }
.icon-btn:hover { background: rgba(255,255,255,.06); color: var(--text); }

/* ---------- layout ---------- */
.layout { max-width: 1440px; margin: 0 auto; display: grid; grid-template-columns: 290px minmax(0, 1fr); }
.sidebar { position: sticky; top: var(--header-h); align-self: start; height: calc(100vh - var(--header-h)); overflow-y: auto; padding: 32px 22px 40px 28px; border-right: 1px solid var(--line); scrollbar-width: thin; scrollbar-color: var(--surface-2) transparent; }
.side-block + .side-block { margin-top: 34px; }
.toc { list-style: none; margin: 0; padding: 0; counter-reset: toc; }
.toc a { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--muted); padding: 8px 12px; border-radius: 10px; border: 1px solid transparent; transition: all .2s; }
.toc a::before { counter-increment: toc; content: counter(toc, decimal-leading-zero); font: 500 10px var(--font-mono); color: var(--faint); }
.toc a:hover { color: var(--text); }
.toc a.is-active { color: var(--text); background: var(--teal-glow); border-color: rgba(76,195,178,.3); }
.toc a.is-active::before { color: var(--teal); }
.quick-links { list-style: none; margin: 0; padding: 0; }
.quick-links a { display: flex; align-items: center; gap: 10px; padding: 7px 10px; border-radius: 10px; font-size: 14px; color: var(--muted); transition: background .2s, color .2s; }
.quick-links a span { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.quick-links a:hover, .quick-links a.is-active { background: rgba(255,255,255,.04); color: var(--text); }
.quick-links .tag { font-size: 9px; padding: 4px 6px; }

.dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; display: inline-block; background: var(--c, var(--teal)); box-shadow: 0 0 10px var(--c, var(--teal)); }
.dot.jade { --c: var(--jade); } .dot.amber { --c: var(--amber); } .dot.violet { --c: var(--violet); }
.dot.sky { --c: var(--sky); } .dot.rose { --c: var(--rose); } .dot.coral { --c: var(--coral); }

.tag { display: inline-flex; align-items: center; font: 500 10.5px/1 var(--font-mono); letter-spacing: .06em; padding: 5px 9px; border-radius: 6px; color: var(--c); background: color-mix(in srgb, var(--c) 14%, transparent); border: 1px solid color-mix(in srgb, var(--c) 30%, transparent); white-space: nowrap; }
.t-jade { --c: var(--jade); } .t-amber { --c: var(--amber); } .t-violet { --c: var(--violet); }
.t-sky { --c: var(--sky); } .t-rose { --c: var(--rose); } .t-coral { --c: var(--coral); }
.t-ban, .t-wada { --c: var(--ban); } .t-ok { --c: #8fd9a8; }

.content { padding: 40px 56px 60px; min-width: 0; max-width: 1060px; }

/* ---------- hero ---------- */
.hero { position: relative; padding: 8px 0 8px; }
.hero-watermark-clip { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.hero-watermark { position: absolute; right: 0; top: 10px; width: 440px; opacity: .07; pointer-events: none; }
.crumbs { display: flex; gap: 8px; align-items: center; font: 400 12px var(--font-mono); color: var(--faint); margin-bottom: 26px; }
.crumbs a:hover { color: var(--teal); }
.crumbs em { font-style: normal; color: var(--muted); }
.pill { display: inline-block; line-height: 1.5; margin: 0 0 26px; padding: 8px 16px; border-radius: 999px; font: 500 12px var(--font-mono); color: var(--teal); background: var(--teal-glow); border: 1px solid rgba(76,195,178,.3); }
.pulse { display: inline-block; vertical-align: middle; margin: -2px 10px 0 0; width: 7px; height: 7px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 0 rgba(76,195,178,.6); animation: pulse 2.2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(76,195,178,0); } 100% { box-shadow: 0 0 0 0 rgba(76,195,178,0); } }
.hero h1 { font-size: clamp(42px, 6vw, 76px); font-weight: 500; letter-spacing: -.01em; text-transform: uppercase; max-width: 12ch; }
.grad { background: linear-gradient(100deg, var(--teal) 10%, var(--ice) 90%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { max-width: 640px; font-size: 18px; color: var(--muted); margin: 24px 0 26px; }
.meta { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 26px; padding: 0; margin: 0 0 36px; font-size: 13px; color: var(--faint); }
.meta li { display: flex; align-items: center; gap: 8px; }
.meta svg { font-size: 15px; color: var(--teal); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(180deg, rgba(17,34,62,.7), rgba(12,26,49,.5)); overflow: hidden; }
.stats div { padding: 24px 18px; text-align: center; }
.stats div + div { border-left: 1px solid var(--line); }
.stats strong { display: block; font: 500 32px/1 var(--font-display); color: var(--teal); }
.stats span { display: block; margin-top: 10px; font: 400 11px/1.4 var(--font-mono); letter-spacing: .06em; color: var(--faint); }

/* ---------- summary ---------- */
.card-glow { position: relative; border-radius: var(--radius); background: var(--surface); border: 1px solid rgba(76,195,178,.25); box-shadow: 0 0 0 1px rgba(76,195,178,.05), 0 20px 60px -30px rgba(76,195,178,.35); }
.summary { margin-top: 32px; padding: 28px 32px; }
.summary-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 36px; }
.summary-list li { position: relative; padding-left: 26px; font-size: 15px; color: #cfd9e8; }
.summary-list li::before { content: ""; position: absolute; left: 0; top: .55em; width: 12px; height: 7px; border-left: 2px solid var(--teal); border-bottom: 2px solid var(--teal); transform: rotate(-45deg); }

/* ---------- sections ---------- */
.section { padding-top: 88px; }
.section-head { display: flex; align-items: center; gap: 18px; padding-bottom: 20px; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
.section-head h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 500; text-transform: uppercase; letter-spacing: .01em; }
.num { flex-shrink: 0; min-width: 48px; height: 48px; padding: 0 10px; display: grid; place-items: center; border-radius: 50%; font: 500 13px var(--font-mono); color: var(--teal); border: 1px solid rgba(76,195,178,.4); background: var(--teal-glow); }
.section-sub { color: var(--muted); margin: 0 0 28px; max-width: 720px; }
.prose p { color: #c9d4e4; margin: 0 0 18px; max-width: 760px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 28px 0; }
.list-card { padding: 24px 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.list-card h3 { font-size: 18px; font-weight: 500; margin-bottom: 14px; }
.list-card ul { list-style: none; padding: 0; margin: 0; }
.list-card li { position: relative; padding: 7px 0 7px 26px; font-size: 14.5px; color: #c9d4e4; border-top: 1px dashed var(--line); }
.list-card li:first-child { border-top: 0; }
.list-card li::before { position: absolute; left: 0; top: 7px; font: 600 13px var(--font-mono); }
.list-card.good li::before { content: "+"; color: var(--teal); }
.list-card.bad li::before { content: "–"; color: var(--coral); }
.list-card.good { border-top: 2px solid var(--teal); }
.list-card.bad { border-top: 2px solid var(--coral); }

.note { margin: 24px 0; padding: 18px 22px; border-radius: var(--radius-sm); background: linear-gradient(90deg, rgba(29,69,150,.28), rgba(29,69,150,.08)); border: 1px solid rgba(95,168,245,.25); }
.note-title { margin: 0 0 6px; font: 500 11px var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--sky); }
.note p:last-child { margin: 0; color: #cdd8e8; font-size: 15px; }

.inline-link { color: var(--teal); font-weight: 500; white-space: nowrap; }
.inline-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.tool-links { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.tool-links a { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: center; padding: 18px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--surface); transition: border-color .2s, transform .2s; }
.tool-links a:hover { border-color: rgba(76,195,178,.45); transform: translateY(-2px); }
.tool-links .ic { grid-row: span 2; width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; font-size: 20px; color: var(--teal); background: var(--teal-glow); }
.tool-links b { font: 500 15px var(--font-display); }
.tool-links small { color: var(--faint); font-size: 12.5px; }
.tools-cta { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 18px; padding: 18px 20px; border-radius: var(--radius-sm); border: 1px dashed var(--line-2); }
.tools-cta p { margin: 0; color: var(--muted); font-size: 14.5px; }
.dive-tools { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.dive-tools a { padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 13px; color: var(--muted); transition: all .2s; }
.dive-tools a:hover { color: var(--teal); border-color: var(--teal); }
.jump-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.jump-cards a { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: center; padding: 18px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--surface); transition: border-color .2s, transform .2s; }
.jump-cards a:hover { border-color: rgba(76,195,178,.45); transform: translateY(-2px); }
.jump-cards .ic { grid-row: span 2; width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; font: 500 12px var(--font-mono); color: var(--teal); background: var(--teal-glow); }
.jump-cards b { font: 500 15px var(--font-display); }
.jump-cards small { color: var(--faint); font-size: 12.5px; }

/* ---------- browse ---------- */
.goal-tabs { display: flex; gap: 6px; padding: 6px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.goal-tabs::-webkit-scrollbar { display: none; }
.goal-tabs button { flex: 1 0 auto; padding: 12px 18px; border: 0; border-radius: 10px; background: none; font: 500 13px var(--font-display); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); transition: all .2s; }
.goal-tabs button:hover { color: var(--text); }
.goal-tabs button.is-on { background: linear-gradient(135deg, var(--teal), var(--teal-2)); color: #03201c; }
.filter-row { display: flex; align-items: center; gap: 14px; margin: 18px 0 26px; flex-wrap: wrap; }
.filter-label { font: 500 11px var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-2); background: none; font-size: 13px; color: var(--muted); transition: all .2s; }
.chip:hover { color: var(--text); border-color: var(--muted); }
.chip.is-on { color: var(--teal); border-color: var(--teal); background: var(--teal-glow); }
.empty { color: var(--muted); }

.peptide-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 18px; }
.pcard { display: flex; flex-direction: column; padding: 24px; border-radius: var(--radius); background: linear-gradient(180deg, var(--surface-2), var(--surface)); border: 1px solid var(--line); transition: border-color .25s, transform .25s, box-shadow .25s; animation: rise .35s ease both; }
.pcard:hover { border-color: color-mix(in srgb, var(--tone) 45%, transparent); transform: translateY(-3px); box-shadow: 0 24px 50px -30px color-mix(in srgb, var(--tone) 60%, transparent); }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } }
.pcard-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.pcard-goals { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.orb { width: 34px; height: 34px; border-radius: 50%; flex-shrink: 0; background: radial-gradient(circle at 32% 30%, #fff 0 6%, color-mix(in srgb, var(--tone) 85%, #fff) 18%, var(--tone) 55%, color-mix(in srgb, var(--tone) 50%, #000) 100%); box-shadow: 0 0 24px -4px var(--tone); }
.orb-lg { width: 54px; height: 54px; }
.pcard h3 { font-size: 24px; font-weight: 500; }
.alias { margin: 6px 0 14px; font: 400 12px/1.5 var(--font-mono); color: var(--faint); }
.blurb { margin: 0 0 18px; font-size: 14.5px; color: #c4cfe0; flex: 1; }
.specs { margin: 0 0 16px; border-top: 1px solid var(--line); }
.specs div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.specs dt { font: 500 10.5px var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--faint); padding-top: 2px; }
.specs dd { margin: 0; text-align: right; color: var(--text); }
.benefit-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 20px; }
.benefit-tags span { font-size: 12px; padding: 5px 10px; border-radius: 999px; background: rgba(255,255,255,.04); border: 1px solid var(--line); color: var(--muted); }
.pcard-actions { display: flex; gap: 8px; align-items: center; }
.pcard-actions .btn-accent { flex: 1; }
.add-btn { width: 38px; height: 38px; flex-shrink: 0; border-radius: 50%; border: 1px solid var(--line-2); background: none; font-size: 18px; color: var(--muted); transition: all .2s; }
.add-btn:hover { border-color: var(--teal); color: var(--teal); }
.add-btn.is-in { background: var(--teal-glow); border-color: var(--teal); color: var(--teal); font-size: 15px; }

/* ---------- deep dives ---------- */
.dive { padding: 40px 0 44px; border-bottom: 1px solid var(--line); }
.dive:last-child { border-bottom: 0; }
.dive-head { display: flex; gap: 20px; align-items: flex-start; margin-bottom: 22px; }
.dive-head h3 { font-size: clamp(24px, 2.8vw, 32px); font-weight: 500; text-transform: uppercase; }
.dive-kicker { margin: 2px 0 8px; font: 500 12px/1 var(--font-mono); letter-spacing: .18em; text-transform: uppercase; color: var(--tone); }
.dive-head h3 { font-size: clamp(30px, 3.6vw, 42px); text-transform: none; letter-spacing: -.005em; }
.dive-sub { margin: 8px 0 12px; font: 400 12.5px var(--font-mono); color: var(--faint); }
.dive-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.dive-intro { color: #c9d4e4; margin: 0 0 24px; }
.mini-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 26px; }
.mini-stats div { padding: 22px 16px; border-radius: var(--radius-sm); text-align: center; background: var(--surface); border: 1px solid var(--line); }
.mini-stats strong { display: block; font: 500 28px/1.1 var(--font-display); color: var(--tone); }
.mini-stats span { display: block; margin-top: 8px; font: 400 11px var(--font-mono); letter-spacing: .06em; color: var(--faint); }

.benefits { padding: 24px 26px; border-radius: var(--radius); background: linear-gradient(135deg, color-mix(in srgb, var(--tone) 10%, var(--surface)), var(--surface)); border: 1px solid color-mix(in srgb, var(--tone) 28%, transparent); margin-bottom: 26px; }
.benefits h4, .dive h4 { display: flex; align-items: center; gap: 10px; font: 500 15px var(--font-display); letter-spacing: .14em; text-transform: uppercase; margin: 0 0 14px; }
.benefits h4 svg { color: var(--tone); font-size: 18px; stroke-width: 2.4; }
.benefits ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 28px; }
.benefits li { position: relative; padding-left: 20px; font-size: 14.5px; color: #d0dae8; }
.benefits li::before { content: ""; position: absolute; left: 0; top: .6em; width: 7px; height: 7px; border-radius: 50%; background: var(--tone); box-shadow: 0 0 8px var(--tone); }
.dive > h4 { margin-top: 6px; }

.table-wrap { overflow-x: auto; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--surface); margin-bottom: 20px; }
table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 560px; }
th { text-align: left; padding: 14px 18px; font: 500 10.5px var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--faint); background: rgba(255,255,255,.02); border-bottom: 1px solid var(--line); }
td { padding: 13px 18px; border-bottom: 1px solid var(--line); color: #cfd9e8; vertical-align: top; }
tr:last-child td { border-bottom: 0; }
td:first-child { color: var(--text); font-weight: 500; }
tbody tr:hover td { background: rgba(255,255,255,.02); }

.protocol { margin: 6px 0 22px; padding: 24px 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.protocol > p { color: var(--muted); margin: -4px 0 16px; font-size: 14.5px; }
.protocol ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.protocol li { display: grid; grid-template-columns: 180px 1fr; gap: 16px; padding: 12px 16px; border-radius: 10px; background: rgba(255,255,255,.03); font-size: 14px; }
.protocol li b { font: 500 12px var(--font-mono); color: var(--teal); padding-top: 2px; }

.warn-box { margin: 22px 0; padding: 20px 24px; border-radius: var(--radius-sm); background: rgba(242,120,108,.07); border: 1px solid rgba(242,120,108,.3); border-left: 3px solid var(--coral); }
.warn-title { margin: 0 0 10px; font: 500 11px var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--coral); }
.warn-box ul { margin: 0; padding-left: 18px; }
.warn-box li, .warn-box p { color: #e3cfcc; font-size: 14.5px; margin: 4px 0; }

.shop-boxes { display: grid; gap: 10px; margin-top: 24px; }
.shop-box { display: grid; grid-template-columns: 56px 1fr auto auto; align-items: center; gap: 16px; padding: 12px 14px 12px 12px; border-radius: 14px; background: linear-gradient(90deg, rgba(76,195,178,.1), rgba(76,195,178,.02)); border: 1px solid rgba(76,195,178,.28); transition: border-color .2s, background .2s; }
.shop-box:hover { border-color: var(--teal); background: linear-gradient(90deg, rgba(76,195,178,.16), rgba(76,195,178,.04)); }
.shop-box img { width: 56px; height: 56px; border-radius: 10px; object-fit: contain; background: #fff; padding: 4px; }
.shop-box b { display: block; font: 500 15px var(--font-display); }
.shop-box small { color: var(--faint); font-size: 12.5px; }
.shop-box-price { font: 500 20px var(--font-display); color: var(--teal); }

/* ---------- steps ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.steps li { display: grid; grid-template-columns: 52px 1fr; gap: 18px; padding: 22px 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.steps li > span { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; font: 500 18px var(--font-display); color: #03201c; background: linear-gradient(135deg, var(--teal), var(--teal-2)); }
.steps h3 { font-size: 18px; font-weight: 500; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 6px; }
.steps p { margin: 0; color: var(--muted); font-size: 14.5px; }
.partner-name { color: var(--teal); font-weight: 500; }

.stack-block { margin-bottom: 26px; }
.stack-block h3 small { font: 500 10.5px/1 var(--font-mono); letter-spacing: .14em; color: var(--muted); padding: 6px 10px; border-radius: 999px; border: 1px solid var(--line-2); }
.stack-block h3 { display: flex; align-items: center; gap: 12px; font-size: 18px; font-weight: 500; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 14px; }

/* ---------- faq ---------- */
.faq { display: grid; gap: 10px; }
.faq details { border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--line); transition: border-color .2s; }
.faq details[open] { border-color: rgba(76,195,178,.35); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 18px 22px; font: 500 16px var(--font-display); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex-shrink: 0; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-2); color: var(--teal); font: 400 18px/1 var(--font-body); transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0; padding: 0 22px 20px; color: var(--muted); font-size: 15px; }

.disclaimer { margin: 56px 0 0; padding: 20px 22px; border-radius: var(--radius-sm); border: 1px dashed var(--line-2); font-size: 13px; color: var(--faint); }
.disclaimer b { color: var(--muted); }

/* ---------- sign-off + shop row ---------- */
.signoff { margin: 64px 0 0; padding: 48px 0 40px; text-align: center; border-top: 1px solid var(--line); }
.signoff img { width: 64px; margin: 0 auto 14px; }
.signoff-name { margin: 0; font: 300 24px/1 var(--font-display); letter-spacing: .32em; color: var(--ice); }
.signoff-name b { font-weight: 500; color: var(--teal); }
.signoff-tag { margin: 14px 0 8px; color: var(--muted); }
.signoff-meta { margin: 0; font-size: 13px; color: var(--faint); }

.shop-row { padding: 48px 0 20px; border-top: 1px solid var(--line); }
.shop-row-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 26px; }
.shop-row h2 { font-size: 26px; font-weight: 500; text-transform: uppercase; letter-spacing: .04em; }
.shop-row-head p { margin: 8px 0 0; color: var(--muted); font-size: 15px; }
.auto-badge { flex-shrink: 0; font: 500 11px var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--teal); padding: 8px 12px; border-radius: 999px; border: 1px solid rgba(76,195,178,.35); }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 1180px) { .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.product { display: flex; flex-direction: column; min-width: 0; padding: 14px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); transition: border-color .25s, transform .25s; }
.product:hover { border-color: rgba(76,195,178,.5); transform: translateY(-3px); }
.product-img { position: relative; aspect-ratio: 3 / 2; border-radius: 10px; background: #fff; overflow: hidden; margin-bottom: 16px; }
.product-img img { position: absolute; inset: 0; width: 100%; height: 100%; padding: 3% 0; object-fit: contain; transition: transform .35s; }
.product:hover .product-img img { transform: scale(1.05); }
.product-cat { overflow-wrap: anywhere; margin: 0 0 6px; font: 500 10.5px var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }
.product h3 { font-size: 18px; font-weight: 500; margin-bottom: 14px; overflow-wrap: anywhere; }
.product-foot { margin-top: auto; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 6px 10px; min-width: 0; }
.product-foot strong { font: 500 22px/1 var(--font-display); color: var(--teal); white-space: nowrap; }
.product-foot span { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); white-space: nowrap; }
.product-foot span svg { flex-shrink: 0; font-size: 14px; }
.product:hover .product-foot span { color: var(--text); }
.fine { margin: 18px 0 0; font-size: 12.5px; color: var(--faint); }

/* ---------- stack panel ---------- */
.stack-panel { position: fixed; right: 20px; top: 50%; width: 320px; z-index: 40; border-radius: 18px; background: rgba(9, 20, 40, 0.94); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid var(--line-2); box-shadow: 0 30px 70px -20px rgba(0,0,0,.7); opacity: 0; transform: translate(20px, -50%); pointer-events: none; transition: opacity .3s, transform .3s; }
.stack-panel.is-visible { opacity: 1; transform: translateY(-50%); pointer-events: auto; }
.stack-panel header { display: flex; justify-content: space-between; align-items: center; padding: 14px 14px 12px 18px; border-bottom: 1px solid var(--line); }
.stack-panel header p { margin: 0; display: flex; align-items: center; gap: 10px; font: 500 13px var(--font-display); letter-spacing: .16em; text-transform: uppercase; color: var(--teal); }
.stack-panel header p svg { font-size: 17px; }
.stack-panel .count { color: var(--faint); letter-spacing: 0; }
.stack-list { list-style: none; margin: 0; padding: 10px; max-height: min(52vh, 440px); overflow-x: hidden; overflow-y: auto; scrollbar-width: thin; }
.stack-list li { position: relative; }
.stack-list li + li { margin-top: 6px; }
.stack-list a { display: grid; grid-template-columns: 46px 1fr 16px; gap: 12px; align-items: center; padding: 8px 10px 8px 8px; border-radius: 12px; background: rgba(255,255,255,.03); border: 1px solid transparent; transition: border-color .2s, background .2s; }
.stack-list a:hover { border-color: rgba(76,195,178,.4); background: rgba(76,195,178,.06); }
.thumb { width: 46px; height: 46px; border-radius: 8px; background: #fff; overflow: hidden; }
.thumb img { width: 100%; height: 100%; object-fit: contain; padding: 3px; }
.info { min-width: 0; }
.info b { display: block; font: 500 14px/1.3 var(--font-body); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.info em { font-style: normal; font-weight: 600; font-size: 14px; color: var(--teal); }
.chev { color: var(--faint); }
.rm { position: absolute; top: -6px; right: -4px; width: 20px; height: 20px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--bg-2); color: var(--muted); font-size: 13px; line-height: 1; opacity: 0; transition: opacity .2s; }
.stack-list li:hover .rm, .rm:focus-visible { opacity: 1; }
.stack-empty { padding: 18px 10px; text-align: center; font-size: 13.5px; color: var(--muted); }
.stack-panel footer { padding: 12px 18px 16px; border-top: 1px solid var(--line); }
.stack-note { margin: 0; padding: 10px 18px 0; font-size: 12.5px; line-height: 1.5; color: var(--faint); }
.stack-note b { color: var(--teal); }
.stack-panel footer a { font-size: 12.5px; color: var(--faint); }
.stack-panel footer a:hover { color: var(--teal); }

.stack-fab { position: fixed; right: 20px; top: 50%; z-index: 40; display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 999px; border: 1px solid rgba(76,195,178,.4); background: rgba(9,20,40,.94); color: var(--teal); font: 500 12px var(--font-display); letter-spacing: .14em; text-transform: uppercase; opacity: 0; pointer-events: none; transform: translate(20px, -50%); transition: opacity .3s, transform .3s; }
.stack-fab.is-visible { opacity: 1; pointer-events: auto; transform: translateY(-50%); }
/* Desktop collapsed rail: vertical tab hugging the right edge */
@media (min-width: 901px) {
  .stack-fab { right: 20px; writing-mode: vertical-rl; padding: 16px 9px; gap: 10px; border-radius: 12px; font-size: 11.5px; letter-spacing: .2em; box-shadow: 0 16px 40px -18px rgba(0,0,0,.8); }
  .stack-fab svg { transform: rotate(90deg); }
  .stack-fab:hover { border-color: var(--teal); background: rgba(12,26,49,.98); }
}
.stack-fab svg { font-size: 16px; }
.stack-fab b { min-width: 20px; height: 20px; border-radius: 10px; display: grid; place-items: center; background: var(--teal); color: #03201c; font: 600 11px var(--font-body); letter-spacing: 0; }
.stack-fab b:empty { display: none; }
.stack-fab.bump { animation: bump .45s ease; }
@keyframes bump { 40% { transform: translateY(-50%) scale(1.12); } }
@keyframes bump-tray { 40% { transform: scale(1.12); } }

/* ---------- helper ---------- */
.helper-fab { position: fixed; right: 24px; bottom: 24px; z-index: 45; width: 58px; height: 58px; border-radius: 50%; border: 0; display: grid; place-items: center; font-size: 24px; color: #03201c; background: linear-gradient(135deg, var(--teal), var(--navy)); box-shadow: 0 12px 30px -8px rgba(76,195,178,.6); transition: transform .2s; }
.helper-fab svg { stroke-width: 2; color: #fff; }
.helper-fab:hover { transform: scale(1.06); }
.helper { position: fixed; right: 24px; bottom: 96px; z-index: 45; width: 340px; max-height: 70vh; display: flex; flex-direction: column; border-radius: 18px; background: rgba(9,20,40,.97); border: 1px solid var(--line-2); box-shadow: 0 30px 70px -20px rgba(0,0,0,.75); overflow: hidden; }
.helper[hidden] { display: none; }
.helper header { display: flex; align-items: center; gap: 12px; padding: 14px 14px 14px 18px; border-bottom: 1px solid var(--line); }
.helper header img { width: 34px; }
.helper header div { flex: 1; }
.helper header b { display: block; font: 500 15px var(--font-display); }
.helper header small { color: var(--faint); font-size: 12px; }
.helper-body { padding: 16px; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.bubble { max-width: 88%; padding: 10px 14px; border-radius: 14px 14px 14px 4px; background: var(--surface-2); font-size: 14px; color: #d6dfec; }
.bubble.me { align-self: flex-end; border-radius: 14px 14px 4px 14px; background: var(--teal-glow); border: 1px solid rgba(76,195,178,.35); color: var(--text); }
.helper-qs { display: flex; flex-wrap: wrap; gap: 6px; padding: 12px 14px 16px; border-top: 1px solid var(--line); }
.helper-qs button { padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line-2); background: none; font-size: 12.5px; color: var(--muted); }
.helper-qs button:hover { border-color: var(--teal); color: var(--teal); }

/* ---------- responsive ---------- */
@media (min-width: 901px) and (max-width: 1799px) {
  .content { max-width: none; padding-right: 372px; }
}
@media (min-width: 901px) and (max-width: 1180px) {
  .layout { grid-template-columns: 230px minmax(0, 1fr); }
  .sidebar { padding: 28px 14px 40px 18px; }
  .content { padding: 32px 302px 60px 28px; }
  .stack-panel, .stack-fab { right: 14px; }
  .stack-panel { width: 272px; }
  .stack-list a { grid-template-columns: 40px 1fr 14px; gap: 10px; }
  .thumb { width: 40px; height: 40px; }
  .quick-links .tag { display: none; }
  .toc a { font-size: 13.5px; }
  .split, .summary-list, .benefits ul { grid-template-columns: 1fr; }
  .jump-cards { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats div:nth-child(3) { border-left: 0; }
  .stats div:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 900px) {
  .content { padding: 36px 36px 110px; }
  /* Tablet / phone: collapsed pill bottom-left, expands into a full-width bottom tray */
  .stack-fab { top: auto; right: auto; left: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); padding: 12px 16px; background: linear-gradient(135deg, var(--teal), var(--teal-2)); color: #03201c; border: 0; box-shadow: 0 10px 28px -8px rgba(76,195,178,.65); transform: translateY(16px); }
  .stack-fab b { background: rgba(3,32,28,.18); color: #03201c; }
  .stack-panel { top: auto; left: 0; right: 0; bottom: 0; width: auto; border-radius: 20px 20px 0 0; border-width: 1px 0 0; transform: translateY(100%); transition: opacity .3s, transform .35s cubic-bezier(.2,.8,.2,1); padding-bottom: env(safe-area-inset-bottom); }
  .stack-panel.is-visible { transform: none; }
  .stack-fab.is-visible { transform: none; }
  .stack-fab.bump { animation-name: bump-tray; }
  .stack-panel header { padding: 12px 12px 10px 18px; border-bottom: 0; }
  .stack-note { display: none; }
  .stack-list { display: flex; gap: 10px; max-height: none; overflow-x: auto; overflow-y: hidden; padding: 2px 16px 12px; scroll-snap-type: x mandatory; scroll-padding-inline: 16px; scrollbar-width: none; }
  .stack-list::-webkit-scrollbar { display: none; }
  .stack-list li { flex: 0 0 min(240px, 72vw); scroll-snap-align: start; }
  .stack-list li + li { margin-top: 0; }
  .stack-list a { background: rgba(255,255,255,.05); border-color: var(--line); }
  .rm { opacity: 1; top: 4px; right: 4px; }
  .stack-empty { flex: 1 0 100%; }
  .stack-panel footer { padding: 10px 18px 14px; }
  .tray-open .helper-fab, .tray-open .helper { opacity: 0; pointer-events: none; }
  .helper-fab { transition: transform .2s, opacity .25s; }
}
@media (max-width: 1020px) {
  .main-nav, .header-cta { display: none; }
  .menu-toggle { display: block; margin-left: auto; }
  .mobile-nav { display: grid; max-height: 0; overflow: hidden; transition: max-height .3s; }
  .mobile-nav.is-open { max-height: 420px; border-top: 1px solid var(--line); }
}
@media (max-width: 900px) {
  .layout { grid-template-columns: 1fr; }
  .sidebar { display: none; }
  html { scroll-padding-top: calc(var(--header-h) + 68px); }
  .section-bar { display: flex; gap: 6px; overflow-x: auto; padding: 8px 16px 10px; border-top: 1px solid var(--line); scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .section-bar::-webkit-scrollbar { display: none; }
  .section-bar a { flex-shrink: 0; padding: 7px 13px; border-radius: 999px; font-size: 13px; color: var(--muted); border: 1px solid var(--line-2); white-space: nowrap; transition: all .2s; }
  .section-bar a.is-active { color: #03201c; background: var(--teal); border-color: var(--teal); }
}
@media (max-width: 1020px) {
  .mobile-nav a { padding: 15px 28px; font: 500 14px var(--font-display); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--line); }
}
@media (max-width: 720px) {
  :root { --header-h: 64px; }
  .header-inner { padding: 0 16px; gap: 12px; }
  .brand img { width: 38px; }
  .brand-word { font-size: 15px; letter-spacing: .24em; }
  .content { padding: 24px 16px 110px; }
  .hero-watermark { width: 220px; right: 0; top: 70px; }
  .lede { font-size: 16px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats div:nth-child(3) { border-left: 0; }
  .stats div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .stats strong { font-size: 26px; }
  .summary { padding: 22px 20px; }
  .summary-list, .split, .benefits ul { grid-template-columns: 1fr; }
  .jump-cards { grid-template-columns: 1fr; }
  .section { padding-top: 64px; }
  .num { min-width: 40px; height: 40px; font-size: 12px; }
  .peptide-grid { grid-template-columns: 1fr; }
  .mini-stats strong { font-size: 22px; }
  .mini-stats div { padding: 16px 8px; }
  .dive-head { gap: 14px; }
  .orb-lg { width: 40px; height: 40px; }
  .shop-box { grid-template-columns: 48px 1fr auto; gap: 12px; }
  .shop-box img { width: 48px; height: 48px; }
  .shop-box .btn { display: none; }
  .protocol li { grid-template-columns: 1fr; gap: 4px; }
  .steps li { grid-template-columns: 1fr; gap: 12px; padding: 20px; }
  .shop-row-head { flex-direction: column; align-items: flex-start; }
  .product-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .product { padding: 10px; }
  .product h3 { font-size: 15px; }
  .product-foot { flex-direction: column; align-items: flex-start; gap: 8px; }
  .product-foot strong { font-size: 18px; }
  .helper { right: 16px; left: 16px; width: auto; bottom: 88px; }
  .helper-fab { right: 16px; bottom: 16px; width: 52px; height: 52px; }
}
