.s-hero {
  max-width: none;
  padding-inline: var(--pad-x);
}

.hero-layout,
.hero-stats {
  width: min(100%, var(--max-w));
  margin-inline: auto;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, .72fr);
  align-items: center;
  gap: clamp(36px, 7vw, 88px);
  padding-block: clamp(28px, 6vh, 64px) 40px;
}

.hero-inner {
  padding-bottom: 0;
}

.hero-headline {
  max-width: 720px;
  letter-spacing: 0;
}

.hero-showcase {
  position: relative;
  min-width: 0;
  perspective: 1200px;
  isolation: isolate;
}

.showcase-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: clamp(360px, 53vh, 540px);
}

.showcase-stage::before {
  content: '';
  position: absolute;
  width: min(92%, 380px);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 50%;
  box-shadow: 0 0 80px rgba(240, 61, 28, .1);
}

.showcase-phone {
  --phone-rotate-x: 4deg;
  --phone-rotate-y: -12deg;
  --phone-rotate-z: 2deg;
  position: relative;
  width: clamp(205px, 19vw, 250px);
  aspect-ratio: 9 / 18.5;
  padding: 9px;
  border-radius: 36px;
  background: #242a32;
  box-shadow:
    18px 24px 50px rgba(0, 0, 0, .4),
    inset 0 0 0 1px rgba(255, 255, 255, .14);
  transform: rotateX(var(--phone-rotate-x)) rotateY(var(--phone-rotate-y)) rotateZ(var(--phone-rotate-z));
  transform-style: preserve-3d;
  transition: transform 300ms cubic-bezier(.2, .8, .2, 1);
  will-change: transform;
}

.showcase-phone::before {
  content: '';
  position: absolute;
  z-index: 3;
  top: 16px;
  left: 50%;
  width: 32%;
  height: 18px;
  border-radius: 10px;
  background: #11151a;
  transform: translateX(-50%);
}

.showcase-phone::after {
  content: '';
  position: absolute;
  top: 24%;
  right: -4px;
  width: 3px;
  height: 72px;
  border-radius: 0 3px 3px 0;
  background: #3b424c;
}

.showcase-screen {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: 29px;
  background: #f3f5f7;
  transform: translateZ(8px);
}

.showcase-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.showcase-placeholder {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 18px 36px 1.4fr 1fr 52px;
  gap: 12px;
  height: 100%;
  padding: 58px 18px 18px;
  background-color: #f3f5f7;
  background-image: linear-gradient(rgba(13, 17, 23, .035) 1px, transparent 1px);
  background-size: 100% 24px;
}

.showcase-placeholder span {
  display: block;
  border-radius: 7px;
  background: #dfe4e8;
  animation: placeholder-build 5.2s cubic-bezier(.2, .8, .2, 1) infinite;
}

.showcase-placeholder span:nth-child(2) { animation-delay: 120ms; }
.showcase-placeholder span:nth-child(3) { animation-delay: 240ms; }
.showcase-placeholder span:nth-child(4) { animation-delay: 360ms; }
.showcase-placeholder span:nth-child(5) { animation-delay: 480ms; }
.showcase-placeholder span:nth-child(6) { animation-delay: 600ms; }

@keyframes placeholder-build {
  0%, 8% { opacity: .2; transform: translateY(10px); }
  20%, 82% { opacity: 1; transform: none; }
  94%, 100% { opacity: .2; transform: translateY(-4px); }
}

.placeholder-bar {
  grid-column: 1 / -1;
  width: 38%;
  background: #f03d1c !important;
}

.placeholder-title {
  grid-column: 1 / -1;
  width: 76%;
  background: #20262e !important;
}

.placeholder-card-wide {
  grid-column: 1 / -1;
  background: #fff !important;
  box-shadow: 0 10px 30px rgba(13, 17, 23, .1);
}

.placeholder-nav {
  grid-column: 1 / -1;
  align-self: end;
  background: #20262e !important;
}

.showcase-meta {
  position: relative;
  z-index: 2;
  width: min(100%, 340px);
  margin: -12px auto 0;
  text-align: center;
}

.showcase-kicker {
  margin: 0 0 3px;
  color: var(--coral);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.showcase-title {
  margin: 0;
  color: var(--dark-fg);
  font-size: .95rem;
  font-weight: 600;
}

.showcase-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 34px;
  margin-top: 12px;
}

.showcase-control {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .07);
  color: var(--dark-fg-soft);
  transition: color 160ms ease, background 160ms ease;
}

.showcase-control:hover,
.showcase-control:focus-visible {
  background: rgba(255, 255, 255, .13);
  color: #fff;
}

.showcase-control svg {
  width: 17px;
  height: 17px;
}

.showcase-dots {
  display: flex;
  gap: 6px;
  padding-inline: 3px;
}

.showcase-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .25);
}

.showcase-dot.is-active {
  background: var(--coral);
}

[dir="rtl"] .showcase-phone {
  --phone-rotate-y: 12deg;
  --phone-rotate-z: -2deg;
}

@media (min-width: 901px) and (min-height: 800px) and (prefers-reduced-motion: no-preference) {
  html.page-scroll-ready .hero-layout {
    padding-block: 12px;
  }
}

@media (max-width: 900px) {
  .hero-layout {
    grid-template-columns: minmax(0, 1fr) minmax(230px, .6fr);
    gap: 28px;
  }

  .showcase-stage {
    min-height: 410px;
  }
}

@media (max-width: 700px) {
  .s-hero {
    justify-content: flex-start;
    padding-top: 24px;
  }

  .hero-layout {
    grid-template-columns: 1fr;
    padding-block: 36px 28px;
  }

  .hero-inner {
    text-align: center;
  }

  .avail-badge,
  .hero-actions {
    justify-content: center;
  }

  .hero-sub {
    margin-inline: auto;
  }

  .showcase-stage {
    min-height: 410px;
  }

  .showcase-phone,
  [dir="rtl"] .showcase-phone {
    width: 205px;
    transform: none;
  }
}

@media (max-width: 420px) {
  .site-header {
    height: 56px;
  }

  .s-hero {
    min-height: calc(100svh - 56px);
    padding-top: 10px;
  }

  .hero-layout {
    gap: 6px;
    padding-block: 0 8px;
  }

  .avail-badge {
    margin-bottom: 8px;
  }

  .hero-headline {
    margin-bottom: 10px;
    font-size: clamp(1.55rem, 7.2vw, 1.75rem);
    line-height: 1.12;
  }

  .hero-sub {
    margin-bottom: 14px;
    font-size: .86rem;
    line-height: 1.42;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .hero-actions a {
    justify-content: center;
    min-height: 44px;
    padding: 8px;
    font-size: .76rem;
    line-height: 1.2;
    text-align: center;
  }

  .showcase-stage {
    min-height: 230px;
  }

  .showcase-stage::before {
    width: 220px;
  }

  .showcase-phone,
  [dir="rtl"] .showcase-phone {
    width: 112px;
    padding: 5px;
    border-radius: 22px;
  }

  .showcase-screen {
    border-radius: 17px;
  }

  .showcase-phone::before {
    top: 9px;
    height: 10px;
  }

  .showcase-phone::after {
    height: 40px;
  }

  .showcase-placeholder {
    grid-template-rows: 9px 18px 1.4fr 1fr 26px;
    gap: 6px;
    padding: 30px 9px 9px;
  }

  .showcase-meta {
    margin-top: -4px;
  }

  .showcase-kicker {
    margin-bottom: 0;
    font-size: .62rem;
  }

  .showcase-title {
    font-size: .78rem;
  }

  .hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    padding-block: 12px;
    text-align: center;
  }

  .hero-stats .stat-item {
    min-width: 0;
    padding-inline: 5px;
  }

  .hero-stats .stat-item strong {
    font-size: 1.35rem;
  }

  .hero-stats .stat-item span {
    font-size: .6rem;
    line-height: 1.25;
  }
}

@media (prefers-reduced-motion: reduce) {
  .showcase-phone,
  [dir="rtl"] .showcase-phone {
    transform: none;
    transition: none;
  }
}