/* Base */
:root {
  --bg: #010101;
  --panel: rgba(255, 255, 255, 0.05);
  --panel-2: rgba(255, 255, 255, 0.08);
  --text: rgba(255, 255, 255, 0.92);
  --muted: rgba(255, 255, 255, 0.66);
  --muted-2: rgba(255, 255, 255, 0.5);
  --stroke: rgba(255, 255, 255, 0.12);

  --gold-1: #fff5d3;
  --gold-2: #fbbf27;
  --gold-3: #916e17;

  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;

  --shadow: 0px 10px 20px rgba(0, 0, 0, 0.35);
  --shadow-soft: 0px 4px 17px rgba(0, 0, 0, 0.25);
  --max: 1120px;
}

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

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

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

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

.container {
  width: min(var(--max), calc(100% - 2 * 20px));
  max-height: auto;
  margin: 0 auto;
}

.container--wide {
  width: min(1200px, calc(100% - 2 * 20px));
  overflow:visible;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 10px;
  padding: 10px 12px;
  background: #111;
  border: 1px solid var(--stroke);
  border-radius: 10px;
  z-index: 999;
}

.skip-link:focus {
  left: 10px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  padding-top: env(safe-area-inset-top, 0);
  backdrop-filter: blur(10px);
  background: rgba(0, 0, 0, 0.55);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-row {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 180px;
}

.brand__logo {
  width: 32px;
  height: 32px;
}

.brand__logo--img {
  width: auto;
  height: 32px;
  max-width: 200px;
}

.brand--footer .brand__logo--img {
  height: 32px;
  max-width: 240px;
}

.brand__name {
  font-family: Lato, Inter, system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.nav {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: center;
  flex: 1;
}

.nav__mobile-only {
  display: none;
}

.nav__link {
  font-size: 14px;
  line-height: 20px;
  color: rgba(255, 255, 255, 0.65);
  transition: color 140ms ease;
}

.nav__link:hover {
  color: rgba(255, 255, 255, 0.9);
}

.nav__link.is-active {
  color: #ffe20a;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex-direction: column;
  z-index: 40;
}

.nav-toggle__bar {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 1px;
  background: rgba(255, 255, 255, 0.92);
  transition:
    transform 180ms ease,
    opacity 180ms ease;
}

.site-header.is-nav-open .nav-toggle__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-header.is-nav-open .nav-toggle__bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.site-header.is-nav-open .nav-toggle__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

body.is-nav-open {
  overflow: hidden;
  touch-action: none;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-soft);
  cursor: pointer;
  user-select: none;
  transition:
    transform 120ms ease,
    background 120ms ease,
    border-color 120ms ease;
}

.btn:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.16);
}

.btn:active {
  transform: translateY(0px);
}

.btn--primary {
  border-color: rgba(0, 0, 0, 0.65);
  background:
    radial-gradient(ellipse 209.82% 77.11% at 51.32% -146.43%, #fff48c 0%, rgba(255, 242, 127, 0) 100%),
    linear-gradient(180deg, #201810 0%, #201810 100%);
  color: #fff;
}

.btn--primary:hover {
  background:
    radial-gradient(ellipse 209.82% 77.11% at 51.32% -146.43%, #fff48c 0%, rgba(255, 242, 127, 0) 100%),
    linear-gradient(180deg, #201810 0%, #201810 100%);
  border-color: rgba(0, 0, 0, 0.65);
}

/* Один радиальный градиент как в макете (122×33): translate(62.6123 -48.3214) rotate(90) scale(69.2411 94.0723) */
.btn--android.btn--primary {
  border-radius: var(--radius-md);
  background: radial-gradient(
    ellipse 77.07% 209.82% at 51.32% -146.43%,
    #fff48c 0%,
    #201810 100%
  );
  box-shadow: var(--shadow-soft);
}

.btn--android.btn--primary:hover {
  background: radial-gradient(
    ellipse 77.07% 209.82% at 51.32% -146.43%,
    #fff48c 0%,
    #201810 100%
  );
  border-color: rgba(0, 0, 0, 0.14);
}

.btn__icon {
  flex-shrink: 0;
  display: block;
  width: 24px;
  height: 24px;
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn--lg {
  padding: 14px 18px;
  font-weight: 600;
}

.btn--disabled {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
}

.btn__badge {
  margin-left: 10px;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
  line-height: 12px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.store-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.store-actions--cta {
  justify-content: center;
}

/* Google Play Toggle Utility */
[data-gp-active="false"] .gp-active {
  display: none !important;
}

[data-gp-active="true"] .gp-soon {
  display: none !important;
}

/* Language dropdown */
.lang {
  position: relative;
}

.lang__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 40px;
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.9);
  cursor: pointer;
}

.lang__flag {
  width: 30px;
  height: 22px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
}

.lang__flag-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.lang__label {
  font-size: 14px;
}

.lang__chev {
  width: 10px;
  height: 10px;
  border-right: 2px solid rgba(255, 255, 255, 0.65);
  border-bottom: 2px solid rgba(255, 255, 255, 0.65);
  transform: rotate(45deg);
  margin-left: 4px;
}

.lang__menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: min(280px, calc(100vw - 24px));
  max-height: min(420px, 70vh);
  overflow-y: auto;
  border-radius: 14px;
  background: rgba(12, 12, 12, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.55);
  padding: 6px;
  display: none;
}

.lang[data-open="true"] .lang__menu {
  display: block;
  animation: pop 140ms ease-out;
}

.lang__item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: 10px;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  text-align: left;
}

.lang__item:hover {
  background: rgba(255, 255, 255, 0.06);
}

@keyframes pop {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Sections */
.section {
  padding: 76px 0;
}

.section__head {
  text-align: center;
  margin-bottom: 26px;
}

.section__title {
  margin: 0;
  font-family: Lato, Inter, system-ui, sans-serif;
  font-weight: 700;
  font-size: 36px;
  line-height: 1.15;
}

.section__subtitle {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.65);
  font-size: 18px;
  line-height: 28px;
}

/* Hero */
.hero {
  position: relative;
  padding: 34px 0 62px;
  overflow: hidden;
  min-height: 760px;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: url("./assets/bg-big.png") center top / cover no-repeat;
  pointer-events: none;
}

.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 60% at 50% 32%, rgba(255, 236, 151, 0.45) 0%, rgba(220, 255, 150, 0) 70%),
    radial-gradient(40% 40% at 60% 45%, rgba(255, 236, 151, 0.22) 0%, rgba(0, 0, 0, 0) 70%);
  filter: blur(10px);
}

.hero__trader {
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
  filter: drop-shadow(0 28px 65px rgba(0, 0, 0, 0.72));
}

.hero__trader-stage {
  position: absolute;
  left: 50%;
  top: 86px;
  transform: translateX(-50%);
  width: min(980px, 92vw);
  height: 520px;
  z-index: 1;
  pointer-events: none;
}

.hero__wrap {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
  --hero-wrap-pad-top: 320px;
  padding-top: var(--hero-wrap-pad-top);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 10px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.9);
  font-size: 12px;
}

.pill__dot {
  display: inline-flex;
  flex-shrink: 0;
  line-height: 0;
}

.pill__dot svg {
  display: block;
  width: 12px;
  height: 12px;
}

.pill--hero {
  margin-top: 14px;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.22);
}

.hero__title {
  margin: 18px 0 0;
  font-family: Philosopher, serif;
  font-size: clamp(44px, 8.6vw, 110px);
  line-height: 0.95;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.86);
  text-shadow: 0 18px 48px rgba(0, 0, 0, 0.75);
}

.hero__lead {
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.9);
  max-width: 64ch;
  font-family: Lato, Inter, system-ui, sans-serif;
  font-size: 16px;
  line-height: 24px;
}

.hero__copy--center {
  text-align: center;
  display: grid;
  justify-items: center;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}

.hero__actions--center {
  justify-content: center;
}

.app-lang-notice {
  margin: 16px 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 36rem;
  font-size: 13px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.58);
}

.app-lang-notice__icons {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.app-lang-notice__icons img {
  display: block;
  width: 22px;
  height: 16px;
  border-radius: 4px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.app-lang-notice--cta {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.55);
}

.hero__notes {
  display: grid;
  gap: 8px;
  color: rgba(217, 172, 12, 0.7);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero__notes2 {
  display: grid;
  gap: 8px;
  color: rgba(217, 172, 12, 0.7);
  font-size: 36px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero__notes--floating {
  position: absolute;
  right: 0;
  left: auto;
  justify-items: start;
  padding-right: 6.5%;
  top: 22px;
  text-align: left;
  color: rgba(217, 172, 12, 0.55);
  z-index: 2;
}

.hero__note2--floating {
  position: absolute;
  left: 0;
  padding-left: 23%;
  top: 140px;
  max-width: 480px;
  justify-items: end;
  text-align: right;
  color: rgba(217, 172, 12, 0.55);
  z-index: 2;
}

.phone {
  width: min(320px, 100%);
  aspect-ratio: 9 / 16;
  border-radius: 28px;
  background: #0b0b0b;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.6);
  position: relative;
  overflow: hidden;
}

.phone--dark {
  background: #050505;
}

.phone::before {
  content: "";
  position: absolute;
  inset: -40px -40px auto -40px;
  height: 220px;
  background: radial-gradient(60% 80% at 50% 30%, rgba(255, 236, 151, 0.18) 0%, rgba(0, 0, 0, 0) 70%);
}

.phone__screen {
  position: absolute;
  inset: 14px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 18px;
  display: grid;
  align-content: end;
  gap: 10px;
}

.phone__headline {
  font-family: Philosopher, serif;
  font-weight: 700;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.92);
}

.phone__sub {
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  line-height: 18px;
}

.phone__cta {
  display: inline-flex;
  justify-self: start;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.65);
  color: rgba(255, 245, 211, 0.95);
  font-weight: 700;
  font-size: 13px;
}

/* Features (Figma-like block) */
.section--features {
  padding-top: 62px;
  padding-bottom: 62px;
}

.section--features .section__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding-left: 120px;
  padding-right: 120px;
  margin-bottom: 64px;
}

.section--features .section__title {
  font-family: Lato, Inter, system-ui, sans-serif;
  font-weight: 700;
  font-size: 36px;
  line-height: 40px;
  letter-spacing: 0.369141px;
  color: #ffffff;
}

.section--features .section__subtitle {
  font-family: Lato, Inter, system-ui, sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 28px;
  letter-spacing: -0.439453px;
  color: #a8a8a8;
}

.features-visual {
  position: relative;
  margin-top: 0;
  z-index: 1;
  height: 720px;
  border-radius: 64.6262px;
  overflow: visible;
}

.features-visual__particles {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
}

.features-visual__rings {
  position: absolute;
  z-index: -1;
  left: 50%;
  top: 58%;
  width: min(986.25px, 115%);
  height: auto;
  max-width: none;
  pointer-events: none;
  opacity: 0.95;
  transform: translate(-50%, -50%);
}

.features-visual__phone {
  position: absolute;
  z-index: 0;
  left: 50%;
  top: 60%;
  width: min(780px, 63vw);
  height: min(930px, 88vh);
  max-height: 930px;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 26px 70px rgba(0, 0, 0, 0.6));
}

.features-visual__phone--slides {
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  width: 100%;
  height: 100%;
}

.features-visual__slides {
  position: relative;
  width: min(430px, 88%);
  height: min(720px, 98%);
  max-height: 100%;
}

/* Затемнение скрина к низу → сплошной чёрный (как виньетка у телефона) */
.features-visual__slides::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0) 38%,
    rgba(0, 0, 0, 0.22) 52%,
    rgba(0, 0, 0, 0.62) 72%,
    rgba(0, 0, 0, 0.92) 90%,
    #000000 100%
  );
}

.features-visual__slide {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  opacity: 0;
  transition: opacity 0.55s ease;
}

.features-visual__slide.is-active {
  opacity: 1;
  z-index: 1;
}

.features-cards {
  position: relative;
  z-index: 5;
  height: auto;
  top: -180px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 16px;
  isolation: isolate;
  width: min(1200px, 100%);
  margin-left: auto;
  margin-right: auto;
}

.features-card {
  box-sizing: border-box;
  position: relative;
  width: 291px;
  height: 244px;
  border-radius: 14px;
  background: radial-gradient(
    ellipse 77.07% 209.82% at 51.32% -146.43%,
    #fff48c 0%,
    #201810 100%
  );
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  padding: 16px 26px;
  overflow: hidden;
}

.features-card__loader {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: rgba(0, 0, 0, 0.28);
  pointer-events: none;
  border-radius: 14px 14px 999px 999px;
}

.features-card__loader-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #916e17 0%, #fbbf27 45%, #fff5d3 100%);
  box-shadow: 0 0 12px rgba(251, 191, 39, 0.45);
  transition: width 0.08s linear;
  border-radius: inherit;
}

.features-card.is-carousel-active .features-card__loader-fill {
  transition: none;
}

.features-card--pad-21 {
  padding-left: 21px;
  padding-right: 21px;
}

.features-card--pad-26 {
  padding-left: 26px;
  padding-right: 26px;
}

.features-card--pad-14 {
  padding-left: 14px;
  padding-right: 14px;
}

.features-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.12);
  display: grid;
  place-items: center;
  outline: 1px solid rgba(255, 245, 211, 0.35);
  outline-offset: -1px;
}

.features-card__title {
  margin: 0;
  font-family: Lato, Inter, system-ui, sans-serif;
  font-weight: 600;
  font-size: 16px;
  line-height: 28px;
  letter-spacing: -0.439453px;
  color: #fff;
}

.features-card__text {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: -0.150391px;
  color: #a8a8a8;
}

.features-card.is-carousel-active {
  box-shadow:
    var(--shadow-soft),
    inset 0 0 0 1px rgba(255, 245, 211, 0.32);
}

.features-card--abs-left {
  position: relative;
  left: auto;
  top: auto;
  z-index: auto;
}

.features-card--abs-right {
  position: relative;
  left: auto;
  top: auto;
  z-index: auto;
}

/* Community (Figma-like) */
.section--community-figma {
  padding-top: 0;
  padding-bottom: 0;
  height: 502px;
  display: flex;
  align-items: flex-start;
}

.community-figma {
  --community-surface: linear-gradient(
    180deg,
    rgba(241, 187, 147, 0.3) 0%,
    rgba(179, 42, 66, 0.3) 33%,
    rgba(88, 15, 28, 0.3) 63%,
    rgba(47, 8, 14, 0.3) 99%
  );
  position: relative;
  width: min(974px, 100%);
  margin: 63px auto 0;
  padding: 49px 159px 49px 49px;
  border-radius: 26px;
  border: 1px solid transparent;
  background: var(--community-surface) padding-box, var(--community-surface) border-box;
  background-clip: padding-box, border-box;
  box-shadow: var(--shadow-soft);
  overflow: visible;
}

.community-figma__art {
  position: absolute;
  width: 820px;
  height: auto;
  right: -140px;
  top: -175px;
  filter: drop-shadow(0 30px 80px rgba(0, 0, 0, 0.65));
  pointer-events: none;
  scale: 0.79;
}

.community-figma__copy {
  max-width: 480px;
  display: grid;
  gap: 48px;
}

.community-figma__title {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 700;
  font-size: 30px;
  line-height: 36px;
  letter-spacing: 0.3955px;
  color: #fff;
}

.community-figma__text {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 28px;
  letter-spacing: -0.4492px;
  color: #ffe2e2;
}

.btn--community {
  justify-content: flex-start;
  width: fit-content;
}

/* Grid and cards */
.grid {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}

.grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  border-radius: var(--radius-md);
  padding: 18px;
  background:
    radial-gradient(ellipse 65% 140% at 50% -40%, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0) 68%),
    radial-gradient(ellipse 210% 80% at 50% -110%, rgba(255, 244, 140, 0.22) 0%, rgba(255, 242, 127, 0) 100%),
    linear-gradient(180deg, rgba(32, 24, 16, 0.95) 0%, rgba(0, 0, 0, 0.98) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-soft);
}

.card__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.16);
  border: 1px solid rgba(255, 245, 211, 0.25);
}

.card__title {
  margin: 18px 0 0;
  font-family: Lato, Inter, system-ui, sans-serif;
  font-size: 16px;
  line-height: 26px;
  font-weight: 700;
}

.card__text {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 14px;
  line-height: 20px;
}

/* Community */
.section--community {
  padding-top: 56px;
}

.community {
  position: relative;
  border-radius: 26px;
  padding: 44px;
  background: linear-gradient(180deg,
      rgba(241, 187, 147, 0.28) 0%,
      rgba(179, 42, 66, 0.28) 33%,
      rgba(88, 15, 28, 0.28) 63%,
      rgba(47, 8, 14, 0.28) 99%);
  border: 1px solid rgba(241, 187, 147, 0.5);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 24px;
  align-items: center;
}

.community__title {
  margin: 0;
  font-size: 30px;
  line-height: 36px;
  font-weight: 800;
}

.community__text {
  margin: 14px 0 0;
  color: rgba(255, 226, 226, 0.9);
  font-size: 18px;
  line-height: 28px;
  max-width: 48ch;
}

.community__art {
  min-height: 280px;
  border-radius: 22px;
  background:
    radial-gradient(80% 70% at 20% 20%, rgba(255, 236, 151, 0.16) 0%, rgba(0, 0, 0, 0) 65%),
    linear-gradient(135deg, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.15));
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* CTA */
.section--cta {
  position: relative;
  overflow: hidden;
  padding: 78px 0;
  background: var(--bg);
}

.section--cta__inner {
  position: relative;
  z-index: 2;
}

/* Видео за блоком CTA: к верху прозрачнее, к низу плотнее + смыв в --bg */
.cta-video-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: var(--bg);
  pointer-events: none;
}

.cta-video-bg__viewport {
  position: absolute;
  inset: 0;
  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(0, 0, 0, 0.12) 18%,
    rgba(0, 0, 0, 0.45) 42%,
    rgba(0, 0, 0, 0.88) 72%,
    #000000 100%
  );
  mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(0, 0, 0, 0.12) 18%,
    rgba(0, 0, 0, 0.45) 42%,
    rgba(0, 0, 0, 0.88) 72%,
    #000000 100%
  );
}

.cta-video-bg__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 55%;
  display: block;
  opacity: 0.92;
  transform: scale(1.06);
}

.cta-video-bg::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 55%;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(to bottom, transparent 0%, var(--bg) 92%, var(--bg) 100%);
}

.cta-video-bg.is-unavailable {
  display: none;
}

.cta {
  text-align: center;
  display: grid;
  gap: 14px;
  justify-items: center;
}

.cta__title {
  margin: 0;
  font-size: 36px;
  line-height: 40px;
  font-weight: 800;
  font-family: Lato, Inter, system-ui, sans-serif;
}

.cta__text {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 18px;
  line-height: 28px;
  max-width: 60ch;
}

/* Footer */
.section--footer-top {
  padding: 56px 0 34px;
  background: var(--bg);
}

.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.footer-top__left {
  max-width: 520px;
}

.muted {
  color: rgba(153, 161, 175, 1);
  font-size: 14px;
  line-height: 20px;
  margin: 12px 0 0;
}

.footer-top__right {
  display: grid;
  justify-items: end;
  gap: 14px;
}

.social {
  display: flex;
  gap: 12px;
}

.social__link {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
}

.social__link--email {
  width: auto;
  padding: 0 12px;
  height: 40px;
  color: rgba(235, 240, 249, 1);
  font-size: 13px;
  line-height: 18px;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.social__link--email:hover {
  background: rgba(255, 255, 255, 0.06);
}

@media (prefers-reduced-motion: reduce) {
  .cta-video-bg__video {
    display: none;
  }

  .cta-video-bg::after {
    display: none;
  }

  .cta-video-bg__viewport {
    mask-image: none;
    -webkit-mask-image: none;
  }
}

.site-footer {
  border-top: 1px solid rgba(30, 41, 57, 0.9);
  padding: 26px 0;
}

.fineprint {
  margin: 0 auto;
  max-width: 92ch;
  text-align: center;
  color: rgba(153, 161, 175, 1);
  font-size: 13px;
  line-height: 18px;
}

/* Reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 520ms ease,
    transform 520ms ease;
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .btn {
    transition: none;
  }
}

/* Responsive */
@media (max-width: 980px) {
  .header-actions .lang {
    display: none;
  }

  .nav .lang {
    display: block;
    margin: 14px 8px 0;
  }

  .nav .lang__btn {
    width: 100%;
    justify-content: flex-start;
  }

  .nav .lang__menu {
    position: static;
    width: 100%;
    max-height: 50vh;
    margin-top: 10px;
  }

  .section {
    padding: 52px 0;
  }

  .section--features {
    padding-top: 44px;
    padding-bottom: 48px;
  }

  .section--features .section__head {
    padding-left: 0;
    padding-right: 0;
    margin-bottom: 28px;
    max-width: 100%;
  }

  .section--community-figma {
    height: auto;
    min-height: 0;
    padding-bottom: 48px;
    align-items: stretch;
  }

  .community-figma {
    margin: 0 auto;
    padding: 28px 22px;
    width: 100%;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
    overflow: hidden;
    padding-bottom: 220px;
  }

  .community-figma__art {
    position: absolute;
    left: 50%;
    right: auto;
    top: auto;
    bottom: -145px;
    width: min(720px, 135%);
    max-width: none;
    margin: 0;
    scale: 0.85;
    opacity: 1;
    order: 0;
    transform: translateX(-50%);
  }

  .community-figma__copy {
    max-width: none;
    gap: 20px;
    position: relative;
    z-index: 2;
  }

  .cta-video-bg__video {
    object-position: 50% 60%;
  }

  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .nav {
    position: fixed;
    top: calc(64px + env(safe-area-inset-top, 0px));
    left: 0;
    right: 0;
    bottom: 0;
    display: none;
    flex: none;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 8px 16px calc(20px + env(safe-area-inset-bottom));
    background: rgba(0, 0, 0, 0.94);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    z-index: 35;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    box-sizing: border-box;
    min-height: calc(100dvh - (64px + env(safe-area-inset-top, 0px)));
  }

  .site-header.is-nav-open .nav {
    display: flex;
  }

  .nav__mobile-only {
    display: block;
  }

  .nav__link {
    padding: 16px 8px;
    font-size: 17px;
    line-height: 1.35;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .nav__link:last-child {
    border-bottom: 0;
  }

  .brand {
    min-width: auto;
  }

  .hero {
    min-height: 0;
    padding: 24px 0 48px;
  }

  .hero__trader-stage {
    top: 72px;
    height: min(520px, 54vw);
  }

  /* Notes move with the trader as it scales */
  .hero__notes--floating {
    top: -8%;
    left: auto;
    right: 0;
    padding-left: 0;
    padding-right: 6.5%;
    max-width: min(480px, 52vw);
    justify-items: start;
  }

  .hero__note2--floating {
    top: 26%;
    left: 0;
    right: auto;
    padding-left: 20%;
    max-width: min(480px, 52vw);
  }

  .hero__title {
    font-size: clamp(36px, 11vw, 64px);
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 400px;
  }

  .hero__actions .btn {
    width: 100%;
    justify-content: center;
  }

  .grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .features-visual {
    margin-top: 0;
    height: 300px;
    min-height: 0;
    border-radius: clamp(28px, 8vw, 44px);
    padding: 34px 0 26px;
  }

  .features-visual__rings {
    left: 50%;
    top: 58%;
    width: min(986px, 130%);
    transform: translate(-50%, -50%);
  }

  .features-visual__phone {
    left: 50%;
    top: 0;
    width: 480px;
    max-width: 92vw;
    height: 640px;
    max-height: none;
    transform: translateX(-50%);
  }

  .features-visual__slides {
    width: min(400px, 92%);
    height: min(580px, 96%);
  }

  .features-cards {
    position: relative;
    top: auto;
    width: 100%;
    max-width: 100%;
    height: auto;
    min-height: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 18px;
  }

  .features-card {
    position: relative;
    width: 100%;
    height: 244px;
    min-height: 244px;
  }

  .features-card--abs-left,
  .features-card--abs-right {
    position: relative;
    left: auto;
    top: auto;
    z-index: auto;
  }

  .section--cta {
    padding: 52px 0;
  }

  .community {
    grid-template-columns: 1fr;
    padding: 28px;
  }

  .footer-top {
    flex-direction: column;
    align-items: stretch;
  }

  .footer-top__right {
    justify-items: start;
  }
}

@media (max-width: 560px) {
  .hero__notes--floating,
  .hero__note2--floating {
    display: none;
  }

  .container,
  .container--wide {
    width: min(var(--max), calc(100% - 2 * 16px));
  }

  .header-row {
    gap: 8px;
  }

  .btn--primary:not(.btn--android) {
    padding: 10px 14px;
    font-size: 16px;
  }

  /* Keep language name visible in the mobile nav menu */
  .nav .lang__label {
    display: inline;
  }

  .nav .lang__btn {
    gap: 12px;
  }

  /* Hide label only in header language button (when present) */
  .header-actions .lang__label {
    display: none;
  }

  .hero {
    padding: 16px 0 40px;
  }

  .hero__wrap {
    --hero-wrap-pad-top: min(168px, 42vw);
  }

  .hero__trader {
    top: 58px;
    max-height: min(360px, 52vw);
  }

  .hero__lead {
    font-size: 15px;
    line-height: 22px;
  }

  .section__title {
    font-size: clamp(24px, 7.5vw, 30px);
  }

  .section__subtitle {
    font-size: 16px;
    line-height: 24px;
  }

  .section--features .section__title {
    font-size: clamp(24px, 7.5vw, 30px);
    line-height: 1.2;
  }

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

  .features-visual {
    height: auto;
    min-height: 300px;
    border-radius: 24px;
    padding: 28px 0 22px;
  }

  .features-visual__phone {
    width: 420px;
    max-width: 92vw;
    height: 560px;
    max-height: none;
    top: 0;
  }

  .features-visual__slides {
    width: min(380px, 92%);
    height: min(520px, 96%);
  }

  .features-cards {
    grid-template-columns: 1fr;
    margin-top: 18px;
    top: auto;
    gap: 10px;
  }

  .features-card {
    position: relative;
    height: auto;
    min-height: 0;
    padding: 14px 18px;
    gap: 16px;
  }

  .features-card--abs-left,
  .features-card--abs-right {
    position: relative;
    left: auto;
    top: auto;
    z-index: auto;
  }

  /* loader stays flush to card edges */

  .community-figma {
    padding: 22px 18px;
    border-radius: 20px;
    padding-bottom: 235px;
  }

  .community-figma__art {
    width: min(560px, 120vw);
    bottom: -170px;
    scale: 0.8;
  }

  .community-figma__title {
    font-size: 22px;
    line-height: 28px;
  }

  .community-figma__text {
    font-size: 16px;
    line-height: 24px;
  }

  .community__title {
    font-size: 26px;
  }

  .cta__title {
    font-size: clamp(22px, 6.5vw, 30px);
  }

  .cta__text {
    font-size: 16px;
    line-height: 24px;
  }

  .section--cta {
    padding: 44px 0;
  }

  .section--footer-top {
    padding: 40px 0 28px;
  }

  .fineprint {
    font-size: 12px;
    line-height: 16px;
  }
}