:root {
  --bg: #0c0b10;
  --bg-top: #111018;
  --hairline: #25232e;
  --text: #f6f4f8;
  --muted: #9d97ad;
  --max: 920px;
}

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

html {
  background: var(--bg);
  color: var(--text);
}

body {
  font-family: system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  background: linear-gradient(180deg, var(--bg-top) 0%, var(--bg) 32%);
  min-height: 100svh;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

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

.landing {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2.5rem 1.5rem 2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 3rem;
}

.brand img {
  border-radius: 7px;
}

.brand span {
  font-family: 'Sora', system-ui, sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
}

.body {
  flex: 1;
  width: min(var(--max), 100%);
  display: grid;
  gap: 2.5rem;
  align-items: center;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .body {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

.hero {
  text-align: center;
}

@media (min-width: 768px) {
  .hero {
    text-align: left;
  }
}

.hero h1 {
  font-family: 'Sora', system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(2.1rem, 4.8vw, 2.85rem);
  line-height: 1.1;
  letter-spacing: -0.035em;
  margin-bottom: 1rem;
}

.lead {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.65;
  max-width: 21rem;
  margin: 0 auto 2rem;
}

@media (min-width: 768px) {
  .lead {
    margin-inline: 0;
  }
}

.store-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: center;
  gap: 0.65rem 0.85rem;
  padding-bottom: 0.5rem;
}

@media (min-width: 768px) {
  .store-badges {
    justify-content: flex-start;
  }
}

.store-badge {
  display: inline-block;
  line-height: 0;
  transition: opacity 0.15s ease;
}

.store-badge--play:hover {
  opacity: 0.85;
}

.store-badge--play img {
  height: 48px;
  width: auto;
}

.store-badge--soon {
  position: relative;
  opacity: 0.42;
  cursor: default;
}

.store-badge--soon img {
  height: 40px;
  width: auto;
}

.store-badge__soon {
  position: absolute;
  left: 50%;
  bottom: -1.25rem;
  transform: translateX(-50%);
  font-size: 0.65rem;
  letter-spacing: 0.03em;
  color: var(--muted);
  white-space: nowrap;
  line-height: 1;
}

.preview {
  margin: 0;
  display: flex;
  justify-content: center;
}

@media (min-width: 768px) {
  .preview {
    justify-content: flex-end;
  }
}

.preview__device {
  width: min(260px, 70vw);
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--hairline);
  background: #0a090e;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.preview__device img {
  width: 100%;
  vertical-align: top;
}

.footer {
  width: min(var(--max), 100%);
  padding-top: 1.25rem;
  border-top: 1px solid var(--hairline);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem 1.5rem;
  font-size: 0.82rem;
  color: var(--muted);
}

.footer nav {
  display: flex;
  gap: 1.25rem;
}

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

@media (min-width: 640px) {
  .store-badge--play img {
    height: 50px;
  }

  .store-badge--soon img {
    height: 42px;
  }

  .preview__device {
    width: min(280px, 100%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .store-badge--play:hover {
    opacity: 1;
  }
}
