/* Header navigation. Loaded after chrome.css; every rule here is scoped to the header. */

/* Shop peptides: the hero button at header size, always the opposite of the header tone. */
.c3-root.hd3 .hd3-cta{gap:8px;height:44px;padding:0 16px 0 20px;background:var(--ink);color:#fff;
  transition:background-color .18s var(--ease-out),color .18s var(--ease-out),opacity .45s var(--ease),transform .45s var(--ease),visibility 0s}
.c3-root.hd3[data-hd3-tone="dark"] .hd3-cta{background:#fff;color:var(--ink)}
.c3-root.hd3 .hd3-cta:active{transition:transform .15s var(--ease-out)}
.c3-root.hd3 .hd3-cta svg{transition:transform .2s var(--ease-out)}
.c3-root.hd3 .hd3-icons .hd3-cta{margin-right:4px}
@media (hover:hover){
  .c3-root.hd3 .hd3-cta:hover{background:#2c2d31}
  .c3-root.hd3[data-hd3-tone="dark"] .hd3-cta:hover{background:#e4e5e9} /* the same soft step as every white button (buttons.css) */
  .c3-root.hd3 .hd3-cta:hover svg{transform:translateX(3px)}
}
/* Homepage: keeps its place in the row while the hero button is on screen, so nothing reflows when it arrives.
   Without JavaScript it simply shows (the head script removes html.no-js before first paint). */
html:not(.no-js) .c3-root.hd3[data-hd3-cta="wait"] .hd3-icons .hd3-cta{opacity:0;visibility:hidden;pointer-events:none;transform:translateX(18px);
  transition:opacity .22s var(--ease-out),transform .22s var(--ease-out),visibility 0s linear .22s}

/* Phone: the header row stays as it is; the button leads the menu instead. The menu's rise is written frame by frame by
   motion.js, so here it must not smooth its opacity or position as well: it would start bright, sink and arrive after the rows. */
.c3-root.hd3 .hd3-menu__cta{display:flex;width:100%;height:52px;margin:8px 0 20px;padding:0 24px;
  transition:background-color .3s var(--ease-out),color .3s var(--ease-out)}
/* .98: browser zoom can land between 899 and 900 px, where chrome.css has neither its phone nor its desktop rules. */
@media (max-width:899.98px){
  .c3-root.hd3 .hd3-icons .hd3-cta{display:none}
}

/* Link text and the pill (13 Nov 2026; Alik: the letter "flip" and the thin line under the links were "not good").
   The word holds still: the real word shows, the per-letter copies that used to roll are no longer drawn. Hover is one soft
   glass pill that glides between the items; it rests under the current page, and under a menu that is open. nav.js places it. */
.c3-root.hd3 .hd3-nav{position:relative;white-space:nowrap;isolation:isolate}
.c3-root.hd3 .hd3-roll{display:none}
.c3-root.hd3 .hd3-nav a{transition:opacity .15s var(--ease-out)}
/* the current page is marked by the pill, not by a line (chrome.css and navdrop.css draw one; without JavaScript it stays) */
html:not(.no-js) .c3-root.hd3 .hd3-nav a[aria-current]{box-shadow:none}
html.no-js .c3-root.hd3 .hd3-nav .hd3-dd__btn[data-current] .hd3-word{box-shadow:0 1px 0 currentColor}
/* Build a Stack: the link itself stays fully opaque for its badge (stack/offer.css); its word dims like the other links */
.c3-root.hd3 .hd3-nav a.hd3-has-bdg .hd3-word{opacity:.86;transition:opacity .15s var(--ease-out)}
.c3-root.hd3 .hd3-nav a.hd3-has-bdg:is(:hover,:focus-visible,[aria-current]) .hd3-word{opacity:1}

.c3-root.hd3 .hd3-nav__line{--pill-pad:14px;position:absolute;left:0;top:50%;z-index:-1;width:100px;height:36px;margin-top:-18px;border-radius:999px;
  background:rgba(127,127,127,.16);background:color-mix(in srgb,currentColor 10%,transparent);
  box-shadow:inset 0 0 0 1px rgba(127,127,127,.1);box-shadow:inset 0 0 0 1px color-mix(in srgb,currentColor 7%,transparent);
  opacity:0;pointer-events:none;
  transition:transform .28s cubic-bezier(.2,0,0,1),width .28s cubic-bezier(.2,0,0,1),opacity .15s var(--ease-out)}
.c3-root.hd3 .hd3-nav__line.is-on{opacity:.6}                 /* resting: the page you are on */
.c3-root.hd3 .hd3-nav__line.is-on.is-live{opacity:1}          /* under the pointer, the keyboard focus or an open menu */
.c3-root.hd3 .hd3-nav__line.is-snap{transition:opacity .15s var(--ease-out)}
@media (min-width:900px) and (max-width:1239px){.c3-root.hd3 .hd3-nav__line{--pill-pad:10px}}
@media (min-width:900px) and (max-width:1023px){.c3-root.hd3 .hd3-nav__line{--pill-pad:6px;height:32px;margin-top:-16px}}
@media (prefers-reduced-motion:reduce){.c3-root.hd3 .hd3-nav__line{transition:opacity .15s linear}}
/* Keyboard: the pill itself carries the focus ring, in the pill's own shape (the link's square outline would sit inside it).
   Without :has(), without JavaScript or in forced colours the link keeps its outline. */
.c3-root.hd3 .hd3-nav__line.is-focus{box-shadow:inset 0 0 0 2px var(--c3-focus,currentColor)}
@media (forced-colors:none){
  .c3-root.hd3 .hd3-nav:has(> .hd3-nav__line.is-focus) > a:focus-visible,.c3-root.hd3 .hd3-nav:has(> .hd3-nav__line.is-focus) .hd3-dd__btn:focus-visible{outline:none}
}

/* Icon buttons: under the pointer they take the same soft glass as the pill (a hard white ring before), and the buttons' squeeze on press. */
.c3-root.hd3 .hd3-ib{transition:border-color .18s var(--ease-out),background-color .18s var(--ease-out),transform .15s var(--ease-out)}
@media (hover:hover){
  .c3-root.hd3[data-hd3-tone="dark"] .hd3-ib:hover{border-color:rgba(255,255,255,.34);background:rgba(255,255,255,.12)}
}
.c3-root.hd3 .hd3-ib:active{transform:scale(.96)}
@media (prefers-reduced-motion:reduce){.c3-root.hd3 .hd3-ib:active{transform:none;opacity:.86}}

@media (prefers-reduced-motion:no-preference){
  /* Entrance: starts at half strength, so the links read from the first frame, and never blocks a click.
     It waits behind the loader and the 21+ gate, then plays as soon as they are gone. */
  html.hd3-enter .c3-root.hd3 .hd3-nav a{animation:hd3-rise .5s var(--ease-out) backwards}
  html.hd3-enter .c3-root.hd3 .hd3-nav a:nth-child(2){animation-delay:40ms}
  html.hd3-enter .c3-root.hd3 .hd3-nav a:nth-child(3){animation-delay:80ms}
  html.hd3-enter .c3-root.hd3 .hd3-nav a:nth-child(4){animation-delay:120ms}
  html.hd3-enter .c3-root.hd3 .hd3-nav a:nth-child(n+5){animation-delay:160ms}
  html.hd3-enter:is(.ld3-intro,.ld3-gate-on,.cl-gate-pending,.cl-locked) .c3-root.hd3 .hd3-nav a{animation-play-state:paused}
  html.hd3-enter .c3-root.hd3 .hd3-nav__line{visibility:hidden} /* the links rise first; the pill arrives once they have landed */
}
@keyframes hd3-rise{from{opacity:.5;transform:translateY(8px)}}

/* Fit: full size with the links centred from 1240 px. Below that the links sit midway between the logo and the button.
   Below 1024 px everything steps down one size, so the button stays in the row all the way to the phone layout at 899 px. */
@media (min-width:900px){
  .c3-root.hd3 .hd3-bar{column-gap:24px}
}
@media (min-width:900px) and (max-width:1239px){
  .c3-root.hd3 .hd3-bar{grid-template-columns:auto minmax(0,1fr) auto}
  .c3-root.hd3 .hd3-nav{justify-self:center;gap:28px}
}
@media (min-width:900px) and (max-width:1023px){
  .c3-root.hd3 .hd3-bar{column-gap:12px}
  .c3-root.hd3 .hd3-nav{gap:20px;font-size:15px}
  .c3-root.hd3 .hd3-nav a::before{inset:-12px -6px}
  .c3-root.hd3 .hd3-icons{gap:6px}
  .c3-root.hd3 .hd3-icons .hd3-ib{width:40px;height:40px}
  .c3-root.hd3 .hd3-icons .hd3-cta{gap:6px;height:40px;padding:0 13px 0 16px;font-size:13px}
  .c3-root.hd3 .hd3-icons .hd3-cta svg{width:14px;height:14px}
}
/* Homepage, below 1240 px, until the button arrives: its place stands empty, so the links hold the page centre, in line with
   the hero, and step aside as the button comes in. The offset is half the width difference between the logo and the right group. */
@media (min-width:900px) and (max-width:1239px){
  .c3-root.hd3[data-hd3-cta] .hd3-nav{transition:transform .45s var(--ease)}
  html:not(.no-js) .c3-root.hd3[data-hd3-cta="wait"] .hd3-nav{transform:translateX(102px)}
}
@media (min-width:900px) and (max-width:1023px){
  html:not(.no-js) .c3-root.hd3[data-hd3-cta="wait"] .hd3-nav{transform:translateX(83.5px)}
}

@media print{.c3-root.hd3 .hd3-cta,.c3-root.hd3 .hd3-nav__line{display:none}}
