@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("manrope-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("manrope-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
:root {
  color-scheme: light;
  --bg: #eeefed;
  --ink: #151713;
  --muted: #50554e;
  --border: #2b30262c;
  --acid: #d7fa55;
  --acid-hover: #e7ff86;
  --acid-soft: #eaf5c5;
  --focus: #426000;
  --sans: Manrope, system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box }
html { scroll-behavior: smooth }
::selection { background: var(--acid); color: var(--ink) }
body {
  margin: 0;
  min-width: 0;
  color: var(--ink);
  background: radial-gradient(ellipse at 6% 8%, #f9faf8 0, transparent 43rem),
              radial-gradient(ellipse at 80% 19%, #d9dcd7 0, transparent 45rem), var(--bg);
  font: 15px/1.58 var(--sans);
}
a { color: inherit; text-decoration: none }
button { font: inherit; cursor: pointer }
button, a { -webkit-tap-highlight-color: transparent }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 4px }
[tabindex="-1"]:focus { outline: none }
[hidden] { display: none !important }
p, h1, h2, h3 { margin: 0 }
.shell { width: min(1200px, calc(100% - 88px)); margin-inline: auto }
.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0 }

.topbar { min-height: 79px; display: grid; grid-template-columns: 1fr auto 1fr; gap: 20px; align-items: center; border-bottom: 1px solid var(--border) }
.brand { min-height: 44px; display: inline-flex; justify-self: start; gap: 9px; align-items: center; white-space: nowrap; font-size: 17px; font-weight: 800; letter-spacing: -.035em }
.brand img { width: 37px; height: 37px }
nav { display: flex; align-items: center; gap: 29px; color: var(--muted); font-size: 14px }
nav a { display: grid; min-height: 44px; place-items: center }
nav a:hover, nav [aria-current="page"] { color: var(--ink) }
.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 19px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 660;
  text-align: center;
  line-height: 1.3;
  transition: background .18s, border-color .18s, color .18s;
}
.button svg, .back-link svg { width: 17px; height: 17px; flex: none }
.primary { background: var(--acid); color: var(--ink); border-color: #8aab273e; font-weight: 800 }
.primary:hover { background: var(--acid-hover); border-color: #768f2b86 }
.primary svg { transition: transform .22s cubic-bezier(.2,.75,.25,1) }
.primary:is(:hover,:focus-visible) svg { transform: translateX(3px) }
.quiet { border-color: var(--border); background: #ffffff70; color: var(--ink) }
.quiet:hover { border-color: #59614c91; background: #ffffffc9 }
.text-button { background: transparent; color: var(--muted); padding-inline: 10px }
.text-button:hover { color: var(--ink) }
.top-account { justify-self: end; min-height: 44px }
.top-account[aria-current="page"] { border-color: #78952e99; background: var(--acid-soft) }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 21px }
.low-actions { margin-top: 11px }

.hero {
  display: grid;
  grid-template-columns: 1.04fr 1fr;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
  padding-block: 28px 0;
}
.hero-copy { min-width: 0; padding-block: 24px }
.kicker { display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: 12px; font-weight: 730; letter-spacing: .02em; line-height: 1.4 }
.kicker span { width: 7px; height: 7px; flex: none; border-radius: 50%; background: var(--acid); border: 1px solid #6f881c }
h1, h2, h3 { font-weight: 760 }
.hero h1 { margin-bottom: 23px; font-size: clamp(44px, 6vw, 86px); font-weight: 800; letter-spacing: -.04em; line-height: 1 }
.intro { max-width: 37ch; color: var(--muted); font-size: clamp(16px, 1.6vw, 19px); line-height: 1.58 }
.hero-actions { margin-top: 28px }
.hero-actions .primary { min-height: 54px; padding-inline: 21px }
.hero-visual, .wizard-visual {
  position: relative;
  isolation: isolate;
}
.hero-visual { height: clamp(430px, 43vw, 565px); min-width: 0 }
.hero-visual::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: radial-gradient(ellipse at 66% 59%, #c7ed4b9c 0, #d6ec8e65 26%, transparent 61%),
              radial-gradient(ellipse at 33% 40%, #ffffffd9 0, #f6f8ef76 34%, transparent 68%);
  filter: blur(25px);
}
.hero-light { position: absolute; z-index: -1; inset: 0; width: 100%; height: 100%; pointer-events: none }
.light-trace { animation: light-arrival .95s cubic-bezier(.16,1,.3,1) both }
@keyframes light-arrival {
  from { opacity: .28; transform: translate(-16px, 12px) }
  to { opacity: 1; transform: translate(0, 0) }
}
.hero-visual::after { content: ""; position: absolute; inset: auto 16% 2% 12%; height: 13%; background: radial-gradient(ellipse, #222d174d, #3b482019 35%, transparent 70%); filter: blur(9px) }
.hero-visual img { position: absolute; z-index: 1; width: auto; height: 90%; max-width: 95%; object-fit: contain; top: 4%; left: 49%; transform: translateX(-50%); filter: drop-shadow(0 12px 12px #26341835) }
.hero-caption { margin-top: 38px; padding-top: 15px; border-top: 1px solid var(--border); color: var(--muted); font-size: 13px; max-width: 37ch }

.section { padding-top: 83px; scroll-margin-top: 17px }
.section-intro { margin-bottom: 25px }
.section-intro h2 { margin: 0 0 8px; font-size: clamp(34px, 4.2vw, 55px); line-height: 1.06; letter-spacing: -.04em }
.section-intro > p:not(.kicker), .muted { color: var(--muted) }
.glass {
  border: 1px solid #ffffffdd;
  border-radius: 20px;
  background: linear-gradient(137deg, #ffffffa8, #ffffff66 56%, #e5e8e2c7);
  box-shadow: inset 0 1px 0 #fff, 0 10px 28px #242a2014;
  backdrop-filter: blur(18px);
}
.progress { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding: 0; margin: 0 0 16px; list-style: none }
.progress li { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 13px; border-top: 3px solid #d1d5cc; padding-top: 10px; transition: border-color .24s ease-out }
.progress span { display: grid; place-items: center; width: 30px; min-height: 25px; border-radius: 6px; font-size: 12px; font-weight: 750; font-variant-numeric: tabular-nums }
.progress [aria-current="step"] { color: var(--ink); font-weight: 800; border-color: var(--ink) }
.progress [aria-current="step"] span { background: var(--acid); color: var(--ink) }
.progress .complete { border-color: #9db750 }
.step-card { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(200px, .9fr); gap: 17px; min-height: 360px; position: relative; padding: 15px; background: #f8f9f6; border: 1px solid #fff; border-radius: 22px; box-shadow: 0 13px 34px #21271b12 }
.wizard-content { min-width: 0; align-self: center; padding: clamp(13px, 3vw, 35px) }
.step-heading { margin-bottom: 17px }
.step-heading h3 { font-size: clamp(25px, 3vw, 39px); letter-spacing: -.035em; line-height: 1.1 }
.step-heading p { color: var(--muted); margin-top: 7px }
.devices { min-width: 0; display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 8px; padding: 0; border: 0; margin: 0 }
.devices label { position: relative; min-width: 0; cursor: pointer }
.devices input { position: absolute; opacity: 0; width: 1px; height: 1px }
.devices label span { display: flex; min-height: 75px; gap: 6px; align-items: center; justify-content: center; flex-direction: column; border: 1px solid var(--border); border-radius: 11px; background: #ffffff78; color: var(--ink); font-size: 13px; transition: background .18s, border-color .18s }
.devices svg { width: 22px; height: 22px }
.devices label:hover span { border-color: #59614c91 }
.devices input:checked + span { border-color: #596a34; background: var(--acid-soft); color: var(--ink); box-shadow: inset 0 0 0 1px #596a34 }
.devices input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 3px }
.wizard-visual { align-self: stretch; min-height: 290px }
.wizard-visual::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 60% 56%, #c8ec64ad, #d9ed9a54 34%, transparent 68%); filter: blur(12px) }
.wizard-visual::after { content: ""; position: absolute; inset: auto 15% 1%; height: 15%; background: radial-gradient(ellipse, #29361942, transparent 65%); filter: blur(6px) }
.wizard-visual img { position: absolute; z-index: 1; height: 90%; width: 100%; top: 5%; object-fit: contain; filter: drop-shadow(0 7px 8px #27361638) }
.step-card:not([hidden]) .wizard-visual img { animation: pose-arrival .35s cubic-bezier(.16,1,.3,1) both }
@keyframes pose-arrival {
  from { opacity: .7; transform: translateY(7px) }
  to { opacity: 1; transform: translateY(0) }
}
.instructions { margin: 0; padding: 0; list-style: none; counter-reset: guide }
.instructions li { counter-increment: guide; display: flex; align-items: flex-start; gap: 10px }
.instructions li+li { margin-top: 11px }
.instructions li::before { content: counter(guide); display: grid; place-items: center; flex: 0 0 24px; height: 24px; border-radius: 50%; background: var(--acid-soft); color: var(--ink); font-size: 11px; font-weight: 700 }
.instructions p { color: var(--muted); font-size: 14px }
.note { margin-top: 16px; color: var(--muted); font-size: 13px }
.faq { padding-bottom: 78px; max-width: 760px }
.faq details { border-top: 1px solid var(--border) }
.faq details:last-child { border-bottom: 1px solid var(--border) }
.faq summary { cursor: pointer; min-height: 48px; padding-block: 13px; font-weight: 650 }
.faq details p { padding-bottom: 15px; color: var(--muted) }
.channel-grid, .account-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px }
.channel { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; padding: 20px; transition: border-color .18s }
.channel:hover { border-color: #59614c91 }
.tile-icon { display: grid; width: 41px; height: 41px; place-items: center; border-radius: 12px; color: var(--ink); border: 1px solid #748e3050; background: var(--acid-soft) }
.tile-icon svg, .channel-arrow { width: 20px; height: 20px }
.channel strong { font-size: 17px }
.channel p { color: var(--muted); font-size: 14px; margin-top: 3px }
.channel-arrow { color: var(--ink) }
.footer { border-top: 1px solid var(--border); min-height: 72px; display: flex; flex-wrap: wrap; gap: 0 12px; align-items: center; justify-content: space-between; color: var(--muted); font-size: 13px }
.footer .brand { color: var(--ink) }
.footer > a:not(.brand) { padding-block: 12px }
.footer > a:hover { color: var(--ink) }
.footer p { padding-block: 8px }

.inner-view { min-height: min(730px, calc(100svh - 150px)); padding-block: 35px 78px }
.inner-view .section-intro h1 { margin: 13px 0 8px; font-size: clamp(42px, 6.1vw, 76px); letter-spacing: -.04em; line-height: 1.02 }
.back-link { display: inline-flex; min-height: 44px; align-items: center; gap: 7px; margin-bottom: 19px; color: var(--muted); font-size: 14px }
.back-link:hover { color: var(--ink) }
.back-link svg { transform: rotate(180deg) }
.inner-card, .chat { padding: clamp(22px, 4vw, 41px) }
.inner-card h2, dialog h2 { font-size: clamp(29px, 4vw, 44px); line-height: 1.1; letter-spacing: -.035em; margin: 10px 0 8px }
.status { display: inline-flex; align-items: center; gap: 7px; border-radius: 20px; background: #e0e5e4; padding: 4px 10px; color: var(--muted); font-size: 12px; font-weight: 650 }
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #677874 }
.status.active { background: var(--acid-soft); color: var(--ink) }
.status.active::before { background: #537416 }
.chat { max-width: 665px; padding: 0; overflow: hidden }
.chat-top { display: flex; gap: 11px; align-items: center; padding: 17px 21px; border-bottom: 1px solid var(--border); background: #ffffff67 }
.chat-top p { color: var(--muted); font-size: 13px }
.chat-body { padding: 20px }
.bubble { width: fit-content; max-width: 90%; background: #ffffff7a; border: 1px solid var(--border); border-radius: 13px 13px 13px 3px; padding: 10px 14px; margin-bottom: 9px }
.bubble .status { margin-bottom: 6px }
dialog { width: min(470px, calc(100% - 34px)); margin: auto; padding: 26px; border: 1px solid #fff; border-radius: 20px; color: var(--ink); background: #f2f5f4; box-shadow: 0 16px 50px #253b373e }
dialog::backdrop { background: #253a365c; backdrop-filter: blur(7px) }
dialog p:not(.kicker) { color: var(--muted) }

@media (max-width: 1000px) {
  .shell { width: calc(100% - 56px) }
  .hero { gap: 25px }
}
@media (max-width: 700px) {
  .shell { width: calc(100% - 30px) }
  .topbar { grid-template-columns: 1fr auto auto; gap: 10px; min-height: 65px }
  nav { font-size: 13px; gap: 10px }
  .nav-connect { display: none }
  .top-account { min-height: 44px; padding-inline: 10px; font-size: 12px; gap: 5px }
  .top-account svg { width: 15px; height: 15px }
  .hero { display: block; padding-top: 27px }
  .hero-copy { padding: 0 0 18px }
  .hero h1 { font-size: clamp(40px, 10.4vw, 62px); margin-bottom: 12px }
  .hero-actions { margin-top: 18px }
  .hero-actions .primary { min-height: 49px }
  .hero-visual { height: clamp(300px, 88vw, 425px) }
  .hero-visual img { height: 91%; left: 50%; top: 4% }
  .hero-caption { margin-top: 16px; padding-top: 0; border: 0; font-size: 12px }
  .section { padding-top: 58px }
  .progress { gap: 7px }
  .progress li { font-size: 11px; gap: 4px; padding-top: 7px }
  .progress span { width: 24px; min-height: 22px }
  .step-card { display: block; min-height: 0; padding: 14px; border-radius: 17px }
  .wizard-content { padding: 0 }
  .step-heading { min-height: 138px; padding-right: 108px; display: grid; align-content: center }
  .step-heading p { font-size: 13px; line-height: 1.4 }
  .wizard-visual { position: absolute; pointer-events: none; top: 14px; right: 14px; width: 96px; height: 138px; min-height: 0 }
  .wizard-visual::before { filter: blur(6px) }
  .devices { grid-template-columns: repeat(2,minmax(0,1fr)) }
  .devices label span { min-height: 63px }
  .faq { padding-bottom: 53px }
  .channel-grid, .account-grid { grid-template-columns: 1fr }
  .inner-view { padding-block: 14px 52px }
}
@media (max-width: 355px) {
  .topbar { gap: 6px }
  .brand { font-size: 15px; gap: 5px }
  .brand img { width: 29px; height: 29px }
  .hero h1 { font-size: 37px }
  .progress { column-gap: 6px }
  .step-heading { padding-right: 90px }
  .step-heading h3 { font-size: 23px }
  .wizard-visual { width: 79px }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important }
}


/* 16.11: кнопка, пока идёт её запрос */
button.busy, button.busy:hover { opacity: .55; cursor: progress; pointer-events: none; }
