/* Lite home: keeps core hero styling from styles.css, with launch-specific layout */

/* No nav or burger on the lite page; keep brand aligned to the left like the full site */
.site-header {
  justify-content: flex-start;
}

/* Hide visible page scrollbars on the lite page */
html {
  scrollbar-width: none;
}

body::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.hero .mailing-bar {
  position: absolute;
  z-index: 3;
  left: 50%;
  transform: translateX(-50%);
  width: min(92%, 1080px);
  bottom: 0;
  height: var(--portal-height);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
  align-items: center;
  gap: clamp(20px, 4vw, 56px);
  padding: 0 4.2%;
  background: linear-gradient(180deg, rgba(3, 5, 6, 0.79), rgba(3, 5, 6, 0.96));
  border-top: 1px solid rgba(225, 231, 235, 0.2);
  border-bottom: 1px solid rgba(225, 231, 235, 0.16);
  backdrop-filter: blur(5px);
}

.mailing-bar h2 {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(17px, 1.75vw, 24px);
  letter-spacing: 0.1em;
}

.mailing-bar-copy p {
  margin: 0;
  color: #bcc2c7;
  line-height: 1.6;
  font-size: 14px;
}

.mailing-bar .mailing-list-form {
  margin-top: 0;
}

.mailing-bar .mailing-list-form label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.mailing-bar .mailing-list-row input,
.mailing-bar .mailing-list-row button {
  min-height: 48px;
}

.mailing-bar .mailing-list-note {
  margin: 8px 0 0;
  font-size: 11px;
  line-height: 1.4;
  color: #bcc2c7;
}

.mailing-bar .mailing-list-status {
  margin: 4px 0 0;
  min-height: 0;
  font-size: 12px;
}

.hero-book {
  position: absolute;
  z-index: 2;
  right: 7%;
  top: 50%;
  transform: translateY(-50%);
  width: min(270px, 20vw);
  margin-top: calc(var(--portal-height) / -2 + 40px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(5, 8, 10, 0.72);
  padding: 10px;
  display: grid;
  gap: 10px;
  justify-items: center;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 11px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.55);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.hero-book:hover,
.hero-book:focus-visible {
  border-color: var(--red);
  box-shadow: 0 0 0 1px rgba(240, 24, 38, 0.45), 0 0 28px rgba(240, 24, 38, 0.25);
}

.hero-book .book-thumbnail-image {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 900px) {
  .hero {
    --portal-height: 200px;
  }

  .mailing-bar {
    width: min(95%, 980px);
  }

  .hero-book {
    width: min(180px, 24vw);
    right: 4%;
  }
}

@media (max-width: 620px) {
  .hero {
    --portal-height: 320px;
    min-height: 0;
    height: auto;
    display: block;
  }

  .hero .mailing-bar {
    left: 0;
    transform: none;
    width: 100%;
    grid-template-columns: 1fr;
    align-content: center;
    gap: 12px;
    padding: 0 5%;
  }

  .mailing-bar-copy p {
    font-size: 13px;
    line-height: 1.5;
  }

  .hero .hero-cta {
    display: none;
  }

  .hero-book {
    position: relative;
    width: 150px;
    right: auto;
    top: auto;
    bottom: auto;
    transform: none;
    margin: 16px 0 0 5%;
    padding: 6px;
  }

  .hero-book span {
    display: none;
  }
}
