:root {
  color-scheme: dark;
  --bg: #020817;
  --bg-2: #04152d;
  --panel: #071a31;
  --panel-2: #0b2f55;
  --ink: #fbfdff;
  --muted: #b6c7da;
  --dim: #7f96ad;
  --line: rgba(126, 208, 255, 0.18);
  --line-strong: rgba(0, 183, 255, 0.48);
  --teal: #28f3ff;
  --blue: #009dff;
  --gold: #e7f4ff;
  --green: #7bd7ff;
  --danger: #ff8d8d;
  --shadow: 0 28px 90px rgba(0, 157, 255, 0.2), 0 28px 80px rgba(0, 0, 0, 0.52);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: linear-gradient(180deg, #020817 0%, #06162a 42%, #020817 100%);
  -webkit-font-smoothing: antialiased;
}

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

button,
input,
select {
  font: inherit;
}

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

p {
  color: var(--muted);
  line-height: 1.65;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  padding: 14px 0;
  background: rgba(2, 8, 23, 0.88);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  filter: drop-shadow(0 0 16px rgba(0, 183, 255, 0.52));
}

.brand span {
  display: grid;
  line-height: 1.05;
}

.brand strong {
  font-size: 1rem;
  letter-spacing: 0;
}

.brand small {
  color: #dbeeff;
  font-size: 0.72rem;
  font-weight: 800;
}

.site-header nav,
.site-footer nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.header-link {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 900;
}

.header-link:hover {
  color: var(--ink);
}

.site-header nav a:hover,
.site-footer nav a:hover {
  color: var(--ink);
}

.header-cta {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 0 16px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: linear-gradient(135deg, #ffffff, #bfeaff);
  color: #020817;
  font-weight: 950;
  box-shadow: 0 0 28px rgba(0, 157, 255, 0.24);
}

.age-gate-locked body {
  overflow: hidden;
}

.age-gate {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(circle at 50% 12%, rgba(0, 183, 255, 0.28), transparent 28rem),
    rgba(2, 8, 23, 0.92);
  backdrop-filter: blur(16px);
}

.age-gate-card {
  width: min(520px, 100%);
  padding: 30px;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background:
    linear-gradient(145deg, rgba(0, 157, 255, 0.14), transparent 44%),
    #071a31;
  box-shadow: var(--shadow);
  text-align: center;
}

.age-gate-card img {
  border-radius: 50%;
  filter: drop-shadow(0 0 18px rgba(0, 183, 255, 0.58));
}

.age-gate-card h2 {
  margin: 8px 0 12px;
  font-size: clamp(2rem, 6vw, 3.2rem);
}

.age-gate-card small {
  display: block;
  margin-top: 16px;
  color: var(--dim);
  line-height: 1.5;
}

.age-gate-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 22px;
}

.auth-body {
  min-height: 100vh;
  background:
    radial-gradient(circle at 50% 10%, rgba(0, 183, 255, 0.20), transparent 22rem),
    linear-gradient(180deg, #020817 0%, #071a31 100%);
}

.auth-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  gap: 22px;
  padding: 42px 20px;
}

.auth-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.auth-brand img {
  border-radius: 50%;
  filter: drop-shadow(0 0 16px rgba(0, 183, 255, 0.58));
}

.auth-brand span {
  display: grid;
  line-height: 1.05;
}

.auth-brand strong {
  font-weight: 950;
}

.auth-brand small {
  color: var(--muted);
  font-weight: 850;
}

.auth-card {
  width: min(560px, 100%);
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(0, 157, 255, 0.13), transparent 44%),
    rgba(255, 255, 255, 0.045);
  box-shadow: var(--shadow);
}

.auth-mode-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 22px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.20);
}

.auth-mode-tabs button {
  min-height: 40px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-weight: 950;
}

.auth-mode-tabs button.active {
  background: linear-gradient(135deg, rgba(40, 243, 255, 0.18), rgba(0, 157, 255, 0.18));
  color: var(--ink);
}

.auth-card h1 {
  margin-bottom: 10px;
  font-size: clamp(2rem, 5vw, 3.2rem);
}

.auth-copy {
  margin-bottom: 22px;
}

.auth-form,
.verify-panel,
.verify-panel form {
  display: grid;
  gap: 14px;
}

.auth-name-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.auth-check {
  grid-template-columns: auto 1fr;
  align-items: center;
  color: var(--muted);
  font-weight: 850;
}

.auth-check input {
  width: 18px;
  min-height: 18px;
  accent-color: var(--teal);
}

.auth-message {
  min-height: 22px;
  margin: 0;
  color: var(--teal);
  font-size: 0.9rem;
  font-weight: 850;
}

.verify-panel {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.verify-panel h2 {
  font-size: clamp(1.8rem, 4vw, 2.7rem);
}

.auth-footer-note {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--dim);
  font-size: 0.82rem;
  line-height: 1.5;
  text-align: center;
}

.hero {
  position: relative;
  width: min(1200px, calc(100% - 32px));
  min-height: auto;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.8fr);
  align-items: center;
  gap: 52px;
  margin: 0 auto;
  padding: 64px 0 48px;
}

.hero-content {
  position: relative;
  z-index: 2;
  min-width: 0;
}

.hero-brand-emblem {
  display: none;
}

.eyebrow {
  margin-bottom: 12px;
  color: var(--teal);
  font-size: 0.74rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1 {
  max-width: 680px;
  margin-bottom: 20px;
  font-size: clamp(3rem, 5.6vw, 4.85rem);
  line-height: 0.98;
  letter-spacing: 0;
  overflow-wrap: normal;
}

h1 span {
  display: block;
}

.mobile-headline {
  display: none;
}

.mobile-copy {
  display: none;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 4.25rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  color: var(--ink);
  line-height: 1.18;
}

.hero-content > p:not(.eyebrow) {
  max-width: 590px;
  font-size: 1.04rem;
}

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

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 950;
}

.button.primary {
  background: linear-gradient(135deg, #28f3ff, #009dff 56%, #e7f4ff);
  color: #020817;
  box-shadow: 0 18px 44px rgba(0, 157, 255, 0.3);
}

.button.secondary {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.05);
  color: var(--ink);
}

.store-badge {
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 16px 9px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  background: #020817;
  color: #ffffff;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.24);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.store-badge:hover {
  transform: translateY(-2px);
  border-color: rgba(40, 243, 255, 0.48);
  box-shadow: 0 22px 52px rgba(0, 157, 255, 0.22);
}

.store-badge svg {
  width: 29px;
  height: 29px;
  flex: 0 0 auto;
  fill: currentColor;
}

.store-badge span {
  display: grid;
  gap: 1px;
  line-height: 1;
}

.store-badge small {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0;
}

.store-badge strong {
  color: #ffffff;
  font-size: 1.18rem;
  font-weight: 950;
  letter-spacing: 0;
}

.play-store-badge svg {
  fill: none;
}

.play-store-badge .play-blue {
  fill: #32a4ff;
}

.play-store-badge .play-green {
  fill: #00d084;
}

.play-store-badge .play-yellow {
  fill: #ffce45;
}

.play-store-badge .play-red {
  fill: #ff5a5f;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.trust-row span {
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 850;
}

.hero-media {
  position: relative;
  min-width: 0;
}

.hero-media img {
  width: min(100%, 560px);
  display: block;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
}

.floating-card {
  position: absolute;
  max-width: 260px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(9, 22, 36, 0.9);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(16px);
}

.floating-card span {
  display: block;
  margin-bottom: 6px;
  color: var(--teal);
  font-size: 0.75rem;
  font-weight: 950;
  text-transform: uppercase;
}

.floating-card strong {
  font-size: 0.95rem;
  line-height: 1.25;
}

.revenue-card {
  left: -28px;
  bottom: 48px;
}

.app-card {
  right: -18px;
  top: 46px;
}

.money-strip,
.section,
.app-section,
.site-footer {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
}

.money-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 12px 0 42px;
}

.money-strip article,
.tool-card,
.result-card,
.library-card,
.affiliate-card,
.trust-grid article,
.calc-results article,
.phone-mockup {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.045);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
}

.money-strip article {
  padding: 16px;
  box-shadow: none;
}

.money-strip span {
  width: 32px;
  height: 32px;
  display: inline-grid;
  place-items: center;
  margin-bottom: 14px;
  border-radius: 999px;
  background: rgba(0, 183, 255, 0.16);
  color: var(--teal);
  font-weight: 950;
}

.money-strip strong {
  display: block;
  font-size: 1.05rem;
}

.money-strip p {
  margin: 8px 0 0;
  font-size: 0.9rem;
}

.section {
  padding: 62px 0;
  border-top: 1px solid var(--line);
}

.section-heading {
  max-width: 850px;
  margin-bottom: 30px;
}

.section-heading.split {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 0.65fr);
  gap: 32px;
  align-items: end;
}

.tool-grid,
.calculator-layout,
.library-tool,
.compound-tool {
  display: grid;
  grid-template-columns: minmax(320px, 0.78fr) minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
}

.tool-card {
  display: grid;
  gap: 16px;
  padding: 22px;
}

label,
fieldset {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 850;
}

fieldset {
  margin: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
}

legend {
  padding: 0 6px;
  color: var(--muted);
}

fieldset label {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-weight: 750;
}

input,
select {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.24);
  color: var(--ink);
}

input::placeholder {
  color: rgba(182, 199, 218, 0.62);
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 2px solid rgba(40, 243, 255, 0.86);
  outline-offset: 3px;
}

input:focus,
select:focus {
  border-color: rgba(40, 243, 255, 0.72);
  box-shadow: 0 0 0 4px rgba(40, 243, 255, 0.10);
}

.input-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 64px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.24);
}

.input-row input {
  border: 0;
  background: transparent;
}

.input-row em {
  color: var(--muted);
  font-style: normal;
  font-weight: 900;
  text-transform: uppercase;
}

.result-card {
  padding: 26px;
  background:
    linear-gradient(145deg, rgba(0, 157, 255, 0.14), transparent 40%),
    rgba(255, 255, 255, 0.045);
}

.answer-console {
  display: grid;
  grid-template-columns: minmax(320px, 0.72fr) minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
}

.answer-input-panel,
.answer-result,
.answer-direct-card,
.answer-detail-grid article {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.045);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
}

.answer-input-panel,
.answer-result {
  padding: 22px;
}

.answer-search-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.search-status {
  min-height: 22px;
  margin: 10px 0 0;
  color: var(--dim);
  font-size: 0.84rem;
  font-weight: 850;
}

.search-status strong {
  color: var(--ink);
}

.quick-question-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.quick-question-row button {
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(0, 157, 255, 0.08);
  color: var(--ink);
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 900;
}

.quick-question-row button:hover {
  border-color: var(--line-strong);
  background: rgba(0, 157, 255, 0.16);
}

.answer-disclaimer {
  margin: 16px 0 0;
  color: var(--dim);
  font-size: 0.86rem;
}

.answer-match-grid,
.answer-detail-grid {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

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

.answer-match-grid article,
.answer-detail-grid article {
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(0, 157, 255, 0.07);
}

.answer-match-grid span,
.answer-direct-card span,
.answer-detail-grid span {
  display: block;
  margin-bottom: 8px;
  color: var(--teal);
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.answer-match-grid p,
.answer-detail-grid p,
.answer-direct-card p {
  margin: 0;
  font-size: 0.92rem;
}

.answer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.answer-direct-card {
  margin: 24px 0;
  padding: 20px;
  background:
    linear-gradient(145deg, rgba(0, 157, 255, 0.18), transparent 44%),
    rgba(255, 255, 255, 0.045);
}

.answer-direct-card h2 {
  margin-bottom: 10px;
  font-size: clamp(1.5rem, 3vw, 2.35rem);
}

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

.result-kicker,
.calc-results span,
.phone-mockup span,
.affiliate-card span {
  color: var(--teal);
  font-size: 0.75rem;
  font-weight: 950;
  text-transform: uppercase;
}

.recommend-list,
.shopping-list,
.timeline-list {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.recommend-list li,
.shopping-list li,
.timeline-list li {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--muted);
}

.selected-reference {
  margin-top: 18px;
  padding: 16px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: rgba(0, 157, 255, 0.10);
}

.selected-reference span {
  display: block;
  margin-bottom: 6px;
  color: var(--teal);
  font-size: 0.75rem;
  font-weight: 950;
  text-transform: uppercase;
}

.selected-reference strong {
  display: block;
  color: var(--ink);
}

.selected-reference p {
  margin: 8px 0 10px;
}

.selected-reference a,
.library-card a,
.back-link {
  color: var(--teal);
  font-weight: 950;
}

.library-tool,
.compound-tool {
  grid-template-columns: minmax(280px, 0.55fr) minmax(0, 1fr);
  align-items: start;
}

.library-searchbar {
  display: grid;
  gap: 12px;
}

.library-searchbar .button {
  width: 100%;
}

.library-preview,
.library-results {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.library-card {
  min-height: 230px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
  transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}

.library-card:hover {
  transform: translateY(-2px);
  border-color: rgba(40, 243, 255, 0.34);
  background: rgba(255, 255, 255, 0.065);
}

.library-card span {
  color: var(--teal);
  font-size: 0.75rem;
  font-weight: 950;
  text-transform: uppercase;
}

.library-card h3 {
  margin: 0;
  font-size: 1.18rem;
}

.library-card p {
  margin-bottom: auto;
  font-size: 0.94rem;
}

.library-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.9rem;
}

.library-card-actions a {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
}

.library-empty-state {
  grid-column: 1 / -1;
  min-height: 150px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.045);
}

.library-empty-state strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 1.1rem;
}

.library-page {
  width: min(1200px, calc(100% - 32px));
  max-width: calc(100vw - 32px);
  margin: 0 auto;
}

.library-hero {
  padding: 72px 0 36px;
}

.library-hero h1,
.article-page h1 {
  max-width: 960px;
  font-size: clamp(2.7rem, 5vw, 4.8rem);
  overflow-wrap: break-word;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.filter-row button {
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted);
  cursor: pointer;
  font-weight: 900;
}

.filter-row button.active,
.filter-row button:hover {
  border-color: var(--line-strong);
  color: var(--ink);
  background: rgba(0, 183, 255, 0.12);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 24px 0;
}

.stats-grid article {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.045);
}

.stats-grid span,
.compound-meta-grid span {
  display: block;
  margin-bottom: 7px;
  color: var(--teal);
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.stats-grid strong {
  display: block;
  font-size: 1.8rem;
  line-height: 1;
}

.app-library-searchbar {
  max-width: 760px;
}

.app-library-results {
  padding-bottom: 74px;
}

.compound-card-meta {
  display: grid;
  gap: 6px;
  margin-top: auto;
}

.compound-card-meta strong {
  color: var(--gold);
  font-size: 0.88rem;
  line-height: 1.35;
}

.compound-card-meta em {
  color: var(--dim);
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 850;
  text-transform: uppercase;
}

.compound-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 24px 0;
}

.compound-meta-grid article {
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.045);
}

.compound-meta-grid strong {
  display: block;
  color: var(--ink);
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.library-article {
  max-width: 900px;
  padding: 64px 0 82px;
}

.back-link {
  display: inline-flex;
  margin-bottom: 22px;
}

.article-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 26px 0;
}

.protocol-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.protocol-meta-row span {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.045);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.article-disclaimer {
  margin: 20px 0 34px;
  padding: 16px;
  border: 1px solid rgba(0, 183, 255, 0.34);
  border-radius: 12px;
  background: rgba(0, 157, 255, 0.08);
  color: var(--muted);
  line-height: 1.6;
}

.article-content {
  display: grid;
  gap: 14px;
  color: var(--muted);
  line-height: 1.72;
}

.article-summary {
  max-width: 780px;
  font-size: 1.08rem;
}

.article-content h1,
.article-content h2,
.article-content h3,
.article-content h4,
.article-content h5 {
  margin: 28px 0 4px;
  color: var(--ink);
  line-height: 1.15;
}

.article-content h1 {
  font-size: 2.2rem;
}

.article-content h2 {
  font-size: 1.8rem;
}

.article-content table {
  width: 100%;
  display: block;
  overflow-x: auto;
  border-collapse: collapse;
}

.article-content th,
.article-content td {
  padding: 10px;
  border: 1px solid var(--line);
  vertical-align: top;
}

.protocol-page .library-article {
  max-width: 1120px;
}

.protocol-article > h1 {
  max-width: 980px;
}

.protocol-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.protocol-toc {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 10px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.045);
}

.protocol-toc strong {
  color: var(--ink);
}

.protocol-toc a {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 900;
  text-decoration: none;
}

.protocol-toc a:hover {
  color: var(--teal);
}

.protocol-toc .toc-child {
  padding-left: 12px;
  color: var(--dim);
  font-size: 0.82rem;
}

.protocol-main {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.protocol-stat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.protocol-stat-grid article,
.protocol-highlight-grid article,
.protocol-supply-grid article,
.protocol-technique-grid article {
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.045);
}

.protocol-stat-grid span,
.protocol-highlight-grid span,
.protocol-supply-grid span,
.protocol-technique-grid span,
.protocol-section-index {
  display: block;
  margin-bottom: 8px;
  color: var(--teal);
  font-size: 0.68rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.protocol-stat-grid strong,
.protocol-highlight-grid strong,
.protocol-supply-grid strong {
  display: block;
  color: var(--ink);
  line-height: 1.42;
  overflow-wrap: anywhere;
}

.protocol-panel {
  min-width: 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.045);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.16);
}

.protocol-panel h2 {
  margin-bottom: 10px;
  font-size: clamp(1.45rem, 2.4vw, 2.1rem);
}

.protocol-panel p {
  color: var(--muted);
}

.protocol-document-section {
  scroll-margin-top: 110px;
}

.protocol-document-section h3 {
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 1.28rem;
}

.protocol-glance-grid,
.protocol-math-grid,
.protocol-options-grid,
.protocol-related-grid,
.protocol-highlight-grid,
.protocol-supply-grid,
.protocol-technique-grid {
  display: grid;
  gap: 12px;
}

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

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

.protocol-highlight-grid,
.protocol-supply-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 16px;
}

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

.protocol-two-column,
.protocol-reference-grid {
  display: grid;
  gap: 12px;
}

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

.protocol-two-column article {
  min-width: 0;
}

.protocol-glance-grid article,
.protocol-math-grid article {
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.16);
}

.protocol-glance-grid span,
.protocol-math-grid span,
.protocol-option-card span {
  display: block;
  margin-bottom: 8px;
  color: var(--teal);
  font-size: 0.68rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.protocol-glance-grid strong,
.protocol-math-grid strong {
  display: block;
  color: var(--ink);
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.calculator-preset-panel,
.protocol-options-panel {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
}

.protocol-clean-list {
  display: grid;
  gap: 10px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.protocol-clean-list li {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--muted);
  background: rgba(0, 0, 0, 0.14);
}

.protocol-step-list {
  display: grid;
  gap: 10px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: protocol-step;
}

.protocol-step-list li {
  position: relative;
  min-height: 44px;
  padding: 12px 14px 12px 52px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--muted);
  background: rgba(0, 0, 0, 0.14);
}

.protocol-step-list li::before {
  counter-increment: protocol-step;
  content: counter(protocol-step);
  position: absolute;
  left: 14px;
  top: 12px;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: rgba(40, 243, 255, 0.18);
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 950;
}

.protocol-data-table {
  display: grid;
  margin: 18px 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.12);
}

.protocol-data-table > div {
  display: grid;
  grid-template-columns: 0.72fr 1fr 1fr;
}

.protocol-data-table > div + div {
  border-top: 1px solid var(--line);
}

.protocol-data-table strong,
.protocol-data-table span {
  min-width: 0;
  padding: 13px;
  line-height: 1.45;
}

.protocol-data-table strong {
  color: var(--teal);
  font-size: 0.7rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.protocol-data-table strong + strong,
.protocol-data-table span + span {
  border-left: 1px solid var(--line);
}

.protocol-note {
  margin-top: 16px;
  padding: 14px;
  border: 1px solid rgba(40, 243, 255, 0.26);
  border-radius: 12px;
  color: var(--muted);
  background: rgba(40, 243, 255, 0.08);
  line-height: 1.6;
}

.protocol-supply-grid p {
  margin: 8px 0 0;
}

.protocol-supply-grid .protocol-clean-list {
  margin-top: 12px;
}

.protocol-technique-grid .protocol-clean-list {
  margin-top: 10px;
}

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

.protocol-reference-card {
  min-width: 0;
  display: grid;
  gap: 8px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.14);
  text-decoration: none;
}

.protocol-reference-card:hover {
  border-color: var(--line-strong);
}

.protocol-reference-card strong {
  color: var(--ink);
  line-height: 1.3;
}

.protocol-reference-card span {
  color: var(--muted);
  line-height: 1.55;
}

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

.protocol-option-card {
  min-width: 0;
  display: grid;
  gap: 8px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink);
  background: rgba(0, 157, 255, 0.08);
  text-decoration: none;
}

.protocol-option-card:hover {
  border-color: var(--line-strong);
  background: rgba(0, 157, 255, 0.14);
}

.protocol-option-card strong {
  line-height: 1.2;
}

.protocol-option-card em {
  color: var(--gold);
  font-style: normal;
  font-weight: 950;
}

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

.protocol-related-grid a {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--ink);
  background: rgba(0, 0, 0, 0.14);
  font-weight: 900;
  text-decoration: none;
  text-transform: capitalize;
}

.protocol-related-grid a:hover {
  border-color: var(--line-strong);
  color: var(--teal);
}

.protocol-source-content .article-content {
  margin-top: 8px;
}

.clean-guide {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.clean-guide article {
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.14);
}

.clean-guide span {
  display: block;
  margin-bottom: 8px;
  color: var(--teal);
  font-size: 0.68rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.clean-guide h3 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 1.12rem;
  line-height: 1.25;
}

.clean-guide p {
  margin: 0;
  line-height: 1.65;
}

.clean-guide p + p {
  margin-top: 10px;
}

.clean-guide ol {
  display: grid;
  gap: 10px;
  margin: 10px 0 0;
  padding-left: 22px;
  color: var(--muted);
}

.calculator-layout {
  grid-template-columns: minmax(320px, 0.78fr) minmax(0, 1fr);
  align-items: start;
}

.robust-calculator-layout .calculator-card {
  align-self: start;
}

.calc-example-row,
.unit-toggle-row,
.calculator-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.calc-example-row button,
.unit-toggle-row button {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.2);
  color: var(--muted);
  font-weight: 950;
  cursor: pointer;
}

.calc-example-row button:hover,
.unit-toggle-row button:hover,
.unit-toggle-row button.active {
  border-color: rgba(40, 243, 255, 0.56);
  background: rgba(40, 243, 255, 0.15);
  color: var(--ink);
}

.syringe-fieldset {
  gap: 12px;
}

.calculator-planning-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.custom-syringe-row {
  max-width: 220px;
}

.custom-syringe-row input:disabled {
  opacity: 0.48;
}

.calc-dashboard {
  display: grid;
  gap: 14px;
}

.calc-syringe-card,
.calc-formula,
.calc-warning {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.045);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
}

.calc-syringe-card {
  padding: 24px;
  background:
    linear-gradient(135deg, rgba(0, 183, 255, 0.18), rgba(255, 255, 255, 0.045)),
    rgba(255, 255, 255, 0.045);
}

.calc-syringe-card strong {
  display: block;
  margin: 6px 0 16px;
  font-size: clamp(2.4rem, 7vw, 5rem);
  line-height: 0.95;
}

.calc-syringe-card small {
  display: block;
  color: var(--muted);
  font-weight: 850;
}

.syringe-meter {
  height: 34px;
  display: grid;
  align-items: stretch;
  margin-bottom: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background:
    repeating-linear-gradient(90deg, transparent 0 9.5%, rgba(255, 255, 255, 0.16) 9.5% 10%),
    rgba(0, 0, 0, 0.22);
}

.syringe-meter i {
  min-width: 3px;
  background: linear-gradient(90deg, var(--teal), var(--blue));
}

.calc-result-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.calc-result-grid article {
  min-height: 112px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.045);
}

.calc-result-grid span,
.calc-formula strong {
  color: var(--dim);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.calc-result-grid strong {
  display: block;
  margin-top: 10px;
  font-size: clamp(1.35rem, 3vw, 2.1rem);
  line-height: 1.05;
}

.calc-formula,
.calc-warning {
  padding: 18px;
}

.calc-formula p,
.calc-warning p {
  margin: 8px 0 0;
}

.calc-warning {
  color: var(--muted);
  line-height: 1.55;
}

.calc-warning-strong {
  border-color: rgba(255, 141, 141, 0.38);
  background: rgba(255, 141, 141, 0.08);
}

.passive-resources-section {
  border-top-color: rgba(40, 243, 255, 0.12);
}

.passive-resources-section .section-heading {
  margin-bottom: 20px;
}

.affiliate-grid,
.trust-grid {
  display: grid;
  gap: 16px;
}

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

.peptide-collection-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 16px;
}

.peptide-collection-card {
  min-height: 250px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.045);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.16);
  text-decoration: none;
  transition: border-color 160ms ease, transform 160ms ease, background 160ms ease;
}

.peptide-collection-card:hover {
  border-color: var(--line-strong);
  background: rgba(0, 157, 255, 0.10);
  transform: translateY(-3px);
}

.peptide-collection-card.featured {
  border-color: rgba(40, 243, 255, 0.42);
  background: linear-gradient(135deg, rgba(0, 183, 255, 0.14), rgba(255, 255, 255, 0.045));
}

.peptide-collection-card span {
  color: var(--teal);
  font-size: 0.68rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  line-height: 1.25;
  text-transform: uppercase;
}

.peptide-collection-card h3 {
  margin-bottom: 0;
  font-size: 1.25rem;
  line-height: 1.12;
}

.peptide-collection-card p {
  margin-bottom: auto;
  color: var(--muted);
  font-size: 0.95rem;
}

.peptide-collection-card strong {
  color: var(--ink);
  font-size: 1.55rem;
  line-height: 1;
}

.peptide-collection-card em {
  color: var(--teal);
  font-style: normal;
  font-weight: 950;
}

.store-link-card {
  max-width: 720px;
  display: grid;
  gap: 12px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.045);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
}

.store-link-card span {
  color: var(--teal);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.store-link-card h3 {
  margin-bottom: 0;
  font-size: 1.45rem;
}

.store-link-card p {
  max-width: 560px;
  margin-bottom: 0;
}

.store-link-card .button {
  width: fit-content;
}

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

.affiliate-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.affiliate-controls button {
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted);
  cursor: pointer;
  font-weight: 950;
}

.affiliate-controls button.active,
.affiliate-controls button:hover {
  border-color: var(--line-strong);
  color: var(--ink);
  background: rgba(0, 183, 255, 0.12);
}

.affiliate-card {
  min-height: 260px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px;
  transition: border-color 160ms ease, transform 160ms ease, background 160ms ease;
}

.affiliate-card:hover {
  border-color: var(--line-strong);
  background: rgba(0, 157, 255, 0.10);
  transform: translateY(-3px);
}

.affiliate-card strong {
  font-size: 1.03rem;
}

.affiliate-preview {
  min-height: 116px;
  display: grid;
  align-content: center;
  gap: 8px;
  margin: -4px -4px 4px;
  overflow: hidden;
  padding: 14px;
  border: 1px solid rgba(126, 208, 255, 0.18);
  border-radius: 12px;
  background: rgba(2, 8, 23, 0.34);
}

.affiliate-preview span {
  color: var(--dim);
  font-size: 0.66rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  line-height: 1.25;
  text-transform: uppercase;
}

.affiliate-preview strong {
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.18;
}

.affiliate-preview small {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.45;
}

.affiliate-preview-image {
  padding: 0;
  background: rgba(255, 255, 255, 0.045);
}

.affiliate-preview-image img {
  width: 100%;
  height: 100%;
  min-height: 156px;
  display: block;
  object-fit: cover;
}

.affiliate-preview-unavailable {
  min-height: 0;
  padding: 10px 12px;
  border-style: dashed;
  background: rgba(255, 255, 255, 0.028);
}

.affiliate-meta {
  margin-top: 2px;
}

.affiliate-card > span,
.affiliate-card > small {
  color: var(--muted);
  line-height: 1.45;
}

.affiliate-card > span {
  font-size: 0.68rem;
}

.affiliate-card > em {
  color: var(--gold);
  font-size: 0.84rem;
  font-style: normal;
  font-weight: 900;
}

.affiliate-card > small {
  display: block;
  margin-top: auto;
  font-size: 0.86rem;
  text-transform: none;
}

.app-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 0.55fr);
  gap: 38px;
  align-items: center;
  padding: 82px 0;
  border-top: 1px solid var(--line);
}

.app-copy p:not(.eyebrow) {
  max-width: 700px;
}

.phone-mockup {
  max-width: 360px;
  justify-self: end;
  padding: 18px;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(0, 157, 255, 0.14), transparent),
    #091727;
}

.phone-top {
  display: flex;
  justify-content: space-between;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
}

.phone-mockup article {
  display: grid;
  gap: 6px;
  margin-bottom: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.045);
}

.phone-mockup strong {
  font-size: 1.2rem;
}

.phone-mockup small {
  color: var(--muted);
}

.phone-chart {
  height: 112px;
  display: flex;
  align-items: end;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.phone-chart i {
  flex: 1;
  display: block;
  border-radius: 999px 999px 3px 3px;
  background: linear-gradient(180deg, var(--teal), var(--blue));
}

.phone-chart i:nth-child(1) { height: 38%; }
.phone-chart i:nth-child(2) { height: 60%; }
.phone-chart i:nth-child(3) { height: 46%; }
.phone-chart i:nth-child(4) { height: 84%; }
.phone-chart i:nth-child(5) { height: 68%; }

.trust-grid article {
  padding: 20px;
}

.trust-grid strong {
  color: var(--gold);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  padding: 42px 0 50px;
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 8px 0 0;
}

.saved-state {
  border-color: rgba(123, 215, 255, 0.9);
  background: rgba(123, 215, 255, 0.16);
}

.plans-page {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
}

.plans-hero {
  max-width: 940px;
  padding: 76px 0 34px;
}

.plans-hero h1 {
  max-width: 980px;
  font-size: clamp(2.8rem, 5vw, 5rem);
}

.plans-hero p {
  max-width: 720px;
  font-size: 1.08rem;
}

.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 24px 0 30px;
}

.plan-card {
  position: relative;
  min-width: 0;
  display: grid;
  gap: 14px;
  align-content: start;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background:
    linear-gradient(145deg, rgba(0, 157, 255, 0.10), transparent 42%),
    rgba(255, 255, 255, 0.045);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.20);
}

.featured-plan {
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
}

.plan-badge {
  position: absolute;
  top: -13px;
  right: 22px;
  padding: 6px 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--teal), var(--blue));
  color: #020817;
  font-size: 0.68rem;
  font-weight: 950;
  text-transform: uppercase;
}

.plan-card > span {
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.plan-card h2 {
  font-size: clamp(2.3rem, 4vw, 4rem);
}

.plan-card h2 small {
  color: var(--muted);
  font-size: 1rem;
}

.plan-card ul {
  display: grid;
  gap: 10px;
  margin: 0 0 8px;
  padding: 0;
  list-style: none;
}

.plan-card li {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--muted);
}

.compare-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.045);
}

.compare-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
}

.compare-table th,
.compare-table td {
  padding: 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.compare-table th {
  color: var(--teal);
  font-size: 0.72rem;
  text-transform: uppercase;
}

.compare-table td {
  color: var(--muted);
  font-weight: 800;
}

.plan-final-cta {
  padding-bottom: 88px;
}

.billing-message {
  min-height: 24px;
  margin: 0 0 20px;
  color: var(--teal);
  font-weight: 900;
}

.app-body {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  background:
    radial-gradient(circle at 62% 4%, rgba(0, 183, 255, 0.22), transparent 24rem),
    #020817;
}

.app-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 20px;
  border-right: 1px solid var(--line);
  background: rgba(7, 26, 49, 0.92);
}

.app-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.app-brand img {
  border-radius: 50%;
  filter: drop-shadow(0 0 14px rgba(0, 183, 255, 0.58));
}

.app-brand span {
  display: grid;
  line-height: 1.05;
}

.app-brand small {
  color: var(--muted);
  font-weight: 850;
}

.app-sidebar nav {
  display: grid;
  gap: 8px;
}

.app-sidebar nav a,
.app-sidebar-footer a {
  min-height: 40px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 8px;
  color: var(--muted);
  font-weight: 900;
}

.app-sidebar nav a.active,
.app-sidebar nav a:hover,
.app-sidebar-footer a:hover {
  background: rgba(0, 183, 255, 0.12);
  color: var(--ink);
}

.app-sidebar-footer {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.app-sidebar-footer span {
  display: block;
  margin-bottom: 8px;
  color: var(--dim);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.app-main {
  min-width: 0;
  padding: 42px;
}

.app-topbar {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  margin-bottom: 28px;
}

.app-topbar h1 {
  margin: 0;
  font-size: clamp(2.4rem, 4vw, 4.4rem);
}

.app-topbar-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.app-account-status {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 850;
}

.app-account-status a {
  color: var(--teal);
  font-weight: 950;
}

.app-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.7fr);
  gap: 16px;
}

.app-panel {
  min-width: 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background:
    linear-gradient(145deg, rgba(0, 157, 255, 0.10), transparent 42%),
    rgba(255, 255, 255, 0.045);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.20);
}

.app-hero-panel {
  grid-row: span 2;
}

.app-wide {
  grid-column: 1 / -1;
}

.app-hero-panel h2 {
  margin: 8px 0 12px;
  font-size: clamp(2rem, 4vw, 3.5rem);
}

.app-score-panel strong {
  display: block;
  margin: 8px 0 4px;
  font-size: clamp(3rem, 7vw, 5.5rem);
  line-height: 1;
}

.app-plan-dates,
.revenue-route-grid,
.mini-calc-result {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.app-plan-dates article,
.revenue-route-grid a,
.mini-calc-result article,
.action-list a {
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(0, 157, 255, 0.07);
}

.app-plan-dates span,
.mini-calc-result span {
  display: block;
  margin-bottom: 8px;
  color: var(--teal);
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.app-plan-dates strong,
.mini-calc-result strong,
.revenue-route-grid strong,
.action-list strong {
  display: block;
  color: var(--ink);
}

.action-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.action-list span,
.revenue-route-grid span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

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

.mini-calc {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  gap: 12px;
  align-items: end;
}

.mini-calc-result {
  max-width: 520px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 1100px) {
  .site-header nav {
    display: none;
  }

  .hero,
  .tool-grid,
  .library-tool,
  .compound-tool,
  .answer-console,
  .calculator-layout,
  .app-section,
  .section-heading.split {
    grid-template-columns: 1fr;
  }

  .plan-grid,
  .app-body,
  .app-grid,
  .mini-calc {
    grid-template-columns: 1fr;
  }

  .app-sidebar {
    position: static;
    height: auto;
  }

  .app-main {
    padding: 28px;
  }

  .app-hero-panel,
  .app-wide {
    grid-row: auto;
    grid-column: auto;
  }

  .hero {
    min-height: auto;
  }

  .hero-media {
    max-width: 780px;
  }

  .app-card {
    right: 12px;
  }

  .revenue-card {
    left: 12px;
  }

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

  .peptide-collection-grid {
    grid-template-columns: 1fr;
  }

  .library-preview,
  .library-results {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .phone-mockup {
    justify-self: start;
  }
}

@media (max-width: 760px) {
  .site-header,
  .hero,
  .money-strip,
  .section,
  .plans-page,
  .library-page,
  .app-section,
  .site-footer {
    width: min(calc(100% - 48px), 1200px);
  }

  .plans-hero h1 {
    font-size: 2.1rem;
    line-height: 1.08;
  }

  .app-body {
    display: block;
  }

  .app-main {
    padding: 24px;
  }

  .app-topbar,
  .app-topbar-actions {
    display: grid;
  }

  .app-plan-dates,
  .revenue-route-grid,
  .calculator-planning-grid,
  .calc-result-grid,
  .mini-calc-result {
    grid-template-columns: 1fr;
  }

  .library-page {
    width: calc(100vw - 48px) !important;
    max-width: calc(100vw - 48px);
    overflow: hidden;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(2.25rem, 10vw, 2.7rem);
    line-height: 1;
  }

  .desktop-headline {
    display: none;
  }

  .mobile-headline {
    display: block;
  }

  .desktop-copy {
    display: none;
  }

  .mobile-copy {
    display: inline;
  }

  h2 {
    font-size: clamp(2rem, 11vw, 3.2rem);
  }

  .library-hero {
    padding-top: 58px;
  }

  .library-hero h1,
  .article-page h1 {
    width: calc(100vw - 48px);
    max-width: calc(100vw - 48px);
    font-size: 1.95rem;
    line-height: 1.08;
  }

  .library-card h3 {
    max-width: calc(100vw - 88px);
    overflow-wrap: anywhere;
  }

  .library-card h3 a {
    display: block;
    max-width: calc(100vw - 96px);
    overflow-wrap: anywhere;
  }

  .library-hero p,
  .article-summary,
  .library-card p {
    width: calc(100vw - 96px);
    max-width: calc(100vw - 96px);
    overflow-wrap: break-word;
  }

  .library-searchbar,
  .library-preview,
  .library-results {
    width: calc(100vw - 48px);
    max-width: 100%;
    min-width: 0;
  }

  .library-card {
    width: calc(100vw - 48px);
    max-width: calc(100vw - 48px);
  }

  .filter-row {
    flex-wrap: nowrap;
    max-width: 100%;
    overflow-x: auto;
    padding-bottom: 8px;
  }

  .filter-row button {
    flex: 0 0 auto;
  }

  .money-strip,
  .peptide-collection-grid,
  .affiliate-grid,
  .library-preview,
  .library-results,
  .trust-grid,
  .stats-grid,
  .compound-meta-grid,
  .protocol-layout,
  .protocol-stat-grid,
  .protocol-glance-grid,
  .protocol-math-grid,
  .protocol-highlight-grid,
  .protocol-supply-grid,
  .protocol-technique-grid,
  .protocol-two-column,
  .protocol-reference-grid,
  .protocol-options-grid,
  .protocol-related-grid,
  .answer-match-grid,
  .answer-detail-grid {
    grid-template-columns: 1fr;
  }

  .protocol-toc {
    position: static;
  }

  .calculator-preset-panel,
  .protocol-options-panel {
    display: grid;
  }

  .protocol-data-table > div {
    grid-template-columns: 1fr;
  }

  .protocol-data-table strong + strong,
  .protocol-data-table span + span {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

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

  .age-gate-actions,
  .auth-name-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions,
  .store-actions {
    display: grid;
  }

  .hero-content,
  .hero-media {
    width: calc(100vw - 48px);
    max-width: 100%;
  }

  .hero-actions .button,
  .store-actions .button {
    width: 100%;
  }

  .store-badge {
    width: 100%;
  }

  .floating-card {
    position: static;
    max-width: none;
    margin-top: 12px;
  }

  .eyebrow {
    font-size: 0.68rem;
    line-height: 1.5;
  }

  .hero-content > p:not(.eyebrow) {
    width: min(100%, 320px);
    max-width: calc(100vw - 48px);
    font-size: 1rem;
  }

  .trust-row {
    display: grid;
    grid-template-columns: 1fr;
    width: min(100%, 320px);
    max-width: calc(100vw - 48px);
  }

  .trust-row span {
    width: 100%;
  }

  .header-actions {
    margin-left: auto;
  }

  .header-link {
    display: none;
  }

  .age-gate-card,
  .auth-card {
    padding: 20px;
  }

  .hero-actions,
  .store-actions {
    width: min(100%, 320px);
  }

  .site-footer {
    flex-direction: column;
  }

  .site-footer nav {
    flex-wrap: wrap;
  }
}
