/* ── Лендинг ───────────────────────────────────────────── */

.landing { padding-top: 24px; }

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green-300);
  box-shadow: 0 0 0 4px rgba(134, 239, 172, .12);
  animation: live 2.4s ease-in-out infinite;
  flex: none;
}
@keyframes live {
  0%, 100% { box-shadow: 0 0 0 3px rgba(134, 239, 172, .10); }
  50% { box-shadow: 0 0 0 6px rgba(134, 239, 172, .04); }
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr);
  align-items: center;
  gap: clamp(28px, 4vw, 64px);
  padding-top: clamp(24px, 4vw, 54px);
  padding-bottom: 12px;
}

.hero__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--pill);
  color: var(--t80);
  font-size: 13px;
  box-shadow: 0 0 0 1px rgba(134, 239, 172, .12);
}
.hero__title {
  font-size: clamp(30px, 4vw, 58px);
  line-height: 1.06;
  letter-spacing: -.025em;
}
.hero__title .hl { margin-top: .08em; }
.hero__sub {
  max-width: 36rem;
  color: var(--t60);
  font-size: clamp(14px, 1.15vw, 17px);
  line-height: 1.8;
}
.hero__actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 2px; }
.hero__actions .btn { padding: 14px 24px; }
.hero__trust { display: flex; align-items: center; gap: 14px; margin-top: 10px; }
.hero__faces { display: flex; }
.hero__faces .avatar { margin-left: -8px; box-shadow: 0 0 0 3px #0a0a0a; }
.hero__faces .avatar:first-child { margin-left: 0; }
.hero__trust-text { display: flex; flex-direction: column; gap: 2px; }
.hero__trust-text b { font-size: 13px; font-weight: 600; }
.hero__trust-text span { font-size: 12px; color: var(--t40); }

/* ── макет доски ───────────────────────────────────────── */

.hero__visual { position: relative; }
.mock {
  position: relative;
  z-index: 2;
  border-radius: 22px;
  overflow: hidden;
  background: #0d100d;
  box-shadow: 0 0 0 1px rgba(134, 239, 172, .22), 0 40px 90px -50px #000, 0 0 80px -40px rgba(74, 222, 128, .25);
  transform: perspective(1600px) rotateY(-4deg) rotateX(1.5deg);
  transition: transform .8s var(--smooth);
}
.mock:hover { transform: perspective(1600px) rotateY(0) rotateX(0); }
.mock__bar {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 48px;
  padding: 0 14px;
  background: rgba(255, 255, 255, .025);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  font-size: 11px;
}
.mock__brand { display: flex; align-items: center; gap: 7px; font-family: var(--display); font-weight: 700; font-size: 12px; }
.mock__brand img { width: 20px; height: auto; }
.mock__brand small {
  font-family: var(--font);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--green-300);
  background: var(--pill-hi);
  padding: 2px 5px;
  border-radius: 999px;
}
.mock__divider { width: 1px; height: 18px; background: rgba(255, 255, 255, .1); }
.mock__doc { color: var(--t60); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock__saved { display: flex; align-items: center; gap: 6px; color: var(--t40); font-size: 10px; margin-left: 4px; white-space: nowrap; }
.mock__saved .live-dot { width: 5px; height: 5px; }
.mock__people { display: flex; margin-left: auto; }
.mock__ava {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 8px;
  background: var(--c);
  color: var(--tc);
  font-size: 9px;
  font-weight: 800;
  margin-left: -6px;
  box-shadow: 0 0 0 2px #0d100d;
}
.mock__ava:first-child { margin-left: 0; }
.mock__share {
  padding: 6px 10px;
  border-radius: 8px;
  background: var(--green-300);
  color: #06200f;
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
}
.mock__stage { display: flex; height: 380px; }
.mock__rail {
  width: 50px;
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 12px 0;
  background: rgba(255, 255, 255, .018);
  border-right: 1px solid rgba(255, 255, 255, .05);
}
.mock__rail span {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  color: var(--t40);
}
.mock__rail span .icon { width: 15px; height: 15px; }
.mock__rail span.is-on { background: rgba(255, 255, 255, .08); color: #fff; }
.mock__rail span.is-green { background: var(--green-300); color: #06200f; }
.mock__rail .rail-sep { width: 20px; height: 1px; background: rgba(255, 255, 255, .08); margin: 5px 0; }
.mock__canvas {
  position: relative;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  background-color: #0a0d0a;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(255, 255, 255, .14) 1px, transparent 1.5px),
    radial-gradient(50rem 30rem at 70% 20%, rgba(74, 222, 128, .05), transparent 60%);
  background-size: 24px 24px, auto;
  background-position: 12px 12px, 0 0;
}
.mock-frame {
  position: absolute;
  inset: 44px 92px 56px 36px;
  border: 1px solid rgba(134, 239, 172, .22);
  border-radius: 6px;
  background: rgba(134, 239, 172, .015);
}
.mock-frame__label {
  position: absolute;
  top: -20px;
  left: 0;
  font-size: 10px;
  font-weight: 600;
  color: var(--green-200);
}
.mock-note {
  position: absolute;
  width: 118px;
  min-height: 96px;
  padding: 10px;
  border-radius: 3px;
  color: #1a1a12;
  display: flex;
  flex-direction: column;
  gap: 4px;
  box-shadow: 0 10px 22px -12px rgba(0, 0, 0, .8);
  font-size: 8.5px;
  line-height: 1.4;
}
.mock-note b { font-size: 11px; }
.mock-note span { opacity: .72; }
.mock-note--yellow { background: #fde68a; left: 18px; top: 24px; transform: rotate(-3deg); }
.mock-note--mint { background: #bbf7d0; left: 152px; top: 32px; transform: rotate(2deg); }
.mock-note--sky { background: #bfdbfe; left: 286px; top: 18px; transform: rotate(-1.5deg); }
.mock-shape--round {
  position: absolute;
  width: 96px;
  height: 56px;
  border-radius: 14px;
  border: 2px solid #4ade80;
  background: rgba(74, 222, 128, .18);
  left: 40px;
  bottom: 34px;
}
.mock-shape--circle {
  position: absolute;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(147, 197, 253, .9);
  border: 2px solid #60a5fa;
  right: 40px;
  bottom: 28px;
}
.mock-arrow {
  position: absolute;
  width: 190px;
  height: 110px;
  left: 132px;
  bottom: 58px;
  fill: none;
  stroke: #86efac;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: .85;
}
.mock-inspector {
  position: absolute;
  top: 52px;
  right: -18px;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 7px 9px;
  border-radius: 10px;
  background: #121612;
  box-shadow: 0 0 0 1px rgba(134, 239, 172, .2), 0 12px 24px -10px #000;
  color: var(--t60);
}
.mock-inspector .icon { width: 11px; height: 11px; }
.mock-inspector__sw { width: 12px; height: 12px; border-radius: 4px; background: var(--c); box-shadow: 0 0 0 1px rgba(0, 0, 0, .3); }
.mock-inspector__sep { width: 1px; height: 12px; background: rgba(255, 255, 255, .12); margin: 0 2px; }
.mock-cursor {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  pointer-events: none;
  z-index: 4;
}
.mock-cursor svg { width: 15px; height: 15px; fill: var(--c); stroke: #06200f; stroke-width: 1; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .5)); }
.mock-cursor span {
  margin-left: 10px;
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--c);
  color: #06200f;
  font-size: 9px;
  font-weight: 800;
  white-space: nowrap;
}
.mock-cursor--one { --c: #86efac; left: 62%; top: 62%; animation: cursor-one 10s ease-in-out infinite; }
.mock-cursor--two { --c: #93c5fd; left: 28%; top: 40%; animation: cursor-two 12s ease-in-out infinite 1s; }
@keyframes cursor-one {
  0%, 100% { transform: translate(0, 0); }
  25% { transform: translate(-70px, -40px); }
  50% { transform: translate(18px, -78px); }
  75% { transform: translate(56px, 12px); }
}
@keyframes cursor-two {
  0%, 100% { transform: translate(0, 0); }
  30% { transform: translate(46px, 40px); }
  60% { transform: translate(110px, -20px); }
  80% { transform: translate(20px, -50px); }
}
.mock-hud {
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 8px;
  border-radius: 10px;
  background: #121612;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .08);
  font-size: 9px;
  color: var(--t50);
}
.mock-hud b { color: #fff; font-size: 10px; }
.mock-minimap {
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 74px;
  height: 48px;
  border-radius: 7px;
  background: rgba(255, 255, 255, .04);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .08);
  padding: 5px;
}
.mock-minimap i {
  display: block;
  width: 34px;
  height: 22px;
  border: 1px solid var(--green-300);
  border-radius: 2px;
  background: rgba(134, 239, 172, .08);
}
.mock-glow {
  position: absolute;
  inset: 8% -6% -12% -6%;
  z-index: 0;
  background: radial-gradient(closest-side, rgba(74, 222, 128, .22), transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}

/* ── статистика ────────────────────────────────────────── */

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 46px;
}
.stat {
  padding: 22px 26px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: var(--smooth);
}
.stat:hover { background: rgba(74, 222, 128, .04); box-shadow: 0 0 0 1px var(--ring-hi); }
.stat__icon { color: var(--green-300); width: 20px; height: 20px; margin-bottom: 8px; }
.stat__icon .icon { width: 20px; height: 20px; }
.stat__value {
  font-family: var(--display);
  font-size: clamp(22px, 2.4vw, 34px);
  line-height: 1;
  color: #fff;
  letter-spacing: -.02em;
}
.stat__label { font-size: 12.5px; color: var(--t50); }

/* ── секции ────────────────────────────────────────────── */

.section { margin-top: clamp(80px, 9vw, 130px); }
.section__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  margin-bottom: 40px;
}
.section__kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--green-300);
  background: var(--pill);
  padding: 5px 12px;
  border-radius: 999px;
}
.section__title {
  font-size: clamp(28px, 4vw, 52px);
  line-height: 1.08;
  letter-spacing: -.025em;
}
.section__sub { max-width: 46rem; color: var(--t50); font-size: clamp(13.5px, 1.1vw, 16px); line-height: 1.75; }

/* ── возможности ───────────────────────────────────────── */

.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.feature {
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 236px;
  transition: var(--smooth);
}
.feature:hover { background: rgba(74, 222, 128, .035); box-shadow: 0 0 0 1px var(--ring-hi); transform: translateY(-2px); }
.feature__icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background: var(--pill);
  color: var(--green-300);
  box-shadow: 0 0 0 1px rgba(134, 239, 172, .14);
  margin-bottom: 6px;
}
.feature__icon .icon { width: 20px; height: 20px; }
.feature h3 { font-size: clamp(18px, 1.6vw, 22px); line-height: 1.3; }
.feature p { color: var(--t50); font-size: 13.5px; line-height: 1.7; }
.feature__notes {
  position: relative;
  right: auto;
  bottom: auto;
  display: flex;
  margin-top: auto;
  padding-top: 16px;
  pointer-events: none;
}
.mini-note {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-left: -12px;
  border-radius: 2px;
  background: var(--c);
  color: #1a1a12;
  font-size: 9px;
  font-weight: 800;
  transform: rotate(var(--r));
  box-shadow: 0 8px 16px -8px rgba(0, 0, 0, .7);
}
.feature__peers { display: flex; gap: 8px; flex-wrap: wrap; margin-top: auto; padding-top: 12px; }
.peer-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 10px 5px 12px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--c) 12%, transparent);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--c) 30%, transparent);
  color: var(--c);
  font-size: 11px;
  font-weight: 700;
}
.peer-chip i { width: 6px; height: 6px; border-radius: 50%; background: var(--c); animation: live 2s infinite; }

/* ── инструменты ───────────────────────────────────────── */

.tools-panel {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 40px;
  padding: clamp(24px, 3vw, 46px);
}
.tools-panel__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.tools-panel__copy .section__title { text-align: left; font-size: clamp(26px, 3vw, 40px); }
.tools-panel__copy .section__sub { text-align: left; }
.tools-keys { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.tools-keys span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 10px;
  border-radius: 9px;
  background: var(--w5);
  color: var(--t60);
  font-size: 11.5px;
}
kbd {
  display: inline-grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 5px;
  background: rgba(255, 255, 255, .08);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .12) inset, 0 0 0 1px rgba(255, 255, 255, .1);
  font-family: var(--font);
  font-size: 10px;
  font-weight: 700;
  color: var(--t80);
}
.tools-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; align-content: start; }
.tool-tile {
  display: grid;
  grid-template-columns: 28px 1fr;
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 10px;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .025);
  transition: var(--smooth);
}
.tool-tile:hover { background: rgba(74, 222, 128, .06); }
.tool-tile .icon { grid-row: 1 / 3; width: 18px; height: 18px; color: var(--green-300); }
.tool-tile b { font-size: 12.5px; font-weight: 600; }
.tool-tile span { font-size: 10.5px; color: var(--t40); }

/* ── шаги ──────────────────────────────────────────────── */

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.step { padding: 30px; display: flex; flex-direction: column; gap: 12px; transition: var(--smooth); }
.step:hover { background: rgba(74, 222, 128, .035); box-shadow: 0 0 0 1px var(--ring-hi); }
.step__num {
  font-family: var(--display);
  font-size: 34px;
  line-height: 1;
  color: var(--green-300);
  opacity: .9;
  margin-bottom: 6px;
}
.step h3 { font-size: 19px; }
.step p { font-size: 13.5px; color: var(--t50); line-height: 1.7; }

/* ── CTA ───────────────────────────────────────────────── */

.cta {
  margin-top: clamp(80px, 9vw, 130px);
  padding: clamp(50px, 7vw, 96px) 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
}
.cta__glow {
  position: absolute;
  inset: -20% -10%;
  background:
    radial-gradient(closest-side, rgba(74, 222, 128, .18), transparent 70%) 20% 50% / 40% 80% no-repeat,
    radial-gradient(closest-side, rgba(134, 239, 172, .12), transparent 70%) 85% 40% / 35% 70% no-repeat;
  filter: blur(30px);
  pointer-events: none;
}
.cta > * { position: relative; z-index: 1; }
.cta__title { font-size: clamp(28px, 4.4vw, 54px); line-height: 1.08; }
.cta p { max-width: 42rem; color: var(--t50); font-size: 14px; line-height: 1.7; }
.cta .btn { margin-top: 12px; padding: 14px 26px; }

.landing .btn,
.landing .pill { position: relative; }

/* ── адаптив ───────────────────────────────────────────── */

@media (max-width: 1100px) {
  .hero { grid-template-columns: 1fr; gap: 48px; }
  .hero__copy { align-items: center; text-align: center; }
  .hero__sub { max-width: 40rem; }
  .hero__visual { max-width: 720px; width: 100%; margin: 0 auto; }
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tools-panel { grid-template-columns: 1fr; gap: 28px; }
  .tools-panel__copy .section__title,
  .tools-panel__copy .section__sub { text-align: center; }
  .tools-panel__copy { align-items: center; }
}

@media (max-width: 900px) {
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: 1fr; }
  .mock__stage { height: 330px; }
  .mock-frame { inset: 36px 60px 52px 24px; }
  .mock-note { width: 104px; min-height: 86px; }
  .mock-note--mint { left: 134px; }
  .mock-note--sky { left: 254px; }
  .mock-shape--round { display: none; }
  .mock-arrow { display: none; }
}

@media (max-width: 700px) {
  .features { grid-template-columns: 1fr; }
  .feature { min-height: 0; }
  .stats { gap: 6px; }
  .stat { padding: 18px; }
  .mock { transform: none; }
  .mock__share, .mock__saved, .mock__divider { display: none; }
  .mock__stage { height: 300px; }
  .mock__rail { width: 42px; gap: 3px; }
  .mock__rail span { width: 28px; height: 28px; }
  .mock-frame { inset: 30px 36px 48px 16px; }
  .mock-note { width: 92px; padding: 8px; }
  .mock-note--mint { left: 116px; }
  .mock-note--sky { left: 230px; }
  .mock-inspector { display: none; }
  .mock-cursor--one { left: 66%; top: 68%; }
  .tools-grid { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .hero__actions { width: 100%; flex-direction: column; align-items: stretch; }
  .hero__actions .btn, .hero__actions .pill { width: 100%; justify-content: center; }
  .hero__trust { flex-direction: column; text-align: center; }
  .stats { grid-template-columns: 1fr; }
  .mock__people { display: none; }
  .mock__stage { height: 260px; }
  .mock__canvas { background-size: 20px 20px, auto; }
  .mock-frame { inset: 28px 24px 44px 12px; }
  .mock-note { width: 78px; min-height: 74px; font-size: 7px; }
  .mock-note b { font-size: 9px; }
  .mock-note--mint { left: 92px; top: 44px; }
  .mock-note--sky { left: 182px; top: 26px; }
}
