:root {
  --paper: #f7f5ef;
  --surface: #fffefa;
  --surface-strong: #ffffff;
  --ink: #171918;
  --muted: #6e716c;
  --line: #e6e2d9;
  --vk: #2688eb;
  --vk-dark: #156ecc;
  --tg: #2aabee;
  --green: #1e9e69;
  --green-soft: #eaf8f1;
  --blue-soft: #edf6ff;
  --sand: #eee9df;
  --danger: #b84d4d;
  --shadow: 0 24px 70px rgba(39, 45, 42, 0.11);
  --shadow-soft: 0 10px 28px rgba(39, 45, 42, 0.08);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 4%, rgba(42, 171, 238, 0.11), transparent 30rem),
    radial-gradient(circle at 92% 0%, rgba(38, 136, 235, 0.09), transparent 28rem),
    var(--paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

button:focus-visible,
input:focus-visible {
  outline: 3px solid rgba(38, 136, 235, 0.25);
  outline-offset: 3px;
}

.shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  text-decoration: none;
  font-size: 20px;
  font-weight: 780;
  letter-spacing: -0.03em;
}

.brand-mark {
  position: relative;
  width: 38px;
  height: 38px;
  border-radius: 13px;
  background: var(--ink);
  box-shadow: 0 8px 20px rgba(23, 25, 24, 0.2);
}

.brand-mark::before,
.brand-mark::after {
  position: absolute;
  top: 12px;
  width: 12px;
  height: 12px;
  border: 2px solid #fff;
  border-radius: 50%;
  content: "";
}

.brand-mark::before {
  left: 7px;
}

.brand-mark::after {
  right: 7px;
  border-color: #7dc9ff;
}

.topnav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.topnav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 650;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  padding: 8px 12px;
  color: #276a54;
  background: var(--green-soft);
  border: 1px solid #c9eadb;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 780;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(30, 158, 105, 0.12);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(470px, 1.04fr);
  align-items: center;
  min-height: calc(100vh - 82px);
  padding: 68px 0 90px;
  gap: 76px;
}

.hero h1 {
  max-width: 650px;
  margin: 0 0 24px;
  font-size: clamp(52px, 6vw, 88px);
  line-height: 0.97;
  letter-spacing: -0.065em;
}

.gradient-word {
  color: transparent;
  background: linear-gradient(110deg, var(--vk), var(--tg));
  -webkit-background-clip: text;
  background-clip: text;
}

.hero-copy {
  max-width: 590px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  align-items: center;
  margin-top: 34px;
  gap: 16px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border: 0;
  border-radius: 15px;
  color: #fff;
  background: var(--ink);
  box-shadow: 0 11px 24px rgba(23, 25, 24, 0.18);
  font-weight: 760;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 30px rgba(23, 25, 24, 0.2);
}

.button:active {
  transform: translateY(0);
}

.button.secondary {
  color: var(--ink);
  background: var(--surface-strong);
  border: 1px solid var(--line);
  box-shadow: none;
}

.button.vk {
  background: var(--vk);
}

.button.vk:hover {
  background: var(--vk-dark);
}

.button.tg {
  background: var(--tg);
}

.button.success {
  background: var(--green);
}

.button.ghost {
  min-height: 42px;
  padding: 0 16px;
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--line);
  box-shadow: none;
}

.button.small {
  min-height: 42px;
  padding: 0 16px;
  border-radius: 12px;
  font-size: 13px;
}

.button[disabled] {
  cursor: not-allowed;
  opacity: 0.48;
  transform: none;
  box-shadow: none;
}

.microcopy {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
}

.hero-plan {
  display: grid;
  gap: 4px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.3;
}

.hero-plan strong {
  color: var(--ink);
  font-size: 15px;
}

.hero-plan small {
  font-size: 12px;
}

.hero-stage {
  position: relative;
  min-height: 560px;
}

.stage-glow {
  position: absolute;
  inset: 7% 0 0 10%;
  background: linear-gradient(145deg, rgba(38, 136, 235, 0.16), rgba(42, 171, 238, 0.08));
  filter: blur(10px);
  border-radius: 54px;
  transform: rotate(-3deg);
}

.browser-card {
  position: absolute;
  inset: 32px 0 0;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.93);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 28px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
  z-index: 1;
}

.bridge-showcase-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(430px, 1.1fr);
  min-height: 470px;
  overflow: hidden;
  padding: 58px 56px;
  color: #fff;
  background:
    radial-gradient(circle at 82% 40%, rgba(38, 136, 235, 0.24), transparent 23rem),
    radial-gradient(circle at 62% 110%, rgba(30, 158, 105, 0.14), transparent 25rem),
    #171a19;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 34px;
  box-shadow: 0 32px 80px rgba(23, 25, 24, 0.16);
}

.bridge-showcase-copy {
  position: relative;
  align-self: center;
  z-index: 1;
}

.bridge-showcase-copy .eyebrow {
  color: #a8dec9;
  background: rgba(65, 154, 119, 0.13);
  border-color: rgba(168, 222, 201, 0.2);
}

.bridge-showcase-copy h2 {
  max-width: 540px;
  margin: 0 0 18px;
  font-size: clamp(38px, 4.5vw, 58px);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.bridge-showcase-copy p {
  max-width: 520px;
  margin: 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 17px;
  line-height: 1.65;
}

.assurance-pills {
  display: flex;
  flex-wrap: wrap;
  margin-top: 30px;
  gap: 9px;
}

.assurance-pills span {
  padding: 9px 12px;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
}

.bridge-showcase-art {
  position: absolute;
  top: 50%;
  right: -48px;
  width: min(58%, 700px);
  height: auto;
  filter: saturate(0.9) drop-shadow(0 30px 45px rgba(31, 150, 220, 0.18));
  transform: translateY(-50%) rotate(-2deg);
}

.browser-bar {
  display: flex;
  align-items: center;
  height: 50px;
  padding: 0 18px;
  gap: 7px;
  border-bottom: 1px solid #efede7;
}

.browser-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #d9d6ce;
}

.demo-flow {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 54px 1fr;
  align-items: center;
  height: calc(100% - 50px);
  padding: 34px;
  background:
    linear-gradient(90deg, rgba(38, 136, 235, 0.04), transparent 44%, rgba(42, 171, 238, 0.05));
}

.channel-panel {
  display: flex;
  flex-direction: column;
  min-height: 360px;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow-soft);
}

.channel-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 17px;
  border-bottom: 1px solid #eeeae2;
  font-weight: 760;
}

.channel-icon {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 11px;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.channel-icon.vk {
  background: var(--vk);
}

.channel-icon.tg {
  background: var(--tg);
}

.chat-stack {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

.message-bubble {
  max-width: 88%;
  padding: 13px 14px;
  border-radius: 16px 16px 16px 5px;
  color: #303431;
  background: #f1f3f4;
  font-size: 13px;
  line-height: 1.45;
}

.message-bubble.outgoing {
  align-self: flex-end;
  border-radius: 16px 16px 5px 16px;
  background: #dff2ff;
}

.message-bubble strong {
  display: block;
  margin-bottom: 4px;
  font-size: 12px;
}

.forward-arrow {
  position: relative;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: var(--vk);
  background: #fff;
  border: 1px solid #dbeaf8;
  border-radius: 50%;
  box-shadow: 0 8px 24px rgba(38, 136, 235, 0.15);
  font-size: 20px;
  z-index: 2;
}

.floating-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 14px;
  color: #40534a;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid #dfe9e3;
  border-radius: 14px;
  box-shadow: var(--shadow-soft);
  font-size: 12px;
  font-weight: 740;
  z-index: 2;
}

.floating-chip.one {
  top: 4px;
  right: 24px;
}

.floating-chip.two {
  bottom: -4px;
  left: 22px;
}

.section {
  padding: 100px 0;
}

.section-header {
  max-width: 720px;
  margin-bottom: 46px;
}

.section-header h2 {
  margin: 0 0 16px;
  font-size: clamp(38px, 5vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.05em;
}

.section-header p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feature-card {
  min-height: 430px;
  overflow: hidden;
  padding: 18px 28px 28px;
  background: rgba(255, 254, 250, 0.8);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.feature-visual {
  position: relative;
  display: grid;
  height: 248px;
  margin: -6px -6px 16px;
  place-items: center;
  background: radial-gradient(circle, rgba(38, 136, 235, 0.1), transparent 61%);
}

.feature-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 20px 24px rgba(31, 108, 174, 0.13));
  transition: transform 220ms ease;
}

.feature-card:hover .feature-visual img {
  transform: translateY(-4px) rotate(-1deg) scale(1.025);
}

.feature-number {
  position: absolute;
  top: 15px;
  left: 10px;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--vk);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(38, 136, 235, 0.12);
  border-radius: 13px;
  box-shadow: 0 8px 22px rgba(39, 45, 42, 0.08);
  font-weight: 800;
}

.feature-card h3 {
  margin: 0 0 9px;
  font-size: 19px;
  letter-spacing: -0.02em;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.hero-v2 {
  min-height: auto;
  padding-top: 76px;
  padding-bottom: 82px;
}

.hero-v2 h1 {
  max-width: 700px;
  font-size: clamp(48px, 5.35vw, 76px);
}

.why-section {
  padding: 78px 0 86px;
}

.compact-header {
  max-width: 850px;
  margin-bottom: 32px;
}

.route-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.route-card {
  min-height: 230px;
  padding: 28px;
  background: rgba(255, 254, 250, 0.86);
  border: 1px solid var(--line);
  border-radius: 24px;
}

.route-card.with {
  color: #fff;
  background: var(--ink);
  border-color: var(--ink);
  box-shadow: 0 24px 56px rgba(23, 25, 24, 0.16);
}

.route-label {
  display: inline-flex;
  padding: 8px 11px;
  color: var(--muted);
  background: #f0eee8;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.route-card.with .route-label {
  color: #bbddff;
  background: rgba(38, 136, 235, 0.18);
}

.route-steps {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 52px;
  gap: 9px;
}

.route-steps span {
  padding: 11px 13px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
}

.route-card.with .route-steps span {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.12);
}

.route-steps b {
  color: #b5b6af;
}

.route-card.with .route-steps b {
  color: #65b6ff;
}

.moment-strip {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 16px;
  padding: 17px 20px;
  gap: 9px;
  background: rgba(255, 254, 250, 0.62);
  border: 1px solid var(--line);
  border-radius: 18px;
}

.moment-strip strong {
  margin-right: 5px;
  font-size: 13px;
}

.moment-strip span,
.proof-tags span {
  padding: 8px 11px;
  color: var(--muted);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
}

.product-proof {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(390px, 0.75fr);
  align-items: center;
  overflow: hidden;
  margin-bottom: 86px;
  padding: 60px 68px;
  gap: 70px;
  color: #fff;
  background:
    radial-gradient(circle at 82% 32%, rgba(42, 171, 238, 0.2), transparent 24rem),
    #171a19;
  border-radius: 34px;
  box-shadow: 0 30px 74px rgba(23, 25, 24, 0.18);
}

.proof-copy .eyebrow {
  color: #bce6d5;
  background: rgba(65, 154, 119, 0.13);
  border-color: rgba(168, 222, 201, 0.2);
}

.proof-copy h2 {
  margin: 0 0 18px;
  font-size: clamp(38px, 4.4vw, 58px);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.proof-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 17px;
  line-height: 1.65;
}

.proof-tags {
  display: flex;
  flex-wrap: wrap;
  margin-top: 28px;
  gap: 8px;
}

.proof-tags span {
  color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.1);
}

.telegram-screen {
  position: relative;
  min-height: 500px;
  padding: 18px;
  color: #24313a;
  background: linear-gradient(160deg, #d9e7ef, #cbdde8);
  border: 8px solid #f8fafb;
  border-radius: 30px;
  box-shadow: 0 32px 70px rgba(0, 0, 0, 0.32);
  transform: rotate(1.5deg);
}

.telegram-screen-head {
  display: flex;
  align-items: center;
  margin: -18px -18px 18px;
  padding: 15px 18px;
  gap: 11px;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 22px 22px 0 0;
}

.telegram-screen-head span:last-child {
  display: grid;
}

.telegram-screen-head small {
  color: #7b8a93;
}

.telegram-day {
  width: max-content;
  margin: 0 auto 16px;
  padding: 5px 9px;
  color: #fff;
  background: rgba(72, 101, 120, 0.42);
  border-radius: 999px;
  font-size: 10px;
}

.telegram-card,
.telegram-reply {
  max-width: 88%;
  padding: 15px 16px;
  background: #fff;
  border-radius: 17px 17px 17px 6px;
  box-shadow: 0 4px 14px rgba(38, 66, 82, 0.1);
}

.telegram-card code,
.telegram-card strong,
.telegram-card small,
.telegram-reply small,
.telegram-reply span {
  display: block;
}

.telegram-card code {
  margin-bottom: 8px;
  color: #3f6680;
  font-size: 10px;
}

.telegram-card p,
.telegram-reply p {
  margin: 8px 0;
  font-size: 14px;
  line-height: 1.45;
}

.telegram-card a {
  display: block;
  margin: 12px 0 7px;
  color: var(--vk);
  font-size: 11px;
  font-weight: 800;
}

.telegram-card small,
.telegram-reply small {
  color: #7b8a93;
  font-size: 10px;
}

.telegram-reply {
  margin-top: 14px;
  margin-left: auto;
  background: #e8f6ff;
  border-radius: 17px 17px 6px 17px;
}

.telegram-reply span {
  color: #3b8e67;
  font-size: 10px;
  font-weight: 700;
  text-align: right;
}

.faq-section {
  padding: 92px 0 74px;
}

.faq-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.faq-list details {
  padding: 21px 22px;
  background: rgba(255, 254, 250, 0.78);
  border: 1px solid var(--line);
  border-radius: 18px;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 760;
  line-height: 1.4;
}

.faq-list p {
  margin: 13px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.trust-section {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) 210px minmax(390px, 1fr);
  align-items: center;
  margin-top: 18px;
  padding: 42px 48px;
  gap: 32px;
  background: rgba(255, 254, 250, 0.78);
  border: 1px solid var(--line);
  border-radius: 32px;
}

.trust-visual {
  position: relative;
  display: grid;
  min-height: 250px;
  place-items: center;
  background: radial-gradient(circle, rgba(38, 136, 235, 0.11), transparent 64%);
}

.trust-visual img {
  width: 240px;
  max-width: 130%;
  height: auto;
  filter: drop-shadow(0 20px 28px rgba(31, 108, 174, 0.14));
}

.trust-copy h2,
.price-section h2 {
  margin: 0 0 14px;
  font-size: clamp(38px, 4.5vw, 58px);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.trust-copy p,
.price-section p {
  max-width: 590px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}

.trust-points {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.trust-points span {
  position: relative;
  min-height: 84px;
  padding: 22px 20px 18px 50px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  font-size: 14px;
  font-weight: 720;
  line-height: 1.45;
}

.trust-points span::before {
  position: absolute;
  top: 21px;
  left: 19px;
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  color: #fff;
  background: var(--green);
  border-radius: 50%;
  content: "✓";
  font-size: 12px;
}

.price-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 24px;
  margin-bottom: 80px;
  padding: 48px 56px;
  gap: 30px;
  color: #fff;
  background: linear-gradient(125deg, #2688eb, #229bd5);
  border-radius: 32px;
  box-shadow: 0 30px 70px rgba(38, 136, 235, 0.2);
}

.price-section .eyebrow {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.22);
}

.price-section p {
  color: rgba(255, 255, 255, 0.78);
}

.price-line {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 12px;
}

.price-line small {
  color: rgba(255, 255, 255, 0.8);
  font-size: 22px;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.price-month {
  width: max-content;
  margin: 2px 0 22px;
  padding: 8px 11px;
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 760;
}

.price-includes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.price-includes span {
  position: relative;
  padding-left: 18px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 13px;
  font-weight: 650;
}

.price-includes span::before {
  position: absolute;
  left: 0;
  content: "✓";
  font-weight: 900;
}

.price-section .button {
  flex: 0 0 auto;
  background: #fff;
  color: var(--ink);
}

.demo-note {
  padding: 14px 18px;
  color: #6d5c3f;
  background: #fff9e9;
  border: 1px solid #ede1bd;
  border-radius: 14px;
  font-size: 13px;
  line-height: 1.45;
}

.error-note {
  margin-bottom: 22px;
  color: #8f3434;
  background: #fff0f0;
  border-color: #efcaca;
}

.single-layout {
  grid-template-columns: minmax(0, 620px);
}

.login-card {
  min-height: auto;
}

.payment-card {
  text-align: center;
}

.payment-card .lead {
  max-width: 520px;
  margin-inline: auto;
}

.payment-wait {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 4px auto 24px;
  padding: 12px 16px;
  color: #fff;
  background: var(--ink);
  border-radius: 14px;
}

.payment-includes {
  justify-content: center;
  margin: 24px 0;
}

.payment-includes span {
  color: var(--ink);
}

.compact-actions {
  margin-top: 14px;
}

.compact-lead {
  margin-bottom: 18px;
}

.operator-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.owner-avatar {
  background: var(--green);
}

/* Onboarding */
.app-background {
  min-height: 100vh;
  padding: 0 0 60px;
}

.setup-header {
  border-bottom: 1px solid rgba(218, 214, 204, 0.7);
  background: rgba(247, 245, 239, 0.84);
  backdrop-filter: blur(18px);
}

.setup-header .topbar {
  min-height: 72px;
}

.setup-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 700px);
  justify-content: center;
  padding-top: 64px;
  gap: 46px;
}

.setup-layout.single-layout {
  grid-template-columns: minmax(0, 620px);
}

.steps {
  position: sticky;
  top: 40px;
  align-self: start;
}

.step-item {
  position: relative;
  display: grid;
  grid-template-columns: 34px 1fr;
  align-items: start;
  min-height: 78px;
  gap: 13px;
  color: #96978f;
}

.step-item:not(:last-child)::after {
  position: absolute;
  top: 35px;
  bottom: 0;
  left: 16px;
  width: 1px;
  background: var(--line);
  content: "";
}

.step-index {
  position: relative;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper);
  font-size: 12px;
  font-weight: 800;
  z-index: 1;
}

.step-item.active,
.step-item.done {
  color: var(--ink);
}

.step-item.active .step-index {
  color: #fff;
  background: var(--ink);
  border-color: var(--ink);
}

.step-item.done .step-index {
  color: #fff;
  background: var(--green);
  border-color: var(--green);
}

.step-copy strong {
  display: block;
  margin: 3px 0 4px;
  font-size: 14px;
}

.step-copy span {
  font-size: 12px;
}

.setup-card {
  min-height: 580px;
  padding: 42px;
  background: var(--surface-strong);
  border: 1px solid rgba(226, 222, 213, 0.9);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.setup-card h1 {
  margin: 0 0 12px;
  font-size: clamp(34px, 5vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.05em;
}

.lead {
  max-width: 570px;
  margin: 0 0 34px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

.instruction-card {
  margin: 24px 0 30px;
  padding: 22px;
  background: linear-gradient(145deg, #f3f8ff, #fbfdff);
  border: 1px solid #d8e9fb;
  border-radius: 18px;
}

.instruction-card > strong {
  display: block;
  margin-bottom: 17px;
  font-size: 15px;
}

.instruction-list {
  display: grid;
  margin: 0;
  padding: 0;
  gap: 13px;
  list-style: none;
}

.instruction-list li {
  display: grid;
  grid-template-columns: 28px 1fr;
  align-items: start;
  gap: 11px;
  color: #454b47;
  font-size: 13px;
  line-height: 1.55;
}

.instruction-list li > span {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  color: #fff;
  background: var(--vk);
  border-radius: 9px;
  font-size: 11px;
  font-weight: 850;
}

.instruction-card a {
  color: var(--vk-dark);
  font-weight: 760;
}

.instruction-card code {
  padding: 2px 6px;
  background: rgba(38, 136, 235, 0.09);
  border-radius: 6px;
  font-size: 12px;
}

.permission-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px 12px;
  margin: 10px 0 8px;
}

.permission-list span {
  color: #245f43;
  font-size: 12px;
  font-weight: 720;
}

.instruction-list small {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

@media (max-width: 560px) {
  .permission-list {
    grid-template-columns: 1fr;
  }
}

.telegram-guide {
  background: linear-gradient(145deg, #f1faff, #fbfeff);
  border-color: #d2edf9;
}

.telegram-guide .instruction-list li > span {
  background: var(--tg);
}

.security-note {
  margin-top: 17px;
  padding: 12px 14px;
  color: #72561c;
  background: #fff8e7;
  border: 1px solid #f3e2b8;
  border-radius: 12px;
  font-size: 12px;
  line-height: 1.5;
}

.form-group {
  margin: 26px 0;
}

.form-label {
  display: block;
  margin-bottom: 9px;
  color: #343834;
  font-size: 13px;
  font-weight: 760;
}

.input {
  width: 100%;
  min-height: 54px;
  padding: 0 16px;
  color: var(--ink);
  background: #fbfaf7;
  border: 1px solid #dcd8cf;
  border-radius: 14px;
  transition: border 160ms ease, box-shadow 160ms ease;
}

.input:focus {
  border-color: var(--vk);
  box-shadow: 0 0 0 4px rgba(38, 136, 235, 0.08);
}

.field-hint {
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.input-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 10px;
}

.setup-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 36px;
  gap: 12px;
}

.provider-card {
  display: flex;
  align-items: center;
  padding: 18px;
  gap: 14px;
  background: #fbfcfc;
  border: 1px solid var(--line);
  border-radius: 16px;
}

.provider-card + .provider-card {
  margin-top: 10px;
}

.provider-avatar {
  display: grid;
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  place-items: center;
  color: #fff;
  background: linear-gradient(145deg, #447ab8, #6fb8f2);
  border-radius: 15px;
  font-weight: 820;
}

.provider-meta {
  min-width: 0;
  flex: 1;
}

.provider-meta strong {
  display: block;
  margin-bottom: 5px;
  font-size: 14px;
}

.provider-meta span {
  display: block;
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  color: #267354;
  background: var(--green-soft);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 780;
  white-space: nowrap;
}

.provider-select {
  display: grid;
  margin: 22px 0;
  gap: 10px;
}

.community-option {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 15px;
  gap: 13px;
  color: var(--ink);
  text-align: left;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 15px;
  transition: border 150ms ease, background 150ms ease;
}

.community-option:hover,
.community-option.selected {
  background: var(--blue-soft);
  border-color: #b9dafe;
}

.community-option .radio {
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border: 1.5px solid #b6b7b0;
  border-radius: 50%;
}

.community-option.selected .radio::after {
  width: 10px;
  height: 10px;
  background: var(--vk);
  border-radius: 50%;
  content: "";
}

.divider {
  height: 1px;
  margin: 28px 0;
  background: var(--line);
}

.settings-list {
  display: grid;
  gap: 10px;
}

.default-features {
  display: grid;
  padding: 18px;
  gap: 9px;
  color: #286d55;
  background: var(--green-soft);
  border: 1px solid #cdebdc;
  border-radius: 16px;
}

.default-features strong {
  margin-bottom: 3px;
  color: var(--ink);
  font-size: 13px;
}

.default-features span {
  font-size: 13px;
  font-weight: 650;
}

.toggle-row {
  display: flex;
  align-items: center;
  min-height: 54px;
  padding: 0 15px;
  gap: 12px;
  background: #fbfaf7;
  border: 1px solid #ebe7de;
  border-radius: 14px;
}

.toggle-row input {
  width: 18px;
  height: 18px;
  accent-color: var(--green);
}

.toggle-row span {
  flex: 1;
  font-size: 13px;
  font-weight: 650;
}

.test-list {
  display: grid;
  margin: 28px 0;
  gap: 12px;
}

.test-row {
  display: flex;
  align-items: center;
  min-height: 62px;
  padding: 0 16px;
  gap: 13px;
  background: #fbfaf7;
  border: 1px solid #ebe7df;
  border-radius: 15px;
}

.test-state {
  display: grid;
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  place-items: center;
  color: #8d8f89;
  background: #eeece6;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 850;
}

.test-row.running .test-state {
  color: transparent;
  background: transparent;
  border: 3px solid #d5e9fc;
  border-top-color: var(--vk);
  animation: spin 800ms linear infinite;
}

.test-row.done {
  background: var(--green-soft);
  border-color: #cdebdc;
}

.test-row.done .test-state {
  color: #fff;
  background: var(--green);
}

.test-row.ready {
  background: var(--blue-soft);
  border-color: #cfe5fa;
}

.test-row.ready .test-state {
  color: #fff;
  background: var(--vk);
}

.test-row strong {
  display: block;
  margin-bottom: 3px;
  font-size: 13px;
}

.test-row small {
  color: var(--muted);
}

.success-hero {
  padding: 22px 0 10px;
  text-align: center;
}

.success-art {
  display: block;
  width: 168px;
  height: 168px;
  margin: -18px auto 2px;
  object-fit: contain;
  filter: drop-shadow(0 18px 28px rgba(30, 158, 105, 0.16));
}

.finish-note {
  margin: 18px 0 0;
  color: var(--muted);
  text-align: center;
  font-size: 12px;
}

/* Dashboard */
.dashboard {
  display: grid;
  grid-template-columns: 246px 1fr;
  min-height: 100vh;
  background: #f6f7f5;
}

.sidebar {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding: 25px 18px;
  background: #fff;
  border-right: 1px solid var(--line);
}

.sidebar .brand {
  margin: 0 10px 34px;
}

.side-nav {
  display: grid;
  gap: 6px;
}

.side-link {
  display: flex;
  align-items: center;
  min-height: 46px;
  padding: 0 13px;
  gap: 11px;
  color: #686b66;
  background: transparent;
  border: 0;
  border-radius: 12px;
  text-align: left;
  font-size: 13px;
  font-weight: 680;
}

.side-link.active {
  color: var(--ink);
  background: #f0f2ef;
}

.side-link .nav-icon {
  width: 22px;
  color: #777b76;
  text-align: center;
}

.sidebar-foot {
  margin-top: auto;
  padding: 14px 12px 0;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 11px;
  line-height: 1.5;
}

.dashboard-main {
  min-width: 0;
  padding: 34px clamp(24px, 5vw, 64px) 70px;
}

.dashboard-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 38px;
  gap: 16px;
}

.dashboard-top h1 {
  margin: 0;
  font-size: 28px;
  letter-spacing: -0.04em;
}

.dashboard-top p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.live-status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 14px;
  color: #267354;
  background: #fff;
  border: 1px solid #d7eae0;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 760;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.stat-card,
.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: 0 6px 18px rgba(39, 45, 42, 0.04);
}

.stat-card {
  padding: 22px;
}

.stat-card span {
  color: var(--muted);
  font-size: 12px;
}

.stat-card strong {
  display: block;
  margin-top: 10px;
  font-size: 30px;
  letter-spacing: -0.04em;
}

.stat-card small {
  display: block;
  margin-top: 6px;
  color: var(--green);
  font-size: 11px;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  margin-top: 18px;
  gap: 18px;
}

.panel {
  padding: 24px;
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  gap: 12px;
}

.panel-head h2 {
  margin: 0;
  font-size: 17px;
  letter-spacing: -0.02em;
}

.activity-list {
  display: grid;
  gap: 4px;
}

.activity-row {
  display: grid;
  grid-template-columns: 38px 1fr auto;
  align-items: center;
  padding: 13px 0;
  gap: 12px;
  border-bottom: 1px solid #efede7;
}

.activity-row:last-child {
  border: 0;
}

.activity-icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: var(--vk);
  background: var(--blue-soft);
  border-radius: 12px;
  font-weight: 800;
}

.activity-row strong {
  display: block;
  margin-bottom: 4px;
  font-size: 13px;
}

.activity-row span,
.activity-row time {
  color: var(--muted);
  font-size: 11px;
}

.connection-line {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 48px 1fr;
  align-items: center;
  padding: 22px 0;
  gap: 8px;
}

.connection-node {
  padding: 18px 14px;
  text-align: center;
  background: #fbfaf7;
  border: 1px solid var(--line);
  border-radius: 16px;
}

.connection-node .channel-icon {
  margin: 0 auto 10px;
}

.connection-node strong {
  display: block;
  font-size: 12px;
}

.connection-node span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 10px;
}

.connection-pipe {
  height: 2px;
  background: linear-gradient(90deg, var(--vk), var(--tg));
}

.empty-panel {
  display: grid;
  min-height: 360px;
  place-items: center;
  color: var(--muted);
  text-align: center;
}

.empty-panel > div {
  max-width: 520px;
}

.empty-panel p {
  max-width: 480px;
  margin: 10px auto 0;
  line-height: 1.55;
}

.empty-art {
  display: block;
  width: min(250px, 70vw);
  height: auto;
  margin: -26px auto -8px;
  filter: drop-shadow(0 18px 30px rgba(38, 136, 235, 0.12));
}

.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  max-width: min(390px, calc(100vw - 48px));
  padding: 14px 17px;
  color: #fff;
  background: var(--ink);
  border-radius: 14px;
  box-shadow: var(--shadow-soft);
  font-size: 13px;
  line-height: 1.45;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 180ms ease, transform 180ms ease;
  z-index: 50;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 800ms linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 46px;
    gap: 40px;
  }

  .hero-stage {
    min-height: 530px;
  }

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

  .route-compare,
  .product-proof,
  .faq-list {
    grid-template-columns: 1fr;
  }

  .product-proof {
    padding: 48px;
  }

  .telegram-screen {
    width: min(100%, 480px);
    margin: 0 auto;
  }

  .trust-section {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .trust-visual {
    min-height: 210px;
  }

  .bridge-showcase-section {
    grid-template-columns: 1fr;
    min-height: 620px;
  }

  .bridge-showcase-copy {
    align-self: start;
  }

  .bridge-showcase-art {
    top: auto;
    right: 50%;
    bottom: -68px;
    width: min(760px, 92%);
    transform: translateX(50%) rotate(-2deg);
  }

  .feature-card {
    min-height: auto;
  }

  .feature-visual {
    height: 220px;
  }

  .setup-layout {
    grid-template-columns: 1fr;
  }

  .steps {
    position: static;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }

  .step-item {
    grid-template-columns: 34px;
    min-height: 60px;
  }

  .step-copy span {
    display: none;
  }

  .step-item:not(:last-child)::after {
    top: 16px;
    right: 0;
    bottom: auto;
    left: 34px;
    width: calc(100% - 34px);
    height: 1px;
  }

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

@media (max-width: 720px) {
  .shell {
    width: min(100% - 28px, 1180px);
  }

  .topnav a {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 54px 0 70px;
  }

  .hero h1 {
    font-size: clamp(46px, 15vw, 66px);
  }

  .hero-v2 h1 {
    font-size: clamp(42px, 13.4vw, 58px);
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-plan {
    padding: 2px 4px 0;
    text-align: center;
  }

  .hero-plan strong {
    font-size: 16px;
  }

  .hero-stage {
    min-height: 720px;
  }

  .hero-v2 .hero-stage {
    display: none;
  }

  .stage-glow {
    inset: 7% 10px 0;
    transform: none;
  }

  .browser-card {
    inset: 10px 0 0;
  }

  .demo-flow {
    grid-template-columns: 1fr;
    padding: 20px;
    gap: 18px;
  }

  .channel-panel {
    min-height: 270px;
  }

  .forward-arrow {
    margin: -29px auto;
    transform: rotate(90deg);
  }

  .floating-chip {
    display: none;
  }

  .bridge-showcase-section {
    min-height: 630px;
    padding: 34px 24px;
    border-radius: 26px;
  }

  .bridge-showcase-art {
    bottom: -28px;
    width: 128%;
  }

  .bridge-showcase-copy h2 {
    font-size: 40px;
  }

  .bridge-showcase-copy p {
    font-size: 15px;
  }

  .section {
    padding: 70px 0;
  }

  #how .section-header {
    margin-bottom: 28px;
  }

  #how .section-header h2 {
    font-size: 36px;
    line-height: 1.02;
  }

  .features {
    gap: 12px;
  }

  .feature-card {
    display: grid;
    grid-template-areas:
      "visual title"
      "visual copy";
    grid-template-columns: 112px minmax(0, 1fr);
    grid-template-rows: auto 1fr;
    min-height: 148px;
    padding: 16px 16px 16px 10px;
    column-gap: 12px;
  }

  .feature-visual {
    grid-area: visual;
    width: 112px;
    height: 116px;
    margin: 0;
    align-self: center;
  }

  .feature-visual img {
    width: 112px;
    height: 112px;
  }

  .feature-number {
    top: -2px;
    left: 0;
    width: 32px;
    height: 32px;
    border-radius: 10px;
    font-size: 12px;
  }

  .feature-card h3 {
    grid-area: title;
    align-self: end;
    margin: 17px 0 6px;
    font-size: 17px;
  }

  .feature-card p {
    grid-area: copy;
    font-size: 14px;
    line-height: 1.42;
  }

  .why-section,
  .faq-section {
    padding: 56px 0;
  }

  .route-card {
    min-height: 0;
    padding: 22px;
  }

  .route-steps {
    margin-top: 30px;
  }

  .moment-strip {
    align-items: flex-start;
  }

  .moment-strip strong {
    width: 100%;
  }

  .product-proof {
    margin-bottom: 56px;
    padding: 34px 22px;
    gap: 36px;
    border-radius: 26px;
  }

  .telegram-screen {
    min-height: 480px;
    padding: 16px;
    border-width: 6px;
    transform: none;
  }

  .trust-section,
  .price-section {
    padding: 34px 24px;
    border-radius: 26px;
  }

  .trust-points {
    grid-template-columns: 1fr;
  }

  .trust-visual {
    min-height: 180px;
  }

  .trust-visual img {
    width: 190px;
  }

  .price-section {
    align-items: stretch;
    flex-direction: column;
    margin-bottom: 40px;
    padding: 30px 24px 24px;
    gap: 26px;
  }

  .price-section .eyebrow {
    margin-bottom: 18px;
  }

  .price-line {
    display: grid;
    gap: 2px;
  }

  .price-line span {
    font-size: 50px;
    line-height: 0.98;
  }

  .price-line small {
    font-size: 18px;
  }

  .price-month {
    margin: 14px 0 20px;
  }

  .price-includes {
    display: grid;
    gap: 10px;
  }

  .price-section .button {
    width: 100%;
    min-height: 56px;
  }

  .setup-layout {
    padding-top: 30px;
    gap: 20px;
  }

  .step-copy strong {
    display: none;
  }

  .setup-card {
    min-height: 0;
    padding: 28px 20px;
    border-radius: 22px;
  }

  .instruction-card {
    padding: 18px 15px;
  }

  .success-art {
    width: 146px;
    height: 146px;
  }

  .setup-actions,
  .input-row {
    align-items: stretch;
    grid-template-columns: 1fr;
    flex-direction: column-reverse;
  }

  .provider-card {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .status-pill {
    margin-left: 62px;
  }

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

  .sidebar {
    min-height: auto;
    padding: 14px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .sidebar .brand,
  .sidebar-foot {
    display: none;
  }

  .side-nav {
    grid-template-columns: repeat(5, 1fr);
  }

  .side-link {
    justify-content: center;
    min-height: 42px;
    padding: 0;
    font-size: 0;
  }

  .side-link .nav-icon {
    font-size: 16px;
  }

  .dashboard-main {
    padding: 24px 15px 56px;
  }

  .dashboard-top {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .activity-row {
    grid-template-columns: 38px 1fr;
  }

  .activity-row time {
    display: none;
  }
}

@media (max-width: 350px) {
  .feature-card {
    grid-template-columns: 86px minmax(0, 1fr);
    min-height: 152px;
    padding-left: 8px;
    column-gap: 11px;
  }

  .feature-visual,
  .feature-visual img {
    width: 86px;
    height: 96px;
  }

  .feature-card h3 {
    margin-top: 12px;
  }
}

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