@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('/assets/fonts/onest-cyrillic-wght-normal.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-display: swap;
  font-weight: 100 900;
  src: url('/assets/fonts/onest-latin-wght-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #09090b;
  --surface: #111114;
  --surface-2: #18181c;
  --line: #222227;
  --line-strong: #303036;
  --fg: #f2f2f3;
  --fg-2: #a1a1aa;
  --fg-3: #6b6b74;
  --accent: #6a45ff;
  --accent-hover: #7b5bff;
  --logo-cut: var(--bg);
  --logo-accent: #6a45ff;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'Onest', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.55;
  overflow-x: clip;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
  max-width: 100%;
}

::selection {
  background: var(--accent);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.logo {
  height: 26px;
  width: auto;
  color: var(--fg);
}

/* ---------- buttons ---------- */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  font-size: 15.5px;
  font-weight: 500;
  white-space: nowrap;
  border: 1px solid transparent;
  transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease);
  will-change: transform;
}
.btn--accent {
  background: var(--accent);
  color: #fff;
}
.btn--accent:hover {
  background: var(--accent-hover);
}
.btn--ghost {
  border-color: var(--line-strong);
  color: var(--fg);
}
.btn--ghost:hover {
  border-color: var(--fg-3);
  background: var(--surface);
}
.btn--small {
  height: 40px;
  padding: 0 18px;
  font-size: 14px;
  background: var(--fg);
  color: var(--bg);
}
.btn--small:hover {
  background: #fff;
}
.btn--large {
  height: 64px;
  padding: 0 40px;
  font-size: 17px;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  color: var(--fg);
}
.link-arrow span {
  transition: transform 0.35s var(--ease);
}
.link-arrow:hover span {
  transform: translateX(5px);
}

/* ---------- header ---------- */

.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  border-bottom: 1px solid transparent;
  transition: transform 0.5s var(--ease), background-color 0.3s, border-color 0.3s;
}
.header.is-scrolled {
  background: rgb(9 9 11 / 0.78);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-color: var(--line);
}
.header.is-hidden {
  transform: translateY(-100%);
}
.header__inner {
  display: flex;
  align-items: center;
  height: 72px;
  gap: 40px;
}
.header__nav {
  display: flex;
  gap: 28px;
  margin-right: auto;
  font-size: 14.5px;
  color: var(--fg-2);
}
.header__nav a {
  transition: color 0.2s;
}
.header__nav a:hover {
  color: var(--fg);
}
.header__logo {
  margin-right: 8px;
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 120px 0 100px;
  overflow: hidden;
}
.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  align-items: center;
  gap: 40px;
}
.hero__kicker {
  font-size: 15px;
  color: var(--fg-2);
  margin-bottom: 22px;
}
.hero__title {
  font-size: clamp(44px, 6.4vw, 92px);
  line-height: 0.98;
  letter-spacing: -0.045em;
  font-weight: 600;
  text-wrap: balance;
}
.hero__lead {
  margin-top: 30px;
  max-width: 540px;
  font-size: clamp(16px, 1.4vw, 18.5px);
  color: var(--fg-2);
  text-wrap: pretty;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 40px;
}
.hero__visual {
  position: relative;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  perspective: 900px;
}
.rings {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: var(--accent);
  stroke-width: 1;
  overflow: visible;
}
.rings ellipse {
  transform-origin: 300px 300px;
  opacity: 0.55;
}
.rings ellipse:nth-child(2) {
  stroke: var(--line-strong);
  opacity: 1;
}
.hero__logo3d {
  position: relative;
  width: 64%;
  transform-style: preserve-3d;
  will-change: transform;
}
.hero__logo3d img {
  width: 100%;
  height: auto;
}
.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  color: var(--fg-3);
}
.hero__scroll i {
  position: relative;
  width: 1px;
  height: 44px;
  background: var(--line-strong);
  overflow: hidden;
}
.hero__scroll i::after {
  content: '';
  position: absolute;
  left: 0;
  top: -50%;
  width: 1px;
  height: 50%;
  background: var(--fg);
  animation: scroll-hint 2.2s var(--ease) infinite;
}
@keyframes scroll-hint {
  to {
    top: 110%;
  }
}

/* ---------- marquee ---------- */

.marquee {
  padding: 40px 0;
  border-block: 1px solid var(--line);
  overflow: hidden;
  user-select: none;
}
.marquee__row {
  display: flex;
  white-space: nowrap;
}
.marquee__row + .marquee__row {
  margin-top: 6px;
}
.marquee__track {
  display: flex;
  flex-shrink: 0;
  will-change: transform;
}
.marquee__track span {
  font-size: clamp(40px, 7vw, 104px);
  line-height: 1.12;
  font-weight: 600;
  letter-spacing: -0.04em;
  padding-right: 0.5em;
  display: inline-flex;
  align-items: center;
}
.marquee__track span::after {
  content: '';
  width: 0.14em;
  height: 0.14em;
  border-radius: 50%;
  background: var(--accent);
  margin-left: 0.5em;
}
.marquee__row--outline .marquee__track span {
  color: transparent;
  -webkit-text-stroke: 1px var(--fg-3);
}
.marquee__row--outline .marquee__track span::after {
  background: var(--fg-3);
}

/* ---------- sections ---------- */

.section-label {
  font-size: 15px;
  color: var(--fg-3);
  margin-bottom: 28px;
}
.section-title {
  font-size: clamp(36px, 5.4vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.04em;
  font-weight: 600;
  text-wrap: balance;
}

.idea {
  padding: clamp(100px, 16vw, 200px) 0 clamp(80px, 12vw, 140px);
}
.idea__text {
  font-size: clamp(28px, 3.8vw, 54px);
  line-height: 1.16;
  letter-spacing: -0.03em;
  font-weight: 500;
  max-width: 1100px;
  text-wrap: pretty;
}
.idea__note {
  margin-top: 48px;
  margin-left: auto;
  max-width: 480px;
  color: var(--fg-2);
  font-size: 17px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: clamp(64px, 10vw, 120px);
  border-top: 1px solid var(--line);
}
.stats__item {
  padding: 32px 0 0;
}
.stats__item + .stats__item {
  border-left: 1px solid var(--line);
  padding-left: clamp(16px, 3vw, 40px);
}
.stats__value {
  font-size: clamp(48px, 8vw, 120px);
  line-height: 1;
  font-weight: 600;
  letter-spacing: -0.05em;
}
.stats dd {
  margin-top: 10px;
  color: var(--fg-3);
  font-size: 15px;
}

/* audience */

.audience {
  padding: clamp(80px, 12vw, 160px) 0;
}
.audience__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 56px;
}
.audience__card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 420px;
  padding: clamp(28px, 3.5vw, 48px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--surface);
  overflow: hidden;
  transition: border-color 0.4s var(--ease);
}
.audience__card::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.7s var(--ease);
}
.audience__card:hover {
  border-color: var(--line-strong);
}
.audience__card:hover::before {
  transform: scaleX(1);
}
.audience__index {
  font-size: 14px;
  color: var(--fg-3);
  font-variant-numeric: tabular-nums;
}
.audience__card h3 {
  margin-top: auto;
  font-size: clamp(34px, 3.6vw, 52px);
  letter-spacing: -0.035em;
  line-height: 1.05;
  font-weight: 600;
}
.audience__card p {
  margin-top: 18px;
  color: var(--fg-2);
  font-size: 16.5px;
  max-width: 460px;
}
.audience__card .link-arrow {
  margin-top: 32px;
}

/* principles */

.principles {
  position: relative;
  border-top: 1px solid var(--line);
}
.principles__pin {
  padding: clamp(72px, 9vh, 110px) 0 48px;
  overflow: hidden;
}
.principles__head {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 16px 40px;
}
.principles__intro {
  max-width: 300px;
  color: var(--fg-2);
}
.principles__progress {
  grid-column: 1 / -1;
  height: 1px;
  background: var(--line);
  margin-top: 24px;
}
.principles__progress i {
  display: block;
  height: 100%;
  background: var(--fg);
  transform: scaleX(0);
  transform-origin: left;
}
.principles__track {
  display: flex;
  gap: 16px;
  margin-top: 48px;
  padding: 0 var(--gutter);
  width: max-content;
}
@media (min-width: 1240px) {
  .principles__track {
    padding-left: calc((100vw - var(--container)) / 2 + var(--gutter));
  }
}
.principle {
  width: clamp(250px, min(26vw, 42vh), 380px);
  flex-shrink: 0;
  padding: 14px 14px 30px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--surface);
}
.principle__media {
  aspect-ratio: 1;
  border-radius: 16px;
  overflow: hidden;
  background: #04040a;
}
.principle__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.12);
  will-change: transform;
}
.principle__num {
  display: block;
  margin: 24px 14px 0;
  font-size: 13.5px;
  color: var(--fg-3);
  font-variant-numeric: tabular-nums;
}
.principle h3 {
  margin: 8px 14px 0;
  font-size: 24px;
  letter-spacing: -0.025em;
  font-weight: 600;
}
.principle p {
  margin: 10px 14px 0;
  color: var(--fg-2);
  font-size: 15.5px;
}

/* start */

.start {
  padding: clamp(80px, 12vw, 160px) 0;
  border-top: 1px solid var(--line);
}
.start__steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 72px;
}
.start__line {
  position: absolute;
  top: 36px;
  left: 0;
  width: 100%;
  height: 2px;
  overflow: visible;
}
.start__line line {
  stroke: var(--accent);
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
}
.step {
  position: relative;
}
.step__num {
  position: relative;
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: var(--bg);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.02em;
  transition: background-color 0.5s var(--ease), border-color 0.5s var(--ease);
}
.step.is-active .step__num {
  background: var(--accent);
  border-color: var(--accent);
}
.step h3 {
  margin-top: 28px;
  font-size: 26px;
  letter-spacing: -0.025em;
  font-weight: 600;
}
.step p {
  margin-top: 10px;
  color: var(--fg-2);
  max-width: 320px;
}

/* fund */

.fund {
  padding: clamp(80px, 10vw, 140px) 0;
  border-top: 1px solid var(--line);
}
.fund__inner {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: clamp(32px, 6vw, 96px);
}
.fund__logo img {
  width: clamp(220px, 26vw, 360px);
  height: auto;
  border-radius: 18px;
}
.fund__title {
  font-size: clamp(28px, 3.4vw, 46px);
  line-height: 1.12;
  letter-spacing: -0.03em;
  font-weight: 500;
  max-width: 720px;
  text-wrap: balance;
}
.fund__text .link-arrow {
  margin-top: 28px;
  color: var(--fg-2);
}
.fund__text .section-label {
  margin-bottom: 16px;
}

/* final */

.final {
  padding: clamp(100px, 14vw, 180px) 0 clamp(80px, 10vw, 140px);
  border-top: 1px solid var(--line);
  overflow: hidden;
}
.final__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.final__lead {
  font-size: clamp(18px, 2vw, 24px);
  color: var(--fg-2);
}
.final__word {
  font-size: clamp(64px, 16vw, 240px);
  line-height: 0.9;
  white-space: nowrap;
  font-weight: 700;
  letter-spacing: -0.06em;
  margin: 24px 0 56px;
  overflow: hidden;
  padding-bottom: 0.06em;
}
.final__word .char {
  display: inline-block;
  will-change: transform;
}
.final__word .char:nth-child(n + 5) {
  color: var(--accent);
}

/* footer */

.footer {
  border-top: 1px solid var(--line);
  padding: 64px 0 32px;
  font-size: 14.5px;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
}
.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: var(--fg-2);
}
.footer__brand p {
  margin: 12px 0 10px;
  max-width: 260px;
}
.footer__brand a:hover,
.footer__col a:hover {
  color: var(--fg);
}
.footer__col {
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: var(--fg-2);
}
.footer__col span {
  color: var(--fg-3);
  font-size: 13px;
  margin-bottom: 6px;
}
.footer__fund {
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: var(--fg-3);
  font-size: 13px;
}
.footer__fund img {
  width: 150px;
  height: auto;
  border-radius: 10px;
}
.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--fg-3);
  font-size: 13px;
}

/* ---------- cursor ---------- */

.cursor {
  display: none;
}
@media (pointer: fine) {
  html.js:not(.reduced) .cursor {
    display: block;
  }
  .cursor__dot,
  .cursor__ring {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 100;
    pointer-events: none;
    border-radius: 50%;
    opacity: 0;
  }
  .cursor__dot {
    width: 6px;
    height: 6px;
    margin: -3px 0 0 -3px;
    background: var(--fg);
  }
  .cursor__ring {
    width: 40px;
    height: 40px;
    margin: -20px 0 0 -20px;
    border: 1px solid rgb(242 242 243 / 0.35);
    transition: width 0.35s var(--ease), height 0.35s var(--ease), margin 0.35s var(--ease), border-color 0.35s, background-color 0.35s;
  }
  .cursor.is-hover .cursor__ring {
    width: 72px;
    height: 72px;
    margin: -36px 0 0 -36px;
    border-color: transparent;
    background: rgb(106 69 255 / 0.18);
  }
}

/* ---------- initial states (only when JS is running) ---------- */

html.js:not(.reduced) [data-split-lines],
html.js:not(.reduced) [data-split-chars] {
  visibility: hidden;
}

/* ---------- responsive ---------- */

@media (max-width: 960px) {
  .header__nav {
    display: none;
  }
  .header__logo {
    margin-right: auto;
  }
  .hero {
    padding-top: 110px;
  }
  .hero__inner {
    grid-template-columns: 1fr;
  }
  .hero__visual {
    order: -1;
    width: min(72vw, 360px);
    margin: 0 auto;
  }
  .hero__scroll {
    display: none;
  }
  .audience__grid,
  .start__steps {
    grid-template-columns: 1fr;
  }
  .audience__card {
    min-height: 320px;
  }
  .start__line {
    display: none;
  }
  .principles__head {
    grid-template-columns: 1fr;
  }
  .principles__progress {
    display: none;
  }
  .principles__track {
    width: auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    padding: 0 var(--gutter);
  }
  .principle {
    width: auto;
  }
  .fund__inner {
    grid-template-columns: 1fr;
  }
  .footer__inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .stats {
    grid-template-columns: 1fr;
  }
  .stats__item + .stats__item {
    border-left: 0;
    padding-left: 0;
    border-top: 1px solid var(--line);
    margin-top: 32px;
  }
  .hero__actions .btn {
    flex: 1;
  }
  .footer__inner {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
