@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Unbounded:wght@500;700&display=swap");

:root {
  --bg: #0b0f0b;
  --card: #111111;
  --card2: #1a1a1a;
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.72);
  --border: rgba(255, 255, 255, 0.08);
  --accent: #cdf463;
  --accent2: #62c584;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  --radius: 18px;
  --radius-lg: 24px;
  --container: 1120px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: radial-gradient(1200px 900px at 15% -10%, rgba(205, 244, 99, 0.12), transparent 55%),
    radial-gradient(1200px 900px at 90% 15%, rgba(98, 197, 132, 0.12), transparent 55%), var(--bg);
  font-family: "Manrope", "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.45;
  overflow-x: hidden;
}

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

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

.skip {
  position: absolute;
  left: -999px;
  top: 10px;
  z-index: 1000;
  padding: 10px 12px;
  border: 1px solid var(--border);
  background: rgba(10, 12, 10, 0.95);
  border-radius: 12px;
}

.skip:focus {
  left: 10px;
}

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

.muted {
  color: var(--muted);
}

.tiny {
  font-size: 13px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 650;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 12px;
}

.eyebrow::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  box-shadow: 0 0 0 6px rgba(205, 244, 99, 0.08);
}

.h1 {
  font-size: clamp(30px, 3.6vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
  font-family: "Unbounded", "Manrope", sans-serif;
  text-wrap: balance;
}

.h2 {
  font-size: clamp(26px, 3.2vw, 36px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0;
  font-family: "Unbounded", "Manrope", sans-serif;
  text-wrap: balance;
}

.h3 {
  font-size: 18px;
  line-height: 1.18;
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}

.lead {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.82);
  max-width: 60ch;
  margin: 0 0 18px;
  text-wrap: pretty;
}

.lead--sm {
  font-size: 16px;
}

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 15, 11, 0.7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0;
  min-width: 200px;
}

.brand__mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-weight: 900;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, rgba(205, 244, 99, 0.16), rgba(98, 197, 132, 0.16));
  border: 1px solid rgba(205, 244, 99, 0.28);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}

.brand__mark--sm {
  width: 32px;
  height: 32px;
  border-radius: 11px;
}

.brand__text {
  display: grid;
}

.brand__name {
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand__tag {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.68);
}

.nav {
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
}

.nav__toggle {
  display: none;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
  padding: 10px 12px;
  border-radius: 14px;
  cursor: pointer;
  gap: 10px;
  align-items: center;
}

.nav__toggleIcon {
  width: 18px;
  height: 12px;
  display: inline-block;
  position: relative;
}

.nav__toggleIcon::before,
.nav__toggleIcon::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 99px;
}

.nav__toggleIcon::before {
  top: 0;
}

.nav__toggleIcon::after {
  bottom: 0;
}

.nav__toggleText {
  font-weight: 700;
  font-size: 14px;
}

.nav__panel {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav__link {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.76);
  padding: 10px 10px;
  border-radius: 12px;
  border: 1px solid transparent;
}

.nav__link:hover {
  color: rgba(255, 255, 255, 0.95);
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.06);
}

.nav__cta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 6px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
  font-weight: 750;
  cursor: pointer;
  transition: transform 140ms ease, border-color 140ms ease, background 140ms ease;
  will-change: transform;
  overflow-wrap: anywhere;
  text-align: center;
}

.btn:hover {
  transform: translateY(-1px);
  border-color: rgba(205, 244, 99, 0.25);
}

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

.btn--primary {
  background: linear-gradient(135deg, rgba(205, 244, 99, 0.92), rgba(98, 197, 132, 0.92));
  color: #0b0f0b;
  border-color: rgba(205, 244, 99, 0.55);
}

.btn--primary:hover {
  border-color: rgba(205, 244, 99, 0.9);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.02);
}

.btn--full {
  width: 100%;
}

.hero {
  padding: 46px 0 26px;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -40px 0 auto 0;
  height: 400px;
  background: radial-gradient(700px 280px at 50% 0%, rgba(205, 244, 99, 0.16), transparent 60%);
  pointer-events: none;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 26px;
  align-items: stretch;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 18px 0 22px;
}

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

.stat {
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  padding: 12px 12px;
}

.stat__value {
  font-weight: 900;
  letter-spacing: -0.02em;
}

.stat__label {
  margin-top: 4px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.7);
}

.hero__media {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.portrait {
  position: relative;
  isolation: isolate;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(135deg, rgba(205, 244, 99, 0.06), rgba(98, 197, 132, 0.06));
  box-shadow: var(--shadow);
  min-height: 560px;
}

.portrait__halo {
  position: absolute;
  inset: auto -22% -35% -22%;
  height: 68%;
  background: radial-gradient(420px 180px at 50% 50%, rgba(205, 244, 99, 0.34), rgba(11, 15, 11, 0));
  z-index: -1;
}

.portrait__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

.hero__result {
  width: min(var(--container), calc(100% - 40px));
  margin: 14px auto 0;
}

.heroResult {
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  background: linear-gradient(130deg, rgba(19, 23, 19, 0.95), rgba(12, 16, 12, 0.95));
  padding: 18px;
}

.heroResult__title {
  margin: 0 0 14px;
  font-size: clamp(19px, 2vw, 24px);
  letter-spacing: -0.02em;
  font-family: "Unbounded", "Manrope", sans-serif;
}

.heroResult__grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.heroResult__item {
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.02);
  padding: 14px;
  display: grid;
  gap: 8px;
}

.heroResult__item strong {
  font-size: 14px;
  letter-spacing: -0.01em;
}

.heroResult__item span {
  color: rgba(255, 255, 255, 0.74);
  font-size: 13px;
  line-height: 1.35;
}

.section {
  padding: 54px 0;
}

.section__head {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}

.section__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.grid {
  display: grid;
  gap: 14px;
}

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

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

.card,
.priceCard,
.case {
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(17, 17, 17, 0.62);
  padding: 18px 18px;
  box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  min-width: 0;
}

.card--alt {
  background: rgba(26, 26, 26, 0.6);
}

.list {
  margin: 0;
  padding-left: 18px;
  color: rgba(255, 255, 255, 0.78);
  overflow-wrap: anywhere;
}

.list li + li {
  margin-top: 8px;
}

.subhead {
  margin: 26px 0 16px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
}

.subhead--spaced {
  margin-top: 34px;
}

.priceCard__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.priceCard__title {
  margin: 0;
  font-size: 16px;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.priceCard__price {
  font-weight: 900;
  color: rgba(205, 244, 99, 0.95);
  letter-spacing: -0.02em;
  white-space: nowrap;
  font-size: 20px;
}

.priceCard__desc {
  margin: 12px 0 16px;
  color: rgba(255, 255, 255, 0.76);
  min-height: 60px;
  overflow-wrap: anywhere;
}

.priceCard__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.priceCard .btn {
  margin-top: auto;
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.74);
}

.priceCard--wide {
  grid-column: span 3;
  background: radial-gradient(900px 220px at 10% 0%, rgba(205, 244, 99, 0.14), transparent 55%),
    rgba(17, 17, 17, 0.62);
}

.steps {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  color: rgba(255, 255, 255, 0.78);
}

.steps__k {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  margin-right: 10px;
  border-radius: 10px;
  background: rgba(205, 244, 99, 0.12);
  border: 1px solid rgba(205, 244, 99, 0.22);
  color: rgba(205, 244, 99, 0.95);
  font-weight: 900;
}

.case__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(205, 244, 99, 0.22);
  background: rgba(205, 244, 99, 0.08);
  color: rgba(205, 244, 99, 0.95);
  font-weight: 750;
  font-size: 12px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.chip {
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
}

.faq {
  display: grid;
  gap: 12px;
}

.faq__item {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(17, 17, 17, 0.56);
  padding: 12px 14px;
}

.faq__q {
  cursor: pointer;
  font-weight: 850;
  letter-spacing: -0.01em;
  overflow-wrap: anywhere;
}

.faq__a {
  padding-top: 10px;
}

.section--cta {
  padding-top: 26px;
}

.section--roi {
  padding-top: 22px;
}

.section--services {
  padding-top: 68px;
  padding-bottom: 72px;
}

.section--services .grid {
  gap: 18px;
}

.section--services .priceCard,
.section--services .card {
  padding: 22px;
}

.roi {
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(145deg, rgba(16, 21, 17, 0.96), rgba(12, 16, 13, 0.96));
  padding: 22px;
  position: relative;
  overflow: hidden;
}

.roi::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(205, 244, 99, 0.09), transparent 34%);
  pointer-events: none;
}

.roi__head {
  margin-bottom: 16px;
  max-width: 70ch;
}

.roi__body {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}

.roi__controls {
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  padding: 14px;
  display: grid;
  gap: 12px;
}

.field {
  display: grid;
  gap: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
}

.field input {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(8, 10, 9, 0.55);
  color: var(--text);
  border-radius: 12px;
  padding: 12px;
  font: inherit;
  font-weight: 600;
}

.field input:focus {
  outline: none;
  border-color: rgba(205, 244, 99, 0.6);
  box-shadow: 0 0 0 4px rgba(205, 244, 99, 0.12);
}

.roi__result {
  display: grid;
  gap: 10px;
  align-content: stretch;
}

.roiCard {
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.035);
  padding: 14px;
  display: grid;
  gap: 4px;
  min-height: 96px;
}

.roiCard__k {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.68);
}

.roiCard__v {
  margin-top: 2px;
  font-size: clamp(20px, 2.4vw, 30px);
  letter-spacing: -0.02em;
  font-weight: 900;
  color: rgba(205, 244, 99, 0.96);
  overflow-wrap: anywhere;
}

.roi__note {
  margin: 12px 0 0;
}

.cta {
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: radial-gradient(900px 320px at 10% 0%, rgba(205, 244, 99, 0.16), transparent 55%),
    rgba(17, 17, 17, 0.55);
  padding: 22px;
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 16px;
}

.cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 14px;
}

.cta__aside {
  display: grid;
  gap: 10px;
  align-content: start;
}

.mini {
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  padding: 12px 12px;
}

.mini__k {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.68);
}

.mini__v {
  margin-top: 4px;
  font-weight: 850;
  letter-spacing: -0.01em;
}

.footer {
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 18px 0 6px;
}

.footer__left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer__right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.footer__link {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.72);
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid transparent;
}

.footer__link:hover {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  color: rgba(255, 255, 255, 0.9);
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  border-radius: 999px;
  border: 1px solid rgba(205, 244, 99, 0.22);
  background: rgba(11, 15, 11, 0.92);
  color: rgba(255, 255, 255, 0.92);
  padding: 10px 14px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
  max-width: min(620px, calc(100% - 24px));
  text-align: center;
}

@media (max-width: 980px) {
  .hero__inner {
    grid-template-columns: 1fr;
  }

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

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

  .priceCard--wide {
    grid-column: span 2;
  }

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

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

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

  .portrait {
    min-height: 440px;
  }

  .section--services {
    padding-top: 58px;
    padding-bottom: 60px;
  }
}

@media (max-width: 720px) {
  .header__inner {
    padding: 12px 0;
  }

  .brand__tag {
    display: none;
  }

  .brand {
    min-width: 0;
  }

  .nav__toggle {
    display: inline-flex;
  }

  .nav__panel {
    position: absolute;
    top: calc(100% + 10px);
    right: 20px;
    left: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 12px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(11, 15, 11, 0.92);
    backdrop-filter: blur(14px);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
  }

  .nav__panel[data-open="true"] {
    display: flex;
  }

  .nav__cta {
    margin-left: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    padding-top: 6px;
  }

  .grid--2,
  .grid--3 {
    grid-template-columns: 1fr;
  }

  .priceCard--wide {
    grid-column: auto;
  }

  .priceCard__top {
    flex-wrap: wrap;
  }

  .priceCard__price {
    white-space: normal;
  }

  .priceCard__desc {
    min-height: auto;
  }

  .section__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .roi {
    padding: 16px;
  }

  .roi__controls {
    padding: 12px;
  }

}

/* Chat assistant (Telegram-like) */
.chatFab {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(11, 15, 11, 0.78);
  backdrop-filter: blur(14px);
  color: rgba(255, 255, 255, 0.92);
  font-weight: 850;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.55);
  cursor: pointer;
}

.chatFab:hover {
  border-color: rgba(205, 244, 99, 0.35);
}

.chatFab__dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(205, 244, 99, 1), rgba(98, 197, 132, 1));
  box-shadow: 0 0 0 6px rgba(205, 244, 99, 0.09);
}

.chat {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(8px);
  display: grid;
  place-items: end;
  padding: 16px;
  height: 100dvh;
  overflow: hidden;
  overscroll-behavior: contain;
}

.chat[hidden] {
  display: none !important;
}

.chat__consent[hidden],
.chat__feed[hidden],
.chat__composer[hidden],
.chat__footerCta[hidden] {
  display: none !important;
}

.chat__panel {
  width: min(420px, 100%);
  height: min(640px, 82vh);
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(180deg, rgba(14, 18, 14, 0.96), rgba(10, 13, 10, 0.96));
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.65);
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.chat__top {
  padding: 14px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: rgba(255, 255, 255, 0.02);
}

.chat__title {
  display: grid;
  gap: 2px;
}

.chat__title strong {
  letter-spacing: -0.01em;
}

.chat__title span {
  font-size: 12.5px;
}

.chat__close {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.86);
  width: 34px;
  height: 34px;
  border-radius: 12px;
  font-size: 18px;
  cursor: pointer;
}

.chat__close:hover {
  border-color: rgba(205, 244, 99, 0.35);
}

.chat__body {
  min-height: 0;
  overflow: hidden;
}

.chat__consent {
  padding: 14px;
  overflow: auto;
  min-height: 0;
  -webkit-overflow-scrolling: touch;
}

.chat__consentTitle {
  margin: 0 0 6px;
  font-weight: 900;
  letter-spacing: -0.01em;
}

.chat__consentText {
  margin: 0 0 12px;
}

.check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 12px;
}

.check input {
  margin-top: 2px;
}

.chat__feed {
  padding: 14px 12px;
  overflow: auto;
  display: grid;
  gap: 10px;
  background: radial-gradient(700px 240px at 50% 0%, rgba(205, 244, 99, 0.08), transparent 55%);
  min-height: 0;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

.msg {
  display: grid;
  gap: 6px;
}

.msg__bubble {
  width: fit-content;
  max-width: 92%;
  padding: 10px 12px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.92);
  font-size: 14px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.msg--me {
  justify-items: end;
}

.msg--me .msg__bubble {
  border-color: rgba(205, 244, 99, 0.22);
  background: rgba(205, 244, 99, 0.10);
}

.msg__meta {
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.55);
}

.chat__bottom {
  display: grid;
  gap: 10px;
  padding: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  padding-bottom: calc(12px + env(safe-area-inset-bottom));
}

.chat__composer {
  display: flex;
  align-items: center;
  gap: 10px;
}

.chat__input {
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(8, 10, 9, 0.55);
  color: rgba(255, 255, 255, 0.92);
  padding: 12px 12px;
  font: inherit;
  font-weight: 600;
  flex: 1;
  min-width: 0;
}

.chat__input:focus {
  outline: none;
  border-color: rgba(205, 244, 99, 0.6);
  box-shadow: 0 0 0 4px rgba(205, 244, 99, 0.12);
}

.chat__send {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(205, 244, 99, 0.62);
  background: linear-gradient(135deg, rgba(205, 244, 99, 0.95), rgba(98, 197, 132, 0.95));
  color: #0b0f0b;
  font-weight: 900;
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 16px;
}

.chat__send:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.chat__footerCta {
  display: flex;
  align-items: stretch;
  justify-content: stretch;
  width: 100%;
}

.chat__miniTg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 14px;
  border-radius: 12px;
  border: 1px solid rgba(205, 244, 99, 0.34);
  background: linear-gradient(160deg, rgba(205, 244, 99, 0.22), rgba(98, 197, 132, 0.18));
  color: rgba(255, 255, 255, 0.94);
  font-weight: 780;
  font-size: 13.5px;
  letter-spacing: 0.01em;
  width: 100%;
  max-width: none;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.32);
}

.chat__miniTg:hover {
  border-color: rgba(205, 244, 99, 0.58);
  color: #0b0f0b;
  background: linear-gradient(135deg, rgba(205, 244, 99, 0.96), rgba(98, 197, 132, 0.92));
}

@media (max-width: 720px) {
  .chatFab {
    right: 12px;
    bottom: 12px;
  }

  .chat {
    place-items: end stretch;
    padding: 0;
  }

  .chat__panel {
    width: 100%;
    height: 92vh;
    border-radius: 22px 22px 0 0;
  }

  .chat__footerCta {
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn {
    transition: none;
  }
}
