/* Keep one persistent control bar on Home. */
body.home2-page .zx-topbar {
  display: none;
}
html:has(body.home2-page) {
  --home-agent-height: calc(48px + var(--zx-bar-safe, env(safe-area-inset-bottom, 0px)));
  scroll-padding-bottom: var(--home-agent-height);
}
body.home2-page:has(.zx-agent-bar) {
  padding-bottom: var(--home-agent-height) !important;
}
html:has(body.home2-page).zx-topbar-on {
  scroll-padding-top: 0;
}

@media screen and (max-width: 599px) {
  #four-doors:not(:has(.fd-door[open])) {
    box-sizing: border-box;
    padding-block-end: var(--home-agent-height);
  }
}

html main.home2 .hold-single {
  display: block;
  width: min(100%, 420px);
  margin-inline: auto;
}
html main.home2 .hold-single img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
}
html main.home2 .home-veritale-banner {
  box-sizing: border-box;
  display: grid;
  place-content: center;
  width: min(100%, 320px);
  aspect-ratio: 10 / 3;
  margin-block-start: 12px;
  padding-inline: 12px;
  color: var(--ink);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  text-decoration: none;
  font: 700 1.25rem/1.25 var(--head);
}
html main.home2 .home-veritale-banner:is(:hover, :focus-visible) {
  border-color: var(--cyan);
}
html main.home2 .home-veritale-banner:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}
html main.home2 .comic-text-link {
  margin: 16px 0 0;
}

@media (max-width: 650px) {
  html main.home2 > section.band::before,
  html:is([data-zx-theme="dark"],[data-zx-theme="eclipse"]) main.home2 > section.band::before,
  html:is([data-zx-theme="dark"],[data-zx-theme="eclipse"]) main.home2 > section.cs-ship::before {
    content: none;
  }

  html body main.home2 > :is(.band, .hero2, .cs-ship),
  html body main.home2 > .band :is(.offer2-terms, .hero2-copy, .close2-text) {
    text-align: start;
  }

  html body main.home2 > :is(.band, .hero2, .cs-ship) > :is(.zx-prompt, h2, p, .offer2-top, .offer2-terms, .crew-row, .close2-text),
  html body main.home2 .offer2-terms > :is(h3, p, .pay3),
  html body main.home2 .offer2-build > .build3 {
    margin-inline: 0;
  }

  html body main.home2 :is(.offer2-terms, .crew2, .offer2-build, .close2-text) :is(h2, h3, p),
  html body main.home2 > .band > h2,
  html body main.home2 > .band > h2::before {
    text-align: start !important;
  }

  html body main.home2 > .band .zx-prompt {
    justify-content: start;
    padding-inline: 0;
  }

  html main.home2 .offer2-build > h2::before {
    counter-increment: band;
    content: counter(band, decimal-leading-zero) " / ";
    display: block;
    margin-block-end: 14px;
    font: 500 16px/1 var(--mono);
    letter-spacing: .12em;
    color: var(--muted);
  }

  html body main.home2 .offer2-terms > .pay3 > li {
    padding-inline: 16px;
    text-align: start;
  }

  html body main.home2 .offer2-call.entry-book {
    justify-items: start;
    padding-inline: 16px;
    text-align: start;
  }

  html body main.home2 .offer2-call .entry-primary {
    justify-self: start;
  }

  html body main.home2 .offer2-call .offer2-links {
    justify-content: start;
  }
}
