/* ==========================================================================
   Qordix — публичный сайт.
   Статический CSS (без сборки, без внешних зависимостей).
   Дизайн-токены совпадают с дизайн-системой платформы (FRONTEND §14.1):
   primary — синий #1565C0, фон #F5F7FA, бело-синяя палитра.
   ========================================================================== */

:root {
  /* Палитра */
  --c-primary: #1565c0;
  --c-primary-hover: #0d47a1;
  --c-primary-active: #0b3d8c;
  --c-accent: #00838f;
  --c-ink: #0f172a;
  --c-text: #1f2937;
  --c-muted: #5b6673;
  --c-bg: #f5f7fa;
  --c-surface: #ffffff;
  --c-surface-2: #f8fafc;
  --c-border: #e3e8ef;
  --c-border-strong: #cdd6e1;
  --c-error: #c62828;
  --c-error-bg: #fdecea;
  --c-success: #2e7d32;
  --c-success-bg: #e9f6ec;

  /* Градиенты */
  --grad-hero: linear-gradient(150deg, #0b3d8c 0%, #1565c0 52%, #0e7fa8 100%);
  --grad-band: linear-gradient(120deg, #0d47a1 0%, #1565c0 55%, #00838f 100%);

  /* Радиусы */
  --radius-xs: 8px;
  --radius-sm: 12px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  /* Тени */
  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.08), 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow: 0 14px 34px -18px rgba(15, 23, 42, 0.35);
  --shadow-lg: 0 40px 80px -30px rgba(11, 61, 140, 0.45);

  /* Прочее */
  --maxw: 1140px;
  --header-h: 68px;
  --ring: 0 0 0 3px rgba(21, 101, 192, 0.3);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, system-ui, sans-serif;
  background: var(--c-bg);
  color: var(--c-text);
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

h1,
h2,
h3,
h4 {
  color: var(--c-ink);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0;
  font-weight: 700;
}

p {
  margin: 0;
}

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

:focus-visible {
  outline: none;
  box-shadow: var(--ring);
  border-radius: var(--radius-xs);
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  background: var(--c-surface);
  color: var(--c-primary);
  padding: 10px 16px;
  border-radius: var(--radius-xs);
  box-shadow: var(--shadow-sm);
  transition: top 0.2s var(--ease);
}

.skip-link:focus {
  top: 12px;
}

/* Раскладка ---------------------------------------------------------------- */

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

.main {
  flex: 1 1 auto;
}

/* Шапка -------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--c-border);
}

.nav {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.01em;
  color: var(--c-ink);
  white-space: nowrap;
}

.nav__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--grad-hero);
  color: #fff;
  box-shadow: var(--shadow-sm);
  flex: 0 0 auto;
}

.nav__mark svg {
  width: 20px;
  height: 20px;
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1 1 auto;
  justify-content: flex-end;
}

.nav__links {
  display: flex;
  gap: 2px;
  align-items: center;
  margin-right: auto;
  padding-left: 16px;
}

.nav__links a {
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  color: var(--c-muted);
  font-weight: 500;
  font-size: 15px;
  transition: color 0.15s var(--ease), background-color 0.15s var(--ease);
}

.nav__links a:hover {
  color: var(--c-ink);
  background: rgba(15, 23, 42, 0.05);
}

.nav__links a[aria-current='page'] {
  color: var(--c-primary);
  background: rgba(21, 101, 192, 0.1);
}

.nav__actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

.nav__toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-left: auto;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-xs);
  background: var(--c-surface);
  cursor: pointer;
}

.nav__bars,
.nav__bars::before,
.nav__bars::after {
  content: '';
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--c-ink);
  transition: transform 0.2s var(--ease), opacity 0.2s var(--ease);
}

.nav__bars::before {
  transform: translateY(-6px);
}

.nav__bars::after {
  transform: translateY(4px);
}

.nav--open .nav__bars {
  background: transparent;
}

.nav--open .nav__bars::before {
  transform: translateY(0) rotate(45deg);
}

.nav--open .nav__bars::after {
  transform: translateY(-2px) rotate(-45deg);
}

/* Кнопки ------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  line-height: 1.2;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.15s var(--ease), border-color 0.15s var(--ease),
    color 0.15s var(--ease), transform 0.15s var(--ease), box-shadow 0.15s var(--ease);
}

.btn:active {
  transform: translateY(1px);
}

.btn--primary {
  background: var(--c-primary);
  color: #fff;
  box-shadow: 0 10px 22px -12px rgba(21, 101, 192, 0.9);
}

.btn--primary:hover {
  background: var(--c-primary-hover);
}

.btn--accent {
  background: var(--c-primary);
  color: #fff;
  box-shadow: 0 10px 22px -12px rgba(21, 101, 192, 0.9);
}

.btn--accent:hover {
  background: var(--c-primary-hover);
}

.btn--outline {
  background: var(--c-surface);
  border-color: var(--c-border-strong);
  color: var(--c-ink);
}

.btn--outline:hover {
  border-color: var(--c-primary);
  color: var(--c-primary);
  background: rgba(21, 101, 192, 0.06);
}

.btn--text {
  background: transparent;
  color: var(--c-ink);
}

.btn--text:hover {
  background: rgba(15, 23, 42, 0.06);
}

.btn--ghost-light {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}

.btn--ghost-light:hover {
  background: rgba(255, 255, 255, 0.24);
}

.btn--lg {
  padding: 14px 28px;
  font-size: 16px;
}

.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

/* Секции ------------------------------------------------------------------- */

.section {
  padding: 72px 0;
}

.section--tight {
  padding: 48px 0;
}

.section--alt {
  background: var(--c-surface);
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
}

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

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-primary);
  margin-bottom: 12px;
}

.section__title {
  font-size: clamp(24px, 3.4vw, 34px);
}

.section__lead {
  margin-top: 12px;
  color: var(--c-muted);
  font-size: 17px;
}

.section__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-top: 32px;
}

/* Герой -------------------------------------------------------------------- */

.hero {
  position: relative;
  overflow: hidden;
  background: var(--grad-hero);
  color: #fff;
  padding: 76px 0 84px;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 60% at 85% 12%, rgba(255, 255, 255, 0.22), transparent 70%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 20px;
}

.hero__eyebrow::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #7ff0c8;
  box-shadow: 0 0 0 4px rgba(127, 240, 200, 0.25);
}

.hero h1 {
  color: #fff;
  font-size: clamp(30px, 4.6vw, 50px);
  line-height: 1.08;
  margin: 0 0 18px;
}

.hero__subtitle {
  max-width: 540px;
  margin: 0 0 30px;
  font-size: clamp(16px, 1.6vw, 19px);
  color: rgba(255, 255, 255, 0.9);
}

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

.hero__actions .btn--accent {
  background: #fff;
  color: var(--c-primary-active);
  box-shadow: 0 16px 30px -16px rgba(0, 0, 0, 0.6);
}

.hero__actions .btn--accent:hover {
  background: #eef4fb;
}

.hero__actions .btn--ghost-light {
  box-shadow: none;
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 32px;
  padding: 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.86);
}

.hero__trust li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero__trust svg {
  width: 16px;
  height: 16px;
  color: #7ff0c8;
  flex: 0 0 auto;
}

/* Мокап табло (декоративный) ---------------------------------------------- */

.hero__mock {
  perspective: 1200px;
}

.mock {
  background: rgba(255, 255, 255, 0.97);
  color: var(--c-text);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-lg);
  transform: rotateX(4deg) rotateY(-6deg);
  transform-origin: center;
  animation: mock-in 0.7s var(--ease) both;
}

@keyframes mock-in {
  from {
    opacity: 0;
    transform: rotateX(8deg) rotateY(-10deg) translateY(14px);
  }
}

.mock__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--c-border);
}

.mock__dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #f0b429;
}

.mock__dot:first-child {
  background: #e5484d;
}

.mock__dot:nth-child(2) {
  background: #f0b429;
}

.mock__dot:nth-child(3) {
  background: #46a758;
}

.mock__title {
  margin-left: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--c-muted);
}

.mock__ticket {
  border-radius: var(--radius);
  padding: 22px;
  background: var(--grad-band);
  color: #fff;
  text-align: center;
  box-shadow: var(--shadow);
}

.mock__label {
  display: block;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.85;
}

.mock__number {
  display: block;
  font-size: clamp(38px, 6vw, 56px);
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.05;
  margin: 4px 0;
}

.mock__window {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.18);
}

.mock__list {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}

.mock__list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  background: var(--c-surface-2);
  border: 1px solid var(--c-border);
  font-size: 14px;
  font-weight: 600;
}

.mock__list li span:last-child {
  color: var(--c-muted);
  font-weight: 500;
}

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

.mock__pill {
  font-size: 12.5px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: rgba(21, 101, 192, 0.1);
  color: var(--c-primary-active);
}

.mock__pill--ok {
  background: var(--c-success-bg);
  color: var(--c-success);
}

/* Сетки и карточки --------------------------------------------------------- */

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}

/* Четыре варианта тарификации читаются ровной сеткой 2×2, а не 3+1. */
.pricing__grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  padding: 26px;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  background: var(--c-surface);
  box-shadow: var(--shadow-xs);
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease),
    border-color 0.18s var(--ease);
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: rgba(21, 101, 192, 0.35);
}

.card h3 {
  font-size: 18px;
  margin: 0 0 8px;
}

.card p {
  color: var(--c-muted);
  font-size: 15px;
}

.card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  margin-bottom: 16px;
  background: rgba(21, 101, 192, 0.1);
  color: var(--c-primary);
}

.card__icon svg {
  width: 24px;
  height: 24px;
}

/* Шаги --------------------------------------------------------------------- */

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 30px 26px;
  border-radius: var(--radius);
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  box-shadow: var(--shadow-xs);
}

.step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin-bottom: 16px;
  font-weight: 700;
  color: #fff;
  background: var(--grad-band);
  box-shadow: 0 10px 20px -12px rgba(13, 71, 161, 0.9);
}

.step h3 {
  font-size: 18px;
  margin: 0 0 8px;
}

.step p {
  color: var(--c-muted);
  font-size: 15px;
}

/* CTA-полоса --------------------------------------------------------------- */

.cta-band {
  position: relative;
  overflow: hidden;
  margin: 0 auto;
  max-width: var(--maxw);
  padding: 52px 40px;
  border-radius: var(--radius-lg);
  background: var(--grad-band);
  color: #fff;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.cta-band::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(50% 90% at 15% 0%, rgba(255, 255, 255, 0.2), transparent 70%);
  pointer-events: none;
}

.cta-band h2 {
  position: relative;
  color: #fff;
  font-size: clamp(22px, 3vw, 30px);
}

.cta-band p {
  position: relative;
  max-width: 620px;
  margin: 12px auto 26px;
  color: rgba(255, 255, 255, 0.9);
}

.cta-band .btn-row {
  position: relative;
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-band .btn--accent {
  background: #fff;
  color: var(--c-primary-active);
}

.cta-band .btn--accent:hover {
  background: #eef4fb;
}

/* Заголовок внутренних страниц --------------------------------------------- */

.page-header {
  text-align: center;
  padding: 52px 24px 4px;
}

.page-header h1 {
  font-size: clamp(26px, 4vw, 38px);
  margin: 0 0 10px;
}

.page-header p {
  margin: 0 auto;
  max-width: 620px;
  color: var(--c-muted);
  font-size: 17px;
}

/* Формы -------------------------------------------------------------------- */

.auth {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 56px 24px 72px;
}

.auth__aside h1 {
  font-size: clamp(26px, 3.6vw, 36px);
  margin: 0 0 12px;
}

.auth__aside > p {
  color: var(--c-muted);
  font-size: 17px;
  max-width: 480px;
}

.auth__points {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.auth__points li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 15px;
  color: var(--c-text);
}

.auth__points svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  margin-top: 3px;
  color: var(--c-primary);
}

.auth__card,
.form-card {
  padding: 32px;
  border-radius: var(--radius-lg);
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  box-shadow: var(--shadow);
}

.form-card__title {
  font-size: 20px;
  margin: 0 0 6px;
}

.form-card__lead {
  margin: 0 0 22px;
  color: var(--c-muted);
  font-size: 15px;
}

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

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field label {
  font-size: 14px;
  font-weight: 600;
  color: var(--c-ink);
}

.field input,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--c-border-strong);
  border-radius: var(--radius-xs);
  font-size: 15px;
  font-family: inherit;
  color: var(--c-text);
  background: var(--c-surface);
  transition: border-color 0.15s var(--ease), box-shadow 0.15s var(--ease);
}

.field input::placeholder,
.field textarea::placeholder {
  color: #9aa4b2;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--c-primary);
  box-shadow: var(--ring);
}

.field textarea {
  resize: vertical;
  min-height: 120px;
}

.field__control {
  position: relative;
  display: flex;
  align-items: center;
}

.field__control input {
  padding-right: 48px;
}

.field__toggle {
  position: absolute;
  right: 6px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: var(--radius-xs);
  color: var(--c-muted);
  background: transparent;
  cursor: pointer;
}

.field__toggle:hover,
.field__toggle:focus-visible {
  color: var(--c-ink);
  background: rgb(20 32 29 / 6%);
}

.field__toggle svg {
  width: 20px;
  height: 20px;
}

.field__toggle .field__eye-off {
  display: none;
}

.field__toggle[aria-pressed="true"] .field__eye {
  display: none;
}

.field__toggle[aria-pressed="true"] .field__eye-off {
  display: block;
}

.field__hint {
  font-size: 12.5px;
  color: var(--c-muted);
}

.form-consent {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 14px 16px 16px;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-xs);
}

.form-consent__legend {
  padding: 0 6px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--c-ink);
}

.form-consent__item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: start;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--c-muted);
}

.form-consent__item input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--c-primary);
  cursor: pointer;
}

.form-consent__item input[aria-invalid="true"] {
  outline: 2px solid var(--c-error);
  outline-offset: 2px;
}

.form-consent__item label {
  cursor: pointer;
}

.form-consent__item a {
  color: var(--c-primary);
  text-decoration: underline;
}

.form .btn {
  margin-top: 4px;
}

/* Уведомления -------------------------------------------------------------- */

.notice {
  padding: 13px 16px;
  border-radius: var(--radius-xs);
  font-size: 14.5px;
  border: 1px solid transparent;
}

.notice--error {
  background: var(--c-error-bg);
  color: var(--c-error);
  border-color: rgba(198, 40, 40, 0.2);
}

.notice--success {
  background: var(--c-success-bg);
  color: var(--c-success);
  border-color: rgba(46, 125, 50, 0.2);
}

.notice strong {
  display: block;
  margin-bottom: 4px;
}

.notice p {
  margin: 0;
}

.notice p + p {
  margin-top: 8px;
}

.notice a {
  color: inherit;
  font-weight: 600;
  text-decoration: underline;
  overflow-wrap: anywhere;
}

.form-actions {
  margin: 18px 0 0;
}

/* Тарифы ------------------------------------------------------------------- */

.plans__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 24px;
  align-items: stretch;
}

.plans__card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 30px;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  background: var(--c-surface);
  box-shadow: var(--shadow-xs);
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease),
    border-color 0.18s var(--ease);
}

.plans__card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: rgba(21, 101, 192, 0.35);
}

.plans__card h2 {
  font-size: 20px;
  margin: 0;
  text-transform: capitalize;
}

.plans__prices {
  display: grid;
  gap: 8px;
  padding: 0;
}

.plans__prices li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 8px;
  border-bottom: 1px dashed var(--c-border);
  font-size: 14.5px;
  color: var(--c-muted);
}

.plans__prices li:last-child {
  border-bottom: none;
}

.plans__features {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
}

.plans__features li {
  position: relative;
  padding-left: 26px;
  font-size: 14.5px;
  color: var(--c-text);
}

.plans__features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 3px;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: rgba(21, 101, 192, 0.12);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231565c0' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  background-size: 11px 11px;
  background-repeat: no-repeat;
  background-position: center;
}

.plans__card .btn {
  margin-top: auto;
}

.plans__list--single {
  grid-template-columns: minmax(0, 760px);
  justify-content: center;
}

.plans__card--current {
  border-color: rgba(21, 101, 192, 0.28);
  box-shadow: var(--shadow);
}

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

.plans__lead {
  color: var(--c-muted);
  font-size: 15px;
}

.plans__price {
  display: inline-flex;
  align-items: baseline;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
  color: var(--c-text);
  text-align: right;
}

.plans__price strong {
  color: var(--c-ink);
  font-size: 17px;
  white-space: nowrap;
}

.plans__features-title {
  margin-top: 6px;
  font-size: 16px;
}

.beta-note {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  max-width: 760px;
  margin: 0 auto 28px;
  padding: 20px 22px;
  border: 1px solid rgba(0, 131, 143, 0.25);
  border-radius: var(--radius);
  background: rgba(0, 131, 143, 0.07);
}

.beta-note__badge {
  flex: none;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background: var(--c-accent);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.beta-note__body strong {
  display: block;
  margin-bottom: 4px;
  color: var(--c-ink);
}

.beta-note__body p {
  color: var(--c-text);
  font-size: 15px;
}

.plans__info-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.plans__info {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  padding: 0;
  border: 1px solid var(--c-primary);
  border-radius: 50%;
  background: transparent;
  color: var(--c-primary);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 13px;
  font-style: italic;
  font-weight: 700;
  line-height: 1;
  cursor: help;
}

.plans__tooltip {
  position: absolute;
  right: 0;
  bottom: calc(100% + 10px);
  z-index: 10;
  width: 300px;
  padding: 12px 14px;
  border-radius: var(--radius-xs);
  background: var(--c-ink);
  color: #fff;
  font-size: 13px;
  line-height: 1.5;
  text-align: left;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
  transition: opacity 0.15s var(--ease), transform 0.15s var(--ease), visibility 0.15s;
}

.plans__info-wrap:hover .plans__tooltip,
.plans__info-wrap:focus-within .plans__tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.state {
  text-align: center;
  color: var(--c-muted);
  padding: 40px 0;
  font-size: 15px;
}

/* Подвал ------------------------------------------------------------------- */

.site-footer {
  background: #0b1220;
  color: #aab4c4;
  padding: 56px 0 28px;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 700;
  font-size: 17px;
  margin-bottom: 12px;
}

.site-footer__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: var(--grad-band);
  color: #fff;
}

.site-footer__mark svg {
  width: 18px;
  height: 18px;
}

.site-footer__about {
  max-width: 320px;
  font-size: 14.5px;
  color: #94a1b3;
}

.site-footer__title {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.site-footer__links {
  display: grid;
  gap: 10px;
}

.site-footer__links a {
  color: #aab4c4;
  font-size: 15px;
  transition: color 0.15s var(--ease);
}

.site-footer__links a:hover {
  color: #fff;
}

.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 22px;
  font-size: 13.5px;
  color: #8593a6;
}

/* Анимация появления ------------------------------------------------------- */

.reveal {
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

html.js .reveal {
  opacity: 0;
  transform: translateY(18px);
}

html.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

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

  .mock {
    transform: none;
    animation: none;
  }

  html.js .reveal,
  html.js .reveal.is-visible {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Адаптивность ------------------------------------------------------------- */

@media (max-width: 900px) {
  .hero {
    padding: 56px 0 64px;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .hero__mock {
    max-width: 460px;
  }

  .mock {
    transform: none;
  }

  .auth {
    grid-template-columns: 1fr;
    gap: 34px;
    padding: 40px 24px 64px;
  }

  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 820px) {
  .nav__toggle {
    display: inline-flex;
  }

  .nav__menu {
    position: absolute;
    left: 16px;
    right: 16px;
    top: calc(var(--header-h) - 6px);
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 14px;
    border-radius: var(--radius);
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    box-shadow: var(--shadow);
    display: none;
  }

  .nav--open .nav__menu {
    display: flex;
  }

  .nav__links {
    flex-direction: column;
    align-items: stretch;
    margin-right: 0;
    padding-left: 0;
    gap: 2px;
  }

  .nav__links a {
    padding: 11px 14px;
    border-radius: var(--radius-xs);
  }

  .nav__actions {
    padding-top: 8px;
    border-top: 1px solid var(--c-border);
  }

  .nav__actions .btn {
    flex: 1 1 auto;
  }

  .site-header {
    position: sticky;
  }

  .nav {
    position: relative;
  }
}

@media (max-width: 720px) {
  .section {
    padding: 56px 0;
  }

  .site-footer__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .cta-band {
    padding: 40px 22px;
    border-radius: var(--radius);
  }

  .container,
  .nav {
    padding: 0 18px;
  }

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

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

  .beta-note {
    flex-direction: column;
    gap: 10px;
    padding: 18px;
  }

  .plans__prices li {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .plans__price {
    justify-content: flex-start;
    text-align: left;
  }

  .plans__tooltip {
    right: auto;
    left: 0;
    width: min(300px, calc(100vw - 48px));
  }
}
