/* Hero */
.hero {
  padding-top: clamp(2rem, 6vw, 5rem);
}

.hero__inner {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 64em) {
  .hero__inner {
    grid-template-columns: 1.2fr 1fr;
  }
}

.hero__badge {
  display: inline-block;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 1.25rem;
}

.hero__title {
  font-size: var(--step-4);
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin-bottom: 1rem;
}

.hero__subtitle {
  font-size: var(--step-1);
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  max-width: 38rem;
}

.hero__tldr {
  border-left: 3px solid var(--accent);
  padding: 0.25rem 0 0.25rem 1.25rem;
  margin-bottom: 2rem;
  max-width: 42rem;
}

.hero__tldr-title {
  font-size: var(--step-0);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 0.25rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.hero__note {
  color: var(--text-muted);
  font-size: 0.875rem;
}

.hero__media-caption {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-top: 1rem;
}

/* Video */
.video {
  max-width: 21rem;
  margin-inline: auto;
}

.video__phone {
  padding: 0.6rem;
  border: 1px solid var(--border);
  border-radius: 2.75rem;
  background: var(--surface);
  box-shadow: 0 24px 60px rgb(0 0 0 / 0.18);
}

.video__placeholder {
  position: relative;
  overflow: hidden;
  border-radius: 2.25rem;
  background: #000;
}

.video__poster {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1170 / 2532;
  object-fit: cover;
}

.video__placeholder-label {
  position: absolute;
  left: 50%;
  bottom: 1.5rem;
  transform: translateX(-50%);
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: rgb(0 0 0 / 0.65);
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
  backdrop-filter: blur(6px);
}

/* Screenshots gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 11rem), 1fr));
  gap: 1.5rem;
}

.gallery__title {
  font-size: var(--step-0);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin: 0 0 1rem;
}

.gallery__title:not(:first-of-type) {
  margin-top: 3rem;
}

.gallery--phone {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 14rem), 1fr));
}

.gallery--watch {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 9rem), 1fr));
}

.gallery--watch .shot__trigger {
  border-radius: 2.5rem;
}

.gallery--watch .shot__trigger img {
  border-radius: 2rem;
}

.shot {
  margin: 0;
  text-align: center;
}

.shot__trigger {
  display: block;
  width: 100%;
  padding: 0.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 1.75rem;
  cursor: zoom-in;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

@media (prefers-color-scheme: dark) {
  .shot__trigger {
    background: var(--bg);
  }
}

.shot__trigger:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgb(0 0 0 / 0.16);
}

.shot__trigger img {
  border-radius: 1.4rem;
  width: 100%;
}

.shot figcaption {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-top: 0.6rem;
}

/* Contact */
.contact__card {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.contact__link {
  margin-top: 0.75rem;
  align-self: flex-start;
  font-weight: 600;
  overflow-wrap: anywhere;
  color: var(--accent);
  text-decoration: none;
  border-bottom: 2px solid color-mix(in srgb, var(--accent) 35%, transparent);
  padding-bottom: 0.1rem;
}

.contact__link:hover {
  border-bottom-color: var(--accent);
}

/* CTA */
.cta {
  background:
    radial-gradient(60rem 24rem at 50% 120%,
      color-mix(in srgb, var(--accent) 24%, transparent), transparent);
}

.cta__inner {
  text-align: center;
}

.cta__inner .section__lead {
  margin-inline: auto;
  margin-bottom: 2rem;
}

.cta__note {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-top: 1rem;
}
