@font-face {
  font-family: Unbounded;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/unbounded-lat-500.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+2000-206F, U+20AC, U+2122;
}
@font-face {
  font-family: Unbounded;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/unbounded-cyr-500.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: Unbounded;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/unbounded-lat-700.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+2000-206F, U+20AC, U+2122;
}
@font-face {
  font-family: Unbounded;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/unbounded-cyr-700.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: Onest;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/onest-lat-400.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+2000-206F, U+20AC, U+2122;
}
@font-face {
  font-family: Onest;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/onest-cyr-400.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: Onest;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/onest-lat-500.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+2000-206F, U+20AC, U+2122;
}
@font-face {
  font-family: Onest;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/onest-cyr-500.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: Onest;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/onest-lat-600.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+2000-206F, U+20AC, U+2122;
}
@font-face {
  font-family: Onest;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/onest-cyr-600.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

:root {
  --ink: #0c0b09;
  --paper: #f3eee6;
  --paper-2: #e7e0d4;
  --bone: #f7f4ee;
  --muted: #6e685f;
  --soft: #3e3a34;
  --acid: #dff34a;
  --line: rgba(12, 11, 9, 0.12);
  --line-light: rgba(247, 244, 238, 0.12);
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Onest, sans-serif;
  font-size: 17px;
  line-height: 1.45;
  text-rendering: optimizeLegibility;
}
button, input { font: inherit; color: inherit; }
a { color: inherit; }
::selection { background: var(--acid); color: var(--ink); }

.nav {
  position: absolute;
  z-index: 5;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 28px;
  color: var(--bone);
}
.logo {
  font-family: Unbounded, sans-serif;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.06em;
  text-decoration: none;
}
.logo i {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-left: 2px;
  border-radius: 50%;
  background: var(--acid);
  vertical-align: 2px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 15px;
}
.nav-links a { text-decoration: none; }
.nav-links a:hover { color: var(--acid); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: -0.02em;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible { outline: 2px solid var(--acid); outline-offset: 3px; }
.btn-acid { background: var(--acid); color: var(--ink); }
.btn-acid:hover { background: #e9ff72; }
.btn-ghost {
  background: transparent;
  color: var(--bone);
  box-shadow: inset 0 0 0 1px rgba(247, 244, 238, 0.28);
}
.btn-ghost:hover { background: rgba(247, 244, 238, 0.06); }
.btn-ink { background: var(--ink); color: var(--bone); }
.btn-ink:hover { background: #1c1a16; }

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--ink);
  color: var(--bone);
  overflow: hidden;
}
.hero-grid {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 28px;
  align-items: end;
  width: min(1240px, calc(100% - 56px));
  margin: 0 auto;
  padding: 118px 0 36px;
}
.kicker {
  margin: 0 0 12px;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #b7b1a6;
}
.pct {
  margin: 0;
  font-family: Unbounded, sans-serif;
  font-weight: 700;
  font-size: clamp(128px, 18vw, 268px);
  line-height: 0.78;
  letter-spacing: -0.07em;
  color: var(--acid);
}
.hero h1 {
  margin: 18px 0 0;
  font-family: Unbounded, sans-serif;
  font-weight: 500;
  font-size: clamp(42px, 5.5vw, 84px);
  line-height: 0.92;
  letter-spacing: -0.048em;
}
.lead {
  max-width: 38em;
  margin: 22px 0 0;
  color: #d4cec3;
  font-size: 18px;
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}
.hero-foot {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  width: min(1240px, calc(100% - 56px));
  margin: 0 auto;
  padding: 0 0 22px;
  color: #8f897f;
  font-size: 14px;
}

.stack {
  position: relative;
  height: 540px;
  width: min(100%, 380px);
  margin-left: auto;
}
.story {
  position: absolute;
  width: 268px;
  height: 468px;
  border-radius: 28px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.38);
  overflow: hidden;
}
.story-back {
  right: 8px;
  top: 8px;
  transform: rotate(7deg);
  background:
    radial-gradient(90% 70% at 80% 0%, rgba(223, 243, 74, 0.35), transparent 50%),
    linear-gradient(160deg, #5a2340, #2a1020 60%);
}
.story-front {
  left: 0;
  top: 42px;
  transform: rotate(-3.5deg);
  background:
    radial-gradient(90% 80% at 50% 120%, #2f9a5d, transparent 55%),
    linear-gradient(#123d28, #071910);
}
.story-top, .chip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.04em;
}
.story-top { color: rgba(247, 244, 238, 0.72); }
.story-mark {
  width: 148px;
  margin: 8px auto;
}
.story-name {
  font-family: Unbounded, sans-serif;
  font-weight: 700;
  font-size: 34px;
  letter-spacing: -0.05em;
  line-height: 0.9;
}
.story-name small {
  display: block;
  margin-top: 8px;
  font-family: Onest, sans-serif;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0;
  color: rgba(247, 244, 238, 0.72);
}
.chip {
  background: rgba(12, 11, 9, 0.72);
  border-radius: 999px;
  padding: 9px 12px;
  letter-spacing: 0;
}
.play {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--acid);
  color: var(--ink);
  display: grid;
  place-items: center;
  flex: none;
}

.tape {
  background: var(--acid);
  color: var(--ink);
  overflow: hidden;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}
.tape-track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: tape 32s linear infinite;
  font-family: Unbounded, sans-serif;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.tape-track span {
  padding: 12px 0;
  white-space: nowrap;
}
.tape-track span::before { content: "  ·  "; }
@keyframes tape {
  to { transform: translateX(-50%); }
}

.wrap { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.block { padding: 92px 0; }
.sec-kicker {
  margin: 0;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.sec-title {
  margin: 10px 0 32px;
  font-family: Unbounded, sans-serif;
  font-weight: 500;
  font-size: clamp(34px, 4.4vw, 58px);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.steps { list-style: none; margin: 0; padding: 0; }
.steps li {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 20px;
  align-items: start;
  padding: 28px 0;
  border-top: 1px solid var(--line);
}
.steps li:last-child { border-bottom: 1px solid var(--line); }
.num {
  font-family: Unbounded, sans-serif;
  font-weight: 500;
  font-size: 40px;
  letter-spacing: -0.06em;
  line-height: 1;
}
.steps h3 {
  margin: 0 0 8px;
  font-family: Unbounded, sans-serif;
  font-weight: 500;
  font-size: clamp(26px, 3vw, 34px);
  letter-spacing: -0.04em;
}
.steps p { margin: 0; max-width: 46em; color: var(--soft); }
.steps code {
  font-family: Onest, sans-serif;
  font-weight: 600;
  background: var(--paper-2);
  padding: 1px 6px;
  border-radius: 6px;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: end;
}
.money {
  margin: 0;
  font-family: Unbounded, sans-serif;
  font-weight: 700;
  font-size: clamp(64px, 8vw, 104px);
  letter-spacing: -0.06em;
  line-height: 0.86;
}
.money span { color: var(--muted); font-weight: 500; font-size: 0.42em; letter-spacing: -0.04em; }
.split p { margin: 14px 0 0; max-width: 36em; color: var(--soft); }
.split-bar {
  display: flex;
  height: 84px;
  border-radius: 20px;
  overflow: hidden;
  font-family: Unbounded, sans-serif;
  font-weight: 700;
  letter-spacing: -0.04em;
}
.split-bar b, .split-bar i {
  display: grid;
  place-items: center;
  font-style: normal;
}
.split-bar b { width: 70%; background: var(--acid); color: var(--ink); font-size: 28px; }
.split-bar i { width: 30%; background: var(--ink); color: var(--bone); font-size: 22px; }
.split-legend {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
}

.teaser {
  display: grid;
  grid-template-columns: 300px 1fr;
  background: var(--ink);
  color: var(--bone);
  border-radius: 28px;
  overflow: hidden;
  min-height: 360px;
}
.teaser-side {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  padding: 28px;
  background:
    radial-gradient(80% 50% at 0% 100%, rgba(223, 243, 74, 0.16), transparent 60%),
    #14120e;
}
.pill {
  align-self: flex-start;
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(223, 243, 74, 0.16);
  color: var(--acid);
}
.teaser-side strong {
  display: block;
  margin-top: 28px;
  font-family: Unbounded, sans-serif;
  font-weight: 700;
  font-size: clamp(36px, 4vw, 48px);
  letter-spacing: -0.05em;
  line-height: 0.95;
  color: var(--acid);
}
.teaser-side span { color: #b7b1a6; font-size: 14px; }
.pays { list-style: none; margin: 0; padding: 8px 0; }
.pays li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 26px;
  border-top: 1px solid var(--line-light);
  font-variant-numeric: tabular-nums;
}
.pays li:first-child { border-top: 0; }
.pays small { display: block; color: #8f897f; font-size: 13px; }
.pays b { color: var(--acid); font-weight: 600; }

.grid-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 340px;
  padding: 16px;
  border-radius: 24px;
  text-decoration: none;
  color: var(--bone);
  position: relative;
  overflow: hidden;
}
.card:hover { transform: translateY(-3px); }
.card-durak { background: linear-gradient(165deg, #1c6b45, #082318); }
.card-hit { background: linear-gradient(165deg, #6a2a4a, #241018); }
.card-card { background: linear-gradient(165deg, #b4532a, #3d1c10); }
.card-hi { background: linear-gradient(165deg, #245c86, #101820); }
.card b {
  font-family: Unbounded, sans-serif;
  font-weight: 500;
  font-size: 28px;
  letter-spacing: -0.04em;
  line-height: 1;
}
.card em {
  font-style: normal;
  font-size: 13px;
  color: rgba(247, 244, 238, 0.75);
}

.close {
  background: var(--ink);
  color: var(--bone);
  padding: 96px 0 28px;
}
.close h2 {
  margin: 0 0 28px;
  max-width: 11em;
  font-family: Unbounded, sans-serif;
  font-weight: 500;
  font-size: clamp(40px, 6vw, 84px);
  line-height: 0.96;
  letter-spacing: -0.05em;
}
.site-foot {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 80px;
  padding-top: 18px;
  border-top: 1px solid var(--line-light);
  color: #8f897f;
  font-size: 14px;
}
.site-foot strong {
  color: var(--bone);
  font-family: Unbounded, sans-serif;
  font-weight: 700;
  letter-spacing: -0.05em;
}

body.cabinet { background: var(--ink); color: var(--bone); }
.shell {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: 100svh;
}
.rail {
  position: sticky;
  top: 0;
  height: 100svh;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px 14px;
  border-right: 1px solid var(--line-light);
  background: #100f0c;
}
.rail .logo { padding: 6px 10px 16px; }
.tab {
  display: flex;
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  border-radius: 12px;
  padding: 12px;
  cursor: pointer;
  color: #d4cec3;
}
.tab:hover { background: rgba(247, 244, 238, 0.04); }
.tab.is-on { background: var(--acid); color: var(--ink); font-weight: 600; }
.tab:focus-visible { outline: 2px solid var(--acid); outline-offset: 2px; }
.who {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
}
.avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--acid);
  color: var(--ink);
  font-weight: 700;
  font-size: 13px;
}
.who b { display: block; font-size: 14px; }
.who span { color: #8f897f; font-size: 12px; }
.main { padding: 22px 28px 56px; }
.main-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 22px;
}
.main-head h1 {
  margin: 6px 0 0;
  font-family: Unbounded, sans-serif;
  font-weight: 500;
  font-size: clamp(28px, 3vw, 40px);
  letter-spacing: -0.045em;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.stat {
  background: #16140f;
  border: 1px solid var(--line-light);
  border-radius: 18px;
  padding: 16px 16px 14px;
}
.stat span { color: #8f897f; font-size: 13px; }
.stat strong {
  display: block;
  margin-top: 10px;
  font-family: Unbounded, sans-serif;
  font-weight: 500;
  font-size: 26px;
  letter-spacing: -0.045em;
}
.stat.hot strong { color: var(--acid); }
.panel-card {
  margin-top: 12px;
  background: #16140f;
  border: 1px solid var(--line-light);
  border-radius: 18px;
  padding: 16px;
}
.panel-card h2 {
  margin: 0 0 14px;
  font-size: 15px;
  font-weight: 600;
  color: #d4cec3;
}
.chart {
  display: grid;
  grid-template-columns: repeat(14, 1fr);
  gap: 8px;
  align-items: end;
  height: 160px;
}
.chart i {
  display: block;
  border-radius: 7px 7px 3px 3px;
  background: #3a382f;
  font-style: normal;
}
.chart i.on { background: var(--acid); }
.table-wrap { overflow-x: auto; }
table {
  width: 100%;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
  font-size: 15px;
}
th {
  text-align: left;
  font-weight: 500;
  font-size: 12px;
  color: #8f897f;
  padding: 0 12px 10px;
}
td {
  padding: 14px 12px;
  border-top: 1px solid var(--line-light);
}
td.plus { color: var(--acid); font-weight: 600; }
.linkbox {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px;
  border-radius: 16px;
  background: #100f0c;
  border: 1px solid var(--line-light);
}
.linkbox code {
  font-family: Onest, sans-serif;
  font-size: 16px;
  font-weight: 600;
}
.note { margin: 12px 0 0; color: #8f897f; font-size: 14px; }
.methods {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.method {
  border-radius: 16px;
  border: 1px solid var(--line-light);
  padding: 16px;
  background: #100f0c;
}
.method b { display: block; margin-bottom: 6px; }
.method span { color: #8f897f; font-size: 14px; }
.balance-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 16px;
}
.balance-row strong {
  font-family: Unbounded, sans-serif;
  font-size: clamp(36px, 5vw, 56px);
  letter-spacing: -0.05em;
  color: var(--acid);
  font-weight: 700;
  line-height: 0.9;
}

@media (max-width: 980px) {
  .hero-grid, .split, .teaser, .grid-cards, .stats, .methods {
    grid-template-columns: 1fr 1fr;
  }
  .grid-cards { grid-template-columns: 1fr 1fr; }
  .teaser { grid-template-columns: 1fr; }
  .stack { height: 500px; margin: 10px auto 0; }
}
@media (max-width: 720px) {
  .nav { padding: 16px 16px; }
  .nav-links a:not(.btn) { display: none; }
  .hero-grid, .split, .stats, .methods, .grid-cards, .steps li {
    grid-template-columns: 1fr;
  }
  .hero-grid {
    width: min(1240px, calc(100% - 32px));
    padding-top: 96px;
  }
  .hero-foot { width: min(1240px, calc(100% - 32px)); flex-direction: column; }
  .pct { font-size: 112px; }
  .stack { width: 300px; height: 470px; }
  .story { width: 230px; height: 400px; }
  .card { min-height: 240px; }
  .main { padding: 16px 16px 40px; }
  .shell { grid-template-columns: 1fr; }
  .rail {
    position: sticky;
    top: 0;
    z-index: 6;
    height: auto;
    flex-direction: row;
    align-items: center;
    overflow-x: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line-light);
  }
  .rail .logo { padding: 0 8px 0 0; }
  .who { display: none; }
  .tab { width: auto; white-space: nowrap; }
  .balance-row, .main-head, .linkbox { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  .tape-track { animation: none; }
  .btn, .card { transition: none; }
  html { scroll-behavior: auto; }
}
