:root {
  --bg: #050916;
  --bg-soft: #091225;
  --panel: rgba(11, 22, 43, 0.78);
  --panel-strong: rgba(9, 18, 35, 0.94);
  --text: #edf6ff;
  --muted: #a8b8cc;
  --line: rgba(119, 214, 255, 0.2);
  --body-bg:
    radial-gradient(circle at 20% 0%, rgba(14, 165, 255, 0.28), transparent 28rem),
    radial-gradient(circle at 88% 12%, rgba(61, 220, 151, 0.16), transparent 24rem),
    linear-gradient(135deg, #040711 0%, #071124 54%, #050916 100%);
  --grid-line: rgba(99, 230, 255, 0.07);
  --header-bg: rgba(5, 9, 22, 0.76);
  --hero-visual-bg:
    linear-gradient(135deg, rgba(9, 18, 35, 0.55), rgba(14, 165, 255, 0.1)),
    radial-gradient(circle at 50% 52%, rgba(99, 230, 255, 0.23), transparent 28rem),
    linear-gradient(135deg, #08162b, #092238);
  --section-bg: linear-gradient(180deg, rgba(6, 14, 29, 0.44), rgba(9, 18, 35, 0.82));
  --input-bg: rgba(3, 7, 18, 0.72);
  --footer-bg: #030712;
  --logo-blend: screen;
  --logo-tile: rgba(255, 255, 255, 0.96);
  --button-text: #edf6ff;
  --button-secondary-bg: rgba(6, 14, 29, 0.78);
  --blue: #0ea5ff;
  --cyan: #63e6ff;
  --violet: #8b5cf6;
  --green: #3ddc97;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  --radius: 8px;
}

/* Product authenticity verification */
.authenticity-body {
  --auth-cyan: #50d9ff;
  --auth-green: #38ddb2;
  --auth-red: #ff5870;
  min-height: 100vh;
  background:
    linear-gradient(rgba(19, 113, 154, .08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(19, 113, 154, .08) 1px, transparent 1px),
    radial-gradient(circle at 18% 8%, rgba(12, 119, 180, .18), transparent 32%),
    radial-gradient(circle at 88% 72%, rgba(17, 159, 128, .12), transparent 28%),
    var(--bg);
  background-size: 52px 52px, 52px 52px, auto, auto, auto;
}

.authenticity-nav {
  position: relative;
  z-index: 20;
  padding: .8rem max(1rem, calc((100% - 1080px) / 2));
  background: color-mix(in srgb, var(--header-bg) 92%, transparent);
  backdrop-filter: blur(18px);
}

.authenticity-nav .brand { margin-right: 0; }
.authenticity-nav .brand img { display: block; width: 158px; height: auto; border-radius: 7px; }
.authenticity-nav-label {
  margin-right: auto;
  color: var(--muted);
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .15em;
}

.authenticity-page {
  width: min(100% - 2rem, 820px);
  min-height: calc(100vh - 150px);
  margin: 0 auto;
  padding: clamp(2.2rem, 7vw, 4.5rem) 0 3rem;
}

.authenticity-intro { max-width: 720px; margin: 0 auto 1.7rem; text-align: center; }
.authenticity-intro h1 {
  margin: .5rem 0 .8rem;
  font-size: clamp(2.2rem, 8vw, 4rem);
  line-height: .98;
}
.authenticity-intro > p:last-child {
  max-width: 640px;
  margin: 0 auto;
  color: var(--muted);
  font-size: clamp(.98rem, 3vw, 1.08rem);
  line-height: 1.65;
}

.authenticity-console {
  position: relative;
  isolation: isolate;
  min-height: 610px;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--cyan) 48%, var(--line));
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 42%, rgba(26, 127, 169, .16), transparent 45%),
    color-mix(in srgb, var(--panel-strong) 96%, #031324 4%);
  box-shadow: 0 24px 80px rgba(0, 10, 30, .22), inset 0 0 0 1px rgba(255,255,255,.025);
}

.auth-grid {
  position: absolute;
  inset: 0;
  z-index: -3;
  opacity: .42;
  background-image:
    linear-gradient(rgba(80, 217, 255, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(80, 217, 255, .07) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(circle at center, #000, transparent 75%);
}

.auth-orbit {
  position: absolute;
  z-index: -2;
  left: 50%;
  top: 44%;
  width: min(78vw, 580px);
  aspect-ratio: 1;
  border: 1px solid rgba(80, 217, 255, .16);
  border-radius: 50%;
  transform: translate(-50%, -50%) rotate(14deg) scaleY(.46);
  animation: authOrbit 12s linear infinite;
}
.auth-orbit::before,
.auth-orbit::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--auth-cyan);
  box-shadow: 0 0 20px rgba(80, 217, 255, .65);
}
.auth-orbit::before { left: 13%; top: 13%; }
.auth-orbit::after { right: 7%; bottom: 23%; background: var(--auth-green); }
.auth-orbit-two { width: min(58vw, 430px); transform: translate(-50%, -50%) rotate(-32deg) scaleY(.6); animation-duration: 8s; animation-direction: reverse; }

.auth-state {
  min-height: 610px;
  padding: clamp(1.5rem, 5vw, 3.25rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  animation: authStateIn .65s cubic-bezier(.2,.8,.2,1) both;
}
.auth-state[hidden] { display: none; }
.auth-state h2 { max-width: 650px; margin: .45rem 0 .75rem; font-size: clamp(1.75rem, 6vw, 3rem); line-height: 1.02; }
.auth-state > p:not(.auth-state-code):not(.auth-timestamp):not(.auth-caveat) { max-width: 620px; color: var(--muted); line-height: 1.65; }
.auth-state-code { margin: .85rem 0 0; color: var(--auth-cyan); font-size: .7rem; font-weight: 900; letter-spacing: .19em; }

.auth-phone {
  position: relative;
  width: 116px;
  height: 190px;
  border: 2px solid color-mix(in srgb, var(--auth-cyan) 72%, var(--line));
  border-radius: 22px;
  background: rgba(2, 15, 33, .55);
  box-shadow: inset 0 0 24px rgba(80, 217, 255, .08);
}
.auth-phone::before { content: ""; position: absolute; left: 37px; top: 8px; width: 40px; height: 4px; border-radius: 3px; background: rgba(255,255,255,.26); }
.auth-qr-corners { position: absolute; inset: 46px 23px; border: 2px solid var(--auth-cyan); border-width: 2px 0; }
.auth-qr-corners::before,
.auth-qr-corners::after { content: ""; position: absolute; inset: -12px 12px; border: 2px solid var(--auth-green); border-width: 0 2px; }
.auth-phone-scan { position: absolute; z-index: 2; left: 17px; right: 17px; top: 48px; height: 2px; background: var(--auth-cyan); box-shadow: 0 0 15px var(--auth-cyan); animation: authPhoneScan 2.2s ease-in-out infinite; }
.auth-security-row { display: flex; flex-wrap: wrap; justify-content: center; gap: .55rem; margin-top: 1.25rem; }
.auth-security-row span { padding: .5rem .65rem; border: 1px solid var(--line); border-radius: 6px; background: color-mix(in srgb, var(--panel) 82%, transparent); color: var(--muted); font-size: .72rem; font-weight: 800; }

.auth-processing { justify-content: flex-start; }
.auth-processing-head { width: 100%; display: flex; justify-content: space-between; gap: 1rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line); color: var(--muted); font-size: .66rem; font-weight: 900; letter-spacing: .14em; }
.auth-core-wrap { position: relative; width: 230px; height: 230px; margin: 1.25rem 0 .3rem; display: grid; place-items: center; }
.auth-progress-ring { position: absolute; inset: 5px; width: 220px; height: 220px; transform: rotate(-90deg); overflow: visible; }
.auth-progress-track,.auth-progress-value { fill: none; stroke-width: 3; }
.auth-progress-track { stroke: color-mix(in srgb, var(--line) 78%, transparent); }
.auth-progress-value { stroke: var(--auth-cyan); stroke-linecap: round; filter: drop-shadow(0 0 5px rgba(80,217,255,.45)); }
.auth-progress-number { position: relative; z-index: 3; display: flex; align-items: flex-start; color: var(--text); }
.auth-progress-number strong { font-size: 3.2rem; line-height: 1; }
.auth-progress-number span { margin: .25rem 0 0 .15rem; color: var(--auth-cyan); font-weight: 900; }
.auth-core { position: absolute; width: 120px; height: 120px; border: 1px solid rgba(80,217,255,.3); border-radius: 50%; animation: authCorePulse 2.4s ease-in-out infinite; }
.auth-core::before,.auth-core::after,.auth-core span,.auth-core i,.auth-core b { content: ""; position: absolute; width: 7px; height: 7px; border-radius: 50%; background: var(--auth-cyan); }
.auth-core::before { left: 17px; top: 21px; }.auth-core::after { right: 16px; bottom: 22px; background: var(--auth-green); }.auth-core span { right: 16px; top: 23px; }.auth-core i { left: 13px; bottom: 26px; background: var(--auth-green); }.auth-core b { left: 56px; top: 4px; }
.auth-core span::after,.auth-core i::after { content: ""; position: absolute; width: 76px; height: 1px; top: 3px; background: linear-gradient(90deg,var(--auth-cyan),transparent); transform-origin: left; transform: rotate(39deg); }
.auth-core i::after { transform: rotate(-35deg); background: linear-gradient(90deg,var(--auth-green),transparent); }
.auth-stage-detail { min-height: 1.8em; margin: 0; }
.auth-protocol { width: 100%; display: grid; grid-template-columns: repeat(5,1fr); gap: .45rem; margin-top: 1.1rem; }
.auth-protocol span { position: relative; padding: .55rem .2rem; border-top: 2px solid var(--line); color: var(--muted); font-size: .62rem; font-weight: 900; text-transform: uppercase; letter-spacing: .06em; transition: color .35s, border-color .35s, background .35s; }
.auth-protocol span.is-active { border-color: var(--auth-cyan); color: var(--text); background: linear-gradient(180deg,rgba(80,217,255,.1),transparent); }
.auth-terminal { width: 100%; min-height: 76px; margin-top: 1rem; padding: .7rem .85rem; display: flex; flex-direction: column; justify-content: flex-end; gap: .2rem; border: 1px solid var(--line); border-radius: 6px; background: rgba(1,10,24,.62); text-align: left; font: 700 .62rem/1.35 ui-monospace, SFMono-Regular, Menlo, monospace; color: color-mix(in srgb, var(--auth-cyan) 76%, white); }
.auth-terminal span { animation: authTerminalIn .3s ease-out both; }

.auth-result { padding-top: 3.5rem; padding-bottom: 3.5rem; }
.auth-verdict-icon { width: 92px; height: 92px; display: grid; place-items: center; border: 1px solid var(--auth-green); border-radius: 50%; background: rgba(56,221,178,.1); box-shadow: 0 0 0 12px rgba(56,221,178,.035); animation: authVerdict .7s cubic-bezier(.2,1.5,.4,1) both; }
.auth-verdict-icon svg { width: 48px; height: 48px; fill: none; stroke: var(--auth-green); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.auth-invalid .auth-verdict-icon { border-color: var(--auth-red); background: rgba(255,88,112,.1); box-shadow: 0 0 0 12px rgba(255,88,112,.035); }
.auth-invalid .auth-verdict-icon svg { stroke: var(--auth-red); }
.auth-invalid .auth-state-code { color: var(--auth-red); }
.auth-verdict-lead { margin: 0 0 1.2rem; }
.auth-record { width: min(100%, 620px); display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1px; overflow: hidden; margin: 1.15rem 0; border: 1px solid var(--line); border-radius: 8px; background: var(--line); text-align: left; }
.auth-record div { padding: 1rem; background: color-mix(in srgb, var(--panel-strong) 96%, transparent); }
.auth-record dt { margin-bottom: .3rem; color: var(--muted); font-size: .66rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.auth-record dd { margin: 0; font-weight: 850; }
.auth-timestamp { margin: .2rem 0 1rem; color: var(--muted); font-size: .75rem; }
.auth-product-link { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: .7rem 1rem; border: 1px solid var(--auth-cyan); border-radius: 7px; color: var(--text); background: rgba(80,217,255,.08); font-weight: 850; text-decoration: none; }
.auth-caveat { max-width: 620px; margin: 1.25rem 0 0; padding-top: 1rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .76rem; line-height: 1.55; }
.auth-privacy { margin: 1rem 0 0; color: var(--muted); text-align: center; font-size: .75rem; }
.authenticity-footer { padding: 1.4rem 1rem 2rem; color: var(--muted); text-align: center; font-size: .75rem; }

@keyframes authOrbit { to { transform: translate(-50%,-50%) rotate(374deg) scaleY(.46); } }
@keyframes authCorePulse { 50% { transform: scale(1.06) rotate(7deg); border-color: rgba(80,217,255,.58); } }
@keyframes authPhoneScan { 0%,100% { transform: translateY(0); opacity:.55; } 50% { transform: translateY(80px); opacity:1; } }
@keyframes authStateIn { from { opacity:0; transform:translateY(14px); } to { opacity:1; transform:none; } }
@keyframes authTerminalIn { from { opacity:0; transform:translateX(-8px); } to { opacity:1; transform:none; } }
@keyframes authVerdict { from { opacity:0; transform:scale(.55) rotate(-8deg); } to { opacity:1; transform:none; } }

@media (max-width: 620px) {
  .authenticity-nav { flex-wrap: wrap; gap: .65rem; }
  .authenticity-nav .brand img { width: 138px; }
  .authenticity-nav-label { order: 4; width: 100%; }
  .authenticity-page { width: min(100% - 1rem, 820px); padding-top: 2rem; }
  .authenticity-console,.auth-state { min-height: 590px; }
  .auth-state { padding: 1.25rem; }
  .auth-processing-head { font-size: .58rem; }
  .auth-core-wrap { margin-top: .8rem; transform: scale(.86); margin-bottom: -1rem; }
  .auth-protocol { gap: .15rem; }
  .auth-protocol span { font-size: .51rem; letter-spacing: 0; }
  .auth-record { grid-template-columns: 1fr; }
  .auth-orbit { width: 150vw; }
}

@media (prefers-reduced-motion: reduce) {
  .auth-orbit,.auth-core,.auth-phone-scan { animation-duration: 1ms; animation-iteration-count: 1; }
  .auth-state,.auth-terminal span,.auth-verdict-icon { animation: none; }
}

html[data-theme="light"] {
  --bg: #f6fbff;
  --bg-soft: #eaf5ff;
  --panel: rgba(255, 255, 255, 0.84);
  --panel-strong: rgba(255, 255, 255, 0.96);
  --text: #071124;
  --muted: #506174;
  --line: rgba(14, 84, 142, 0.18);
  --body-bg:
    radial-gradient(circle at 17% 0%, rgba(14, 165, 255, 0.22), transparent 29rem),
    radial-gradient(circle at 84% 10%, rgba(61, 220, 151, 0.2), transparent 24rem),
    linear-gradient(135deg, #fafdff 0%, #edf7ff 53%, #f7fbff 100%);
  --grid-line: rgba(14, 84, 142, 0.08);
  --header-bg: rgba(250, 253, 255, 0.82);
  --hero-visual-bg:
    linear-gradient(135deg, rgba(255, 255, 255, 0.72), rgba(14, 165, 255, 0.12)),
    radial-gradient(circle at 50% 52%, rgba(99, 230, 255, 0.34), transparent 27rem),
    linear-gradient(135deg, #f8fcff, #dff7ff);
  --section-bg: linear-gradient(180deg, rgba(234, 245, 255, 0.54), rgba(255, 255, 255, 0.84));
  --input-bg: rgba(255, 255, 255, 0.76);
  --footer-bg: #eaf5ff;
  --logo-blend: normal;
  --logo-tile: rgba(255, 255, 255, 0.92);
  --button-text: #ffffff;
  --button-secondary-bg: rgba(255, 255, 255, 0.72);
  --shadow: 0 24px 70px rgba(14, 46, 84, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--body-bg);
  min-height: 100vh;
}

html[data-view="mobile"] {
  background: #020617;
}

html[data-view="mobile"] body {
  max-width: 390px;
  margin: 0 auto;
  overflow-x: hidden;
  box-shadow:
    0 0 0 1px rgba(99, 230, 255, 0.28),
    0 30px 110px rgba(0, 0, 0, 0.55);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(to bottom, black, transparent 80%);
  z-index: -1;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: var(--header-bg);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 9px;
  background: var(--logo-tile);
}

.brand img {
  width: 176px;
  height: 44px;
  object-fit: contain;
  object-position: center center;
  mix-blend-mode: normal;
  border-radius: 9px;
  clip-path: inset(0 round 9px);
  filter: drop-shadow(0 0 16px rgba(14, 165, 255, 0.35));
}

.nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(14px, 3vw, 34px);
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
}

.nav-links a:hover,
.nav-dropdown summary:hover {
  color: var(--cyan);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown summary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  cursor: pointer;
  transition: color 180ms ease;
}

.nav-dropdown summary::-webkit-details-marker {
  display: none;
}

.dropdown-caret {
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 180ms ease;
}

.nav-dropdown[open] .dropdown-caret {
  transform: translateY(2px) rotate(225deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 18px);
  left: 50%;
  z-index: 80;
  width: 220px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel-strong);
  box-shadow: var(--shadow);
  transform: translateX(-50%);
}

.nav-dropdown-menu::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 50%;
  width: 14px;
  height: 14px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  background: var(--panel-strong);
  transform: translateX(-50%) rotate(45deg);
}

.nav-dropdown-menu a {
  position: relative;
  z-index: 1;
  display: block;
  padding: 10px 12px;
  border-radius: 6px;
  color: var(--muted);
}

.nav-dropdown-menu a:hover {
  color: var(--text);
  background: rgba(99, 230, 255, 0.1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.view-toggle,
.theme-toggle,
.lang-toggle,
.button {
  min-height: 42px;
  border: 1px solid rgba(99, 230, 255, 0.36);
  border-radius: var(--radius);
  color: var(--button-text);
  background: linear-gradient(135deg, rgba(14, 165, 255, 0.96), rgba(61, 220, 151, 0.82));
  box-shadow: 0 12px 38px rgba(14, 165, 255, 0.22);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
}

.button:hover,
.view-toggle:hover,
.theme-toggle:hover,
.lang-toggle:hover {
  transform: translateY(-2px);
  border-color: rgba(99, 230, 255, 0.75);
}

.button-secondary {
  background: var(--button-secondary-bg);
  color: var(--cyan);
  box-shadow: none;
}

.button-small {
  min-height: 38px;
  padding: 0 14px;
  font-size: 0.88rem;
}

.view-toggle,
.theme-toggle,
.lang-toggle {
  display: inline-grid;
  grid-template-columns: auto 34px auto;
  align-items: center;
  gap: 8px;
  padding: 0 10px;
  background: rgba(7, 17, 36, 0.78);
  box-shadow: none;
  font-size: 0.8rem;
}

.device-icon {
  position: relative;
  display: inline-block;
  width: 18px;
  height: 18px;
  color: var(--text);
}

.browser-icon {
  border: 2px solid currentColor;
  border-radius: 4px;
}

.browser-icon::before {
  content: "";
  position: absolute;
  left: 2px;
  right: 2px;
  top: 4px;
  border-top: 2px solid currentColor;
}

.phone-icon {
  width: 13px;
  border: 2px solid currentColor;
  border-radius: 4px;
}

.phone-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 2px;
  width: 3px;
  height: 3px;
  border-radius: 999px;
  background: currentColor;
  transform: translateX(-50%);
}

.theme-icon {
  width: 1.1em;
  line-height: 1;
  text-align: center;
}

.toggle-track {
  width: 34px;
  height: 18px;
  border-radius: 999px;
  background: rgba(99, 230, 255, 0.18);
  border: 1px solid rgba(99, 230, 255, 0.36);
  padding: 2px;
}

.toggle-track span {
  display: block;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--cyan);
  transform: translateX(0);
  transition: transform 180ms ease;
}

html[lang="en"] .lang-toggle .toggle-track span {
  transform: translateX(14px);
}

html[data-theme="dark"] .theme-toggle .toggle-track span {
  transform: translateX(14px);
}

html[data-view="mobile"] .view-toggle .toggle-track span {
  transform: translateX(14px);
}

.section {
  padding: clamp(72px, 9vw, 132px) clamp(18px, 5vw, 72px);
}

.hero {
  min-height: auto;
  display: grid;
  align-content: start;
  gap: 24px;
  padding-bottom: clamp(22px, 3.2vw, 44px);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 1fr);
  gap: clamp(32px, 7vw, 96px);
  align-items: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--cyan);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 14px;
  font-size: clamp(4rem, 10vw, 8.5rem);
  line-height: 0.82;
  font-weight: 800;
  text-shadow: 0 0 34px rgba(14, 165, 255, 0.38);
}

h2 {
  font-size: clamp(2rem, 5vw, 4.9rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  font-size: 1.25rem;
}

.hero-lede {
  max-width: 720px;
  color: var(--text);
  font-size: clamp(1.25rem, 2.2vw, 2.05rem);
  line-height: 1.26;
  font-weight: 700;
}

.hero-note,
.about-copy p,
.section-heading h2 + p {
  max-width: 680px;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-visual {
  position: relative;
  isolation: isolate;
  width: 100%;
  min-height: unset;
  aspect-ratio: auto;
  display: grid;
  place-items: center;
  padding: clamp(58px, 6vw, 84px) clamp(28px, 5vw, 64px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--hero-visual-bg);
  box-shadow: var(--shadow);
}

.hero-visual img {
  width: min(76%, 620px);
  padding: 20px;
  border-radius: var(--radius);
  background: var(--logo-tile);
  box-shadow: 0 0 46px rgba(99, 230, 255, 0.24);
}

.orbital {
  position: absolute;
  border: 1px solid rgba(99, 230, 255, 0.35);
  border-radius: 50%;
}

.orbital-one {
  width: 410px;
  height: 410px;
  transform: rotate(28deg) scaleX(1.38);
}

.orbital-two {
  width: 250px;
  height: 250px;
  transform: rotate(-24deg) scaleX(1.48);
  border-color: rgba(61, 220, 151, 0.34);
}

.molecule-field span {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--cyan);
  box-shadow: 0 0 24px var(--cyan);
}

.molecule-field span:nth-child(1) { top: 16%; left: 28%; }
.molecule-field span:nth-child(2) { top: 27%; right: 18%; background: var(--green); }
.molecule-field span:nth-child(3) { bottom: 18%; left: 18%; }
.molecule-field span:nth-child(4) { bottom: 31%; right: 29%; background: var(--green); }
.molecule-field span:nth-child(5) { top: 52%; left: 12%; }
.molecule-field span:nth-child(6) { top: 62%; right: 12%; }

.hero-metric {
  position: absolute;
  right: 22px;
  bottom: 22px;
  width: min(190px, calc(100% - 44px));
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel-strong);
  backdrop-filter: blur(14px);
}

.hero-metric strong {
  display: block;
  font-size: 2rem;
  color: var(--cyan);
}

.hero-metric span {
  color: var(--muted);
  font-size: 0.86rem;
}

.research-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--panel);
}

.research-strip span {
  padding: 13px 18px;
  color: var(--muted);
  font-weight: 700;
  text-align: center;
}

.research-strip span + span {
  border-left: 1px solid var(--line);
}

.section-heading {
  max-width: 920px;
  margin-bottom: 42px;
}

.products-section {
  padding-top: clamp(36px, 5vw, 68px);
}

.product-trust-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: -16px 0 28px;
}

.product-trust-row span {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  background: var(--panel);
  font-size: 0.9rem;
  font-weight: 800;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.16);
}

.product-trust-row span::before {
  content: "";
  flex: 0 0 auto;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 18px rgba(61, 220, 151, 0.75);
}

.product-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
}

.product-card,
.quality-grid article,
.contact-form,
.contact-info,
.about-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.product-card {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
}

.product-card-wide {
  grid-column: 1 / -1;
  grid-template-columns: 1fr;
  grid-template-rows: auto 1fr;
}

.product-image {
  min-height: clamp(240px, 42vw, 520px);
  background: #f7fbff;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-body {
  padding: 24px;
}

.product-topline {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.product-body h3 {
  margin-bottom: 4px;
  font-size: 2rem;
}

.product-buy-link {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 34px;
  margin: 8px 0 12px;
  padding: 0 14px;
  border: 1px solid rgba(99, 230, 255, 0.54);
  border-radius: 6px;
  color: #001321;
  background: linear-gradient(135deg, var(--blue), var(--green));
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
  visibility: visible;
  opacity: 1;
  box-shadow: 0 14px 30px rgba(14, 165, 255, 0.18);
}

.product-buy-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 38px rgba(14, 165, 255, 0.26);
}

.product-detail-link {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin: 0 0 12px 10px;
  color: var(--cyan);
  font-size: 0.82rem;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
}

.product-detail-link::after {
  content: "->";
  margin-left: 0.45rem;
}

.product-detail-link:hover {
  color: var(--green);
}

.product-index-card picture,
.product-detail-figure picture {
  display: block;
}

.product-index-card picture img {
  display: block;
}

.strength {
  color: var(--text);
  font-weight: 700;
}

.product-body p:not(.strength) {
  color: var(--muted);
  line-height: 1.62;
}

dl {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 20px 0 0;
}

dl div {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--cyan) 9%, transparent);
}

dt {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
}

dd {
  margin: 5px 0 0;
  color: var(--text);
  font-weight: 800;
}

.quality-section,
.contact-section {
  background: var(--section-bg);
}

.quality-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.quality-grid article {
  padding: 26px;
}

.quality-icon {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--cyan) 14%, transparent);
  border: 1px solid var(--line);
  font-size: 1.55rem;
}

.quality-grid p,
.contact-info p,
.about-panel li {
  color: var(--muted);
  line-height: 1.6;
}

.about-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(28px, 6vw, 84px);
  align-items: center;
  padding-bottom: clamp(44px, 5vw, 78px);
}

.contact-section {
  padding-top: clamp(54px, 6vw, 92px);
}

.about-panel {
  position: relative;
  padding: 30px;
  overflow: hidden;
}

.about-panel ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.about-panel li {
  position: relative;
  padding-left: 24px;
}

.about-panel li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 16px rgba(61, 220, 151, 0.8);
}

.award {
  position: absolute;
  right: 24px;
  bottom: 18px;
  font-size: 4rem;
  opacity: 0.14;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.55fr);
  gap: 20px;
}

.contact-form,
.contact-info {
  padding: 28px;
}

.contact-form {
  display: grid;
  gap: 16px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(99, 230, 255, 0.2);
  border-radius: var(--radius);
  padding: 13px 14px;
  color: var(--text);
  background: var(--input-bg);
  font: inherit;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(99, 230, 255, 0.55);
  border-color: transparent;
}

.form-status {
  min-height: 24px;
  color: var(--green);
  font-size: 0.9rem;
}

.contact-info {
  display: grid;
  align-content: start;
  gap: 22px;
}

.contact-info div {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 14px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.contact-info strong {
  display: block;
  margin-bottom: 6px;
  color: var(--text);
}

.contact-info a {
  color: var(--cyan);
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: clamp(28px, 8vw, 110px);
  padding: 46px clamp(18px, 5vw, 72px) 28px;
  border-top: 1px solid var(--line);
  background: var(--footer-bg);
}

.site-footer img {
  width: 176px;
  height: 44px;
  object-fit: contain;
  object-position: center center;
  mix-blend-mode: var(--logo-blend);
  border-radius: 9px;
  clip-path: inset(0 round 9px);
  filter: drop-shadow(0 0 16px rgba(14, 165, 255, 0.35));
}

.site-footer p,
.site-footer a {
  color: var(--muted);
}

.site-footer h3 {
  margin-bottom: 16px;
  color: var(--text);
  font-size: 0.98rem;
}

.site-footer a {
  display: block;
  margin: 10px 0;
}

.site-footer .footer-logo-link {
  display: inline-block;
  margin: 0;
  border-radius: 9px;
}

.site-footer .footer-logo-link:hover {
  transform: translateY(-1px);
}

.footer-bottom {
  grid-column: 1 / -1;
  margin: 22px 0 0;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 0.88rem;
}

.article-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  padding: 14px clamp(18px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
  background: var(--header-bg);
  backdrop-filter: blur(18px);
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
}

.article-nav a {
  color: inherit;
}

.article-nav a:hover {
  color: var(--cyan);
}

.article-nav .brand {
  margin-right: auto;
  color: var(--text);
  font-weight: 900;
  letter-spacing: 0.12em;
}

.calculator-brand {
  display: grid;
  grid-template-columns: auto auto;
  gap: 0 9px;
  align-items: center;
  letter-spacing: 0;
}

.calculator-brand span {
  grid-row: span 2;
  color: var(--cyan);
  font-size: 1.65rem;
  filter: drop-shadow(0 0 14px rgba(99, 230, 255, 0.45));
}

.calculator-brand strong {
  color: var(--text);
  font-size: 1.25rem;
  letter-spacing: 0.18em;
  line-height: 1;
}

.calculator-brand small {
  color: var(--cyan);
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.11em;
  line-height: 1.15;
}

.calculator-theme-toggle {
  min-height: 34px;
  padding: 0 9px;
}

.calculator-page {
  padding: clamp(48px, 7vw, 88px) clamp(18px, 5vw, 72px) clamp(70px, 8vw, 120px);
  overflow-x: hidden;
}

.calculator-hero {
  max-width: 950px;
  margin: 0 0 34px;
}

.calculator-hero h1 {
  max-width: 980px;
  margin-bottom: 18px;
  font-size: clamp(2.6rem, 7vw, 6.5rem);
  line-height: 0.95;
}

.calculator-hero p:not(.eyebrow) {
  max-width: 820px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
}

.calculator-subnav {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 0 0 22px;
}

.calculator-subnav a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  background: var(--button-secondary-bg);
  font-size: 0.9rem;
  font-weight: 900;
}

.calculator-subnav a:hover,
.calculator-subnav a.is-active {
  color: var(--text);
  border-color: rgba(99, 230, 255, 0.7);
  background: linear-gradient(135deg, rgba(14, 165, 255, 0.25), rgba(61, 220, 151, 0.14));
}

.calculator-module-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 0 0 22px;
}

.module-card {
  display: grid;
  gap: 8px;
  min-height: 150px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: inherit;
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.module-card:hover {
  transform: translateY(-2px);
  border-color: rgba(99, 230, 255, 0.62);
}

.module-card span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--cyan);
  background: var(--input-bg);
  font-size: 0.82rem;
  font-weight: 900;
}

.module-card strong {
  color: var(--text);
  font-size: 1.2rem;
  line-height: 1.15;
}

.module-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.calculator-subpage {
  max-width: 1180px;
}

.subpage-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}

.subpage-card {
  padding: clamp(22px, 4vw, 34px);
}

.subpage-card > p {
  max-width: 780px;
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.7;
}

.subpage-placeholder {
  display: grid;
  gap: 8px;
  margin-top: 22px;
  padding: 18px;
  border: 1px dashed rgba(99, 230, 255, 0.58);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--cyan) 8%, transparent);
}

.subpage-placeholder strong {
  color: var(--text);
  font-size: 1.05rem;
}

.subpage-placeholder p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.calculator-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.55fr);
  gap: 20px;
  align-items: start;
}

.calculator-panel,
.calculator-output {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.calculator-panel {
  display: grid;
  gap: 18px;
  padding: clamp(20px, 3vw, 30px);
}

.calculator-output {
  position: sticky;
  top: 88px;
  display: grid;
  gap: 18px;
  padding: clamp(20px, 3vw, 28px);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.calculator-panel > .form-row:first-child {
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
}

.profile-panel .form-row {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.research-note,
.calculator-source {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--cyan) 8%, transparent);
  color: var(--muted);
  padding: 14px;
  line-height: 1.55;
  font-size: 0.92rem;
}

.profile-panel {
  display: grid;
  gap: 16px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--green) 6%, transparent);
}

.profile-panel[data-enabled="false"] {
  opacity: 0.72;
}

.profile-panel h2 {
  margin: 0 0 6px;
  font-size: 1.28rem;
}

.profile-panel p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.sex-toggle {
  display: inline-flex;
  width: max-content;
  gap: 6px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--input-bg);
}

.sex-toggle button {
  width: 40px;
  height: 34px;
  border: 0;
  border-radius: 6px;
  color: var(--muted);
  background: transparent;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.sex-toggle button[aria-pressed="true"] {
  color: var(--button-text);
  background: linear-gradient(135deg, var(--blue), var(--green));
}

.sex-toggle button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.product-summary {
  display: grid;
  gap: 6px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.product-summary span,
.calc-results span {
  color: var(--cyan);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.product-summary strong {
  color: var(--text);
  font-size: 1.55rem;
  line-height: 1.1;
}

.product-summary small,
.calc-results small {
  color: var(--muted);
  font-weight: 800;
}

.product-summary p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.calc-results {
  display: grid;
  gap: 10px;
}

.compact-results {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.calc-results article {
  display: grid;
  gap: 5px;
  min-height: 94px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--input-bg);
}

.calc-results strong {
  color: var(--text);
  font-size: 1.8rem;
  line-height: 1;
}

.glp-page {
  max-width: 1500px;
  margin: 0 auto;
}

html[data-theme="light"] .glp-card,
html[data-theme="light"] .peptide-pill,
html[data-theme="light"] .final-weight-box,
html[data-theme="light"] .metric-row article,
html[data-theme="light"] .prep-product-name,
html[data-theme="light"] .radio-row,
html[data-theme="light"] .chart-wrap {
  background: rgba(255, 255, 255, 0.78);
}

html[data-theme="light"] .chart-wrap,
html[data-theme="light"] .weight-number input,
html[data-theme="light"] input,
html[data-theme="light"] select {
  color: var(--text);
}

html[data-theme="light"] .chart-tooltip {
  background: rgba(255, 255, 255, 0.95);
}

.glp-hero {
  max-width: 1040px;
}

.glp-peptide-bar {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 22px;
}

.peptide-pill,
.amount-chip,
.unit-chip,
.gender-chip {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  background: var(--button-secondary-bg);
  font: inherit;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.peptide-pill {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 3px 12px;
  align-items: center;
  padding: 15px 16px;
  text-align: left;
}

.peptide-pill:hover,
.amount-chip:hover,
.unit-chip:hover,
.gender-chip:hover {
  border-color: rgba(99, 230, 255, 0.58);
}

.peptide-pill[aria-pressed="true"],
.amount-chip[aria-pressed="true"],
.unit-chip[aria-pressed="true"],
.gender-chip[aria-pressed="true"] {
  border-color: rgba(99, 230, 255, 0.74);
  background: linear-gradient(135deg, rgba(14, 165, 255, 0.28), rgba(61, 220, 151, 0.18));
  box-shadow: 0 0 30px rgba(99, 230, 255, 0.12);
}

.peptide-pill small {
  grid-column: 2;
  color: var(--muted);
  font-weight: 800;
}

.peptide-dot {
  grid-row: span 2;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  box-shadow: 0 0 18px currentColor;
}

.dot-s { color: #22a7ff; background: #22a7ff; }
.dot-t { color: #35d5aa; background: #35d5aa; }
.dot-r { color: #8b5cf6; background: #8b5cf6; }

.glp-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.25fr);
  gap: 20px;
  align-items: stretch;
}

.glp-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.glp-inputs,
.projection-card,
.prep-card {
  padding: clamp(20px, 3vw, 30px);
}

.glp-card-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}

.glp-card-title span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--cyan);
  background: var(--input-bg);
  font-size: 0.82rem;
  font-weight: 900;
}

.glp-card-title h2 {
  margin: 0;
  font-size: 1.45rem;
  line-height: 1.1;
}

.weight-input-block {
  display: grid;
  gap: 14px;
  margin-bottom: 22px;
}

.input-topline,
.radio-row,
.unit-toggle,
.gender-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
}

.input-topline {
  justify-content: space-between;
}

.input-topline label,
.field-label {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.unit-toggle,
.gender-toggle {
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--input-bg);
}

.unit-chip,
.gender-chip {
  min-height: 32px;
  padding: 0 12px;
  border-radius: 6px;
}

.weight-number {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 14px;
}

.weight-number input {
  min-height: 84px;
  text-align: center;
  font-size: clamp(2.3rem, 6vw, 4rem);
  font-weight: 900;
}

.weight-number span {
  color: var(--muted);
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  font-weight: 900;
}

.range-control {
  accent-color: var(--cyan);
}

.glp-grid {
  display: grid;
  gap: 14px;
  margin-bottom: 18px;
}

.glp-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.glp-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.glp-grid.four { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.patient-metrics { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.glp-inputs .glp-grid.two {
  grid-template-columns: 1fr;
}

.radio-row {
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid rgba(99, 230, 255, 0.2);
  border-radius: var(--radius);
  background: var(--input-bg);
}

.radio-row label {
  display: flex;
  grid-template-columns: none;
  color: var(--text);
  font-size: 0.95rem;
}

.amount-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 9px 0 12px;
}

.amount-chip {
  min-height: 40px;
  padding: 0 14px;
  font-weight: 900;
}

.projection-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  margin-bottom: 22px;
}

.projection-head h2 {
  margin: 0 0 8px;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 0.95;
}

.projection-head h2 span {
  color: var(--muted);
  font-size: 0.42em;
}

.projected-loss {
  display: block;
  color: var(--green);
  font-size: clamp(3rem, 7vw, 5.5rem);
  line-height: 0.95;
  text-shadow: 0 0 28px rgba(61, 220, 151, 0.38);
}

.final-weight-box {
  min-width: 210px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--input-bg);
  text-align: right;
}

.final-weight-box span,
.metric-row span,
.prep-product-name span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.final-weight-box strong {
  display: block;
  margin: 9px 0;
  color: var(--text);
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1;
}

.final-weight-box small {
  color: var(--green);
  font-weight: 900;
}

.chart-wrap {
  position: relative;
  height: clamp(280px, 38vw, 430px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(3, 7, 18, 0.46);
}

#weightChart {
  display: block;
  width: 100%;
  height: 100%;
}

@media (max-width: 1120px) {
  .glp-layout {
    grid-template-columns: 1fr;
  }

  .calculator-module-grid {
    grid-template-columns: 1fr;
  }

  .projection-head {
    grid-template-columns: 1fr;
  }

  .final-weight-box {
    min-width: 0;
    text-align: left;
  }
}

.chart-tooltip {
  position: absolute;
  z-index: 5;
  max-width: 210px;
  padding: 9px 11px;
  border: 1px solid rgba(99, 230, 255, 0.7);
  border-radius: var(--radius);
  color: var(--text);
  background: rgba(3, 7, 18, 0.93);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.28);
  font-size: 0.82rem;
  font-weight: 900;
  pointer-events: none;
  transform: translate(12px, -110%);
}

.chart-legend {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.chart-legend span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.legend-line {
  display: inline-block;
  width: 28px;
  height: 3px;
  border-radius: 999px;
}

.selected-line {
  background: var(--green);
}

.sema-line {
  border-top: 3px dotted #22a7ff;
}

.baseline-line {
  border-top: 3px dashed color-mix(in srgb, var(--muted) 72%, transparent);
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.metric-row article,
.prep-product-name {
  display: grid;
  gap: 6px;
  min-height: 86px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--input-bg);
}

.metric-row strong,
.prep-product-name strong {
  color: var(--text);
  font-size: 1.4rem;
  line-height: 1.05;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.benefit-grid article {
  display: grid;
  gap: 7px;
  min-height: 84px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--green) 7%, var(--input-bg));
}

.benefit-grid span {
  display: block;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 900;
  line-height: 1.2;
}

.benefit-grid strong {
  color: var(--text);
  display: block;
  font-size: 1.08rem;
  line-height: 1.22;
}

.prep-card {
  margin-top: 20px;
}

.prep-results {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.calculator-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 20px;
}

html[data-view="mobile"] .site-header {
  grid-template-columns: 1fr auto;
  padding: 10px;
  gap: 8px;
}

html[data-view="mobile"] .nav-links {
  display: none;
}

html[data-view="mobile"] .header-actions {
  gap: 6px;
  justify-self: end;
}

html[data-view="mobile"] .brand img {
  width: 84px;
  height: 36px;
}

html[data-view="mobile"] .view-toggle,
html[data-view="mobile"] .theme-toggle,
html[data-view="mobile"] .lang-toggle {
  min-height: 34px;
  grid-template-columns: auto 28px auto;
  gap: 5px;
  padding: 0 6px;
  font-size: 0.64rem;
}

html[data-view="mobile"] .toggle-track {
  width: 28px;
  height: 16px;
}

html[data-view="mobile"] .toggle-track span {
  width: 10px;
  height: 10px;
}

html[data-view="mobile"] .view-toggle .toggle-track span,
html[data-view="mobile"][lang="en"] .lang-toggle .toggle-track span,
html[data-view="mobile"][data-theme="dark"] .theme-toggle .toggle-track span {
  transform: translateX(12px);
}

html[data-view="mobile"] .button-small {
  display: none;
}

html[data-view="mobile"] .section {
  padding: 62px 16px;
}

html[data-view="mobile"] .about-section {
  padding-bottom: 42px;
}

html[data-view="mobile"] .contact-section {
  padding-top: 46px;
}

html[data-view="mobile"] .hero {
  min-height: auto;
  padding-bottom: 30px;
}

html[data-view="mobile"] .products-section {
  padding-top: 40px;
}

html[data-view="mobile"] h1 {
  font-size: clamp(3.35rem, 16vw, 4.9rem);
}

html[data-view="mobile"] h2 {
  font-size: clamp(2rem, 10vw, 3.1rem);
}

html[data-view="mobile"] .hero-lede {
  font-size: clamp(1.12rem, 5.6vw, 1.45rem);
}

html[data-view="mobile"] .hero-actions {
  display: grid;
  grid-template-columns: 1fr;
}

html[data-view="mobile"] .hero-grid,
html[data-view="mobile"] .product-grid,
html[data-view="mobile"] .product-card-wide,
html[data-view="mobile"] .product-trust-row,
html[data-view="mobile"] .quality-grid,
html[data-view="mobile"] .about-panel ul,
html[data-view="mobile"] .research-strip,
html[data-view="mobile"] .site-footer,
html[data-view="mobile"] .about-section,
html[data-view="mobile"] .contact-grid {
  grid-template-columns: 1fr;
}

html[data-view="mobile"] .hero-visual {
  min-height: unset;
  aspect-ratio: auto;
  padding: 46px 28px 52px;
}

html[data-view="mobile"] .hero-visual img {
  width: 84%;
  padding: 10px;
}

html[data-view="mobile"] .product-trust-row {
  margin: -14px 0 22px;
}

html[data-view="mobile"] .hero-metric {
  right: 12px;
  bottom: 12px;
  width: 142px;
  padding: 12px;
}

html[data-view="mobile"] .hero-metric strong {
  font-size: 1.55rem;
}

html[data-view="mobile"] .research-strip span + span {
  border-left: 0;
  border-top: 1px solid var(--line);
}

html[data-view="mobile"] .product-image {
  min-height: 210px;
}

html[data-view="mobile"] .product-image img {
  height: auto;
  max-height: 360px;
  object-fit: contain;
}

html[data-view="mobile"] .product-body {
  padding: 18px;
}

html[data-view="mobile"] .product-body h3 {
  font-size: 1.72rem;
}

html[data-view="mobile"] dl {
  grid-template-columns: 1fr;
}

html[data-view="mobile"] .product-topline {
  display: grid;
}

html[data-view="mobile"] .contact-form,
html[data-view="mobile"] .contact-info,
html[data-view="mobile"] .about-panel {
  padding: 20px;
}

html[data-view="mobile"] input,
html[data-view="mobile"] select,
html[data-view="mobile"] textarea {
  min-height: 46px;
  font-size: 16px;
}

@media (max-width: 1040px) {
  .hero-grid,
  .about-section,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: unset;
    aspect-ratio: auto;
  }

  .product-trust-row,
  .quality-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .site-header {
    grid-template-columns: 1fr auto;
    padding: 10px;
    gap: 8px;
  }

  .nav-links {
    display: none;
  }

  .header-actions {
    gap: 6px;
    justify-self: end;
  }

  .brand img {
    width: 112px;
    height: 38px;
  }

  .view-toggle,
  .theme-toggle,
  .lang-toggle {
    min-height: 34px;
    grid-template-columns: auto 28px auto;
    gap: 5px;
    padding: 0 7px;
    font-size: 0.7rem;
  }

  .toggle-track {
    width: 28px;
    height: 16px;
  }

  .toggle-track span {
    width: 10px;
    height: 10px;
  }

  html[lang="en"] .lang-toggle .toggle-track span,
  html[data-view="mobile"] .view-toggle .toggle-track span,
  html[data-theme="dark"] .theme-toggle .toggle-track span {
    transform: translateX(12px);
  }

  .button-small {
    display: none;
  }

  .section {
    padding: 62px 16px;
  }

  .about-section {
    padding-bottom: 42px;
  }

  .contact-section {
    padding-top: 46px;
  }

  .hero {
    min-height: auto;
    padding-bottom: 30px;
  }

  .products-section {
    padding-top: 40px;
  }

  h1 {
    font-size: clamp(3.35rem, 16vw, 4.9rem);
  }

  h2 {
    font-size: clamp(2rem, 10vw, 3.1rem);
  }

  .hero-lede {
    font-size: clamp(1.12rem, 5.6vw, 1.45rem);
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-grid,
  .product-grid,
  .product-card-wide,
  .product-trust-row,
  .quality-grid,
  .about-panel ul,
  .research-strip,
  .calculator-shell,
  .glp-peptide-bar,
  .glp-layout,
  .form-row,
  .profile-panel .form-row,
  .compact-results,
  .glp-grid.two,
  .glp-grid.three,
  .glp-grid.four,
  .patient-metrics,
  .projection-head,
  .metric-row,
  .prep-results,
  .benefit-grid,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: unset;
    aspect-ratio: auto;
    padding: 46px 28px 52px;
  }

  .hero-visual img {
    width: 84%;
    padding: 10px;
  }

  .hero-metric {
    right: 12px;
    bottom: 12px;
    width: 142px;
    padding: 12px;
  }

  .hero-metric strong {
    font-size: 1.55rem;
  }

  .research-strip span + span {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .product-image {
    min-height: 210px;
  }

  .product-image img {
    height: auto;
    max-height: 360px;
    object-fit: contain;
  }

  .product-body {
    padding: 18px;
  }

  .product-body h3 {
    font-size: 1.72rem;
  }

  dl {
    grid-template-columns: 1fr;
  }

  .product-topline {
    display: grid;
  }

  .contact-form,
  .contact-info,
  .about-panel {
    padding: 20px;
  }

  input,
  select,
  textarea {
    min-height: 46px;
    font-size: 16px;
  }

  .article-nav {
    gap: 12px;
    padding: 12px 16px;
  }

  .article-nav .brand {
    flex-basis: 100%;
  }

  .calculator-page {
    padding: 44px 16px 70px;
  }

  .calculator-hero h1 {
    font-size: clamp(2.3rem, 13vw, 3.5rem);
  }

  .calculator-output {
    position: static;
  }

  .weight-number {
    grid-template-columns: 1fr;
  }

  .projection-head,
  .final-weight-box {
    text-align: left;
  }

  .calculator-actions .button {
    width: 100%;
  }
}

@media (max-width: 360px) {
  .brand img {
    width: 96px;
  }

  .view-toggle,
  .theme-toggle,
  .lang-toggle {
    padding: 0 5px;
  }
}

/* Calculator sub-tools */
.tool-shell {
  display: grid;
  gap: 1.25rem;
}

.tool-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.78fr);
  gap: 1.25rem;
  align-items: start;
}

.tool-panel {
  display: grid;
  gap: 1rem;
}

.tool-form-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.tool-form-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tool-field {
  display: grid;
  gap: 0.45rem;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.tool-field input,
.tool-field select {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(3, 12, 26, 0.72);
  color: var(--text);
  padding: 0.9rem 1rem;
  font: inherit;
  font-weight: 800;
  outline: none;
}

.tool-field input:focus,
.tool-field select:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(82, 231, 255, 0.14);
}

.tool-segment {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.tool-chip {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(2, 10, 23, 0.72);
  color: var(--text);
  padding: 0.68rem 0.9rem;
  font-weight: 900;
  cursor: pointer;
}

.tool-chip.is-active {
  border-color: var(--cyan);
  background: linear-gradient(135deg, rgba(27, 166, 232, 0.32), rgba(49, 193, 153, 0.28));
}

.tool-result-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.tool-result {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(3, 12, 26, 0.7);
  padding: 1rem;
  min-height: 104px;
}

.tool-result span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.tool-result strong {
  display: block;
  color: var(--text);
  font-size: clamp(1.45rem, 3vw, 2rem);
  line-height: 1.1;
  margin-top: 0.45rem;
}

.tool-result.accent strong {
  color: var(--green);
}

.tool-note,
.tool-warning {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(19, 57, 91, 0.42);
  color: var(--muted);
  padding: 1rem;
  line-height: 1.55;
}

.tool-warning {
  border-color: rgba(82, 231, 255, 0.36);
}

.tool-steps {
  display: grid;
  gap: 0.85rem;
  counter-reset: step;
}

.tool-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: start;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(3, 12, 26, 0.52);
  padding: 1rem;
}

.tool-step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid var(--cyan);
  border-radius: 8px;
  color: var(--cyan);
  font-weight: 900;
}

.tool-step h3 {
  margin: 0 0 0.28rem;
  font-size: 1rem;
}

.tool-step p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.tool-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.tool-primary {
  border: 0;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--blue), var(--green));
  color: #fff;
  padding: 0.9rem 1.15rem;
  font-weight: 900;
  cursor: pointer;
}

.tool-secondary {
  border: 1px solid var(--cyan);
  border-radius: 8px;
  background: transparent;
  color: var(--cyan);
  padding: 0.86rem 1.1rem;
  font-weight: 900;
  cursor: pointer;
}

html[data-theme="light"] .tool-field input,
html[data-theme="light"] .tool-field select,
html[data-theme="light"] .tool-chip,
html[data-theme="light"] .tool-result,
html[data-theme="light"] .tool-step {
  background: rgba(255, 255, 255, 0.78);
}

@media (max-width: 900px) {
  .tool-grid,
  .tool-form-grid,
  .tool-form-grid.two,
  .tool-result-grid {
    grid-template-columns: 1fr;
  }
}

/* Original-style calculator reskin */
.protocol-calculator {
  --product-color: var(--green);
}

.protocol-calculator .calculator-hero {
  padding-bottom: 1.25rem;
}

.protocol-brand-strip {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.35rem;
  color: var(--cyan);
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.protocol-brand-strip strong {
  display: block;
  color: var(--text);
  font-size: 1.25rem;
  letter-spacing: 0.28em;
}

.protocol-peptide-bar,
.protocol-tabs,
.protocol-grid,
.protocol-summary-grid,
.protocol-guide-grid,
.metabolic-grid {
  display: grid;
  gap: 1rem;
}

.protocol-peptide-bar {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin: 1.25rem 0;
}

.protocol-pill,
.protocol-tab,
.protocol-row,
.syringe-size,
.weight-unit,
.metabolic-gender {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(3, 12, 26, 0.72);
  color: var(--text);
  cursor: pointer;
  font: inherit;
  font-weight: 900;
}

.protocol-pill {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.25rem 0.75rem;
  align-items: center;
  padding: 1rem;
  text-align: left;
}

.protocol-pill i {
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 999px;
  background: var(--product-color, var(--cyan));
  box-shadow: 0 0 22px var(--product-color, var(--cyan));
}

.protocol-pill small {
  grid-column: 2;
  color: var(--muted);
  font-size: 0.8rem;
}

.protocol-pill.is-active,
.protocol-tab.is-active,
.protocol-row.is-selected,
.syringe-size.is-active,
.weight-unit.is-active,
.metabolic-gender.is-active {
  border-color: var(--cyan);
  background: linear-gradient(135deg, rgba(27, 166, 232, 0.28), rgba(49, 193, 153, 0.22));
  box-shadow: 0 0 0 1px rgba(82, 231, 255, 0.08), 0 18px 55px rgba(27, 166, 232, 0.12);
}

.protocol-tabs {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 0 1.25rem;
}

.protocol-tab {
  padding: 0.95rem;
  text-align: center;
  color: var(--muted);
}

.protocol-tab.is-active {
  color: var(--text);
}

.protocol-panel[hidden] {
  display: none;
}

.protocol-grid {
  grid-template-columns: minmax(270px, 0.92fr) minmax(260px, 0.82fr) minmax(320px, 1fr);
  align-items: stretch;
}

.protocol-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(11, 25, 51, 0.94), rgba(3, 12, 26, 0.9));
  padding: clamp(1.1rem, 2vw, 1.6rem);
  box-shadow: var(--shadow);
}

.protocol-card h2,
.protocol-card h3 {
  margin: 0;
}

.protocol-card h2 {
  font-size: clamp(1.35rem, 3vw, 2rem);
}

.protocol-kicker {
  color: var(--cyan);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.protocol-field,
.metabolic-field {
  display: grid;
  gap: 0.45rem;
  color: var(--muted);
  font-weight: 900;
}

.protocol-field input,
.protocol-field select,
.metabolic-field input,
.metabolic-field select {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(2, 10, 23, 0.78);
  color: var(--text);
  padding: 0.95rem 1rem;
  font: inherit;
  font-weight: 900;
  outline: none;
}

.protocol-field input:focus,
.protocol-field select:focus,
.metabolic-field input:focus,
.metabolic-field select:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(82, 231, 255, 0.14);
}

.protocol-slider-row {
  display: grid;
  grid-template-columns: 1fr 5.5rem;
  gap: 0.8rem;
  align-items: center;
}

.protocol-slider-row input[type="range"],
.metabolic-field input[type="range"] {
  accent-color: var(--cyan);
}

.protocol-readout {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(2, 10, 23, 0.68);
  padding: 1rem;
}

.protocol-readout span,
.protocol-summary-card span,
.metabolic-output span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.protocol-readout strong,
.protocol-summary-card strong,
.metabolic-output strong {
  display: block;
  color: var(--text);
  font-size: clamp(1.35rem, 3vw, 2rem);
  line-height: 1.05;
  margin-top: 0.45rem;
}

.protocol-toggle {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.syringe-size,
.weight-unit,
.metabolic-gender {
  padding: 0.75rem 0.95rem;
}

.protocol-rows {
  display: grid;
  gap: 0.65rem;
  margin-top: 1rem;
}

.protocol-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 0.75rem;
  align-items: center;
  padding: 0.85rem 0.95rem;
  text-align: left;
}

.protocol-row span {
  color: var(--muted);
}

.protocol-row strong {
  color: var(--text);
}

.protocol-row small {
  color: var(--cyan);
}

.visualizer-card {
  display: grid;
  gap: 1rem;
}

.visualizer-stage {
  display: grid;
  grid-template-columns: minmax(140px, 0.8fr) minmax(210px, 1fr);
  gap: 1rem;
  align-items: end;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: radial-gradient(circle at 40% 20%, rgba(82, 231, 255, 0.12), transparent 42%), rgba(2, 10, 23, 0.6);
  padding: 1rem;
  overflow: hidden;
}

.visualizer-stage svg {
  width: 100%;
  height: auto;
  overflow: visible;
}

.vial-outline,
.syringe-outline,
#syringe-markings line {
  fill: none;
  stroke: rgba(226, 239, 255, 0.78);
  stroke-width: 2;
}

#vial-fluid,
#syringe-fluid {
  fill: var(--product-color);
  opacity: 0.68;
  transition: all 0.55s ease;
}

#vial-powder {
  fill: #e5f3ff;
  opacity: 0.86;
  transform-origin: center;
}

.powder-dissolve {
  animation: dissolve 2.5s forwards ease-in-out;
}

@keyframes dissolve {
  0% { opacity: 0.9; transform: translateY(0) scale(1); filter: blur(0); }
  55% { opacity: 0.45; transform: translateY(-12px) scale(1.08); filter: blur(1px); }
  100% { opacity: 0.08; transform: translateY(-26px) scale(0.84); filter: blur(4px); }
}

#syringe-plunger-group {
  transition: transform 0.55s ease;
}

.visualizer-live {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.protocol-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.protocol-status {
  color: var(--muted);
  font-weight: 800;
}

.protocol-summary-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 1.25rem;
}

.protocol-summary-card,
.metabolic-output {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(2, 10, 23, 0.68);
  padding: 1rem;
}

.metabolic-grid {
  grid-template-columns: minmax(280px, 0.82fr) minmax(300px, 1fr);
}

.metabolic-form {
  display: grid;
  gap: 1rem;
}

.metabolic-mini-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.bmi-gauge {
  position: relative;
  height: 0.75rem;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--green), var(--cyan), #f59e0b, #ef4444);
  margin: 1rem 0 1.7rem;
}

.bmi-gauge-pointer {
  position: absolute;
  top: -0.55rem;
  left: 40%;
  width: 1.75rem;
  height: 1.75rem;
  border: 3px solid var(--text);
  border-radius: 999px;
  background: var(--card);
  transform: translateX(-50%);
  transition: left 0.35s ease;
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.guide-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(2, 10, 23, 0.56);
  padding: 1rem;
}

.guide-step span {
  display: grid;
  place-items: center;
  width: 2.1rem;
  height: 2.1rem;
  border: 1px solid var(--cyan);
  border-radius: 8px;
  color: var(--cyan);
  font-weight: 900;
}

.guide-step h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
}

.guide-step p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

html[data-theme="light"] .protocol-card,
html[data-theme="light"] .protocol-pill,
html[data-theme="light"] .protocol-tab,
html[data-theme="light"] .protocol-row,
html[data-theme="light"] .protocol-field input,
html[data-theme="light"] .protocol-field select,
html[data-theme="light"] .metabolic-field input,
html[data-theme="light"] .metabolic-field select,
html[data-theme="light"] .protocol-readout,
html[data-theme="light"] .protocol-summary-card,
html[data-theme="light"] .metabolic-output,
html[data-theme="light"] .visualizer-stage,
html[data-theme="light"] .guide-step {
  background: rgba(255, 255, 255, 0.78);
}

@media (max-width: 1050px) {
  .protocol-peptide-bar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .protocol-grid,
  .metabolic-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .protocol-peptide-bar,
  .protocol-tabs,
  .protocol-summary-grid,
  .guide-grid,
  .metabolic-mini-grid,
  .visualizer-stage {
    grid-template-columns: 1fr;
  }

  .protocol-row {
    grid-template-columns: 1fr;
  }
}

/* Restored calculator subpages */
.zenova-tool-suite {
  --peptide-accent: var(--blue);
}

.zenova-tool-suite .calculator-hero {
  margin-bottom: 1.5rem;
}

.zenova-tool-suite .calculator-hero h1 {
  font-size: clamp(2.6rem, 6vw, 5.7rem);
}

.suite-peptide-selector {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 0 0 1rem;
}

.suite-peptide-pill {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 0.15rem 0.65rem;
  min-width: 0;
  padding: 0.9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  background: var(--panel);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.suite-peptide-pill:hover {
  transform: translateY(-2px);
  border-color: var(--pill-accent);
}

.suite-peptide-pill.is-active {
  border-color: var(--pill-accent);
  background: color-mix(in srgb, var(--pill-accent) 13%, var(--panel-strong));
}

.suite-peptide-pill > span {
  grid-row: 1 / 3;
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 7px;
  background: var(--pill-accent);
  color: #fff;
  font-size: 0.76rem;
  font-weight: 900;
}

.suite-peptide-pill strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.92rem;
}

.suite-peptide-pill small {
  overflow: hidden;
  color: var(--muted);
  font-size: 0.7rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.suite-dose-layout {
  display: grid;
  grid-template-columns: minmax(420px, 0.8fr) minmax(0, 1.2fr);
  column-gap: clamp(1.5rem, 2.5vw, 2rem);
  row-gap: 1rem;
  align-items: start;
}

.suite-controls {
  display: grid;
  gap: 1rem;
  min-width: 0;
}

.suite-controls > .suite-card {
  width: 100%;
  min-width: 0;
  padding-right: clamp(2rem, 3vw, 2.5rem);
}

.suite-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
  padding: clamp(1.1rem, 2vw, 1.6rem);
}

.suite-card-heading {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.15rem;
}

.suite-card-heading > span {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid var(--peptide-accent);
  border-radius: var(--radius);
  color: var(--peptide-accent);
  font-size: 0.78rem;
  font-weight: 900;
}

.suite-card-heading p,
.suite-simulation-head p {
  margin: 0 0 0.15rem;
  color: var(--peptide-accent);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.suite-card-heading h2,
.suite-simulation-head h2,
.suite-note-grid h2 {
  margin: 0;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  line-height: 1.15;
}

.suite-field {
  display: grid;
  gap: 0.45rem;
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 850;
}

.suite-field > span {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.suite-field b {
  color: var(--peptide-accent);
}

.suite-field input,
.suite-field select,
.suite-range-scale input {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--input-bg);
  color: var(--text);
  padding: 0.75rem 0.85rem;
  font: inherit;
  font-weight: 800;
  outline: none;
}

.suite-field input:focus,
.suite-field select:focus,
.suite-range-scale input:focus {
  border-color: var(--peptide-accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--peptide-accent) 16%, transparent);
}

.suite-field input[type="range"] {
  min-height: 28px;
  padding: 0;
  border: 0;
  accent-color: var(--peptide-accent);
  background: transparent;
}

.suite-range-scale {
  display: grid;
  grid-template-columns: 1fr 84px 1fr;
  align-items: center;
  gap: 0.65rem;
  margin-top: 0.4rem;
  color: var(--muted);
  font-size: 0.72rem;
}

.suite-range-scale span:last-child {
  text-align: right;
}

.suite-range-scale input {
  min-height: 36px;
  padding: 0.45rem;
  text-align: center;
}

.suite-metric {
  display: grid;
  gap: 0.35rem;
  min-height: 92px;
  align-content: center;
  margin-top: 1rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel-strong);
}

.suite-metric span,
.suite-injection-readout span,
.suite-print-summary span,
.suite-target-grid span,
.suite-bmi-panel > span {
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.suite-metric strong {
  color: var(--text);
  font-size: clamp(1.3rem, 2.5vw, 1.85rem);
}

.suite-metric small {
  color: var(--muted);
  line-height: 1.4;
}

.suite-metric.accent {
  border-color: color-mix(in srgb, var(--peptide-accent) 52%, var(--line));
  background: color-mix(in srgb, var(--peptide-accent) 8%, var(--panel-strong));
}

.suite-metric.accent strong {
  color: var(--peptide-accent);
}

.suite-segment,
.suite-unit-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.5rem;
}

.suite-unit-row {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 180px;
  margin-bottom: 0.4rem;
}

.suite-syringe-option,
.suite-weight-unit,
.suite-sex {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--button-secondary-bg);
  color: var(--text);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 900;
  cursor: pointer;
}

.suite-syringe-option small {
  display: block;
  margin-top: 0.2rem;
  color: var(--muted);
  font-size: 0.62rem;
}

.suite-syringe-option.is-active,
.suite-weight-unit.is-active,
.suite-sex.is-active {
  border-color: var(--peptide-accent);
  background: color-mix(in srgb, var(--peptide-accent) 16%, var(--panel-strong));
  color: var(--peptide-accent);
}

.suite-titration-rows {
  display: grid;
  gap: 0.65rem;
}

.suite-titration-row {
  display: grid;
  grid-template-columns: auto minmax(130px, 1fr) auto minmax(95px, auto);
  align-items: center;
  gap: 0.7rem;
  width: 100%;
  padding: 0.8rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel-strong);
  color: var(--text);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.suite-titration-row:hover {
  transform: translateY(-1px);
}

.suite-titration-row.is-active {
  border-color: var(--peptide-accent);
  background: color-mix(in srgb, var(--peptide-accent) 10%, var(--panel-strong));
}

.suite-step-number {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 7px;
  background: color-mix(in srgb, var(--peptide-accent) 16%, var(--panel));
  color: var(--peptide-accent);
  font-size: 0.72rem;
  font-weight: 900;
}

.suite-step-copy,
.suite-step-dose,
.suite-step-duration {
  display: grid;
  gap: 0.22rem;
}

.suite-step-copy small,
.suite-step-dose small,
.suite-step-duration {
  color: var(--muted);
  font-size: 0.7rem;
  line-height: 1.3;
}

.suite-step-dose {
  text-align: right;
}

.suite-step-dose strong {
  color: var(--peptide-accent);
  font-size: 1.05rem;
}

.suite-step-duration {
  text-align: right;
}

.suite-step-duration em {
  color: #f59e0b;
  font-size: 0.65rem;
  font-style: normal;
  font-weight: 900;
}

.suite-simulation {
  position: relative;
  top: auto;
  min-width: 0;
  padding-left: clamp(2rem, 3.7vw, 2.75rem);
}

.suite-simulation-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.suite-simulation-head small {
  display: block;
  margin-top: 0.35rem;
  color: var(--peptide-accent);
  font-weight: 850;
}

.suite-reset,
.suite-mix {
  min-height: 40px;
  border: 1px solid var(--peptide-accent);
  border-radius: var(--radius);
  background: transparent;
  color: var(--peptide-accent);
  padding: 0.6rem 0.8rem;
  font: inherit;
  font-size: 0.75rem;
  font-weight: 900;
  cursor: pointer;
}

.suite-instrument-stage {
  display: grid;
  grid-template-columns: minmax(150px, 0.8fr) minmax(190px, 1.2fr);
  align-items: center;
  gap: clamp(1rem, 4vw, 3rem);
  min-height: 620px;
  padding: 1.4rem 0 0.5rem;
  transition: filter 250ms ease, opacity 250ms ease;
}

.suite-instrument-stage.is-unmixed .suite-syringe-column {
  filter: saturate(0.45);
  opacity: 0.72;
}

.suite-vial-column,
.suite-syringe-column {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.suite-instrument-label {
  color: var(--muted);
  font-size: 0.67rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.suite-vial-column > strong {
  margin: 0.35rem 0 0.8rem;
  color: var(--text);
  font-size: 0.92rem;
}

.suite-vial {
  width: min(150px, 100%);
  height: auto;
}

.suite-vial-cap {
  fill: #66758a;
}

.suite-vial-collar {
  fill: #b6c2cf;
}

.suite-vial-glass {
  fill: color-mix(in srgb, var(--panel-strong) 72%, transparent);
  stroke: color-mix(in srgb, var(--muted) 55%, transparent);
  stroke-width: 2;
}

.suite-vial-liquid {
  fill: var(--peptide-accent);
  opacity: 0.24;
  transition: fill 200ms ease;
}

.suite-vial-powder {
  fill: var(--text);
  opacity: 0.7;
  transform-origin: 60px 165px;
}

.suite-vial-powder.is-dissolving {
  animation: suite-dissolve 720ms ease forwards;
}

.suite-vial-powder.is-dissolved {
  opacity: 0;
}

.suite-vial text {
  fill: var(--text);
  font-family: Inter, system-ui, sans-serif;
  font-size: 11px;
  font-weight: 850;
}

.suite-vial-column > small {
  margin-top: 0.5rem;
  color: var(--muted);
}

.zenova-syringe {
  --animation-ms: 450ms;
  width: 80px;
  height: auto;
  display: block;
  margin-top: 0.75rem;
}

.zenova-syringe .syringe-fluid,
.zenova-syringe .syringe-plunger-seal {
  transition:
    y var(--animation-ms) cubic-bezier(0.4, 0, 0.2, 1),
    height var(--animation-ms) cubic-bezier(0.4, 0, 0.2, 1);
}

.zenova-syringe[data-state="empty"] .syringe-fluid {
  opacity: 0.25;
}

.syringe-metal {
  fill: #8796a8;
}

.syringe-barrel {
  fill: color-mix(in srgb, var(--panel-strong) 40%, transparent);
  stroke: color-mix(in srgb, var(--muted) 60%, transparent);
}

.syringe-plunger-seal {
  fill: #5f6d7d;
}

.syringe-needle {
  fill: color-mix(in srgb, var(--text) 65%, transparent);
}

.syringe-major-ticks {
  stroke: color-mix(in srgb, var(--text) 58%, transparent);
  stroke-width: 1;
}

.syringe-minor-ticks {
  stroke: color-mix(in srgb, var(--text) 28%, transparent);
  stroke-width: 0.5;
}

.syringe-tick-labels {
  fill: color-mix(in srgb, var(--text) 78%, transparent);
  font-family: Inter, system-ui, sans-serif;
  font-size: 9px;
}

.suite-injection-readout {
  display: grid;
  justify-items: center;
  gap: 0.18rem;
  width: 100%;
  margin-top: 0.75rem;
  padding: 0.85rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel-strong);
}

.suite-injection-readout strong {
  color: var(--peptide-accent);
  font-size: 1.22rem;
  font-variant-numeric: tabular-nums;
}

.suite-injection-readout small {
  color: var(--muted);
  font-size: 0.68rem;
}

.suite-print-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
  margin-top: 1rem;
}

.suite-print-summary > div {
  display: grid;
  gap: 0.35rem;
  padding: 0.85rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel-strong);
}

.suite-print-summary strong {
  color: var(--text);
  font-size: 1.05rem;
}

.suite-disclaimer,
.suite-clinical-note {
  margin: 1rem 0 0;
  padding: 0.85rem 1rem;
  border: 1px solid color-mix(in srgb, var(--peptide-accent) 35%, var(--line));
  border-radius: var(--radius);
  color: var(--muted);
  background: color-mix(in srgb, var(--peptide-accent) 5%, var(--panel-strong));
  font-size: 0.78rem;
  line-height: 1.55;
}

@keyframes suite-dissolve {
  0% { opacity: 0.7; transform: rotate(0deg) scale(1); filter: blur(0); }
  48% { opacity: 0.42; transform: rotate(16deg) scale(1.08); filter: blur(1px); }
  100% { opacity: 0; transform: rotate(42deg) scale(0.8); filter: blur(4px); }
}

.suite-metabolic-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.72fr) minmax(480px, 1.28fr);
  gap: 1rem;
  align-items: start;
}

.suite-form-grid {
  display: grid;
  gap: 0.75rem;
}

.suite-form-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.suite-evaluation-grid {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(220px, 1fr);
  gap: 0.8rem;
}

.suite-bmi-panel {
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel-strong);
}

.suite-bmi-panel > div:first-of-type {
  display: flex;
  align-items: baseline;
  gap: 0.7rem;
  margin: 0.55rem 0 1rem;
}

.suite-bmi-panel strong {
  color: var(--peptide-accent);
  font-size: 2.5rem;
}

.suite-bmi-panel b {
  color: var(--muted);
  font-size: 0.8rem;
}

.suite-bmi-panel small {
  display: block;
  margin-top: 0.85rem;
  color: var(--muted);
  line-height: 1.5;
}

.suite-bmi-gauge {
  position: relative;
  height: 10px;
  border-radius: 99px;
  background: linear-gradient(90deg, #3b82f6 0 20%, #31c199 20% 46%, #f59e0b 46% 62%, #ef4444 62% 100%);
}

.suite-bmi-gauge i {
  position: absolute;
  top: -4px;
  width: 3px;
  height: 18px;
  border-radius: 2px;
  background: var(--text);
  transition: left 300ms ease;
}

.suite-energy-stack {
  display: grid;
  gap: 0.7rem;
}

.suite-energy-stack .suite-metric {
  margin: 0;
}

.suite-peptide-note {
  margin-top: 0.85rem;
  padding: 1rem;
  border-left: 3px solid var(--peptide-accent);
  background: color-mix(in srgb, var(--peptide-accent) 6%, var(--panel-strong));
}

.suite-peptide-note p {
  margin: 0.35rem 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.suite-daily-targets,
.suite-projection-secondary {
  margin-top: 1rem;
}

.suite-target-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.suite-target-grid article {
  display: grid;
  gap: 0.55rem;
  padding: 1rem;
  border: 1px solid color-mix(in srgb, var(--peptide-accent) 30%, var(--line));
  border-radius: var(--radius);
  background: var(--panel-strong);
}

.suite-target-grid strong {
  color: var(--peptide-accent);
  font-size: clamp(1.35rem, 2.6vw, 2rem);
}

.suite-target-grid small {
  color: var(--muted);
  line-height: 1.4;
}

.suite-projection-grid {
  display: grid;
  grid-template-columns: minmax(190px, 0.4fr) minmax(420px, 1.6fr);
  gap: 1rem;
  align-items: stretch;
}

.suite-projection-chart {
  position: relative;
  min-height: 290px;
  padding: 0.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel-strong);
}

.suite-projection-chart svg {
  width: 100%;
  height: 100%;
}

#meta-chart-grid {
  stroke: var(--line);
  stroke-width: 1;
}

#meta-chart-line {
  fill: none;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke-dashoffset 700ms cubic-bezier(0.4, 0, 0.2, 1);
}

#meta-chart-area {
  fill: url("#meta-chart-area-gradient");
}

#meta-chart-target {
  stroke: var(--muted);
  stroke-width: 1.5;
  stroke-dasharray: 6 5;
  opacity: 0.8;
}

#meta-chart-markers {
  fill: var(--panel-strong);
  stroke: var(--peptide-accent);
  stroke-width: 2;
}

#meta-chart-hit-area {
  fill: transparent;
  cursor: crosshair;
  pointer-events: all;
}

#meta-chart-crosshair {
  stroke: var(--peptide-accent);
  stroke-width: 1;
  stroke-dasharray: 3 3;
  opacity: 0.8;
}

#meta-chart-point {
  fill: var(--panel);
  stroke: var(--peptide-accent);
  stroke-width: 3;
}

#meta-chart-labels {
  fill: var(--muted);
  font-family: Inter, system-ui, sans-serif;
  font-size: 12px;
  font-weight: 800;
}

#meta-chart-labels .meta-axis-title,
#meta-chart-labels .meta-target-label {
  fill: var(--text);
  font-size: 11px;
}

.suite-chart-tooltip {
  position: absolute;
  z-index: 2;
  display: grid;
  gap: 0.1rem;
  min-width: 105px;
  padding: 0.55rem 0.7rem;
  border: 1px solid var(--peptide-accent);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
  color: var(--text);
  pointer-events: none;
  transform: translate(-50%, -115%);
}

.suite-chart-tooltip strong {
  color: var(--peptide-accent);
  font-size: 0.72rem;
  text-transform: uppercase;
}

.suite-chart-tooltip span {
  font-size: 0.9rem;
  font-weight: 900;
}

.suite-chart-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1rem;
  padding: 0.45rem 0.35rem 0.1rem;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 800;
}

.suite-chart-legend span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.suite-chart-legend i {
  width: 1.1rem;
  height: 3px;
  background: var(--peptide-accent);
}

.suite-chart-legend i.target {
  height: 0;
  border-top: 2px dashed var(--muted);
  background: none;
}

.suite-manual-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(280px, 0.55fr);
  gap: 1rem;
  align-items: start;
}

.suite-manual-stepper {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.suite-manual-stepper article {
  position: relative;
  min-height: 260px;
  padding: 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel-strong);
}

.suite-manual-stepper article > span {
  position: absolute;
  top: 0.75rem;
  right: 0.85rem;
  color: color-mix(in srgb, var(--muted) 30%, transparent);
  font-size: 2.2rem;
  font-weight: 900;
}

.suite-step-icon,
.suite-note-icon {
  display: grid;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  border: 1px solid var(--peptide-accent);
  border-radius: var(--radius);
  color: var(--peptide-accent);
  font-weight: 900;
}

.suite-manual-stepper h3 {
  margin: 1rem 0 0.55rem;
  font-size: 1rem;
}

.suite-manual-stepper p,
.suite-note-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.58;
}

.suite-note-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.suite-note-grid h2 {
  margin: 0.75rem 0 0.55rem;
  font-size: 1rem;
}

.suite-compact-calculator {
  position: sticky;
  top: 86px;
}

@media (max-width: 1180px) {
  .suite-peptide-selector {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .suite-dose-layout,
  .suite-metabolic-layout,
  .suite-manual-layout {
    grid-template-columns: 1fr;
  }

  .suite-simulation,
  .suite-compact-calculator {
    position: static;
  }
}

@media (max-width: 760px) {
  .suite-peptide-selector,
  .suite-target-grid,
  .suite-manual-stepper,
  .suite-note-grid,
  .suite-print-summary,
  .suite-evaluation-grid,
  .suite-projection-grid {
    grid-template-columns: 1fr;
  }

  .suite-segment {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .suite-form-grid.two {
    grid-template-columns: 1fr;
  }

  .suite-titration-row {
    grid-template-columns: auto 1fr;
  }

  .suite-step-dose,
  .suite-step-duration {
    grid-column: 2;
    text-align: left;
  }

  .suite-instrument-stage {
    grid-template-columns: minmax(125px, 0.8fr) minmax(150px, 1.2fr);
    gap: 0.5rem;
    min-height: 560px;
  }

  .zenova-syringe {
    width: 70px;
  }

  .suite-vial {
    width: 120px;
  }
}

@media (max-width: 430px) {
  .suite-controls > .suite-card {
    padding-right: clamp(1.1rem, 2vw, 1.6rem);
  }

  .suite-simulation {
    padding-left: clamp(1.1rem, 2vw, 1.6rem);
  }

  .suite-instrument-stage {
    grid-template-columns: 1fr;
  }

  .suite-vial-column {
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--line);
  }

  .suite-simulation-head {
    display: grid;
  }

  .suite-reset {
    justify-self: start;
  }
}

@media print {
  .no-print,
  .article-nav,
  .calculator-subnav,
  .suite-peptide-selector,
  .suite-reset,
  .suite-mix,
  .calculator-hero {
    display: none !important;
  }

  body,
  .calculator-page {
    color: #111827 !important;
    background: #fff !important;
  }

  body::before {
    display: none !important;
  }

  .calculator-page {
    padding: 0 !important;
  }

  .suite-dose-layout,
  .suite-metabolic-layout,
  .suite-manual-layout {
    display: block !important;
  }

  .suite-card,
  .suite-manual-stepper article,
  .suite-note-grid .suite-card,
  .suite-target-grid article,
  .suite-projection-chart,
  .suite-titration-row,
  .suite-injection-readout,
  .suite-print-summary > div,
  .suite-metric,
  .suite-bmi-panel,
  .suite-peptide-note {
    break-inside: avoid;
    color: #111827 !important;
    background: #fff !important;
    border-color: #cbd5e1 !important;
    box-shadow: none !important;
  }

  .suite-card * {
    color: inherit;
  }

  .suite-titration-row {
    grid-template-columns: auto 1fr auto auto;
    gap: 0.45rem;
    padding: 0.45rem 0.6rem;
  }

  .suite-step-number {
    width: 1.65rem;
    height: 1.65rem;
    background: #eef2f7 !important;
  }

  .suite-step-copy small,
  .suite-step-dose small,
  .suite-step-duration {
    font-size: 7.5pt;
  }

  .suite-step-dose strong {
    font-size: 10pt;
  }

  .suite-instrument-stage {
    min-height: 340px;
  }

  .suite-simulation {
    position: static;
  }

  .zenova-syringe {
    width: 54px;
  }

  .suite-vial {
    width: 92px;
  }

  .suite-print-summary {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  .suite-disclaimer,
  .suite-clinical-note {
    color: #334155 !important;
    background: #f8fafc !important;
  }
}

@media print {
  .article-nav,
  .protocol-tabs,
  .protocol-peptide-bar,
  .protocol-actions {
    display: none !important;
  }
}

/* Keep the authenticity header aligned after shared article-nav rules. */
body.authenticity-body .article-nav.authenticity-nav {
  position: relative;
  z-index: 20;
  padding: .8rem max(1rem, calc((100% - 1080px) / 2));
  gap: 1rem;
  background: color-mix(in srgb, var(--header-bg) 92%, transparent);
  backdrop-filter: blur(18px);
}
body.authenticity-body .authenticity-nav .brand { margin: 0; }
body.authenticity-body .authenticity-nav .brand img { width: 158px; height: auto; border-radius: 7px; }
@media (max-width: 620px) {
  body.authenticity-body .article-nav.authenticity-nav { flex-wrap: wrap; gap: .65rem; }
  body.authenticity-body .authenticity-nav .brand img { width: 138px; }
}
