@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/manrope-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/manrope-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Caveat";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/caveat-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Caveat";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/caveat-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #11101d;
  --ink-soft: #292642;
  --muted: #74798f;
  --purple: #6923d2;
  --purple-deep: #4d0ead;
  --orange: #ff8a10;
  --line: rgba(53, 42, 66, 0.1);
  --surface: rgba(255, 255, 255, 0.74);
  --background: #fbf8f4;
  --foreground: #11101d;
  --card: #fffdfa;
  --card-foreground: #11101d;
  --popover: #ffffff;
  --popover-foreground: #11101d;
  --primary: #6923d2;
  --primary-foreground: #ffffff;
  --secondary: #f5efff;
  --secondary-foreground: #5420b8;
  --muted-foreground: #74798f;
  --accent: #f4ecff;
  --accent-foreground: #5420b8;
  --destructive: #d7283f;
  --border: rgba(53, 42, 66, 0.12);
  --input: rgba(53, 42, 66, 0.12);
  --ring: #7b3dde;
  --radius: 1rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 0;
  margin: 0;
  background: var(--background);
  color: var(--ink);
  font-family: "Manrope", Arial, sans-serif;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

button,
input,
select,
textarea {
  font: inherit;
}

[hidden] {
  display: none !important;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

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

.site-shell {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background:
    radial-gradient(circle at 95% 82%, rgba(255, 217, 174, 0.42), transparent 25%),
    radial-gradient(circle at 3% 2%, rgba(255, 229, 205, 0.42), transparent 28%),
    radial-gradient(circle at 58% 46%, rgba(238, 224, 255, 0.18), transparent 29%),
    linear-gradient(135deg, #fcfaf7 0%, #fffdf9 48%, #fbf5ee 100%);
}

.site-shell::after {
  position: absolute;
  right: -180px;
  bottom: -240px;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  background: rgba(255, 235, 211, 0.24);
  content: "";
  filter: blur(3px);
  pointer-events: none;
}

.page-wrap {
  position: relative;
  z-index: 1;
  width: min(1506px, calc(100% - 80px));
  margin: 0 auto;
  padding: 25px 0 34px;
}

.site-header {
  position: relative;
  z-index: 30;
  display: flex;
  min-height: 72px;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
}

.site-header .ab-header-nav {
  display: flex;
  min-width: 64px;
  align-self: stretch;
  align-items: center;
  justify-content: center;
  margin-right: auto;
}

.site-header .ab-header-nav a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 0 12px;
  color: var(--purple);
  font-size: 14px;
  font-weight: 760;
  text-decoration: none;
}

.brand {
  display: flex;
  width: 246px;
  height: 58px;
  align-items: center;
  flex: 0 0 246px;
  text-decoration: none;
}

.brand img {
  width: 236px;
  height: auto;
}

.header-actions {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 15px;
}

.language-switcher {
  display: flex;
  width: 92px;
  height: 62px;
  flex: 0 0 92px;
  align-items: center;
  gap: 3px;
  padding: 6px;
  border: 1px solid rgba(52, 38, 65, 0.08);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 12px 34px rgba(72, 39, 24, 0.035);
  backdrop-filter: blur(14px);
}

.language-option {
  display: grid;
  height: 40px;
  min-width: 0;
  flex: 1;
  place-items: center;
  border-radius: 13px;
  color: #77768a;
  font-size: 11px;
  font-weight: 760;
  letter-spacing: 0.035em;
  text-decoration: none;
  transition: background 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.language-option.is-active {
  background: linear-gradient(145deg, #7a31df, #5413b6);
  box-shadow: 0 7px 16px rgba(91, 28, 188, 0.2);
  color: #fff;
}

.language-option[href]:hover,
.language-option[href]:focus-visible {
  background: #f3ebfd;
  color: #6522cf;
  outline: none;
}

.header-pill {
  display: flex;
  height: 62px;
  align-items: center;
  border: 1px solid rgba(52, 38, 65, 0.08);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 12px 34px rgba(72, 39, 24, 0.035);
  color: #252645;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  backdrop-filter: blur(14px);
}

.secure-pill {
  gap: 12px;
  padding: 0 22px 0 11px;
}

.header-pill-icon {
  display: grid;
  width: 43px;
  height: 43px;
  place-items: center;
  border: 1px solid rgba(102, 34, 205, 0.07);
  border-radius: 15px;
  background: linear-gradient(145deg, #faf5ff, #eee3fb);
  color: var(--purple);
}

.online-dot,
.orange-dot,
.green-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border-radius: 50%;
}

.online-dot {
  background: #20a86c;
  box-shadow: 0 0 0 4px rgba(32, 168, 108, 0.08);
}

.profile-wrap {
  position: relative;
}

.profile-pill {
  min-width: 177px;
  gap: 10px;
  padding: 0 14px 0 9px;
  cursor: pointer;
  text-align: left;
  transition: background 160ms ease, box-shadow 160ms ease;
}

.profile-pill:hover,
.profile-pill:focus-visible {
  background: #ffffff;
  box-shadow: 0 15px 38px rgba(72, 39, 24, 0.08);
  outline: none;
}

.user-avatar {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border: 2px solid #ffffff;
  border-radius: 50%;
  box-shadow: 0 4px 13px rgba(38, 20, 11, 0.12);
  object-fit: cover;
}

.profile-copy {
  display: flex;
  min-width: 74px;
  flex: 1;
  flex-direction: column;
  gap: 2px;
  line-height: 1.15;
}

.profile-copy strong {
  font-size: 14px;
  font-weight: 650;
}

.profile-copy small {
  color: var(--muted);
  font-size: 13px;
}

.profile-menu {
  position: absolute;
  top: 70px;
  right: 0;
  z-index: 40;
  display: flex;
  width: 360px;
  max-width: calc(100vw - 24px);
  flex-direction: column;
  gap: 9px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 24px 70px rgba(46, 28, 20, 0.15);
  color: var(--ink-soft);
}

.contact-menu-intro {
  padding: 4px 5px 5px;
}

.contact-menu-intro > span {
  color: #7b62a5;
  font-size: 10px;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-menu-intro strong {
  display: block;
  margin-top: 4px;
  color: #171429;
  font-size: 17px;
  line-height: 1.2;
}

.contact-menu-intro p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.contact-channel {
  display: grid;
  width: 100%;
  min-height: 58px;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border: 1px solid rgba(61, 39, 78, 0.09);
  border-radius: 14px;
  background: #ffffff;
  color: #222234;
  cursor: pointer;
  font: inherit;
  grid-template-columns: 38px minmax(0, 1fr) 18px;
  text-align: left;
  text-decoration: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.contact-channel:hover,
.contact-channel:focus-visible {
  border-color: rgba(100, 33, 207, 0.26);
  box-shadow: 0 10px 24px rgba(70, 34, 103, 0.09);
  outline: 0;
  transform: translateY(-1px);
}

.contact-channel-telegram {
  border-color: rgba(104, 34, 210, 0.2);
  background: linear-gradient(100deg, #f5efff, #fff);
}

.contact-channel-icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 12px;
  background: #eee5fb;
  color: #6923cf;
}

.contact-channel-telegram .contact-channel-icon {
  background: #6e27d6;
  color: #ffffff;
}

.contact-channel-icon-vk {
  background: #2787f5;
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
}

.contact-channel-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 2px;
}

.contact-channel-copy strong {
  color: #202030;
  font-size: 13px;
  font-weight: 710;
}

.contact-channel-copy small {
  overflow: hidden;
  color: #777d91;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.contact-channel > svg:last-child {
  color: #7a708c;
}

.dashboard-grid {
  display: grid;
  grid-template-areas:
    "hero hero blank"
    "services calculator manager"
    "benefits benefits manager";
  grid-template-columns:
    minmax(400px, 0.86fr)
    minmax(525px, 1.11fr)
    minmax(330px, 0.65fr);
  grid-template-rows: 160px 574px 101px;
  gap: 16px;
}

.hero {
  position: relative;
  display: flex;
  min-width: 0;
  align-items: flex-start;
  padding: 20px 0 0 3px;
  grid-area: hero;
}

.hero h1 {
  overflow: visible;
  margin: 0;
  color: #0b0b18;
  font-size: clamp(52px, 4.15vw, 66px);
  font-weight: 800;
  letter-spacing: -0.058em;
  line-height: 1.02;
}

.hero h1 span {
  display: block;
  white-space: nowrap;
}

.hero h1 em {
  display: inline-block;
  margin-right: -0.12em;
  padding-right: 0.12em;
  background: linear-gradient(105deg, #7023d8 8%, #8b31e3 55%, #5f19bd 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  font-style: normal;
}

.hero-note {
  position: absolute;
  top: 0;
  left: 50%;
  display: flex;
  width: 280px;
  flex: 0 0 280px;
  flex-direction: column;
  margin: 0;
  color: #7021ee;
  font-family: "Caveat", cursive;
  font-size: 25px;
  font-style: normal;
  font-weight: 500;
  line-height: 1.08;
  transform: rotate(-1deg);
}

.hero-note svg {
  position: absolute;
  top: 40px;
  left: 150px;
  width: 78px;
  height: 64px;
  overflow: visible;
  fill: none;
  stroke: #7021ee;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.service-stack {
  display: grid;
  min-width: 0;
  height: 574px;
  grid-area: services;
  grid-template-rows: 1fr 1fr;
  gap: 16px;
}

.service-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(42, 31, 51, 0.09);
  border-radius: 25px;
  box-shadow: 0 18px 45px rgba(43, 29, 17, 0.04);
  isolation: isolate;
  transition: border-color 200ms ease, box-shadow 200ms ease, transform 200ms ease;
}

.service-card.is-inactive {
  background:
    radial-gradient(circle at 86% 16%, rgba(234, 221, 255, 0.86), transparent 35%),
    linear-gradient(142deg, rgba(255, 255, 255, 0.94), rgba(253, 249, 245, 0.84));
}

.service-card.is-active {
  border-color: rgba(111, 47, 219, 0.48);
  background:
    radial-gradient(circle at 83% 12%, rgba(151, 75, 255, 0.78), transparent 37%),
    radial-gradient(circle at 41% 102%, rgba(117, 38, 224, 0.74), transparent 48%),
    linear-gradient(135deg, #42149c, #6620ce 61%, #7727e1);
  box-shadow: 0 20px 46px rgba(86, 25, 180, 0.13), inset 0 1px rgba(255, 255, 255, 0.17);
}

.service-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 52px rgba(43, 29, 17, 0.08);
}

.service-stack .service-card.is-active {
  border-color: rgba(183, 139, 255, 0.95);
  box-shadow:
    0 0 0 2px rgba(158, 96, 246, 0.52),
    0 0 24px 3px rgba(124, 54, 221, 0.28),
    0 16px 36px rgba(86, 25, 180, 0.2),
    inset 0 1px rgba(255, 255, 255, 0.2);
}

.service-card-button {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: inherit;
  outline: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
}

.service-card-button:focus-visible {
  box-shadow: inset 0 0 0 3px rgba(255, 138, 16, 0.95);
}

.service-copy {
  position: relative;
  z-index: 3;
  display: flex;
  width: 61%;
  height: 100%;
  flex-direction: column;
  align-items: flex-start;
  padding: 20px 0 25px 20px;
}

.service-copy > strong {
  color: #171634;
  font-size: clamp(29px, 2vw, 35px);
  font-weight: 740;
  letter-spacing: -0.037em;
  line-height: 1.12;
}

.service-description {
  margin-top: 15px;
  color: #606987;
  font-size: 15px;
  line-height: 1.5;
}

.service-card.is-active .service-copy > strong,
.service-card.is-active .service-description {
  color: #ffffff;
}

.service-card.is-active .service-description {
  color: rgba(255, 255, 255, 0.88);
}

.service-card-receive .service-copy > strong {
  font-size: clamp(26px, 1.75vw, 31px);
}

.service-kicker {
  display: block;
  margin-top: 8px;
  color: #ffb149;
  font-size: 11px;
  font-weight: 680;
  line-height: 1.35;
}

.round-action {
  display: grid;
  width: 48px;
  height: 48px;
  min-width: 48px;
  max-width: 48px;
  min-height: 48px;
  max-height: 48px;
  flex: 0 0 48px;
  align-self: flex-start;
  margin-top: auto;
  place-items: center;
  border: 1px solid rgba(36, 31, 57, 0.09);
  border-radius: 999px;
  aspect-ratio: 1;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 20px rgba(37, 27, 20, 0.09);
  color: #22294d;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.service-card:hover .round-action,
.service-card:focus-within .round-action {
  transform: translateX(3px);
  box-shadow: 0 11px 23px rgba(37, 27, 20, 0.14);
}

.service-illustration {
  position: absolute;
  top: 50%;
  right: -28px;
  z-index: 2;
  width: min(62%, 292px);
  max-width: none;
  height: auto;
  pointer-events: none;
  transform: translateY(-50%);
  filter: drop-shadow(0 18px 20px rgba(36, 18, 50, 0.14));
  transition: transform 220ms ease;
}

.service-card:hover .service-illustration {
  transform: translateY(-50%) scale(1.025);
}

.service-card-receive .service-illustration {
  right: -12px;
  width: min(58%, 272px);
}

.calculator-card {
  position: relative;
  z-index: 4;
  min-width: 0;
  height: 574px;
  padding: 27px 27px 18px;
  border: 1px solid rgba(39, 30, 47, 0.09);
  border-radius: 25px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 50px rgba(43, 29, 18, 0.045);
  grid-area: calculator;
  backdrop-filter: blur(14px);
}

.calculator-card::before {
  position: absolute;
  inset: 8px;
  z-index: -1;
  border: 1px solid rgba(52, 40, 62, 0.055);
  border-radius: 19px;
  content: "";
  pointer-events: none;
}

.calculator-heading {
  display: flex;
  align-items: center;
  gap: 17px;
}

.calculator-heading-icon {
  display: grid;
  width: 59px;
  height: 59px;
  flex: 0 0 59px;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(145deg, #7833df, #4a0cac);
  box-shadow: 0 10px 22px rgba(91, 25, 192, 0.18);
  color: #ffffff;
}

.calculator-heading h2 {
  margin: 0;
  color: #11121e;
  font-size: clamp(21px, 1.62vw, 25px);
  font-weight: 740;
  letter-spacing: -0.027em;
  line-height: 1.2;
}

.calculator-heading p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.calculator-mode-switch {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 18px;
  padding: 4px;
  border-radius: 13px;
  background: rgba(96, 44, 154, 0.07);
}

.calculator-mode-switch button {
  min-height: 42px;
  border: 0;
  border-radius: 10px;
  padding: 7px 10px;
  background: transparent;
  color: #69657a;
  font: inherit;
  font-size: 12px;
  font-weight: 750;
  cursor: pointer;
}

.calculator-mode-switch button[aria-pressed="true"] {
  background: #fff;
  box-shadow: 0 6px 16px rgba(57, 28, 78, 0.08);
  color: #5b22bc;
}

.calculator-tabs {
  margin-top: 24px;
}

.calculator-tab-list {
  display: grid !important;
  width: 100% !important;
  height: 56px !important;
  grid-template-columns: 1fr 1fr;
  gap: 10px !important;
  padding: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
}

.calculator-tab-list-three {
  grid-template-columns: repeat(3, 1fr);
}

.calculator-tab {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 56px !important;
  gap: 9px !important;
  padding: 0 12px !important;
  border: 1px solid rgba(62, 46, 70, 0.14) !important;
  border-radius: 11px !important;
  background: rgba(255, 255, 255, 0.48) !important;
  box-shadow: none !important;
  color: #5d6179 !important;
  font-size: 13px !important;
  font-weight: 650 !important;
  cursor: pointer;
  transition: border-color 160ms ease, color 160ms ease, background 160ms ease !important;
}

.calculator-tab::after {
  display: none !important;
}

.calculator-tab[data-state="active"] {
  border-color: #7432dc !important;
  background: rgba(255, 255, 255, 0.86) !important;
  box-shadow: inset 0 0 0 1px rgba(116, 50, 220, 0.05) !important;
  color: #6522cf !important;
}

.calculator-form {
  position: relative;
  margin-top: 12px;
  padding: 15px 20px 13px;
  border: 1px solid rgba(52, 40, 62, 0.07);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.38);
}

.field-label {
  display: block;
  margin: 0 0 7px 2px;
  color: #6b7188;
  font-size: 12px;
  font-weight: 520;
}

.money-field {
  position: relative;
  display: grid;
  height: 59px;
  overflow: visible;
  border: 1px solid rgba(52, 40, 62, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.64);
  grid-template-columns: minmax(0, 1fr) 170px;
  transition: border-color 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.money-field:focus-within,
.money-field:has(.currency-picker-trigger[aria-expanded="true"]) {
  z-index: 12;
  border-color: rgba(112, 34, 216, 0.34);
  background: rgba(255, 255, 255, 0.92);
  box-shadow:
    0 0 0 3px rgba(112, 34, 216, 0.075),
    0 9px 24px rgba(73, 35, 108, 0.055);
}

.money-field input,
.money-field output {
  display: flex;
  width: 100%;
  min-width: 0;
  align-items: center;
  padding: 0 14px;
  border: 0;
  outline: 0;
  background: transparent;
  color: #0b0c16;
  font-size: 31px;
  font-weight: 680;
  letter-spacing: -0.045em;
}

.money-field input:focus-visible {
  box-shadow: none;
}

.currency-select {
  width: 100% !important;
  height: 100% !important;
  justify-content: flex-start !important;
  gap: 9px !important;
  padding: 0 15px !important;
  border: 0 !important;
  border-left: 1px solid rgba(52, 40, 62, 0.1) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #161727 !important;
  font-size: 15px !important;
  font-weight: 670 !important;
}

.currency-select > svg:last-child {
  width: 19px !important;
  height: 19px !important;
  margin-left: auto;
  color: #30395e !important;
  opacity: 1 !important;
}

.currency-picker {
  position: relative;
  min-width: 0;
  border-left: 1px solid rgba(52, 40, 62, 0.1);
  transition: border-color 180ms ease;
}

.money-field:focus-within .currency-picker,
.money-field:has(.currency-picker-trigger[aria-expanded="true"]) .currency-picker,
.money-field:focus-within .currency-native-wrap,
.money-field:focus-within .currency-static {
  border-left-color: rgba(112, 34, 216, 0.17);
}

.currency-picker-trigger {
  display: flex;
  width: 100%;
  height: 100%;
  min-width: 0;
  align-items: center;
  gap: 9px;
  padding: 0 14px;
  border: 0;
  border-radius: 0 12px 12px 0;
  outline: 0;
  background: transparent;
  color: #161727;
  cursor: pointer;
  font: inherit;
  text-align: left;
}

.currency-picker-trigger:focus-visible {
  box-shadow: none;
}

.currency-picker-trigger > strong {
  font-size: 15px;
  font-weight: 720;
}

.currency-picker-chevron {
  width: 19px;
  height: 19px;
  margin-left: auto;
  color: #30395e;
  transition: transform 160ms ease;
}

.currency-picker-trigger[aria-expanded="true"] .currency-picker-chevron {
  transform: rotate(180deg);
}

.currency-picker-menu {
  position: absolute;
  top: calc(100% + 7px);
  right: 0;
  z-index: 60;
  display: grid;
  width: min(188px, calc(100vw - 46px));
  gap: 4px;
  padding: 7px;
  border: 1px solid rgba(61, 41, 79, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.99);
  box-shadow: 0 18px 48px rgba(35, 23, 45, 0.18);
}

.currency-picker-menu[hidden] {
  display: none;
}

.currency-picker-option {
  display: grid;
  width: 100%;
  min-height: 50px;
  grid-template-columns: 32px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 10px;
  padding: 7px 10px;
  border: 0;
  border-radius: 9px;
  outline: 0;
  background: transparent;
  color: #171827;
  cursor: pointer;
  font: inherit;
  text-align: left;
}

.currency-picker-option:hover,
.currency-picker-option:focus-visible {
  background: #f5effd;
}

.currency-picker-option.is-selected {
  background: #f3eafd;
}

.currency-picker-option-code {
  font-size: 14px;
  font-weight: 780;
}

.currency-picker-check {
  color: #7022d8;
  font-size: 15px;
  font-weight: 800;
  opacity: 0;
}

.currency-picker-option.is-selected .currency-picker-check {
  opacity: 1;
}

.currency-flag-img {
  display: block;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  object-fit: contain;
}

.currency-picker.is-disabled .currency-picker-chevron {
  display: none;
}

.currency-picker-trigger:disabled {
  cursor: default;
  opacity: 1;
}

.currency-native-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 13px;
  border-left: 1px solid rgba(52, 40, 62, 0.1);
}

.currency-select-native {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  padding: 0 40px 0 52px;
  border: 0;
  outline: 0;
  appearance: none;
  background: transparent;
  color: #161727;
  cursor: pointer;
  font-size: 15px;
  font-weight: 670;
}

.currency-native-wrap > svg {
  position: absolute;
  right: 14px;
  z-index: 1;
  width: 18px;
  color: #30395e;
  pointer-events: none;
}

.currency-native-wrap .currency-flag {
  position: relative;
  z-index: 1;
}

.currency-menu {
  min-width: 230px !important;
  border-radius: 13px !important;
  background: rgba(255, 255, 255, 0.99) !important;
  box-shadow: 0 18px 50px rgba(35, 23, 45, 0.14) !important;
}

.currency-item {
  gap: 9px !important;
  min-height: 48px !important;
  padding-top: 9px !important;
  padding-bottom: 9px !important;
  border-radius: 8px !important;
}

.currency-trigger-code {
  font-size: 15px;
  font-weight: 720;
}

.currency-flag {
  display: inline-grid;
  min-width: 31px;
  place-items: center;
  font-size: 27px;
  line-height: 1;
}

.flag-usdt {
  width: 29px;
  height: 29px;
  min-width: 29px;
  border-radius: 50%;
  background: #20a98a;
  color: #ffffff;
  font-size: 16px;
  font-weight: 750;
}

.exchange-divider {
  position: relative;
  height: 40px;
}

.exchange-divider::before {
  position: absolute;
  top: 50%;
  right: 0;
  left: 0;
  height: 1px;
  background: rgba(48, 39, 57, 0.11);
  content: "";
}

.exchange-divider span {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  border: 1px solid rgba(48, 39, 57, 0.1);
  border-radius: 50%;
  background: #faf8f5;
  color: #8790a4;
  transform: translate(-50%, -50%);
}

.result-field input,
.result-field output {
  font-size: 32px;
  font-weight: 740;
}

.calculator-result-loader {
  position: absolute;
  top: 50%;
  left: 16px;
  z-index: 2;
  width: 24px;
  height: 24px;
  border: 3px solid rgba(112, 34, 216, 0.16);
  border-top-color: #7022d8;
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-50%);
}

.result-field.is-loading .calculator-result-loader {
  opacity: 1;
  animation: calculator-result-spin 0.7s linear infinite;
}

.result-field.is-loading #calculation-result {
  color: transparent;
  caret-color: transparent;
}

@keyframes calculator-result-spin {
  from {
    transform: translateY(-50%) rotate(0deg);
  }

  to {
    transform: translateY(-50%) rotate(360deg);
  }
}
.currency-static {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 15px;
  border-left: 1px solid rgba(52, 40, 62, 0.1);
  color: #161727;
  font-size: 15px;
}

.currency-static svg {
  margin-left: auto;
  color: #30395e;
}

.calculator-quick-panel {
  display: grid;
  min-height: 66px;
  margin-top: 12px;
  gap: 8px;
  padding: 9px 12px;
  border: 1px solid rgba(52, 40, 62, 0.07);
  border-radius: 12px;
  background: linear-gradient(95deg, rgba(250, 246, 241, 0.96), rgba(255, 252, 248, 0.75));
}

.calculator-quick-panel[hidden] {
  display: none;
}

.calculator-minimum-fee {
  margin: 0;
  color: #73798f;
  font-size: 11px;
  line-height: 1.35;
}

.calculator-minimum-fee strong {
  color: #202130;
  font-weight: 700;
}

.calculator-quick-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 10px;
}

.calculator-quick-row > span {
  color: #73798f;
  font-size: 11px;
  white-space: nowrap;
}

.calculator-quick-buttons {
  display: grid;
  min-width: 0;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
}

.calculator-quick-buttons button {
  min-width: 0;
  height: 29px;
  padding: 0 7px;
  border: 1px solid rgba(93, 58, 126, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  color: #5d6179;
  cursor: pointer;
  font: inherit;
  font-size: 10.5px;
  font-weight: 680;
  white-space: nowrap;
  transition: border-color 150ms ease, background-color 150ms ease, color 150ms ease;
}

.calculator-quick-buttons button:hover,
.calculator-quick-buttons button:focus-visible,
.calculator-quick-buttons button.is-active {
  border-color: rgba(112, 34, 216, 0.36);
  outline: 0;
  background: rgba(243, 234, 253, 0.9);
  color: #6522cf;
}

.calculator-quick-note {
  margin: 0;
  color: #73798f;
  font-size: 10.5px;
  line-height: 1.45;
}

.calculator-manual-currency {
  display: grid;
  gap: 6px;
}

.calculator-manual-currency[hidden] {
  display: none;
}

.calculator-manual-currency label {
  color: #5e6175;
  font-size: 10.5px;
  font-weight: 720;
}

.calculator-manual-currency input {
  width: 100%;
  height: 36px;
  padding: 0 11px;
  border: 1px solid rgba(93, 58, 126, 0.15);
  border-radius: 9px;
  outline: 0;
  background: rgba(255, 255, 255, 0.86);
  color: #202130;
  font: inherit;
  font-size: 12px;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.calculator-manual-currency input:focus {
  border-color: rgba(112, 34, 216, 0.42);
  box-shadow: 0 0 0 3px rgba(112, 34, 216, 0.08);
}

.calculator-manual-currency p {
  margin: 0;
  color: #73798f;
  font-size: 10.5px;
  line-height: 1.45;
}

#calculation-result.is-manual-result {
  color: #6522cf;
  font-size: 15px;
  font-weight: 760;
  cursor: default;
}

.manager-cta {
  position: relative;
  display: flex;
  width: 100%;
  height: 47px;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
  gap: 10px;
  padding: 0 22px;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(92deg, #6721d0 0%, #5620bf 55%, #681bd1 100%);
  box-shadow: 0 9px 21px rgba(96, 27, 199, 0.17);
  color: #ffffff;
  cursor: pointer;
  font-size: 18px;
  font-weight: 540;
  line-height: 1;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.telegram-icon {
  display: block;
  width: 19px;
  height: 19px;
  align-self: center;
  flex: 0 0 19px;
  color: currentColor;
  transform: translateY(-0.5px);
  vertical-align: middle;
}

.manager-cta > span {
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.manager-cta:hover,
.manager-cta:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 12px 25px rgba(96, 27, 199, 0.24);
  outline: none;
}

.manager-cta-icon {
  position: absolute;
  top: 50%;
  right: 9px;
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  border-radius: 50%;
  background: #ffffff;
  color: #5e1acb;
  transform: translateY(-50%);
}

.calculator-notice {
  position: absolute;
  right: 19px;
  bottom: -34px;
  z-index: 10;
  margin: 0;
  padding: 8px 12px;
  border: 1px solid rgba(91, 27, 190, 0.1);
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(39, 26, 47, 0.12);
  color: #5b22bc;
  font-size: 11px;
}

.manager-shell {
  position: relative;
  z-index: 3;
  grid-area: manager;
}

.manager-card {
  position: relative;
  z-index: 3;
  height: 574px;
  align-self: start;
  padding: 28px 20px 21px;
  overflow: visible;
  border: 1px solid rgba(245, 132, 18, 0.83);
  border-radius: 25px;
  background:
    radial-gradient(circle at 50% 41%, rgba(255, 231, 210, 0.48), transparent 38%),
    rgba(255, 253, 250, 0.66);
  box-shadow: 0 20px 55px rgba(70, 40, 20, 0.04);
  backdrop-filter: blur(13px);
}

.mobile-chat-launch,
.mobile-chat-close {
  display: none;
}

.mobile-chat-toggle-icon {
  transition: transform 180ms ease;
}

.mobile-chat-launch[aria-expanded="true"] .mobile-chat-toggle-icon {
  transform: rotate(-90deg);
}

.manager-status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
}

.orange-dot {
  background: var(--orange);
  box-shadow: 0 0 0 5px rgba(255, 138, 16, 0.06);
}

.green-dot {
  background: #20a86c;
  box-shadow: 0 0 0 5px rgba(32, 168, 108, 0.08);
}

.manager-status h2 {
  margin: 0;
  color: #1c1d2c;
  font-size: 20px;
  font-weight: 720;
  letter-spacing: -0.02em;
}

.manager-response-time {
  margin: 8px 0 0;
  color: #777e92;
  font-size: 13px;
  text-align: center;
}

.manager-person {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 17px;
}

.manager-avatar-wrap {
  position: relative;
  display: block;
  width: 137px;
  height: 137px;
}

.manager-avatar {
  width: 137px;
  height: 137px;
  border: 3px solid #ffffff;
  border-radius: 50%;
  box-shadow: 0 8px 28px rgba(61, 37, 25, 0.12);
  object-fit: cover;
}

.avatar-online {
  position: absolute;
  right: 4px;
  bottom: 15px;
  width: 19px;
  height: 19px;
  border: 3px solid #ffffff;
  border-radius: 50%;
  background: #30b75d;
}

.manager-person p {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  margin: 8px 0 0;
  color: #747b91;
}

.manager-person p strong {
  color: #2b2938;
  font-size: 16px;
  font-weight: 700;
}

.manager-person p span {
  font-size: 12px;
}

.chat-area {
  display: flex;
  height: 166px;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
  overflow-y: auto;
  overflow-anchor: none;
  scrollbar-width: none;
}

.chat-area::-webkit-scrollbar {
  display: none;
}

.chat-bubble {
  position: relative;
  width: fit-content;
  max-width: 84%;
  padding: 17px 19px 12px;
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 35px rgba(60, 39, 27, 0.06);
  color: #292a43;
}

.chat-bubble p {
  margin: 0;
  font-size: 15px;
  line-height: 1.48;
}

.chat-bubble .chat-message-link {
  color: #5b1fbe;
  text-decoration: underline;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 2px;
  overflow-wrap: anywhere;
  word-break: normal;
}

.chat-bubble .chat-message-link:hover,
.chat-bubble .chat-message-link:focus-visible {
  color: #45129a;
}

.chat-bubble .chat-message-link:focus-visible {
  border-radius: 2px;
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

.chat-bubble-action {
  display: inline-flex;
  width: 100%;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  margin-top: 12px;
  padding: 8px 13px;
  border-radius: 11px;
  background: linear-gradient(145deg, #742bd8, #510eb9);
  box-shadow: 0 7px 17px rgba(93, 23, 191, 0.18);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  transition: transform 150ms ease, box-shadow 150ms ease;
}

.chat-bubble-action:hover,
.chat-bubble-action:focus-visible {
  box-shadow: 0 9px 21px rgba(93, 23, 191, 0.24);
  color: #ffffff;
  outline: none;
  transform: translateY(-1px);
}

.chat-bubble time {
  display: block;
  margin-top: 8px;
  color: #9a9fb0;
  font-size: 9px;
  text-align: right;
}

.chat-bubble-manager {
  border-bottom-left-radius: 3px;
}

.chat-bubble-manager::after {
  position: absolute;
  bottom: 0;
  left: -10px;
  width: 18px;
  height: 18px;
  background: linear-gradient(135deg, transparent 50%, rgba(255, 255, 255, 0.92) 51%);
  content: "";
}

.chat-bubble-user {
  align-self: flex-end;
  border-bottom-right-radius: 3px;
  background: #ede1ff;
  color: #4e1aa6;
}

.manager-contact-block {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.message-form {
  display: flex;
  height: 59px;
  align-items: center;
  gap: 8px;
  padding: 7px 8px 7px 16px;
  border: 1px solid rgba(52, 40, 62, 0.07);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.72);
}

.message-form input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #25263d;
  font-size: 13px;
}

.message-form input::placeholder {
  color: #b0b5c5;
}

.message-form button {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: linear-gradient(145deg, #742bd8, #510eb9);
  box-shadow: 0 8px 18px rgba(93, 23, 191, 0.22);
  color: #ffffff;
  cursor: pointer;
}

.message-form button:disabled {
  cursor: wait;
  opacity: 0.62;
}

.chat-demo-status {
  min-height: 15px;
  margin: 7px 6px 0;
  color: #81778d;
  font-size: 10px;
  line-height: 1.4;
}

.chat-demo-status:empty {
  display: none;
}

.telegram-link {
  display: flex;
  width: fit-content;
  flex-shrink: 0;
  align-items: center;
  align-self: flex-start;
  gap: 10px;
  margin: 8px 0 0 6px;
  color: #7b8295;
  font-size: 12px;
  line-height: 1.2;
  text-decoration: none;
  transition: color 160ms ease;
}

.telegram-link:hover,
.telegram-link:focus-visible {
  color: var(--purple);
  outline: none;
}

.manager-planet {
  position: absolute;
  right: -3px;
  bottom: -258px;
  width: 300px;
  max-width: none;
  height: auto;
  pointer-events: none;
  filter: drop-shadow(0 18px 25px rgba(74, 28, 129, 0.12));
}

.benefits {
  display: grid;
  min-height: 101px;
  align-items: center;
  overflow: hidden;
  border: 1px solid rgba(46, 34, 54, 0.07);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.58);
  box-shadow: 0 15px 45px rgba(48, 33, 21, 0.03);
  grid-area: benefits;
  grid-template-columns: repeat(3, 1fr);
  backdrop-filter: blur(12px);
}

.benefit {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 19px;
  padding: 12px 28px;
  border-right: 1px solid rgba(46, 34, 54, 0.09);
}

.benefit:last-child {
  border-right: 0;
}

.benefit-icon {
  display: grid;
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  place-items: center;
  border: 1px solid rgba(95, 37, 178, 0.08);
  border-radius: 17px;
}

.benefit-icon-purple {
  background: linear-gradient(145deg, #f8f3ff, #ede2fa);
  color: #6b27d4;
}

.benefit-icon-orange {
  background: linear-gradient(145deg, #fff9ef, #fff0dd);
  color: #ff8100;
}

.benefit h3 {
  margin: 0;
  color: #25215d;
  font-size: 13px;
  font-weight: 720;
}

.benefit p {
  max-width: 225px;
  margin: 7px 0 0;
  color: #72798e;
  font-size: 12px;
  line-height: 1.45;
}

.below-sections {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding-top: 92px;
}

.content-section {
  position: relative;
  padding: 54px;
  overflow: hidden;
  border: 1px solid rgba(49, 36, 62, 0.075);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.59);
  box-shadow: 0 18px 55px rgba(58, 38, 23, 0.035);
  backdrop-filter: blur(13px);
}

.section-heading {
  margin-bottom: 30px;
}

.section-heading-inline {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
}

.section-heading-inline > div {
  min-width: 0;
}

.section-eyebrow {
  display: block;
  margin-bottom: 9px;
  color: #7229d8;
  font-size: 12px;
  font-weight: 760;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.section-heading h2,
.reviews-panel h2,
.final-cta h2 {
  margin: 0;
  color: #12101f;
  font-size: clamp(31px, 3vw, 46px);
  font-weight: 760;
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.workflow-tabs {
  flex: 0 0 auto;
}

.workflow-tab-list {
  display: grid !important;
  width: 490px !important;
  height: 52px !important;
  grid-template-columns: 1fr 1fr;
  gap: 7px !important;
  padding: 5px !important;
  border: 1px solid rgba(91, 34, 173, 0.08) !important;
  border-radius: 15px !important;
  background: #f5effc !important;
}

.workflow-tab {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 40px !important;
  padding: 0 14px !important;
  border-radius: 10px !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #6d6880 !important;
  font-size: 12px !important;
  font-weight: 650 !important;
  cursor: pointer;
}

.workflow-tab::after {
  display: none !important;
}

.workflow-tab[data-state="active"] {
  background: #ffffff !important;
  box-shadow: 0 7px 18px rgba(72, 32, 115, 0.08) !important;
  color: #6020c6 !important;
}

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

.step-card {
  position: relative;
  min-height: 220px;
  padding: 30px 28px;
  overflow: hidden;
  border: 1px solid rgba(62, 45, 74, 0.075);
  border-radius: 23px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.87), rgba(253, 248, 243, 0.68));
}

.step-card::after {
  position: absolute;
  right: -44px;
  bottom: -58px;
  width: 155px;
  height: 155px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(111, 38, 213, 0.12), transparent 68%);
  content: "";
}

.step-number {
  display: inline-flex;
  width: 47px;
  height: 47px;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: linear-gradient(145deg, #752bd9, #5313b5);
  box-shadow: 0 9px 20px rgba(84, 23, 177, 0.16);
  color: #ffffff;
  font-size: 13px;
  font-weight: 750;
}

.step-card h3 {
  margin: 24px 0 0;
  color: #1f1d31;
  font-size: 20px;
  font-weight: 720;
  letter-spacing: -0.025em;
}

.step-card p {
  max-width: 335px;
  margin: 10px 0 0;
  color: #73788e;
  font-size: 14px;
  line-height: 1.6;
}

.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.capability-card {
  position: relative;
  min-height: 265px;
  padding: 28px 25px;
  overflow: hidden;
  border: 1px solid rgba(57, 41, 68, 0.075);
  border-radius: 23px;
  background: rgba(255, 255, 255, 0.76);
}

.capability-primary {
  border-color: rgba(108, 40, 211, 0.42);
  background:
    radial-gradient(circle at 94% 8%, rgba(160, 91, 255, 0.75), transparent 37%),
    linear-gradient(145deg, #4812a0, #6a22cf 66%, #7224dc);
  box-shadow: 0 18px 38px rgba(84, 24, 178, 0.15);
  color: #ffffff;
}

.capability-icon,
.why-icon,
.guide-icon {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border: 1px solid rgba(102, 34, 205, 0.1);
  border-radius: 16px;
  background: #f4edfd;
  color: #6724cd;
}

.capability-primary .capability-icon {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
}

.capability-badge {
  position: absolute;
  top: 28px;
  right: 22px;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-size: 9px;
  font-weight: 720;
}

.capability-card h3 {
  margin: 29px 0 0;
  color: #201d32;
  font-size: 19px;
  font-weight: 720;
  letter-spacing: -0.025em;
  line-height: 1.24;
}

.capability-card p {
  margin: 11px 0 0;
  color: #73788e;
  font-size: 13px;
  line-height: 1.58;
}

.capability-primary h3,
.capability-primary p {
  color: #ffffff;
}

.capability-primary p {
  color: rgba(255, 255, 255, 0.82);
}

.why-section {
  background:
    radial-gradient(circle at 8% 18%, rgba(242, 229, 255, 0.72), transparent 29%),
    rgba(255, 255, 255, 0.58);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.why-card {
  min-height: 225px;
  padding: 25px 22px;
  border: 1px solid rgba(60, 43, 72, 0.075);
  border-radius: 21px;
  background: rgba(255, 255, 255, 0.75);
}

.why-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
}

.why-card h3 {
  margin: 22px 0 0;
  color: #25213b;
  font-size: 16px;
  font-weight: 720;
  line-height: 1.3;
}

.why-card p {
  margin: 9px 0 0;
  color: #74798e;
  font-size: 12px;
  line-height: 1.55;
}

.reviews-section {
  padding: 0;
  border-color: rgba(111, 40, 217, 0.22);
  background:
    radial-gradient(circle at 87% 18%, rgba(162, 87, 255, 0.52), transparent 31%),
    linear-gradient(120deg, #46119d, #6820cf 64%, #7626de);
  color: #ffffff;
}

.reviews-panel {
  display: flex;
  min-height: 250px;
  align-items: center;
  justify-content: space-between;
  gap: 45px;
  padding: 48px 54px;
}

.reviews-panel > div {
  max-width: 720px;
}

.reviews-panel .section-eyebrow {
  color: #ffb352;
}

.reviews-panel h2 {
  color: #ffffff;
}

.reviews-panel p {
  max-width: 650px;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
  line-height: 1.62;
}

.primary-cta,
.secondary-cta {
  display: inline-flex;
  min-height: 51px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 21px;
  border: 1px solid transparent;
  border-radius: 13px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 680;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.primary-cta {
  background: linear-gradient(95deg, #6d22d4, #5714ba);
  box-shadow: 0 10px 22px rgba(89, 20, 184, 0.18);
  color: #ffffff;
}

.secondary-cta {
  border-color: rgba(92, 35, 176, 0.11);
  background: #ffffff;
  color: #6020c4;
}

.primary-cta:hover,
.secondary-cta:hover,
.primary-cta:focus-visible,
.secondary-cta:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 13px 26px rgba(54, 24, 82, 0.14);
  outline: none;
}

.faq-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: 10px 14px;
}

.faq-item {
  overflow: hidden;
  border: 1px solid rgba(56, 40, 69, 0.085) !important;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.75);
}

.faq-trigger {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  min-height: 65px;
  padding: 0 18px !important;
  border: 0;
  background: transparent;
  color: #252139 !important;
  cursor: pointer;
  font-size: 14px !important;
  font-weight: 660 !important;
  text-align: left !important;
  text-decoration: none !important;
}

.faq-trigger::after {
  width: 9px;
  height: 9px;
  flex: 0 0 9px;
  margin-left: 14px;
  border-right: 2px solid #6b28d3;
  border-bottom: 2px solid #6b28d3;
  content: "";
  transform: rotate(45deg);
  transition: transform 160ms ease;
}

.faq-trigger[aria-expanded="true"]::after {
  transform: rotate(225deg);
}

.faq-trigger > span:first-child {
  display: flex;
  align-items: center;
  gap: 10px;
}

.faq-trigger svg {
  flex: 0 0 auto;
  color: #6b28d3;
}

.faq-content {
  padding: 0 18px 17px !important;
}

.faq-content p {
  margin: 0;
  color: #72778d;
  font-size: 13px;
  line-height: 1.62;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #6222c5;
  font-size: 13px;
  font-weight: 680;
  text-decoration: none;
}

.text-link:hover,
.text-link:focus-visible {
  color: #45109e;
  outline: none;
}

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

.guide-card {
  position: relative;
  display: flex;
  min-height: 270px;
  flex-direction: column;
  align-items: flex-start;
  padding: 27px 26px;
  border: 1px solid rgba(56, 40, 69, 0.08);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.86), rgba(253, 248, 243, 0.68));
  color: inherit;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.guide-card:hover,
.guide-card:focus-visible {
  border-color: rgba(103, 35, 205, 0.25);
  box-shadow: 0 20px 40px rgba(59, 29, 86, 0.08);
  transform: translateY(-2px);
  outline: none;
}

.guide-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
}

.guide-tag {
  position: absolute;
  top: 28px;
  right: 25px;
  color: #7b7288;
  font-size: 10px;
  font-weight: 680;
}

.guide-card h3 {
  margin: 24px 0 0;
  color: #211e34;
  font-size: 19px;
  font-weight: 720;
  letter-spacing: -0.025em;
  line-height: 1.3;
}

.guide-card p {
  margin: 10px 0 0;
  color: #73788d;
  font-size: 13px;
  line-height: 1.58;
}

.guide-more {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: auto;
  padding-top: 18px;
  color: #6222c6;
  font-size: 12px;
  font-weight: 680;
}

.final-cta {
  display: flex;
  min-height: 300px;
  align-items: center;
  justify-content: space-between;
  gap: 45px;
  padding: 55px;
  overflow: hidden;
  border: 1px solid rgba(245, 134, 18, 0.4);
  border-radius: 30px;
  background:
    radial-gradient(circle at 92% 12%, rgba(255, 193, 116, 0.43), transparent 32%),
    radial-gradient(circle at 3% 93%, rgba(129, 54, 223, 0.15), transparent 34%),
    rgba(255, 252, 247, 0.78);
  box-shadow: 0 18px 52px rgba(66, 40, 22, 0.04);
}

.final-cta > div:first-child {
  max-width: 820px;
}

.final-cta p {
  max-width: 720px;
  margin: 16px 0 0;
  color: #6f748a;
  font-size: 15px;
  line-height: 1.62;
}

.final-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 10px;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(320px, 1.4fr) 0.7fr 0.8fr;
  gap: 60px;
  margin-top: 22px;
  padding: 48px 8px 22px;
  border-top: 1px solid rgba(47, 33, 60, 0.08);
}

.footer-brand img {
  width: 190px;
  height: auto;
}

.footer-brand p {
  max-width: 430px;
  margin: 18px 0 0;
  color: #757a8e;
  font-size: 13px;
  line-height: 1.6;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.footer-nav strong {
  margin-bottom: 3px;
  color: #252139;
  font-size: 13px;
}

.footer-nav a,
.footer-bottom a {
  color: #74798d;
  font-size: 12px;
  text-decoration: none;
}

.footer-nav a:hover,
.footer-nav a:focus-visible,
.footer-bottom a:hover,
.footer-bottom a:focus-visible {
  color: #6222c5;
  outline: none;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 23px;
  border-top: 1px solid rgba(47, 33, 60, 0.07);
  color: #8a8e9e;
  font-size: 11px;
  grid-column: 1 / -1;
}

.footer-bottom > span:last-child {
  display: flex;
  gap: 18px;
}

@media (max-width: 1400px) {
  .page-wrap {
    width: min(1320px, calc(100% - 48px));
  }

  .header-actions {
    gap: 10px;
  }

  .header-pill {
    font-size: 12px;
  }

  .secure-pill {
    padding-right: 14px;
  }

  .profile-pill {
    min-width: 160px;
  }

  .dashboard-grid {
    grid-template-columns: minmax(355px, 0.84fr) minmax(495px, 1.12fr) minmax(300px, 0.67fr);
  }

  .hero h1 {
    font-size: clamp(48px, 4.3vw, 60px);
  }

  .hero-note {
    left: 50%;
    margin-left: 0;
    font-size: 23px;
  }

  .service-copy {
    padding: 20px 0 25px 20px;
  }

  .service-description {
    font-size: 13px;
  }

  .service-illustration {
    right: -43px;
  }

  .calculator-card {
    padding-right: 20px;
    padding-left: 20px;
  }

  .calculator-form {
    padding-right: 14px;
    padding-left: 14px;
  }

  .benefit {
    gap: 13px;
    padding-right: 17px;
    padding-left: 17px;
  }

  .benefit-icon {
    width: 52px;
    height: 52px;
    flex-basis: 52px;
  }

  .content-section,
  .reviews-panel,
  .final-cta {
    padding-right: 42px;
    padding-left: 42px;
  }

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

@media (max-width: 1170px) {
  .page-wrap {
    width: min(980px, calc(100% - 40px));
  }

  .secure-pill {
    display: none;
  }

  .dashboard-grid {
    grid-template-areas:
      "hero hero"
      "services calculator"
      "benefits benefits"
      "manager manager";
    grid-template-columns: minmax(340px, 0.85fr) minmax(500px, 1.15fr);
    grid-template-rows: 150px 574px auto auto;
  }

  .hero h1 {
    font-size: 54px;
  }

  .hero-note {
    left: 50%;
    margin-left: 0;
  }

  .benefits {
    min-height: 105px;
  }

  .manager-card {
    display: grid;
    width: 100%;
    height: auto;
    min-height: 430px;
    grid-template-areas:
      "status person"
      "response person"
      "chat contact"
      "chat contact";
    grid-template-columns: 1fr 1fr;
    column-gap: 34px;
    padding: 26px 32px;
  }

  .manager-status {
    justify-content: flex-start;
    grid-area: status;
  }

  .manager-response-time {
    text-align: left;
    grid-area: response;
  }

  .manager-person {
    margin: 0;
    grid-area: person;
  }

  .chat-area {
    height: 240px;
    margin: 20px 0 0;
    grid-area: chat;
  }

  .manager-contact-block {
    align-self: end;
    grid-area: contact;
  }

  .manager-planet {
    right: -38px;
    bottom: -44px;
    width: 290px;
    opacity: 0.36;
  }

  .section-heading-inline {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .capability-card {
    min-height: 235px;
  }

  .final-cta {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 900px) {
  .page-wrap {
    width: min(720px, calc(100% - 30px));
  }

  .secure-pill {
    display: none;
  }

  .profile-wrap {
    display: block;
  }

  .dashboard-grid {
    grid-template-areas:
      "hero"
      "services"
      "calculator"
      "manager"
      "benefits";
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto;
  }

  .calculator-card {
    height: auto;
    min-height: 574px;
    scroll-margin-top: 12px;
  }

  .hero {
    min-height: 142px;
    padding-top: 11px;
  }

  .hero h1 {
    font-size: clamp(44px, 7vw, 55px);
  }

  .hero-note {
    left: 60%;
    margin-left: 0;
  }

  .service-stack {
    height: auto;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 300px;
  }

  .manager-shell {
    min-width: 0;
  }

  .service-copy {
    width: 63%;
  }

  .service-illustration {
    right: -33px;
  }

  .manager-card {
    min-height: 420px;
  }

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

  .benefit {
    min-height: 94px;
    border-right: 0;
    border-bottom: 1px solid rgba(46, 34, 54, 0.09);
  }

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

  .below-sections {
    padding-top: 54px;
  }

  .content-section,
  .reviews-panel,
  .final-cta {
    padding: 38px;
  }

  .workflow-tab-list {
    width: min(100%, 490px) !important;
  }

  .steps-grid {
    gap: 10px;
  }

  .step-card {
    min-height: 245px;
    padding: 25px 21px;
  }

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

  .faq-list {
    grid-template-columns: 1fr;
  }

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

  .guide-card {
    min-height: 225px;
  }

  .site-footer {
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 30px;
  }
}

@media (max-width: 620px) {
  .page-wrap {
    width: calc(100% - 24px);
    padding: 10px 0 22px;
  }

  .site-header {
    min-height: 57px;
    align-items: center;
    gap: 8px;
  }

  .brand {
    width: 166px;
    height: 42px;
    flex: 0 0 166px;
  }

  .brand img {
    width: 166px;
  }

  .header-actions {
    min-width: 0;
    flex: 1;
    gap: 8px;
    justify-content: flex-end;
  }

  .language-switcher {
    width: 74px;
    height: 52px;
    flex-basis: 74px;
    gap: 2px;
    padding: 5px;
    border-radius: 17px;
  }

  .language-option {
    height: 36px;
    border-radius: 11px;
    font-size: 10px;
  }

  .profile-pill {
    width: 52px;
    min-width: 52px;
    height: 52px;
    gap: 0;
    padding: 3px;
    border-radius: 17px;
  }

  .profile-pill .profile-copy,
  .profile-pill > svg {
    display: none;
  }

  .profile-menu {
    top: 60px;
    width: min(360px, calc(100vw - 24px));
  }

  .dashboard-grid {
    grid-template-areas:
      "services"
      "calculator"
      "hero"
      "manager"
      "benefits";
    gap: 10px;
  }

  .calculator-card {
    min-height: 0;
    padding: 14px 13px 13px;
    border-radius: 21px;
  }

  .calculator-card::before {
    inset: 6px;
    border-radius: 16px;
  }

  .calculator-heading {
    gap: 11px;
  }

  .calculator-heading-icon {
    width: 46px;
    height: 46px;
    flex-basis: 46px;
  }

  .calculator-heading-icon svg {
    width: 26px;
    height: 26px;
  }

  .calculator-heading h2 {
    font-size: 20px;
  }

  .calculator-heading p {
    display: none;
  }

  .calculator-tabs {
    margin-top: 13px;
  }

  .calculator-tab-list {
    height: 48px !important;
    gap: 7px !important;
  }

  .calculator-tab {
    height: 48px !important;
    gap: 6px !important;
    padding: 0 7px !important;
    font-size: 10.5px !important;
  }

  .calculator-tab-list-three {
    height: auto !important;
    grid-template-columns: 1fr;
  }

  .calculator-tab-list-three .calculator-tab {
    height: 44px !important;
  }

  .calculator-tab svg {
    width: 17px;
    height: 17px;
  }

  .calculator-form {
    margin-top: 9px;
    padding: 11px 10px 10px;
    border-radius: 12px;
  }

  .field-label {
    margin-bottom: 5px;
    font-size: 10.5px;
  }

  .money-field {
    height: 56px;
    grid-template-columns: minmax(0, 1fr) 122px;
  }

  .money-field input,
  .money-field output {
    padding: 0 10px;
    font-size: 27px;
  }

  .currency-select {
    gap: 5px !important;
    padding: 0 9px !important;
    font-size: 13px !important;
  }

  .currency-flag {
    min-width: 27px;
    font-size: 24px;
  }

  .flag-usdt {
    width: 27px;
    height: 27px;
    min-width: 27px;
    font-size: 14px;
  }

  .currency-static {
    gap: 5px;
    padding: 0 9px;
    font-size: 13px;
  }

  .currency-static svg {
    width: 17px;
    height: 17px;
  }

  .exchange-divider {
    height: 32px;
  }

  .exchange-divider span {
    width: 28px;
    height: 28px;
  }

  .calculator-quick-panel {
    min-height: 0;
    margin-top: 8px;
    gap: 6px;
    padding: 8px 9px;
  }

  .calculator-minimum-fee,
  .calculator-quick-row > span {
    font-size: 9.5px;
  }

  .calculator-quick-row {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .calculator-quick-buttons {
    gap: 5px;
  }

  .calculator-quick-buttons button {
    height: 27px;
    padding: 0 4px;
    font-size: 9.5px;
  }


  .calculator-quick-note,
  .calculator-manual-currency label,
  .calculator-manual-currency p {
    font-size: 9.5px;
  }

  .calculator-manual-currency input {
    height: 34px;
    font-size: 11px;
  }

  #calculation-result.is-manual-result {
    font-size: 13px;
  }

  .manager-cta {
    height: 47px;
    margin-top: 9px;
    padding-right: 42px;
    padding-left: 10px;
    font-size: 15px;
  }

  .calculator-notice {
    position: static;
    display: block;
    margin-top: 7px;
    padding: 7px 9px;
    font-size: 9.5px;
  }

  .calculator-notice[hidden] {
    display: none;
  }

  .hero {
    min-height: 0;
    padding: 20px 3px 17px;
  }

  .hero h1 {
    font-size: clamp(31px, 9.6vw, 42px);
    letter-spacing: -0.055em;
    line-height: 1.07;
  }

  .hero-note {
    display: none;
  }

  .service-stack {
    height: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: 88px;
    gap: 8px;
  }

  .service-card {
    border-radius: 17px;
    box-shadow: 0 9px 24px rgba(43, 29, 17, 0.045);
  }

  .service-stack .service-card.is-active {
    box-shadow:
      0 0 0 2px rgba(158, 96, 246, 0.52),
      0 0 16px rgba(124, 54, 221, 0.3),
      0 8px 22px rgba(86, 25, 180, 0.18),
      inset 0 1px rgba(255, 255, 255, 0.2);
  }

  .service-card:hover {
    transform: none;
  }

  .service-card-button::after {
    position: absolute;
    top: 9px;
    right: 9px;
    z-index: 4;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #6f25d3;
    content: "";
  }

  .service-card.is-active .service-card-button::after {
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.18);
  }

  .service-copy {
    width: 72%;
    justify-content: center;
    padding: 10px 0 10px 11px;
  }

  .service-copy > strong,
  .service-card-receive .service-copy > strong {
    font-size: clamp(12px, 3.7vw, 15px);
    font-weight: 740;
    letter-spacing: -0.025em;
    line-height: 1.18;
    white-space: nowrap;
  }

  .service-description,
  .service-kicker {
    display: none;
  }

  .round-action {
    display: none;
  }

  .service-illustration,
  .service-card-receive .service-illustration {
    top: 50%;
    right: -7px;
    display: block;
    width: 74px;
    opacity: 0.94;
    transform: translateY(-50%);
    filter: drop-shadow(0 7px 8px rgba(43, 20, 67, 0.14));
  }

  .service-card-receive .service-illustration {
    right: -4px;
    width: 70px;
  }

  .service-card:hover .service-illustration {
    transform: translateY(-50%);
  }

  .mobile-chat-launch {
    display: flex;
    width: 100%;
    min-height: 56px;
    align-items: center;
    justify-content: space-between;
    padding: 0 18px;
    border: 1px solid rgba(101, 34, 207, 0.12);
    border-radius: 17px;
    background: linear-gradient(100deg, #f7f0ff, #fffaf5);
    box-shadow: 0 12px 30px rgba(66, 29, 94, 0.06);
    color: #5920bd;
    cursor: pointer;
    font-size: 14px;
    font-weight: 680;
  }

  .mobile-chat-launch span {
    display: inline-flex;
    align-items: center;
    gap: 9px;
  }

  .manager-card {
    display: block;
    height: auto;
    min-height: 548px;
    padding: 25px 17px 20px;
    border-radius: 21px;
  }

  .manager-shell .manager-card {
    display: none;
    margin-top: 12px;
  }

  .manager-shell .manager-card.is-mobile-open {
    display: block;
  }

  .mobile-chat-close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 3;
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: rgba(101, 34, 207, 0.08);
    color: #5c22bd;
    cursor: pointer;
    font-size: 26px;
    line-height: 1;
  }

  .manager-status {
    justify-content: center;
  }

  .manager-status h2 {
    font-size: 19px;
  }

  .manager-response-time {
    margin-top: 7px;
    text-align: center;
  }

  .manager-person {
    margin-top: 16px;
  }

  .manager-avatar-wrap,
  .manager-avatar {
    width: 120px;
    height: 120px;
  }

  .chat-area {
    height: 158px;
    margin-top: 17px;
  }

  .message-form {
    height: 56px;
  }

  .manager-planet {
    display: none;
  }

  .benefits {
    border-radius: 20px;
  }

  .benefit {
    min-height: 94px;
    gap: 15px;
    padding: 12px 17px;
  }

  .benefit-icon {
    width: 52px;
    height: 52px;
    flex-basis: 52px;
  }

  .benefit p {
    max-width: none;
  }

  .below-sections {
    gap: 13px;
    padding-top: 42px;
  }

  .content-section,
  .reviews-panel,
  .final-cta {
    padding: 27px 20px;
    border-radius: 22px;
  }

  .section-heading {
    margin-bottom: 22px;
  }

  .section-heading-inline {
    gap: 20px;
  }

  .section-heading h2,
  .reviews-panel h2,
  .final-cta h2 {
    font-size: 30px;
  }

  .section-eyebrow {
    font-size: 10px;
  }

  .workflow-tabs,
  .workflow-tab-list {
    width: 100% !important;
  }

  .workflow-tab-list {
    height: auto !important;
    grid-template-columns: 1fr;
  }

  .steps-grid,
  .capabilities-grid {
    grid-template-columns: 1fr;
  }

  .step-card,
  .capability-card {
    min-height: 210px;
  }

  .why-grid {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 5px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .why-grid::-webkit-scrollbar {
    display: none;
  }

  .why-card {
    width: min(82vw, 290px);
    min-width: min(82vw, 290px);
    min-height: 225px;
    scroll-snap-align: start;
  }

  .reviews-panel {
    min-height: 330px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 24px;
  }

  .reviews-panel .secondary-cta {
    width: 100%;
  }

  .faq-trigger {
    min-height: 70px;
    font-size: 13px !important;
  }

  .guide-card {
    min-height: 255px;
    padding: 24px 21px;
  }

  .guide-tag {
    top: 26px;
    right: 19px;
    max-width: 135px;
    text-align: right;
  }

  .final-cta {
    min-height: 390px;
    justify-content: center;
    gap: 27px;
  }

  .final-actions {
    width: 100%;
    flex-direction: column;
  }

  .primary-cta,
  .secondary-cta {
    width: 100%;
  }

  .site-footer {
    grid-template-columns: 1fr 1fr;
    gap: 30px 18px;
    padding: 36px 5px 18px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-bottom > span:last-child {
    flex-direction: column;
    gap: 7px;
  }
}

@media (max-width: 380px) {
  .brand {
    width: 145px;
    flex-basis: 145px;
  }

  .brand img {
    width: 145px;
  }

  .calculator-heading h2 {
    font-size: 18px;
  }

  .calculator-tab {
    font-size: 9.5px !important;
  }

  .money-field {
    grid-template-columns: minmax(0, 1fr) 114px;
  }

  .manager-cta {
    font-size: 14px;
  }

  .service-copy {
    padding-left: 9px;
  }

  .service-copy > strong,
  .service-card-receive .service-copy > strong {
    font-size: 11px;
  }

  .service-illustration,
  .service-card-receive .service-illustration {
    right: -6px;
    width: 64px;
  }

  .service-card-receive .service-illustration {
    right: -3px;
    width: 60px;
  }
}

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

/* ===== Live chat / Telegram Topics integration ===== */
.message-form {
  min-height: 59px;
  height: auto;
}

.message-form textarea {
  width: 100%;
  min-width: 0;
  max-height: 92px;
  min-height: 20px;
  padding: 0;
  resize: none;
  overflow-y: hidden;
  border: 0;
  outline: 0;
  background: transparent;
  color: #25263d;
  font: inherit;
  font-size: 13px;
  line-height: 1.45;
}

.message-form textarea::placeholder {
  color: #b0b5c5;
}

.chat-honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.chat-bubble p {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.chat-bubble-new {
  animation: none;
}


.chat-demo-status[data-type="error"] { color: #b84a45; }
.chat-demo-status[data-type="success"] { color: #617766; }

.chat-unread-badge {
  display: inline-grid;
  min-width: 18px;
  height: 18px;
  margin-left: 3px;
  padding: 0 5px;
  place-items: center;
  border-radius: 999px;
  background: #f58412;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  line-height: 18px;
}

.chat-unread-badge[hidden] { display: none; }

.chat-bubble-system {
  align-self: center;
  max-width: 92%;
  padding: 10px 14px;
  border: 1px solid rgba(91, 31, 190, 0.08);
  background: rgba(250, 247, 255, 0.88);
  box-shadow: none;
  color: #77728a;
  text-align: center;
}

.chat-bubble-system p {
  font-size: 11px;
  line-height: 1.4;
}

.chat-bubble-system time {
  display: none;
}

/* Compact manager identity after the first real manager reply.
   After activation JS moves .manager-person inside .chat-area, so the identity
   becomes part of chat history and scrolls away together with old messages. */
.manager-person,
.manager-avatar-wrap,
.manager-avatar,
.chat-area {
  transition: none;
}

.manager-card.has-manager-reply .chat-area {
  height: 306px;
  margin-top: 12px;
}

.manager-card.has-manager-reply .chat-area > .manager-person {
  position: static;
  display: flex;
  width: 100%;
  flex: 0 0 auto;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  align-self: stretch;
  gap: 9px;
  margin: 0 0 2px;
  padding: 1px 4px 3px;
}

.manager-card.has-manager-reply .chat-area > .manager-person .manager-avatar-wrap,
.manager-card.has-manager-reply .chat-area > .manager-person .manager-avatar {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
}

.manager-card.has-manager-reply .chat-area > .manager-person .manager-avatar {
  border-width: 2px;
  box-shadow: 0 4px 13px rgba(61, 37, 25, 0.09);
}

.manager-card.has-manager-reply .chat-area > .manager-person p {
  align-items: flex-start;
  gap: 0;
  margin: 0;
  text-align: left;
}

.manager-card.has-manager-reply .chat-area > .manager-person p strong {
  font-size: 13px;
  line-height: 1.2;
}

.manager-card.has-manager-reply .chat-area > .manager-person p span {
  font-size: 10px;
  line-height: 1.25;
}

@media (max-width: 1170px) and (min-width: 901px) {
  .manager-card.has-manager-reply .chat-area {
    height: 290px;
  }
}

@media (max-width: 900px) {
  .manager-card.has-manager-reply {
    min-height: 480px;
  }

  .manager-card.has-manager-reply .chat-area {
    height: 280px;
    margin-top: 13px;
  }
}

@media (max-width: 620px) {
  .manager-card.has-manager-reply .chat-area {
    height: 270px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .manager-person,
  .manager-avatar-wrap,
  .manager-avatar,
  .chat-area {
    transition: none !important;
  }
}

/* Message delivery UI: successful messages show only time. Retry is shown only after a real delivery error. */
.chat-bubble-meta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
  margin-top: 8px;
}

.chat-bubble-meta time {
  margin-top: 0;
}

.chat-message-retry {
  padding: 0;
  border: 0;
  background: transparent;
  color: #8a4ed0;
  font: inherit;
  font-size: 9px;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
}

.chat-message-retry:hover {
  text-decoration: underline;
}

.chat-message-retry:disabled {
  opacity: .55;
  cursor: default;
  text-decoration: none;
}

/* Stable chat composer: successful delivery is shown inside the user bubble,
   while the composer and Telegram link keep a fixed position. */
.chat-delivery-check {
  display: inline-flex;
  width: 12px;
  height: 12px;
  align-items: center;
  justify-content: center;
  color: #8f79ab;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
}

.manager-contact-block {
  position: relative;
  flex: 0 0 auto;
}

/* Status messages are overlays, not layout rows, so they never push the
   composer or the Telegram link up/down. Successful sends use the ✓ in bubble. */
.chat-demo-status {
  position: absolute;
  z-index: 5;
  right: 5px;
  bottom: calc(100% + 7px);
  left: 5px;
  min-height: 0;
  margin: 0;
  padding: 7px 9px;
  border: 1px solid rgba(184, 74, 69, 0.12);
  border-radius: 10px;
  background: rgba(255, 250, 249, 0.96);
  box-shadow: 0 7px 20px rgba(65, 39, 30, 0.07);
  color: #b84a45;
  font-size: 10px;
  line-height: 1.35;
  opacity: 0;
  pointer-events: none;
  transform: translateY(4px);
  transition: opacity 150ms ease, transform 150ms ease;
}

.chat-demo-status:empty {
  display: block;
}

.chat-demo-status.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.chat-demo-status[data-type="success"] {
  display: none;
}

/* On the normal desktop card, make the middle chat viewport absorb all
   height changes. The bottom controls therefore stay locked in place. */
@media (min-width: 1171px) {
  .manager-card {
    display: flex;
    flex-direction: column;
  }

  .manager-card > .manager-status,
  .manager-card > .manager-response-time,
  .manager-card > .manager-person,
  .manager-card > .manager-contact-block {
    flex: 0 0 auto;
  }

  .manager-card > .chat-area,
  .manager-card.has-manager-reply > .chat-area {
    height: auto;
    min-height: 0;
    flex: 1 1 auto;
  }

  .manager-card > .chat-area {
    margin-top: 20px;
  }

  .manager-card.has-manager-reply > .chat-area {
    margin-top: 12px;
  }

  .manager-card > .manager-contact-block {
    margin-top: 10px;
  }

  .telegram-link {
    margin-top: 9px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .chat-demo-status {
    transition: none !important;
  }
}

/* Mobile chat density: keep a stable breathing gap above the composer and
   make message bubbles more compact without affecting desktop layout. */
@media (max-width: 620px) {
  .chat-area {
    box-sizing: border-box;
    padding-bottom: 10px;
  }

  .chat-bubble {
    padding: 12px 15px 9px;
    border-radius: 15px;
  }

  .chat-bubble p {
    font-size: 14px;
    line-height: 1.38;
  }

  .chat-bubble-action {
    min-height: 34px;
    margin-top: 10px;
    padding: 7px 11px;
    border-radius: 10px;
    font-size: 10.5px;
  }

  .chat-bubble time {
    margin-top: 5px;
  }

  .chat-bubble-meta {
    gap: 6px;
    margin-top: 5px;
  }

  .chat-bubble-system {
    padding: 8px 12px;
  }

  .chat-bubble-system p {
    font-size: 10.5px;
    line-height: 1.35;
  }
}

/* 2026-08-31: compact quick panel — keeps calculator geometry stable. */
.calculator-quick-panel {
  min-height: 0;
  gap: 7px;
  padding: 8px 11px;
}

.calculator-quick-head {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.calculator-quick-head .calculator-minimum-fee,
.calculator-quick-head .calculator-quick-note {
  min-width: 0;
  white-space: nowrap;
}

.calculator-quick-head .calculator-quick-note {
  overflow: hidden;
  text-align: right;
  text-overflow: ellipsis;
}

.calculator-quick-panel.is-manual-currency {
  gap: 6px;
}

.calculator-quick-panel.is-manual-currency .calculator-quick-head {
  margin-bottom: 0;
}

.calculator-manual-currency {
  display: block;
}

.calculator-manual-currency-label,
.calculator-manual-currency p {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}

.calculator-manual-currency input {
  height: 34px;
}

@media (max-width: 700px) {
  .calculator-quick-panel {
    gap: 5px;
    padding: 7px 8px;
  }

  .calculator-quick-head {
    gap: 8px;
  }

  .calculator-quick-head .calculator-minimum-fee,
  .calculator-quick-head .calculator-quick-note {
    font-size: 9px;
  }

  .calculator-manual-currency input {
    height: 32px;
  }
}


/* 2026-08-31: receive calculator has percentage-only fee; payment quick-head order is note then minimum fee. */
.calculator-quick-panel.is-receive-mode .calculator-quick-head {
  justify-content: flex-start;
}

.calculator-quick-panel.is-receive-mode .calculator-quick-head .calculator-quick-note {
  width: 100%;
  text-align: left;
}

.calculator-minimum-fee[hidden] {
  display: none !important;
}


/* ===== Mobile calculator tabs: 3 purpose buttons in one row ===== */
@media (max-width: 620px) {
  .calculator-tab-list-three {
    height: 48px !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 7px !important;
  }

  .calculator-tab-list-three .calculator-tab {
    height: 48px !important;
    min-width: 0 !important;
    gap: 0 !important;
    padding: 0 !important;
    font-size: 0 !important;
    line-height: 0 !important;
  }

  .calculator-tab-list-three .calculator-tab svg {
    width: 21px !important;
    height: 21px !important;
    flex: 0 0 21px !important;
  }
}

/* Фикс расположения суммы, валюты и лоадера */
.result-field > #calculation-result {
  grid-column: 1;
  grid-row: 1;
}

.result-field > #result-currency-picker {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
}

.result-field > .calculator-result-loader {
  position: absolute !important;
}
