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

:root {
  --bg: #000;
  --bg-soft: #0a0a0a;
  --text: #fff;
  --muted: #9a9a9a;
  --muted-soft: #6e6e6e;
  --surface: #2a2a2a;
  --surface-hover: #343434;
  --grid: 520px;
  --icon: 3.25rem;
  --radius-icon: 0.85rem;
  --font: "Onest", sans-serif;
}

html,
body {
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--bg);
}

.page {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 5rem 1.25rem 5rem;
}

.grid {
  width: 100%;
  max-width: var(--grid);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 3.25rem;
}

.intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.45rem;
  animation: rise 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.mark {
  display: block;
  width: 5rem;
  height: auto;
}

.tagline {
  max-width: 18ch;
  font-size: clamp(1.5rem, 3.6vw, 1.85rem);
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -0.035em;
  color: var(--text);
}

.apps {
  display: flex;
  flex-direction: column;
  gap: 0;
  animation: rise 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.12s both;
}

.app {
  display: grid;
  grid-template-columns: var(--icon) minmax(0, 1fr);
  gap: 1rem 1.1rem;
  align-items: start;
  text-align: left;
}

.app__icon {
  width: var(--icon);
  height: var(--icon);
  border-radius: var(--radius-icon);
  object-fit: cover;
  display: block;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
}

.app__icon--placeholder {
  background: linear-gradient(160deg, #3a3a3a 0%, #222 100%);
  box-shadow: none;
  position: relative;
  overflow: hidden;
}

.app__icon--placeholder::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    transparent 30%,
    rgba(255, 255, 255, 0.04) 50%,
    transparent 70%
  );
}

.app__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
  min-width: 0;
  padding-top: 0.15rem;
}

.app__name {
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.app__name a {
  color: var(--text);
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.app__name a:hover {
  opacity: 0.72;
}

.app__desc {
  font-size: 1.125rem;
  line-height: 1.45;
  color: var(--muted);
  letter-spacing: -0.01em;
}

.store-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.55rem;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 2rem;
  padding: 0.4rem 0.8rem;
  border: none;
  border-radius: 999px;
  background: #2f2f2f;
  color: #fff;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
  transition:
    transform 0.2s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.2s ease,
    background 0.2s ease,
    color 0.2s ease;
}

.store-btn img {
  display: block;
  width: 0.9rem;
  height: 0.9rem;
  filter: none;
  transition: filter 0.2s ease;
}

.store-btn:hover {
  transform: translateY(-2px);
  background: #fff;
  color: #0a0a0a;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.75) inset,
    0 14px 28px rgba(0, 0, 0, 0.38);
}

.store-btn:hover img {
  filter: brightness(0);
}

.store-btn:active {
  transform: translateY(0);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.5) inset,
    0 4px 10px rgba(0, 0, 0, 0.28);
}

.apps__divider {
  width: 100%;
  height: 1px;
  margin: 1.75rem 0;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.16),
    rgba(255, 255, 255, 0.06) 60%,
    transparent
  );
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(0.65rem);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .intro,
  .apps,
  .store-btn {
    animation: none;
    transition: none;
  }

  .store-btn:hover,
  .store-btn:active {
    transform: none;
  }
}