@font-face {
  font-family: "Unbounded";
  src: url("fonts/unbounded-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
}
@font-face {
  font-family: "Onest";
  src: url("fonts/onest-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --violet: #c1a6ff;
  --gold: #ffd383;
  --ink: #211333;
  --night: #0f0c18;
  --surface: #191523;
  --line: #363044;
  --text: #f4f1ff;
  --muted: #b5adc7;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  background: var(--night);
  color: var(--text);
  font: 400 1rem/1.6 "Onest", Arial, sans-serif;
}
.nowrap { white-space: nowrap; }
.wrap { width: min(1040px, 100% - 40px); margin-inline: auto; }
h1, h2, h3 { font-family: "Unbounded", "Onest", Arial, sans-serif; line-height: 1.2; text-wrap: balance; }
h1 { font-size: clamp(2rem, 6vw, 3.25rem); font-weight: 800; }
h2 { font-size: 1.375rem; margin-bottom: 20px; }
h3 { font-size: 1rem; }
p { color: var(--muted); }
.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 20px; }
.button {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid var(--gold);
  border-radius: 8px;
  background: var(--gold);
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}
.button:hover { filter: brightness(1.06); }
.button:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; }
.button.small { min-height: 44px; padding-inline: 16px; }
.button.ghost { background: transparent; color: var(--gold); }
.hero { padding-block: 64px 80px; }
.hero h1 { max-width: 16ch; margin-block: 12px 20px; }
.lead { max-width: 56ch; font-size: 1.125rem; margin-bottom: 32px; }
.tag { color: var(--violet); font-weight: 600; }
section + section { margin-top: 64px; }
.grid, .steps { list-style: none; display: grid; gap: 16px; }
.grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.steps { grid-template-columns: repeat(3, minmax(0, 1fr)); counter-reset: step; }
.card, .steps li {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
}
.status { margin-top: auto; padding-top: 12px; color: var(--muted); font-size: .875rem; font-weight: 600; }
.status.first { color: var(--gold); }
.steps li::before {
  counter-increment: step;
  content: counter(step);
  color: var(--gold);
  font: 800 1.5rem/1 "Unbounded", sans-serif;
}
.partners p { max-width: 56ch; margin-bottom: 24px; }
footer { margin-top: 80px; padding-block: 24px 40px; border-top: 1px solid var(--line); font-size: .875rem; }
@media (max-width: 860px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: 1fr; }
  .hero { padding-block: 40px 56px; }
}
@media (max-width: 480px) {
  .grid { grid-template-columns: 1fr; }
}
