:root {
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  color: #f2f3fa;
  background: #090b14;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(ellipse at 19% 25%, #12313c66, transparent 42%),
    radial-gradient(ellipse at 82% 65%, #31194c66, transparent 45%),
    #090b14;
}

.site {
  width: min(1120px, calc(100% - 48px));
  min-height: 100vh;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
}

.top {
  padding-block: 26px;
  border-bottom: 1px solid #ffffff16;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: inherit;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 650;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 33px;
  height: 33px;
  border: 1px solid #85e5f238;
  border-radius: 10px;
  color: #a0edf9;
  background: #85e5f211;
}

main { flex: 1; padding-block: clamp(58px, 10vh, 108px) 68px; }

.intro { text-align: center; margin-bottom: 46px; }

h1, h2, p { margin: 0; }

h1 {
  font-size: clamp(3rem, 8vw, 5.25rem);
  line-height: 1;
  letter-spacing: -0.07em;
}

.intro p {
  margin-top: 17px;
  color: #b1b8cc;
  line-height: 1.6;
}

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

.card {
  --accent: #7eeaf4;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  padding: clamp(20px, 3vw, 32px);
  border: 1px solid color-mix(in srgb, var(--accent) 19%, #202032);
  border-radius: 24px;
  background:
    radial-gradient(ellipse at top left, color-mix(in srgb, var(--accent) 13%, transparent), transparent 72%),
    #151526ba;
  box-shadow: inset 0 1px #ffffff0b, 0 16px 36px #0003;
  transition: border-color 240ms, box-shadow 240ms, transform 240ms;
}

.lead { --accent: #ff9ec7; }
.game { --accent: #c8aaff; }

.card:hover, .card:focus-within {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--accent) 67%, #202032);
  box-shadow: 0 10px 42px color-mix(in srgb, var(--accent) 16%, transparent);
}

.icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 30px;
  border-radius: 15px;
  border: 1px solid color-mix(in srgb, var(--accent) 31%, transparent);
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  color: var(--accent);
}

.chart { display: flex; align-items: end; gap: 3px; height: 22px; }
.chart i { width: 5px; height: 8px; border-radius: 2px; background: currentColor; }
.chart i:nth-child(2) { height: 15px; }
.chart i:nth-child(3) { height: 22px; }

.shield {
  display: grid;
  place-items: center;
  width: 24px;
  height: 26px;
  background: currentColor;
  clip-path: polygon(50% 0, 97% 15%, 90% 65%, 73% 85%, 50% 100%, 27% 85%, 10% 65%, 3% 15%);
  font-size: 0;
}
.shield::after { content: "✦"; font-size: 16px; color: #3c243d; }

.window {
  width: 18px;
  height: 25px;
  border: 2px solid currentColor;
  border-radius: 60% 60% 2px 2px;
  background: linear-gradient(90deg, transparent 44%, currentColor 44% 56%, transparent 56%),
    linear-gradient(transparent 52%, currentColor 52% 62%, transparent 62%);
}

.category {
  margin-bottom: 9px;
  color: var(--accent);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  font-weight: 750;
  text-transform: uppercase;
}

h2 { font-size: clamp(1.3rem, 2.4vw, 1.8rem); letter-spacing: -0.04em; }

.description {
  flex: 1;
  margin-block: 13px 30px;
  color: #bfc2d5;
  font-size: 0.95rem;
  line-height: 1.65;
}

.action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  max-width: 100%;
  padding: 9px 14px;
  border: 1px solid color-mix(in srgb, var(--accent) 32%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 11%, transparent);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
}

.action:hover { background: color-mix(in srgb, var(--accent) 22%, transparent); }
a:focus-visible { outline: 2px solid #f3f5ff; outline-offset: 5px; }

footer {
  padding-block: 21px;
  border-top: 1px solid #ffffff16;
  color: #a1a8bf;
  font-size: 0.8rem;
}

@media (max-width: 790px) {
  .cards { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .icon { margin-bottom: 20px; }
}

@media (max-width: 420px) {
  .site { width: calc(100% - 32px); }
}

@media (prefers-reduced-motion: reduce) {
  .card { transition: none; }
  .card:hover, .card:focus-within { transform: none; }
}

.evergrove { --accent: #a6e5ad; }

.lock {
  position: relative;
  width: 19px;
  height: 14px;
  margin-top: 7px;
  border: 2px solid currentColor;
  border-radius: 3px;
}

.lock::before {
  content: "";
  position: absolute;
  inset: -10px 2px auto;
  height: 9px;
  border: 2px solid currentColor;
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
}

.unlock { max-width: 420px; margin-inline: auto; }
.unlock h1 { font-size: clamp(2.25rem, 8vw, 3.5rem); }
.unlock form { display: grid; gap: 12px; width: 100%; margin-block: 22px; }
.unlock input {
  width: 100%;
  padding: 10px 12px;
  color: inherit;
  font: inherit;
  background: #090b14;
  border: 1px solid #ffffff45;
  border-radius: 8px;
}
.unlock button { font: inherit; cursor: pointer; justify-self: start; }
.unlock p { margin-top: 14px; }
