:root {
  --ink: #e9eee7;
  --muted: #9ba69d;
  --paper: #101511;
  --panel: #171d18;
  --panel-2: #1e251f;
  --line: rgba(232, 239, 229, .12);
  --lime: #c8ff55;
  --lime-dark: #18230d;
  --blue: #77b8d5;
  --amber: #efc268;
  --red: #ed8779;
  --white: #f8faf6;
  --radius: 28px;
  --shadow: 0 30px 90px rgba(0, 0, 0, .28);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 84% 8%, rgba(119, 184, 213, .08), transparent 24rem),
    radial-gradient(circle at 28% 32%, rgba(200, 255, 85, .045), transparent 28rem),
    var(--paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.55;
}
button, a { font: inherit; }
button { color: inherit; }
a { color: inherit; }
code { font-family: "SFMono-Regular", Consolas, monospace; }
h1, h2, h3 { text-wrap: balance; }
p, li, small { text-wrap: pretty; }
button, .button, .download { min-width: 44px; min-height: 44px; }
button:active, .button:active, .download:active { transform: scale(.96); }

.side {
  position: fixed;
  inset: 0 auto 0 0;
  width: 280px;
  padding: 30px 24px;
  border-right: 1px solid var(--line);
  background: rgba(12, 16, 13, .88);
  backdrop-filter: blur(24px);
  z-index: 20;
  display: flex;
  flex-direction: column;
}
.brand {
  display: flex;
  gap: 12px;
  align-items: center;
  text-decoration: none;
  margin-bottom: 48px;
}
.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: var(--lime);
  color: #0d120e;
  font-weight: 900;
  letter-spacing: -.04em;
}
.brand b, .brand small { display: block; }
.brand b { font-size: 14px; }
.brand small { color: var(--muted); font-size: 12px; margin-top: 2px; }
.side nav { display: grid; gap: 6px; }
.side nav a {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 12px;
  text-decoration: none;
  color: var(--muted);
  font-size: 14px;
  transition: .2s ease;
}
.side nav a:hover, .side nav a.active { color: var(--white); background: rgba(255, 255, 255, .06); }
.side nav span {
  width: 23px;
  height: 23px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 7px;
  font-size: 11px;
  color: var(--lime);
}
.side-progress {
  margin-top: auto;
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: rgba(255, 255, 255, .025);
}
body:not(.practice-started) .side-progress { display: none; }
.side-progress div { display: flex; justify-content: space-between; font-size: 13px; }
.side-progress div span, .side-progress small { color: var(--muted); }
.side-progress i, .success i {
  display: block;
  height: 5px;
  background: rgba(255, 255, 255, .08);
  border-radius: 99px;
  overflow: hidden;
  margin: 12px 0 9px;
}
.side-progress u, .success u {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: var(--lime);
  transition: width .35s ease;
}
.side-progress small { font-size: 11px; }

.mobile-nav { display: none; }
main { margin-left: 280px; padding: 34px 4vw 60px; }
.shell { width: min(1180px, 100%); margin-inline: auto; }

.hero {
  min-height: 670px;
  display: grid;
  grid-template-columns: 1.12fr .88fr;
  gap: 70px;
  align-items: center;
  padding: 70px 0 80px;
}
.eyebrow {
  margin: 0 0 15px;
  color: var(--lime);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: 11px;
  font-weight: 800;
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  margin-bottom: 28px;
  font-size: clamp(52px, 6.3vw, 92px);
  line-height: .98;
  letter-spacing: -.065em;
  font-weight: 760;
}
h1 em { color: var(--muted); font-style: normal; font-weight: 520; }
.hero-lead { max-width: 700px; color: #bec7bf; font-size: 20px; line-height: 1.6; }
.hero-actions { display: flex; gap: 12px; margin-top: 34px; flex-wrap: wrap; }
.button, .download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 22px;
  border-radius: 15px;
  font-weight: 760;
  text-decoration: none;
  transition: transform .2s ease, background .2s ease;
}
.button:hover, .download:hover { transform: translateY(-2px); }
.button.primary, .download { background: var(--lime); color: #0c120d; }
.button.ghost { background: rgba(255, 255, 255, .06); border: 1px solid var(--line); }

.evolution {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: linear-gradient(155deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .015));
  box-shadow: var(--shadow);
}
.evolution-head { display: flex; justify-content: space-between; margin-bottom: 22px; color: var(--muted); font-size: 13px; }
.evolution-head b { color: var(--white); }
.evo-step {
  display: grid;
  grid-template-columns: 34px 56px 1fr;
  gap: 12px;
  align-items: center;
  min-height: 84px;
  padding: 13px 15px;
  margin-top: 9px;
  border: 1px solid transparent;
  border-radius: 17px;
  background: rgba(255, 255, 255, .025);
}
.evo-step > span { color: var(--muted); font: 700 11px "SFMono-Regular", monospace; }
.evo-step > i {
  height: 44px;
  border-radius: 10px;
  background: repeating-linear-gradient(0deg, rgba(255,255,255,.13) 0 3px, transparent 3px 8px);
}
.evo-step div b, .evo-step div small { display: block; }
.evo-step div b { font-size: 15px; }
.evo-step div small { color: var(--muted); font-size: 12px; margin-top: 2px; }
.evo-step.visual { border-color: rgba(200, 255, 85, .18); background: rgba(200, 255, 85, .055); }
.evo-step.visual > i { background: linear-gradient(135deg, var(--lime), #79a331); }
.evo-step.interactive > i { background: linear-gradient(135deg, var(--blue), #315868); }
.evo-step.useful > i { background: linear-gradient(135deg, var(--amber), #755b28); }

.reframe {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 28px;
  align-items: start;
  padding: 42px;
  border: 1px solid rgba(239, 194, 104, .25);
  border-radius: var(--radius);
  background: rgba(239, 194, 104, .055);
}
.reframe-icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 19px;
  background: var(--amber);
  color: #241a08;
  font-size: 30px;
  font-weight: 900;
}
.reframe h2 { margin-bottom: 13px; font-size: 33px; letter-spacing: -.035em; }
.reframe p:last-child { margin-bottom: 0; color: #c3c9c1; max-width: 910px; }

.rules {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 18px;
  margin-bottom: 110px;
}
.rules article {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, .025);
}
.rules article > span { color: var(--lime); font: 700 11px "SFMono-Regular", monospace; }
.rules b { display: block; margin: 15px 0 8px; font-size: 16px; }
.rules p { margin-bottom: 0; color: var(--muted); font-size: 14px; }

.route {
  scroll-margin-top: 30px;
  padding: 45px;
  margin-top: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .025);
  box-shadow: 0 20px 70px rgba(0, 0, 0, .1);
}
.route.highlight {
  border-color: rgba(200, 255, 85, .26);
  background: linear-gradient(155deg, rgba(200, 255, 85, .07), rgba(255, 255, 255, .018) 50%);
}
.section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}
.section-head h2, .bonus h2, .safety h2 {
  margin-bottom: 0;
  font-size: clamp(31px, 4vw, 52px);
  line-height: 1.05;
  letter-spacing: -.05em;
}
.section-intro { max-width: 850px; margin: 23px 0 32px; color: #aeb8b0; font-size: 18px; }
.check {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  flex: none;
  padding: 10px 13px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--muted);
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
}
.check input { position: absolute; opacity: 0; }
.check span {
  width: 18px;
  height: 18px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 6px;
}
.check:has(input:checked) { color: #11170e; background: var(--lime); border-color: var(--lime); }
.check:has(input:checked) span { border-color: #11170e; background: #11170e; box-shadow: inset 0 0 0 4px var(--lime); }

.start-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.start-card {
  position: relative;
  min-height: 360px;
  padding: 31px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--panel);
  overflow: hidden;
}
.card-no {
  position: absolute;
  right: 22px;
  top: 12px;
  color: rgba(255, 255, 255, .055);
  font-size: 88px;
  line-height: 1;
  font-weight: 900;
}
.start-card h3 { position: relative; margin: 19px 0; font-size: 23px; letter-spacing: -.03em; }
.start-card ol { padding-left: 20px; color: #bac3bb; }
.start-card li + li { margin-top: 8px; }
.download { width: 100%; margin-top: 12px; }
.micro { margin: 13px 0 0; text-align: center; color: var(--muted); font-size: 12px; }
.screen-ok {
  display: flex;
  gap: 15px;
  align-items: flex-start;
  margin-top: 28px;
  padding: 20px;
  border: 1px solid rgba(200, 255, 85, .22);
  border-radius: 17px;
  background: rgba(200, 255, 85, .06);
}
.screen-ok p { margin: 5px 0 0; color: #b8c1b9; font-size: 14px; }
.status-dot { width: 13px; height: 13px; margin-top: 5px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 7px rgba(200,255,85,.09); flex: none; }

details { border-radius: 18px; }
summary { cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
.stop-card { margin-top: 16px; border: 1px solid rgba(237, 135, 121, .22); background: rgba(237, 135, 121, .05); }
.stop-card summary {
  padding: 20px 23px;
  font-weight: 700;
}
.stop-card summary span { margin-right: 10px; color: var(--red); text-transform: uppercase; letter-spacing: .12em; font-size: 10px; }
.stop-body { padding: 0 23px 23px; color: #bac2ba; }
.it-card { margin-top: 10px; border: 1px solid var(--line); background: rgba(255, 255, 255, .018); }
.it-card summary { padding: 17px 20px; color: var(--muted); font-size: 12px; }
.it-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 0 20px 20px;
}
.it-body > div {
  padding: 19px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #0c100d;
}
.it-body span { color: var(--blue); text-transform: uppercase; letter-spacing: .12em; font-size: 9px; font-weight: 800; }
.it-body h3 { margin: 11px 0 8px; font-size: 16px; }
.it-body p { margin: 0; color: var(--muted); font-size: 12px; }
.it-body code { color: #dce4dc; }
.it-note { grid-column: 1 / -1; padding: 0 4px; }
.copy-box {
  position: relative;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #0c100d;
}
.copy-box.compact { padding-top: 64px; }
.copy-box p { margin: 0; color: #d1d8d1; }
.copy {
  border: 0;
  border-radius: 11px;
  background: var(--lime);
  color: #0d130e;
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
  transition: transform .15s ease, filter .15s ease;
}
.copy:hover { transform: translateY(-1px); filter: brightness(1.04); }
.copy-box > .copy { position: absolute; top: 16px; right: 16px; padding: 10px 14px; }

.stage {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 16px;
  align-items: stretch;
}
.stage-side {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 21px;
  background: var(--panel);
}
.stage-number { color: var(--lime); font: 800 11px "SFMono-Regular", monospace; }
.stage-side > strong { display: block; margin: 19px 0 6px; font-size: 16px; }
.stage-side > p { margin-bottom: 0; color: var(--muted); font-size: 13px; }
.mini-screen {
  height: 150px;
  padding: 14px;
  margin-top: 18px;
  border-radius: 14px;
  background: #e7ebe7;
  box-shadow: 0 15px 35px rgba(0, 0, 0, .22);
  overflow: hidden;
}
.mini-plain i { display: block; width: 34%; height: 5px; margin-bottom: 9px; background: #909891; }
.mini-plain b { display: block; width: 100%; height: 14px; margin-top: 8px; border: 1px solid #c1c7c1; background: #fff; }
.mini-top { display: flex; justify-content: space-between; align-items: start; }
.mini-top i { width: 42%; height: 18px; background: #171b18; border-radius: 2px; }
.mini-top b { width: 24px; height: 31px; background: #244f63; }
.mini-stats { display: flex; gap: 5px; margin-top: 14px; }
.mini-stats i { flex: 1; height: 19px; border-radius: 4px; background: #d4dad5; }
.mini-cards b { display: block; height: 17px; margin-top: 7px; border-radius: 5px; background: white; box-shadow: 0 2px 5px rgba(0,0,0,.08); }
.mini-control > div { display: flex; gap: 4px; margin-bottom: 13px; }
.mini-control i { width: 24%; height: 12px; border-radius: 99px; background: #cbd2cc; }
.mini-control i.active { background: #244f63; }
.mini-control b { display: block; height: 29px; margin-top: 8px; border-radius: 5px; background: white; }
.mini-control em { display: block; width: 48%; height: 4px; margin-top: 13px; background: #8c9890; }
.mini-regions div { display: flex; align-items: center; gap: 8px; margin-top: 10px; }
.mini-regions span { width: 25px; height: 7px; background: #849086; }
.mini-regions b { display: block; width: var(--w); height: 15px; border-radius: 3px; background: linear-gradient(90deg, #244f63, #efc268); }

.prompt-card {
  border: 1px solid var(--line);
  border-radius: 21px;
  background: #0c100d;
  overflow: hidden;
}
.prompt-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  padding: 17px 20px;
  border-bottom: 1px solid var(--line);
}
.prompt-head span, .prompt-head b { display: block; }
.prompt-head span { color: var(--muted); text-transform: uppercase; letter-spacing: .12em; font-size: 9px; }
.prompt-head b { margin-top: 3px; font-size: 13px; }
.prompt-head .copy { padding: 11px 15px; }
.prompt {
  margin: 0;
  padding: 26px;
  color: #d9dfd9;
  font-size: 17px;
  line-height: 1.72;
}
.result {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 16px;
  padding: 18px 26px;
  border-top: 1px solid var(--line);
  background: rgba(200, 255, 85, .05);
}
.result span { color: var(--lime); text-transform: uppercase; letter-spacing: .12em; font-size: 9px; font-weight: 800; }
.result p { margin: 0; color: #b7c0b8; font-size: 13px; }
.rescue { margin-top: 14px; border: 1px solid var(--line); background: rgba(255, 255, 255, .02); }
.rescue summary { padding: 17px 20px; color: var(--muted); font-size: 13px; }
.rescue .copy-box { border: 0; border-top: 1px solid var(--line); border-radius: 0 0 18px 18px; }
.celebrate {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 18px;
  align-items: center;
  margin-top: 15px;
  padding: 20px 23px;
  border-radius: 17px;
  background: var(--lime);
  color: #101510;
}
.celebrate span { text-transform: uppercase; letter-spacing: .12em; font-size: 10px; font-weight: 900; }
.celebrate p { margin: 0; font-weight: 650; }

.bonus {
  display: grid;
  grid-template-columns: .7fr 1.3fr;
  gap: 40px;
  align-items: start;
  padding: 50px;
  margin-top: 26px;
  border: 1px dashed rgba(119, 184, 213, .32);
  border-radius: var(--radius);
  background: rgba(119, 184, 213, .035);
}
.bonus-copy > p:last-child { margin: 20px 0 0; color: var(--muted); }
.bonus-prompt { padding-top: 70px; }

.finish-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 32px; }
.finish-grid article {
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: 19px;
  background: var(--panel);
}
.finish-grid span { color: var(--lime); text-transform: uppercase; letter-spacing: .12em; font-size: 9px; font-weight: 800; }
.finish-grid h3 { margin: 17px 0 9px; font-size: 19px; }
.finish-grid p { margin: 0; color: var(--muted); font-size: 13px; }
.finish-grid code { font-size: .9em; color: var(--white); }
.success {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 25px;
  align-items: center;
  margin-top: 16px;
  padding: 25px;
  border: 1px solid rgba(200, 255, 85, .2);
  border-radius: 19px;
  background: rgba(200, 255, 85, .045);
}
.success > div span { font-size: 38px; font-weight: 850; letter-spacing: -.04em; }
.success p { margin: 0; }
.success p b, .success p small { display: block; }
.success p small { margin-top: 4px; color: var(--muted); }

.safety { padding: 70px 0 30px; }
.safety > div { display: flex; flex-wrap: wrap; gap: 9px; margin: 28px 0; }
.safety > div span {
  padding: 10px 14px;
  border: 1px solid rgba(237, 135, 121, .19);
  border-radius: 99px;
  background: rgba(237, 135, 121, .045);
  color: #d7b2ac;
  font-size: 13px;
}
.safety > p:last-child { max-width: 840px; color: var(--muted); }
footer {
  display: flex;
  justify-content: space-between;
  padding: 25px 0 10px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}
.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 100;
  padding: 12px 17px;
  border-radius: 12px;
  background: var(--white);
  color: #111611;
  font-size: 13px;
  font-weight: 800;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translate(-50%, 20px);
  pointer-events: none;
  transition: .2s ease;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 1050px) {
  .side { width: 240px; padding-inline: 17px; }
  main { margin-left: 240px; }
  .hero { grid-template-columns: 1fr; gap: 30px; padding-top: 60px; }
  .evolution { max-width: 620px; }
  .stage { grid-template-columns: 210px 1fr; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .mobile-nav {
    position: fixed;
    top: 13px;
    left: 13px;
    right: 13px;
    z-index: 40;
    display: flex;
    justify-content: space-between;
    padding: 13px 16px;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: rgba(13, 17, 14, .94);
    backdrop-filter: blur(20px);
    font-size: 13px;
    font-weight: 750;
  }
  .mobile-nav span { color: var(--lime); }
  .side {
    inset: 65px 13px auto;
    width: auto;
    max-height: calc(100dvh - 80px);
    border: 1px solid var(--line);
    border-radius: 17px;
    transform: translateY(-130%);
    transition: transform .25s ease;
    box-shadow: var(--shadow);
  }
  .side.open { transform: translateY(0); }
  .brand { margin-bottom: 18px; }
  .side-progress { margin-top: 18px; }
  main { margin-left: 0; padding: 75px 17px 40px; }
  .hero { min-height: auto; padding: 45px 0 65px; }
  h1 { font-size: 49px; }
  .hero-lead { font-size: 17px; }
  .hero-actions { display: grid; }
  .reframe { grid-template-columns: 1fr; padding: 27px; }
  .reframe-icon { width: 48px; height: 48px; border-radius: 14px; font-size: 22px; }
  .reframe h2 { font-size: 29px; }
  .rules { grid-template-columns: 1fr; margin-bottom: 70px; }
  .route { padding: 26px 18px; border-radius: 22px; }
  .section-head { display: block; }
  .check { margin-top: 18px; }
  .section-intro { font-size: 16px; }
  .start-grid, .stage, .bonus, .finish-grid { grid-template-columns: 1fr; }
  .it-body { grid-template-columns: 1fr; }
  .it-note { grid-column: auto; }
  .start-card { min-height: auto; padding: 24px; }
  .stage-side { display: grid; grid-template-columns: 70px 1fr; gap: 0 14px; align-items: end; }
  .stage-number { grid-column: 1 / -1; }
  .stage-side .mini-screen { grid-row: 2 / 4; height: 108px; margin-top: 14px; }
  .stage-side > strong { align-self: end; margin: 20px 0 4px; }
  .stage-side > p { align-self: start; }
  .prompt-head { align-items: stretch; }
  .prompt-head > div { align-self: center; }
  .prompt { padding: 21px; font-size: 15px; }
  .result { grid-template-columns: 1fr; padding: 18px 21px; }
  .celebrate { grid-template-columns: 1fr; }
  .bonus { padding: 28px 19px; gap: 22px; }
  .success { grid-template-columns: 1fr; }
  footer { display: grid; gap: 7px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* Единый мастер установки */
[hidden] { display: none !important; }
.install-page { min-height: 100dvh; }
.install-page main { margin-left: 0; }
.journey-bar {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: 72px;
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  gap: 14px;
  align-items: center;
  padding: 12px max(22px, calc((100vw - 1320px) / 2));
  border-bottom: 1px solid var(--line);
  background: rgba(12, 16, 13, .92);
  backdrop-filter: blur(24px);
}
.journey-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-size: 14px; }
.journey-brand span { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--lime); color: #0b110c; font: 900 13px "SFMono-Regular", monospace; }
.journey-choice { display: flex; gap: 4px; padding: 4px; border-radius: 13px; background: rgba(255,255,255,.05); }
.journey-choice button, .quiet-button { border: 0; border-radius: 10px; background: transparent; color: var(--muted); cursor: pointer; font-size: 13px; font-weight: 750; transition-property: color, background-color, transform; transition-duration: 160ms; }
.journey-choice button { padding: 8px 13px; }
.journey-choice button[aria-pressed="true"] { color: #101510; background: var(--lime); }
button:focus-visible, a:focus-visible, summary:focus-visible, input:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 3px;
}
.quiet-button { padding: 8px 12px; }
.quiet-button:hover { color: var(--white); background: rgba(255,255,255,.06); }
.install-main { width: min(1320px, 100%); margin: 0 auto !important; padding: 0 34px 70px !important; }
.install-entry {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(390px, .94fr);
  column-gap: 56px;
  row-gap: 28px;
  align-items: start;
  padding: 48px 0 60px;
}
.install-entry h1, .rescue-head h1, .success-view h1, .wizard-card h1 { font-size: clamp(46px, 6vw, 82px); }
.entry-copy { grid-column: 1; grid-row: 1; }
.entry-copy .hero-lead { max-width: 660px; }
.setup-panel {
  grid-column: 1 / -1;
  grid-row: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: stretch;
}
.entry-followup { grid-column: 1 / -1; grid-row: 3; }
.entry-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 32px; }
.entry-card { min-height: 178px; padding: 22px; border: 0; border-radius: 20px; color: var(--ink); background: rgba(255,255,255,.045); box-shadow: 0 0 0 1px rgba(255,255,255,.09), 0 18px 45px rgba(0,0,0,.16); text-align: left; cursor: pointer; transition-property: transform, box-shadow, background-color; transition-duration: 170ms; }
.entry-card:hover { transform: translateY(-3px); background: rgba(255,255,255,.07); box-shadow: 0 0 0 1px rgba(255,255,255,.14), 0 24px 55px rgba(0,0,0,.24); }
.entry-card.primary { color: #0d130e; background: var(--lime); }
.entry-card.danger { box-shadow: 0 0 0 1px rgba(237,135,121,.28), 0 18px 45px rgba(0,0,0,.16); }
.entry-card span, .entry-card b, .entry-card small { display: block; }
.entry-card span { margin-bottom: 18px; text-transform: uppercase; letter-spacing: .12em; font-size: 9px; font-weight: 850; }
.entry-card b { font-size: 18px; line-height: 1.25; }
.entry-card small { margin-top: 10px; color: inherit; opacity: .68; font-size: 12px; }
.value-preview { grid-column: 2; grid-row: 1; padding: 28px; border-radius: 28px; background: linear-gradient(145deg, rgba(200,255,85,.08), rgba(255,255,255,.025)); box-shadow: 0 0 0 1px rgba(255,255,255,.1), var(--shadow); }
.value-preview > p:last-child { margin: 20px 0 0; color: var(--muted); font-size: 14px; }
.terminal-demo { overflow: hidden; border-radius: 18px; background: #080b09; outline: 1px solid rgba(255,255,255,.1); outline-offset: -1px; }
.terminal-demo-bar { display: flex; align-items: center; gap: 6px; min-height: 42px; padding: 0 14px; border-bottom: 1px solid rgba(255,255,255,.08); color: var(--muted); font: 11px "SFMono-Regular", monospace; }
.terminal-demo-bar i { width: 9px; height: 9px; border-radius: 50%; background: #ed8779; }
.terminal-demo-bar i:nth-child(2) { background: #efc268; }
.terminal-demo-bar i:nth-child(3) { background: #9dd36b; margin-right: 8px; }
.terminal-demo-body { padding: 28px; font: 13px/1.5 "SFMono-Regular", monospace; }
.terminal-demo-body > b { font-size: 17px; }
.terminal-demo-body dl { display: grid; grid-template-columns: 84px 1fr; gap: 5px 12px; margin: 22px 0; color: #7f8a81; }
.terminal-demo-body dd { margin: 0; color: #e5ebe4; }
.terminal-demo-body > div { padding: 14px; border-radius: 10px; color: #abb5ac; background: rgba(255,255,255,.07); }
.wizard, .rescue-view, .success-view { padding: 54px 0; }
.wizard-progress { margin-bottom: 24px; }
.wizard-progress > div { display: flex; justify-content: space-between; gap: 20px; font-size: 13px; }
.wizard-progress span { color: var(--lime); font-variant-numeric: tabular-nums; }
.wizard-progress i { display: block; height: 5px; margin-top: 13px; overflow: hidden; border-radius: 99px; background: rgba(255,255,255,.08); }
.wizard-progress u { display: block; height: 100%; width: 20%; border-radius: inherit; background: var(--lime); transition-property: width; transition-duration: 220ms; }
.wizard-layout { max-width: 1040px; margin: 0 auto; }
.wizard-card, .state-panel { min-height: 540px; padding: 44px; border-radius: 26px; background: rgba(255,255,255,.03); box-shadow: 0 0 0 1px rgba(255,255,255,.1), 0 26px 75px rgba(0,0,0,.16); }
.wizard-card h1 { max-width: 850px; margin-bottom: 24px; }
.step-instruction { max-width: 760px; color: #bac3bb; font-size: 19px; }
.step-checklist { display: grid; gap: 12px; max-width: 780px; margin: 24px 0; padding: 0; list-style: none; counter-reset: install-step; }
.step-checklist li { position: relative; min-height: 44px; padding: 10px 14px 10px 54px; border-radius: 13px; color: #dbe2db; background: rgba(255,255,255,.04); counter-increment: install-step; }
.step-checklist li::before { content: counter(install-step); position: absolute; top: 8px; left: 10px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; color: #0d130e; background: var(--lime); font-size: 12px; font-weight: 850; }
.command-row { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: stretch; margin-top: 12px; border-radius: 14px; background: #080b09; box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); }
.command-row code { overflow-x: auto; padding: 17px 18px; color: #eef4ec; white-space: nowrap; }
.command-row button { margin: 6px; padding: 0 15px; border: 0; border-radius: 10px; color: #0c120d; background: var(--lime); cursor: pointer; font-size: 12px; font-weight: 800; transition-property: transform, filter; transition-duration: 150ms; }
.expected-screen { margin-top: 28px; padding: 20px; border-radius: 18px; background: rgba(119,184,213,.075); box-shadow: inset 0 0 0 1px rgba(119,184,213,.2); }
.expected-screen span { display: block; margin-bottom: 10px; color: var(--blue); text-transform: uppercase; letter-spacing: .12em; font-size: 10px; font-weight: 850; }
.expected-screen code { display: block; padding: 16px; border-radius: 11px; color: #eaf1e9; background: #080b09; }
.expected-screen p { margin: 15px 0 0; color: #b7c0b8; font-size: 14px; }
.expected-screen .plain-outcome { margin-top: 0; color: #eef3ed; font-size: 18px; font-weight: 720; line-height: 1.45; }
.state-panel h2 { margin-bottom: 10px; font-size: 34px; letter-spacing: -.04em; }
.state-panel > p:not(.eyebrow) { color: var(--muted); font-size: 14px; }
.state-options { display: grid; gap: 9px; margin-top: 22px; }
.state-option { width: 100%; padding: 16px; border: 0; border-radius: 14px; color: var(--ink); background: rgba(255,255,255,.045); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); text-align: left; cursor: pointer; transition-property: transform, background-color; transition-duration: 150ms; }
.state-option:hover { transform: translateY(-2px); background: rgba(255,255,255,.07); }
.state-option span, .state-option small { display: block; }
.state-option span { font: 14px/1.45 "SFMono-Regular", monospace; }
.state-option small { margin-top: 7px; color: var(--muted); font-size: 13px; line-height: 1.4; }
.state-option.ok { box-shadow: inset 0 0 0 1px rgba(200,255,85,.25); }
.state-option.warn { box-shadow: inset 0 0 0 1px rgba(239,194,104,.25); }
.wizard-nav { display: flex; justify-content: space-between; gap: 14px; max-width: 1040px; margin: 18px auto 0; }
.wizard-actions { display: flex; gap: 10px; }
.button.quiet-help { color: #c5ccc5; background: transparent; box-shadow: inset 0 0 0 1px rgba(255,255,255,.15); }
.wizard-nav button:disabled { opacity: .35; cursor: not-allowed; }
.rescue-head { max-width: 960px; margin-bottom: 34px; }
.rescue-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.rescue-grid.is-stages { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 1040px; }
.rescue-stage-option { min-height: 126px; padding: 24px; }
.rescue-stage-option span { font: 750 20px/1.35 Inter, system-ui, sans-serif; letter-spacing: -.02em; }
.rescue-stage-option small { margin-top: 10px; font-size: 15px; }
.rescue-stage-back { grid-column: 1 / -1; justify-self: start; }
.support-builder { display: grid; grid-template-columns: 1fr 1.5fr auto; gap: 20px; align-items: center; margin-top: 26px; padding: 28px; border-radius: 22px; background: rgba(239,194,104,.055); box-shadow: inset 0 0 0 1px rgba(239,194,104,.24); }
.support-builder h2 { margin: 0; font-size: 27px; }
.support-builder > p { margin: 0; color: #bdc5be; font-size: 13px; }
.support-builder small { grid-column: 2 / -1; color: var(--muted); }
.success-view { min-height: calc(100dvh - 140px); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; max-width: 1000px; }
.success-orbit { display: grid; place-items: center; width: 76px; height: 76px; margin-bottom: 30px; border-radius: 24px; color: #0c120d; background: var(--lime); font-size: 36px; font-weight: 900; box-shadow: 0 0 0 12px rgba(200,255,85,.08); }
.success-actions { display: flex; gap: 12px; margin-top: 28px; }
.reference { padding: 20px 0 60px; }
.reference details { margin-top: 10px; border-radius: 18px; background: rgba(255,255,255,.025); box-shadow: inset 0 0 0 1px rgba(255,255,255,.09); }
.reference summary { padding: 20px 22px; font-weight: 760; }
.reference-grid, .reference-copy { padding: 0 22px 22px; }
.reference-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.reference-grid > div { padding: 16px; border-radius: 15px; background: rgba(255,255,255,.025); }
.reference-grid span { color: var(--muted); font-size: 12px; }
.journey-footer { width: min(1320px, calc(100% - 68px)); margin: 0 auto; }
.state-dialog { width: min(720px, calc(100% - 32px)); max-height: calc(100dvh - 32px); padding: 34px; overflow-y: auto; overscroll-behavior: contain; border: 0; border-radius: 26px; color: var(--ink); background: var(--panel); box-shadow: var(--shadow), 0 0 0 1px rgba(255,255,255,.12); }
.state-dialog::backdrop { background: rgba(0,0,0,.72); backdrop-filter: blur(8px); }
.state-dialog h2 { font-size: 38px; letter-spacing: -.04em; }
.state-dialog p { color: #bdc5be; }
.state-screenshot { margin: 20px 0 0; }
.state-screenshot img { display: block; width: 100%; max-height: 310px; object-fit: contain; object-position: left top; border: 1px solid rgba(255,255,255,.14); border-radius: 14px; background: #050705; }
.state-screenshot figcaption { margin-top: 8px; color: var(--muted); font-size: 12px; }
.dialog-close { position: absolute; top: 14px; right: 14px; border: 0; border-radius: 12px; color: var(--muted); background: rgba(255,255,255,.06); cursor: pointer; font-size: 25px; }
.dialog-actions { display: flex; gap: 10px; margin-top: 24px; flex-wrap: wrap; }
.dialog-state-options { margin-top: 20px; }

@media (max-width: 980px) {
  .journey-bar { grid-template-columns: 1fr auto auto; }
  .journey-bar .quiet-button { display: none; }
  .install-entry { grid-template-columns: 1fr; gap: 22px; }
  .install-entry { padding-top: 60px; }
  .entry-copy, .setup-panel, .value-preview, .entry-followup { grid-column: 1; grid-row: auto; }
  .value-preview { max-width: 720px; }
  .wizard-card, .state-panel { min-height: auto; }
  .entry-actions, .rescue-grid { grid-template-columns: 1fr 1fr; }
  .support-builder { grid-template-columns: 1fr; }
  .support-builder small { grid-column: auto; }
}

@media (max-width: 680px) {
  .journey-bar { position: static; grid-template-columns: 1fr; padding: 12px 16px; }
  .journey-brand { justify-self: start; }
  .journey-choice { width: 100%; }
  .journey-choice button { flex: 1; }
  .install-main { padding: 0 16px 50px !important; }
  .install-entry { min-height: auto; padding: 38px 0 54px; }
  .install-entry h1, .rescue-head h1, .success-view h1, .wizard-card h1 { font-size: 44px; }
  .entry-actions, .rescue-grid, .rescue-grid.is-stages, .reference-grid { grid-template-columns: 1fr; }
  .entry-card { min-height: 142px; }
  .wizard, .rescue-view, .success-view { padding: 34px 0; }
  .wizard-card, .state-panel { padding: 24px 19px; border-radius: 21px; }
  .step-instruction { font-size: 17px; }
  .command-row { grid-template-columns: 1fr; }
  .command-row button { min-height: 44px; }
  .state-dialog { width: calc(100% - 20px); max-height: calc(100dvh - 20px); padding: 30px 18px 22px; border-radius: 22px; }
  .state-dialog h2 { padding-right: 34px; font-size: 32px; }
  .state-dialog .command-row code { font-size: 12px; }
  .wizard-nav, .wizard-actions, .success-actions { display: grid; grid-template-columns: 1fr; }
  .journey-footer { width: calc(100% - 32px); }
}

/* Маршрут установки для человека, который впервые открыл терминал */
.audience-first .simple-bar {
  grid-template-columns: 1fr auto auto;
}
.header-help {
  padding: 10px 14px;
  border: 1px solid rgba(239, 194, 104, .28);
  border-radius: 11px;
  color: #e6d1a0;
  background: rgba(239, 194, 104, .06);
  cursor: pointer;
  font-weight: 760;
}
.audience-first .install-entry {
  align-items: start;
  padding-top: 44px;
}
.audience-first .install-entry h1 {
  max-width: 720px;
  font-size: clamp(48px, 5.2vw, 70px);
}
.mental-line {
  max-width: none;
  margin: 0;
  padding-left: 16px;
  border-left: 3px solid var(--lime);
  color: #aeb8b0;
  font-size: 14px;
  line-height: 1.6;
}
.mental-line b { color: var(--ink); }
.tool-start {
  height: 100%;
  margin: 0;
  padding: 20px;
  border-radius: 20px;
  background: rgba(255, 255, 255, .035);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1);
}
.tool-start > p { margin: 0; }
.tool-start > p > b, .tool-start > p > small { display: block; }
.tool-start > p > b { font-size: 18px; }
.tool-start > p > small { margin-top: 5px; color: var(--muted); }
.big-tool-choice { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 15px; }
.big-tool-choice button {
  -webkit-appearance: none;
  appearance: none;
  min-height: 78px;
  padding: 14px 16px;
  border: 0;
  border-radius: 14px;
  color: var(--ink);
  background: rgba(255, 255, 255, .045);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12);
  text-align: left;
  cursor: pointer;
}
.big-tool-choice button[aria-pressed="true"] { color: #101510; background: var(--lime); box-shadow: none; }
.big-tool-choice b, .big-tool-choice small { display: block; }
.big-tool-choice b { font-size: 17px; }
.big-tool-choice small { margin-top: 4px; color: inherit; opacity: .7; }
.tool-access-note {
  margin-top: 14px !important;
  padding: 12px 14px;
  border-radius: 12px;
  color: #c8d0c8;
  background: rgba(119, 184, 213, .07);
  font-size: 13px;
  line-height: 1.5;
}
.tool-access-note b { display: inline !important; color: var(--ink); font-size: inherit !important; }
.tool-access-note a { color: var(--lime); }
.promise-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 30px 0;
  padding: 0;
  list-style: none;
}
.promise-steps li {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 2px 11px;
  align-items: center;
  min-height: 78px;
  padding: 14px;
  border-radius: 15px;
  background: rgba(255, 255, 255, .035);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08);
}
.promise-steps span {
  grid-row: 1 / 3;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  color: #11170e;
  background: var(--lime);
  font-size: 12px;
  font-weight: 850;
}
.promise-steps b { font-size: 14px; }
.promise-steps small { color: var(--muted); font-size: 11px; }
.os-start {
  display: flex;
  flex-direction: column;
  height: 100%;
  margin-top: 0;
  padding: 22px;
  border-radius: 20px;
  background: rgba(200, 255, 85, .05);
  box-shadow: inset 0 0 0 1px rgba(200, 255, 85, .2);
}
.os-start > p { margin: 0 0 15px; }
.os-start > p b, .os-start > p small { display: block; }
.os-start > p b { font-size: 18px; }
.os-start > p small { margin-top: 5px; color: var(--muted); }
.big-os-choice { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 12px; }
.big-os-choice button {
  -webkit-appearance: none;
  appearance: none;
  min-height: 76px;
  padding: 14px 16px;
  border: 0;
  border-radius: 14px;
  color: var(--ink);
  background: rgba(255, 255, 255, .045);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12);
  text-align: left;
  cursor: pointer;
}
.big-os-choice button[aria-pressed="true"] {
  color: #101510;
  background: var(--lime);
  box-shadow: none;
}
.big-os-choice b, .big-os-choice small { display: block; }
.big-os-choice b { font-size: 17px; }
.big-os-choice small { margin-top: 4px; color: inherit; opacity: .7; }
.start-button { width: 100%; margin-top: auto; }
.entry-secondary { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 17px; }
.entry-secondary button {
  padding: 0;
  border: 0;
  color: #b9c3ba;
  background: transparent;
  cursor: pointer;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, .22);
  text-underline-offset: 4px;
}
.alternate-tool { margin-top: 25px; color: var(--muted); }
.alternate-tool summary { display: inline-block; font-size: 13px; text-decoration: underline; text-underline-offset: 4px; }
.alternate-tool p { max-width: 600px; font-size: 13px; }
.alternate-tool .journey-choice { width: max-content; }
.audience-first .value-preview { position: static; }
.value-preview h2 { margin: 25px 0 8px; font-size: 25px; letter-spacing: -.035em; }
.audience-first .wizard-card { min-height: 0; }
.main-command code { font-size: 16px; }
.rescue-search { display: block; max-width: 820px; margin-top: 25px; }
.rescue-search > span { display: block; margin-bottom: 8px; font-size: 13px; font-weight: 800; }
.rescue-search input {
  width: 100%;
  min-height: 58px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, .17);
  border-radius: 14px;
  outline: 0;
  color: var(--ink);
  background: rgba(255, 255, 255, .04);
  font: inherit;
}
.rescue-search input:focus { border-color: var(--lime); box-shadow: 0 0 0 3px rgba(200, 255, 85, .09); }
.rescue-search small { display: block; min-height: 18px; margin-top: 7px; color: var(--muted); }
.audience-rescue { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.audience-rescue .state-option { min-height: 112px; padding: 20px; }
.audience-rescue .state-option span { font: 750 17px/1.35 Inter, system-ui, sans-serif; letter-spacing: -.015em; }
.audience-rescue .state-option small { font: 12px/1.45 "SFMono-Regular", monospace; }
.rescue-all { display: block; margin: 18px auto 0; }
.rescue-home { margin-top: 20px; }
.success-reminder {
  width: min(700px, 100%);
  margin-top: 24px;
  padding: 23px;
  border-radius: 18px;
  background: rgba(255, 255, 255, .035);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1);
}
.success-reminder > b { font-size: 19px; }
.success-reminder ol { margin: 16px 0; padding-left: 22px; }
.success-reminder li + li { margin-top: 7px; }
.success-reminder p { margin: 0; color: var(--muted); }

@media (max-width: 980px) {
  .audience-first .value-preview { position: static; }
  .setup-panel { grid-template-columns: 1fr 1fr; }
  .promise-steps { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .setup-panel { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .audience-first .simple-bar { grid-template-columns: 1fr auto; }
  .audience-first .simple-bar .quiet-button { display: none; }
  .header-help { padding: 9px 10px; font-size: 12px; }
  .setup-panel, .promise-steps, .big-tool-choice, .big-os-choice, .audience-rescue { grid-template-columns: 1fr; }
  .audience-first .install-entry { padding-top: 38px; }
  .audience-first .install-entry h1 { font-size: 43px; }
  .entry-secondary { display: grid; }
  .audience-rescue .state-option { min-height: 0; }
}
