:root {
  color-scheme: dark;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background: #080b14;
  color: #f5f7fb;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: #080b14;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 12% 16%, rgba(71, 103, 255, 0.16), transparent 31rem),
    radial-gradient(circle at 88% 64%, rgba(71, 220, 177, 0.1), transparent 28rem),
    #080b14;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  content: "";
  mask-image: linear-gradient(to bottom, black, transparent 82%);
}

.shell {
  width: min(1180px, calc(100% - 48px));
  min-height: 100vh;
  margin: 0 auto;
  padding: 34px 0 24px;
}

.masthead,
footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.masthead {
  padding-bottom: 34px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
}

.brand {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  color: inherit;
  font-size: 0.94rem;
  font-weight: 720;
  letter-spacing: 0.03em;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 2px solid #85f2d0;
  border-radius: 50%;
}

.brand-mark span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #85f2d0;
  box-shadow: 0 0 16px rgba(133, 242, 208, 0.85);
}

.collection-label,
.eyebrow,
.card-kicker,
footer {
  color: #8f98ac;
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.collection-label {
  margin: 0;
}

.intro {
  padding: clamp(54px, 8vw, 92px) 0 clamp(44px, 6vw, 66px);
}

.eyebrow {
  margin: 0 0 18px;
  color: #85f2d0;
}

h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(2.55rem, 6vw, 5.6rem);
  font-weight: 600;
  letter-spacing: -0.062em;
  line-height: 0.96;
}

.app-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.app-card {
  --accent: #85f2d0;
  position: relative;
  display: flex;
  min-height: 300px;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  background: rgba(17, 21, 34, 0.78);
  color: #f5f7fb;
  text-decoration: none;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.app-card::before {
  position: absolute;
  width: 190px;
  height: 190px;
  top: -110px;
  right: -84px;
  border: 1px solid color-mix(in srgb, var(--accent), transparent 62%);
  border-radius: 50%;
  box-shadow:
    0 0 0 28px color-mix(in srgb, var(--accent), transparent 93%),
    0 0 0 56px color-mix(in srgb, var(--accent), transparent 97%);
  content: "";
  transition: transform 240ms ease;
}

.app-card:hover {
  transform: translateY(-5px);
  border-color: color-mix(in srgb, var(--accent), transparent 38%);
  background: rgba(23, 28, 45, 0.92);
}

.app-card:hover::before {
  transform: scale(1.08);
}

.app-card:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

.card-trading {
  --accent: #ffcc66;
}

.card-compensation {
  --accent: #80a7ff;
}

.card-number {
  position: relative;
  color: var(--accent);
  font-size: 0.8rem;
  font-variant-numeric: tabular-nums;
  font-weight: 760;
  letter-spacing: 0.14em;
}

.card-content {
  display: flex;
  flex-direction: column;
}

.card-kicker {
  margin-bottom: 10px;
  color: var(--accent);
}

.card-title {
  max-width: 17ch;
  font-size: clamp(1.45rem, 2.3vw, 2rem);
  font-weight: 620;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.card-description {
  max-width: 34ch;
  margin-top: 17px;
  color: #aab2c2;
  font-size: 0.95rem;
  line-height: 1.55;
}

.card-arrow {
  position: absolute;
  right: 20px;
  bottom: 18px;
  color: var(--accent);
  font-size: 1.35rem;
  transition: transform 180ms ease;
}

.app-card:hover .card-arrow {
  transform: translate(3px, -3px);
}

footer {
  padding-top: 32px;
  letter-spacing: 0.09em;
}

footer p {
  margin: 0;
}

@media (max-width: 820px) {
  .app-grid {
    grid-template-columns: 1fr;
  }

  .app-card {
    min-height: 230px;
  }

  .card-title {
    max-width: 22ch;
  }
}

@media (max-width: 540px) {
  .shell {
    width: min(100% - 28px, 1180px);
    padding-top: 22px;
  }

  .collection-label {
    display: none;
  }

  .intro {
    padding-top: 46px;
  }

  h1 {
    font-size: clamp(2.45rem, 14vw, 4rem);
  }

  .app-card {
    min-height: 250px;
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
}

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