:root {
  --bg: #04070d;
  --bg-2: #08111f;
  --panel: #0d1420;
  --panel-2: #111b2b;
  --panel-3: #111827;
  --text: #f4f7fb;
  --muted: #a5b2c4;
  --soft: #6f7f95;
  --line: rgba(178, 211, 255, 0.14);
  --line-strong: rgba(178, 211, 255, 0.25);
  --cyan: #68e4ff;
  --green: #6ee7b7;
  --gold: #f5d56b;
  --rose: #ff7aa2;
  --purple: #b994ff;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 18% 0%, rgba(104, 228, 255, 0.14), transparent 32%),
    radial-gradient(circle at 82% 8%, rgba(245, 213, 107, 0.11), transparent 28%),
    linear-gradient(180deg, #04070d 0%, #070c15 42%, #04070d 100%);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, black 0%, transparent 75%);
}

a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
.wrap { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }

.site-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid var(--line);
  background: rgba(4, 7, 13, 0.76);
  backdrop-filter: blur(18px);
}
.nav-inner {
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 820;
  letter-spacing: 0;
}
.brand img {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  box-shadow: 0 0 26px rgba(104, 228, 255, 0.22);
}
.nav-links {
  display: flex;
  gap: 20px;
  align-items: center;
  color: var(--muted);
  font-size: 14px;
}
.nav-links a:hover { color: var(--text); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 780;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: linear-gradient(135deg, #f7fbff, #c9eeff);
  color: #06101d;
  box-shadow: 0 16px 44px rgba(104, 228, 255, 0.18);
}
.btn-secondary {
  border-color: var(--line-strong);
  background: rgba(255,255,255,0.04);
  color: var(--text);
}
.btn-ghost {
  border-color: var(--line);
  color: var(--muted);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(320px, 0.94fr);
  gap: 44px;
  align-items: center;
  padding: 86px 0 62px;
}
.hero-copy { max-width: 670px; }
.kicker, .mini-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--green);
  border: 1px solid rgba(110,231,183,0.24);
  background: rgba(110,231,183,0.08);
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 780;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.mini-kicker {
  color: var(--cyan);
  border-color: rgba(104,228,255,0.24);
  background: rgba(104,228,255,0.08);
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  margin: 22px 0 18px;
  font-size: clamp(42px, 6.4vw, 78px);
  line-height: 0.98;
  letter-spacing: 0;
  font-weight: 880;
}
.gradient-text {
  background: linear-gradient(120deg, #ffffff, #9cecff 50%, #f5d56b);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-lede {
  max-width: 610px;
  color: var(--muted);
  font-size: clamp(17px, 2.1vw, 21px);
  line-height: 1.55;
  margin-bottom: 28px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--soft);
  font-size: 13px;
}
.trust-row span {
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.035);
  border-radius: 999px;
  padding: 7px 10px;
}

.hero-visual {
  position: relative;
  min-height: 660px;
}
.phone-stack {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}
.phone {
  width: min(308px, 78vw);
  aspect-ratio: 1290 / 2796;
  border-radius: 42px;
  overflow: hidden;
  border: 8px solid #0d1119;
  background: #02040a;
  box-shadow: 0 40px 110px rgba(0,0,0,0.55), 0 0 0 1px rgba(255,255,255,0.16);
}
.phone img { width: 100%; height: 100%; object-fit: cover; display: block; }
.phone.secondary {
  position: absolute;
  width: min(246px, 64vw);
  transform: translate(-118px, 64px) rotate(-7deg);
  opacity: 0.78;
  filter: saturate(0.9) brightness(0.82);
}
.phone.primary {
  position: absolute;
  transform: translate(72px, 4px) rotate(5deg);
}
.floating-proof {
  position: absolute;
  right: 10px;
  bottom: 78px;
  width: 260px;
  border: 1px solid rgba(245,213,107,0.24);
  background: linear-gradient(180deg, rgba(245,213,107,0.14), rgba(255,255,255,0.06));
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 24px 70px rgba(0,0,0,0.32);
}
.stars { color: var(--gold); letter-spacing: 0; font-size: 15px; }
.floating-proof p { margin: 8px 0 0; color: #e7edf8; font-weight: 680; }

section { padding: 74px 0; position: relative; }
.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(240px, 0.42fr);
  gap: 28px;
  align-items: end;
  margin-bottom: 28px;
}
.section-head.center {
  display: block;
  text-align: center;
  max-width: 760px;
  margin: 0 auto 34px;
}
h2 {
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.06;
  font-weight: 850;
  letter-spacing: 0;
  margin: 12px 0 0;
}
.section-lede {
  color: var(--muted);
  font-size: 17px;
  margin: 12px 0 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.stat-card {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.025));
  border-radius: 20px;
  padding: 22px;
}
.stat-card strong {
  display: block;
  font-size: 30px;
  line-height: 1;
}
.stat-card span {
  display: block;
  color: var(--muted);
  margin-top: 9px;
  font-size: 14px;
}

.feed-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.feed-card, .panel, .peptide-card, .protocol-card, .comparison-card, .library-card, .why-card {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(17,27,43,0.95), rgba(13,20,32,0.78));
  border-radius: 22px;
  padding: 22px;
}
.feed-card .tag {
  display: inline-flex;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 760;
  margin-bottom: 12px;
}
.feed-card h3, .protocol-card h3, .comparison-card h3, .library-card h3, .why-card h3 {
  font-size: 20px;
  line-height: 1.2;
  margin-bottom: 10px;
}
.feed-card p, .protocol-card p, .comparison-card p, .library-card p, .why-card p {
  color: var(--muted);
  margin-bottom: 14px;
}
.teaser-link {
  color: var(--green);
  font-weight: 760;
  font-size: 14px;
}

.spotlight {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.55fr);
  gap: 18px;
  align-items: stretch;
}
.spotlight .panel {
  min-height: 100%;
}
.spotlight-list {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}
.spotlight-list div {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px;
  background: rgba(255,255,255,0.035);
}
.spotlight-list b {
  display: block;
  color: var(--text);
  margin-bottom: 4px;
}
.spotlight-list span {
  color: var(--muted);
  font-size: 14px;
}
.locked-stack {
  position: relative;
  display: grid;
  gap: 11px;
  margin-top: 18px;
}
.locked-row {
  position: relative;
  border: 1px solid rgba(245,213,107,0.22);
  background: rgba(245,213,107,0.07);
  border-radius: 15px;
  padding: 14px;
  color: var(--muted);
  overflow: hidden;
}
.locked-row::after {
  content: "App only";
  position: absolute;
  right: 12px;
  top: 12px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 780;
  text-transform: uppercase;
}
.locked-row span {
  filter: blur(3px);
  opacity: 0.58;
}

.explorer {
  display: grid;
  grid-template-columns: minmax(0, 0.45fr) minmax(0, 0.55fr);
  gap: 18px;
}
.search-box {
  display: grid;
  gap: 12px;
}
.search-box input {
  width: 100%;
  border: 1px solid var(--line-strong);
  background: rgba(255,255,255,0.055);
  color: var(--text);
  border-radius: 16px;
  min-height: 52px;
  padding: 0 16px;
  outline: none;
}
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chip {
  border: 1px solid var(--line);
  color: var(--muted);
  background: rgba(255,255,255,0.035);
  border-radius: 999px;
  padding: 8px 11px;
  font-size: 13px;
}
.explorer-results {
  display: grid;
  gap: 10px;
  max-height: 560px;
  overflow: auto;
  padding-right: 4px;
}
.peptide-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  padding: 18px;
}
.peptide-card h3 { margin-bottom: 4px; }
.peptide-card p { color: var(--muted); margin: 0; font-size: 14px; }
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 6px 9px;
  color: var(--green);
  background: rgba(110,231,183,0.10);
  border: 1px solid rgba(110,231,183,0.22);
  font-size: 12px;
  font-weight: 760;
}

.screenshot-band {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  align-items: start;
}
.shot-card {
  border-radius: 28px;
  border: 1px solid var(--line);
  overflow: hidden;
  background: #05070b;
  box-shadow: 0 20px 58px rgba(0,0,0,0.36);
}
.shot-card img { width: 100%; display: block; }
.shot-card:nth-child(even) { margin-top: 36px; }

.protocol-grid, .comparison-grid, .library-grid, .why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.protocol-card ol {
  margin: 16px 0 0;
  padding-left: 20px;
  color: #d9e3f1;
}
.protocol-card li { margin: 7px 0; }
.blurred-step {
  filter: blur(3px);
  color: var(--soft);
}

.email-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(280px, 0.3fr);
  gap: 20px;
  align-items: center;
  border: 1px solid rgba(104,228,255,0.24);
  background:
    radial-gradient(circle at 20% 20%, rgba(104,228,255,0.18), transparent 34%),
    linear-gradient(135deg, rgba(17,27,43,0.96), rgba(14,20,32,0.86));
  border-radius: 28px;
  padding: 30px;
}
.email-form {
  display: grid;
  gap: 10px;
}
.email-form input {
  width: 100%;
  min-height: 48px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(255,255,255,0.06);
  color: var(--text);
  padding: 0 15px;
}
.form-status { color: var(--green); font-size: 13px; min-height: 20px; }

.page-hero {
  padding: 78px 0 38px;
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(260px, 0.3fr);
  gap: 28px;
  align-items: end;
}
.page-hero h1 {
  font-size: clamp(38px, 5.4vw, 70px);
}
.breadcrumb {
  color: var(--soft);
  font-size: 13px;
  margin-bottom: 18px;
}
.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(260px, 0.3fr);
  gap: 24px;
  align-items: start;
}
.article-panel {
  border: 1px solid var(--line);
  background: rgba(17,27,43,0.64);
  border-radius: 24px;
  padding: 28px;
}
.article-panel h2 {
  font-size: 30px;
  margin-top: 32px;
}
.article-panel h2:first-child { margin-top: 0; }
.article-panel p, .article-panel li { color: #d7e2f0; }
.article-panel ul { padding-left: 20px; }
.sidebar {
  position: sticky;
  top: 88px;
  display: grid;
  gap: 12px;
}

footer {
  border-top: 1px solid var(--line);
  margin-top: 60px;
  padding: 34px 0;
  color: var(--soft);
  font-size: 13px;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
}
.footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.disclaimer {
  margin-top: 16px;
  max-width: 850px;
  color: var(--soft);
  font-size: 12px;
}

@media (max-width: 980px) {
  .hero, .section-head, .spotlight, .explorer, .email-panel, .page-hero, .content-layout {
    grid-template-columns: 1fr;
  }
  .hero { padding-top: 56px; }
  .hero-visual { min-height: 560px; }
  .phone.primary { transform: translate(42px, 0) rotate(4deg); }
  .phone.secondary { transform: translate(-84px, 58px) rotate(-6deg); }
  .feed-grid, .protocol-grid, .comparison-grid, .library-grid, .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .screenshot-band { grid-template-columns: repeat(3, 1fr); }
  .sidebar { position: static; }
}

@media (max-width: 680px) {
  .wrap { width: min(100% - 28px, var(--max)); }
  .nav-links { display: none; }
  .nav-inner { height: 62px; }
  .hero { padding-top: 42px; gap: 24px; }
  .hero-visual { min-height: 450px; }
  .phone { width: 230px; border-radius: 34px; border-width: 7px; }
  .phone.secondary { transform: translate(-54px, 52px) rotate(-6deg); width: 190px; }
  .phone.primary { transform: translate(44px, 0) rotate(5deg); }
  .floating-proof { left: 8px; right: auto; bottom: 20px; width: 228px; }
  section { padding: 52px 0; }
  .feed-grid, .protocol-grid, .comparison-grid, .library-grid, .why-grid, .stats-grid {
    grid-template-columns: 1fr;
  }
  .peptide-card {
    grid-template-columns: 1fr;
  }
  .peptide-card .pill {
    justify-self: start;
    max-width: 100%;
    text-align: left;
  }
  .screenshot-band { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .shot-card { border-radius: 20px; }
  .shot-card:nth-child(even) { margin-top: 20px; }
  .footer-grid { grid-template-columns: 1fr; }
}
