.hero {
  padding: clamp(3rem, 8vw, 5.5rem) 0 1rem;
  /* The growing pulse rings must not widen the page on phones. */
  overflow-x: clip;
}

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

@media (min-width: 900px) {
  .hero .container {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

.hero-kicker {
  margin-bottom: 0.9rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--brand-700);
}

.hero h1 {
  margin-bottom: 1.1rem;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.hero-lead {
  max-width: 32rem;
  font-size: 1.1rem;
  color: var(--text-muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin: 1.75rem 0 1.5rem;
}

.hero-link {
  padding: 0.65rem 0.25rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: color 0.3s var(--ease-ios);
}

.hero-link:hover {
  color: var(--text);
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.875rem;
  color: var(--text-faint);
}

.hero-facts li + li::before {
  content: '·';
  margin: 0 0.6rem;
}

/* Wallet screenshot in a phone frame; the pulse rings live in motion.css. */
.phone-showcase {
  position: relative;
  display: grid;
  place-items: center;
  justify-self: center;
  width: min(100%, 420px);
  padding: 2rem 0;
}

.phone-showcase::before {
  content: '';
  position: absolute;
  inset: 12% 8%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgb(15 185 133 / 0.35), transparent);
  filter: blur(24px);
}

.phone-pulse {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  aspect-ratio: 1;
  border: 2px solid rgb(15 185 133 / 0.6);
  border-radius: 50%;
  background: radial-gradient(closest-side, transparent 60%, rgb(15 185 133 / 0.18));
  transform: translate(-50%, -50%) scale(0.6);
  opacity: 0;
  pointer-events: none;
}

.phone {
  --phone-width: min(68vw, 280px);
  position: relative;
  width: var(--phone-width);
  padding: 10px;
  border-radius: 48px;
  background: linear-gradient(145deg, #2a3240, #0b0f16 55%, #1c2330);
  box-shadow:
    0 0 0 1.5px #3a4354,
    0 0 0 3px #0b0f16,
    var(--shadow-float),
    0 40px 80px -30px rgb(5 150 108 / 0.45);
}

/* Dynamic island */
.phone::before {
  content: '';
  position: absolute;
  top: 18px;
  left: 50%;
  z-index: 1;
  width: 30%;
  height: 22px;
  border-radius: var(--radius-pill);
  background: #05070b;
  transform: translateX(-50%);
}

/* Power button on the right; its shadows draw the two volume buttons on the left. */
.phone::after {
  content: '';
  position: absolute;
  top: 26%;
  right: -4px;
  width: 4px;
  height: 64px;
  border-radius: 3px;
  background: #2a3240;
  box-shadow:
    calc(-1 * var(--phone-width) - 4px) -40px 0 #2a3240,
    calc(-1 * var(--phone-width) - 4px) 34px 0 #2a3240;
}

.phone img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 38px;
}
