:root {
  color-scheme: dark;
  --bg: #000000;
  --surface: #0c0d0f;
  --text: #f4f5f6;
  --muted: #9aa0a8;
  --accent: #ff5a3d;
  --accent-hover: #ff735c;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--accent);
  color: #000000;
}

main {
  width: 100%;
  height: 100svh;
  display: grid;
  place-items: center;
  padding: clamp(24px, 5vw, 64px);
}

.hero {
  width: min(920px, 100%);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(240px, .95fr);
  align-items: center;
  gap: clamp(42px, 8vw, 96px);
}

.copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

h1 {
  font-family: ".SF NS Rounded", "Arial Rounded MT Bold", ui-rounded, -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-size: clamp(58px, 8vw, 92px);
  font-weight: 900;
  letter-spacing: -.065em;
  line-height: .9;
}

p {
  max-width: 31ch;
  margin-top: 24px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 21px);
  line-height: 1.48;
  letter-spacing: -.018em;
}

.download {
  height: 56px;
  margin-top: 30px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  gap: 18px;
  border-radius: 10px;
  background: var(--accent);
  color: #080808;
  font-size: 16px;
  font-weight: 760;
  letter-spacing: -.015em;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 14px 38px rgba(255, 90, 61, .2);
  transition: background .18s var(--ease), transform .18s var(--ease), box-shadow .18s var(--ease);
}

.apple-mark {
  font-family: -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-size: 21px;
  font-weight: 500;
  line-height: 1;
}

.download:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 18px 46px rgba(255, 90, 61, .3);
}

.download:active {
  transform: translateY(0);
}

.download:focus-visible {
  outline: 3px solid var(--text);
  outline-offset: 4px;
}

.icon-stage {
  position: relative;
  display: grid;
  place-items: center;
}

.icon-stage img {
  position: relative;
  width: min(100%, 360px);
  height: auto;
  display: block;
  animation: arrive .65s var(--ease) both;
}

@keyframes arrive {
  from {
    opacity: 0;
    transform: translateY(12px) scale(.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 700px) {
  main {
    padding: clamp(18px, 5vw, 30px);
  }

  .hero {
    grid-template-columns: 1fr;
    gap: clamp(16px, 3svh, 26px);
    text-align: center;
  }

  .copy {
    align-items: center;
  }

  h1 {
    font-size: clamp(50px, 17vw, 72px);
  }

  p {
    margin-top: 16px;
    font-size: clamp(16px, 4.5vw, 19px);
  }

  .download {
    height: 52px;
    margin-top: 20px;
  }

  .icon-stage {
    grid-row: 2;
  }

  .icon-stage img {
    width: clamp(120px, 28svh, 230px);
  }
}

@media (max-height: 520px) {
  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(160px, .7fr);
    gap: 30px;
    text-align: left;
  }

  .copy {
    align-items: flex-start;
  }

  h1 {
    font-size: clamp(46px, 10vw, 68px);
  }

  p {
    margin-top: 14px;
    font-size: 16px;
  }

  .download {
    height: 48px;
    margin-top: 18px;
  }

  .icon-stage {
    grid-row: auto;
  }

  .icon-stage img {
    width: min(44svh, 260px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .icon-stage img {
    animation: none;
  }

  .download {
    transition: none;
  }
}
