:root {
  --bg: #0a0a0b;
  --text: #f4f4f5;
  --muted: #a1a1aa;
  --dim: #71717a;
  --red: #d9232e;
  --red-2: #ec3540;
}

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

html, body { overflow-x: hidden; }

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

a { color: inherit; text-decoration: none; }

/* ---------- hero ---------- */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  isolation: isolate;
}

/* poster wall */
.wall {
  position: absolute;
  inset: -10% -6% -10% 18%;
  z-index: -2;
  display: flex;
  gap: 14px;
  transform: rotate(-8deg);
  opacity: 0;
  transition: opacity 1.2s ease;
}

.wall.is-ready { opacity: 1; }

.wall__col {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  animation: drift 90s linear infinite;
}

.wall__col:nth-child(even) {
  animation-direction: reverse;
  margin-top: -120px;
}

.wall__col img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 8px;
  background: #18181b;
}

@keyframes drift {
  from { transform: translateY(0); }
  to { transform: translateY(-50%); }
}

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

.shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, var(--bg) 22%, rgba(10, 10, 11, .86) 46%, rgba(10, 10, 11, .45) 75%, rgba(10, 10, 11, .6) 100%),
    linear-gradient(0deg, var(--bg) 0%, rgba(10, 10, 11, 0) 30%);
}

/* top bar */
.top {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 32px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.top__logo { height: 34px; width: auto; }

.top__link {
  font-size: 15px;
  font-weight: 600;
  color: var(--muted);
  transition: color .15s;
}

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

/* copy */
.hero__body {
  width: 100%;
  max-width: 1240px;
  margin: auto;
  padding: 0 40px 14vh;
}

.hero h1 {
  font-size: clamp(44px, 7vw, 92px);
  font-weight: 800;
  line-height: .98;
  letter-spacing: -0.045em;
}

.hero__body > p {
  margin-top: 26px;
  max-width: 420px;
  font-size: 18px;
  line-height: 1.6;
  color: var(--muted);
}

.get {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px;
}

.get__btn {
  display: inline-flex;
  align-items: center;
  height: 56px;
  padding: 0 30px;
  border-radius: 999px;
  background: var(--red);
  font-size: 16px;
  font-weight: 700;
  transition: background .15s, transform .15s;
}

.get__btn:hover { background: var(--red-2); }
.get__btn:active { transform: scale(.98); }

.get__code {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.get__code span {
  font-size: 13px;
  font-weight: 600;
  color: var(--dim);
}

.get__code strong {
  margin-top: 4px;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: .06em;
}

/* ---------- install ---------- */

.how {
  max-width: 1240px;
  margin: 0 auto;
  padding: 100px 40px 112px;
}

.how h2 {
  font-size: 15px;
  font-weight: 700;
  color: var(--dim);
}

.how ol {
  list-style: none;
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}

.how b {
  display: block;
  font-size: 14px;
  font-weight: 800;
  color: var(--red);
}

.how p {
  margin-top: 10px;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: -0.01em;
  color: var(--muted);
}

.how em {
  font-style: normal;
  color: var(--text);
}

/* ---------- footer ---------- */

.foot {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 40px 48px;
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: var(--dim);
}

.foot a:hover { color: var(--text); }

/* ---------- small screens ---------- */

@media (max-width: 860px) {
  .wall { inset: -10% -30% 30% -30%; transform: rotate(-8deg); }
  .shade {
    background:
      linear-gradient(0deg, var(--bg) 38%, rgba(10, 10, 11, .75) 65%, rgba(10, 10, 11, .55) 100%);
  }
  .hero__body { margin: auto 0 0; padding-bottom: 56px; }
  .how ol { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 520px) {
  .top, .hero__body, .how, .foot { padding-left: 22px; padding-right: 22px; }
  .top { padding-top: 22px; }
  .top__logo { height: 28px; }
  .hero__body > p { font-size: 16px; }
  .get { gap: 20px; }
  .get__btn { width: 100%; justify-content: center; }
  .how p { font-size: 18px; }
}

/* ---------- screenshot ---------- */

.shot {
  position: relative;
  z-index: 1;
  max-width: 940px;
  margin: 40px auto 0;
  padding: 0 40px;
}

.shot__frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  background: #121214;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, .06),
    0 40px 100px -20px rgba(0, 0, 0, .9);
}

.shot__frame > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.shot__empty {
  display: none;
  position: absolute;
  inset: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: radial-gradient(90% 80% at 50% 0%, #1c1c20 0%, #121214 70%);
}

.shot__empty img { opacity: .9; }

.shot__empty span {
  font-size: 13px;
  font-weight: 600;
  color: var(--dim);
  letter-spacing: .02em;
}

.shot__frame.is-empty > img { display: none; }
.shot__frame.is-empty .shot__empty { display: flex; }

/* ---------- about ---------- */

.about {
  max-width: 1240px;
  margin: 0 auto;
  padding: 104px 40px 40px;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
}

.about__intro h2 {
  font-size: clamp(30px, 3.2vw, 42px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.about__intro p {
  margin-top: 18px;
  font-size: 17px;
  line-height: 1.65;
  color: var(--muted);
}

.about__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px 56px;
}

.about__list h3 {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.about__list p {
  margin-top: 8px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--muted);
}

@media (max-width: 860px) {
  .shot { margin-top: 8px; }
  .about { grid-template-columns: 1fr; gap: 44px; padding-top: 88px; }
}

@media (max-width: 520px) {
  .shot, .about { padding-left: 22px; padding-right: 22px; }
  .shot__frame { border-radius: 12px; }
  .about__list { grid-template-columns: 1fr; gap: 32px; }
}
