/* Keep the approved original-v5 hero above the spacing-v4 site design.
   Scope typography and colors to the hero so other routes retain that design. */
@font-face {
  font-family: "Mazi Original Mono";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(/assets/font-5.woff2) format("woff2");
}
.home-hero {
  --mono: "Mazi Original Mono", monospace;
  display: block;
  position: relative;
  min-height: 0;
  padding: clamp(48px, 9vh, 110px) 0 30px;
}
html:not([data-theme="light"]) .home-hero {
  --panel: #14120f;
  --panel-2: #1c1915;
  --line: rgba(245, 238, 224, 0.09);
  --line-soft: rgba(245, 238, 224, 0.09);
  --line-strong: rgba(245, 238, 224, 0.17);
  --muted: #a8a294;
  --faint: #6e695c;
  --gold-soft: rgba(233, 190, 79, 0.15);
  --red: #ff5346;
}
.hero-copy {
  max-width: calc(100% - min(470px, 36vw));
}
@media (min-width: 1100px) {
  .hero-copy {
    position: relative;
    top: 32px;
  }
}
.hero-copy h1 {
  font: 700 clamp(38px, 5.2vw, 68px)/1.05 var(--body);
  letter-spacing: -0.02em;
}
.hero-copy .hero-kicker {
  font: 400 11px/1.5 var(--mono);
  letter-spacing: 0.14em;
  padding: 6px 12px;
  margin-bottom: 22px;
}
.hero-copy > p {
  font-size: 18px;
  line-height: 1.5;
  margin: 20px 0 30px;
}
.hero-actions {
  gap: 14px;
}
body[data-page="home"] main .home-hero .button {
  min-height: 48px;
  padding: 0 24px;
  font-size: 15px;
  font-weight: 700;
  line-height: normal;
  letter-spacing: 0.01em;
}
body[data-page="home"] main .home-hero .button.secondary {
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--line-strong, var(--line));
}
body[data-page="home"] main .home-hero .button svg {
  width: 16px;
  height: 16px;
}
.hero-assurances {
  margin-top: 22px;
  color: var(--muted);
}
.hero-visual {
  position: absolute;
  top: clamp(30px, 6vh, 80px);
  right: 0;
  width: min(440px, 34vw);
  height: 455px;
  margin: 0;
}

/* Give the rotating deck a clear pause before the three next-step panels. */
.home-hero + .utility-strip {
  margin-top: clamp(48px, 6vw, 80px);
}

@media (max-width: 1099px) {
  .hero-copy {
    max-width: none;
  }
  .hero-visual {
    --cw: min(60vw, 300px);
    position: relative;
    inset: auto;
    width: calc(100% + 2 * var(--page-gutter));
    height: calc(var(--cw) * 1.37 + 86px);
    margin: 30px calc(-1 * var(--page-gutter)) 4px;
    max-width: none;
  }
  .collector-deck {
    height: 100%;
  }
  .deck-stage {
    --cw: min(60vw, 300px);
    width: 100%;
    max-width: none;
    height: calc(var(--cw) * 1.37 + 52px);
  }
  .deck-card.front {
    top: 8px;
  }
  .deck-card.pos-1 {
    top: 20px;
  }
  .deck-card.pos-0 {
    top: 34px;
  }
  .deck-card.pos-off {
    top: 28px;
  }
}
@media (min-width: 701px) and (max-width: 1099px) {
  .hero-copy > p {
    max-width: 560px;
  }
  .hero-copy h1 {
    max-width: 900px;
  }
}
@media (max-width: 700px) {
  .hero-copy {
    text-align: left;
  }
  .hero-copy h1 {
    font-size: clamp(56px, 17vw, 96px);
  }
  .hero-copy > p {
    max-width: 560px;
    margin: 20px 0 30px;
  }
  .hero-actions {
    justify-content: flex-start;
    gap: 14px;
  }
  .home-hero + .utility-strip {
    margin-top: 32px;
  }
}
