.app-hero {
  background: linear-gradient(115deg, #080808 37%, #190c10 100%);
}

.app-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr);
  align-items: center;
  gap: clamp(24px, 5vw, 76px);
  min-height: calc(100svh - 84px);
  padding-block: 48px;
}

.app-hero-copy { animation: app-intro 550ms cubic-bezier(.16, 1, .3, 1) both; }

@keyframes app-intro {
  from { opacity: .76; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.app-icon { width: 68px; height: auto; border-radius: 16px; margin-bottom: 24px; }

.app-hero h1 {
  font-size: clamp(45px, 6vw, 88px);
  font-weight: 800;
  line-height: .99;
  letter-spacing: -.04em;
}

.app-hero h1 span { display: block; color: #ff3646; }
.app-hero-copy > p:not(.app-version) { max-width: 36ch; margin-top: 25px; font-size: clamp(17px, 2vw, 22px); line-height: 1.5; }
.app-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 24px; margin-top: 30px; }
.app-actions .button, .app-install .button { min-height: 52px; font-size: 14px; }
.app-actions .button:active, .app-install .button:active { transform: translateY(1px); }
.app-actions .text-link { font-size: 14px; }
.app-actions .text-link svg { width: 16px; height: 16px; }
.app-hero-copy .app-version { margin-top: 12px; color: var(--muted); font-size: 13px; }

.app-showcase {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  overflow: hidden;
  min-height: clamp(480px, 71svh, 680px);
  border-radius: 8px;
  background: radial-gradient(ellipse at 50% 68%, #67232c, #251216 62%, #170e11);
}

.app-showcase::before, .app-showcase::after {
  position: absolute;
  z-index: -1;
  content: "";
  width: 77%;
  aspect-ratio: 1;
  border: 1px solid #ff9ca42c;
  border-radius: 50%;
  transition: scale 650ms cubic-bezier(.16, 1, .3, 1);
}

.app-showcase::after { width: 91%; border-color: #ff9ca41f; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .app-showcase:hover::before { scale: 1.06; }
  .app-showcase:hover::after { scale: 1.08; }
}

.app-device {
  display: block;
  padding: 5px;
  border: 1px solid #5b393e;
  border-radius: 23px;
  background: #0a0809;
}

.app-device img { width: 100%; height: auto; border-radius: 17px; }
.app-hero-device { width: clamp(175px, 26svh, 275px); box-shadow: 0 24px 42px #080405a8; }

.app-features { border-block: 1px solid var(--line); background: #110d0e; padding-block: clamp(46px, 8vw, 108px); }
.app-feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 4vw, 64px); margin-top: 38px; }
.app-feature { display: grid; grid-template-rows: auto 1fr auto; align-content: start; gap: 10px; border-top: 1px solid #542d33; padding-top: 19px; }
.app-feature p, .app-install p, .app-install-steps { color: #cababc; font-size: 16px; line-height: 1.55; }
.app-screen-link { position: relative; width: min(100%, 224px); margin-top: 12px; transition: transform .2s, border-color .2s; }
.app-screen-link:hover { transform: translateY(-2px); border-color: #ff6472; }
.app-screen-link svg { position: absolute; right: 10px; bottom: 10px; width: 32px; height: 32px; padding: 7px; border: 1px solid #75474d; border-radius: 6px; background: #160d10; }

.app-install { background: radial-gradient(ellipse at left top, #400f1b55, transparent 72%), #100d0e; border-bottom: 1px solid var(--line); }
.app-install-layout { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 7vw, 100px); align-items: start; padding-block: clamp(54px, 8vw, 106px); }
.app-install p { margin-block: 16px 25px; }
.app-install-steps { margin: 0; padding-left: 30px; }
.app-install-steps li { padding: 0 0 16px 8px; }
.app-install-steps li + li { border-top: 1px solid var(--line); padding-top: 16px; }
.app-install-steps li:last-child { padding-bottom: 0; }
.app-install-steps li::marker { color: #ff6472; font-weight: 700; }

@media (max-width: 960px) {
  .app-hero-layout { min-height: calc(100svh - 80px); }
}

@media (max-width: 780px) {
  .app-hero-layout { grid-template-columns: 1fr; min-height: auto; gap: 24px; padding-block: 30px; }
  .app-hero h1 { font-size: clamp(35px, 10.5vw, 60px); }
  .app-icon { width: 52px; border-radius: 12px; margin-bottom: 16px; }
  .app-hero-copy > p:not(.app-version) { margin-top: 16px; }
  .app-actions { gap: 4px 16px; margin-top: 20px; }
  .app-hero-copy .app-version { margin-top: 8px; }
  .app-showcase { min-height: 0; padding-block: 22px; }
  .app-hero-device { width: clamp(145px, 45vw, 198px); }
  .app-feature-grid { margin-top: 22px; }
  .app-install-layout { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .app-feature-grid { grid-template-columns: 1fr; gap: 25px; }
  .app-feature { grid-template-rows: auto; }
  .app-screen-link { width: min(100%, 225px); margin-inline: auto; }
}

@media (max-width: 460px) {
  .app-actions .button { width: 100%; }
}
