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

:root {
  --blue: #0055ff;
  --blue-light: #e8f0ff;
  --blue-glass: rgba(0, 85, 255, 0.85);
  --text: #0e1016;
  --text-secondary: #16191b;
  --muted: #5c6e92;
  --muted-light: #8295ba;
  --bg: #ffffff;
  --border: #e4eaf4;
  --green: #22c55e;
  --yellow: #f59e0b;
  --red: #ef4444;
  --radius: 16px;
  --radius-lg: 24px;
  --font: 'Manrope', system-ui, sans-serif;
  --container: min(1200px, calc(100% - 48px));
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

.container {
  width: var(--container);
  margin: 0 auto;
}

.page-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(0, 85, 255, 0.12), transparent),
    radial-gradient(ellipse 60% 40% at 80% 10%, rgba(147, 112, 219, 0.08), transparent),
    #fff;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(16px);
}

.header__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-self: start;
  flex-shrink: 0;
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.18px;
}

.logo__icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  background: var(--blue);
  color: white;
  border-radius: 10px;
}

.nav {
  grid-column: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex-wrap: nowrap;
}

.header__actions {
  grid-column: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  justify-self: end;
}

.nav a {
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--text-secondary);
  letter-spacing: -0.14px;
  white-space: nowrap;
  transition: color 0.2s;
}

.nav a:hover {
  color: var(--blue);
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 17px 32px;
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.18px;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}

.btn--primary {
  background: var(--blue);
  color: white;
}

.btn--primary:hover {
  background: #0044cc;
  transform: translateY(-1px);
}

.btn--secondary {
  background: rgba(0, 0, 0, 0.04);
  color: var(--text-secondary);
  border: 1px solid var(--border);
}

.btn--secondary:hover {
  background: rgba(0, 0, 0, 0.06);
}

.btn--outline {
  background: transparent;
  color: var(--blue);
  border: 1.5px solid var(--blue);
  padding: 14px 28px;
  font-size: 14px;
}

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

.btn--full {
  width: 100%;
  font-size: 14px;
  padding: 17px;
}

.btn--sm {
  padding: 12px 24px;
  font-size: 14px;
}

.header__cta {
  white-space: nowrap;
}

.header__login {
  white-space: nowrap;
}

/* Hero */
.hero {
  padding: 56px 0 64px;
}

.hero__layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.hero__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  max-width: 1100px;
  padding: 16px 0;
}

.hero h1 {
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: clamp(28px, 4.2vw, 52px);
  font-weight: 500;
  line-height: 1.22;
  letter-spacing: -1.56px;
  text-transform: uppercase;
  margin-bottom: 0;
  max-width: 920px;
  width: 100%;
  color: var(--text);
}

.hero__lead {
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 500;
  color: var(--muted);
  letter-spacing: -0.2px;
  line-height: 1.45;
  max-width: 920px;
  width: 100%;
  margin: 28px auto 36px;
}

.hero-inn-form {
  padding: 28px 36px;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 48px rgba(0, 85, 255, 0.1);
  width: 100%;
  max-width: 920px;
  text-align: left;
}

.hero-badges {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.hero-badges--in-hero {
  width: 100%;
  max-width: 920px;
  margin-top: 8px;
}

.hero-badge {
  padding: 18px 16px;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
}

.hero-badge strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 4px;
}

.hero-badge span {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.35;
}

/* Hero visual */
.hero__visual {
  position: relative;
  min-height: 420px;
  background: linear-gradient(160deg, #e8f0ff 0%, #f4f8ff 50%, #ffffff 100%);
  border: 1px solid rgba(0, 85, 255, 0.1);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.hero__scene {
  position: absolute;
  left: 50%;
  top: 46%;
  transform: translate(-50%, -50%);
  width: 100%;
  max-width: 360px;
  height: 280px;
}

.scene__glow {
  position: absolute;
  inset: -40px;
  background: radial-gradient(circle, rgba(0, 85, 255, 0.15), transparent 70%);
  border-radius: 50%;
}

.scene__platform {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 360px;
  height: 120px;
  background: linear-gradient(180deg, rgba(255,255,255,0.9), rgba(232,240,255,0.6));
  border-radius: 50%;
  box-shadow: 0 20px 60px rgba(0, 85, 255, 0.15);
}

.scene__doc {
  position: absolute;
  left: 50%;
  top: 40px;
  transform: translateX(-50%) rotate(-3deg);
  width: 140px;
  height: 180px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
  padding: 16px;
}

.scene__doc-header {
  width: 60%;
  height: 8px;
  background: var(--blue-light);
  border-radius: 4px;
  margin-bottom: 12px;
}

.scene__doc-line {
  height: 6px;
  background: #f0f4fa;
  border-radius: 3px;
  margin-bottom: 8px;
}

.scene__doc-line--short {
  width: 70%;
}

.scene__doc-badge {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 14px;
  background: var(--blue);
  color: white;
  font-size: 11px;
  font-weight: 600;
  border-radius: 8px;
  white-space: nowrap;
}

.scene__ribbon {
  position: absolute;
  right: 60px;
  top: 60px;
  width: 120px;
  height: 80px;
  background: linear-gradient(135deg, #c4b5fd, #a78bfa);
  border-radius: 40px 40px 40px 8px;
  opacity: 0.7;
  transform: rotate(15deg);
  filter: blur(0.5px);
}

.scene__bars {
  position: absolute;
  left: 80px;
  bottom: 80px;
  display: flex;
  align-items: flex-end;
  gap: 8px;
}

.scene__bar {
  width: 24px;
  background: linear-gradient(180deg, #60a5fa, var(--blue));
  border-radius: 6px 6px 2px 2px;
  opacity: 0.8;
}

.scene__clock {
  position: absolute;
  right: 100px;
  bottom: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 12px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 85, 255, 0.15);
  font-size: 14px;
  font-weight: 700;
  color: var(--blue);
}

/* Float card */
.hero__float-card {
  position: absolute;
  right: 0;
  bottom: 24px;
  width: 240px;
  padding: 24px;
  background: var(--blue-glass);
  backdrop-filter: blur(20px);
  border-radius: var(--radius-lg);
  color: white;
}

.float-card__icon {
  margin-bottom: 16px;
  opacity: 0.9;
}

.float-card__title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}

.float-card__text {
  font-size: 14px;
  font-weight: 500;
  opacity: 0.85;
  line-height: 1.5;
  margin-bottom: 24px;
}

.float-card__dots {
  display: flex;
  gap: 6px;
}

.float-card__dots span {
  display: block;
  height: 3px;
  flex: 1;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
  transition: background 0.3s;
}

.float-card__dots span.active {
  background: white;
}

/* Dashboard */
.hero-inn-form__label {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.15px;
  margin-bottom: 14px;
  color: var(--text-secondary);
}

.hero-inn-form__row {
  display: flex;
  gap: 10px;
}

.hero-inn-form__row input {
  flex: 1;
  min-width: 0;
  padding: 15px 18px;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  background: #f8fafc;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.hero-inn-form__row input:focus {
  outline: none;
  border-color: var(--blue);
  background: white;
  box-shadow: 0 0 0 4px rgba(0, 85, 255, 0.1);
}

.hero-inn-form__row .btn {
  flex-shrink: 0;
  padding: 15px 28px;
  font-size: 15px;
  white-space: nowrap;
}

.hero-inn-form__note {
  margin-top: 12px;
  font-size: 11px;
  color: var(--muted-light);
  line-height: 1.4;
}

/* Wizard */
.wizard-progress {
  display: flex;
  gap: 6px;
  margin-bottom: 20px;
}

.wizard-progress span {
  flex: 1;
  height: 3px;
  background: var(--border);
  border-radius: 2px;
  transition: background 0.2s;
}

.wizard-progress span.active,
.wizard-progress span.done {
  background: var(--blue);
}

.wizard-step {
  display: none;
}

.wizard-step.active {
  display: block;
}

.wizard-desc {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 14px;
}

.hero-inn-form__row .btn:disabled {
  opacity: 0.7;
  cursor: wait;
}

.wizard-error {
  color: #dc2626;
  font-size: 13px;
  margin-top: 10px;
  font-weight: 500;
}

.wizard-error[hidden] {
  display: none;
}

.wizard-next {
  margin-top: 16px;
  margin-bottom: 8px;
}

.btn--ghost-sm {
  background: none;
  border: none;
  color: var(--muted);
  font-family: inherit;
  font-size: 13px;
  cursor: pointer;
  padding: 8px 0;
}

.btn--ghost-sm:hover {
  color: var(--blue);
}

.company-card {
  background: #f8fafc;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 4px;
}

.company-card__name {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
}

.company-card__full {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 12px;
  line-height: 1.4;
}

.company-card__meta {
  display: grid;
  gap: 8px;
}

.company-card__meta div {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 8px;
  font-size: 13px;
}

.company-card__meta dt {
  color: var(--muted);
  font-weight: 500;
}

.company-card__meta dd {
  font-weight: 500;
  margin: 0;
}

.company-card__hint {
  margin-top: 12px;
  font-size: 11px;
  color: var(--warning, #d97706);
}

.dashboard-wrap {
  margin-top: 32px;
  position: relative;
  z-index: 2;
}

.dashboard {
  display: flex;
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  border: 1px solid var(--border);
}

.dashboard__sidebar {
  width: 56px;
  padding: 20px 12px;
  background: #f8fafc;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.dashboard__logo-dot {
  width: 24px;
  height: 24px;
  background: var(--blue);
  border-radius: 8px;
}

.dashboard__nav-item {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #e4eaf4;
}

.dashboard__nav-item.active {
  background: var(--blue-light);
}

.dashboard__main {
  flex: 1;
  padding: 24px 28px;
}

.dashboard__tabs {
  display: flex;
  gap: 24px;
  margin-bottom: 24px;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
}

.dashboard__tabs .active {
  color: var(--text);
}

.dashboard__cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.dash-card {
  padding: 16px;
  border-radius: 12px;
  color: white;
}

.dash-card--blue { background: linear-gradient(135deg, #3b82f6, #2563eb); }
.dash-card--green { background: linear-gradient(135deg, #34d399, #059669); }
.dash-card--yellow { background: linear-gradient(135deg, #fbbf24, #d97706); }
.dash-card--red { background: linear-gradient(135deg, #f87171, #dc2626); }

.dash-card__label {
  font-size: 11px;
  opacity: 0.85;
  display: block;
  margin-bottom: 4px;
}

.dash-card__value {
  font-size: 28px;
  font-weight: 600;
  display: block;
  line-height: 1.1;
}

.dash-card__sub {
  font-size: 11px;
  opacity: 0.75;
}

.dashboard__chart {
  background: #f8fafc;
  border-radius: 12px;
  padding: 20px;
}

.chart__title {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--text-secondary);
}

.chart__bars {
  display: flex;
  align-items: flex-end;
  gap: 20px;
  height: 100px;
}

.chart__bar {
  flex: 1;
  height: var(--h);
  background: linear-gradient(180deg, #60a5fa, var(--blue));
  border-radius: 6px 6px 2px 2px;
  position: relative;
  min-width: 40px;
}

.chart__bar span {
  position: absolute;
  bottom: -22px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  color: var(--muted);
  white-space: nowrap;
}

/* Message types */
.section-types {
  padding: 80px 0;
  background: #f8fafc;
}

.types-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.types-grid span,
.types-grid__link {
  padding: 10px 18px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}

.types-grid__link:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: var(--blue-light);
}

/* Nav dropdown */
.nav-dd {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-dd__trigger,
.nav-dd__toggle {
  appearance: none;
  border: none;
  background: none;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 0;
  letter-spacing: -0.14px;
}

.nav-dd__trigger {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.nav-dd__trigger::after {
  content: '▾';
  font-size: 11px;
  opacity: 0.55;
  line-height: 1;
}

.nav-dd__trigger:hover,
.nav-dd.is-open > .nav-dd__trigger,
.nav-dd:hover > .nav-dd__trigger,
.nav-dd:focus-within > .nav-dd__trigger,
.nav-dd__toggle:hover {
  color: var(--blue);
}

.nav-dd__panel {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 280px;
  max-width: 360px;
  /* «мост» вместо зазора: padding ловит курсор, карточка рисуется ::before */
  padding: 0;
  padding-top: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  z-index: 80;
}

.nav-dd__panel::before {
  content: '';
  position: absolute;
  inset: 0;
  top: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 16px 48px rgba(15, 23, 42, 0.12);
  z-index: 0;
  pointer-events: none;
}

.nav-dd__panel > * {
  position: relative;
  z-index: 1;
}

.nav-dd:hover > .nav-dd__panel,
.nav-dd:focus-within > .nav-dd__panel,
.nav-dd.is-open > .nav-dd__panel {
  display: block;
  padding: 8px;
}

.nav-dd__item {
  position: relative;
}

.nav-dd__item > a,
.nav-dd__toggle {
  display: block;
  width: 100%;
  text-align: left;
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--text);
  text-decoration: none;
  font-size: 14px;
}

.nav-dd__item > a:hover,
.nav-dd__item.is-open > .nav-dd__toggle,
.nav-dd__item--has:hover > .nav-dd__toggle,
.nav-dd__item--has:focus-within > .nav-dd__toggle {
  background: var(--blue-light);
  color: var(--blue);
}

.nav-dd__item--has > .nav-dd__toggle::after {
  content: '▸';
  float: right;
  opacity: 0.5;
}

.nav-dd__flyout {
  display: none;
  position: absolute;
  left: 100%;
  top: 0;
  min-width: 240px;
  /* мост вбок без «дырки» */
  margin-left: 0;
  padding: 8px;
  padding-left: 14px;
  background: transparent;
  border: none;
  box-shadow: none;
  z-index: 81;
}

.nav-dd__flyout::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 6px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 16px 48px rgba(15, 23, 42, 0.12);
  z-index: 0;
  pointer-events: none;
}

.nav-dd__flyout > * {
  position: relative;
  z-index: 1;
}

.nav-dd__item.is-open > .nav-dd__flyout,
.nav-dd__item--has:hover > .nav-dd__flyout,
.nav-dd__item--has:focus-within > .nav-dd__flyout {
  display: block;
}

.nav-dd__flyout a {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--text);
  text-decoration: none;
  font-size: 13px;
}

.nav-dd__flyout a:hover {
  background: var(--blue-light);
  color: var(--blue);
}

.hero__crumb {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 14px;
}

.hero__crumb a {
  color: var(--muted);
  text-decoration: none;
}

.hero__crumb a:hover {
  color: var(--blue);
}

.hero__price-line {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 20px;
  color: var(--text);
}

.section-seo {
  padding: 72px 0;
}

.seo-article {
  max-width: 760px;
}

.seo-article .section-title {
  margin-bottom: 28px;
}

.seo-article__body {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-secondary);
}

.seo-article__body p {
  margin: 0 0 18px;
}

.seo-article__body p:last-child {
  margin-bottom: 0;
}

.service-hero {
  padding: 72px 0 48px;
}

.service-hero__inner {
  max-width: 760px;
}

.service-hero__crumb {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 16px;
}

.service-hero__crumb a {
  color: var(--muted);
  text-decoration: none;
}

.service-hero__crumb a:hover {
  color: var(--blue);
}

.service-hero h1 {
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.6px;
  margin-bottom: 16px;
}

.service-hero__lead {
  font-size: 17px;
  line-height: 1.55;
  color: var(--muted);
  margin-bottom: 12px;
}

.service-hero__price {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 28px;
}

.service-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

@media (max-width: 900px) {
  .nav-dd__flyout {
    position: static;
    box-shadow: none;
    border: none;
    padding: 0 0 0 12px;
    margin-top: 4px;
  }
}

/* Features */
.features {
  padding: 80px 0;
}

.features .section-title {
  margin-bottom: 48px;
}

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

.feature-card {
  padding: 28px;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: box-shadow 0.2s;
}

.feature-card:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
}

.feature-card h3 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: -0.15px;
}

.feature-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}

.feature-card__icon--blue { background: #dbeafe; color: var(--blue); }
.feature-card__icon--purple { background: #ede9fe; color: #7c3aed; }
.feature-card__icon--green { background: #d1fae5; color: #059669; }
.feature-card__icon--orange { background: #ffedd5; color: #ea580c; }

.feature-card p {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: -0.14px;
  line-height: 1.5;
}

/* Compare */
.section-compare {
  padding: 80px 0;
  background: #f8fafc;
}

.compare-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: white;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.compare-table th,
.compare-table td {
  padding: 16px 24px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.compare-table th {
  font-weight: 600;
  background: #f8fafc;
}

.compare-table th:last-child,
.compare-table td.highlight {
  color: var(--blue);
  font-weight: 600;
}

.compare-table tr:last-child td {
  border-bottom: none;
}

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

/* FAQ */
.section-faq {
  padding: 80px 0;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-item summary {
  padding: 20px 24px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  letter-spacing: -0.15px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  float: right;
  font-size: 20px;
  font-weight: 400;
  color: var(--muted);
}

.faq-item[open] summary::after {
  content: '−';
}

.faq-item p {
  padding: 0 24px 20px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

/* Registry section */
.section-registry {
  padding: 80px 0;
  background: linear-gradient(180deg, #f8fafc, white);
}

.registry {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.registry__title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 500;
  letter-spacing: -0.8px;
  line-height: 1.15;
  margin-bottom: 8px;
}

.registry__subtitle {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 500;
  letter-spacing: -0.8px;
  color: var(--blue);
}

.registry__desc {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted-light);
  letter-spacing: -0.14px;
  line-height: 1.6;
}

/* Steps */
.steps-section {
  padding: 80px 0;
}

.steps-section .section-title {
  margin-bottom: 48px;
}

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

.step {
  padding: 28px;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: box-shadow 0.2s;
}

.step:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
}

.step__num {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 16px;
}

.step h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: -0.16px;
}

.step p {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: -0.14px;
  line-height: 1.5;
}

.section-authority {
  padding: 80px 0;
  background: linear-gradient(180deg, #f0f7ff 0%, #fff 55%);
}

.section-authority .section-title {
  margin-bottom: 16px;
}

.authority-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}

.authority-card {
  padding: 28px 24px;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.authority-card__num {
  display: inline-flex;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #dbeafe;
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 14px;
}

.authority-card h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: -0.16px;
}

.authority-card p {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  line-height: 1.5;
  letter-spacing: -0.14px;
}

.authority-note {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 28px;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.authority-note p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
  max-width: 720px;
}

.authority-note strong {
  color: var(--text);
  font-weight: 600;
}

.authority-note .btn {
  flex-shrink: 0;
  white-space: nowrap;
}

/* Checklist */
.section-checklist {
  padding: 100px 0;
  background: #f8fafc;
}

.section-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 500;
  letter-spacing: -0.8px;
  line-height: 1.15;
  margin-bottom: 40px;
}

.section-desc {
  font-size: 14px;
  color: var(--muted);
  margin-top: -24px;
  margin-bottom: 40px;
}

.checklist-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 32px;
}

.checklist-tab {
  padding: 12px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: white;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.2s;
}

.checklist-tab.active {
  background: var(--blue);
  color: white;
  border-color: var(--blue);
}

.checklist-panel {
  display: none;
}

.checklist-panel.active {
  display: block;
}

.checklist-items {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.checklist-item {
  display: flex;
  gap: 14px;
  padding: 20px;
  background: white;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.checklist-item__mark {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  background: #d1fae5;
  color: #059669;
}

.checklist-item__mark.partial {
  background: #fef3c7;
  color: #d97706;
}

.checklist-item__mark.manual {
  background: #f1f5f9;
  color: var(--muted);
}

.checklist-item strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
  letter-spacing: -0.14px;
}

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

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

.summary-card {
  padding: 28px;
  background: white;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  text-align: center;
}

.summary-card strong {
  display: block;
  font-size: 36px;
  font-weight: 600;
  color: var(--blue);
  letter-spacing: -0.8px;
  margin-bottom: 4px;
}

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

/* Pricing */
.section-pricing {
  padding: 100px 0;
}

.pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.price-card {
  position: relative;
  padding: 32px 28px;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.price-card--featured {
  border-color: var(--blue);
  box-shadow: 0 20px 60px rgba(0, 85, 255, 0.12);
}

.price-card__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 16px;
  background: var(--blue);
  color: white;
  font-size: 12px;
  font-weight: 600;
  border-radius: 999px;
}

.price-card h3 {
  font-size: 16px;
  font-weight: 600;
}

.price-card__price {
  font-size: 32px;
  font-weight: 600;
  color: var(--blue);
  letter-spacing: -0.5px;
}

.price-card__price small {
  font-size: 16px;
  color: var(--muted);
  font-weight: 500;
}

.price-card > p {
  font-size: 14px;
  color: var(--muted);
}

.price-card ul {
  list-style: none;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 8px 0 16px;
}

.price-card li {
  font-size: 14px;
  padding-left: 20px;
  position: relative;
  color: var(--text-secondary);
}

.price-card li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--blue);
  font-weight: 700;
}

/* Form */
.section-form {
  padding: 100px 0;
  background: linear-gradient(180deg, white, #f8fafc);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.form-intro__title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 500;
  letter-spacing: -0.8px;
  line-height: 1.15;
  margin-bottom: 16px;
}

.form-intro__desc {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted-light);
  letter-spacing: -0.14px;
  line-height: 1.6;
  margin-bottom: 32px;
}

.form-intro__email {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.2px;
  color: var(--text-secondary);
}

.form-intro__email:hover {
  color: var(--blue);
}

.form-intro__phone {
  margin-top: 8px;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.2px;
  color: var(--text-secondary);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact-form label span {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
}

.contact-form input,
.contact-form select {
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  background: white;
  transition: border-color 0.2s;
}

.contact-form input:focus,
.contact-form select:focus {
  outline: none;
  border-color: var(--blue);
}

.checkbox-label {
  flex-direction: row !important;
  align-items: flex-start;
  gap: 10px !important;
  font-size: 13px;
  color: var(--text-secondary);
}

.checkbox-label input {
  margin-top: 3px;
  width: auto;
}

.form-success {
  text-align: center;
  padding: 48px 24px;
}

.form-success h3 {
  font-size: 24px;
  color: var(--blue);
  margin-bottom: 8px;
}

.form-success p {
  font-size: 14px;
  color: var(--muted);
}

/* Footer & legal chrome */
.site-footer {
  padding: 48px 0 32px;
  background: #f4f6f9;
  border-top: 1px solid var(--border);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.1fr;
  gap: 32px 40px;
  align-items: start;
}

.site-footer__logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-weight: 650;
  font-size: 17px;
  color: var(--text);
  text-decoration: none;
}

.site-footer__logo .logo__icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  background: var(--blue);
  color: #fff;
  border-radius: 10px;
}

.site-footer__copy,
.site-footer__warn,
.site-footer__official {
  margin: 0 0 10px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
}

.site-footer__warn strong {
  color: var(--text-secondary);
}

.site-footer__official a {
  color: #ea580c;
  font-weight: 600;
  text-decoration: none;
}

.site-footer__official a:hover {
  text-decoration: underline;
}

.site-footer__nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.site-footer__nav a,
.site-footer__legal-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-align: left;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-family: inherit;
}

.site-footer__nav a:hover,
.site-footer__legal-link:hover {
  color: #0044cc;
}

.site-footer__cta {
  margin: 0 0 8px;
  font-size: 14px;
  color: var(--muted);
}

.site-footer__email {
  display: inline-block;
  margin-bottom: 16px;
  font-size: 15px;
  font-weight: 600;
  color: #ea580c;
  text-decoration: none;
}

.site-footer__email:hover {
  text-decoration: underline;
}

.site-footer__docs {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.site-footer__docs button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  border: none;
  background: none;
  font: inherit;
  font-size: 13px;
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
  text-align: left;
}

.site-footer__docs button::before {
  content: '';
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  background: center/contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%232563eb'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8l-6-6zm-1 2 5 5h-5V4zM8 13h8v2H8v-2zm0 4h8v2H8v-2z'/%3E%3C/svg%3E");
}

.site-footer__req {
  margin: 0;
  font-size: 12px;
  line-height: 1.55;
  color: var(--muted);
}

.inline-legal {
  display: inline;
  padding: 0;
  border: none;
  background: none;
  font: inherit;
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}

.inline-legal:hover {
  color: #0044cc;
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 300;
  padding: 18px 0;
  background: rgba(255, 255, 255, 0.92);
  border-top: 1px solid var(--border);
  box-shadow: 0 -12px 40px rgba(0, 85, 255, 0.06);
  backdrop-filter: blur(16px);
}

.cookie-banner__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px 28px;
  align-items: center;
}

.cookie-banner__text {
  margin: 0;
  grid-column: 1;
  font-size: 14px;
  line-height: 1.55;
  letter-spacing: -0.14px;
  color: var(--text-secondary);
}

.cookie-banner__hint {
  margin: 0;
  grid-column: 1;
  font-size: 13px;
  color: var(--muted);
}

.cookie-banner__link {
  display: inline;
  padding: 0;
  border: none;
  background: none;
  font: inherit;
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.cookie-banner__link:hover {
  color: #0044cc;
}

.cookie-banner__accept {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border: none;
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.14px;
  color: #fff;
  background: var(--blue);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
}

.cookie-banner__accept:hover {
  background: #0044cc;
  transform: translateY(-1px);
}

/* Legal modal */
.legal-modal[hidden] {
  display: none !important;
}

.legal-modal {
  position: fixed;
  inset: 0;
  z-index: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
}

.legal-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
}

.legal-modal__box {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
  max-height: min(85vh, 800px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 24px 64px rgba(15, 23, 42, 0.2);
}

.legal-modal__box h2 {
  margin: 0;
  padding: 22px 52px 16px 24px;
  font-size: 20px;
  font-weight: 700;
  border-bottom: 1px solid var(--border);
}

.legal-modal__body {
  padding: 20px 24px 28px;
  overflow-y: auto;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
}

.legal-modal__body h3 {
  margin: 20px 0 8px;
  font-size: 15px;
  color: var(--text);
}

.legal-modal__body p,
.legal-modal__body li {
  margin: 0 0 10px;
}

.legal-modal__body ul,
.legal-modal__body ol {
  margin: 0 0 12px;
  padding-left: 20px;
}

.legal-modal__body a {
  color: var(--blue);
}

.legal-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 8px;
  background: #f1f5f9;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  color: var(--muted);
}

.legal-modal__close:hover {
  background: #e2e8f0;
  color: var(--text);
}

@media (max-width: 900px) {
  .site-footer__grid {
    grid-template-columns: 1fr;
  }

  .cookie-banner__inner {
    grid-template-columns: 1fr;
  }

  .cookie-banner__accept {
    grid-column: 1;
    grid-row: auto;
    width: 100%;
  }
}

/* Footer legacy */
.footer {
  padding: 48px 0;
  border-top: 1px solid var(--border);
}

.footer__inner {
  text-align: center;
}

.footer__links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}

.footer__links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
}

.footer__links a:hover {
  color: var(--blue);
}

.footer__legal {
  font-size: 13px;
  color: var(--muted);
  max-width: 520px;
  margin: 0 auto 12px;
}

.footer__copy {
  font-size: 12px;
  color: var(--muted-light);
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-inn-form {
    max-width: none;
  }

  .hero-badges--in-hero,
  .features__grid,
  .steps,
  .authority-grid,
  .dashboard__cards,
  .pricing {
    grid-template-columns: repeat(2, 1fr);
  }

  .registry,
  .form-grid {
    grid-template-columns: 1fr;
  }
}

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

  .burger {
    display: flex;
  }

  .hero {
    padding-top: 32px;
  }

  .header__cta {
    display: none;
  }

  .header__login {
    padding: 8px 14px;
    font-size: 13px;
  }

  .hero-inn-form__row {
    flex-direction: column;
  }

  .hero-inn-form__row .btn {
    width: 100%;
  }

  .hero-badges--in-hero,
  .features__grid,
  .steps,
  .authority-grid,
  .dashboard__cards,
  .pricing {
    grid-template-columns: 1fr;
  }

  .authority-note {
    flex-direction: column;
  }

  .dashboard__tabs {
    display: none;
  }

  .chart__bars {
    height: 80px;
  }
}

.login-modal[hidden] {
  display: none;
}

.login-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 24px;
}

.login-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(14, 16, 22, 0.45);
}

.login-modal__box {
  position: relative;
  width: 100%;
  max-width: 420px;
  background: white;
  border-radius: 16px;
  padding: 32px 28px 28px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.18);
  z-index: 1;
}

.login-modal__box h2 {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.4px;
  margin-bottom: 8px;
}

.login-modal__lead {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 20px;
  line-height: 1.5;
}

.login-modal__input {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  font-family: inherit;
  font-size: 16px;
  margin-bottom: 12px;
}

.login-modal__input:focus {
  outline: none;
  border-color: var(--blue);
}

.login-modal__error {
  color: #dc2626;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 12px;
}

.login-modal__close {
  position: absolute;
  top: 12px;
  right: 16px;
  border: none;
  background: none;
  font-size: 24px;
  line-height: 1;
  color: var(--muted);
  cursor: pointer;
}

.login-modal__resend {
  width: 100%;
  margin-top: 8px;
}

@media (max-width: 480px) {
  :root {
    --container: calc(100% - 32px);
  }

  .hero h1 {
    font-size: 32px;
    letter-spacing: -1px;
  }
}
