/* ==========================================================================
   Дентал Эксперт — landing styles (prototype v11)
   ========================================================================== */

:root {
  --ink: #103050;
  --ink-2: #0b2440;
  --emerald: #2e8f5b;
  --emerald-bright: #40b070;
  --emerald-glow: #7fd9a6;
  --enamel: #fbfcfd;
  --panel: #ffffff;
  --mist: #eef3f6;
  --alt: #f7f9fb;
  --line: #e3ebf1;
  --muted: #5f7089;
  --shadow: 0 24px 60px -28px rgba(16, 48, 80, 0.35);
  --shadow-soft: 0 12px 34px -18px rgba(16, 48, 80, 0.28);
  --shadow-lg: 0 28px 70px -20px rgba(16, 48, 80, 0.35);
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", system-ui, sans-serif;

  /* backward-compat aliases */
  --primary: var(--emerald);
  --primary-dark: #267a4b;
  --primary-light: #eff9f3;
  --text: #33455e;
  --soft: var(--muted);
  --faint: #93a4b8;
  --line-2: var(--mist);
  --bg: var(--enamel);
  --bg-muted: var(--alt);
  --green: var(--emerald);
  --green-bg: #eff9f3;
  --green-line: #c9e9d6;
  --cyan: var(--emerald-glow);
  --maxw: 1120px;
  --radius: 16px;
  --radius-sm: 12px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--sans);
  background: var(--enamel);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

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

a:not(.btn):hover {
  color: var(--emerald);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--emerald);
  outline-offset: 2px;
}

input::placeholder {
  color: #93a4b8;
}

@supports not ((backdrop-filter: blur(4px)) or (-webkit-backdrop-filter: blur(4px))) {
  .site-header {
    background: rgba(251, 252, 253, 0.97) !important;
  }
}

@keyframes deDrift {
  from { transform: translateX(-52%) translateY(-2%); }
  to { transform: translateX(-48%) translateY(3%); }
}

@keyframes deDriftB {
  from { transform: translate(0, 0); }
  to { transform: translate(-3%, 4%); }
}

@keyframes dePulse {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 1; }
}

@keyframes scrollTopEnter {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.94);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes scrollTopFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

@keyframes scrollTopArrow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}

@keyframes scrollTopGlow {
  0%, 100% { box-shadow: 0 8px 24px rgba(16, 48, 80, 0.12), 0 0 0 0 rgba(64, 176, 112, 0); }
  50% { box-shadow: 0 10px 28px rgba(16, 48, 80, 0.14), 0 0 0 4px rgba(64, 176, 112, 0.1); }
}

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

ul, ol {
  list-style: none;
}

/* --------------------------------------------------------------------------
   Atmosphere
   -------------------------------------------------------------------------- */

.atmosphere {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.atmosphere__glow {
  position: absolute;
  top: -10%;
  left: 50%;
  width: 60vw;
  height: 80vh;
  transform: translateX(-50%) rotate(8deg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.65), rgba(255, 255, 255, 0));
  filter: blur(30px);
  opacity: 0.7;
  mix-blend-mode: screen;
}

.atmosphere__orb {
  position: absolute;
  filter: blur(10px);
}

.atmosphere__orb--a {
  width: 120vmax;
  height: 120vmax;
  left: 50%;
  top: -30vmax;
  transform: translateX(-50%);
  background:
    radial-gradient(closest-side, rgba(64, 176, 112, 0.16), transparent 70%),
    radial-gradient(closest-side, rgba(16, 48, 80, 0.1), transparent 70%);
  animation: deDrift 26s ease-in-out infinite alternate;
}

.atmosphere__orb--b {
  width: 70vmax;
  height: 70vmax;
  right: -20vmax;
  top: 20vmax;
  background: radial-gradient(closest-side, rgba(64, 176, 112, 0.14), transparent 70%);
  animation: deDriftB 34s ease-in-out infinite alternate;
}

#de-motes {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* --------------------------------------------------------------------------
   Layout
   -------------------------------------------------------------------------- */

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.wrap--narrow {
  max-width: 760px;
}

.section {
  position: relative;
  z-index: 2;
  padding: 96px 0;
}

.section--muted {
  background: var(--bg-muted);
}

.section--panel {
  background: var(--panel);
  border-top: 1px solid var(--line);
}

.section__head {
  max-width: 720px;
}

.section__head--center {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.section__head .lead {
  max-width: 680px;
}

.section__head--center .lead {
  margin-left: auto;
  margin-right: auto;
}

/* --------------------------------------------------------------------------
   Typography
   -------------------------------------------------------------------------- */

.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--emerald);
}

.h1 {
  font-size: clamp(32px, 4.6vw, 50px);
  line-height: 1.12;
  letter-spacing: -0.025em;
  font-weight: 700;
}

.h1__accent,
.h1 span.h1__accent {
  background: linear-gradient(120deg, var(--ink) 30%, var(--emerald) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.h2 {
  font-size: clamp(26px, 3.4vw, 38px);
  line-height: 1.18;
  letter-spacing: -0.02em;
  font-weight: 700;
  margin-top: 12px;
}

.h3 {
  font-size: clamp(18px, 2.2vw, 21px);
  font-weight: 650;
  line-height: 1.3;
}

.h4 {
  font-size: 15.5px;
  font-weight: 650;
  line-height: 1.35;
}

.lead {
  margin-top: 16px;
  font-size: clamp(16px, 2vw, 17.5px);
  line-height: 1.6;
  color: var(--muted);
  text-wrap: pretty;
}

.section__head--center .h2 {
  font-size: clamp(26px, 3.4vw, 36px);
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s, box-shadow 0.2s;
  text-align: center;
}

.btn-dark {
  background: linear-gradient(135deg, var(--ink), var(--ink-2));
  color: #fff;
  padding: 15px 28px;
  font-size: 15.5px;
  box-shadow: var(--shadow-soft);
}

.btn-dark:hover {
  background: linear-gradient(135deg, var(--ink), var(--ink-2));
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 16px 30px -14px rgba(16, 48, 80, 0.5);
}

.btn-primary {
  background: linear-gradient(135deg, var(--ink), var(--ink-2));
  color: #fff;
  padding: 10px 14px;
  font-size: 14px;
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--ink-2), var(--ink));
  color: #fff;
}

.btn-outline {
  background: var(--panel);
  color: var(--ink);
  border-color: var(--line);
  padding: 13px 18px;
  font-size: 14.5px;
}

.btn-outline:hover {
  border-color: var(--emerald-bright);
  color: var(--emerald);
}

.btn-light {
  background: var(--panel);
  color: var(--ink);
  padding: 13px 24px;
  font-size: 14.5px;
}

.btn-light:hover {
  background: var(--mist);
}

.btn-sm {
  padding: 9px 18px;
  font-size: 13.5px;
}

.btn-block {
  width: 100%;
}

/* --------------------------------------------------------------------------
   Grids
   -------------------------------------------------------------------------- */

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 40px;
}

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

.grid-3--timeline {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}

.grid-3--features {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  margin-top: 32px;
}

.grid-3--shield {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.grid-3--pricing {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: start;
}

/* --------------------------------------------------------------------------
   Cards
   -------------------------------------------------------------------------- */

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}

.card p {
  margin-top: 9px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--soft);
}

.card--muted {
  background: var(--bg-muted);
}

.card--accent {
  border-color: var(--emerald);
}

.card--dark {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.card--dark p {
  color: #cfdae8;
}

.card--chat {
  border-radius: 20px;
  box-shadow: var(--shadow);
  overflow: hidden;
  padding: 0;
}

.card--quote {
  border-radius: 14px;
  padding: 20px 22px;
}

.card--quote b {
  font-size: 14.5px;
  color: var(--ink);
}

.card--guarantee {
  margin-top: 18px;
  padding: 28px 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
}

.card--guarantee b {
  font-size: 16px;
}

.card--pricing {
  border-radius: 20px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  box-shadow: var(--shadow-soft);
  transition: transform 0.28s, box-shadow 0.28s;
}

.card--pricing:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.card--pricing-hit {
  border-color: rgba(64, 176, 112, 0.55);
  box-shadow: 0 22px 54px -26px rgba(46, 143, 91, 0.4);
}

.card--team {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 26px;
}

.card--team p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text);
  flex: 1;
}

.card--team .card__photo {
  width: 76px;
  height: 76px;
  border-radius: 16px;
  object-fit: cover;
  object-position: center top;
  flex-shrink: 0;
  border: 1px solid var(--line);
  box-shadow: 0 6px 18px rgba(16, 48, 80, 0.1);
  background: var(--mist);
}

.team-max {
  display: inline-flex;
  align-items: flex-start;
  gap: 10px;
  align-self: flex-start;
  margin-top: 4px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  transition: color 0.2s;
}

.team-max:hover {
  color: var(--emerald);
}

.team-max__icon {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
  margin-top: 2px;
}

.team-max__copy {
  display: flex;
  flex-direction: column;
  gap: 1px;
  line-height: 1.25;
}

.team-max__brand {
  font-weight: 700;
}

.team-max__hint {
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
}

.team-max:hover .team-max__hint {
  color: var(--emerald);
}

.card__head {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 15px 18px;
  border-bottom: 1px solid var(--line-2);
}

.card__head b {
  font-size: 14px;
}

.card__body {
  padding: 18px;
}

.card__body--chat {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--bg-muted);
}

.card__foot {
  padding: 14px 18px;
  border-top: 1px solid var(--line-2);
}

.card__avatar {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--ink), var(--ink-2));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
}

.card__avatar--lg {
  width: 52px;
  height: 52px;
  font-size: 17px;
}

.card__status {
  display: block;
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 500;
  color: var(--emerald);
}

.card__label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary);
}

.card__label--green {
  color: var(--emerald);
}

.card__icon {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background: var(--mist);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--ink);
}

.card__label--muted {
  color: var(--faint);
  font-size: 12.5px;
}

.card__num {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
}

.card--pricing .card__num {
  font-size: 12px;
  font-family: var(--mono);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
}

.card__person {
  display: flex;
  align-items: center;
  gap: 13px;
}

.card__person b {
  font-size: 15.5px;
}

.card__person span {
  display: block;
  font-size: 12.5px;
  color: var(--soft);
  margin-top: 2px;
}

/* --------------------------------------------------------------------------
   Chip
   -------------------------------------------------------------------------- */

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 14px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--emerald);
  margin-bottom: 22px;
}

.chip__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--emerald-bright);
  box-shadow: 0 0 0 4px rgba(64, 176, 112, 0.18);
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   Lists
   -------------------------------------------------------------------------- */

.check-list {
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.check-list li {
  display: flex;
  gap: 11px;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--muted);
}

.check-list li::before {
  content: "✓";
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-top: 2px;
  font-size: 11px;
  font-weight: 700;
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
}

.list-arrow {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--muted);
}

.list-arrow li {
  display: flex;
  gap: 11px;
}

.list-arrow li::before {
  content: "→";
  flex-shrink: 0;
  color: var(--faint);
}

.list-arrow--accent li::before {
  color: var(--primary);
}

.list-arrow b {
  color: var(--ink);
}

/* --------------------------------------------------------------------------
   Callout
   -------------------------------------------------------------------------- */

.callout {
  margin-top: 18px;
  display: flex;
  gap: 12px;
  background: var(--bg-muted);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 20px;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--soft);
}

.callout::before {
  content: "i";
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  border-radius: 50%;
  border: 2px solid var(--emerald);
  color: var(--emerald);
  font-size: 11px;
  font-weight: 700;
  font-style: italic;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.callout--plain {
  background: var(--panel);
}

.callout--plain::before {
  display: none;
}

.callout p {
  margin: 0;
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 252, 253, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 14px;
  padding-bottom: 14px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  min-width: 0;
  text-decoration: none;
}

.brand-icon {
  flex-shrink: 0;
  width: 42px;
  height: 30px;
  object-fit: contain;
  display: block;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  min-width: 0;
}

.brand-text b {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.brand-tagline {
  display: flex;
  flex-direction: column;
  gap: 1px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 3px;
  line-height: 1.2;
}

.brand-tagline__line {
  display: block;
  white-space: nowrap;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 14px;
}

.nav-desktop a:not(.btn) {
  color: var(--muted);
  transition: color 0.2s;
  white-space: nowrap;
}

.nav-desktop a:not(.btn):hover {
  color: var(--emerald);
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 9px 12px;
  font-size: 13.5px;
  color: var(--ink);
  cursor: pointer;
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px 16px 16px;
  border-top: 1px solid var(--line);
  background: var(--panel);
}

.mobile-menu[hidden] {
  display: none !important;
}

.mobile-menu a {
  color: var(--ink);
  padding: 12px;
  border-radius: 10px;
  font-size: 15px;
}

.mobile-menu a:hover {
  background: var(--bg-muted);
}

.mobile-menu .btn {
  margin-top: 6px;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  z-index: 2;
  padding: 78px 0 96px;
  background: linear-gradient(180deg, var(--alt) 0%, var(--enamel) 100%);
}

.hero__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 56px;
  align-items: center;
}

.hero__content {
  flex: 1 1 480px;
  min-width: 300px;
}

.hero .chip {
  background: none;
  border: none;
  border-radius: 0;
  padding: 0;
  margin-bottom: 0;
  gap: 9px;
}

.hero__content .h1 {
  margin-top: 20px;
  font-size: clamp(34px, 4.6vw, 56px);
  line-height: 1.06;
  letter-spacing: -0.032em;
  font-weight: 800;
  max-width: 16ch;
}

.hero__content .lead {
  max-width: 52ch;
  margin-top: 20px;
  font-size: 17px;
  line-height: 1.62;
  color: #33455e;
  font-weight: 450;
}

.hero__content .lead b {
  color: var(--ink);
  font-weight: 650;
}

.hero__cta {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}

.hero__cta .btn-dark {
  padding: 16px 22px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 650;
  box-shadow: var(--shadow);
}

.hero__cta .btn-dark:hover {
  transform: translateY(-2px);
}

.hero__note {
  margin: 15px 0 0;
  max-width: 30ch;
  font-size: 13.5px;
  line-height: 1.5;
  font-weight: 500;
  color: var(--muted);
}

.hero__trust {
  margin-top: 34px;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero__pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 13px;
  border-radius: 999px;
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink);
}

.hero__pill svg {
  flex-shrink: 0;
  color: var(--emerald);
}

/* --------------------------------------------------------------------------
   Value (#value)
   -------------------------------------------------------------------------- */

#value .section__head .eyebrow {
  font-size: 11.5px;
}

#value .section__head .h2 {
  margin-top: 14px;
  font-size: clamp(27px, 3.4vw, 40px);
  line-height: 1.14;
  letter-spacing: -0.026em;
  font-weight: 800;
}

#value .section__head .lead {
  margin-top: 16px;
  font-size: 16.5px;
  line-height: 1.62;
  color: #33455e;
  font-weight: 450;
}

#value .section__head .lead a,
#faq-accordion .accordion__col p a {
  color: var(--emerald);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

#value .section__head .lead a:hover,
#faq-accordion .accordion__col p a:hover {
  color: var(--emerald-bright);
}

#value .grid-3--timeline {
  margin-top: 42px;
}

#value .card--muted {
  background: var(--alt);
  border-radius: 18px;
  padding: 22px 24px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.28s, box-shadow 0.28s, border-color 0.22s;
}

#value .card--muted:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(64, 176, 112, 0.35);
}

#value .card--muted .card__label {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--ink);
}

#value .card--muted .card__label--green {
  color: var(--emerald);
}

#value .card--muted p {
  margin-top: 10px;
  font-size: 14.5px;
  line-height: 1.6;
  color: #33455e;
}

#value .grid-3--features {
  margin-top: 32px;
}

#value .grid-3--features .card {
  border-radius: 18px;
  padding: 26px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.28s, box-shadow 0.28s, border-color 0.22s;
}

#value .grid-3--features .card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(64, 176, 112, 0.35);
}

#value .grid-3--features .h3 {
  font-size: 16.5px;
  font-weight: 700;
  line-height: 1.3;
}

#value .grid-3--features .card p {
  margin-top: 9px;
  font-size: 14px;
}

.hero__stage {
  flex: 1 1 380px;
  min-width: 300px;
  max-width: 440px;
  margin: 0 auto;
}

.hero__stage-inner {
  perspective: 1400px;
  position: relative;
  min-height: 560px;
  transform-style: preserve-3d;
}

.hero__revenue {
  position: absolute;
  left: 0;
  top: 18px;
  z-index: 2;
  width: 212px;
  padding: 17px 18px;
  transform: translateZ(120px);
  will-change: transform;
}

.hero__revenue-value {
  margin-top: 8px;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--emerald);
}

.hero__revenue-note {
  margin-top: 4px;
  font-size: 12px;
  color: var(--muted);
}

.hero__chat-card {
  position: absolute;
  right: 0;
  top: 64px;
  z-index: 1;
  width: min(340px, 100%);
  overflow: hidden;
  transform: translateZ(60px);
  will-change: transform;
}

.hero__badge {
  position: absolute;
  left: 8px;
  bottom: 0;
  z-index: 2;
  width: 206px;
  padding: 15px 17px;
  box-shadow: var(--shadow-soft);
  transform: translateZ(20px);
  will-change: transform;
}

.hero__badge b {
  display: block;
  font-size: 13px;
}

.hero__badge p {
  margin-top: 3px;
  font-size: 11.5px;
  line-height: 1.4;
  color: var(--muted);
}

.hero__preview-note {
  margin: 16px 4px 0;
  font-size: 12.5px;
  color: var(--muted);
  text-align: center;
}

.hero__float-card {
  position: absolute;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
  will-change: transform;
}

.hero__float-card--stat {
  left: 0;
  top: 0;
  z-index: 2;
  width: 212px;
  padding: 17px 18px;
  transform: translateZ(120px);
}

.hero__float-card--chat {
  right: 0;
  top: 64px;
  z-index: 1;
  width: min(340px, 100%);
  overflow: hidden;
  transform: translateZ(60px);
}

.hero__float-card--shield {
  left: 8px;
  bottom: 0;
  z-index: 2;
  width: 206px;
  padding: 15px 17px;
  box-shadow: var(--shadow-soft);
  transform: translateZ(20px);
  display: flex;
  gap: 11px;
  align-items: flex-start;
}

.hero__preview {
  flex: 1 1 340px;
  min-width: 300px;
  max-width: 440px;
  margin: 0 auto;
}

/* --------------------------------------------------------------------------
   Chat bubbles
   -------------------------------------------------------------------------- */

.chat-bubble {
  max-width: 88%;
  font-size: 13.5px;
  line-height: 1.5;
  padding: 10px 14px;
  border-radius: 14px;
}

.chat-bubble--user {
  align-self: flex-end;
  background: linear-gradient(135deg, var(--ink), var(--ink-2));
  color: #fff;
  border-radius: 14px 14px 4px 14px;
}

.chat-bubble--bot {
  align-self: flex-start;
  background: var(--mist);
  border: 1px solid var(--line);
  color: var(--text);
  border-radius: 14px 14px 14px 4px;
}

/* --------------------------------------------------------------------------
   AI section
   -------------------------------------------------------------------------- */

#ai {
  border-top: 1px solid var(--line);
}

#ai .section__head {
  max-width: 680px;
}

#ai .section__head .eyebrow {
  font-size: 11.5px;
}

#ai .section__head .h2 {
  margin-top: 14px;
  font-size: clamp(27px, 3.4vw, 40px);
  line-height: 1.14;
  letter-spacing: -0.026em;
  font-weight: 800;
}

#ai .section__head .lead {
  margin-top: 16px;
  font-size: 16.5px;
  line-height: 1.62;
  color: #33455e;
  font-weight: 450;
}

.ai__grid {
  margin-top: 44px;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: flex-start;
}

.ai__features {
  flex: 1 1 460px;
  min-width: 300px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.feat {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.feat__icon {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
}

.feat .h4 {
  margin: 0;
  font-size: 15.5px;
  font-weight: 700;
}

.feat p {
  margin: 6px 0 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}

#ai .card--quote {
  border-radius: 16px;
  padding: 20px 22px;
  box-shadow: var(--shadow-soft);
}

#ai .card--quote p {
  margin-top: 8px;
  color: var(--muted);
}

#ai .card--dark {
  background: linear-gradient(135deg, var(--ink), var(--ink-2));
  border: none;
  border-radius: 16px;
  padding: 20px 22px;
  box-shadow: var(--shadow);
}

#ai .card--dark b {
  display: block;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--emerald-glow);
}

#ai .card--dark p {
  margin-top: 10px;
  color: #cfdae8;
}

.ai__features > .btn {
  align-self: flex-start;
  border-radius: 13px;
  padding: 14px 24px;
  font-size: 14.5px;
  font-weight: 600;
}

.ai__demo {
  flex: 1 1 320px;
  min-width: 290px;
  max-width: 400px;
  margin: 0 auto;
}

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

/* --------------------------------------------------------------------------
   Phone demo
   -------------------------------------------------------------------------- */

.phone-demo {
  background: linear-gradient(160deg, #14395e, var(--ink-2));
  border-radius: 34px;
  padding: 10px;
  box-shadow: var(--shadow);
}

.phone-demo__screen {
  background: var(--panel);
  border-radius: 26px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 520px;
}

.phone-demo__head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 16px 12px;
  border-bottom: 1px solid var(--line);
}

.phone-demo__head b {
  font-size: 13.5px;
}

.phone-demo__avatar {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--ink), var(--ink-2));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone-demo__status {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 3px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--emerald);
}

.phone-demo__status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--emerald-bright);
  animation: dePulse 1.6s infinite;
}

.phone-demo__messages {
  flex: 1;
  overflow-y: auto;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  background: var(--alt);
}

.phone-demo__messages .chat-bubble {
  max-width: 88%;
  font-size: 13px;
  line-height: 1.5;
  padding: 9px 13px;
  border-radius: 13px;
}

.phone-demo__messages .chat-bubble--user {
  border-radius: 13px 13px 4px 13px;
}

.phone-demo__messages .chat-bubble--bot {
  background: var(--panel);
  border: 1px solid var(--line);
  color: #33455e;
  border-radius: 13px 13px 13px 4px;
}

.phone-demo__form {
  display: flex;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid var(--line);
}

.phone-demo__form input {
  flex: 1;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 13px;
  font-size: 13.5px;
  outline: none;
  color: var(--ink);
  background: var(--panel);
}

.phone-demo__form input:focus {
  border-color: var(--emerald);
  box-shadow: 0 0 0 3px rgba(46, 143, 91, 0.12);
}

.phone-demo__send {
  flex-shrink: 0;
  width: 44px;
  min-height: 44px;
  padding: 0;
  border: none;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--ink), var(--ink-2));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.25s;
}

.phone-demo__send:hover {
  transform: translateY(-1px);
}

.phone-demo__legal {
  margin: 0;
  padding: 0 12px 12px;
  font-size: 10.5px;
  line-height: 1.45;
  color: var(--faint);
}

.phone-demo__legal a {
  color: var(--soft);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.phone-demo__legal a:hover {
  color: var(--emerald);
}

/* --------------------------------------------------------------------------
   Economy
   -------------------------------------------------------------------------- */

#economy {
  border-top: 1px solid var(--line);
}

#economy .section__head {
  max-width: 680px;
}

#economy .section__head .eyebrow {
  font-size: 11.5px;
}

#economy .section__head .h2 {
  margin-top: 14px;
  font-size: clamp(27px, 3.4vw, 40px);
  line-height: 1.14;
  letter-spacing: -0.026em;
  font-weight: 800;
}

.economy__compare {
  margin-top: 42px;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.card--economy-muted {
  background: var(--alt);
  border-radius: 20px;
  padding: 28px;
}

.card--economy-muted .card__label--muted {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.card--economy-accent {
  background: var(--panel);
  border-color: var(--emerald-bright);
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 18px 44px -24px rgba(46, 143, 91, 0.35);
}

.card--economy-accent .card__label {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--emerald);
}

#economy .list-arrow {
  color: #33455e;
}

#economy .list-arrow li {
  display: block;
  position: relative;
  padding-left: 22px;
}

#economy .list-arrow li::before {
  position: absolute;
  left: 0;
  top: 0;
  color: #8ea1b5;
}

#economy .list-arrow--accent li::before {
  color: var(--emerald-bright);
}

.economy__bar {
  margin-top: 18px;
  border-radius: 20px;
  padding: 30px 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 18px 40px;
  align-items: center;
  background: linear-gradient(135deg, #14395e, var(--ink-2));
  color: #fff;
  box-shadow: var(--shadow);
}

.economy__stat {
  flex: 1 1 180px;
  min-width: 160px;
}

.economy__stat-label {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #9db3ca;
}

.economy__stat-value {
  margin-top: 8px;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.economy__stat-value--accent {
  color: var(--emerald-glow);
}

.economy__stat-note {
  margin-top: 3px;
  font-size: 13px;
  color: #cfdae8;
}

.economy__cta {
  flex: 0 0 auto;
  border-radius: 13px;
  padding: 14px 24px;
  font-size: 14.5px;
  font-weight: 650;
}

.callout--economy {
  background: var(--alt);
  border-radius: 16px;
  color: var(--muted);
}

.callout--economy::before {
  display: none;
}

.callout--economy svg {
  flex-shrink: 0;
  margin-top: 1px;
  color: var(--ink);
}

/* --------------------------------------------------------------------------
   Philosophy (#philosophy)
   -------------------------------------------------------------------------- */

#philosophy {
  border-top: 1px solid var(--line);
}

#philosophy .section__head {
  max-width: 680px;
}

#philosophy .section__head .eyebrow {
  font-size: 11.5px;
}

#philosophy .section__head .h2 {
  margin-top: 14px;
  font-size: clamp(27px, 3.4vw, 40px);
  line-height: 1.14;
  letter-spacing: -0.026em;
  font-weight: 800;
}

.philosophy__grid {
  margin-top: 42px;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 18px;
}

#philosophy .philosophy__grid .card {
  border-radius: 18px;
  padding: 26px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.28s, box-shadow 0.28s, border-color 0.22s;
}

#philosophy .philosophy__grid .card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(64, 176, 112, 0.35);
}

#philosophy .card__num {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--emerald-bright);
}

#philosophy .h3 {
  margin-top: 12px;
  font-size: 16.5px;
  font-weight: 700;
  line-height: 1.3;
}

#philosophy .card p {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   Demo (#demo)
   -------------------------------------------------------------------------- */

#demo .section__head {
  max-width: 680px;
}

#demo .section__head .eyebrow {
  font-size: 11.5px;
}

#demo .section__head .h2 {
  margin-top: 14px;
  font-size: clamp(27px, 3.4vw, 40px);
  line-height: 1.14;
  letter-spacing: -0.026em;
  font-weight: 800;
}

#demo .section__head .lead {
  margin-top: 16px;
  font-size: 16.5px;
  line-height: 1.62;
  color: #33455e;
  font-weight: 450;
}

.demo__grid {
  margin-top: 42px;
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: stretch;
}

.demo__preview {
  flex: 1 1 440px;
  min-width: 300px;
}

.demo__trigger,
.demo__link {
  display: block;
  width: 100%;
  text-align: left;
  cursor: pointer;
  overflow: hidden;
  padding: 0;
  text-decoration: none;
  color: inherit;
  border-radius: 20px;
  box-shadow: var(--shadow-soft);
  transition: box-shadow 0.3s, transform 0.3s;
}

.demo__trigger:hover,
.demo__link:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
  color: inherit;
}

.demo__browser-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  background: var(--alt);
}

.demo__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex-shrink: 0;
}

.demo__dot--red {
  background: #ff5f57;
}

.demo__dot--yellow {
  background: #febc2e;
}

.demo__dot--green {
  background: #28c840;
}

.demo__url {
  margin-left: 8px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
}

.demo__shot {
  display: block;
  width: 100%;
  height: auto;
}

.demo__trigger-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
}

.demo__trigger-foot > span:first-child {
  font-size: 14px;
  font-weight: 650;
  color: var(--ink);
}

.demo__trigger-note {
  font-size: 12.5px;
  color: var(--muted);
}

.demo__benefits {
  flex: 1 1 380px;
  min-width: 280px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  justify-content: center;
}

.demo__benefits .check-list {
  gap: 14px;
}

.demo__benefits .check-list li {
  display: block;
  position: relative;
  padding-left: 27px;
  font-size: 14.5px;
  line-height: 1.55;
  color: #33455e;
}

.demo__benefits .check-list li b {
  color: var(--ink);
  font-weight: 700;
}

.demo__benefits .check-list li::before {
  position: absolute;
  left: 0;
  top: 3px;
  margin-top: 0;
}

.card--demo-cta {
  margin-top: 10px;
  background: #f4f7f9;
  border-radius: 16px;
  padding: 18px 20px;
}

.card--demo-cta b {
  font-size: 14.5px;
  color: var(--ink);
}

.card--demo-cta p {
  margin-top: 7px;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--muted);
}

.card--demo-cta .btn {
  margin-top: 12px;
}

/* --------------------------------------------------------------------------
   Shield (#shield)
   -------------------------------------------------------------------------- */

#shield {
  border-top: 1px solid var(--line);
}

#shield .section__head {
  max-width: 680px;
}

#shield .section__head .eyebrow {
  font-size: 11.5px;
}

#shield .section__head .h2 {
  margin-top: 14px;
  font-size: clamp(27px, 3.4vw, 40px);
  line-height: 1.14;
  letter-spacing: -0.026em;
  font-weight: 800;
}

#shield .section__head .lead {
  margin-top: 16px;
  font-size: 16.5px;
  line-height: 1.62;
  color: #33455e;
  font-weight: 450;
}

#shield .grid-3--shield {
  margin-top: 42px;
  gap: 18px;
}

.card--shield {
  border-radius: 18px;
  padding: 24px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.28s, box-shadow 0.28s, border-color 0.22s;
}

#shield .card--shield:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(64, 176, 112, 0.35);
}

.card--shield .h4 {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--ink);
}

.card--shield .h4::before {
  content: "";
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='17' height='17' viewBox='0 0 24 24' fill='none' stroke='%2340b070' stroke-width='3'%3E%3Cpath d='m5 12 5 5 9-11'/%3E%3C/svg%3E");
}

.card--shield p {
  margin-top: 10px;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--muted);
}

.shield__form-wrap {
  margin-top: 42px;
  border-radius: 20px;
  padding: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  align-items: center;
  box-shadow: var(--shadow-soft);
}

.shield__form-text {
  flex: 1 1 320px;
  min-width: 260px;
}

.shield__form-text .h3 {
  font-size: 20px;
  font-weight: 750;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.shield__form-text p {
  margin-top: 8px;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--muted);
}

.shield__form {
  flex: 1 1 380px;
  min-width: 280px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.shield__form input {
  flex: 1 1 140px;
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 13px 15px;
  font-size: 14px;
  outline: none;
  color: var(--ink);
  background: var(--panel);
}

.shield__form input[name="phone"] {
  flex: 1 1 160px;
}

.shield__form .btn {
  flex: 1 1 100%;
  padding: 14px;
  font-size: 14.5px;
}

.shield__form .form__checkbox {
  flex: 1 1 100%;
  font-size: 12px;
}

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

.shield__form .form__legal a {
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   Accordion
   -------------------------------------------------------------------------- */

.accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 40px;
}

.accordion--narrow {
  max-width: 860px;
}

.accordion__item {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.accordion__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
  background: none;
  border: none;
  text-align: left;
  padding: 20px 24px;
  cursor: pointer;
  color: var(--ink);
  min-height: 44px;
  transition: background 0.25s;
}

.accordion__trigger:hover {
  background: #fafcfd;
}

.accordion--narrow .accordion__trigger {
  padding: 19px 24px;
}

.accordion__day {
  flex: 0 0 auto;
  min-width: 86px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
}

.accordion__num {
  flex: 0 0 auto;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--emerald);
}

.accordion__title-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.accordion__title-wrap b {
  font-size: 15.5px;
  font-weight: 650;
}

.accordion__title-wrap span {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--soft);
  font-weight: 400;
}

.accordion__fear {
  flex: 1;
  font-size: 15.5px;
  font-weight: 650;
  min-width: 0;
}

.accordion__icon {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--mist);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  color: var(--soft);
  transition: transform 0.25s, background 0.25s;
}

.accordion__trigger[aria-expanded="true"] .accordion__icon {
  transform: rotate(45deg);
  background: var(--primary-light);
  color: var(--emerald);
}

.accordion__panel {
  padding: 0 24px 22px;
}

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

.accordion__panel p {
  font-size: 14.5px;
  line-height: 1.65;
  color: #44566f;
  text-wrap: pretty;
}

.accordion--narrow .accordion__panel {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.accordion__cols {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.accordion__col {
  flex: 1 1 280px;
  min-width: 250px;
  background: var(--bg-muted);
  border: 1px solid var(--line-2);
  border-radius: 12px;
  padding: 16px 18px;
}

.accordion__col-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary);
}

.accordion__col:nth-child(2) .accordion__col-label {
  color: var(--soft);
}

.accordion__col p {
  margin-top: 8px;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--muted);
}

#faq-accordion .accordion__col {
  flex: 1 1 100%;
}

#faq-accordion .accordion__col p {
  margin-top: 0;
}

.guarantee-badge {
  display: flex;
  gap: 11px;
  background: var(--green-bg);
  border: 1px solid var(--green-line);
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 13.5px;
  line-height: 1.55;
  color: #1f5f3f;
}

.guarantee-badge::before {
  content: "✓";
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-top: 2px;
  font-size: 11px;
  font-weight: 700;
  color: var(--green);
}

/* --------------------------------------------------------------------------
   Pricing (#pricing)
   -------------------------------------------------------------------------- */

#pricing {
  border-top: 1px solid var(--line);
}

#pricing .section__head {
  max-width: 680px;
}

#pricing .section__head .eyebrow {
  font-size: 11.5px;
}

#pricing .section__head .h2 {
  margin-top: 14px;
  font-size: clamp(27px, 3.4vw, 40px);
  line-height: 1.14;
  letter-spacing: -0.026em;
  font-weight: 800;
}

#pricing .section__head .lead {
  margin-top: 16px;
  font-size: 16.5px;
  line-height: 1.62;
  color: #33455e;
  font-weight: 450;
}

#pricing .grid-3--pricing {
  margin-top: 42px;
  gap: 18px;
}

.price {
  margin-top: 12px;
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.price__value {
  font-size: 30px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.price__note {
  font-size: 13px;
  color: var(--muted);
}

.price__badge {
  position: absolute;
  top: -11px;
  left: 26px;
  background: linear-gradient(135deg, var(--emerald), var(--emerald-bright));
  color: #fff;
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
}

.price__feats {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.price__feat {
  display: flex;
  gap: 10px;
  font-size: 13.5px;
  line-height: 1.5;
  color: #33455e;
}

.price__feat::before {
  flex-shrink: 0;
  width: 15px;
  height: 15px;
  margin-top: 2px;
  display: block;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.price__feat--yes::before {
  content: "";
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='15' height='15' viewBox='0 0 24 24' fill='none' stroke='%2340b070' stroke-width='3'%3E%3Cpath d='m5 12 5 5 9-11'/%3E%3C/svg%3E");
}

.price__feat--no::before {
  content: "";
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='15' height='15' viewBox='0 0 24 24' fill='none' stroke='%23b7c6d4' stroke-width='3'%3E%3Cpath d='M6 6l12 12M18 6 6 18'/%3E%3C/svg%3E");
}

.price__support {
  background: var(--alt);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 15px 12px 41px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  position: relative;
  font-size: 13px;
  color: #33455e;
}

.price__support::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 13px;
  width: 15px;
  height: 15px;
  background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='15' height='15' viewBox='0 0 24 24' fill='none' stroke='%23103050' stroke-width='2'%3E%3Cpath d='M21 11.5a8.38 8.38 0 0 1-.9 3.8 8.5 8.5 0 0 1-7.6 4.7 8.38 8.38 0 0 1-3.8-.9L3 21l1.9-5.7a8.38 8.38 0 0 1-.9-3.8 8.5 8.5 0 0 1 4.7-7.6 8.38 8.38 0 0 1 3.8-.9h.5a8.48 8.48 0 0 1 8 8v.5Z'/%3E%3C/svg%3E");
}

.price__support-label {
  max-width: 180px;
  line-height: 1.35;
}

.price__support-value {
  flex-shrink: 0;
  text-align: right;
  line-height: 1.2;
  color: var(--muted);
}

.price__focus {
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
}

.price__focus b {
  color: var(--ink);
}

.card--pricing .h3 {
  margin-top: 8px;
  font-size: 19px;
  font-weight: 750;
  color: var(--ink);
}

.card--pricing .btn {
  margin-top: auto;
  min-height: 42px;
  border-radius: 13px;
  font-size: 14.5px;
}

/* --------------------------------------------------------------------------
   Quiz (#quiz) — prototip_4 logic, v11 styling
   -------------------------------------------------------------------------- */

#quiz .section__head .eyebrow {
  font-size: 11.5px;
}

#quiz .section__head .h2 {
  margin-top: 14px;
  font-size: clamp(27px, 3.4vw, 40px);
  line-height: 1.14;
  letter-spacing: -0.026em;
  font-weight: 800;
}

.quiz__kicker {
  color: var(--emerald);
}

@keyframes quiz-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.quiz-card {
  max-width: 640px;
  margin: 36px auto 0;
  border-radius: 22px;
  padding: 36px;
  box-shadow: var(--shadow-soft);
  background: linear-gradient(160deg, rgba(64, 176, 112, 0.06), var(--panel));
}

.quiz-progress {
  height: 5px;
  border-radius: 999px;
  background: var(--line);
  overflow: hidden;
  margin-bottom: 22px;
}

.quiz-progress i {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--emerald), var(--emerald-bright));
  transition: width 0.4s ease;
}

.quiz-step {
  display: none;
}

.quiz-step.on {
  display: block;
  animation: quiz-in 0.4s ease;
}

.quiz-q {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--emerald);
}

.quiz-card .h3 {
  margin: 10px 0 22px;
  font-size: clamp(21px, 2.6vw, 23px);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.2;
  color: var(--ink);
}

.quiz-opts {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.quiz-opt {
  display: flex;
  align-items: center;
  gap: 13px;
  width: 100%;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 15px 17px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  background: var(--panel);
  transition: border-color 0.2s, background 0.2s, transform 0.15s;
}

.quiz-opt:hover {
  border-color: var(--emerald-bright);
  background: #f5faf7;
  transform: translateX(3px);
}

.quiz-opt .qk {
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
  border-radius: 8px;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--emerald);
  background: var(--alt);
}

.quiz-back {
  background: none;
  border: 0;
  color: var(--muted);
  font-family: inherit;
  font-size: 13px;
  cursor: pointer;
  margin-top: 16px;
  padding: 4px 0;
}

.quiz-back:hover {
  color: var(--emerald);
}

.quiz-result {
  display: none;
}

.quiz-result.on {
  display: block;
  animation: quiz-in 0.4s ease;
}

.quiz-result__icon {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--green-bg);
  border: 1px solid var(--green-line);
  color: var(--emerald);
  margin-bottom: 16px;
}

.quiz-result__icon svg {
  width: 28px;
  height: 28px;
}

.quiz-result .h3 {
  margin: 0 0 8px;
}

.quiz-result > p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--muted);
}

.quiz-reco {
  margin: 18px 0;
  border-radius: 14px;
  padding: 18px 20px;
  text-align: left;
}

.quiz-reco__label {
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.quiz-reco__title {
  font-size: 19px;
  font-weight: 800;
  color: var(--ink);
  margin-top: 5px;
}

.quiz-reco__desc {
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
  margin-top: 6px;
}

.quiz-result__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 10px;
  max-width: 520px;
  margin: 18px auto 0;
}

.quiz-result__actions .btn {
  min-height: 46px;
  padding: 12px 18px;
  font-size: 14px;
  line-height: 1.2;
}

.quiz-result__actions .btn-dark {
  flex: 1 1 260px;
  max-width: 100%;
}

.quiz-result__actions .btn-outline {
  flex: 1 1 180px;
  max-width: 100%;
}

.quiz-result .quiz-back {
  display: block;
  margin: 16px auto 0;
}

/* --------------------------------------------------------------------------
   About
   -------------------------------------------------------------------------- */

.about__commitment {
  margin-top: 18px;
  padding: 26px 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
}

.about__commitment-text {
  flex: 1 1 400px;
  min-width: 280px;
}

.about__commitment-text b {
  font-size: 15px;
  color: var(--ink);
}

.about__commitment-text .check-list {
  margin-top: 10px;
}

.about__commitment-text .check-list li {
  font-size: 14px;
  color: var(--muted);
}

.about__tags {
  flex: 1 1 300px;
  min-width: 260px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.about__tags span {
  background: var(--bg-muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 13px;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   Lead (#lead) — prototip_4 layout, v11 styling
   -------------------------------------------------------------------------- */

#lead {
  border-top: 1px solid var(--line);
}

#lead .section__head {
  max-width: 680px;
}

.lead-final {
  border-radius: 26px;
  padding: clamp(36px, 4vw, 54px);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  background: linear-gradient(160deg, rgba(64, 176, 112, 0.07), var(--panel) 55%);
}

.lead-final::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 26px;
  pointer-events: none;
  background: radial-gradient(600px 300px at 85% 0%, rgba(64, 176, 112, 0.12), transparent 65%);
}

.lead-final__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 46px;
  position: relative;
}

.lead-final__content .eyebrow {
  font-size: 11.5px;
}

.lead-final__content .h2 {
  margin-top: 14px;
  font-size: clamp(27px, 3.4vw, 40px);
  line-height: 1.14;
  letter-spacing: -0.026em;
  font-weight: 800;
}

.lead-final__kicker {
  color: var(--emerald);
}

.lead-final__content > .lead {
  margin-top: 16px;
  font-size: 16.5px;
  line-height: 1.62;
  color: #33455e;
  font-weight: 450;
}

.lead-get-list {
  margin-top: 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.lead-get-list__title {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.lead-get {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 15px;
  color: #33455e;
  line-height: 1.5;
}

.lead-get b {
  color: var(--ink);
  font-weight: 700;
}

.lead-get__icon {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  border-radius: 7px;
  background: var(--green-bg);
  border: 1px solid var(--green-line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--emerald);
  margin-top: 1px;
}

.lead-get__icon svg {
  width: 13px;
  height: 13px;
}

.lead-final__checklist {
  margin-top: 22px;
}

.lead-final__aside {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.lead-form {
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.lead-form.hide {
  display: none;
}

.lead-field label {
  display: block;
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 7px;
}

.lead-field input {
  width: 100%;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
  color: var(--ink);
  font-size: 15px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
}

.lead-field input:focus {
  border-color: var(--emerald-bright);
}

.lead-field input::placeholder {
  color: var(--faint);
}

.lead-consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 11.5px;
  color: var(--muted);
  line-height: 1.5;
  margin-top: 2px;
}

.lead-consent input {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  margin-top: 1px;
  accent-color: var(--emerald);
}

.lead-consent a {
  color: var(--emerald);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.lead-form__submit {
  width: 100%;
  justify-content: center;
  font-size: 16px;
  padding: 16px 22px;
  margin-top: 4px;
}

.lead-alt {
  display: flex;
  gap: 10px;
  margin-top: 6px;
}

.lead-alt a {
  flex: 1;
  justify-content: center;
  font-size: 14px;
  padding: 12px 14px;
  gap: 8px;
}

.lead-alt svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.lead-alt__tg {
  border-color: rgba(6, 182, 212, 0.35);
  color: #0e7490;
  background: rgba(6, 182, 212, 0.08);
}

.lead-alt__tg:hover {
  border-color: #0e7490;
  color: #0e7490;
  background: rgba(6, 182, 212, 0.12);
}

.lead-alt__max-icon {
  width: 16px;
  height: 16px;
  border-radius: 5px;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
}

.lead-alt__max {
  border-color: rgba(16, 48, 80, 0.22);
  color: var(--ink);
  background: var(--mist);
}

.lead-alt__max:hover {
  border-color: var(--ink);
  color: var(--ink);
  background: #e8eef3;
}

.lead-ok {
  display: none;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 8px 0;
}

.lead-ok.show {
  display: flex;
}

.lead-ok__icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--green-bg);
  border: 1px solid var(--green-line);
  color: var(--emerald);
}

.lead-ok__icon svg {
  width: 28px;
  height: 28px;
}

.lead-ok .h3 {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 0;
}

.lead-ok p {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}

.lead-risk {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-top: 4px;
}

.lead-risk__item {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.45;
}

.lead-risk__item b {
  color: var(--ink);
  font-weight: 600;
}

.lead-risk__item svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  color: var(--emerald);
  margin-top: 1px;
}

.lead-contact {
  margin-top: 6px;
  border-top: 1px solid var(--line);
  padding-top: 22px;
}

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

.lead-contact__ava {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  flex: 0 0 auto;
  background: linear-gradient(135deg, var(--ink), var(--ink-2));
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 18px;
  color: var(--emerald-bright);
}

.lead-contact__name {
  font-weight: 700;
  font-size: 16px;
  color: var(--ink);
}

.lead-contact__name small {
  display: block;
  font-size: 12.5px;
  color: var(--muted);
  font-weight: 500;
  margin-top: 2px;
}

.lead-contact__rows {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.lead-contact__rows a {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 14.5px;
  color: var(--muted);
  transition: color 0.2s;
}

.lead-contact__rows a:hover {
  color: var(--emerald);
}

.lead-contact__rows a svg {
  width: 17px;
  height: 17px;
  color: var(--emerald);
  flex-shrink: 0;
}

.lead-contact__max-icon {
  width: 17px;
  height: 17px;
  border-radius: 5px;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
}

.lead-contact__lbl {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--faint);
  margin-left: auto;
}

/* --------------------------------------------------------------------------
   Forms (shared)
   -------------------------------------------------------------------------- */

.form__label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}

.form__label input {
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 13px 15px;
  font-size: 14.5px;
  font-weight: 400;
  outline: none;
  color: var(--ink);
  background: var(--panel);
}

.form__checkbox {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--soft);
  cursor: pointer;
}

.form__checkbox input {
  margin-top: 2px;
  flex-shrink: 0;
  width: 17px;
  height: 17px;
  accent-color: var(--emerald);
}

.form__checkbox a {
  color: var(--emerald);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form__legal {
  font-size: 11.5px;
  color: var(--faint);
  line-height: 1.45;
}

.form__legal a {
  color: var(--soft);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form-success {
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius);
  background: #eff9f3;
  border: 1px solid #c9e9d6;
  color: var(--ink);
  line-height: 1.5;
}

.form-success h3 {
  margin: 0 0 0.5rem;
  font-size: 1.125rem;
}

.form-success p {
  margin: 0;
  color: var(--soft);
}

input:focus,
textarea:focus {
  border-color: var(--emerald);
  box-shadow: 0 0 0 3px rgba(46, 143, 91, 0.12);
}

/* --------------------------------------------------------------------------
   Demo modal (BEM: modal__)
   -------------------------------------------------------------------------- */

.modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal[hidden],
.chat-panel[hidden],
.float-cta[hidden],
.scroll-top[hidden],
.chat-launcher[hidden],
.cookie-banner[hidden] {
  display: none !important;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(16, 48, 80, 0.45);
  cursor: pointer;
}

.modal__dialog {
  position: relative;
  background: var(--panel);
  border-radius: 20px;
  width: 100%;
  max-width: 860px;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 24px;
  border-bottom: 1px solid var(--line-2);
}

.modal__head .demo__browser-bar {
  flex: 1;
  border-bottom: none;
  padding: 0;
}

.modal__close {
  background: none;
  border: none;
  font-size: 24px;
  color: var(--faint);
  cursor: pointer;
  line-height: 1;
  padding: 4px;
  flex-shrink: 0;
}

.modal__close:hover {
  color: var(--ink);
}

.modal__body {
  overflow-y: auto;
}

.demo-modal__hero {
  background: linear-gradient(135deg, #14395e, var(--ink-2));
  color: #fff;
  padding: 52px 44px;
}

.demo-modal__hero .demo__tag {
  font-size: 12px;
}

.demo-modal__hero .demo__clinic-name {
  font-size: 38px;
  margin-top: 10px;
}

.demo-modal__hero p {
  font-size: 16px;
  opacity: 0.9;
  margin-top: 8px;
}

.demo-modal__hero .demo__chips {
  margin-top: 24px;
  gap: 10px;
}

.demo-modal__hero .demo__chips span {
  padding: 7px 15px;
  font-size: 13px;
}

.demo-modal__hero .btn-light {
  display: inline-flex;
  margin-top: 26px;
  pointer-events: none;
}

.demo-modal__section {
  padding: 28px 44px 8px;
}

.demo-modal__label {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--faint);
}

.demo-modal__section .grid-2 {
  margin-top: 14px;
  gap: 14px;
}

.demo-modal__doctor {
  border: 1px solid var(--line-2);
  border-radius: 14px;
  padding: 18px;
  display: flex;
  gap: 13px;
  align-items: center;
}

.demo-modal__doctor b {
  font-size: 14.5px;
}

.demo-modal__doctor span {
  display: block;
  font-size: 12.5px;
  color: var(--soft);
  line-height: 1.35;
}

.demo-modal__quote {
  font-size: 12px !important;
  color: var(--faint) !important;
  margin-top: 4px;
}

.demo-modal__prices {
  margin-top: 14px;
  border: 1px solid var(--line-2);
  border-radius: 14px;
  overflow: hidden;
}

.demo-modal__price-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--mist);
  font-size: 14px;
}

.demo-modal__price-row:last-child {
  border-bottom: none;
}

.demo-modal__price-row span {
  color: var(--text);
}

.demo-modal__price-row small {
  color: var(--faint);
}

.demo-modal__price-row b {
  white-space: nowrap;
}

.demo-modal__faq {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 13.5px;
  line-height: 1.55;
}

.demo-modal__faq-item {
  border: 1px solid var(--line-2);
  border-radius: 12px;
  padding: 13px 16px;
}

.demo-modal__faq-item b {
  color: var(--ink);
}

.demo-modal__contacts {
  padding: 24px 44px 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  font-size: 13.5px;
  color: var(--muted);
}

.demo-modal__foot {
  margin: 16px 44px 28px;
  border-top: 1px solid var(--line-2);
  padding-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}

.demo-modal__foot p {
  font-size: 13px;
  color: var(--faint);
  max-width: 440px;
  line-height: 1.5;
  margin: 0;
}

/* --------------------------------------------------------------------------
   Privacy modal (kebab-case)
   -------------------------------------------------------------------------- */

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(16, 48, 80, 0.45);
  cursor: pointer;
}

.modal-panel {
  position: relative;
  background: var(--panel);
  border-radius: 20px;
  width: 100%;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.modal-panel--md {
  max-width: 640px;
}

.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 26px;
  border-bottom: 1px solid var(--line-2);
}

.modal-head b {
  font-size: 17px;
}

.modal-close {
  background: none;
  border: none;
  font-size: 24px;
  color: var(--faint);
  cursor: pointer;
  line-height: 1;
  padding: 4px;
}

.modal-close:hover {
  color: var(--ink);
}

.modal-body {
  overflow-y: auto;
  padding: 22px 26px;
}

.modal-body.prose {
  font-size: 14px;
  line-height: 1.65;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.modal-body.prose p {
  margin: 0;
}

.modal-body.prose b {
  color: var(--ink);
}

/* --------------------------------------------------------------------------
   Legal pages (152-FZ)
   -------------------------------------------------------------------------- */

.legal-page {
  padding-bottom: 48px;
}

.legal-page__doc {
  max-width: 760px;
}

.legal-page__meta {
  margin-top: 14px;
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.55;
  color: var(--muted);
}

.legal-prose {
  margin-top: 36px;
  font-size: 14.5px;
  line-height: 1.68;
  color: var(--text);
}

.legal-prose h2 {
  margin-top: 28px;
  margin-bottom: 10px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.legal-prose h2:first-child {
  margin-top: 0;
}

.legal-prose p,
.legal-prose ul {
  margin-top: 10px;
}

.legal-prose ul {
  padding-left: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.legal-prose a {
  color: var(--emerald);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-prose__note {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   Cookie banner
   -------------------------------------------------------------------------- */

.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 68;
  pointer-events: none;
}

.cookie-banner__panel {
  pointer-events: auto;
  max-width: 920px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-soft);
}

.cookie-banner__text {
  margin: 0;
  flex: 1;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--text);
}

.cookie-banner__text a {
  color: var(--emerald);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-banner__accept {
  flex-shrink: 0;
  white-space: nowrap;
}

body.has-cookie-banner .scroll-top {
  bottom: 92px;
}

body.has-cookie-banner.has-float-cta .scroll-top {
  bottom: 168px;
}

body.has-cookie-banner .float-cta {
  bottom: 92px;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 44px 0 120px;
  background: var(--panel);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 32px;
  align-items: center;
  justify-content: space-between;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--emerald);
}

.footer-logo {
  flex-shrink: 0;
  width: 34px;
  height: 24px;
  object-fit: contain;
}

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

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
}

.link-btn {
  background: none;
  border: none;
  padding: 0;
  color: var(--soft);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  font-size: 13px;
}

.link-btn:hover {
  color: var(--emerald);
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  font-size: 12.5px;
  color: var(--faint);
  border-top: 1px solid var(--mist);
  padding-top: 20px;
}

.footer-disclaimer {
  font-size: 12px;
  line-height: 1.6;
  color: #b6c2d1;
  max-width: 860px;
}

/* --------------------------------------------------------------------------
   Chat widget
   -------------------------------------------------------------------------- */

.chat-launcher {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 60;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--ink), var(--ink-2));
  border: none;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 32px -8px rgba(16, 48, 80, 0.5);
  transition: background 0.2s, transform 0.2s;
}

.chat-launcher:hover {
  background: linear-gradient(135deg, var(--ink-2), var(--ink));
  color: #fff;
  transform: scale(1.04);
}

.chat-panel {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 70;
  width: min(380px, calc(100vw - 32px));
  height: min(560px, calc(100vh - 60px));
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.chat-panel-head {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 15px 16px;
  border-bottom: 1px solid var(--line-2);
}

.chat-avatar {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--ink), var(--ink-2));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.chat-panel-title {
  flex: 1;
  line-height: 1.25;
  min-width: 0;
}

.chat-panel-title b {
  font-size: 14px;
}

.chat-panel-title span {
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--emerald);
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--bg-muted);
}

.chat-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px 14px;
  border-top: 1px solid var(--line-2);
}

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

.chat-suggestions button {
  background: var(--bg-muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 13px;
  font-size: 12.5px;
  color: var(--muted);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}

.chat-suggestions button:hover {
  border-color: var(--emerald-bright);
  color: var(--emerald);
}

.chat-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 14px;
  border-top: 1px solid var(--line-2);
}

.chat-form__row {
  display: flex;
  gap: 8px;
}

.chat-form__legal {
  margin: 0;
  font-size: 10.5px;
  line-height: 1.45;
  color: var(--faint);
}

.chat-form__legal a {
  color: var(--soft);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.chat-form__legal a:hover {
  color: var(--emerald);
}

.chat-form input {
  flex: 1;
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 11px 14px;
  font-size: 14px;
  outline: none;
  color: var(--ink);
  background: var(--panel);
}

.chat-form button {
  background: linear-gradient(135deg, var(--ink), var(--ink-2));
  color: #fff;
  border: none;
  border-radius: 11px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s, transform 0.2s;
}

.chat-form button:hover {
  background: linear-gradient(135deg, var(--ink-2), var(--ink));
  color: #fff;
}

/* --------------------------------------------------------------------------
   Float CTA & scroll top
   -------------------------------------------------------------------------- */

.float-cta {
  position: fixed;
  left: 16px;
  right: 88px;
  bottom: 16px;
  z-index: 60;
}

.float-cta .btn {
  box-shadow: 0 12px 32px -8px rgba(16, 48, 80, 0.4);
  border-radius: 14px;
  padding: 16px;
  font-size: 15px;
}

.scroll-top {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 55;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px 10px 11px;
  border-radius: 14px;
  cursor: pointer;
  font-family: inherit;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--line);
  color: var(--ink);
  box-shadow: 0 8px 24px rgba(16, 48, 80, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px) scale(0.96);
  pointer-events: none;
  transition:
    opacity 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0.38s,
    border-color 0.22s,
    box-shadow 0.22s;
}

.scroll-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
  animation:
    scrollTopEnter 0.48s cubic-bezier(0.22, 1, 0.36, 1),
    scrollTopFloat 3.2s ease-in-out 0.55s infinite,
    scrollTopGlow 3.2s ease-in-out 0.55s infinite;
}

.scroll-top:hover {
  border-color: var(--emerald-bright);
  color: var(--emerald);
  animation: none;
  transform: translateY(-3px);
  box-shadow: 0 14px 32px -10px rgba(16, 48, 80, 0.22), 0 0 0 4px rgba(64, 176, 112, 0.12);
}

.scroll-top:active {
  transform: translateY(-1px) scale(0.98);
}

.scroll-top__icon {
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  border-radius: 9px;
  background: var(--green-bg);
  border: 1px solid var(--green-line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--emerald);
  transition: background 0.22s, border-color 0.22s;
}

.scroll-top:hover .scroll-top__icon {
  background: #e4f7ec;
  border-color: var(--emerald-bright);
}

.scroll-top__icon svg {
  width: 17px;
  height: 17px;
  animation: scrollTopArrow 2s ease-in-out infinite;
}

.scroll-top:hover .scroll-top__icon svg {
  animation: none;
  transform: translateY(-2px);
}

.scroll-top__label {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  padding-right: 2px;
}

body.has-float-cta .scroll-top {
  bottom: 88px;
}

/* --------------------------------------------------------------------------
   Scroll reveal
   -------------------------------------------------------------------------- */

[data-rv] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-rv].in {
  opacity: 1;
  transform: none;
}

/* --------------------------------------------------------------------------
   Typing indicator (chat / demo JS)
   -------------------------------------------------------------------------- */

@keyframes dotPulse {
  0%, 80%, 100% { opacity: 0.25; }
  40% { opacity: 1; }
}

.typing-dots {
  align-self: flex-start;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 11px 14px;
  display: flex;
  gap: 4px;
}

.typing-dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--faint);
  animation: dotPulse 1s infinite;
}

.typing-dots span:nth-child(2) {
  animation-delay: 0.2s;
}

.typing-dots span:nth-child(3) {
  animation-delay: 0.4s;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 880px) {
  .nav-desktop {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .section {
    padding: 74px 0;
  }

  .hero {
    padding: 64px 0 72px;
  }

  .hero__stage {
    min-height: auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-width: none;
  }

  .hero__stage-inner {
    min-height: auto;
    perspective: none;
  }

  .hero__revenue,
  .hero__chat-card,
  .hero__badge {
    position: static;
    width: 100%;
    transform: none;
    will-change: auto;
  }

  .quiz-result__actions {
    max-width: 100%;
    margin-top: 16px;
  }

  .quiz-result__actions .btn-dark,
  .quiz-result__actions .btn-outline {
    flex: 1 1 100%;
    width: 100%;
  }

  .quiz-card {
    padding: 28px 22px;
  }

  .grid-2,
  .grid-3,
  .grid-3--timeline,
  .grid-3--features,
  .grid-3--shield,
  .grid-3--pricing {
    grid-template-columns: 1fr;
  }

  .ai__grid {
    flex-direction: column;
  }

  .demo__grid {
    flex-direction: column;
  }

  .economy__cta {
    width: 100%;
    text-align: center;
  }

  .demo-modal__hero {
    padding: 36px 24px;
  }

  .demo-modal__section,
  .demo-modal__contacts {
    padding-left: 24px;
    padding-right: 24px;
  }

  .demo-modal__foot {
    margin-left: 24px;
    margin-right: 24px;
    flex-direction: column;
    align-items: stretch;
  }

  .demo-modal__foot .btn {
    width: 100%;
    text-align: center;
  }

  .lead-final {
    padding: 36px 26px;
  }

  .lead-final__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .lead-alt {
    flex-direction: column;
  }

  .chat-panel {
    right: 8px;
    bottom: 8px;
    width: calc(100vw - 16px);
    height: min(560px, calc(100vh - 24px));
  }

  .chat-launcher {
    right: 12px;
    bottom: 12px;
  }

  .float-cta {
    left: 12px;
    right: 12px;
  }

  .scroll-top {
    left: 12px;
    bottom: 12px;
    padding: 9px 13px 9px 9px;
    gap: 8px;
  }

  .scroll-top__icon {
    width: 30px;
    height: 30px;
  }

  .scroll-top__label {
    font-size: 13px;
  }

  .cookie-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
  }

  .cookie-banner__panel {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .cookie-banner__accept {
    width: 100%;
    justify-content: center;
  }

  body.has-cookie-banner .scroll-top {
    bottom: 128px;
  }

  body.has-cookie-banner.has-float-cta .scroll-top {
    bottom: 204px;
  }

  body.has-cookie-banner .float-cta {
    bottom: 128px;
  }

  body.has-float-cta .scroll-top {
    bottom: 84px;
  }

  /* Раскладка внешнего AI-виджета (SmartBox) — поднимаем над мобильной панелью CTA,
     на уровень кнопки «Вверх». Стили виджета внедряются позже, поэтому !important. */
  body.has-float-cta #ai-widget-root {
    bottom: 84px !important;
  }

  body.has-cookie-banner #ai-widget-root {
    bottom: 128px !important;
  }

  body.has-cookie-banner.has-float-cta #ai-widget-root {
    bottom: 204px !important;
  }
}

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

  .atmosphere__orb--a,
  .atmosphere__orb--b {
    animation: none;
  }

  [data-rv] {
    transition: none;
    opacity: 1;
    transform: none;
  }

  .quiz-step.on,
  .quiz-result.on {
    animation: none;
  }

  .typing-dots span {
    animation: none;
    opacity: 0.5;
  }

  .btn,
  .card--pricing,
  #value .card--muted,
  #value .grid-3--features .card,
  #philosophy .philosophy__grid .card,
  #shield .card--shield,
  .quiz-opt,
  .demo__trigger,
  .demo__link,
  .scroll-top,
  .scroll-top.is-visible,
  .scroll-top__icon svg {
    animation: none !important;
    transition: none;
  }

  .scroll-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .chat-launcher,
  .accordion__icon {
    transition: none;
  }
}
