.home-page {
  --home-bg: #05070b;
  --home-surface: #0b0f15;
  --home-surface-strong: #11171f;
  --home-line: rgb(255 255 255 / 10%);
  --home-line-soft: rgb(255 255 255 / 6%);
  --home-line-strong: rgb(98 255 191 / 32%);
  --home-text: #f4f7f6;
  --home-muted: #a3b0aa;
  --home-dim: #8b9a93;
  --home-green: #62ffbf;
  --home-green-soft: rgb(98 255 191 / 9%);
  --home-cyan: #83e7ff;
  --home-pad: clamp(20px, 5vw, 78px);
  --home-nav-h: 72px;
  --home-section-y: clamp(58px, 6.2vw, 96px);
  --home-display: Manrope, Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  --home-mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  margin-bottom: 0;
  overflow-x: hidden;
  color: var(--home-text);
  background:
    radial-gradient(circle at 76% 4%, rgb(56 151 121 / 14%), transparent 29rem),
    radial-gradient(circle at 10% 28%, rgb(20 82 64 / 12%), transparent 28rem),
    var(--home-bg);
}

/* базовая тема кладёт сиреневую сетку — на мятном лендинге она чужая */
.home-page::before {
  opacity: .55;
  background-image:
    linear-gradient(rgb(98 255 191 / 6%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(98 255 191 / 6%) 1px, transparent 1px);
  background-size: 56px 56px;
}

:root:has(body.home-page) {
  scroll-behavior: smooth;
}

.home-page .page-container {
  width: min(100%, 1440px);
  max-width: none;
  padding: 0 var(--home-pad);
}

.home-page .page-container > main {
  padding-bottom: 0 !important;
}

.home-page .footer {
  display: none;
}

.home-page a {
  color: inherit;
}

/*
 * `.home-page a` (0,1,1) специфичнее, чем `.home-button--primary` (0,1,0), и затирал
 * цвет текста у кнопок-ссылок: на мятной заливке он становился почти белым (1.18:1).
 * У <button> той же проблемы нет, поэтому submit формы всегда выглядел правильно.
 */
.home-page a.home-button {
  color: var(--home-text);
}

.home-page a.home-button--primary {
  color: #06110d;
}

.home-page h1,
.home-page h2,
.home-page h3,
.home-page .home-brand strong {
  font-family: var(--home-display);
}

/* ============================== navigation ============================== */

.home-nav {
  position: sticky;
  z-index: 30;
  top: 0;
  margin: 0 calc(-1 * var(--home-pad));
  border-bottom: 1px solid var(--home-line);
  padding: 0 var(--home-pad);
  background: rgb(5 7 11 / 76%);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
}

.home-nav__inner {
  display: grid;
  min-height: var(--home-nav-h);
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}

.home-brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 12px;
  text-decoration: none;
}

.home-brand__mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid var(--home-line-strong);
  border-radius: 9px;
  color: #06110d;
  background: var(--home-green);
  box-shadow: 0 0 28px rgb(98 255 191 / 17%);
  font-size: 1.02rem;
  font-weight: 900;
}

.home-brand > span:last-child {
  display: grid;
  gap: 1px;
}

.home-brand strong {
  font-size: .96rem;
  letter-spacing: .01em;
}

.home-brand small {
  color: var(--home-dim);
  font-family: var(--home-mono);
  font-size: .63rem;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.home-nav__links {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.4vw, 32px);
}

.home-nav__links a {
  position: relative;
  color: var(--home-muted);
  font-size: .85rem;
  font-weight: 600;
  text-decoration: none;
}

.home-nav__links a::after {
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 1px;
  content: "";
  background: var(--home-green);
  transform: scaleX(0);
  transition: transform 160ms ease;
}

.home-nav__links a:hover,
.home-nav__links a:focus-visible {
  color: var(--home-text);
}

.home-nav__links a:hover::after,
.home-nav__links a:focus-visible::after {
  transform: scaleX(1);
}

.home-nav__actions {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 16px;
}

.home-nav__cta {
  white-space: nowrap;
}

.home-nav__pay {
  color: var(--home-muted);
  font-size: .85rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.home-nav__pay:hover,
.home-nav__pay:focus-visible {
  color: var(--home-green);
}

/* мобильное меню на <details>: доступно с клавиатуры и не требует скриптов */
.home-nav__menu {
  display: none;
  position: relative;
}

.home-nav__menu > summary {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--home-line);
  border-radius: 9px;
  cursor: pointer;
  list-style: none;
}

.home-nav__menu > summary::-webkit-details-marker {
  display: none;
}

.home-nav__menu > summary > span,
.home-nav__menu > summary > span::before,
.home-nav__menu > summary > span::after {
  display: block;
  width: 17px;
  height: 1.5px;
  border-radius: 2px;
  background: var(--home-text);
  transition: transform 180ms ease, opacity 120ms ease;
}

.home-nav__menu > summary > span::before,
.home-nav__menu > summary > span::after {
  position: relative;
  content: "";
}

.home-nav__menu > summary > span::before { top: -5.5px; }
.home-nav__menu > summary > span::after { top: 4px; }

.home-nav__menu[open] > summary > span {
  background: transparent;
}

.home-nav__menu[open] > summary > span::before {
  transform: translateY(5.5px) rotate(45deg);
}

.home-nav__menu[open] > summary > span::after {
  transform: translateY(-4px) rotate(-45deg);
}

.home-nav__sheet {
  display: grid;
  position: absolute;
  z-index: 5;
  top: calc(100% + 12px);
  right: 0;
  min-width: 232px;
  border: 1px solid var(--home-line);
  border-radius: 12px;
  padding: 8px;
  background: var(--home-surface);
  box-shadow: 0 26px 70px rgb(0 0 0 / 55%);
}

.home-nav__sheet a {
  border-radius: 8px;
  padding: 11px 12px;
  color: var(--home-muted);
  font-size: .9rem;
  font-weight: 600;
  text-decoration: none;
}

.home-nav__sheet a:hover,
.home-nav__sheet a:focus-visible {
  color: var(--home-text);
  background: rgb(255 255 255 / 5%);
}

/* ================================ buttons =============================== */

.home-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid var(--home-line);
  border-radius: 9px;
  padding: 13px 20px;
  color: var(--home-text);
  background: rgb(255 255 255 / 3%);
  font-size: .88rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease, transform 160ms ease;
}

.home-button:hover {
  border-color: rgb(255 255 255 / 28%);
  color: var(--home-text);
  background: rgb(255 255 255 / 7%);
  transform: translateY(-1px);
}

.home-button:focus-visible,
.home-page a:focus-visible,
.home-page summary:focus-visible,
.home-page button:focus-visible,
.home-page input:focus-visible {
  outline: 2px solid var(--home-green);
  outline-offset: 3px;
}

.home-button--compact {
  min-height: 40px;
  padding: 10px 16px;
  font-size: .84rem;
}

.home-button--primary {
  border-color: var(--home-green);
  color: #06110d;
  background: var(--home-green);
  box-shadow: 0 14px 42px rgb(98 255 191 / 13%);
}

.home-button--primary:hover {
  border-color: #91ffd2;
  color: #06110d;
  background: #91ffd2;
}

.home-button--secondary {
  background: transparent;
}

/* ================================= hero ================================= */

.home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(360px, .84fr);
  align-items: center;
  gap: clamp(40px, 4.6vw, 72px);
  padding: clamp(52px, 7vw, 104px) 0 clamp(48px, 6vw, 88px);
}

.home-hero__copy,
.home-console,
.home-section__heading--split > *,
.home-feature,
.home-operations > *,
.home-payment > * {
  min-width: 0;
}

.home-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--home-green);
  font-family: var(--home-mono);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  line-height: 1.45;
  text-transform: uppercase;
}

.home-kicker > span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--home-green);
  box-shadow: 0 0 16px rgb(98 255 191 / 80%);
}

.home-hero h1 {
  margin: 0;
  color: var(--home-text);
  /* заголовок задаётся в админке и содержит явный перенос — размер подобран так,
     чтобы авторские строки не ломались дополнительно */
  font-size: clamp(2.2rem, 3.5vw, 3.4rem);
  font-weight: 600;
  /* кириллица не терпит латинского трекинга: −0.065em склеивал слова */
  letter-spacing: -.022em;
  line-height: 1.1;
  text-wrap: balance;
  white-space: pre-line;
}

.home-hero__lead {
  max-width: 56ch;
  margin: 26px 0 0;
  color: var(--home-muted);
  font-size: clamp(1rem, 1.15vw, 1.14rem);
  line-height: 1.68;
}

.home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.home-hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin: 28px 0 0;
  padding: 0;
  color: var(--home-muted);
  font-size: .82rem;
  list-style: none;
}

.home-hero__facts span {
  margin-right: 6px;
  color: var(--home-green);
}

/* ============================== facts strip ============================= */

.home-facts {
  border-top: 1px solid var(--home-line);
  border-bottom: 1px solid var(--home-line);
  padding: clamp(26px, 3vw, 38px) 0;
}

.home-facts dl {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 44px);
  margin: 0;
}

.home-facts dt {
  color: var(--home-text);
  font-family: var(--home-display);
  font-size: clamp(1.15rem, 1.6vw, 1.5rem);
  font-weight: 650;
  letter-spacing: -.015em;
}

.home-facts dd {
  margin: 8px 0 0;
  color: var(--home-dim);
  font-size: .84rem;
  line-height: 1.6;
}

/* =============================== console ================================ */

.home-console {
  overflow: hidden;
  border: 1px solid var(--home-line);
  border-radius: 12px;
  background: rgb(7 11 15 / 88%);
  box-shadow: 0 35px 100px rgb(0 0 0 / 48%), 0 0 60px rgb(98 255 191 / 5%);
  font-family: var(--home-mono);
}

.home-console__topbar {
  display: grid;
  min-height: 44px;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid var(--home-line);
  padding: 0 15px;
  color: var(--home-dim);
  font-size: .68rem;
}

.home-console__lights {
  display: flex;
  gap: 6px;
}

.home-console__lights i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #344039;
}

.home-console__lights i:first-child { background: #ff6c65; }
.home-console__lights i:nth-child(2) { background: #e9c45f; }
.home-console__lights i:last-child { background: var(--home-green); }

.home-console__live {
  display: inline-flex;
  align-items: center;
  justify-self: end;
  gap: 6px;
  color: var(--home-green);
  text-transform: uppercase;
}

.home-console__live i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--home-green);
  animation: home-pulse 2.6s ease-in-out infinite;
}

.home-console__body {
  padding: clamp(20px, 3vw, 30px);
}

.home-console__metric {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--home-line);
  padding: 0 0 20px;
  color: var(--home-dim);
  font-size: .7rem;
  letter-spacing: .1em;
}

.home-console__metric strong {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--home-green);
  font-size: .72rem;
}

.home-console__metric i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--home-green);
  box-shadow: 0 0 14px rgb(98 255 191 / 80%);
  animation: home-pulse 2.6s ease-in-out infinite;
}

.home-console__timeline {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 8px 0;
  list-style: none;
}

.home-console__timeline li {
  position: relative;
  display: grid;
  min-height: 70px;
  grid-template-columns: 30px 1fr auto;
  align-items: center;
  gap: 12px;
}

.home-console__timeline li:not(:last-child)::before {
  position: absolute;
  top: 47px;
  bottom: -23px;
  left: 14px;
  width: 1px;
  content: "";
  background: var(--home-line-strong);
}

.home-console__timeline li > span {
  display: grid;
  position: relative;
  z-index: 1;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid var(--home-line-strong);
  border-radius: 50%;
  color: var(--home-green);
  background: var(--home-surface);
  font-size: .6rem;
}

.home-console__timeline p {
  display: grid;
  gap: 4px;
  margin: 0;
}

.home-console__timeline strong {
  color: #e4ebe7;
  font-size: .78rem;
  font-weight: 600;
}

.home-console__timeline small,
.home-console__timeline time {
  color: var(--home-dim);
  font-size: .72rem;
}

.home-console__footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  border-top: 1px solid var(--home-line);
  padding-top: 16px;
  color: var(--home-dim);
  font-size: .7rem;
}

.home-console__footer code {
  overflow: hidden;
  color: var(--home-cyan);
  text-overflow: ellipsis;
}

/* =============================== sections =============================== */

.home-section {
  border-top: 1px solid var(--home-line);
  padding: var(--home-section-y) 0;
  scroll-margin-top: calc(var(--home-nav-h) + 12px);
}

.home-hero,
.home-facts {
  scroll-margin-top: var(--home-nav-h);
}

.home-facts + .home-section {
  border-top: 0;
}

.home-section__heading {
  max-width: 760px;
  margin-bottom: clamp(30px, 3.6vw, 52px);
}

.home-section__heading--center {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.home-section__heading--center .home-kicker {
  justify-content: center;
}

.home-section__heading--split {
  display: grid;
  max-width: none;
  grid-template-columns: minmax(0, 1fr) minmax(300px, .62fr);
  align-items: end;
  gap: 24px 60px;
}

.home-section h2 {
  margin: 0;
  color: var(--home-text);
  font-size: clamp(1.9rem, 3.1vw, 3.05rem);
  font-weight: 600;
  letter-spacing: -.02em;
  line-height: 1.08;
  text-wrap: balance;
}

/* второй уровень: не все секции должны кричать одинаково громко */
.home-section h2.home-section__title--sub {
  font-size: clamp(1.5rem, 2.1vw, 2.1rem);
  letter-spacing: -.015em;
  line-height: 1.15;
}

/* специфичнее, чем `.home-section__heading > p`, иначе кикер уезжает в серый */
.home-section__heading > p,
.home-section__heading--split > p,
.home-operations__intro > p,
.home-payment__heading > p {
  margin: 18px 0 0;
  color: var(--home-muted);
  font-size: 1rem;
  line-height: 1.7;
}

.home-section__heading > p.home-kicker,
.home-operations__intro > p.home-kicker,
.home-payment__heading > p.home-kicker,
.home-contact__copy > p.home-kicker {
  margin: 0 0 18px;
  color: var(--home-green);
  font-size: .72rem;
  line-height: 1.45;
}

/* ================================= flow ================================= */

.home-flow__rail {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: stretch;
  gap: clamp(9px, 1.4vw, 20px);
}

.home-flow__node {
  display: grid;
  min-height: 138px;
  align-content: space-between;
  border: 1px solid var(--home-line);
  border-radius: 10px;
  padding: 18px;
  background: linear-gradient(145deg, rgb(255 255 255 / 3%), transparent 65%);
}

.home-flow__node--accent {
  border-color: var(--home-line-strong);
  background: linear-gradient(145deg, var(--home-green-soft), transparent 70%);
  box-shadow: inset 0 0 30px rgb(98 255 191 / 3%);
}

.home-flow__node > span {
  color: var(--home-green);
  font-family: var(--home-mono);
  font-size: .68rem;
}

.home-flow__node strong {
  align-self: end;
  color: var(--home-text);
  font-size: .95rem;
  line-height: 1.35;
}

.home-flow__node small {
  color: var(--home-dim);
  font-size: .78rem;
}

.home-flow__arrow {
  align-self: center;
  color: #56675e;
  font-family: var(--home-mono);
}

/* ============================= capabilities ============================= */

.home-capabilities {
  display: grid;
  /* 3+3 в первой строке и 2+2+2 во второй — сетка закрывается без дыр */
  grid-template-columns: repeat(6, minmax(0, 1fr));
  border-top: 1px solid var(--home-line);
  border-left: 1px solid var(--home-line);
}

.home-feature {
  display: flex;
  position: relative;
  min-height: 258px;
  flex-direction: column;
  grid-column: span 2;
  border-right: 1px solid var(--home-line);
  border-bottom: 1px solid var(--home-line);
  padding: clamp(22px, 2.4vw, 32px);
  background: rgb(255 255 255 / 1%);
  transition: background 180ms ease;
}

.home-feature:hover {
  background: var(--home-green-soft);
}

.home-feature--wide {
  grid-column: span 3;
}

.home-feature__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 26px;
}

.home-feature__number {
  color: var(--home-dim);
  font-family: var(--home-mono);
  font-size: .75rem;
}

.home-feature__icon {
  display: grid;
  width: 40px;
  height: 40px;
  flex: none;
  place-items: center;
  border: 1px solid var(--home-line-strong);
  border-radius: 8px;
  color: var(--home-green);
  background: var(--home-green-soft);
  font-family: var(--home-mono);
  font-size: .8rem;
  font-weight: 700;
}

.home-feature h3 {
  margin: 0 0 10px;
  color: var(--home-text);
  font-size: 1.12rem;
  font-weight: 650;
  letter-spacing: -.01em;
}

.home-feature p {
  max-width: 46ch;
  margin: 0;
  color: var(--home-muted);
  font-size: .94rem;
  line-height: 1.65;
}

.home-feature ul,
.home-audience__grid ul {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.home-feature li,
.home-audience__grid li {
  border: 1px solid var(--home-line);
  border-radius: 999px;
  padding: 5px 11px;
  color: #c3cec9;
  font-size: .75rem;
}

.home-feature ul {
  margin-top: auto;
  padding-top: 20px;
}

/* =============================== audience =============================== */

.home-audience__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--home-line);
  border-left: 1px solid var(--home-line);
}

.home-audience__grid article {
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--home-line);
  border-bottom: 1px solid var(--home-line);
  padding: clamp(22px, 2.4vw, 34px);
}

.home-audience__grid h3 {
  margin: 0 0 10px;
  color: var(--home-text);
  font-size: 1.06rem;
  font-weight: 650;
}

.home-audience__grid p {
  max-width: 50ch;
  margin: 0;
  color: var(--home-muted);
  font-size: .92rem;
  line-height: 1.65;
}

.home-audience__grid ul {
  margin-top: auto;
  padding-top: 18px;
}

/* =============================== operations ============================= */

.home-operations {
  display: grid;
  grid-template-columns: minmax(280px, .78fr) minmax(0, 1.22fr);
  gap: clamp(40px, 6vw, 96px);
  background: linear-gradient(110deg, rgb(98 255 191 / 3%), transparent 38%);
}

.home-operations__intro {
  align-self: center;
}

.home-operations__intro .home-operations__note {
  border-left: 1px solid var(--home-line-strong);
  margin-top: 28px;
  padding-left: 14px;
  color: var(--home-muted);
  font-family: var(--home-mono);
  font-size: .78rem;
  line-height: 1.6;
}

.home-operations__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--home-line);
  border-left: 1px solid var(--home-line);
}

.home-operations__grid article {
  display: grid;
  min-height: 140px;
  grid-template-columns: 32px 1fr;
  gap: 14px;
  border-right: 1px solid var(--home-line);
  border-bottom: 1px solid var(--home-line);
  padding: 22px;
}

.home-operations__grid article > span {
  color: var(--home-green);
  font-family: var(--home-mono);
  font-size: .72rem;
}

.home-operations__grid h3 {
  margin: 0 0 8px;
  color: var(--home-text);
  font-size: 1rem;
  font-weight: 650;
}

.home-operations__grid p {
  margin: 0;
  color: var(--home-muted);
  font-size: .88rem;
  line-height: 1.6;
}

/* ================================ process =============================== */

.home-process__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr);
  align-items: start;
  gap: clamp(36px, 5vw, 76px);
}

.home-process__steps {
  display: grid;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--home-line);
  list-style: none;
}

.home-process__steps li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 18px;
  border-bottom: 1px solid var(--home-line);
  padding: 22px 0;
}

.home-process__steps li > span {
  color: var(--home-green);
  font-family: var(--home-mono);
  font-size: .78rem;
}

.home-process__steps h3 {
  margin: 0 0 8px;
  color: var(--home-text);
  font-size: 1.06rem;
  font-weight: 650;
}

.home-process__steps p {
  max-width: 58ch;
  margin: 0;
  color: var(--home-muted);
  font-size: .92rem;
  line-height: 1.65;
}

.home-process__formats {
  border: 1px solid var(--home-line);
  border-radius: 12px;
  padding: clamp(22px, 2.6vw, 32px);
  background: linear-gradient(160deg, rgb(98 255 191 / 5%), transparent 46%), var(--home-surface);
}

.home-process__formats > h3 {
  margin: 0 0 18px;
  color: var(--home-green);
  font-family: var(--home-mono);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.home-process__formats ul {
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-process__formats li {
  display: grid;
  gap: 5px;
  border-top: 1px solid var(--home-line-soft);
  padding-top: 16px;
}

.home-process__formats li:first-child {
  border-top: 0;
  padding-top: 0;
}

.home-process__formats strong {
  color: var(--home-text);
  font-size: .95rem;
  font-weight: 650;
}

.home-process__formats span {
  color: var(--home-muted);
  font-size: .88rem;
  line-height: 1.6;
}

.home-process__pricing {
  margin: 22px 0 0;
  border-top: 1px solid var(--home-line);
  padding-top: 16px;
  color: var(--home-dim);
  font-size: .84rem;
  line-height: 1.6;
}

/* ================================== faq ================================= */

.home-faq__list {
  display: grid;
  border-top: 1px solid var(--home-line);
}

.home-faq__list details {
  border-bottom: 1px solid var(--home-line);
}

.home-faq__list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
  color: var(--home-text);
  cursor: pointer;
  font-family: var(--home-display);
  font-size: clamp(1rem, 1.25vw, 1.14rem);
  font-weight: 650;
  list-style: none;
  transition: color 160ms ease;
}

.home-faq__list summary::-webkit-details-marker {
  display: none;
}

.home-faq__list summary::after {
  flex: none;
  color: var(--home-green);
  content: "+";
  font-family: var(--home-mono);
  font-size: 1.15rem;
  transition: transform 180ms ease;
}

.home-faq__list details[open] summary::after {
  transform: rotate(45deg);
}

.home-faq__list summary:hover {
  color: var(--home-green);
}

.home-faq__list p {
  max-width: 74ch;
  margin: 0;
  padding: 0 0 24px;
  color: var(--home-muted);
  font-size: .95rem;
  line-height: 1.72;
}

/* ================================ contact =============================== */

.home-contact__panel {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, .95fr);
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
  border: 1px solid var(--home-line-strong);
  border-radius: 16px;
  padding: clamp(28px, 4vw, 56px);
  background: linear-gradient(140deg, rgb(98 255 191 / 8%), transparent 52%), var(--home-surface);
  box-shadow: 0 30px 90px rgb(0 0 0 / 35%);
}

.home-contact__copy h2 {
  font-size: clamp(1.7rem, 2.6vw, 2.5rem);
}

.home-contact__copy p {
  max-width: 52ch;
  margin: 18px 0 0;
  color: var(--home-muted);
  font-size: 1rem;
  line-height: 1.7;
}

.home-contact__actions {
  display: grid;
  gap: 24px;
}

.home-contact__cta {
  min-height: 54px;
  justify-self: start;
  padding: 15px 26px;
  font-size: .95rem;
}

.home-contact__channels {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-contact__channels li {
  display: grid;
  grid-template-columns: 84px 1fr;
  align-items: baseline;
  gap: 14px;
  border-top: 1px solid var(--home-line);
  padding-top: 12px;
  font-size: .92rem;
}

.home-contact__channels span {
  color: var(--home-dim);
  font-family: var(--home-mono);
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.home-contact__channels a {
  color: var(--home-green);
  overflow-wrap: anywhere;
  text-underline-offset: 4px;
}

/* ================================ payment =============================== */

.home-payment {
  display: grid;
  grid-template-columns: minmax(280px, .85fr) minmax(340px, 1.15fr);
  align-items: start;
  gap: clamp(40px, 8vw, 120px);
}

.home-payment__heading {
  position: sticky;
  top: calc(var(--home-nav-h) + 24px);
}

.home-payment__form {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--home-line);
  border-radius: 12px;
  padding: clamp(24px, 3.4vw, 40px);
  background: linear-gradient(145deg, rgb(98 255 191 / 6%), transparent 42%), var(--home-surface);
  box-shadow: 0 30px 90px rgb(0 0 0 / 35%);
}

.home-payment__form::before {
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  content: "";
  background: linear-gradient(90deg, var(--home-green), transparent 72%);
}

.home-payment__form .form-label {
  color: #d3dbd7;
  font-size: .82rem;
  font-weight: 650;
}

.home-payment__form .form-control {
  min-height: 52px;
  border-color: var(--home-line);
  border-radius: 8px;
  color: var(--home-text);
  background: rgb(2 5 7 / 64%);
  box-shadow: none;
}

.home-payment__form .form-control:focus {
  border-color: var(--home-green);
  background: rgb(2 5 7 / 88%);
  box-shadow: 0 0 0 3px rgb(98 255 191 / 10%);
}

.home-payment__form .form-control::placeholder {
  color: #7c8a84;
}

.home-payment__submit {
  width: 100%;
  margin-top: 26px;
}

.home-payment__note {
  margin: 14px 0 0;
  color: var(--home-dim);
  font-size: .78rem;
  line-height: 1.55;
  text-align: center;
}

/* ================================= legal ================================ */

.home-legal__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--home-line);
  border-left: 1px solid var(--home-line);
}

.home-legal__grid article {
  border-right: 1px solid var(--home-line);
  border-bottom: 1px solid var(--home-line);
  padding: clamp(22px, 2.6vw, 34px);
}

.home-legal__grid h3 {
  margin: 0 0 14px;
  color: var(--home-text);
  font-size: 1rem;
  font-weight: 650;
}

.home-legal__grid p,
.home-legal__grid dl {
  margin: 0;
  color: var(--home-muted);
  font-size: .88rem;
  line-height: 1.7;
}

.home-legal__requisites {
  grid-column: 1 / -1;
}

.home-legal__requisites dl {
  display: grid;
  grid-template-columns: minmax(100px, .22fr) 1fr;
  gap: 8px 24px;
}

.home-legal__requisites dt {
  color: var(--home-dim);
  font-weight: 500;
}

.home-legal__requisites dd {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
}

.home-legal__requisites a,
.home-legal__footer a {
  color: var(--home-green);
  text-underline-offset: 4px;
}

.home-legal__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  border-top: 1px solid var(--home-line);
  padding: 26px 0 40px;
  color: var(--home-dim);
  font-size: .82rem;
}

/* ================================ motion ================================ */

@keyframes home-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .32; }
}

/*
 * Scroll-driven reveal (animation-timeline: view()) сознательно не используется:
 * у нижних секций диапазон прокрутки упирается в конец страницы и контент рискует
 * остаться полупрозрачным. Движение здесь несёт смысл только там, где показывает
 * живой статус, — этого достаточно.
 */

.home-flow__node,
.home-audience__grid article,
.home-process__formats,
.home-legal__grid article {
  transition: border-color 180ms ease, background 180ms ease;
}

.home-flow__node:hover,
.home-audience__grid article:hover {
  border-color: var(--home-line-strong);
  background: var(--home-green-soft);
}

/* =============================== responsive ============================= */

@media (max-width: 1180px) {
  .home-hero {
    grid-template-columns: minmax(0, 1fr) minmax(340px, .8fr);
    gap: 40px;
  }

  .home-flow__rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-flow__arrow {
    display: none;
  }

  .home-facts dl {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .home-nav__links {
    display: none;
  }

  .home-nav__menu {
    display: block;
  }

  .home-nav__inner {
    grid-template-columns: 1fr auto;
  }
}

@media (max-width: 900px) {
  .home-page {
    --home-pad: 28px;
  }

  .home-hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .home-console {
    width: min(100%, 620px);
  }

  .home-section__heading--split,
  .home-operations,
  .home-process__layout,
  .home-contact__panel,
  .home-payment {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .home-audience__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .home-contact__cta {
    justify-self: stretch;
  }

  .home-payment__heading {
    position: static;
  }
}

@media (max-width: 700px) {
  .home-page {
    --home-pad: 20px;
    --home-nav-h: 64px;
  }

  .home-brand small,
  .home-nav__pay,
  .home-nav__cta-tail {
    display: none;
  }

  .home-hero {
    gap: 44px;
    padding: 44px 0 56px;
  }

  .home-hero h1 {
    max-width: none;
    font-size: clamp(2.2rem, 10vw, 3.2rem);
  }

  .home-hero__actions {
    display: grid;
  }

  .home-hero__facts {
    display: grid;
    gap: 9px;
  }

  .home-facts dl {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .home-console__body {
    padding: 19px;
  }

  .home-console__timeline li {
    grid-template-columns: 30px minmax(0, 1fr);
  }

  .home-console__timeline time {
    display: none;
  }

  .home-section__heading--split {
    gap: 8px;
  }

  .home-flow__rail,
  .home-operations__grid,
  .home-legal__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .home-flow__node {
    min-height: 120px;
  }

  .home-capabilities {
    grid-template-columns: minmax(0, 1fr);
  }

  .home-feature,
  .home-feature--wide {
    min-height: 0;
    grid-column: auto;
  }

  .home-process__steps li {
    grid-template-columns: 32px 1fr;
    gap: 12px;
  }

  .home-legal__requisites {
    grid-column: auto;
  }

  .home-legal__requisites dl {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .home-legal__requisites dd + dt {
    margin-top: 8px;
  }

  .home-contact__channels li {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }

  .home-legal__footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 390px) {
  .home-page {
    --home-pad: 16px;
  }

  .home-brand__mark {
    width: 34px;
    height: 34px;
  }

  .home-button--compact {
    padding-right: 12px;
    padding-left: 12px;
  }

  .home-hero h1 {
    font-size: 2.2rem;
  }

  .home-console__footer {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .home-console__footer span:last-child {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  :root:has(body.home-page) {
    scroll-behavior: auto;
  }

  .home-page *,
  .home-page *::before,
  .home-page *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
