:root {
  --bg: #eef5ff;
  --surface: rgba(255, 255, 255, 0.92);
  --surface-strong: #ffffff;
  --surface-soft: #f4f8ff;
  --ink: #10213d;
  --text: #3d4e6f;
  --muted: #71809a;
  --line: #d6e2f3;
  --blue: #2563eb;
  --blue-dark: #194fc6;
  --green: #179b5f;
  --danger: #fff4f2;
  --radius: 26px;
  --radius-sm: 18px;
  --shadow: 0 22px 54px rgba(18, 42, 84, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Manrope", sans-serif;
  background:
    radial-gradient(circle at 8% 4%, rgba(105, 183, 255, 0.22), transparent 24rem),
    radial-gradient(circle at 88% 10%, rgba(182, 221, 255, 0.22), transparent 26rem),
    radial-gradient(circle at 50% 36%, rgba(234, 244, 255, 0.45), transparent 32rem),
    linear-gradient(180deg, #ffffff 0%, #f7fbff 48%, #eef5ff 100%);
  background-attachment: fixed;
}

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

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

button,
input {
  font: inherit;
}

.container {
  width: min(100% - 32px, 1120px);
  margin: 0 auto;
}

.page {
  padding-bottom: 112px;
}

.hero {
  padding: 28px 0 18px;
}

.topbar {
  display: grid;
  gap: 14px;
  align-items: start;
}

.topbar-contacts {
  display: grid;
  gap: 6px;
}

.topbar-contacts a {
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
}

.brand-mark {
  display: inline-grid;
  gap: 1px;
}

.brand-mark-title {
  font-size: 34px;
  line-height: 0.9;
  font-weight: 800;
  letter-spacing: -0.06em;
}

.brand-mark-max {
  color: #44b8f4;
}

.brand-mark-bit {
  color: #0d65a7;
}

.brand-mark-tagline {
  color: #0d65a7;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.hero-grid {
  display: grid;
  gap: 16px;
  margin-top: 20px;
}

.hero-copy,
.hero-panel-card,
.lead-shell,
.pain-card,
.control-card,
.support-shell,
.secondary-box {
  background: var(--surface);
  border: 1px solid rgba(214, 226, 243, 0.92);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-copy {
  padding: 24px 18px;
}

.hero-panel-card {
  padding: 22px 18px;
}

.eyebrow {
  display: inline-flex;
  margin: 0 0 14px;
  padding: 7px 12px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(37, 99, 235, 0.09);
  border-radius: 999px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3,
strong {
  color: var(--ink);
}

h1 {
  margin-bottom: 14px;
  font-size: clamp(2.15rem, 9vw, 3.65rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.lead {
  margin-bottom: 18px;
  font-size: 16px;
  line-height: 1.58;
}

.hero-list,
.panel-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0;
}

.hero-list {
  margin-bottom: 22px;
}

.hero-list li,
.panel-list li {
  display: flex;
  gap: 10px;
  list-style: none;
  line-height: 1.5;
}

.hero-list li::before,
.panel-list li::before {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  content: "✓";
  color: var(--green);
  font-weight: 800;
}

.hero-actions,
.secondary-actions {
  display: grid;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 14px 18px;
  border-radius: 16px;
  font-size: 15px;
  font-weight: 800;
  text-align: center;
}

.btn-primary {
  color: #fff !important;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
}

.btn-secondary {
  color: var(--ink);
  background: #eef4ff;
  border: 1px solid var(--line);
  cursor: pointer;
}

.trust-row {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.trust-chip {
  padding: 14px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(214, 226, 243, 0.9);
  border-radius: var(--radius-sm);
}

.trust-chip strong {
  display: block;
  margin-bottom: 4px;
  font-size: 14px;
}

.trust-chip span,
.panel-note,
.section-head p,
.support-card p,
.pain-card p,
.control-card span,
.promise-card span,
.secondary-copy p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.hero-panel-label {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
}

.hero-panel-card h2 {
  margin-bottom: 14px;
  font-size: clamp(1.45rem, 6vw, 2rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.panel-note {
  margin-top: 16px;
  margin-bottom: 0;
}

.section {
  padding: 16px 0;
}

.section-priority {
  padding-top: 10px;
}

.lead-shell {
  display: grid;
  gap: 16px;
  padding: 22px 18px;
}

.lead-copy h2,
.section-head h2 {
  margin-bottom: 10px;
  font-size: clamp(1.7rem, 7vw, 2.45rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.promise-grid,
.pain-grid,
.control-grid,
.support-grid {
  display: grid;
  gap: 12px;
}

.promise-card,
.support-card {
  padding: 16px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(214, 226, 243, 0.92);
  border-radius: 18px;
}

.promise-card strong,
.support-card h3,
.pain-card h3 {
  display: block;
  margin-bottom: 6px;
  font-size: 18px;
  line-height: 1.24;
}

.microtrust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.microtrust span {
  padding: 8px 10px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  background: rgba(37, 99, 235, 0.07);
  border-radius: 999px;
}

.lead-form {
  padding: 18px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 20px;
}

.form-legal-note {
  margin: 14px 2px 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.form-legal-note a {
  color: var(--blue);
  font-weight: 700;
}

.section-head {
  margin-bottom: 16px;
}

.pain-card {
  padding: 18px 16px;
  background: linear-gradient(180deg, #fff 0%, var(--danger) 100%);
}

.control-card {
  padding: 18px 16px;
  background: linear-gradient(180deg, #fff 0%, #f3f8ff 100%);
}

.control-card strong {
  display: block;
  margin-bottom: 6px;
  font-size: 17px;
  line-height: 1.25;
}

.section-accent .container {
  padding: 24px 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.76) 0%, rgba(240, 247, 255, 0.96) 100%);
  border: 1px solid rgba(214, 226, 243, 0.94);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.support-section {
  padding-top: 12px;
}

.support-shell {
  padding: 24px 18px;
}

.secondary-box {
  padding: 20px 18px;
  box-shadow: none;
}

.secondary-copy {
  margin-bottom: 14px;
}

.secondary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 12px 16px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  border-radius: 16px;
  font-size: 14px;
  font-weight: 800;
}

.footer {
  padding: 24px 0 10px;
}

.footer-inner {
  display: grid;
  gap: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(214, 226, 243, 0.94);
}

.footer-meta {
  display: grid;
  gap: 10px;
}

.footer-company {
  display: grid;
  gap: 4px;
}

.footer-company strong {
  color: var(--ink);
  font-size: 14px;
}

.footer-company span {
  color: var(--muted);
  font-size: 13px;
}

.footer-contacts {
  display: grid;
  gap: 6px;
}

.footer-contacts a {
  color: var(--muted);
  font-size: 13px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
}

.footer-links a {
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
}

.mobile-bar {
  position: fixed;
  right: 16px;
  bottom: 14px;
  left: 16px;
  z-index: 1000;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 10px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(214, 226, 243, 0.95);
  border-radius: 20px;
  box-shadow: 0 16px 36px rgba(28, 60, 114, 0.14);
  backdrop-filter: blur(10px);
}

.contact-sheet[hidden] {
  display: none;
}

.contact-sheet {
  position: fixed;
  inset: 0;
  z-index: 1200;
}

.contact-sheet-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(16, 33, 61, 0.32);
  backdrop-filter: blur(6px);
}

.contact-sheet-dialog {
  position: absolute;
  right: 16px;
  bottom: 92px;
  left: 16px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(214, 226, 243, 0.95);
  border-radius: 20px;
  box-shadow: 0 18px 42px rgba(28, 60, 114, 0.18);
}

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

.contact-sheet-head strong {
  font-size: 16px;
  line-height: 1.3;
}

.contact-sheet-close {
  width: 34px;
  height: 34px;
  padding: 0;
  color: var(--ink);
  font-size: 24px;
  line-height: 1;
  background: #eef4ff;
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
}

.contact-sheet-actions {
  display: grid;
  gap: 10px;
}

.contact-sheet-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 54px;
  padding: 14px 16px;
  background: #f7fbff;
  border: 1px solid var(--line);
  border-radius: 16px;
  font-size: 15px;
  font-weight: 800;
}

.channel-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 38px;
  width: 36px;
  height: 36px;
  border-radius: 999px;
}

.channel-icon svg,
.channel-icon img {
  display: block;
}

.channel-icon-telegram {
  color: #fff;
  background: linear-gradient(135deg, #27a7e7, #1b87c9);
}

.channel-icon-telegram svg {
  width: 18px;
  height: 18px;
}

.channel-icon-max {
  background: #fff;
  border: 1px solid rgba(214, 226, 243, 0.95);
}

.channel-icon-max img {
  width: 22px;
  height: 22px;
}

body .b24-widget-button-wrapper.b24-widget-button-position-bottom-right {
  right: 18px !important;
  bottom: 96px !important;
}

body .b24-widget-button-shadow {
  display: none !important;
}

@media (min-width: 768px) {
  .container {
    width: min(100% - 48px, 1120px);
  }

  .brand-mark-title {
    font-size: 40px;
  }

  .brand-mark-tagline {
    font-size: 12px;
  }

  .topbar {
    grid-template-columns: auto 1fr;
    align-items: center;
  }

  .topbar-contacts {
    justify-items: end;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
    align-items: start;
    gap: 18px;
  }

  .hero-copy,
  .hero-panel-card,
  .lead-shell,
  .support-shell {
    padding: 32px;
  }

  .hero-actions,
  .secondary-actions {
    grid-template-columns: repeat(2, minmax(0, max-content));
  }

  .trust-row,
  .promise-grid,
  .pain-grid,
  .control-grid,
  .support-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lead-shell {
    grid-template-columns: 1.02fr 0.98fr;
    align-items: start;
  }

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

  .footer-inner {
    grid-template-columns: auto 1fr;
    align-items: center;
  }

  .footer-meta {
    justify-items: end;
  }

  .footer-contacts {
    justify-items: end;
  }

  .footer-links {
    justify-content: flex-end;
  }

  .mobile-bar {
    display: none;
  }

  .contact-sheet {
    display: none !important;
  }

  body .b24-widget-button-wrapper.b24-widget-button-position-bottom-right {
    right: 24px !important;
    bottom: 24px !important;
  }
}

/* Tilda can inject global link colors. Keep our site links and buttons on-brand. */
.page a,
.page a:link,
.page a:visited,
.page a:hover,
.page a:active,
.page a:focus {
  color: inherit !important;
  text-decoration: none !important;
}

.page .btn,
.page .btn:link,
.page .btn:visited,
.page .btn:hover,
.page .btn:active,
.page .btn:focus,
.page .btn *,
.page .btn span,
.page .btn strong,
.mobile-bar .btn,
.mobile-bar .btn:link,
.mobile-bar .btn:visited,
.mobile-bar .btn:hover,
.mobile-bar .btn:active,
.mobile-bar .btn:focus,
.mobile-bar .btn *,
.mobile-bar .btn span,
.mobile-bar .btn strong,
.contact-sheet-link,
.contact-sheet-link:link,
.contact-sheet-link:visited,
.contact-sheet-link:hover,
.contact-sheet-link:active,
.contact-sheet-link:focus,
.contact-sheet-link *,
.contact-sheet-link span,
.secondary-link,
.secondary-link:link,
.secondary-link:visited,
.secondary-link:hover,
.secondary-link:active,
.secondary-link:focus,
.secondary-link *,
.secondary-link span {
  text-decoration: none !important;
}

.page .btn-primary,
.page .btn-primary:link,
.page .btn-primary:visited,
.page .btn-primary:hover,
.page .btn-primary:active,
.page .btn-primary:focus,
.page .btn-primary *,
.page .btn-primary span,
.page .btn-primary strong,
.mobile-bar .btn-primary,
.mobile-bar .btn-primary:link,
.mobile-bar .btn-primary:visited,
.mobile-bar .btn-primary:hover,
.mobile-bar .btn-primary:active,
.mobile-bar .btn-primary:focus,
.mobile-bar .btn-primary *,
.mobile-bar .btn-primary span,
.mobile-bar .btn-primary strong,
.contact-sheet-link,
.contact-sheet-link:link,
.contact-sheet-link:visited,
.contact-sheet-link:hover,
.contact-sheet-link:active,
.contact-sheet-link:focus,
.contact-sheet-link *,
.contact-sheet-link span {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}

.page .btn-secondary,
.page .btn-secondary:link,
.page .btn-secondary:visited,
.page .btn-secondary:hover,
.page .btn-secondary:active,
.page .btn-secondary:focus,
.page .btn-secondary *,
.page .btn-secondary span,
.page .btn-secondary strong,
.mobile-bar .btn-secondary,
.mobile-bar .btn-secondary:link,
.mobile-bar .btn-secondary:visited,
.mobile-bar .btn-secondary:hover,
.mobile-bar .btn-secondary:active,
.mobile-bar .btn-secondary:focus,
.mobile-bar .btn-secondary *,
.mobile-bar .btn-secondary span,
.mobile-bar .btn-secondary strong,
.secondary-link,
.secondary-link:link,
.secondary-link:visited,
.secondary-link:hover,
.secondary-link:active,
.secondary-link:focus,
.secondary-link *,
.secondary-link span {
  color: var(--ink) !important;
  -webkit-text-fill-color: var(--ink) !important;
}

.page .topbar-contacts a,
.page .topbar-contacts a:link,
.page .topbar-contacts a:visited,
.page .topbar-contacts a:hover,
.page .topbar-contacts a:active,
.page .topbar-contacts a:focus {
  color: var(--ink) !important;
  -webkit-text-fill-color: var(--ink) !important;
}

.page .footer-contacts a,
.page .footer-contacts a:link,
.page .footer-contacts a:visited,
.page .footer-contacts a:hover,
.page .footer-contacts a:active,
.page .footer-contacts a:focus {
  color: var(--muted) !important;
  -webkit-text-fill-color: var(--muted) !important;
}

.page .footer-links a,
.page .footer-links a:link,
.page .footer-links a:visited,
.page .footer-links a:hover,
.page .footer-links a:active,
.page .footer-links a:focus {
  color: var(--ink) !important;
  -webkit-text-fill-color: var(--ink) !important;
}

.page .form-legal-note a,
.page .form-legal-note a:link,
.page .form-legal-note a:visited,
.page .form-legal-note a:hover,
.page .form-legal-note a:active,
.page .form-legal-note a:focus {
  color: var(--blue) !important;
  -webkit-text-fill-color: var(--blue) !important;
}
