:root {
  --bg: #eef2f7;
  --bg-strong: #e7edf5;
  --surface: rgba(255, 255, 255, 0.8);
  --surface-soft: rgba(255, 255, 255, 0.72);
  --surface-muted: rgba(246, 249, 253, 0.92);
  --text: #141b2d;
  --muted: #5f6d84;
  --muted-strong: #47556b;
  --line: rgba(176, 190, 208, 0.42);
  --line-strong: rgba(153, 170, 191, 0.54);
  --accent: #1d4ed8;
  --accent-strong: #183faf;
  --accent-soft: rgba(227, 238, 255, 0.92);
  --accent-tint: rgba(29, 78, 216, 0.12);
  --success: #12735b;
  --warning: #946316;
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --shadow-soft: 0 12px 34px rgba(15, 23, 42, 0.06), 0 2px 8px rgba(15, 23, 42, 0.03);
  --shadow-card: 0 16px 40px rgba(15, 23, 42, 0.07), 0 3px 10px rgba(15, 23, 42, 0.03);
  --shadow-pop: 0 16px 34px rgba(29, 78, 216, 0.18), 0 3px 10px rgba(15, 23, 42, 0.05);
  --wrap: 1220px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", "Avenir Next", "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background:
    linear-gradient(180deg, #f8fbff 0%, var(--bg) 44%, var(--bg-strong) 100%);
  line-height: 1.62;
  text-rendering: optimizeLegibility;
}

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

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

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(248, 251, 255, 0.7);
  border-bottom: 1px solid rgba(176, 190, 208, 0.34);
  backdrop-filter: blur(18px);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.brand-mark {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 7px rgba(29, 78, 216, 0.08);
}

.nav {
  display: flex;
  align-items: center;
  gap: 10px 18px;
  flex-wrap: wrap;
}

.nav a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  transition: color 0.18s ease;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--text);
}

.nav-quiet {
  display: none;
}

.button,
.button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  border-radius: 999px;
  padding: 0 20px;
  font-size: 14px;
  font-weight: 800;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.button:hover,
.button:focus-visible,
.button-link:hover,
.button-link:focus-visible {
  transform: translateY(-1px);
}

.button {
  border: 1px solid transparent;
}

.button.primary,
.button.telegram {
  background: rgba(29, 78, 216, 0.94);
  color: #fff;
  box-shadow: var(--shadow-pop);
}

.button.primary:hover,
.button.primary:focus-visible,
.button.telegram:hover,
.button.telegram:focus-visible {
  background: rgba(24, 63, 175, 0.96);
}

.button.secondary,
.button.maxbtn {
  background: rgba(255, 255, 255, 0.72);
  color: var(--text);
  border-color: var(--line-strong);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

.button.ghost {
  background: transparent;
  color: var(--muted);
  border-color: var(--line);
}

.button-link {
  min-height: auto;
  padding: 0;
  border-radius: 0;
  color: var(--accent);
}

.page-shell {
  padding: 26px 0 56px;
}

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

.hero-shell,
.surface-block,
.panel,
.card,
.contact-card,
.search-shell,
.search-strip,
.legal-box,
.quote-card,
.proof-card,
.story-card,
.faq-card,
.sticky-cta,
.footer-card {
  position: relative;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.66);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px);
}

.hero-shell {
  overflow: hidden;
  padding: 24px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: currentColor;
}

.hero h1 {
  margin: 18px 0 12px;
  font-size: clamp(44px, 10vw, 86px);
  line-height: 0.92;
  letter-spacing: -0.07em;
  max-width: 9ch;
}

.hero p,
.section p,
.panel p,
.card p,
.footer p {
  margin: 0;
}

.lead {
  color: var(--muted);
  font-size: clamp(17px, 2vw, 20px);
  max-width: 48rem;
}

.lead + .lead {
  margin-top: 12px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0 0;
}

.meta-chip,
.badge {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.badge {
  margin: 0 8px 8px 0;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.subactions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  margin-top: 16px;
}

.subactions a {
  color: var(--muted-strong);
  font-size: 14px;
  font-weight: 700;
}

.contact-hint {
  margin-top: 16px;
  font-size: 14px;
  color: var(--muted);
}

.contact-hint strong {
  color: var(--text);
}

.summary-card,
.surface-block,
.panel,
.card,
.contact-card,
.quote-card,
.proof-card,
.story-card,
.faq-card,
.footer-card,
.search-shell,
.legal-box {
  padding: 22px;
}

.summary-card {
  background: rgba(255, 255, 255, 0.76);
  box-shadow: var(--shadow-card);
}

.summary-card::before,
.proof-card::before,
.story-card::before,
.faq-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  background: linear-gradient(90deg, rgba(29, 78, 216, 0.9), rgba(29, 78, 216, 0.08));
}

.summary-card h2,
.section h2 {
  margin: 0 0 10px;
  font-size: clamp(30px, 6vw, 48px);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.section {
  padding: 18px 0;
}

.section-lead {
  margin: 0 0 20px;
  max-width: 46rem;
  color: var(--muted);
  font-size: 16px;
}

.grid-2,
.grid-3,
.card-grid,
.story-grid,
.proof-grid,
.faq-grid,
.support-grid,
.result-grid,
.contact-grid,
.stat-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}

.kicker {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.panel h3,
.card h3,
.summary-card h3,
.quote-card h3,
.proof-card h3,
.story-card h3,
.faq-card h3 {
  margin: 0 0 10px;
  font-size: 24px;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.card,
.proof-card,
.story-card,
.faq-card {
  min-height: 100%;
}

.list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.list li {
  padding: 13px 0;
  border-top: 1px solid rgba(217, 227, 238, 0.95);
}

.list li:first-child {
  border-top: none;
}

.list strong {
  color: var(--text);
}

.stat {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, #ffffff 0%, #f6faff 100%);
  padding: 20px;
}

.stat strong,
.price {
  display: block;
  margin-top: 8px;
  font-size: 30px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.05em;
}

.micro {
  display: inline-block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.search-strip,
.legal-box {
  color: var(--muted);
}

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

.search-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--accent);
  flex: 0 0 auto;
}

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

.note {
  padding: 16px 18px;
  border-radius: var(--radius-md);
  background: var(--surface-soft);
  border: 1px solid var(--line);
  color: var(--muted);
}

.proof-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(244, 248, 255, 0.96) 100%);
}

.proof-metric {
  display: block;
  margin-bottom: 10px;
  font-size: 34px;
  font-weight: 800;
  line-height: 0.94;
  letter-spacing: -0.06em;
}

.quote-card blockquote {
  margin: 0 0 12px;
  font-size: 18px;
  line-height: 1.5;
  letter-spacing: -0.02em;
}

.story-card {
  overflow: hidden;
}

.search-shell {
  margin-top: 26px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 251, 255, 0.98) 100%);
}

.search-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
}

.search-input {
  min-width: 0;
  width: 100%;
  height: 54px;
  padding: 0 18px;
  border-radius: 16px;
  border: 1px solid var(--line-strong);
  background: var(--surface-soft);
  color: var(--text);
  font-size: 16px;
}

.search-results {
  margin-top: 14px;
  display: grid;
  gap: 10px;
}

.search-results[hidden] {
  display: none;
}

.search-result {
  display: block;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--surface-soft);
}

.search-result-title {
  display: block;
  font-weight: 800;
  line-height: 1.3;
}

.search-result-meta {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  color: var(--muted);
}

.search-empty {
  font-size: 14px;
  color: var(--muted);
}

.footer {
  padding: 28px 0 104px;
}

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

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 16px;
}

.footer-links a {
  color: var(--text);
  font-weight: 700;
}

.sticky-cta {
  position: fixed;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 70;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
}

.sticky-copy {
  min-width: 0;
}

.sticky-title {
  display: block;
  font-weight: 800;
  font-size: 14px;
}

.sticky-text {
  display: block;
  margin-top: 3px;
  font-size: 12px;
  color: var(--muted);
}

.sticky-actions {
  display: flex;
  gap: 8px;
}

.sticky-actions .button {
  flex: 1 1 0;
  min-height: 46px;
}

.accent-link {
  color: var(--accent);
  font-weight: 800;
}

@media (min-width: 760px) {
  .wrap {
    width: min(var(--wrap), calc(100% - 40px));
  }

  .topbar-inner {
    min-height: 78px;
  }

  .nav-quiet {
    display: inline-flex;
  }

  .hero-shell,
  .summary-card,
  .surface-block,
  .panel,
  .card,
  .search-shell,
  .quote-card,
  .proof-card,
  .story-card,
  .faq-card,
  .footer-card,
  .contact-card,
  .legal-box {
    padding: 30px;
  }

  .grid-2,
  .support-grid,
  .faq-grid,
  .result-grid,
  .contact-grid,
  .stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .hero-grid {
    grid-template-columns: minmax(0, 1.52fr) minmax(320px, 0.82fr);
    align-items: start;
    gap: 22px;
  }

  .sticky-cta {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .sticky-actions {
    flex: 0 0 auto;
  }

  .sticky-actions .button {
    flex: 0 0 auto;
    min-width: 148px;
  }
}

@media (min-width: 980px) {
  .page-shell {
    padding-top: 34px;
  }

  .hero {
    padding-top: 28px;
  }

  .grid-2.tight {
    grid-template-columns: minmax(0, 1.16fr) minmax(0, 0.84fr);
  }

  .hero h1 {
    max-width: 8.5ch;
  }
}
