@font-face {
  font-family: "UmTrek Inter";
  src: url("/assets/InterVariable.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  --blue: #4f46e5;
  --violet: #7138f4;
  --ink: #171724;
  --muted: #676774;
  --canvas: #f5f6f8;
  --line: rgba(23, 23, 36, 0.1);
  font-family: "UmTrek Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--canvas);
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 91% 10%, rgba(79, 70, 229, 0.12), transparent 30rem),
    linear-gradient(rgba(79, 70, 229, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(79, 70, 229, 0.04) 1px, transparent 1px),
    var(--canvas);
  background-size: auto, 48px 48px, 48px 48px, auto;
}

.page {
  display: flex;
  width: min(1180px, calc(100% - 40px));
  min-height: 100vh;
  margin: 0 auto;
  flex-direction: column;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 32px 2px 25px;
  border-bottom: 1px solid var(--line);
}

.wordmark {
  font-size: 1.82rem;
  font-weight: 650;
  letter-spacing: -0.035em;
  line-height: 1;
}

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

.launch-note {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  color: var(--muted);
  font-size: 0.79rem;
  font-weight: 550;
}

.launch-note::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #f59e0b;
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.13);
  content: "";
}

main {
  flex: 1;
}

.hero {
  max-width: 920px;
  padding: clamp(82px, 12vw, 146px) 2px clamp(70px, 10vw, 116px);
}

.subject-kicker {
  margin: 0 0 24px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1 {
  margin: 0;
  font-size: clamp(3.5rem, 8vw, 7.1rem);
  font-weight: 570;
  letter-spacing: -0.03em;
  line-height: 1.04;
  text-wrap: balance;
}

.lead {
  max-width: 760px;
  margin: 32px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.8vw, 1.27rem);
  line-height: 1.7;
}

.journey {
  padding: 0 2px;
}

.journey h2 {
  margin: 0 0 20px;
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  font-weight: 600;
  letter-spacing: -0.025em;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.step {
  display: grid;
  min-height: 188px;
  padding: 20px;
  overflow: hidden;
  grid-template-rows: 18px 28px 66px;
  gap: 14px;
  border: 1px solid rgba(79, 70, 229, 0.1);
  border-radius: 22px;
  color: #282464;
  background: linear-gradient(145deg, #f1f7ff 0%, #e8ecff 48%, #e9e1ff 100%);
  box-shadow: 0 18px 48px rgba(79, 70, 229, 0.09);
}

.step-label {
  color: rgba(40, 36, 100, 0.62);
  font-size: 0.7rem;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.step h3 {
  margin: 0;
  font-size: 1.16rem;
  font-weight: 650;
  letter-spacing: -0.025em;
  line-height: 1.28;
  white-space: nowrap;
}

.step p {
  margin: 0;
  color: rgba(40, 36, 100, 0.7);
  font-size: 0.86rem;
  line-height: 1.55;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  margin-top: 60px;
  padding: 29px 2px 34px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.8rem;
}

@media (max-width: 900px) {
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .page {
    width: min(100% - 28px, 1180px);
  }

  .site-header {
    padding-top: 22px;
  }

  .launch-note {
    font-size: 0;
  }

  .launch-note::after {
    font-size: 0.72rem;
    content: "Готовится к запуску";
  }

  .hero {
    padding-top: 68px;
  }

  h1 {
    font-size: clamp(3.1rem, 15vw, 4.8rem);
  }

  .subject-kicker {
    line-height: 1.5;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .step {
    min-height: 164px;
    grid-template-rows: 18px auto auto;
  }

  .step h3 {
    white-space: normal;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
}
