/* Melatonin Mélange — nighttime Dune palette (deep black, cyan neon, desert orange) */
:root {
  --bg-deep: #000000;
  --bg: #030201;
  --accent-cyan: #00bfff;
  --accent-cyan-bright: #00e8ff;
  --accent-blue: #00a8cc;
  /* Subdued desert / spice orange — matches dunebackground */
  --accent-orange: #a84a12;
  --accent-orange-fire: #8b3d0f;
  --accent-orange-glow: #c45c1a;
  --accent-spice: #6b2f0a;
  --card: rgba(0, 0, 0, 0.42);
  --card-border: rgba(0, 191, 255, 0.1);
  --text: #e8e6e4;
  --muted: rgba(255, 255, 255, 0.45);
  --neon-cyan-shadow:
    0 0 6px rgba(0, 191, 255, 0.45),
    0 0 14px rgba(0, 191, 255, 0.3),
    0 0 28px rgba(0, 191, 255, 0.12);
  --dune-overlay: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.38) 0%,
    rgba(0, 0, 0, 0.22) 35%,
    rgba(0, 0, 0, 0.45) 70%,
    rgba(0, 0, 0, 0.62) 100%
  );
  --fire-gradient: linear-gradient(
    180deg,
    transparent 0%,
    rgba(139, 61, 15, 0.04) 40%,
    rgba(168, 74, 18, 0.1) 70%,
    rgba(196, 92, 26, 0.14) 100%
  );
  --fire-wave-line: linear-gradient(
    90deg,
    rgba(139, 61, 15, 0.28) 0%,
    rgba(168, 74, 18, 0.12) 45%,
    transparent 85%
  );
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text);
  line-height: 1.7;
  margin: 0;
  min-height: 100vh;
  background-color: var(--bg-deep);
  background-image:
    var(--dune-overlay),
    url('dunebackground.png');
  background-size: cover, cover;
  background-position: center center, center center;
  background-repeat: no-repeat, no-repeat;
  background-attachment: fixed, fixed;
}

/* Nighttime spice glow + bottom desert warmth */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 140% 50% at 50% 100%, rgba(139, 61, 15, 0.14) 0%, transparent 60%),
    radial-gradient(ellipse 80% 40% at 70% 20%, rgba(0, 191, 255, 0.04) 0%, transparent 50%),
    var(--fire-wave-line);
  opacity: 0.65;
}

/* Soft night vignette — lets dunes breathe */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse at 50% 0%, transparent 0%, rgba(0, 0, 0, 0.35) 75%, rgba(0, 0, 0, 0.55) 100%),
    radial-gradient(ellipse at 50% 100%, rgba(0, 0, 0, 0.25) 0%, transparent 45%);
}

body > * { position: relative; z-index: 1; }

@media (max-width: 768px) {
  body {
    background-attachment: scroll, scroll;
  }
}

.cosmic-bg { background: none; }

.heading-font {
  font-family: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  font-weight: 600;
  letter-spacing: -0.03em;
}

/* ─── Utilities ─── */
.text-neon-cyan { color: var(--accent-cyan) !important; }
.text-neon-cyan:hover { color: var(--accent-cyan-bright) !important; }
.text-spice { color: var(--accent-orange-glow); }

/* ─── Navigation ─── */
.site-nav {
  border-bottom: 1px solid rgba(0, 191, 255, 0.08) !important;
  background: rgba(0, 0, 0, 0.52) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 4px 28px rgba(0, 0, 0, 0.5), 0 1px 0 rgba(0, 191, 255, 0.04);
}

/* Mxlogo — primary site logo */
.site-logo {
  display: block;
  object-fit: cover;
  border-radius: 0.5rem;
  flex-shrink: 0;
  filter:
    drop-shadow(0 0 6px rgba(0, 191, 255, 0.55))
    drop-shadow(0 0 14px rgba(0, 191, 255, 0.25));
}
.site-logo--nav {
  width: 2.5rem;
  height: 2.5rem;
}
.site-logo--footer {
  width: 2rem;
  height: 2rem;
}
.site-logo--hero {
  width: clamp(3.5rem, 10vw, 5rem);
  height: clamp(3.5rem, 10vw, 5rem);
  margin: 0 auto 1rem;
  border-radius: 0.65rem;
}

.nav-link {
  transition: color 0.2s ease, text-shadow 0.2s ease;
  color: rgba(255,255,255,0.75);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.nav-link:hover {
  color: var(--accent-cyan-bright);
  text-shadow: 0 0 10px rgba(0, 191, 255, 0.5);
}

#nav-mobile a {
  min-height: 44px;
  display: flex;
  align-items: center;
}

/* ─── Cards ─── */
.section-card {
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.25s ease, border-color 0.25s;
  border: 1px solid var(--card-border);
  background: var(--card);
  backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
}
.section-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 40%;
  background: var(--fire-gradient);
  pointer-events: none;
  opacity: 0.6;
}
.section-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.55), 0 0 20px rgba(0, 191, 255, 0.08);
  border-color: rgba(168, 74, 18, 0.35);
}

.insight-card {
  border-left: 3px solid var(--accent-orange);
  background: rgba(0, 0, 0, 0.38);
  border: 1px solid rgba(0, 191, 255, 0.08);
  border-left-width: 3px;
  border-left-color: var(--accent-orange-fire);
  backdrop-filter: blur(8px);
}

/* ─── Buttons ─── */
.btn-primary {
  background: linear-gradient(135deg, #6b2f0a 0%, #8b3d0f 40%, #a84a12 100%);
  color: rgba(255, 230, 200, 0.95);
  font-weight: 700;
  transition: all 0.25s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  box-shadow: 0 4px 20px rgba(107, 47, 10, 0.45), inset 0 1px 0 rgba(196, 92, 26, 0.2);
  border: 1px solid rgba(168, 74, 18, 0.45);
}
.btn-primary:hover {
  background: linear-gradient(135deg, #8b3d0f 0%, #a84a12 60%, #c45c1a 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(107, 47, 10, 0.55), 0 0 16px rgba(168, 74, 18, 0.2);
}

.btn-secondary {
  background: rgba(0, 0, 0, 0.38);
  border: 1px solid rgba(0, 191, 255, 0.16);
  color: var(--text);
  transition: all 0.25s ease;
  text-decoration: none;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn-secondary:hover {
  background: rgba(0, 191, 255, 0.07);
  border-color: rgba(0, 191, 255, 0.5);
  box-shadow: 0 0 20px rgba(0, 191, 255, 0.14);
}

.melange-badge {
  background: linear-gradient(90deg, #a84a12, #00bfff, #00e8ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
}

/* Shop / Checkout */
.wrap { max-width: 620px; margin: auto; position: relative; z-index: 2; }
.card {
  border-radius: 28px; padding: 28px; background: var(--card);
  backdrop-filter: blur(16px); border: 1px solid rgba(0, 191, 255, 0.28);
  box-shadow: 0 0 48px rgba(0, 191, 255, 0.08), 0 0 56px rgba(107, 47, 10, 0.12), inset 0 1px 0 rgba(0, 191, 255, 0.04);
}
.hero-box {
  width: 100%; max-width: 420px; border-radius: 20px;
  filter: drop-shadow(0 0 20px rgba(0, 191, 255, 0.5)) drop-shadow(0 0 40px rgba(139, 61, 15, 0.35));
  animation: floatBox 6s ease-in-out infinite;
}
@keyframes floatBox {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-box { animation: none; }
  .section-card:hover { transform: none; }
}

.glow-blue {
  text-shadow: 0 0 8px #00bfff, 0 0 18px #00bfff, 0 0 36px rgba(0, 255, 255, 0.35);
  transition: text-shadow 0.2s ease;
}
.glow-blue:hover {
  text-shadow: 0 0 10px #00ffff, 0 0 24px #00bfff, 0 0 48px rgba(0, 255, 255, 0.5);
}

.btn-glow-blue {
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(0, 191, 255, 0.55);
  color: var(--accent-cyan-bright);
  font-weight: 600;
  text-shadow: 0 0 8px rgba(0, 191, 255, 0.6);
  transition: all 0.25s ease;
  min-height: 48px;
}
.btn-glow-blue:hover {
  background: rgba(0, 191, 255, 0.08);
  box-shadow: 0 0 24px rgba(0, 191, 255, 0.4), inset 0 0 16px rgba(0, 191, 255, 0.08);
  transform: translateY(-1px);
}

.package, .token-btn {
  width: 100%; padding: 16px; margin: 6px 0; border-radius: 16px;
  border: 1px solid rgba(0, 191, 255, 0.14); background: rgba(0, 0, 0, 0.5);
  color: var(--text); font-size: 15px; cursor: pointer; transition: all 0.2s;
  min-height: 48px;
}
.package:hover, .package.selected, .token-btn.selected {
  background: rgba(139, 61, 15, 0.18); border-color: var(--accent-orange-fire);
}
.token-row { display: flex; gap: 8px; margin: 10px 0; }
.token-btn { flex: 1; text-align: center; padding: 12px; font-weight: 500; }

.continue, .pay-btn {
  width: 100%; padding: 16px; margin-top: 12px; border: none;
  background: linear-gradient(90deg, #8b3d0f, #00a8cc); color: rgba(255, 235, 210, 0.95);
  font-weight: 700; font-size: 16px; cursor: pointer; border-radius: 16px;
  transition: transform .2s, box-shadow .2s;
  min-height: 52px;
}
.continue:hover, .pay-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(107, 47, 10, 0.4), 0 0 20px rgba(0, 191, 255, 0.15);
}

#debug { color: var(--accent-orange-glow); white-space: pre-wrap; font-size: 13px; margin: 10px 0; min-height: 1.2em; }

input, .form-input, textarea, select {
  width: 100%; padding: 12px 14px; margin: 5px 0; border-radius: 12px;
  border: 1px solid rgba(0, 191, 255, 0.18); background: rgba(0, 0, 0, 0.55);
  color: var(--text); font-size: 16px;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--accent-cyan);
  outline: none;
  box-shadow: 0 0 0 2px rgba(0, 191, 255, 0.18);
}

#payment { margin-top: 20px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.08); }
#qr { width: 240px; height: 240px; max-width: 100%; display: block; margin: 12px auto; border-radius: 16px; background: #fff; }

.modal {
  display: none; position: fixed; z-index: 1000; left: 0; top: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.92); align-items: center; justify-content: center; padding: 1rem;
}
.modal-content {
  background: var(--card); border: 1px solid rgba(0, 191, 255, 0.32); border-radius: 20px;
  max-width: 520px; width: 100%; padding: 28px; color: var(--text);
}

footer, .site-footer {
  border-top: 1px solid rgba(0, 191, 255, 0.08) !important;
  background: rgba(0, 0, 0, 0.48) !important;
  backdrop-filter: blur(12px);
  padding: 20px 0; font-size: 11px; color: var(--muted); text-align: center;
}

.insight-card { padding: 1.75rem; border-radius: 1.25rem; }
.stats { font-variant-numeric: tabular-nums; }

/* ─── Content ─── */
.prose-content { font-size: 1rem; line-height: 1.75; color: rgba(255,255,255,0.82); }
.prose-content h2 {
  font-family: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  font-size: clamp(1.35rem, 4vw, 1.65rem); font-weight: 600;
  margin: 2.5rem 0 1rem; color: #fff; letter-spacing: -0.02em;
}
.prose-content h3 { font-size: 1.1rem; font-weight: 600; margin: 1.75rem 0 0.75rem; color: rgba(255,255,255,0.95); }
.prose-content p { margin: 0 0 1rem; }
.prose-content ul, .prose-content ol { margin: 0 0 1.25rem 1.25rem; padding-right: 0.5rem; }
.prose-content li { margin-bottom: 0.4rem; }
.prose-content a { color: var(--accent-cyan); text-decoration: underline; text-underline-offset: 2px; }
.prose-content a:hover { color: var(--accent-cyan-bright); }
.prose-content blockquote {
  border-left: 3px solid var(--accent-orange);
  padding: 0.75rem 1.25rem; margin: 1.5rem 0;
  background: rgba(139, 61, 15, 0.08); border-radius: 0 12px 12px 0;
  font-style: italic; color: rgba(255,255,255,0.9);
}
.prose-content .cite { font-size: 0.8rem; color: rgba(255,255,255,0.4); margin-top: 0.25rem; }

.hero-pill {
  display: inline-block; padding: 0.4rem 1rem; font-size: 0.6rem; letter-spacing: 3px;
  border: 1px solid rgba(0, 191, 255, 0.2); border-radius: 999px;
  background: rgba(0, 0, 0, 0.35); color: var(--accent-cyan);
  box-shadow: 0 0 14px rgba(0, 191, 255, 0.08);
  backdrop-filter: blur(6px);
}

.thesis-card {
  background: var(--card); border: 1px solid var(--card-border); border-radius: 1.5rem;
  padding: 1.5rem; backdrop-filter: blur(10px);
}
.framework-grid { display: grid; gap: 1rem; }
@media (min-width: 768px) { .framework-grid { grid-template-columns: 1fr 1fr; } }

.chart-wrap {
  background: rgba(0, 0, 0, 0.45); border: 1px solid rgba(0, 191, 255, 0.14);
  border-radius: 1.25rem; padding: 1rem; margin: 1.5rem 0;
}
.chart-title { font-size: 0.85rem; margin-bottom: 0.5rem; display: flex; flex-direction: column; gap: 0.15rem; }
.chart-title strong { color: #fff; }
.chart-sub { color: rgba(255,255,255,0.4); font-size: 0.75rem; }
.circadian-chart { width: 100%; height: auto; display: block; }

.explainer-panel {
  background: var(--card); border: 1px solid rgba(139, 61, 15, 0.25);
  border-radius: 1.5rem; padding: 1.25rem;
}
.explainer-slider { width: 100%; accent-color: var(--accent-cyan); margin: 0.5rem 0 1rem; min-height: 44px; }
.meter-bar { height: 10px; border-radius: 999px; background: rgba(255,255,255,0.06); overflow: hidden; }
.meter-fill-pressure { height: 100%; background: linear-gradient(90deg, #8b3d0f, #c45c1a); border-radius: 999px; transition: width 0.3s ease; }
.meter-fill-signal { height: 100%; background: linear-gradient(90deg, #00bfff, #00ffff); border-radius: 999px; transition: width 0.3s ease; }

.study-card {
  background: rgba(0, 0, 0, 0.38); border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 1.25rem; padding: 1.25rem 1.5rem; transition: border-color 0.2s;
}
.study-card:hover { border-color: rgba(0, 191, 255, 0.35); }
.study-tag { font-size: 0.65rem; letter-spacing: 2px; text-transform: uppercase; color: var(--accent-orange-fire); }

.blog-card { display: block; text-decoration: none; color: inherit; }
.blog-card:hover .blog-title { color: var(--accent-cyan); }
.blog-meta { font-size: 0.7rem; color: rgba(255,255,255,0.38); letter-spacing: 1px; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(140px, 100%), 1fr));
  gap: 0.75rem;
}
.gallery-item {
  border-radius: 1rem; overflow: hidden; border: 1px solid rgba(0, 191, 255, 0.12);
  aspect-ratio: 1; object-fit: cover; width: 100%;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.gallery-item:hover {
  transform: scale(1.02);
  border-color: rgba(0, 191, 255, 0.45);
  box-shadow: 0 0 24px rgba(0, 191, 255, 0.18);
}

.callout-orange {
  background: rgba(139, 61, 15, 0.1); border: 1px solid rgba(168, 74, 18, 0.28);
  border-radius: 1.25rem; padding: 1.25rem 1.5rem;
  box-shadow: inset 0 -24px 48px rgba(107, 47, 10, 0.08);
  backdrop-filter: blur(6px);
}
.callout-cyan {
  background: rgba(0, 191, 255, 0.03); border: 1px solid rgba(0, 191, 255, 0.14);
  backdrop-filter: blur(6px);
  border-radius: 1.25rem; padding: 1.25rem 1.5rem;
}

.protocol-step {
  display: flex; gap: 1rem; align-items: flex-start; padding: 1rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.protocol-num {
  flex-shrink: 0; width: 2rem; height: 2rem; border-radius: 50%;
  background: linear-gradient(135deg, #8b3d0f, #00a8cc); color: rgba(255, 235, 210, 0.95);
  font-weight: 700; font-size: 0.85rem;
  display: flex; align-items: center; justify-content: center;
}

/* ─── Video embed ─── */
.video-hero {
  position: relative;
  border-radius: 1.25rem;
  overflow: hidden;
  border: 1px solid rgba(0, 191, 255, 0.28);
  box-shadow: 0 0 48px rgba(0, 191, 255, 0.1), 0 0 56px rgba(107, 47, 10, 0.12);
  background: #000;
  margin: 2rem 0;
}
.video-hero video {
  width: 100%;
  height: auto;
  display: block;
  max-height: 70vh;
  object-fit: contain;
}
.video-caption {
  padding: 1rem 1.25rem;
  background: rgba(0, 0, 0, 0.55);
  border-top: 1px solid rgba(0, 191, 255, 0.12);
  font-size: 0.9rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.6;
}

/* ─── Testimonials / Stories ─── */
.story-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 1.5rem;
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
}
.story-card::after {
  content: '"';
  position: absolute;
  top: 0.5rem; right: 1rem;
  font-size: 4rem;
  line-height: 1;
  color: rgba(0, 191, 255, 0.1);
  font-family: Georgia, serif;
}
.story-quote {
  font-size: 1.05rem;
  font-style: italic;
  color: rgba(255,255,255,0.9);
  border-left: 2px solid var(--accent-orange-fire);
  padding-left: 1rem;
  margin-bottom: 1rem;
}
.story-meta { font-size: 0.8rem; color: var(--muted); }
.story-role { color: var(--accent-cyan); font-size: 0.75rem; letter-spacing: 1px; text-transform: uppercase; }

.status-pending { color: var(--accent-orange-glow); }
.status-approved { color: var(--accent-cyan-bright); }
.status-rejected { color: #666; }

.admin-panel {
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(168, 74, 18, 0.28);
  border-radius: 1.5rem;
  padding: 1.5rem;
}

/* ─── Mobile typography & spacing ─── */
@media (max-width: 640px) {
  .prose-content { font-size: 0.95rem; }
  .insight-card { padding: 1.25rem; }
  .card { padding: 1.25rem; border-radius: 1.25rem; }
  h1.text-6xl, h1.text-5xl { font-size: clamp(2rem, 9vw, 3rem) !important; }
  .hero-box { max-width: 280px; }
  .protocol-step { flex-direction: column; gap: 0.5rem; }
}

.page-main { padding-left: 1rem; padding-right: 1rem; }
@media (min-width: 640px) {
  .page-main { padding-left: 1.5rem; padding-right: 1.5rem; }
}

/* ─── Pump.Science partner ─── */
.btn-pump-external {
  background: rgba(0, 0, 0, 0.75);
  border: 1px solid rgba(96, 165, 250, 0.45);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  transition: all 0.25s ease;
  box-shadow: 0 0 16px rgba(96, 165, 250, 0.15);
}
.btn-pump-external:hover {
  border-color: rgba(96, 165, 250, 0.7);
  box-shadow: 0 0 28px rgba(96, 165, 250, 0.28);
  transform: translateY(-1px);
}

.btn-pump-partner {
  background: #000000;
  border: 1px solid rgba(96, 165, 250, 0.35);
  border-radius: 1.5rem;
  padding: 0.5rem 1rem;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  text-decoration: none;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.5);
}
.btn-pump-partner:hover {
  border-color: rgba(96, 165, 250, 0.6);
  box-shadow: 0 0 24px rgba(96, 165, 250, 0.2);
  transform: translateY(-1px);
}
.btn-pump-partner img {
  height: 28px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  display: block;
}
@media (min-width: 640px) {
  .btn-pump-partner img { height: 32px; max-width: 200px; }
}

.pump-hero-card {
  background: var(--card);
  border: 1px solid rgba(96, 165, 250, 0.2);
  border-radius: 1.5rem;
  padding: 1.75rem;
  box-shadow: 0 0 40px rgba(96, 165, 250, 0.08);
}
.pump-logo-hero {
  border-radius: 0.75rem;
  background: #000;
}
.pump-results-figure {
  border-radius: 1.25rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 32px rgba(74, 222, 128, 0.08);
}
.pump-hub-banner {
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.48) 0%, rgba(0, 0, 0, 0.35) 100%);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(96, 165, 250, 0.25);
  border-radius: 1.5rem;
  padding: 1.5rem;
  display: grid;
  gap: 1.25rem;
  align-items: center;
}
@media (min-width: 768px) {
  .pump-hub-banner { grid-template-columns: auto 1fr auto; }
}

.seo-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* ─── Worm Sign Banner ─── */
.worm-banner {
  position: relative;
  overflow: hidden;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.72) 0%,
    rgba(8, 4, 2, 0.65) 50%,
    rgba(0, 0, 0, 0.78) 100%
  );
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(168, 74, 18, 0.22);
  box-shadow:
    0 4px 32px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(0, 191, 255, 0.05);
  z-index: 60;
}

.worm-banner__sand {
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background:
    repeating-linear-gradient(
      105deg,
      transparent 0px,
      transparent 3px,
      rgba(255, 140, 0, 0.03) 3px,
      rgba(255, 140, 0, 0.03) 6px
    ),
    radial-gradient(ellipse 120% 80% at 20% 100%, rgba(139, 61, 15, 0.18) 0%, transparent 55%),
    radial-gradient(ellipse 80% 60% at 85% 0%, rgba(0, 191, 255, 0.06) 0%, transparent 50%);
  pointer-events: none;
  animation: sandDrift 18s ease-in-out infinite alternate;
}

@keyframes sandDrift {
  0% { transform: translateX(0); opacity: 0.3; }
  100% { transform: translateX(8px); opacity: 0.4; }
}

.worm-banner__glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60%;
  height: 120%;
  background: radial-gradient(ellipse, rgba(139, 61, 15, 0.12) 0%, transparent 70%);
  pointer-events: none;
  animation: wormPulse 4s ease-in-out infinite;
}

@keyframes wormPulse {
  0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.05); }
}

.worm-banner__text {
  position: relative;
  z-index: 1;
  max-width: 56rem;
  margin: 0 auto;
  padding: 0.85rem 1.25rem 1rem;
  font-size: clamp(0.7rem, 2vw, 0.82rem);
  line-height: 1.65;
  letter-spacing: 0.03em;
  text-align: center;
  color: rgba(255, 220, 180, 0.88);
  text-shadow:
    0 0 12px rgba(168, 74, 18, 0.35),
    0 0 24px rgba(0, 191, 255, 0.12);
  font-style: italic;
}

.worm-banner__sigil {
  color: rgba(0, 191, 255, 0.6);
  text-shadow: 0 0 8px rgba(0, 191, 255, 0.5);
  margin: 0 0.35rem;
  font-style: normal;
}

@media (prefers-reduced-motion: reduce) {
  .worm-banner__sand, .worm-banner__glow { animation: none; }
}

.btn-coming-soon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  font-size: 1rem;
  border-radius: 999px;
  font-weight: 700;
  cursor: default;
  background: linear-gradient(90deg, rgba(107, 47, 10, 0.55), rgba(0, 0, 0, 0.45));
  border: 1px solid rgba(168, 74, 18, 0.4);
  color: rgba(255, 230, 200, 0.88);
  box-shadow:
    0 0 20px rgba(107, 47, 10, 0.25),
    0 0 24px rgba(0, 191, 255, 0.08),
    inset 0 0 16px rgba(0, 0, 0, 0.4);
  text-shadow: 0 0 10px rgba(168, 74, 18, 0.35);
  letter-spacing: 0.04em;
}

/* ─── Minimal Product Homepage ─── */
.product-home {
  background-image:
    radial-gradient(ellipse 90% 55% at 50% 45%, rgba(0, 191, 255, 0.03) 0%, transparent 55%),
    var(--dune-overlay),
    url('dunebackground.png');
}

.product-hero {
  position: relative;
  max-width: 56rem;
  margin: 0 auto;
  padding: 3rem 1.25rem 4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-height: calc(100vh - 8rem);
  justify-content: center;
  gap: 2.5rem;
}

.product-hero__glow {
  position: absolute;
  top: 15%;
  left: 50%;
  transform: translateX(-50%);
  width: min(90vw, 480px);
  height: min(90vw, 480px);
  background: radial-gradient(circle, rgba(0, 191, 255, 0.08) 0%, rgba(139, 61, 15, 0.06) 40%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.product-hero__visual {
  position: relative;
  z-index: 1;
  margin: 0;
}

.product-hero__copy {
  position: relative;
  z-index: 1;
  max-width: 36rem;
}

.product-hero__eyebrow {
  font-size: 0.65rem;
  letter-spacing: 3px;
  color: rgba(255, 255, 255, 0.4);
  margin: 0 0 1.25rem;
}

.product-hero__title {
  font-size: clamp(2.25rem, 8vw, 3.75rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin: 0 0 1.5rem;
  color: #fff;
  text-transform: lowercase;
}

.product-hero__formula {
  font-size: clamp(0.9rem, 2.5vw, 1.05rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.72);
  margin: 0 0 1.75rem;
  font-weight: 400;
}

.product-hero__mystery {
  font-size: clamp(0.85rem, 2.2vw, 0.95rem);
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.48);
  margin: 0 0 2.5rem;
  font-style: italic;
}

.product-hero__mystery em {
  color: rgba(0, 191, 255, 0.75);
  font-style: italic;
}

.product-hero__ctas {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: stretch;
  margin-bottom: 2rem;
}

@media (min-width: 480px) {
  .product-hero__ctas {
    flex-direction: row;
    justify-content: center;
    align-items: center;
  }
  .product-cta-buy, .product-cta-explore {
    width: auto;
  }
}

.product-cta-buy {
  padding: 1rem 2rem;
  font-size: 1rem;
  border-radius: 999px;
}

.product-cta-explore {
  padding: 1rem 1.75rem;
  font-size: 0.95rem;
  border-radius: 999px;
}

.product-hero__warning {
  font-size: 0.65rem;
  letter-spacing: 1.5px;
  color: rgba(168, 74, 18, 0.85);
  margin: 0;
  text-transform: uppercase;
}

.checkout-panel.hidden { display: none; }
.checkout-panel:not(.hidden) { display: block; }

/* ─── Secret test checkout (/secret) ─── */
.secret-page { min-height: 100vh; }
.secret-wrap {
  position: relative;
  z-index: 1;
  max-width: 480px;
  margin: 0 auto;
  padding: 2rem 1rem 3rem;
}
.secret-card {
  background: var(--card);
  border: 1px solid rgba(0, 191, 255, 0.2);
  border-radius: 20px;
  padding: 1.5rem;
  margin-bottom: 1rem;
  backdrop-filter: blur(10px);
}
.secret-eyebrow {
  text-align: center;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: var(--accent-orange-glow);
  margin: 0 0 0.5rem;
}
.secret-title {
  text-align: center;
  font-size: 1.5rem;
  margin: 0;
  color: var(--accent-cyan-bright);
  text-shadow: var(--neon-cyan-shadow);
}
.secret-sub {
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0.5rem 0 0;
}
.secret-h2 {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: 1rem;
  color: var(--accent-cyan);
  margin: 0 0 0.75rem;
}
.secret-label {
  display: block;
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 0.5rem;
  margin-bottom: 0.15rem;
}
.secret-row {
  display: grid;
  grid-template-columns: 1fr 0.55fr 0.65fr;
  gap: 0.5rem;
}
.secret-test-badge {
  display: block;
  text-align: center;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #ffb347;
  background: rgba(139, 61, 15, 0.35);
  border: 1px solid var(--accent-orange-fire);
  border-radius: 10px;
  padding: 0.5rem 0.75rem;
  margin-bottom: 1rem;
}
.secret-note {
  font-size: 0.8rem;
  color: var(--muted);
  margin: 0.75rem 0;
}
.secret-error {
  color: #ff6b6b;
  font-size: 0.85rem;
  margin-top: 0.5rem;
}
.secret-footer {
  text-align: center;
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 1.5rem;
}
.hidden { display: none !important; }

/* ─── Legal disclaimer (site-wide) ─── */
.legal-disclaimer-section {
  position: relative;
  z-index: 1;
  padding: 2.5rem 1rem 3rem;
  background:
    linear-gradient(180deg, rgba(139, 61, 15, 0.12) 0%, rgba(0, 0, 0, 0.55) 40%, rgba(0, 0, 0, 0.72) 100%);
  border-top: 2px solid rgba(196, 92, 26, 0.45);
  border-bottom: 2px solid rgba(196, 92, 26, 0.25);
  box-shadow:
    inset 0 1px 0 rgba(255, 179, 71, 0.08),
    0 -8px 40px rgba(139, 61, 15, 0.15);
}
.legal-disclaimer-section__inner {
  max-width: 52rem;
  margin: 0 auto;
}
.legal-disclaimer-section__anchor {
  text-align: center;
  font-size: 0.6rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255, 179, 71, 0.75);
  margin: 0 0 1rem;
}
.legal-disclaimer {
  background: rgba(0, 0, 0, 0.62);
  border: 2px solid rgba(196, 92, 26, 0.55);
  border-radius: 18px;
  padding: 1.35rem 1.25rem 1.5rem;
  box-shadow:
    0 0 0 1px rgba(0, 191, 255, 0.06) inset,
    0 12px 40px rgba(0, 0, 0, 0.45),
    0 0 32px rgba(139, 61, 15, 0.12);
}
.legal-disclaimer--checkout {
  margin-bottom: 1.25rem;
  padding: 1.15rem 1rem 1.25rem;
}
.legal-disclaimer__banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  flex-wrap: wrap;
  padding: 0.65rem 0.85rem;
  margin-bottom: 1rem;
  border-radius: 10px;
  background: linear-gradient(90deg, rgba(139, 61, 15, 0.45), rgba(107, 47, 10, 0.55), rgba(139, 61, 15, 0.45));
  border: 1px solid rgba(255, 107, 53, 0.45);
  animation: disclaimer-pulse 3.5s ease-in-out infinite;
}
@keyframes disclaimer-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 107, 53, 0.15); }
  50% { box-shadow: 0 0 18px 2px rgba(255, 107, 53, 0.22); }
}
.legal-disclaimer__sigil {
  color: rgba(255, 179, 71, 0.85);
  font-size: 0.75rem;
}
.legal-disclaimer__nfhc {
  font-size: clamp(0.85rem, 3.5vw, 1.05rem);
  letter-spacing: 0.14em;
  color: #ffb347;
  text-shadow: 0 0 12px rgba(255, 107, 53, 0.35);
}
.legal-disclaimer__title {
  text-align: center;
  font-size: clamp(1rem, 4vw, 1.2rem);
  color: var(--accent-cyan-bright);
  margin: 0 0 0.35rem;
  text-shadow: var(--neon-cyan-shadow);
}
.legal-disclaimer__entity {
  text-align: center;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin: 0 0 1rem;
}
.legal-disclaimer__body {
  font-size: 0.78rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.82);
  max-height: 14rem;
  overflow-y: auto;
  padding-right: 0.35rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(196, 92, 26, 0.5) transparent;
}
.legal-disclaimer--checkout .legal-disclaimer__body {
  max-height: 11rem;
}
.legal-disclaimer__body p { margin: 0 0 0.85rem; }
.legal-disclaimer__body strong { color: rgba(255, 235, 210, 0.95); }
.legal-disclaimer__list {
  margin: 0 0 0.85rem;
  padding-left: 1.1rem;
}
.legal-disclaimer__list li {
  margin-bottom: 0.65rem;
}
.legal-disclaimer__list li::marker {
  color: var(--accent-orange-glow);
}
.legal-disclaimer__closing {
  font-size: 0.72rem;
  color: rgba(255, 179, 71, 0.88);
  border-top: 1px solid rgba(196, 92, 26, 0.35);
  padding-top: 0.75rem;
  margin-bottom: 0 !important;
}
.legal-disclaimer__accept {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin-top: 1rem;
  padding: 0.85rem 0.9rem;
  border-radius: 12px;
  border: 2px solid rgba(0, 191, 255, 0.35);
  background: rgba(0, 191, 255, 0.06);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.legal-disclaimer__accept:hover {
  border-color: rgba(0, 191, 255, 0.55);
  background: rgba(0, 191, 255, 0.1);
}
.legal-disclaimer__accept input[type="checkbox"] {
  width: 1.15rem;
  height: 1.15rem;
  min-width: 1.15rem;
  margin: 0.15rem 0 0;
  accent-color: var(--accent-orange-glow);
  cursor: pointer;
}
.legal-disclaimer__accept-text {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent-cyan-bright);
  line-height: 1.45;
}
.continue--disabled,
.continue:disabled {
  opacity: 0.42;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
  filter: grayscale(0.35);
}
.continue--disabled:hover,
.continue:disabled:hover {
  transform: none;
  box-shadow: none;
}

@media (min-width: 768px) {
  .legal-disclaimer { padding: 1.75rem 2rem 2rem; }
  .legal-disclaimer__body { font-size: 0.82rem; max-height: none; }
  .legal-disclaimer--checkout .legal-disclaimer__body { max-height: 13rem; }
}

.btn-solana {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

@media (min-width: 768px) {
  .product-hero {
    flex-direction: row;
    text-align: left;
    align-items: center;
    gap: 4rem;
    padding: 4rem 2rem 5rem;
  }
  .product-hero__visual { flex: 0 0 auto; }
  .product-hero__copy { flex: 1; max-width: 28rem; }
  .product-hero__ctas { justify-content: flex-start; }
  .product-hero__glow { top: 20%; left: 25%; }
  .product-hero__copy .site-logo--hero { margin-left: 0; margin-right: auto; }
}