:root {
  --ink: #17181d;
  --muted: #747883;
  --blue: #0878ff;
  --blue-deep: #0062df;
  --surface: rgb(255 255 255 / 68%);
  --page: #f6f7fb;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", Inter,
    system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

.site-shell {
  position: relative;
  isolation: isolate;
  display: flex;
  min-height: 100svh;
  overflow: hidden;
  flex-direction: column;
  padding: 22px clamp(20px, 5vw, 72px) 28px;
  background:
    radial-gradient(circle at 50% -24%, rgb(255 255 255 / 96%), transparent 52%),
    linear-gradient(145deg, #f9fafc 0%, #f2f5fb 56%, #f7f7fa 100%);
}

.grid-texture {
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: 0.2;
  pointer-events: none;
  background-image:
    linear-gradient(rgb(255 255 255 / 10%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 10%) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black, transparent 72%);
}

.ambient {
  position: absolute;
  z-index: -2;
  width: 42vw;
  min-width: 360px;
  aspect-ratio: 1;
  border-radius: 50%;
  opacity: 0.52;
  filter: blur(12px);
  animation: drift 13s ease-in-out infinite alternate;
}

.ambient--one {
  top: -23vw;
  right: -10vw;
  background: radial-gradient(circle at 38% 38%, #b5dcff, #e6efff 58%, transparent 72%);
}

.ambient--two {
  bottom: -30vw;
  left: -12vw;
  background: radial-gradient(circle at 50% 50%, #d8c8ff, #e9e4ff 52%, transparent 72%);
  animation-delay: -6s;
}

.topbar,
.footer {
  display: flex;
  width: min(1120px, 100%);
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.brand__mark {
  display: grid;
  width: 35px;
  height: 35px;
  place-items: center;
  border: 1px solid rgb(255 255 255 / 85%);
  border-radius: 11px;
  background: rgb(255 255 255 / 72%);
  box-shadow: 0 7px 22px rgb(42 60 90 / 9%), inset 0 1px 0 white;
  font-size: 14px;
  font-weight: 760;
}

.private-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid rgb(255 255 255 / 82%);
  border-radius: 999px;
  padding: 8px 12px;
  background: rgb(255 255 255 / 60%);
  box-shadow: 0 8px 24px rgb(56 68 89 / 6%);
  color: #656974;
  font-size: 12px;
  font-weight: 570;
  backdrop-filter: blur(18px);
}

.private-pill__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #2fc468;
  box-shadow: 0 0 0 4px rgb(47 196 104 / 11%);
}

.hero {
  display: flex;
  width: min(880px, 100%);
  flex: 1;
  margin: 0 auto;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(62px, 10vh, 112px) 0 58px;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  border: 1px solid rgb(114 151 205 / 14%);
  border-radius: 999px;
  padding: 8px 13px;
  background: rgb(255 255 255 / 52%);
  color: #667083;
  font-size: 11px;
  font-weight: 680;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(15px);
}

.eyebrow span {
  color: var(--blue);
}

h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(47px, 7.4vw, 78px);
  font-weight: 720;
  letter-spacing: -0.062em;
  line-height: 0.96;
}

h1 span {
  background: linear-gradient(110deg, #0878ff 8%, #7668ed 88%);
  background-clip: text;
  color: transparent;
}

.hero__copy {
  max-width: 470px;
  margin: 24px 0 38px;
  color: var(--muted);
  font-size: clamp(16px, 2vw, 18px);
  letter-spacing: -0.018em;
  line-height: 1.55;
}

.app-card {
  position: relative;
  width: min(790px, 100%);
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 78%);
  border-radius: 32px;
  background: var(--surface);
  box-shadow:
    0 34px 80px rgb(45 61 88 / 13%),
    0 2px 8px rgb(45 61 88 / 4%),
    inset 0 1px 0 white;
  text-align: left;
  transform-style: preserve-3d;
  backdrop-filter: blur(32px) saturate(1.45);
  transition: transform 400ms cubic-bezier(0.2, 0.75, 0.25, 1), box-shadow 400ms ease;
  will-change: transform;
}

.app-card:hover {
  box-shadow:
    0 42px 94px rgb(45 61 88 / 17%),
    0 3px 10px rgb(45 61 88 / 4%),
    inset 0 1px 0 white;
}

.app-card__shine {
  position: absolute;
  inset: -80% auto -80% -30%;
  width: 28%;
  background: linear-gradient(90deg, transparent, rgb(255 255 255 / 56%), transparent);
  pointer-events: none;
  transform: rotate(18deg);
  animation: sheen 7s 2.5s ease-in-out infinite;
}

.app-card__content {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 25px;
  align-items: center;
  padding: 28px;
}

.app-icon {
  position: relative;
  width: 106px;
  height: 106px;
  flex: none;
  border-radius: 25px;
}

.app-icon__halo {
  position: absolute;
  z-index: -1;
  inset: 14%;
  border-radius: 50%;
  background: #148dff;
  opacity: 0.62;
  filter: blur(28px);
  animation: pulse-ring 3.6s ease-in-out infinite;
}

.app-icon img {
  display: block;
  width: 100%;
  height: 100%;
  border: 1px solid rgb(255 255 255 / 70%);
  border-radius: inherit;
  box-shadow: 0 17px 35px rgb(9 17 32 / 24%), inset 0 1px 1px rgb(255 255 255 / 50%);
}

.app-card__info {
  min-width: 0;
}

.app-card__heading {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.app-card__category {
  margin: 0 0 3px;
  color: #777b85;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.075em;
  text-transform: uppercase;
}

h2 {
  margin: 0;
  font-size: 30px;
  font-weight: 720;
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 3px;
  border: 1px solid rgb(34 171 87 / 13%);
  border-radius: 999px;
  padding: 6px 9px;
  background: rgb(46 199 105 / 8%);
  color: #188e48;
  font-size: 10px;
  font-weight: 700;
}

.status-badge span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #27b75e;
}

.app-card__description {
  max-width: 380px;
  margin: 10px 0 16px;
  color: #747883;
  font-size: 13px;
  line-height: 1.45;
}

.app-card__meta {
  display: flex;
  align-items: center;
  gap: 15px;
}

.app-card__meta span {
  display: flex;
  flex-direction: column;
  gap: 2px;
  color: #9497a0;
  font-size: 9px;
  line-height: 1.2;
}

.app-card__meta strong {
  color: #4c4f57;
  font-size: 11px;
  font-weight: 650;
}

.app-card__meta i {
  width: 1px;
  height: 22px;
  background: rgb(73 80 93 / 10%);
}

.download-button {
  display: flex;
  min-width: 172px;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  gap: 11px;
  border: 1px solid rgb(255 255 255 / 22%);
  border-radius: 18px;
  padding: 10px 18px;
  background: linear-gradient(180deg, #1684ff 0%, var(--blue-deep) 100%);
  box-shadow: 0 13px 26px rgb(0 105 227 / 22%), inset 0 1px 0 rgb(255 255 255 / 30%);
  color: white;
  font-size: 15px;
  font-weight: 690;
  line-height: 1.15;
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.download-button:hover {
  box-shadow: 0 17px 32px rgb(0 105 227 / 28%), inset 0 1px 0 rgb(255 255 255 / 30%);
  filter: saturate(1.06);
  transform: translateY(-2px) scale(1.015);
}

.download-button:active,
.download-button.is-downloading {
  transform: scale(0.97);
}

.download-button:focus-visible,
.brand:focus-visible {
  outline: 3px solid rgb(0 119 255 / 25%);
  outline-offset: 4px;
}

.download-button small {
  display: block;
  margin-bottom: 1px;
  color: rgb(255 255 255 / 70%);
  font-size: 9px;
  font-weight: 560;
  letter-spacing: 0.025em;
}

.download-button__icon {
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  border-radius: 9px;
  background: rgb(255 255 255 / 15%);
  font-size: 17px;
}

.helper {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 19px 0 0;
  color: #9699a2;
  font-size: 11px;
}

.helper span {
  color: #7c818d;
  font-size: 6px;
}

.footer {
  color: #9da0a8;
  font-size: 10px;
  letter-spacing: 0.02em;
}

.reveal {
  opacity: 0;
  transform: translateY(17px);
  animation: reveal 700ms cubic-bezier(0.2, 0.72, 0.2, 1) forwards;
}

.reveal--one { animation-delay: 80ms; }
.reveal--two { animation-delay: 160ms; }
.reveal--three { animation-delay: 240ms; }
.reveal--four { animation-delay: 340ms; }
.reveal--five { animation-delay: 440ms; }

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

@keyframes drift {
  to { transform: translate3d(4vw, 3vh, 0) scale(1.06); }
}

@keyframes sheen {
  0%, 72% { left: -35%; }
  100% { left: 125%; }
}

@keyframes pulse-ring {
  0%, 100% { opacity: 0.55; transform: scale(0.92); }
  50% { opacity: 1; transform: scale(1.08); }
}

@media (max-width: 720px) {
  .site-shell { padding: 18px 17px 22px; }
  .private-pill { padding: 7px 10px; font-size: 10px; }
  .hero { padding-top: 62px; }
  h1 { max-width: 500px; font-size: clamp(46px, 14vw, 64px); }
  .hero__copy { max-width: 340px; margin: 20px 0 30px; font-size: 15px; }
  .app-card { max-width: 430px; border-radius: 28px; }
  .app-card__content { grid-template-columns: auto 1fr; gap: 18px; padding: 22px; }
  .app-icon { width: 83px; height: 83px; border-radius: 21px; }
  .app-card__heading { display: block; }
  .status-badge { margin-top: 8px; }
  h2 { font-size: 26px; }
  .app-card__meta { display: none; }
  .download-button { grid-column: 1 / -1; width: 100%; margin-top: 2px; }
  .footer { padding-top: 8px; }
}

@media (max-width: 390px) {
  .brand > span:last-child,
  .footer > span:last-child { display: none; }
  .app-card__content { gap: 14px; padding: 18px; }
  .app-icon { width: 74px; height: 74px; border-radius: 19px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
