:root {
  --brand: #406868;
  --brand-deep: #2f4f50;
  --brand-soft: #5a8588;
  --accent: #e09860;
  --accent-deep: #c4783e;
  --ink: #24383a;
  --muted: #5f7376;
  --line: #d5e0e1;
  --bg: #f4f7f6;
  --bg-warm: #faf6f1;
  --surface: #ffffff;
  --danger: #b7433a;
  --ok: #2f7a55;
  --radius: 10px;
  --shadow: 0 12px 40px rgba(64, 104, 104, 0.08);
  --font-display: "Instrument Serif", "Times New Roman", Georgia, serif;
  --font: "Manrope", "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background:
    radial-gradient(ellipse 90% 55% at 85% -10%, rgba(224, 152, 96, 0.18), transparent 55%),
    radial-gradient(ellipse 70% 50% at -10% 20%, rgba(64, 104, 104, 0.1), transparent 50%),
    linear-gradient(180deg, var(--bg-warm) 0%, var(--bg) 48%, #eef3f2 100%);
  display: flex;
  flex-direction: column;
}

a {
  color: var(--brand);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}
a:hover { color: var(--accent-deep); }

.wrap {
  width: min(1040px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(64, 104, 104, 0.12);
  background: rgba(250, 246, 241, 0.88);
  backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo {
  height: 34px;
  width: auto;
  display: block;
}

.brand-logo.lg {
  height: 48px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  flex-wrap: wrap;
}

.nav a {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 560;
}
.nav a[aria-current="page"] {
  color: var(--brand-deep);
}
.nav a:hover { color: var(--brand-deep); }

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: -4rem;
  z-index: 50;
  padding: 0.55rem 0.9rem;
  background: var(--surface);
  color: var(--brand-deep);
  font-weight: 650;
  border-radius: 8px;
  border: 1px solid var(--line);
}
.skip-link:focus {
  top: 0.75rem;
}

:focus-visible {
  outline: 2px solid var(--accent-deep);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}

.inline { display: inline; margin: 0; }

.link-btn {
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-weight: 560;
  padding: 0;
}
.link-btn:hover { color: var(--brand-deep); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: none;
  border-radius: var(--radius);
  padding: 0.78rem 1.35rem;
  font: inherit;
  font-weight: 650;
  letter-spacing: 0.01em;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.25s var(--ease), background 0.2s var(--ease), box-shadow 0.25s var(--ease);
}

.btn.primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 8px 24px rgba(64, 104, 104, 0.22);
}
.btn.primary:hover {
  background: var(--brand-deep);
  color: #fff;
  text-decoration: none;
  transform: translateY(-1px);
}

.btn.accent {
  background: var(--accent);
  color: #2a241c;
  box-shadow: 0 8px 24px rgba(224, 152, 96, 0.28);
}
.btn.accent:hover {
  background: var(--accent-deep);
  color: #fff;
  text-decoration: none;
  transform: translateY(-1px);
}

.btn.ghost {
  background: transparent;
  color: var(--brand);
  border: 1px solid rgba(64, 104, 104, 0.28);
  box-shadow: none;
}
.btn.ghost:hover {
  border-color: var(--brand);
  background: rgba(64, 104, 104, 0.06);
  color: var(--brand-deep);
  text-decoration: none;
}

.btn.small { padding: 0.48rem 0.95rem; font-size: 0.88rem; }

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(3.5rem, 8vw, 6rem) 0 clamp(3rem, 6vw, 4.5rem);
}

.hero::before {
  content: "";
  position: absolute;
  inset: -20% 35% auto auto;
  width: min(520px, 70vw);
  aspect-ratio: 1;
  background:
    radial-gradient(circle at center, rgba(224, 152, 96, 0.22) 0%, transparent 58%),
    repeating-conic-gradient(from 0deg, rgba(224, 152, 96, 0.12) 0deg 8deg, transparent 8deg 45deg);
  border-radius: 50%;
  opacity: 0.55;
  animation: sun-drift 28s linear infinite;
  pointer-events: none;
}

@keyframes sun-drift {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.hero-inner {
  position: relative;
  display: grid;
  gap: 1.25rem;
  max-width: 40rem;
  animation: rise 0.8s var(--ease) both;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

.hero-logo {
  height: clamp(42px, 7vw, 58px);
  width: auto;
}

.hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.1rem, 4.8vw, 3.35rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--brand-deep);
}

.lead {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 36ch;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.4rem;
}

.section {
  padding: 2.75rem 0;
}

.section h2 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.55rem, 3vw, 2rem);
  color: var(--brand-deep);
}

.section-lead {
  margin: 0 0 1.75rem;
  color: var(--muted);
  max-width: 48ch;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
}

.service-item {
  padding: 1.35rem 1.25rem 1.35rem 0;
  border-bottom: 1px solid var(--line);
  animation: rise 0.7s var(--ease) both;
}
.service-item:nth-child(1) { animation-delay: 0.05s; }
.service-item:nth-child(2) { animation-delay: 0.12s; }
.service-item:nth-child(3) { animation-delay: 0.18s; }
.service-item:nth-child(4) { animation-delay: 0.24s; }

.service-item:nth-child(odd) {
  padding-right: 1.5rem;
  border-right: 1px solid var(--line);
}
.service-item:nth-child(even) {
  padding-left: 1.5rem;
}

.service-item h3 {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
}

.service-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
}

a.service-item-link {
  text-decoration: none;
  color: inherit;
  display: block;
}
a.service-item-link:hover h3 { color: var(--brand); }
.service-more {
  display: inline-block;
  margin-top: 0.55rem;
  font-size: 0.86rem;
  font-weight: 650;
  color: var(--accent-deep);
}

.knowledge {
  padding-bottom: 1rem;
}

.subscribe-promo {
  padding: 1rem 0 4rem;
}

.promo-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding: 1.75rem 1.9rem;
  background: linear-gradient(135deg, rgba(64, 104, 104, 0.08), rgba(224, 152, 96, 0.12));
  border: 1px solid rgba(64, 104, 104, 0.14);
  border-radius: 18px;
  position: relative;
  overflow: hidden;
}

.promo-inner::after {
  content: "";
  position: absolute;
  right: -40px;
  top: -40px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(224, 152, 96, 0.35), transparent 70%);
  pointer-events: none;
}

.promo-inner h2 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.55rem;
  color: var(--brand-deep);
}

.promo-inner p {
  margin: 0;
  color: var(--muted);
  position: relative;
  z-index: 1;
}

.price-line {
  margin-top: 0.85rem !important;
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
}

.price-line .price {
  font-family: var(--font-display);
  font-size: 2.35rem;
  color: var(--brand-deep);
  line-height: 1;
}

.price-line .currency {
  color: var(--muted);
  font-size: 1rem;
}

.site-footer {
  margin-top: auto;
  border-top: 1px solid var(--line);
  padding: 1.6rem 0 2rem;
  color: var(--muted);
  font-size: 0.9rem;
  background: rgba(255, 255, 255, 0.35);
}

.site-footer a { color: var(--brand-soft); }
.site-footer .muted { margin: 0.35rem 0 0; }

.auth {
  flex: 1;
  display: grid;
  place-items: center;
  padding: 2.5rem 1rem;
}

.auth-card,
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.auth-card {
  width: min(420px, 100%);
  padding: 2rem 1.75rem;
}

.subscribe-card { width: min(480px, 100%); }

.brand-block {
  text-align: center;
  margin-bottom: 1.5rem;
}
.brand-block h1 {
  margin: 0.9rem 0 0.3rem;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.85rem;
  color: var(--brand-deep);
}
.brand-block p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

label {
  display: block;
  margin-bottom: 1rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--muted);
}

input[type="text"],
input[type="password"],
input[type="email"],
input[type="tel"] {
  display: block;
  width: 100%;
  margin-top: 0.4rem;
  padding: 0.72rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fbfcfc;
  color: var(--ink);
  font: inherit;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

input:focus {
  outline: none;
  border-color: var(--brand-soft);
  box-shadow: 0 0 0 3px rgba(64, 104, 104, 0.15);
}

label.check {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-weight: 500;
  color: var(--muted);
  font-size: 0.9rem;
}
label.check input { margin-top: 0.25rem; }

.alert {
  background: rgba(183, 67, 58, 0.08);
  border: 1px solid rgba(183, 67, 58, 0.28);
  color: #8f2f28;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  margin-bottom: 1rem;
}

.ok {
  background: rgba(47, 122, 85, 0.1);
  border: 1px solid rgba(47, 122, 85, 0.28);
  color: var(--ok);
  padding: 0.75rem 1rem;
  border-radius: 10px;
  margin-bottom: 1rem;
}

.muted { color: var(--muted); font-size: 0.9rem; }

.page {
  flex: 1;
  padding: 2.5rem 0 3.5rem;
}

.page h1 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  color: var(--brand-deep);
}

.article-group { margin-bottom: 2rem; }

.article-group h2 {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin: 0 0 0.75rem;
  font-family: var(--font);
}

.article-list {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--line);
}

.article-list li {
  border-bottom: 1px solid var(--line);
  padding: 0.95rem 0;
}

.article-list a {
  display: block;
  color: var(--ink);
  text-decoration: none;
}
.article-list a:hover strong { color: var(--brand); }

.article-list strong {
  font-size: 1.05rem;
  font-weight: 700;
}

.article-list span {
  display: block;
  color: var(--muted);
  font-size: 0.92rem;
  margin-top: 0.25rem;
}

.article-list time {
  display: block;
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.35rem;
}

.kb-sections {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 1.75rem;
  padding: 0;
}

.kb-section-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.85rem;
  margin: 1.25rem 0 0;
}

.kb-section-card {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 1.1rem 1.15rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: var(--shadow);
  color: var(--ink);
  text-decoration: none;
  min-height: 7.5rem;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.kb-section-card:hover {
  border-color: var(--brand);
  color: var(--ink);
  text-decoration: none;
  transform: translateY(-1px);
}

.kb-section-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--brand-deep);
}

.kb-section-card-desc {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.45;
  flex: 1;
}

.kb-section-card-meta {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.25rem;
}

.kb-back {
  margin: 0 0 1.1rem;
  font-size: 0.92rem;
}

.kb-section-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.55);
  font-size: 0.9rem;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.kb-section-tab:hover {
  border-color: var(--brand);
  color: var(--brand-deep);
  text-decoration: none;
}

.kb-section-tab.is-active {
  border-color: var(--brand);
  background: color-mix(in srgb, var(--brand) 14%, white);
  color: var(--brand-deep);
  font-weight: 600;
}

.kb-section-count {
  font-size: 0.75rem;
  color: var(--muted);
  min-width: 1.2em;
  text-align: center;
}

.kb-section-tab.is-active .kb-section-count {
  color: var(--brand-deep);
}

.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0.45rem 0 0;
}

.article-tags-page {
  margin: 0.35rem 0 0.75rem;
}

.article-tag {
  display: inline-block;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 0.75rem;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.4);
  text-decoration: none;
}

a.article-tag:hover {
  color: var(--brand-deep);
  border-color: var(--brand);
  text-decoration: none;
}

.breadcrumb {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 0.65rem;
}

.meta { color: var(--muted); font-size: 0.9rem; }

.article-body .content {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.6rem 1.8rem;
  margin-top: 1.1rem;
  box-shadow: var(--shadow);
}

.article-body .content h2,
.article-body .content h3 {
  margin-top: 1.55rem;
  margin-bottom: 0.5rem;
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--brand-deep);
}

.article-body .content h2[id],
.article-body .content h3[id] {
  scroll-margin-top: 5.5rem;
}

.article-toc {
  background: var(--bg-warm);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem 1.15rem 1.1rem;
  margin: 0 0 1.25rem;
}

.article-toc p {
  margin: 0 0 0.55rem;
  font-size: 0.92rem;
  color: var(--muted);
}

.article-toc ol {
  margin: 0;
  padding-left: 1.2rem;
}

.article-toc li {
  margin: 0.25rem 0;
}

.article-toc a {
  color: var(--brand-deep);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.article-body .content .article-toc {
  margin-top: 0;
}

.article-body .content p,
.article-body .content ul,
.article-body .content ol,
.article-body .content li,
.article-body .content td,
.article-body .content th {
  color: var(--muted);
}

.article-body .content strong { color: var(--ink); }

.article-body .content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
  font-size: 0.92rem;
}
.article-body .content th,
.article-body .content td {
  border-bottom: 1px solid var(--line);
  padding: 0.55rem 0.4rem;
  text-align: left;
  vertical-align: top;
}
.article-body .content th { color: var(--brand-deep); }

.article-body .content code,
.article-body .content pre {
  background: #eef3f2;
  border-radius: 8px;
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
  font-size: 0.9em;
}
.article-body .content pre {
  padding: 1rem;
  overflow-x: auto;
}
.article-body .content code {
  padding: 0.12rem 0.35rem;
}
.article-body .content blockquote {
  margin: 1rem 0;
  padding: 0.75rem 1rem;
  border-left: 3px solid var(--accent);
  background: rgba(224, 152, 96, 0.1);
  color: var(--ink);
}

.article-body .content img {
  max-width: 100%;
  height: auto;
}

.article-body .content .service-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 0.9rem 1.25rem;
  margin: 0.4rem 0 1.2rem;
  padding: 1rem 1.1rem;
  background: #eef3f2;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.article-body .content .service-logos img {
  height: 36px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  display: block;
}

.article-body .content .logo-note {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: -0.4rem;
}

.legal-card {
  padding: 1.6rem 1.8rem;
  margin-top: 1rem;
}
.legal-card h2 {
  font-size: 1.15rem;
  margin-top: 1.5rem;
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--brand-deep);
}
.legal-card p,
.legal-card li { color: var(--muted); }

.requisites {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 0;
}
.requisites li { margin: 0.25rem 0; }

.footer-contacts {
  margin: 0.35rem 0 0.5rem;
}
.footer-max {
  font-weight: 600;
  color: var(--brand);
}
.footer-max:hover {
  color: var(--accent);
}

.max-bot-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.25rem;
}
.max-bot-card {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.15rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: 0 8px 24px rgba(64, 104, 104, 0.06);
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.max-bot-card:hover {
  border-color: var(--accent);
  transform: translateY(-1px);
}
.max-bot-badge {
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--brand-deep);
  background: rgba(64, 104, 104, 0.1);
  border-radius: 999px;
  padding: 0.15rem 0.55rem;
}
.max-bot-action {
  margin-top: 0.35rem;
  font-weight: 600;
  color: var(--accent);
}

.support-max {
  background: linear-gradient(180deg, rgba(224, 152, 96, 0.06), transparent 70%);
}

@media (max-width: 720px) {
  .max-bot-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .service-item:nth-child(odd),
  .service-item:nth-child(even) {
    padding-left: 0;
    padding-right: 0;
    border-right: none;
  }
  .header-inner { flex-direction: column; align-items: flex-start; }
  .nav { width: 100%; }
  .hero::before { inset: -10% -20% auto auto; opacity: 0.4; }
}

/* Survey module */
.survey-main { padding: 2rem 0 4rem; flex: 1; }
.survey-wrap { max-width: 720px; }
.survey-start-page { align-items: flex-start; padding-top: 2rem; padding-bottom: 3rem; }
.survey-start-stack {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: min(520px, 92vw);
}
.survey-code-banner {
  background: rgba(64,104,104,0.08);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.65rem 1rem;
  margin: 0 0 1rem;
  font-size: 0.95rem;
}
.survey-code-banner strong {
  font-family: ui-monospace, Consolas, monospace;
  letter-spacing: 0.06em;
  color: var(--brand-deep);
}
.survey-progress {
  height: 8px;
  background: var(--line);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 0.5rem;
}
.survey-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  transition: width 0.3s var(--ease);
}
.survey-progress-label { margin-bottom: 1.5rem; font-size: 0.9rem; }
.survey-step-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
}
.survey-q {
  font-family: var(--font-display);
  font-size: 1.65rem;
  line-height: 1.25;
  margin: 0 0 1rem;
}
.survey-help {
  margin-bottom: 1.25rem;
  padding: 0.75rem 1rem;
  background: var(--bg);
  border-radius: var(--radius);
  border: 1px solid var(--line);
}
.survey-help summary { cursor: pointer; font-weight: 600; color: var(--brand); }
.survey-options { display: flex; flex-direction: column; gap: 0.65rem; margin-bottom: 1.25rem; }
.survey-opt {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.survey-opt:hover { border-color: var(--brand-soft); background: rgba(64,104,104,0.04); }
.survey-opt input { margin-top: 0.25rem; accent-color: var(--brand); }
.survey-route-guide {
  margin: 0 0 1rem;
  padding: 0.75rem 1rem;
  border-left: 3px solid var(--brand);
  background: rgba(64,104,104,0.06);
  border-radius: 0 8px 8px 0;
  font-size: 0.95rem;
  line-height: 1.45;
}
.survey-comment.is-required textarea {
  border-color: var(--brand);
  box-shadow: 0 0 0 1px rgba(64,104,104,0.25);
}
.survey-comment.is-required span {
  font-weight: 600;
  color: var(--brand);
}
.survey-comment textarea,
.survey-text-label textarea {
  width: 100%;
  margin-top: 0.35rem;
  padding: 0.65rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-family: var(--font);
  resize: vertical;
}
.survey-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: flex-end;
  margin-top: 1.5rem;
}
.survey-done-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}
.verdict {
  padding: 1rem;
  border-radius: var(--radius);
  margin: 1.25rem 0;
}
.verdict-green { background: rgba(47,122,85,0.12); border: 1px solid rgba(47,122,85,0.3); }
.verdict-yellow { background: rgba(224,152,96,0.15); border: 1px solid rgba(224,152,96,0.35); }
.verdict-red { background: rgba(183,67,58,0.1); border: 1px solid rgba(183,67,58,0.3); }
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}
.product-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem;
}
.product-card.recommended { border-color: var(--brand); box-shadow: var(--shadow); }
.product-badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--brand);
}
.product-card h3 { font-size: 0.95rem; margin: 1rem 0 0.35rem; }
.product-card ul { margin: 0; padding-left: 1.2rem; font-size: 0.92rem; }
.product-select { margin-top: 1rem; border: none; padding: 0; }
.survey-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  margin: 1rem 0 2rem;
}
.survey-table th, .survey-table td {
  border: 1px solid var(--line);
  padding: 0.5rem 0.65rem;
  text-align: left;
  vertical-align: top;
}
.survey-preview {
  background: #1e2a2b;
  color: #e8f0f0;
  padding: 1rem;
  border-radius: var(--radius);
  overflow: auto;
  max-height: 480px;
  font-size: 0.82rem;
  line-height: 1.5;
  white-space: pre-wrap;
}

.survey-promo {
  background: rgba(64, 104, 104, 0.06);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.survey-promo .btn { margin-top: 0.5rem; }

/* Public NOVA-AiAssist promo */
.promo-ai {
  flex: 1;
}

.promo-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(2.6rem, 6vw, 4.8rem) 0 clamp(2.4rem, 5vw, 3.8rem);
}

.promo-hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(280px, 0.88fr);
  gap: clamp(1.75rem, 4vw, 3.2rem);
  align-items: start;
}

.promo-kicker {
  margin: 0 0 0.85rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-deep);
}

.promo-hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.05rem, 4.4vw, 3.15rem);
  line-height: 1.18;
  letter-spacing: -0.025em;
  color: var(--brand-deep);
  max-width: 24ch;
}

.promo-lead {
  margin: 1.15rem 0 0;
  color: #4a5f62;
  font-size: 1.08rem;
  line-height: 1.7;
  max-width: 42rem;
}

.promo-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  list-style: none;
  padding: 1.5rem 0 0;
  margin: 0.35rem 0 0;
}

.promo-stats li {
  display: grid;
  gap: 0.15rem;
  padding-right: 0.5rem;
}

.promo-stats strong {
  font-size: 1.02rem;
  color: var(--brand-deep);
}

.promo-stats span {
  font-size: 0.84rem;
  line-height: 1.4;
  color: #4a5f62;
}

.promo-hero-panel { margin: 0; }

.promo-chat-label {
  margin: 0 0 0.55rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #4a5f62;
}

.promo-chat {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.15rem 1.2rem 1.2rem;
}

.promo-bubble {
  margin: 0 0 0.65rem;
  padding: 0.75rem 0.9rem;
  border-radius: 12px;
  font-size: 0.95rem;
  line-height: 1.55;
}

.promo-bubble.user { background: #eef3f2; color: var(--ink); }
.promo-bubble.ai { background: rgba(64, 104, 104, 0.1); color: var(--brand-deep); }
.promo-bubble.ok { margin-bottom: 0; background: rgba(224, 152, 96, 0.16); color: var(--ink); }

.promo-strip {
  padding: 1.6rem 0 1.9rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.promo-strip-label {
  margin: 0 0 1rem;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 650;
  color: var(--brand-deep);
}

.logo-board {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
  gap: 0.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.logo-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 108px;
  padding: 0.9rem 0.65rem 0.7rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.logo-tile img {
  height: 40px;
  width: auto;
  max-width: 128px;
  object-fit: contain;
}

.logo-tile-edo img {
  height: 44px;
  max-width: 148px;
}

.logo-tile span {
  font-size: 0.75rem;
  font-weight: 650;
  color: var(--ink);
  text-align: center;
  line-height: 1.3;
}

.logo-mercury {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  height: 40px;
}

.logo-mercury img:first-child { height: 36px; width: 36px; }
.logo-mercury img:last-child { height: 22px; width: auto; max-width: 88px; }

.promo-bento {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 0.9rem;
}

.promo-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.3rem 1.3rem 1.4rem;
}

.promo-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.08rem;
  line-height: 1.3;
  color: var(--brand-deep);
}

.promo-card p {
  margin: 0;
  color: #4a5f62;
  font-size: 0.98rem;
  line-height: 1.65;
}

.promo-card.promo-card-lead,
.promo-card-lead {
  grid-row: span 2;
  background: var(--brand-deep);
  border-color: var(--brand-deep);
  color: #f7faf9;
}

.promo-card.promo-card-lead h3,
.promo-card-lead h3 {
  color: #ffffff;
}

.promo-card.promo-card-lead p,
.promo-card-lead p {
  color: #eef3f2;
}

.promo-practice { background: rgba(64, 104, 104, 0.05); }

.promo-security-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}

.promo-cases {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.promo-case {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.2rem 1.2rem 1.3rem;
}

.promo-case-logo {
  display: flex;
  align-items: center;
  height: 40px;
  margin-bottom: 0.85rem;
}

.promo-case-logo img {
  height: 32px;
  width: auto;
  max-width: 132px;
  object-fit: contain;
}

.promo-case h3 {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
  line-height: 1.3;
  color: var(--ink);
}

.promo-case p {
  margin: 0;
  color: #4a5f62;
  font-size: 0.96rem;
  line-height: 1.6;
}

.promo-steps {
  list-style: none;
  margin: 1.2rem 0 0;
  padding: 0;
  display: grid;
  gap: 0;
}

.promo-steps li {
  display: grid;
  grid-template-columns: 3.2rem 1fr;
  gap: 0.95rem;
  align-items: start;
  padding: 1.15rem 0;
  border-top: 1px solid var(--line);
}

.promo-steps li:last-child { border-bottom: 1px solid var(--line); }

.promo-steps span {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--accent-deep);
}

.promo-steps h3 { margin: 0 0 0.35rem; font-size: 1.08rem; }
.promo-steps p { margin: 0; color: #4a5f62; line-height: 1.6; }

.promo-faq details {
  border-bottom: 1px solid var(--line);
  padding: 0.95rem 0;
}

.promo-faq summary {
  cursor: pointer;
  font-weight: 650;
  color: var(--brand-deep);
  line-height: 1.45;
}

.promo-faq details p {
  margin: 0.65rem 0 0.2rem;
  color: #4a5f62;
  line-height: 1.65;
  max-width: 62ch;
}

.promo-final { padding: 0 0 3.5rem; }

.promo-final-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.8rem 1.9rem;
  background: var(--brand-deep);
  border-radius: 18px;
  color: #f4f7f6;
}

.promo-final-inner h2 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-weight: 400;
  color: #fff;
}

.promo-final-inner p {
  margin: 0;
  max-width: 46ch;
  color: rgba(244, 247, 246, 0.86);
  line-height: 1.6;
}

.promo-final-inner .btn.ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}

.promo-legal {
  margin: 0.9rem auto 0;
  font-size: 0.78rem;
  line-height: 1.45;
  color: #4a5f62;
}

.pitch-crumb {
  margin: 0 0 0.85rem;
}

.pitch-prices {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.pitch-price {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.35rem 1.4rem 1.5rem;
}

.pitch-price-label {
  margin: 0 0 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-deep);
}

.pitch-price-amount {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 2.15rem;
  line-height: 1.1;
  color: var(--brand-deep);
}

.pitch-price-period {
  margin: 0.25rem 0 0.85rem;
  font-size: 0.88rem;
  color: #4a5f62;
}

.pitch-price p:last-child {
  margin: 0;
  color: #4a5f62;
  font-size: 0.96rem;
  line-height: 1.6;
}

.pitch-price.featured {
  background: var(--brand-deep);
  border-color: var(--brand-deep);
  color: #f4f7f6;
}

.pitch-price.featured .pitch-price-label {
  color: var(--accent);
}

.pitch-price.featured .pitch-price-amount {
  color: #fff;
}

.pitch-price.featured .pitch-price-period,
.pitch-price.featured p:last-child {
  color: rgba(244, 247, 246, 0.86);
}

.pitch-more {
  margin: 1.25rem 0 0;
  color: #4a5f62;
}

.pitch-chats {
  display: grid;
  gap: 1rem;
}

.pitch-chats .promo-chat {
  padding: 0.95rem 1rem 1rem;
}

.pitch-chats .promo-bubble {
  font-size: 0.9rem;
}

@media (max-width: 900px) {
  .promo-hero-grid,
  .promo-bento,
  .promo-cases,
  .promo-security-grid,
  .promo-stats,
  .pitch-prices {
    grid-template-columns: 1fr;
  }
  .promo-card-lead { grid-row: auto; }
  .promo-hero h1 { max-width: none; }
}

.stack-form label { display: block; margin: 0.75rem 0; }
.stack-form input[type="text"],
.stack-form input[type="email"],
.stack-form select {
  display: block;
  width: 100%;
  margin-top: 0.35rem;
  padding: 0.55rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.slot-list { padding-left: 1.2rem; }
.slot-list li { margin: 0.6rem 0; }
.vpn-instr {
  background: #f7f8f6;
  padding: 1rem;
  border-radius: 8px;
  border: 1px solid var(--line);
}
.page-title { font-family: var(--font-display); font-weight: 400; font-size: 2rem; }

.aiassist-poster {
  padding: 0.75rem 0 1.75rem;
}

.aiassist-poster-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding: 1.5rem 1.75rem;
  background: #f4f6f4;
  border: 1px solid var(--line);
  border-radius: 18px;
}

.aiassist-poster-kicker {
  margin: 0 0 0.35rem;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #5a6e70;
}

.aiassist-poster-inner h2 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.45rem;
  color: var(--brand-deep);
}

.aiassist-poster-inner p {
  margin: 0;
  max-width: 42rem;
  color: #4a5f62;
  line-height: 1.55;
}

.aiassist-poster-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.ops-page { padding: 2rem 0 4rem; }
.ops-hero {
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
  margin: 0 0 1.5rem;
}
.ops-mark {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--surface);
}
.ops-kicker {
  margin: 0 0 0.25rem;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--brand-soft);
}
.ops-kpi {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 0 0 1.5rem;
  border-top: 1px solid var(--line);
}
.ops-kpi article {
  padding: 1.2rem 1rem 1.2rem 0;
  border-bottom: 1px solid var(--line);
}
.ops-kpi article:not(:nth-child(4n)) {
  padding-right: 1.25rem;
  border-right: 1px solid var(--line);
}
.ops-kpi article:nth-child(4n) { padding-left: 1.25rem; }
.ops-kpi-label {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}
.ops-kpi-value {
  margin: 0.2rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 400;
  color: var(--brand-deep);
  line-height: 1.15;
}
.ops-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1rem 0;
}
.ops-panel { padding: 1.25rem 1.5rem; margin: 1rem 0; }
.ops-panel h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--brand-deep);
}
.ops-panel ul { margin: 0; padding-left: 1.1rem; }
.ops-table-wrap { overflow: auto; }
.ops-table {
  width: 100%;
  border-collapse: collapse;
}
.ops-table th,
.ops-table td {
  text-align: left;
  padding: 0.45rem 0.6rem 0.45rem 0;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.ops-table th { color: var(--muted); font-weight: 600; font-size: 0.85rem; }
@media (max-width: 800px) {
  .ops-kpi,
  .ops-split { grid-template-columns: 1fr 1fr; }
  .ops-kpi article:not(:nth-child(4n)) { border-right: none; padding-right: 0.5rem; }
  .ops-hero { flex-direction: column; }
}
@media (max-width: 560px) {
  .ops-kpi,
  .ops-split { grid-template-columns: 1fr; }
}
