/* Skin tints: src/theme/tokens.ts skins (0-8) and packSkins Shadow. */
:root {
  --pep-mint:#C8E7D1; --pep-lilac:#EBC3E7; --pep-tide:#B7CBE9;
  --pep-coral:#F3A482; --pep-butter:#F2CC7D; --pep-ink:#8A8A92;
  --pep-sky:#B5D7F3; --pep-rose:#F3AEBA; --pep-red:#F52E28; --pep-shadow:#2E333A;
  --section-colour:var(--pep-red);
  --accent-ground:#101418;
  --accent-ui:color-mix(in srgb,var(--section-colour) 55%,var(--accent-ground));
  --logo-ink:#101418;
  --brand-pep-red:#FA9B92;
}
html[data-theme="light"] {color-scheme:light;--paper:#F6F1E8;--ink:#101418;--surface:#fff;--raised:#fff;--muted:#5B6570;--border:rgba(16,20,24,.14);--accent:#A04937;--water-ground:#E4F2F0;--logo-ink:#101418}
html[data-theme="dark"] {color-scheme:dark;--paper:#101418;--ink:#F6F1E8;--surface:#1B2229;--raised:#273039;--muted:#B9C0C7;--border:rgba(246,241,232,.16);--accent:#FA9B92;--water-ground:#1B2229;--logo-ink:#fff}
html[data-theme="dark"] {--accent-ground:#fff}
section,.stories-page,.calculator-page,.post-page,.site-footer{--accent-ui:color-mix(in srgb,var(--section-colour) 55%,var(--accent-ground))}
/* These tints are small decorative markers. All text keeps the neutral ink. */
.hero{--section-colour:var(--pep-red)}
.doors{--section-colour:var(--pep-mint)}
.pick-pep{--section-colour:var(--pep-lilac)}
.pyp-waitlist{--section-colour:var(--pep-tide)}
.latest,.stories-page{--section-colour:var(--pep-coral)}
.home-peptides{--section-colour:var(--pep-sky)}
.pep-globe{--section-colour:var(--pep-butter)}
.post-page,.calculator-page{--section-colour:var(--pep-sky)}
.site-footer{--section-colour:var(--pep-rose)}
.hero h1 span,.hub-head h1 span{color:var(--ink)}
.hero h1 .hero-opinion{color:var(--logo-colour,var(--pep-mint))}
.hero-opinion{transition:none}
.eyebrow:before{content:"";display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--section-colour);margin-right:9px;vertical-align:1px}
.hero .eyebrow:before,.pep-comment .eyebrow:before,.article-door .eyebrow:before,.post-head .eyebrow:before{content:none}
.status-dot{background:var(--logo-colour,var(--pep-mint));transition:none}
.story-list .story-card:first-child .story-meta>span:first-child{border-left:3px solid var(--section-colour);padding-left:8px}
.header-inner [aria-current],.nav-calcs>summary.current{box-shadow:inset 0 -2px var(--accent-ui)}
a:hover{text-decoration-color:var(--accent-ui)}
:focus-visible,.pill input:focus-visible+span{outline-color:var(--accent-ui)}
.wordmark-svg{display:block;width:167px;height:28px;overflow:visible;color:var(--logo-ink)}
.logo-dot{fill:var(--logo-dot,currentColor);stroke:color-mix(in srgb,var(--logo-ink) 38%,transparent);stroke-width:18;paint-order:stroke fill}
.logo-dot{transition:none}
html[data-theme="dark"] .logo-dot{stroke:#F6F1E8;stroke-width:22}
.theme-toggle{position:relative;flex:none;width:44px;height:44px;min-height:44px;padding:10px;background:transparent;color:var(--ink);overflow:hidden}
.theme-toggle[hidden]{display:none}
.theme-toggle svg{position:absolute;width:22px;height:22px;inset:11px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;transition:transform var(--world-duration) var(--world-easing),opacity var(--world-duration) var(--world-easing)}
.theme-moon{opacity:1;transform:rotate(0)}
.theme-sun{opacity:0;transform:rotate(-90deg) scale(.5)}
html[data-theme="dark"] .theme-moon{opacity:0;transform:rotate(90deg) scale(.5)}
html[data-theme="dark"] .theme-sun{opacity:1;transform:rotate(0)}
.header-inner{gap:24px}
.header-inner>nav{gap:28px}
/* A link never breaks inside itself ("How / it / works"). */
.header-inner>nav>a,.nav-calcs>summary{white-space:nowrap}
.social-links{display:flex;gap:8px;align-items:center}
.social-links a{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;min-width:44px;color:var(--ink);border-radius:50%}
.social-links svg{width:19px;height:19px;fill:currentColor}
.social-links a:hover{color:var(--accent-ui)}
.stories-social{margin-top:36px;padding-top:24px;border-top:1px solid var(--border)}
.footer-inner>.social-links{margin-left:auto}
.info-page{max-width:768px;padding-top:48px;padding-bottom:64px}
.info-page h1{margin-bottom:32px}.info-page h2{font-size:26px;margin:32px 0 16px}
@media(prefers-color-scheme:dark){html:not([data-theme]){--logo-ink:#fff}}
@media(max-width:760px){
  .header-inner{gap:12px}
  .header-inner .wordmark-svg{width:148px;height:25px}
  /* Pick A (Lead 14:34 UTC 18 Nov): the top row is the logo, the theme button and Join waitlist; the nav row below
     spreads its five links over the full width, so it fits from 360 px with no sideways scroll. */
  .header-inner>nav{gap:12px;justify-content:space-between}
  .header-inner>.button{margin-left:auto}
  .header-inner>.theme-toggle:not([hidden]){margin-left:auto}
  .header-inner>.theme-toggle:not([hidden])+.button{margin-left:0}
  /* Calculators sits further right with Results: its menu opens to the left, inside the screen. */
  .nav-menu{left:auto;right:-30px}
}
/* Tablets up to 900 px: one row no longer fits the five links, so the same two rows as a phone, the links centred. */
@media(min-width:761px) and (max-width:900px){
  .header-inner{flex-wrap:wrap;row-gap:0}
  .header-inner>nav{order:3;width:100%;margin:0;border-top:1px solid var(--border);justify-content:center}
  .header-inner>.button{margin-left:auto}
  .header-inner>.theme-toggle:not([hidden]){margin-left:auto}
  .header-inner>.theme-toggle:not([hidden])+.button{margin-left:0}
}
@media(max-width:360px){.header-inner .wordmark-svg{width:132px}}
@media(prefers-reduced-motion:reduce){.logo-dot{stroke:none}.theme-toggle svg{transition:none}}

/* One plain ground continues through both columns and the phone controls. */
html .hero .pep-phone-stage[data-pep-phone]{background:transparent}
html .hero [data-pep-phone] .pep-screen{background:var(--paper)}
html .hero [data-pep-phone] .pep-phone-hint{color:var(--muted)}
html .hero [data-pep-phone] :is(.pep-device-switch,.pep-unfold){background:var(--surface);border-color:var(--border)}
html .hero [data-pep-phone] .pep-unfold{color:var(--ink)}
html .hero [data-pep-phone] .pep-device-switch button{color:var(--muted)}
html .hero [data-pep-phone] .pep-device-switch button[aria-pressed="true"]{background:var(--ink);color:var(--surface)}
/* Operator 17 Nov: both sign-up forms are one compact row, the field full width and the button on the right. */
.waitlist .email-row{flex-direction:row;flex-wrap:nowrap;align-items:stretch}
.waitlist .email-row input{flex:1 1 auto;min-width:0}
.waitlist .email-row button{flex:none;align-self:stretch}
/* One short consent line close under the row, a plain site checkbox, the whole label a 56 px target. */
.waitlist .consent{align-items:center;gap:10px;min-height:56px;margin:4px 0 0;cursor:pointer}
.waitlist .consent span{padding-top:0}
.waitlist .consent a{white-space:nowrap}
.consent input[type=checkbox]{-webkit-appearance:none;appearance:none;position:relative;width:22px;height:22px;min-height:22px;margin:0;padding:0;border:2px solid var(--muted);border-radius:6px;background:var(--surface)}
.consent input[type=checkbox]:checked{border-color:var(--accent)}
.consent input[type=checkbox]:checked:after{content:"";position:absolute;left:5px;top:1px;width:6px;height:11px;border:solid var(--accent);border-width:0 2.5px 2.5px 0;transform:rotate(45deg)}
@media(max-width:760px){
  /* Both forms share the hero's phone row and the same consent size. */
  .waitlist .email-row button{padding:16px;font-size:14px;min-height:56px}
  .waitlist .consent{font-size:11px!important}
  /* The stories eyebrow gets the full row; the title and All stories share the row under it. */
  .latest .section-head,.home-peptides .section-head{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:0 12px}
  .latest .section-head>div,.home-peptides .section-head>div{display:contents}
  .latest .section-head .eyebrow,.home-peptides .section-head .eyebrow{grid-column:1/-1;max-width:none;white-space:nowrap}
  /* Footer: logo, the links in two even columns, the icons, then the line. */
  .footer-inner{display:flex;flex-direction:column;align-items:stretch;gap:16px}
  .footer-inner>.logo{align-self:start}
  .footer-inner nav{display:grid;grid-template-columns:1fr 1fr;gap:0 24px;margin:0}
  /* Eight links pair up in the two columns, so no link takes a row alone. */
  .footer-inner>.social-links{margin:0 0 0 -12px}
  .footer-inner p{margin:0}
  .footer-inner p a{white-space:nowrap}
}
@media(max-width:360px){.waitlist .consent{font-size:10px!important}}
/* The waitlist honeypot (web #164 on the site v2): a field a person never sees or reaches; a form filling script fills it. */
.wl-hp{position:absolute;left:-10000px;top:auto;width:1px;height:1px;overflow:hidden}
/* The store pills under each sign-up (operator 18 Nov): our own pills, not the official badges, not links. No visible
   "Coming soon" line (operator 18 Nov: "its already clear everywhere else"). Light and dark follow the site tokens. */
.store-soon{display:flex;margin:12px 0 0}
.store-pills{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin:0;padding:0;list-style:none}
.store-pill{display:inline-flex;align-items:center;gap:8px;height:36px;padding:0 14px 0 12px;border:1px solid var(--border);border-radius:999px;background:var(--surface);color:var(--ink);font-size:13px;font-weight:600;line-height:1;white-space:nowrap;cursor:default;user-select:none;-webkit-user-select:none}
.store-pill svg{width:16px;height:16px;flex:none;fill:currentColor}
/* Pep media (operator 17 Nov: "try to protect our pep from being stolen in 3d mode from the website"): no iOS long-press save, no selection, no drag. The same selectors as PEP_MEDIA in pep-guard.js. */
[data-pep-phone] .pep-screen,.pick-pep .pyp-fish,.pick-pep .pyp-actor,[data-waitlist-pep] .wl-pep-stage,.pg-swimmer,.stats-pep,picture.pep,.tide-pep .tide-fish{-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}
:is([data-pep-phone] .pep-screen,.pick-pep .pyp-fish,.pick-pep .pyp-actor,[data-waitlist-pep] .wl-pep-stage,.pg-swimmer,.stats-pep,picture.pep,.tide-pep .tide-fish) :is(img,video,canvas){-webkit-touch-callout:none;-webkit-user-drag:none;user-select:none}

/* The home's "What are peptides?" section (operator 19 Nov), between the stories and Your numbers: the same section
   padding, top rule and head as its neighbours; the first bold line of /peptides in the home's intro style. */
.home-peptides{padding:calc(var(--section-gap)/2) 0;border-top:1px solid var(--border)}
.home-peptides>.hero-lead{max-width:600px;margin:0;text-wrap:pretty}
