:root {
  --bg: #02050b;
  --panel: #101827;
  --muted: #e8f4ff;
  --cyan: #58f4ff;
  --gold: #ffd84d;
  --line: #8d63ff;
}

.hero {
  grid-template-columns: minmax(360px, 560px) 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  background:
    radial-gradient(circle at 83% 22%, rgba(88, 244, 255, .24), transparent 28%),
    radial-gradient(circle at 18% 82%, rgba(141, 99, 255, .25), transparent 30%),
    linear-gradient(120deg, #02050b, #18204d);
}

.cover::after { border-width: 3px; }

@media (max-width: 780px) {
  .hero { grid-template-columns: 1fr; }
}


/* SEO/UI cleanup 2026-10-01
   Preserve Book Three cover and branding. Tighten desktop hero so the cover,
   story hook, and Amazon CTAs appear together above the fold. */
.hero {
  grid-template-columns: minmax(300px, 430px) minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 4.5rem);
  min-height: calc(100vh - 78px);
  padding-top: clamp(2.75rem, 5vh, 4.5rem);
  padding-bottom: clamp(2.75rem, 5vh, 4.5rem);
}
.cover {
  width: 100%;
  max-width: 430px;
  justify-self: start;
}
.cover img {
  width: 100%;
  height: auto;
}
.hero-copy {
  align-self: center;
  min-width: 0;
}
.hero h1 {
  max-width: 12ch;
  font-size: clamp(2.8rem, 5.1vw, 5rem);
  line-height: .96;
  margin-bottom: 1.15rem;
}
.lead { max-width: 680px; }
.actions { margin: 1.4rem 0 1.1rem; }

@media (max-width: 980px) and (min-width: 781px) {
  .hero {
    grid-template-columns: minmax(260px, 360px) minmax(0, 1fr);
    gap: 2.5rem;
  }
  .hero h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
}
@media (max-width: 780px) {
  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 2.5rem;
    padding-bottom: 3.5rem;
  }
  .cover {
    max-width: 500px;
    justify-self: center;
  }
  .hero h1 {
    max-width: none;
    font-size: clamp(2.5rem, 12vw, 4rem);
  }
}
