/* Rubezh Key (Happ): тёмная хвоя, мята, золото. Всё на одном экране: копия слева, шаги справа. */

@font-face {
  font-family: "Manrope Variable";
  font-display: swap;
  font-weight: 200 800;
  src: url("../assets/fonts/manrope-cyrillic-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Manrope Variable";
  font-display: swap;
  font-weight: 200 800;
  src: url("../assets/fonts/manrope-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122,
    U+2212, U+FEFF, U+FFFD;
}

:root {
  --bg: #07130f;
  --card: #102720;
  --line: rgb(214 240 226 / 0.12);
  --text: #f1f6f2;
  --muted: #a2b8ac;
  --mint: #5fe0a6;
  --mint-2: #b4f5d4;
  --ink: #04110c;
  --gold: #f0c463;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background:
    radial-gradient(60% 50% at 85% 0%, rgb(95 224 166 / 0.16), transparent 70%),
    radial-gradient(40% 40% at 0% 40%, rgb(240 196 99 / 0.07), transparent 70%),
    var(--bg);
  color: var(--text);
  font: 16px/1.5 "Manrope Variable", ui-sans-serif, system-ui, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
p,
ul,
ol {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

.wrap {
  width: 100%;
  max-width: 1140px;
  margin-inline: auto;
  padding-inline: 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 12px;
  background: linear-gradient(180deg, var(--mint-2), var(--mint));
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 10px 30px -12px rgb(95 224 166 / 0.7);
}

.btn-sm {
  min-height: 38px;
  padding: 0 16px;
  font-size: 0.9rem;
}

.btn-lg {
  min-height: 58px;
  padding: 0 34px;
  font-size: 1.12rem;
}

.top {
  border-bottom: 1px solid var(--line);
}

.top-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 62px;
}

.brand {
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.brand b {
  color: var(--mint);
  font-weight: 800;
}

.brand-key {
  margin-right: 6px;
  color: var(--gold);
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
  padding-block: 40px 32px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card);
  font-size: 0.88rem;
  font-weight: 700;
}

.chip img {
  border-radius: 6px;
}

h1 {
  margin-top: 16px;
  font-size: clamp(2.1rem, 4.6vw, 3.4rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
}

.hl {
  background: linear-gradient(95deg, var(--mint-2), var(--mint) 55%, var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  max-width: 540px;
  margin-top: 24px;
}

.stats li {
  display: grid;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--card);
}

.stats li:first-child {
  border-color: rgb(95 224 166 / 0.45);
  background: linear-gradient(160deg, rgb(95 224 166 / 0.18), var(--card) 70%);
}

.stats strong {
  font-size: 1.3rem;
  line-height: 1.2;
}

.stats li:first-child strong {
  color: var(--mint-2);
}

.stats span {
  color: var(--muted);
  font-size: 0.84rem;
}

.cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  margin-top: 26px;
}

.cta p {
  color: var(--muted);
  font-size: 0.92rem;
}

.steps {
  position: relative;
  display: grid;
  gap: 10px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(180deg, #15322a, var(--card));
}

.steps li:not(.art) {
  display: flex;
  gap: 14px;
  padding: 15px;
  border-radius: 14px;
  background: rgb(7 19 15 / 0.45);
}

.steps .art {
  position: absolute;
  top: -64px;
  right: -14px;
  width: 124px;
  pointer-events: none;
}

.steps h2 {
  font-size: 1.04rem;
}

.steps p {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.9rem;
}

.num {
  display: grid;
  flex: none;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--mint);
  color: var(--ink);
  font-weight: 800;
}

.stores {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 9px;
}

.stores a {
  padding: 6px 12px;
  border-radius: 10px;
  color: var(--text);
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: inset 0 0 0 1px var(--line);
}

.stores a:hover,
.stores a.is-mine {
  background: var(--mint);
  color: var(--ink);
  box-shadow: none;
}

.prices {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-block: 8px 28px;
}

.prices p {
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--muted);
}

.prices b {
  margin-right: 6px;
  color: var(--text);
}

.prices .best {
  border-color: var(--mint);
  color: var(--text);
}

.prices i {
  margin-left: 6px;
  color: var(--mint);
  font-style: normal;
  font-size: 0.86rem;
}

.foot {
  display: grid;
  gap: 4px;
  padding-block: 18px 30px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.78rem;
}

.foot a {
  color: var(--muted);
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 24px;
  }

  .steps .art {
    display: none;
  }
}

@media (max-width: 560px) {
  .wrap {
    padding-inline: 16px;
  }

  .stats strong {
    font-size: 1.08rem;
  }

  .cta,
  .cta .btn {
    width: 100%;
  }

  .cta p {
    width: 100%;
    text-align: center;
  }

  .prices p {
    flex: 1 1 calc(50% - 5px);
  }
}
