:root {
  --ink: #111111;
  --text: #333333;
  --muted: #8a8a8a;
  --paper: #ffffff;
  --panel: #f6f6f6;
  --line: #ececec;
  --link: #0068b1;
  --green: #1faa59;
  --green-deep: #0c2418;
  --bad: #b42318;
  --sans: "Poppins", "Segoe UI", sans-serif;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
}
img { max-width: 100%; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}
.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: #fff;
  color: #000;
  padding: 8px 12px;
  z-index: 6;
}
.skip:focus { top: 12px; }
.wrap {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}
h1, h2, h3 {
  font-family: var(--sans);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0;
  color: var(--ink);
}
h1 { font-size: clamp(2rem, 4vw, 2.7rem); font-weight: 500; margin: 0 0 14px; }
h2 { font-size: clamp(1.55rem, 2.4vw, 2rem); margin: 0 0 12px; }
h3 { font-size: 1.15rem; margin: 0 0 8px; }
p { margin: 0 0 14px; }
.lead { font-size: 1.05rem; max-width: 44rem; color: var(--text); }
.kicker {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: #000;
  color: #fff;
  transition: box-shadow .35s ease;
}
.site-header.is-scrolled { box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35); }
.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 84px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  text-decoration: none;
}
.brand:hover { color: #fff; text-decoration: none; }
.brand-mark {
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  overflow: visible;
}
.mark-ring {
  fill: none;
  stroke: #fff;
  stroke-width: 1.6;
}
.mark-core { fill: #1faa59; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.brand-tag {
  margin-top: 4px;
  max-width: 15rem;
  color: #9a9a9a;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.header-tools, .lang-switch, .actions { display: flex; align-items: center; gap: 18px; }
.lang-switch a {
  color: #d0d0d0;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.92rem;
}
.lang-switch a:hover { color: #fff; text-decoration: none; }
.lang-switch a[aria-current="true"] { color: #fff; }
.menu-button {
  display: none;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: transparent;
  color: #fff;
  border-radius: 999px;
  padding: 8px 14px;
  font: 600 0.9rem/1 var(--sans);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--green);
  color: #fff;
  text-decoration: none;
  border: 0;
  border-radius: 999px;
  padding: 14px 22px;
  font: 600 0.95rem/1 var(--sans);
  cursor: pointer;
  white-space: nowrap;
}
.button:hover { background: #188e4a; color: #fff; text-decoration: none; }
.button-quiet {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px #d7d7d7;
}
.button-quiet:hover { background: #f3f3f3; color: var(--ink); }
.button-small { padding: 12px 22px; }
.site-header .button {
  background: #fff;
  color: #000;
  padding: 12px 22px;
}
.site-header .button:hover { background: #f2f2f2; color: #000; }

.role-bar { background: #000; }
.role-bar-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  padding: 0 0 16px;
}
.role-bar a {
  position: relative;
  color: #b5b5b5;
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 500;
}
.role-bar a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 2px;
  background: #1faa59;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .28s ease;
}
.role-bar a:hover,
.role-bar a[aria-current="page"] { color: #fff; text-decoration: none; }
.role-bar a:hover::after,
.role-bar a[aria-current="page"]::after { transform: scaleX(1); }

.hero-band {
  position: relative;
  overflow: hidden;
  background: #000;
  color: #fff;
  padding: 28px 0 64px;
}
.hero-band::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  right: -140px;
  top: -180px;
  background: radial-gradient(circle, rgba(31, 170, 89, 0.38), transparent 68%);
  pointer-events: none;
  animation: glow-drift 10s ease-in-out infinite alternate;
}
.hero-band > .wrap { position: relative; z-index: 1; }
.hero-band h1 { color: #fff; }
.hero-band .kicker,
.hero-band .lead { color: #cfcfcf; }
.hero {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.15fr);
  gap: 48px;
  align-items: center;
}
.hero-gate { grid-template-columns: 1fr; max-width: 820px; }
.hero-band-page { padding: 18px 0 48px; }
.hero-band .button-quiet {
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.45);
}
.hero-band .button-quiet:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }
.sheet {
  background:
    radial-gradient(90% 80% at 85% 90%, rgba(31, 170, 89, 0.55), transparent 60%),
    linear-gradient(160deg, #163526 0%, #07140e 70%);
  color: #fff;
  border-radius: 28px;
  min-height: 280px;
  padding: 28px 28px 16px;
}
.sheet-label {
  margin: 0 0 12px;
  color: #b7f0cf;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.sheet ol { margin: 0; padding-left: 1.2rem; }
.sheet li { margin: 10px 0; }

section.wrap, .steps, .faq, .request, .agent { padding: 36px 0; }
.role-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}
.role-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 180px;
  padding: 22px 20px;
  background: var(--panel);
  border-radius: 22px;
  color: var(--ink);
  text-decoration: none;
}
.role-card:hover {
  color: var(--ink);
  text-decoration: none;
  transform: translateY(-4px);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.06);
}
.role-index { color: #888; font-size: 0.82rem; font-weight: 600; }
.role-nav { font-weight: 600; color: var(--ink); }
.role-h1 { font-size: 1.15rem; line-height: 1.35; font-weight: 600; }
.role-text { color: #555; font-size: 0.95rem; }

.step-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.step-list li {
  margin: 0;
  padding: 22px 20px 8px;
  background: var(--panel);
  border-radius: 22px;
}
.step-list span { color: #888; font-weight: 600; }
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.split article {
  background: var(--panel);
  border-radius: 22px;
  padding: 24px 24px 8px;
}
.faq article {
  border-top: 1px solid var(--line);
  padding: 16px 0;
}
.cta-band { background: #000; color: #fff; }
.cta-band h2, .cta-band p { color: #fff; }
.cta-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 42px 0;
}
.cta-band .button { background: #fff; color: #000; }
.cta-band .button:hover { background: #f2f2f2; color: #000; }
.cta-mail a { color: #fff; font-weight: 600; }

.agent { padding-top: 28px; }
.agent-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 36px;
  align-items: start;
}
.agent-side {
  position: sticky;
  top: 108px;
  max-height: calc(100vh - 124px);
  overflow: auto;
  background: var(--panel);
  border-radius: 24px;
  padding: 22px 18px 10px 20px;
  border-left: 4px solid #111;
}
.agent-side .footer-label { margin-top: 0; color: #111; }
.side-links { list-style: none; padding: 0; margin: 0; counter-reset: side; }
.side-links li { counter-increment: side; margin: 0; border-top: 1px solid #e6e6e6; }
.side-links li:first-child { border-top: 0; }
.side-links a {
  display: block;
  padding: 10px 4px;
  color: #222;
  text-decoration: none;
}
.side-links a::before {
  content: counter(side) ". ";
  color: #888;
}
.side-links a[aria-current="page"],
.side-links a:hover { color: #000; font-weight: 600; text-decoration: none; }
.breadcrumb { color: #bdbdbd; font-size: 0.92rem; margin-bottom: 14px; }
.breadcrumb a { color: #bdbdbd; }
.breadcrumb a:hover { color: #fff; }

.gate-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 36px 0 56px;
}
.gate-columns article {
  background: var(--panel);
  border-radius: 24px;
  padding: 24px 24px 12px;
}
.link-list { padding-left: 1.1rem; }
.link-list a { color: var(--link); }
.request { max-width: 760px; }
.request-form { display: grid; gap: 8px; max-width: 36rem; }
.request-form label { display: block; font-weight: 600; margin-bottom: 4px; color: var(--ink); }
.request-form input, .request-form select, .request-form textarea {
  width: 100%;
  border: 1px solid #e2e2e2;
  background: #fff;
  color: var(--ink);
  font: inherit;
  padding: 12px 14px;
  border-radius: 12px;
}
.field-error { color: var(--bad); font-size: 0.92rem; }
.form-note { color: var(--muted); }
.notice {
  background: #e8f6ee;
  color: var(--ink);
  padding: 12px 14px;
  border-radius: 12px;
}
.notice-bad { background: #fdecea; }
.hp { position: absolute; left: -10000px; height: 0; overflow: hidden; }
.contact-line a { color: #fff; font-weight: 600; }
.hero-band .contact-line { color: #cfcfcf; }

.site-footer {
  background: #000;
  color: #bdbdbd;
  padding: 40px 0 56px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 24px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}
.footer-brand .brand-mark { width: 32px; height: 32px; }
.footer-slogan { color: #9a9a9a; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.78rem; }
.footer-mail a { color: #fff; font-weight: 600; }
.footer-label { color: #fff; font-weight: 600; }
.footer-links { list-style: none; padding: 0; margin: 0; columns: 2; }
.footer-links a { color: #bdbdbd; text-decoration: none; }
.footer-links a:hover { color: #fff; }
.footer-links li { margin: 0 0 6px; break-inside: avoid; }
.site-footer p a { color: #bdbdbd; }

.role-card, .step-list li, .button { transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.request-form input:focus,
.request-form select:focus,
.request-form textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(31, 170, 89, 0.18);
}
noscript img[src^="https://mc.yandex.ru/watch/"] {
  position: absolute;
  left: -9999px;
}

@media (max-width: 900px) {
  .hero, .role-grid, .step-list, .split, .gate-columns, .agent-layout, .footer-grid, .cta-inner {
    grid-template-columns: 1fr;
  }
  .cta-inner, .hero { display: grid; }
  .agent-side { position: static; max-height: none; }
  .footer-links { columns: 1; }
  .hero-copy { order: -1; }
}
@media (max-width: 720px) {
  .wrap { width: min(var(--max), calc(100% - 32px)); }
  .header-bar { flex-wrap: wrap; min-height: 72px; padding: 12px 0; }
  .menu-button { display: inline-flex; margin-left: auto; }
  .header-tools {
    display: none;
    width: 100%;
    padding-bottom: 8px;
  }
  body.menu-open .header-tools { display: flex; }
  .brand-tag { letter-spacing: 0.08em; }
}

.mark-ring {
  stroke-dasharray: 91;
  stroke-dashoffset: 91;
  animation: draw-line .7s cubic-bezier(.2, .7, .2, 1) .08s forwards;
}
.mark-core {
  transform-box: fill-box;
  transform-origin: center;
  animation: fold-in .45s cubic-bezier(.2, .7, .2, 1) .42s both;
}
.hero-copy > * { animation: rise .7s cubic-bezier(.2, .7, .2, 1) both; }
.hero-copy > *:nth-child(1) { animation-delay: .05s; }
.hero-copy > *:nth-child(2) { animation-delay: .14s; }
.hero-copy > *:nth-child(3) { animation-delay: .24s; }
.hero-copy > *:nth-child(4) { animation-delay: .34s; }
.hero-copy > *:nth-child(5) { animation-delay: .44s; }
.sheet { animation: sheet-in .8s cubic-bezier(.2, .7, .2, 1) .08s both, glow-pulse 5.5s ease-in-out 1s infinite; }
.sheet li {
  opacity: 0;
  animation: rise .5s cubic-bezier(.2, .7, .2, 1) forwards;
}
.sheet li:nth-child(1) { animation-delay: .35s; }
.sheet li:nth-child(2) { animation-delay: .46s; }
.sheet li:nth-child(3) { animation-delay: .57s; }
.sheet li:nth-child(4) { animation-delay: .68s; }
.button { transition: transform .22s ease, background .22s ease, box-shadow .22s ease; }
.button:hover { transform: translateY(-2px); }
.role-card { position: relative; overflow: hidden; }
.role-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: #1faa59;
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .35s ease;
}
.role-card:hover::before { transform: scaleY(1); }
.js .role-card,
.js .step-list > li,
.js .split > article,
.js #definition,
.js .faq article,
.js .gate-columns > article,
.js .agent-layout section,
.js .agent-side,
.js .cta-band {
  opacity: 0;
  transform: translateY(18px);
}
.js .role-card.is-in,
.js .step-list > li.is-in,
.js .split > article.is-in,
.js #definition.is-in,
.js .faq article.is-in,
.js .gate-columns > article.is-in,
.js .agent-layout section.is-in,
.js .agent-side.is-in,
.js .cta-band.is-in {
  opacity: 1;
  transform: none;
  transition: opacity .6s ease var(--d, 0ms), transform .6s cubic-bezier(.2, .7, .2, 1) var(--d, 0ms), box-shadow .25s ease, background .25s ease;
}
.js .role-card.is-in:hover { transform: translateY(-6px); }
.role-card:nth-child(2) { --d: 50ms; }
.role-card:nth-child(3) { --d: 100ms; }
.role-card:nth-child(4) { --d: 150ms; }
.role-card:nth-child(5) { --d: 200ms; }
.role-card:nth-child(6) { --d: 250ms; }
.role-card:nth-child(7) { --d: 300ms; }
.role-card:nth-child(8) { --d: 350ms; }
.role-card:nth-child(9) { --d: 400ms; }
.role-card:nth-child(10) { --d: 450ms; }
.role-card:nth-child(11) { --d: 500ms; }
.role-card:nth-child(12) { --d: 550ms; }
.step-list > li:nth-child(2) { --d: 80ms; }
.step-list > li:nth-child(3) { --d: 160ms; }
.faq article:nth-child(2) { --d: 40ms; }
.faq article:nth-child(3) { --d: 80ms; }
.faq article:nth-child(4) { --d: 120ms; }
.faq article:nth-child(5) { --d: 160ms; }
.faq article:nth-child(6) { --d: 200ms; }
.faq article:nth-child(7) { --d: 240ms; }
@view-transition { navigation: auto; }

@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}
@keyframes sheet-in {
  from { opacity: 0; transform: translateY(22px) scale(.98); }
  to { opacity: 1; transform: none; }
}
@keyframes glow-drift {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-40px, 28px, 0); }
}
@keyframes glow-pulse {
  0%, 100% { box-shadow: 0 18px 40px rgba(31, 170, 89, 0.08); }
  50% { box-shadow: 0 22px 54px rgba(31, 170, 89, 0.32); }
}
@keyframes fold-in {
  from { transform: scale(0); opacity: 0; }
  to { transform: none; opacity: 1; }
}
@keyframes fade-in { to { opacity: 1; } }
@keyframes draw-line { to { stroke-dashoffset: 0; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .role-card, .step-list li, .button, .role-bar a::after, .role-card::before { transition: none; }
  .hero-band::before,
  .mark-ring,
  .mark-core,
  .hero-copy > *,
  .sheet,
  .sheet li { animation: none; }
  .mark-core, .hero-copy > *, .sheet, .sheet li { opacity: 1; }
  .mark-ring { stroke-dashoffset: 0; }
  .mark-core { transform: none; }
  .js .role-card,
  .js .step-list > li,
  .js .split > article,
  .js #definition,
  .js .faq article,
  .js .gate-columns > article,
  .js .agent-layout section,
  .js .agent-side,
  .js .cta-band {
    opacity: 1;
    transform: none;
    transition: none;
  }
  ::view-transition-group(*),
  ::view-transition-old(*),
  ::view-transition-new(*) { animation: none; }
}
