/* Recognition. Four planes: the warm glow, a huge quiet "you", the real
   prompter window, and the headline in front of all of it. */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: clip;
  isolation: isolate;
}

.hero-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: var(--sc-5);
  position: relative;
  z-index: 3;
}

.hero-glow {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: radial-gradient(45% 55% at 72% 55%, rgba(255, 198, 92, 0.2), transparent 70%);
}

.hero-you {
  position: absolute;
  z-index: -1;
  right: -2vw;
  bottom: -8vw;
  font: 800 clamp(14rem, 42vw, 40rem) / 0.8 var(--sc-font-display);
  letter-spacing: -0.06em;
  color: color-mix(in oklab, var(--sc-ink) 6%, transparent);
  transform: scale(calc(1 + (var(--sc-p, 0.5) - 0.5) * 0.5));
  transform-origin: 80% 100%;
  user-select: none;
}

.hero-grid {
  display: grid;
  align-items: center;
  gap: var(--sc-7);
  padding-bottom: var(--sc-8);
}

.hero-copy { position: relative; z-index: 2; max-width: 38rem; }

.hero-title {
  font: 800 var(--sc-t-4xl) / var(--sc-leading-none) var(--sc-font-display);
  font-size: clamp(3rem, 1.6rem + 4.6vw, 6rem);
  letter-spacing: var(--sc-track-tight);
  text-wrap: balance;
}

.hero-sub {
  margin-top: var(--sc-5);
  max-width: 30rem;
  font-size: var(--sc-t-lg);
  line-height: 1.5;
  color: var(--sc-ink-soft);
}

.hero-copy .button { margin-top: var(--sc-6); }
.hero-small { margin-top: var(--sc-3); font-size: var(--sc-t-sm); color: var(--sc-ink-soft); }

.hero-window { margin: 0; position: relative; z-index: 1; }
.hero-window img {
  width: 100%;
  height: auto;
  border-radius: var(--sc-r-lg);
  box-shadow: var(--sc-e3), var(--sc-edge);
}

@media (min-width: 64rem) {
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
  /* The headline crosses the window's edge: overlap is the cheapest depth there is. */
  .hero-window { margin-left: -6rem; }
}

@media (max-width: 43rem) {
  .hero-title { font-size: var(--sc-t-2xl); }
  .hero-you { bottom: 18%; right: -10vw; }
}
