:root {
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --bg: #0a0a0b;
  --card: #131316;
  --line: rgba(255, 255, 255, 0.07);

  --text: #ffffff;
  --muted: #9ca0aa;
  --muted-2: #7d818b;

  --yellow: #ffd84d;
  --green: #16a34a;
  --green-active: #128a45;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html {
  scrollbar-width: none;
}

html::-webkit-scrollbar {
  display: none;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  color: var(--text);
  background: #131417;
  -webkit-font-smoothing: antialiased;
  text-size-adjust: 100%;
}

a {
  touch-action: manipulation;
}

a:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 3px;
  border-radius: 14px;
}

.sprite {
  position: absolute;
}

.ic {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

.ic--fill {
  fill: currentColor;
  stroke: none;
}

.app {
  position: relative;
  width: 100%;
  max-width: 430px;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0 auto;
  background: var(--bg);
  overflow-x: hidden;
  scrollbar-width: none;
}

.app::-webkit-scrollbar {
  display: none;
}

.page {
  padding: 0 22px 36px;
}

.hero {
  position: relative;
  margin: 0 -22px;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: blur(16px) brightness(0.34) saturate(0.92);
  transform: scale(1.18);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 76%, rgba(0, 0, 0, 0) 100%);
  mask-image: linear-gradient(180deg, #000 0%, #000 76%, rgba(0, 0, 0, 0) 100%);
  -webkit-user-drag: none;
  pointer-events: none;
}

.hero__in {
  position: relative;
  padding: 0 22px;
}

.top {
  padding-top: calc(18px + env(safe-area-inset-top));
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 15px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #e9eaee;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.hero-title {
  margin: 20px 0 0;
  font-size: clamp(34px, 10.2vw, 44px);
  line-height: 1.07;
  font-weight: 800;
  letter-spacing: -0.025em;
}

.hl {
  color: var(--yellow);
}

.hero-sub {
  margin: 16px 0 0;
  font-size: 16px;
  line-height: 1.55;
  color: #c3c6ce;
  max-width: 360px;
}

.hero-photo {
  margin: 0 -22px 0;
}

.hero-photo img {
  display: block;
  width: 100%;
  height: auto;
  filter: brightness(0.94);
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, #000 15%, #000 80%, rgba(0, 0, 0, 0) 100%);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, #000 15%, #000 80%, rgba(0, 0, 0, 0) 100%);
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
}

.cards {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: -6px;
}

.card {
  display: flex;
  gap: 15px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 18px;
}

.card__ic {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.card__ic .ic {
  width: 26px;
  height: 26px;
}

.card__ic--green {
  background: #21c15a;
}

.card__ic--blue {
  background: #4d68f0;
}

.card__ic--pink {
  background: #e8475f;
}

.card__body {
  min-width: 0;
}

.card__label {
  font-size: 13.5px;
  color: var(--muted);
  margin-bottom: 4px;
}

.card__title {
  font-size: 19px;
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: -0.01em;
}

.card__desc {
  margin: 6px 0 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}

.cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  position: relative;
  height: 60px;
  margin-top: 24px;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  font-size: 17.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-decoration: none;
  transition: transform 0.18s var(--ease), background 0.18s var(--ease);
}

.cta:active {
  transform: scale(0.98);
  background: var(--green-active);
}

.cta > .ic {
  width: 24px;
  height: 24px;
}

.cta__arrow {
  position: absolute;
  right: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.95;
}

.cta__arrow .ic {
  width: 19px;
  height: 19px;
}

.cta-note {
  margin: 13px 0 0;
  text-align: center;
  font-size: 13.5px;
  color: var(--muted-2);
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}

.reveal.in {
  opacity: 1;
  transform: none;
}

.cards .card:nth-child(2) {
  transition-delay: 0.06s;
}

.cards .card:nth-child(3) {
  transition-delay: 0.12s;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (min-width: 600px) and (max-width: 1023.98px) {
  body {
    display: grid;
    place-items: center;
    min-height: 100vh;
    min-height: 100dvh;
    background: #131417;
    overflow: hidden;
  }

  .app {
    width: 420px;
    height: min(880px, 96dvh);
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    border-radius: 44px;
    box-shadow: 0 0 0 10px #1c1d20, 0 0 0 11px #2e3033, 0 60px 120px -40px rgba(0, 0, 0, 0.85);
  }
}

@media (min-width: 1024px) {
  body {
    background: #0a0a0b;
    overflow-x: hidden;
  }

  .app {
    max-width: none;
    min-height: 100vh;
    background:
      radial-gradient(1100px 700px at 12% -10%, rgba(255, 216, 77, 0.05), transparent 60%),
      radial-gradient(900px 700px at 90% 0%, rgba(34, 197, 94, 0.07), transparent 55%),
      var(--bg);
  }

  .page {
    max-width: 1160px;
    margin: 0 auto;
    padding: 32px 44px 84px;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    grid-template-areas:
      "hero photo"
      "cards cards"
      "cta cta"
      "note note";
    column-gap: 64px;
    align-items: start;
  }

  .hero {
    grid-area: hero;
    margin: 0;
  }

  .hero__bg {
    display: none;
  }

  .hero__in {
    padding: 0;
  }

  .top {
    padding-top: 0;
  }

  .hero-title {
    font-size: clamp(52px, 4.6vw, 68px);
    margin-top: 26px;
  }

  .hero-sub {
    font-size: 18px;
    line-height: 1.6;
    max-width: 520px;
    margin-top: 22px;
  }

  .hero-photo {
    grid-area: photo;
    margin: 0;
    border-radius: 26px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.06);
  }

  .hero-photo img {
    -webkit-mask-image: none;
    mask-image: none;
  }

  .cards {
    grid-area: cards;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 56px;
  }

  .card {
    padding: 22px;
  }

  .cta {
    grid-area: cta;
    max-width: 520px;
    width: 100%;
    margin: 56px auto 0;
  }

  .cta-note {
    grid-area: note;
    margin: 16px auto 0;
  }
}
