@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@500;600;700;800&display=swap");

:root {
  --bg: #070b09;
  --bg-soft: #0e1512;
  --green: #6ec44e;
  --green-dim: #2f6a18;
  --cyan: #b7ee8a;
  --amber: #ffb300;
  --text: #c9d4ce;
  --prose: #83948c;
  /* Тише заголовка, на темном фоне контраст около 6:1. */
  --muted: #73847c;
  --max: 1120px;
  --line: rgba(110, 196, 78, 0.18);
  --plate-top: linear-gradient(180deg, rgba(110, 196, 78, 0.1), rgba(12, 22, 18, 0) 48%);
  --plate-base: #101916;
}

* { box-sizing: border-box; }

[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

/* Никакого горизонтального скролла на мобильных:
   clip на html и body не даёт ни жестового, ни программного скролла вбок.
   hidden - фолбэк для браузеров без поддержки clip. */
html,
body {
  overflow-x: hidden;
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--prose);
  font-family: Manrope, system-ui, "Segoe UI", sans-serif;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.7;
  /* Длинные строки (ключи, URL) не распирают колонку. */
  overflow-wrap: break-word;
}

img,
svg,
video,
canvas {
  max-width: 100%;
  height: auto;
}

/* Флекс- и грид-элементы по умолчанию не дают содержимому сжиматься
   меньше контента - это частая причина бокового скролла. */
*,
*::before,
*::after {
  min-width: 0;
}

a { color: var(--cyan); }
a:visited { color: var(--cyan); }

h1, h2, h3, .brand, .step-no, .figure-num {
  font-family: Manrope, system-ui, "Segoe UI", sans-serif;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: var(--text);
}

.price, code, kbd, .key-value, .path li::before {
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
}

h1 {
  margin: 0 0 20px;
  font-size: clamp(2.35rem, 5vw, 4.15rem);
  line-height: 1.02;
}

h2 {
  margin: 0 0 18px;
  font-size: clamp(2rem, 3.2vw, 2.5rem);
  line-height: 1.12;
}

main h2 {
  color: var(--text);
}

h3 { margin: 0 0 14px; font-size: clamp(1.28rem, 1.6vw, 1.45rem); line-height: 1.15; letter-spacing: -0.03em; }

p { margin: 0 0 12px; }

.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--green);
  color: var(--bg);
  padding: 12px 16px;
  z-index: 20;
}

.skip:focus { left: 8px; }

/* Дождь на весь кадр. Полосы поверх него, но блоки текста их закрывают своей заливкой. */
#rain {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.scanlines { display: none; }

.atmosphere {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 42% 36% at 82% 0%, rgba(110, 196, 78, 0.16), transparent 62%),
    radial-gradient(ellipse 36% 28% at 8% 88%, rgba(110, 196, 78, 0.06), transparent 64%);
}

body.home .atmosphere {
  background:
    radial-gradient(ellipse 32% 28% at 78% 16%, rgba(58, 215, 238, 0.18), transparent 68%),
    radial-gradient(ellipse 42% 36% at 82% 0%, rgba(110, 196, 78, 0.14), transparent 62%),
    radial-gradient(ellipse 36% 28% at 8% 88%, rgba(110, 196, 78, 0.06), transparent 64%);
}

.column {
  position: relative;
  z-index: 2;
  width: min(var(--max), calc(100% - 40px));
  margin-left: auto;
  margin-right: auto;
  overflow-wrap: break-word;
}

.solid { display: flow-root; }

/* Подложка колонки: цифры остаются в полях, не под буквами. */
.sheet { background-color: var(--bg); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(7, 11, 9, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(110, 196, 78, 0.18);
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 4px 12px;
  min-height: 64px;
}

.brand-pair {
  display: inline-flex;
  align-items: center;
  flex: none;
  flex-wrap: nowrap;
  gap: 12px;
  min-height: 48px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0;
  min-height: 48px;
  color: var(--text);
  text-decoration: none;
  font-size: 18px;
  letter-spacing: 0.06em;
}

.brand-lockup {
  display: block;
  height: 36px;
  width: auto;
  max-width: min(200px, calc(100vw - 200px));
  object-fit: contain;
  object-position: left center;
}

.morpheus-mark {
  display: block;
  flex: none;
  height: 32px;
  width: auto;
  max-width: none;
}

.morpheus-mark-sm {
  display: inline-block;
  height: 26px;
  width: auto;
  margin-right: 0.35em;
  vertical-align: -0.45em;
}

.brand:visited { color: var(--text); }

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
}

nav a,
nav a:visited {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 10px;
  color: var(--text);
  text-decoration: none;
}

nav a:hover { color: var(--green); }

nav a[aria-current="page"] { color: var(--green); }

nav a.nav-key,
nav a.nav-key:visited {
  margin-left: 8px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--green);
  color: #10180a;
  font-weight: 700;
}

nav a.nav-key:hover { color: #10180a; }

@media (max-width: 720px) {
  .header-inner { row-gap: 0; }

  .site-header nav {
    flex: 1 0 100%;
    justify-content: space-between;
  }

  .site-header nav a:not(.nav-key) {
    padding: 0 2px;
    font-size: 14.5px;
    min-height: 44px;
  }

  .site-header nav a.nav-key {
    display: none;
  }

  section[id] { scroll-margin-top: 120px; }

  .ladder .band,
  .ladder .band-mesh-hero {
    padding-top: 28px;
    padding-bottom: 32px;
  }
}

section { padding: 40px 0; }

section[id] { scroll-margin-top: 96px; }

.hero { padding: 40px 0 0; }

.hero-copy,
.card,
.api-panel,
.faq details {
  background-color: var(--plate-base);
  background-image: var(--plate-top);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

@media (hover: hover) {
  .hero-copy:hover,
  .card:hover,
  .api-panel:hover,
  .faq details:hover {
    transform: translateY(-4px);
    border-color: var(--green);
    box-shadow: 0 20px 36px rgba(0, 0, 0, 0.45), 0 0 28px rgba(110, 196, 78, 0.22), inset 0 1px 0 rgba(180, 255, 200, 0.22);
  }
}

.hero-copy {
  padding: 28px 24px 20px;
  border: 1px solid rgba(110, 196, 78, 0.32);
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.38), inset 0 1px 0 rgba(180, 255, 200, 0.14);
}

.scene { font-size: 1.125rem; }

.aside { margin-top: 20px; }

.line { display: block; }

.chunk {
  display: inline-block;
  white-space: nowrap;
  margin-right: 0.35em;
}

.chunk:last-child { margin-right: 0; }

.type-lock { position: relative; display: block; }

.type-ghost {
  visibility: hidden;
  display: block;
}

.type-live {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
}

/* Только тень, без сдвига строки. */
.glitch-word.is-glitch {
  text-shadow: 0 0 12px rgba(110, 196, 78, 0.95);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 10px;
  border: 0;
  font-size: 16px;
  line-height: 1.2;
  text-decoration: none;
  text-shadow: none;
  cursor: pointer;
}

.btn-main,
.btn-main:visited {
  background: var(--green);
  color: #10180a;
  font-weight: 700;
}

.btn-main:hover { filter: brightness(1.08); }

.btn-main {
  box-shadow: 0 0 24px rgba(110, 196, 78, 0.28);
}

/* Пульс только у кнопки в герое. */
.btn-hero { animation: pulse 2.8s ease-out infinite; }

.btn-choice,
.btn-choice:visited,
.btn-line,
.btn-line:visited {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(110, 196, 78, 0.45);
}

.btn-choice:hover,
.btn-line:hover {
  border-color: var(--green);
  color: var(--green);
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(110, 196, 78, 0.4); }
  70% { box-shadow: 0 0 0 10px rgba(110, 196, 78, 0); }
}

.cards {
  display: grid;
  align-items: stretch;
  gap: 16px;
}

.card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid rgba(110, 196, 78, 0.32);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.38), inset 0 1px 0 rgba(180, 255, 200, 0.14);
}

.card h3 { color: var(--text); }

.card p:last-child { margin-bottom: 0; }

.card h3 { margin-bottom: 10px; }

.icon-title {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.icon-title h2 {
  margin: 0;
  min-width: 0;
}

.section-mark {
  width: 72px;
  height: auto;
  flex: none;
  display: block;
}

.api-panel .section-mark { width: 84px; }

.privacy {
  border-color: rgba(110, 196, 78, 0.32);
}

.privacy ul,
.pay-card ol {
  margin: 8px 0 0;
  padding-left: 1.2rem;
}

.privacy li,
.pay-card li { margin: 8px 0; }

.checks {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
}

.checks li {
  position: relative;
  margin: 8px 0;
  padding-left: 1.4rem;
}

.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 0.55em;
  height: 0.28em;
  border-left: 2px solid var(--green);
  border-bottom: 2px solid var(--green);
  transform: rotate(-45deg);
}

.tariff.is-featured {
  border-color: var(--green);
  box-shadow: 0 0 0 1px var(--green), 0 0 36px rgba(110, 196, 78, 0.28), inset 0 1px 0 rgba(180, 255, 200, 0.2);
}

/* Improvement_10: дорогая оболочка карточек тарифов. */
.tariff {
  position: relative;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(180, 255, 200, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

@media (hover: hover) {
  .tariff:hover {
    transform: scale(1.03);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45), 0 0 28px rgba(110, 196, 78, 0.16);
  }
  .tariff.tariff-vip:hover {
    box-shadow: 0 16px 44px rgba(0, 0, 0, 0.45), 0 0 36px rgba(212, 175, 55, 0.35);
  }
}

/* Крупное цветное название тарифа на лендинге: у каждого свой цвет (как в Mini App). */
.tariff .tariff-name {
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
  font-size: 1.35em;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.tariff.tariff-basic .tariff-name { color: var(--muted); }
.tariff.tariff-plus .tariff-name { color: var(--cyan); }
.tariff.tariff-pro .tariff-name { color: var(--green); }
.tariff.tariff-vip .tariff-name {
  background: linear-gradient(135deg, #d4af37, #f5e08a 55%, #d4af37);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.tariff .mult {
  margin: 0 0 4px;
  color: var(--green);
  font-size: 1.35rem;
  font-weight: 700;
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
}

.tariff .limit-line {
  margin: 0 0 8px;
  color: var(--text);
  font-weight: 650;
}

.tariff .badge-featured {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 10px;
  border-radius: 99px;
  background: var(--green);
  color: #041208;
  font-size: 0.75rem;
  font-weight: 700;
  vertical-align: middle;
}

/* VIP - позолота: золотистая градиентная рамка, свечение, корона. */
.tariff.tariff-vip {
  border: 1px solid transparent;
  background:
    linear-gradient(#0b1410, #0b1410) padding-box,
    linear-gradient(135deg, #d4af37, #f5e08a 45%, #b8912b) border-box;
  box-shadow: 0 0 36px rgba(212, 175, 55, 0.28), inset 0 1px 0 rgba(245, 224, 138, 0.25);
}

.tariff.tariff-vip .price,
.tariff.tariff-vip .mult {
  background: linear-gradient(120deg, #d4af37, #f5e08a, #d4af37);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.tariff.tariff-vip .vip-crown {
  color: #f5e08a;
  text-shadow: 0 0 14px rgba(212, 175, 55, 0.6);
}

.price-block { min-height: 6.6rem; }

.price {
  margin: 0;
  color: var(--green);
  font-size: 2rem;
}

.period {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 16px;
}

.stars {
  margin: 4px 0 0;
  color: var(--amber);
}

.fit { margin-top: 12px; }

.tariff .checks { margin-bottom: 16px; }

.tariff .btn-choice {
  margin-top: auto;
  width: 100%;
}

.after-tariffs,
.support-line,
.column.solid > section > h2,
.column.solid > section > .measure,
.site-footer {
  background: none;
  border: 0;
  box-shadow: none;
  text-shadow: 0 1px 2px #05070a, 0 0 16px #05070a;
}

.cta-final h2,
.cta-final > p {
  text-shadow: 0 1px 2px #05070a, 0 0 16px #05070a;
}

.cta-final .btn-main,
#tariffs .cta-row .btn-main {
  width: auto;
}

.after-tariffs { margin-top: 20px; }

.api-panel {
  border: 1px solid rgba(110, 196, 78, 0.32);
  border-radius: 16px;
  padding: 28px 24px 16px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.38), inset 0 1px 0 rgba(180, 255, 200, 0.14);
}

.api-panel .checks { margin: 0 0 16px; }

.api-grid { display: grid; gap: 8px 32px; }

.step-no {
  margin: 0 0 10px;
  color: var(--green);
  font-size: 2.75rem;
  line-height: 1;
  text-shadow: 0 0 18px rgba(110, 196, 78, 0.35);
}

.support-line { margin-top: 16px; }

.faq {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  align-items: start;
}

.faq > h2 { grid-column: 1 / -1; margin-bottom: 6px; }

.faq details {
  margin: 0;
  padding: 0 18px;
  border: 1px solid rgba(110, 196, 78, 0.28);
  border-radius: 16px;
  box-shadow: inset 0 1px 0 rgba(180, 255, 200, 0.1);
}

.faq details[open] {
  border-color: var(--green);
  background: linear-gradient(180deg, rgba(110, 196, 78, 0.2) 0%, rgba(12, 22, 18, 0) 34%), #10281c;
  box-shadow: 0 0 0 1px var(--green), 0 0 28px rgba(110, 196, 78, 0.18);
}

.faq summary {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-height: 48px;
  padding: 14px 0;
  cursor: pointer;
  color: var(--text);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  list-style: none;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::before {
  content: "";
  flex: none;
  width: 9px;
  height: 9px;
  margin-top: 0.45em;
  border-right: 2px solid var(--green);
  border-bottom: 2px solid var(--green);
  transform: rotate(-45deg);
}

.faq details[open] summary {
  color: var(--green);
}

.faq details[open] summary::before {
  transform: rotate(45deg);
  margin-top: 0.55em;
}

.faq details p {
  max-width: none;
  margin: 0 0 16px;
  padding-top: 4px;
  border-top: 1px solid rgba(110, 196, 78, 0.2);
}

.cta-final {
  padding-bottom: 8px;
  text-align: center;
}

.cta-final .cta-row {
  display: flex;
  justify-content: center;
}

.site-footer {
  margin-top: 48px;
  margin-bottom: 40px;
  padding: 0;
  /* Весь нижний блок по центру на десктопе и мобильных. */
  text-align: center;
}

.site-footer p { margin: 0 0 8px; }

.quiet,
.quiet a,
.quiet a:visited {
  color: var(--muted);
}

.quiet a { text-decoration-thickness: 1px; text-underline-offset: 3px; }

.morpheus-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  color: inherit;
}

.powered { text-align: center; }

.morpheus-logo {
  height: 1.05em;
  width: auto;
  display: inline-block;
  vertical-align: -0.18em;
}

::selection {
  background: var(--green-dim);
  color: var(--text);
}

@media (min-width: 768px) {
  section { padding: 72px 0; }
  .hero { padding: 72px 0 0; }
  .btn-main,
  .btn-line { width: auto; }
  .cards-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cards-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .faq { grid-template-columns: 1fr 1fr; }
  .api-grid { grid-template-columns: 1.35fr 0.85fr; align-items: start; }
  .setup-focus .sheet { max-width: 920px; }
}

@media (min-width: 1200px) {
  .cards-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
  .cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .api-grid { grid-template-columns: 1.5fr 1fr; }
}

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}

.model.is-featured {
  border-color: var(--green);
  box-shadow: 0 0 0 1px var(--green), 0 0 28px rgba(110, 196, 78, 0.22);
}

.model-badge,
.pill {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  min-height: 28px;
  margin: 0 0 8px;
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--green);
  color: #05070a;
  font-size: 13px;
  font-weight: 700;
}

.model-id,
pre {
  overflow-wrap: anywhere;
  word-break: break-word;
  color: #e7f2df;
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
}

.model-price,
.model-context { color: var(--muted); }

.calc label,
.calc-label {
  display: block;
  margin-bottom: 8px;
}

.calc-label { margin-top: 18px; }

.calc-caption {
  margin: -2px 0 10px;
  color: #8b9c94;
  font-size: 0.92rem;
  line-height: 1.4;
}

.calc-board {
  margin-top: 28px;
  padding: 16px 14px 12px;
  border-radius: 20px;
  border: 1px solid rgba(110, 196, 78, 0.28);
  background: #070b09;
}

.calc-board-wait,
.calc-board-kicker,
.calc-board-price,
.calc-board-model,
.calc-board-label,
.calc-board-num,
.calc-board-sub { margin: 0; }

.calc-board-kicker,
.calc-board-label {
  color: #d7f5a4;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.calc-board-price {
  margin-top: 6px;
  color: #fff;
  font-size: clamp(2.4rem, 7vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1;
}

.calc-board-model {
  margin-top: 10px;
  color: #6ec44e;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
}

.calc-meter { margin-top: 16px; }

.calc-meter-top,
.calc-bars-title {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
  color: #d7f5a4;
  font-size: 0.78rem;
  font-weight: 700;
}

.calc-bars-title { margin-top: 16px; }

.calc-meter-track,
.calc-bar-track {
  display: block;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(244, 247, 242, 0.08);
}

.calc-meter-track { height: 10px; margin-top: 8px; }

.calc-meter-fill,
.calc-bar-fill {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: rgba(110, 196, 78, 0.45);
  transition: width 0.45s ease;
}

.calc-meter-fill,
.calc-bar.is-on .calc-bar-fill { background: #6ec44e; }

.calc-meter-fill.is-sliver,
.calc-bar-fill.is-sliver { min-width: 3px; }

.calc-bars {
  display: grid;
  gap: 6px;
  margin-top: 10px;
}

.calc-bar {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  width: 100%;
  min-height: 36px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.calc-bar-name {
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
}

.calc-bar.is-on .calc-bar-name { color: #6ec44e; }

.calc-bar-track { height: 8px; }

.calc-bar-price {
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
}

.calc-board-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-top: 14px;
}

.calc-board-tile {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "label num"
    "sub num";
  align-items: center;
  column-gap: 12px;
  row-gap: 2px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(110, 196, 78, 0.07);
  border: 1px solid rgba(110, 196, 78, 0.24);
}

.calc-board-label { grid-area: label; }

.calc-board-num {
  grid-area: num;
  color: #fff;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  white-space: nowrap;
}

.calc-board-sub {
  grid-area: sub;
  color: #d5e0d8;
  font-size: 0.78rem;
  line-height: 1.3;
  white-space: nowrap;
}

@media (min-width: 768px) {
  .calc-board-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .calc-board-tile {
    grid-template-columns: 1fr;
    grid-template-areas:
      "label"
      "num"
      "sub";
    align-items: start;
    row-gap: 6px;
  }
  .calc-board-num { font-size: 1.45rem; }
}

.calc-board.is-fresh .calc-board-price,
.calc-board.is-fresh .calc-board-num {
  animation: calc-flash 0.6s ease;
}

@keyframes calc-flash {
  0% { color: #6ec44e; }
  100% { color: #fff; }
}

.calc select,
.scales button,
.program-tabs button,
.os-tabs button,
.code-block .copy,
.step .btn {
  min-height: 48px;
}

.calc select {
  width: 100%;
  margin-bottom: 12px;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid rgba(110, 196, 78, 0.32);
  background: #05070a;
  color: var(--text);
  font: inherit;
}

.calc-table {
  display: grid;
  gap: 8px;
}

.calc-head,
.calc-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) repeat(2, minmax(0, 0.72fr));
  gap: 8px 12px;
  align-items: center;
}

.calc-head {
  padding: 0 14px;
  color: #73847c;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.calc-head span:not(:first-child) { text-align: right; }

.calc-line {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(244, 247, 242, 0.14);
  border-radius: 16px;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.calc-line.is-on {
  border-color: rgba(110, 196, 78, 0.7);
  background: rgba(110, 196, 78, 0.08);
}

.calc-line-name {
  display: block;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.2;
}

.calc-line.is-on .calc-line-name { color: #6ec44e; }

.calc-line-note {
  display: block;
  margin-top: 3px;
  color: #8b9c94;
  font-size: 0.86rem;
  line-height: 1.35;
}

.calc-share {
  display: block;
  height: 6px;
  margin-top: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(244, 247, 242, 0.1);
  pointer-events: none;
}

.calc-share-fill {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: rgba(110, 196, 78, 0.4);
  transition: width 0.35s ease;
}

.calc-share-fill.is-sliver { min-width: 4px; }

.calc-line.is-on .calc-share-fill { background: #6ec44e; }

.calc-num {
  display: block;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.1;
  white-space: nowrap;
  text-align: right;
}

.calc-line.is-on .calc-line-price .calc-num { color: #6ec44e; }

.calc-unit {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

@media (max-width: 719px) {
  .calc-head { display: none; }

  .calc-line {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "task task"
      "price price"
      "ten ten";
  }

  .calc-line-task { grid-area: task; }
  .calc-line-price { grid-area: price; }
  .calc-line-ten { grid-area: ten; }

  .calc-num { text-align: left; font-size: 1.15rem; }

  .calc-line-price .calc-num { font-size: 1.6rem; }

  .calc-unit {
    position: static;
    width: auto;
    height: auto;
    margin: 4px 0 0;
    overflow: visible;
    clip: auto;
    display: block;
    color: #8b9c94;
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1.2;
  }
}

.scales,
.program-tabs,
.os-tabs {
  display: grid;
  gap: 8px;
  margin: 12px 0;
}

.scales button,
.program-tabs button,
.os-tabs button {
  text-align: left;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid rgba(110, 196, 78, 0.32);
  background: #07110d;
  color: var(--text);
  font: inherit;
  cursor: pointer;
}

.scales button span,
.program-tabs button span {
  display: block;
  color: var(--muted);
  margin-top: 4px;
}

.scales button.is-on,
.program-tabs button.is-on,
.os-tabs button.is-on {
  border-color: var(--green);
  box-shadow: inset 0 0 0 1px var(--green);
}

.note {
  margin-top: 16px;
  padding: 12px 14px 12px 16px;
  border-radius: 12px;
  background: #07110d;
  border-left: 4px solid var(--cyan);
}

.note-warn { border-left-color: #f59e0b; }
.note-tip { border-left-color: var(--cyan); }
.note-danger { border-left-color: #ef4444; }

.step-head {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 8px;
}

.step .step-no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: #05070a;
  flex: none;
}

.step.is-done .step-no { background: #10b981 !important; }

.code-block {
  margin: 12px 0;
  border-radius: 12px;
  background: #020304;
  border: 1px solid rgba(34, 211, 238, 0.25);
}

.code-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 8px;
}

.code-block pre {
  margin: 0;
  padding: 0 12px 12px;
  max-height: none;
  overflow: auto;
  white-space: pre-wrap;
}

.code-fold { margin: 12px 0 4px; }

.code-fold:not([open]) > :not(summary) {
  display: none;
}

.code-fold summary {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid rgba(110, 196, 78, 0.32);
  background: rgba(8, 16, 12, 0.55);
  cursor: pointer;
  list-style: none;
}

.code-fold summary::-webkit-details-marker { display: none; }

.code-fold[open] summary {
  border-radius: 12px 12px 0 0;
  border-bottom: 0;
}

.code-fold .when-open { display: none; }

.code-fold[open] .when-closed { display: none; }

.code-fold[open] .when-open { display: inline; }

.code-fold .code-block {
  margin: 0;
  border-radius: 0 0 12px 12px;
}

.model-lead { margin-bottom: 4px; }

.model-catalog { display: grid; gap: 0; }

.model-start {
  margin-bottom: 20px;
  padding: 22px 20px 16px;
  border-radius: 24px;
  border: 1px solid rgba(110, 196, 78, 0.4);
  background:
    linear-gradient(180deg, rgba(110, 196, 78, 0.12), rgba(8, 14, 11, 0) 46%),
    #0c100e;
}

.model-start .model-row-price {
  margin: 0 0 4px;
  color: #6ec44e;
  font-weight: 700;
}

.model-group,
.ladder .model-group {
  margin: 0;
  padding: 0;
  border: 0;
}

.model-start + .model-group,
.model-group + .model-group {
  margin-top: 56px;
}

.model-group h3 {
  margin: 0;
  padding: 28px 0 12px;
  border-top: 1px solid rgba(244, 247, 242, 0.18);
  color: #6ec44e;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  text-transform: none;
}

.model-row {
  border-bottom: 1px solid rgba(244, 247, 242, 0.18);
}

.model-group .model-row:last-child { border-bottom: 0; }

.model-row summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 4px 16px;
  min-height: 44px;
  padding: 20px 28px 20px 0;
  cursor: pointer;
  list-style: none;
  position: relative;
}

.model-row summary::-webkit-details-marker { display: none; }

.model-row summary::after {
  content: "";
  position: absolute;
  right: 6px;
  top: 50%;
  margin-top: -6px;
  width: 8px;
  height: 8px;
  border-right: 2px solid #6ec44e;
  border-bottom: 2px solid #6ec44e;
  transform: rotate(45deg);
}

.model-row[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }

.model-row-name {
  color: #d5dfda;
  font-weight: 700;
  min-width: 0;
  overflow-wrap: anywhere;
}

.model-row-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  align-items: center;
  color: #84958c;
}

.model-row-tag { color: #6ec44e; font-size: 0.88rem; }

.model-row-body {
  padding: 0 0 14px;
  color: #a9b8b0;
}

.model-row-body p:last-child { margin-bottom: 0; }

.model-row-meta .cap-icons,
.cap-icons {
  display: inline-flex;
  align-items: center;
  gap: 0.22em;
  vertical-align: middle;
  white-space: nowrap;
}

.model-row-meta .cap-icons {
  color: #9fb0a7;
  margin-right: 2px;
}

.cap-icon {
  font-size: 0.92em;
  line-height: 1;
  opacity: 0.92;
}

.model-more { margin-top: 8px; }

.model-more summary {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--green);
  cursor: pointer;
}

.model-more p:last-child { margin-bottom: 0; }

.program-tabs button strong { display: block; }

@media (min-width: 768px) {
  .os-tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .program-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .scales { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
  .cards-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .program-tabs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

body.setup-focus .hero,
body.setup-focus .sheet > section:not(#setup) { display: none; }

.ladder-stack {
  display: flex;
  flex-direction: column;
  gap: clamp(18px, 2.4vw, 32px);
  padding-top: 28px;
  padding-bottom: 40px;
}

.ladder section { padding: 0; }

.ladder .band {
  padding: clamp(48px, 7vw, 88px) 0;
}

.ladder .band-mesh-hero {
  padding: clamp(36px, 6vw, 72px) 0 clamp(48px, 7vw, 84px);
}

.ladder .section-open { padding: 6px 0 2px; }

.ladder .section-open > .cards,
.ladder .glass > .cards { margin-top: 8px; }

@media (min-width: 768px) {
  .card-wide { grid-column: 1 / -1; }
}

.ladder .glass {
  padding: clamp(22px, 3vw, 36px);
  background-color: rgba(10, 16, 13, 0.74);
  background-image:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0) 14%),
    linear-gradient(180deg, rgba(110, 196, 78, 0.045), rgba(255, 255, 255, 0) 40%);
  border: 1px solid rgba(220, 236, 216, 0.16);
  border-radius: 22px;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.05),
    0 16px 32px rgba(0, 0, 0, 0.4),
    0 42px 80px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    inset 0 -1px 0 rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(22px) saturate(1.35);
  -webkit-backdrop-filter: blur(22px) saturate(1.35);
}

.ladder .kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 14px;
  color: var(--cyan);
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  line-height: 1.3;
  text-transform: uppercase;
}

.ladder .kicker::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  max-width: 148px;
  background: linear-gradient(90deg, rgba(215, 245, 164, 0.45), rgba(215, 245, 164, 0));
}

.ladder h1,
.ladder h2 {
  text-wrap: balance;
  letter-spacing: -0.03em;
}

.ladder h1 { margin-bottom: 16px; }

.ladder p {
  text-wrap: pretty;
  line-height: 1.65;
  max-width: 44rem;
}

.ladder .lead {
  max-width: 38rem;
  color: #d7e2db;
  font-size: clamp(1.15rem, 1.6vw, 1.35rem);
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: -0.02em;
}

.ladder .card {
  background-color: rgba(5, 8, 7, 0.46);
  background-image: none;
  border-color: rgba(110, 196, 78, 0.22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.ladder .card p,
.ladder .path,
.ladder .cards,
.ladder .cta-row,
.ladder .figure { max-width: none; }

.ladder .glass > .cards,
.ladder .quiet { margin-top: 18px; }

.ladder .card .cta-row { margin-top: auto; padding-top: 8px; }

.ladder .cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.ladder .btn-hero {
  max-width: 36rem;
  white-space: normal;
  text-align: center;
  line-height: 1.35;
}

.ladder .figure {
  margin-top: 8px;
  padding: 18px 18px 16px;
  border-radius: 16px;
  background: rgba(5, 8, 7, 0.45);
  border: 1px solid rgba(110, 196, 78, 0.24);
}

.ladder .figure-num {
  display: block;
  margin-bottom: 8px;
  color: var(--green);
  font-family: Manrope, system-ui, "Segoe UI", sans-serif;
  font-size: clamp(1.35rem, 2vw, 2rem);
  font-weight: 650;
  letter-spacing: -0.04em;
  line-height: 1.1;
  white-space: nowrap;
}

.ladder .stops {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
}

.ladder .stops li {
  position: relative;
  margin: 8px 0;
  padding-left: 1.4rem;
}

.ladder .stops li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 0.7em;
  height: 2px;
  background: rgba(244, 247, 242, 0.4);
}

.ladder .path {
  list-style: none;
  counter-reset: step;
  display: grid;
  gap: 12px;
  margin: 8px 0 4px;
  padding: 0;
}

.ladder .path li {
  counter-increment: step;
  position: relative;
  margin: 0;
  padding: 16px 16px 16px 58px;
  border-radius: 16px;
  background: rgba(5, 8, 7, 0.42);
  border: 1px solid rgba(110, 196, 78, 0.2);
  line-height: 1.55;
}

.ladder .path li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 14px;
  top: 16px;
  color: var(--green);
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
}

.ladder .site-footer,
.ladder .network-line {
  text-shadow: 0 1px 2px #05070a, 0 0 16px #05070a;
}

body.setup-page .ladder .glass {
  background-color: rgba(8, 14, 11, 0.9);
  border: 1px solid rgba(110, 196, 78, 0.28);
  box-shadow:
    0 16px 32px rgba(0, 0, 0, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

body.setup-page .ladder .card {
  background-color: rgba(8, 14, 11, 0.94);
  border: 1px solid rgba(110, 196, 78, 0.26);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

body.setup-page .setup-steps {
  display: grid;
  gap: 14px;
}

body.setup-page .setup-steps .step {
  background-color: rgba(8, 14, 11, 0.92);
  background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0) 36%);
  border: 1px solid rgba(110, 196, 78, 0.22);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

body.setup-page .step .step-no {
  width: 36px;
  height: 36px;
  margin: 0;
  font-size: 1rem;
  line-height: 1;
  text-shadow: none;
}

body.setup-page .code-block,
body.setup-page .note,
body.setup-page .program-tabs button,
body.setup-page .os-tabs button {
  background-color: rgba(8, 20, 14, 0.38);
}

body.setup-page .program-tabs {
  gap: 10px;
}

body.setup-page .program-tabs button {
  min-height: 76px;
  padding: 14px 16px;
  border-radius: 18px;
  border-color: rgba(244, 247, 242, 0.14);
  background: #0c100e;
}

body.setup-page .program-tabs button.is-on,
body.setup-page .program-tabs button.is-on:hover {
  background: rgba(110, 196, 78, 0.08);
  border-color: rgba(110, 196, 78, 0.65);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(110, 196, 78, 0.28);
}

body.setup-page .program-tabs button.is-on span {
  color: #9aada4;
}

body.setup-page .os-tabs {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px;
  margin-top: 4px;
  padding: 4px;
  border-radius: 999px;
  border: 1px solid rgba(244, 247, 242, 0.14);
  background: #0c100e;
}

body.setup-page .os-tabs button {
  min-height: 44px;
  padding: 0 8px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  font-size: 0.95rem;
  text-align: center;
  white-space: nowrap;
  box-shadow: none;
}

body.setup-page .os-tabs button.is-on {
  background: #fff;
  color: #10180a;
  box-shadow: none;
}

body.setup-page .setup-steps {
  gap: 12px;
}

body.setup-page .setup-steps .step {
  border-radius: 20px;
  border-color: rgba(244, 247, 242, 0.14);
  background: #0c100e;
  background-image: none;
  box-shadow: none;
}

body.setup-page .setup-steps .step.is-current {
  border-color: rgba(110, 196, 78, 0.55);
  box-shadow: 0 0 28px rgba(110, 196, 78, 0.12);
}

body.setup-page .setup-steps .step.is-done {
  opacity: 0.72;
}

body.setup-page .setup-steps .step .btn {
  margin-top: 12px;
  width: auto;
  align-self: flex-start;
}

body.home .ladder-stack {
  gap: clamp(40px, 6vw, 84px);
  padding-top: 48px;
  padding-bottom: 72px;
}

body.home .ladder .glass {
  padding: clamp(22px, 3vw, 32px);
  border-radius: 22px;
  background-color: rgba(8, 14, 11, 0.9);
  background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 24%);
  border: 1px solid rgba(110, 196, 78, 0.28);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 18px 40px rgba(0, 0, 0, 0.35);
}

body.home .ladder .card,
body.home .ladder .path li,
body.home .perk {
  border-radius: 22px;
  border-color: rgba(220, 236, 216, 0.12);
  background-color: rgba(8, 12, 10, 0.78);
  background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.045), transparent 32%);
  box-shadow:
    0 10px 22px rgba(0, 0, 0, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

body.home .ladder .card-now {
  background: transparent;
  background-image: none;
  border-color: rgba(244, 247, 242, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

body.home .ladder .card-now h3,
body.home .ladder .card-now li {
  color: var(--muted);
}

.shot-grid {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}

.shot {
  margin: 0;
}

.shot-slot {
  min-height: 220px;
  display: grid;
  place-items: center;
  padding: 18px;
  text-align: center;
  color: var(--muted);
  border: 1px dashed rgba(110, 196, 78, 0.45);
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.28);
}

.shot-slot p {
  margin: 0;
}

.shot-slot img {
  width: 100%;
  height: auto;
  border-radius: 12px;
}

.shot figcaption {
  margin-top: 8px;
}

@media (min-width: 800px) {
  .shot-grid { grid-template-columns: 1fr 1fr; }
}

.now-list {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
}

.now-list li {
  position: relative;
  margin: 8px 0;
  padding-left: 1.4rem;
}

.now-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 0.7em;
  height: 2px;
  background: rgba(244, 247, 242, 0.35);
}

body.home .ladder .card-yours {
  background:
    linear-gradient(180deg, rgba(110, 196, 78, 0.1), rgba(8, 14, 11, 0) 48%),
    rgba(12, 18, 14, 0.8);
  border-color: rgba(110, 196, 78, 0.32);
  box-shadow:
    0 12px 26px rgba(0, 0, 0, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

body.home .ladder .card-yours h3 {
  color: #fff;
}

body.home .ladder p,
body.home .ladder li {
  color: var(--prose);
}

body.home .ladder h1,
body.home .ladder h2,
body.home .ladder h3,
body.home .ladder .card-yours li {
  color: var(--text);
}

body.home .ladder .card h3,
body.home .perk h3 {
  font-size: clamp(1.4rem, 2vw, 1.65rem);
}

body.home .ladder .quiet,
body.home .ladder .quiet a,
body.home .ladder .quiet a:visited,
body.home .ladder .key-label,
body.home .ladder .key-note,
body.home .ladder .bento-price {
  color: #6e7f77;
}

body.home .ladder .key-value {
  color: #edffc8;
}

body.home .hero-copy,
body.home .hero-copy:hover {
  transform: none;
  max-width: none;
  margin: 0;
  text-align: left;
  background: none;
  border: 0;
  box-shadow: none;
  padding: 0;
}

body.home .hero .kicker {
  justify-content: center;
  color: var(--cyan);
}

body.home .hero .kicker::before,
body.home .hero .kicker::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  max-width: 72px;
  background: linear-gradient(90deg, rgba(215, 245, 164, 0), rgba(215, 245, 164, 0.45));
}

body.home .hero .kicker::after {
  background: linear-gradient(90deg, rgba(215, 245, 164, 0.45), rgba(215, 245, 164, 0));
}

body.home .hero .lead {
  margin-left: 0;
  margin-right: 0;
  max-width: 38rem;
}

body.home .hero .cta-row {
  justify-content: flex-start;
}

body.home .btn-pill {
  width: auto;
  min-width: 200px;
  border-radius: 999px;
  padding-left: 28px;
  padding-right: 28px;
}

body.home .hero-copy h1,
body.home .hero-copy p {
  text-shadow: 0 1px 10px #070b09;
}

.key-window h2 {
  margin: 0;
  font-size: 1.2rem;
  letter-spacing: -0.03em;
}

body.home h1 {
  font-size: clamp(2.5rem, 5.2vw, 4.2rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

body.home .ladder .lead {
  color: #d7e2db;
  font-weight: 600;
}

.bento {
  display: grid;
  gap: 16px;
}

.key-window {
  position: relative;
  padding: 28px 24px 24px;
  border-radius: 32px;
  background:
    linear-gradient(180deg, rgba(110, 196, 78, 0.12), rgba(8, 14, 11, 0) 42%),
    #0c100e;
  border: 1px solid rgba(110, 196, 78, 0.42);
  box-shadow: 0 0 72px rgba(110, 196, 78, 0.16), 0 24px 48px rgba(0, 0, 0, 0.35);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(110, 196, 78, 0.1);
  border: 1px solid rgba(110, 196, 78, 0.32);
  color: #edffc8;
  font-size: 0.88rem;
}

.bento-price {
  margin: 22px 0 0;
  color: var(--muted);
}

.bento-price .figure-num {
  display: block;
  margin-bottom: 6px;
  color: var(--green);
  font-size: clamp(2.6rem, 5vw, 4rem);
  letter-spacing: -0.04em;
  line-height: 1;
}

.key-window .key-label {
  margin: 14px 0 6px;
  color: var(--muted);
  font-size: 0.82rem;
}

.key-window .key-value {
  margin: 0;
  padding: 12px 14px;
  border-radius: 12px;
  background: #07110c;
  color: #edffc8;
  font-size: 0.95rem;
  overflow-wrap: anywhere;
}

.key-window .key-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.perk {
  padding: 22px 18px 18px;
  border-radius: 28px;
  border: 1px solid rgba(220, 236, 216, 0.14);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent 34%),
    #0c100e;
  box-shadow:
    0 12px 24px rgba(0, 0, 0, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.perk-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 14px;
  border-radius: 50%;
  border: 1px solid rgba(244, 247, 242, 0.2);
  color: var(--green);
}

.perk h3 { margin-bottom: 10px; }

.stat-grid {
  display: grid;
  gap: 22px;
  align-items: center;
}

.stat-card {
  position: relative;
  padding: 28px 22px 22px;
  border-radius: 22px;
  background: #0c1410;
  border: 1px solid rgba(110, 196, 78, 0.42);
  box-shadow: 0 0 64px rgba(110, 196, 78, 0.16);
  overflow: hidden;
}

.stat-card .figure-num {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  color: var(--green);
}

.stat-card p { position: relative; }

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 18px;
}

.footer-links a { text-decoration: none; }

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .ladder .glass { background-color: rgba(8, 16, 13, 0.94); }
}

@media (min-width: 860px) {
  .bento {
    grid-template-columns: 1.45fr 0.85fr;
    grid-template-rows: repeat(3, minmax(0, 1fr));
  }
  .bento-key { grid-row: 1 / span 3; }
}

@media (min-width: 768px) {
  .ladder-stack { padding-top: 48px; }
}

@media (min-width: 900px) {
  .ladder .path { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.edit-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  max-width: none;
  margin-top: 8px;
}

.edit-tools input[type="search"] {
  flex: 1 1 220px;
  min-height: 48px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(110, 196, 78, 0.32);
  background: rgba(5, 8, 7, 0.72);
  color: var(--text);
  font: inherit;
}

.edit-tools .btn { width: auto; }

.edit-list {
  display: grid;
  gap: 14px;
}

.edit-row {
  display: grid;
  gap: 6px;
}

.edit-where {
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.04em;
}

.edit-row textarea {
  width: 100%;
  min-height: 64px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(110, 196, 78, 0.24);
  background: rgba(5, 8, 7, 0.55);
  color: var(--text);
  font: inherit;
  line-height: 1.55;
  resize: vertical;
}

.edit-row.is-changed textarea { border-color: var(--green); }

.local-edit { margin-top: 8px; }

/* Сеть на стекляшке: тот же объём, узор читается, текст важнее линий */
.mesh {
  position: relative;
  overflow: hidden;
}

body.home .ladder .glass.mesh {
  background-color: rgba(10, 16, 13, 0.58);
}

.mesh-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.38;
  pointer-events: none;
  z-index: 0;
  -webkit-mask-image: linear-gradient(115deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.82) 30%, #000 58%);
  mask-image: linear-gradient(115deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.82) 30%, #000 58%);
}

.mesh > *:not(.mesh-art) {
  position: relative;
  z-index: 1;
}

.mesh > p,
.mesh > .lead,
.mesh > .kicker,
.mesh > h1,
.mesh > h2 {
  text-shadow: 0 0 10px rgba(8, 14, 11, 0.9);
}

.mesh-art .mesh-line {
  stroke: rgba(110, 196, 78, 0.62);
  stroke-width: 1.05;
  fill: none;
}

.mesh-art .mesh-node {
  fill: var(--green);
}

.mesh-art .mesh-node-soft {
  fill: rgba(110, 196, 78, 0.26);
}

@media (prefers-reduced-motion: no-preference) {
  .mesh-art .mesh-pulse {
    transform-origin: center;
    transform-box: fill-box;
    animation: mesh-pulse 3.6s ease-in-out infinite;
  }

  .mesh-art .mesh-pulse-2 {
    animation-delay: 1.2s;
  }

  .mesh-art .mesh-pulse-3 {
    animation-delay: 2.1s;
  }

  @keyframes mesh-pulse {
    0%, 100% { opacity: 0.4; transform: scale(1); }
    50% { opacity: 0.75; transform: scale(1.15); }
  }

  .key-window {
    animation: key-pulse 6s ease-in-out infinite;
  }

  @keyframes key-pulse {
    0%, 100% {
      box-shadow: 0 0 72px rgba(110, 196, 78, 0.14), 0 24px 48px rgba(0, 0, 0, 0.35);
      border-color: rgba(110, 196, 78, 0.42);
    }
    50% {
      box-shadow: 0 0 80px rgba(110, 196, 78, 0.2), 0 24px 48px rgba(0, 0, 0, 0.35);
      border-color: rgba(110, 196, 78, 0.5);
    }
  }

  .reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }

  .reveal.is-in {
    opacity: 1;
    transform: none;
  }

  .reveal-delay-1 { transition-delay: 0.08s; }
  .reveal-delay-2 { transition-delay: 0.16s; }
}

@media (max-width: 720px) {
  .mesh-art { opacity: 0.3; }
  .calc-bar {
    grid-template-columns: minmax(0, 1fr);
    min-height: 44px;
  }
  .calc-bar-name,
  .calc-bar-price {
    white-space: normal;
    overflow-wrap: anywhere;
  }
  .btn, .btn-main, .btn-hero, button {
    min-height: 44px;
    white-space: normal;
    overflow-wrap: anywhere;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn-hero { animation: none; }
  .glitch-word.is-glitch { text-shadow: none; }
  .hero-copy,
  .card,
  .api-panel,
  .faq details { transition: none; }
  .hero-copy:hover,
  .card:hover,
  .api-panel:hover,
  .faq details:hover { transform: none; }
  .key-window { animation: none; }
  .mesh-art .mesh-pulse { animation: none; }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.hero-split {
  display: grid;
  gap: 36px;
  align-items: center;
}

.orbit {
  position: relative;
  min-height: 460px;
}

.glow-ring {
  position: absolute;
  left: 50%;
  top: 48%;
  width: 280px;
  height: 280px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid rgba(110, 196, 78, 0.45);
  box-shadow:
    0 0 80px rgba(110, 196, 78, 0.28),
    inset 0 0 70px rgba(110, 196, 78, 0.12);
}

.glow-ring::after {
  content: "";
  position: absolute;
  inset: 34px;
  border-radius: 50%;
  border: 1px solid rgba(110, 196, 78, 0.22);
}

.float-card {
  position: absolute;
  width: min(230px, 72%);
  padding: 18px 18px 14px;
  border-radius: 20px;
  background: rgba(8, 12, 10, 0.86);
  border: 1px solid rgba(110, 196, 78, 0.28);
  box-shadow: 0 22px 40px rgba(0, 0, 0, 0.45);
}

.float-card p:last-child { margin: 0; color: #c5d4cb; }

.float-a { top: 18px; left: 0; }
.float-b { top: 168px; right: 0; }
.float-c { bottom: 18px; left: 36px; }

.ladder .column > section > h2 {
  text-align: center;
}

.ladder .cards .card {
  padding: 22px 22px 20px;
}

.ladder .cards .card > h3 {
  margin-bottom: 8px;
  font-size: 1.2rem;
  letter-spacing: -0.03em;
}

.ladder .cards .card > p {
  color: #b7c4bd;
  font-size: 1rem;
  line-height: 1.55;
}

.ladder .glass {
  background-color: rgba(8, 14, 11, 0.9);
  background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 24%);
  border: 1px solid rgba(110, 196, 78, 0.28);
  border-radius: 22px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 18px 40px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.site-header {
  background: rgba(7, 11, 9, 0.45);
  border-bottom-color: transparent;
}

@media (min-width: 960px) {
  .hero-split { grid-template-columns: 1.05fr 0.95fr; }
}

body.home .hero-copy,
body.home .hero-copy:hover {
  background: linear-gradient(90deg, rgba(7, 11, 9, 0.9) 0%, rgba(7, 11, 9, 0.78) 72%, rgba(7, 11, 9, 0) 100%);
  padding: 8px 28px 8px 0;
}

body.home .ladder .card,
.ladder .card,
.float-card {
  background-color: rgba(8, 12, 10, 0.94);
  border: 1px solid rgba(220, 236, 216, 0.1);
}

.ladder h1,
.ladder h2,
.ladder h3,
.ladder .lead {
  text-shadow: 0 2px 18px #070b09;
}

@media (max-width: 959px) {
  .orbit {
    min-height: 0;
    display: grid;
    gap: 12px;
  }

  .glow-ring { display: none; }

  .float-card {
    position: static;
    width: auto;
  }
}

body.home .ladder .glass,
body.setup-page .ladder .glass,
.ladder .glass,
.float-card,
.ladder .cards .card:nth-child(even),
.faq details:nth-of-type(even),
body.setup-page .setup-steps .step:nth-child(even) {
  border-color: rgba(220, 236, 216, 0.1);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background-image: linear-gradient(180deg, rgba(110, 196, 78, 0.12), rgba(8, 12, 10, 0) 46%);
}

.ladder .cards .card:nth-child(odd),
.faq details:nth-of-type(odd),
body.setup-page .setup-steps .step:nth-child(odd),
.float-b {
  border-top: 2px solid rgba(110, 196, 78, 0.8);
  background-image: none;
}

/* air1: ступени шрифта, один шаг секций, салатовая кромка на рамках и открытых плашках. */

.ladder h1,
.ladder h2,
.ladder h3,
.ladder .lead,
.brand {
  text-shadow: none;
}

body.home h1,
.ladder h1 {
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.08;
}

body:not(.home) .ladder h1 {
  font-size: clamp(2rem, 3vw, 2.6rem);
  font-weight: 700;
  line-height: 1.15;
}

.brand {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0;
}

.ladder h2,
.ladder .column > section > h2 {
  font-size: clamp(1.65rem, 2.4vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  text-align: left;
  max-width: 16em;
  margin: 0 0 24px;
}

.ladder .column > section > h2.hero-sub {
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 8px 0 20px;
}

.ladder .card h2 {
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.01em;
  max-width: none;
  margin: 0 0 12px;
  text-align: left;
}

.ladder h3,
.ladder .cards .card > h3,
body.home .ladder .card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.25;
  margin-bottom: 10px;
}

.ladder .lead,
body.home .ladder .lead {
  max-width: 36rem;
  color: var(--text);
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1.6;
}

.ladder .column > section > p,
.ladder .cards .card > p,
body.home .ladder p,
body.home .ladder li {
  color: #aebbb4;
  line-height: 1.6;
}

.ladder .column > section > p { max-width: 36rem; }

.ladder .figure-num {
  font-size: clamp(1.35rem, 2vw, 2rem);
  font-weight: 700;
}

.ladder-stack,
body.home .ladder-stack {
  gap: clamp(40px, 5vw, 72px);
}

.ladder .section-open { padding: 0; }

.site-footer { margin-top: 0; }

.site-header {
  background: #070b09;
  border-bottom: 1px solid rgba(110, 196, 78, 0.55);
}

.orbit {
  min-height: 0;
  display: grid;
  gap: 16px;
  align-content: start;
}

.glow-ring { display: none; }

.orbit .float-card {
  position: static;
  width: auto;
  background-color: rgba(8, 12, 10, 0.94);
  background-image: none;
  border: 1px solid rgba(220, 236, 216, 0.1);
  border-top: 2px solid rgba(110, 196, 78, 0.8);
  box-shadow: none;
}

body.home .hero-copy,
body.home .hero-copy:hover {
  background: transparent;
  padding: 0;
}

body.home .ladder .glass,
body.setup-page .ladder .glass,
.ladder .glass {
  border-color: rgba(220, 236, 216, 0.12);
  border-top: 2px solid rgba(110, 196, 78, 0.8);
  background-image: none;
}

.ladder .glass > .cards > .card {
  background: transparent;
  background-color: transparent;
  background-image: none;
  border: 0;
  border-radius: 0;
  border-top: 2px solid rgba(110, 196, 78, 0.55);
  box-shadow: none;
  padding: 16px 4px 8px;
}

.ladder .section-open .cards .card {
  background-color: rgba(8, 12, 10, 0.94);
  background-image: none;
  border: 1px solid rgba(220, 236, 216, 0.1);
  border-top: 2px solid rgba(110, 196, 78, 0.8);
  box-shadow: none;
}

.faq {
  grid-template-columns: 1fr;
  gap: 16px;
}

.faq > h2 { margin-bottom: 20px; }

.faq details,
.faq details[open],
.faq details:nth-of-type(odd),
.faq details:nth-of-type(even) {
  background: rgba(8, 12, 10, 0.94);
  background-image: none;
  border: 1px solid rgba(220, 236, 216, 0.1);
  border-top: 2px solid rgba(110, 196, 78, 0.8);
  box-shadow: none;
}

.faq summary {
  color: var(--text);
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: 0;
}

.faq details[open] summary { color: var(--text); }

.faq details p {
  color: #aebbb4;
  line-height: 1.6;
  border-top-color: rgba(255, 255, 255, 0.08);
}

.model-start + .model-group,
.model-group + .model-group {
  margin-top: 32px;
}

body.price-page .model-catalog {
  margin-top: 48px;
}

body.price-page .model-catalog > .model-group:first-child h3 {
  border-top: 0;
  padding-top: 0;
}

body.price-page .model-group + .model-group {
  margin-top: 64px;
}

.model-group h3 {
  padding: 12px 0 8px;
  color: #8b9c94;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.3;
  text-transform: uppercase;
}

.model-row-name {
  color: var(--text);
  font-size: 1.0625rem;
  font-weight: 600;
}

.model-row-meta,
.model-row-meta .model-row-price {
  color: #8b9c94;
  font-size: 0.9rem;
  font-weight: 500;
}

.model-start .model-row-price {
  color: #6ec44e;
  font-weight: 700;
}

body.setup-page .ladder .glass .setup-steps {
  gap: 20px;
  margin-top: 8px;
}

body.setup-page .ladder .glass .setup-steps .step,
body.setup-page .setup-steps .step:nth-child(odd),
body.setup-page .setup-steps .step:nth-child(even) {
  background: transparent;
  background-color: transparent;
  background-image: none;
  border: 0;
  border-radius: 0;
  border-top: 2px solid rgba(110, 196, 78, 0.55);
  box-shadow: none;
}

.check-list {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: grid;
  gap: 16px;
}

.check-list li {
  max-width: none;
  padding-top: 12px;
  border-top: 2px solid rgba(110, 196, 78, 0.55);
  color: #aebbb4;
}

.check-list strong {
  display: block;
  margin-bottom: 4px;
  color: var(--text);
  font-size: 1.125rem;
  font-weight: 600;
}

.calc-line {
  cursor: default;
}

.calc-head { display: grid; }

.calc-line-name {
  color: var(--text);
  font-size: 1.0625rem;
  font-weight: 600;
}

.calc-num {
  color: var(--text);
  font-weight: 600;
}

.calc-line-price .calc-num {
  color: #6ec44e;
  font-weight: 700;
}

@media (min-width: 720px) {
  .calc-unit {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
  }
}

@media (min-width: 768px) {
  .faq { grid-template-columns: 1fr; }
  .check-list { grid-template-columns: 1fr 1fr; }
  .cards-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 719px) {
  .calc-head { display: none; }
}

@media (max-width: 959px) {
  .orbit {
    min-height: 0;
    display: grid;
    gap: 16px;
  }

  .orbit .float-card {
    position: static;
    width: auto;
  }
}

/* air4: текст на фоне как заголовок, стекло только там, где оно нужно. */

.open-stack,
.figure-row {
  display: grid;
  gap: 28px 48px;
}

.open-stack article,
.figure-row article {
  margin: 0;
  padding: 0;
  background: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.open-stack h3,
.ladder .open-stack h3,
body.home .ladder .open-stack h3 {
  margin-bottom: 8px;
  color: var(--text);
  font-size: clamp(1.45rem, 2.2vw, 1.9rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.open-stack p,
.figure-row p,
.ladder .open-stack p,
.ladder .figure-row p {
  max-width: 36rem;
  margin-bottom: 0;
  color: #aebbb4;
}

.figure-row {
  margin: 20px 0 8px;
}

.figure-row .figure-num,
.ladder .figure-row .figure-num,
.open-stack .figure-num {
  display: block;
  margin-bottom: 8px;
  color: var(--green);
  font-size: clamp(2rem, 4vw, 3.1rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1;
}

.wordfade {
  display: inline-block;
  color: inherit;
  vertical-align: baseline;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.wordfade.is-leave {
  opacity: 0;
  transform: translateY(-0.28em);
}

.wordfade.is-enter {
  opacity: 0;
  transform: translateY(0.34em);
  transition: none;
}

@media (min-width: 800px) {
  .open-stack { grid-template-columns: 1fr 1fr; }
  .open-stack-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .figure-row { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .figure-row-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .open-stack .span-all { grid-column: 1 / -1; }
}

.hero-key {
  display: block;
  width: min(100%, 320px);
  height: auto;
  margin: 0 auto 8px;
}

@media (min-width: 960px) {
  .orbit {
    display: block;
    min-height: 460px;
  }

  .glow-ring { display: block; }

  .hero-key {
    position: absolute;
    left: 50%;
    top: 48%;
    width: min(72%, 340px);
    margin: 0;
    transform: translate(-50%, -50%);
    z-index: 1;
  }

  .orbit .float-card {
    position: absolute;
    width: min(230px, 72%);
    z-index: 2;
    background-color: rgba(8, 12, 10, 0.78);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .wordfade,
  .wordfade.is-leave,
  .wordfade.is-enter {
    opacity: 1;
    transform: none;
    transition: none;
  }

  body.home .hero-key-swing {
    animation: none;
    transform: rotate(-8deg);
  }
}

/* air7: скважины вокруг ключа + полосы на всю ширину. */

.band {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: clamp(56px, 8vw, 104px) 0;
  background: transparent;
  border-top: 1px solid rgba(244, 247, 242, 0.08);
}

.band-ink { background: #050706; }

.band-quiet { padding: clamp(28px, 4vw, 40px) 0; }

.pad-block {
  padding-top: clamp(40px, 6vw, 72px);
  padding-bottom: clamp(40px, 6vw, 72px);
}

.band h2,
.ladder .band h2 {
  max-width: 16em;
  margin: 0 0 28px;
  text-align: left;
}

.open-stack-stack {
  display: grid;
  gap: 0;
}

.open-stack-stack article {
  padding: 22px 0;
  border-top: 1px solid rgba(244, 247, 242, 0.1);
}

.open-stack-stack article:first-child {
  padding-top: 0;
  border-top: 0;
}

.orbit .float-card,
.orbit .float-card.float-a,
.orbit .float-card.float-b,
.orbit .float-card.float-c,
body.home .ladder .float-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 164px;
  padding: 0;
  background: none;
  background-image: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  filter:
    drop-shadow(0 0 0.7px rgba(110, 196, 78, 0.75))
    drop-shadow(0 16px 26px rgba(0, 0, 0, 0.42));
}

.keyhole-head {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 164px;
  height: 164px;
  padding: 22px 18px 20px;
  border-radius: 50%;
  background: rgba(8, 12, 10, 0.9);
  text-align: center;
}

.keyhole-head .figure-num,
.orbit .float-card .figure-num {
  margin: 0 0 6px;
  font-size: 1.45rem;
  white-space: normal;
}

.keyhole-head p:last-child {
  margin: 0;
  color: #c5d4cb;
  font-size: 0.86rem;
  line-height: 1.35;
}

.keyhole-stem {
  width: 32px;
  height: 46px;
  margin-top: -2px;
  background: rgba(8, 12, 10, 0.9);
  clip-path: polygon(20% 0, 80% 0, 100% 100%, 0 100%);
}

.glow-ring { display: none !important; }

@media (max-width: 959px) {
  .orbit {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: start;
    gap: 8px 14px;
    min-height: 0;
  }

  .hero-key {
    flex: 1 0 100%;
    width: min(100%, 260px);
    margin: 0 auto 12px;
  }

  .orbit .float-card {
    position: static;
    width: 132px;
  }

  .keyhole-head {
    width: 132px;
    height: 132px;
    padding: 16px 12px;
  }

  .keyhole-head .figure-num { font-size: 1.2rem; }
}

@media (min-width: 960px) {
  .orbit {
    display: block;
    min-height: 620px;
  }

  .hero-key {
    width: min(64%, 300px);
  }

  .orbit .float-card {
    position: absolute;
    width: 148px;
    z-index: 2;
  }

  .orbit .keyhole-head {
    width: 148px;
    height: 148px;
    padding: 18px 14px;
  }

  body.home .column,
  body.home .orbit,
  body.home .hero-split {
    overflow: visible;
  }

  .float-a { top: 0; left: 2%; }
  .float-b { top: 18%; left: 58%; right: auto; }
  .float-c { bottom: 0; left: 18%; }
}

.band-mesh {
  isolation: isolate;
  background-color: #050706;
  background-image:
    linear-gradient(180deg, rgba(5, 7, 6, 0.58) 0%, rgba(5, 7, 6, 0.48) 40%, rgba(5, 7, 6, 0.7) 100%),
    url("assets/network.png");
  background-size: cover;
  background-position: center 38%;
}

.band-mesh-hero {
  border-top: 0;
  min-height: 0;
  background-color: #050706;
  background-image:
    linear-gradient(180deg, #050706 0%, #050706 16%, rgba(5, 7, 6, 0.55) 34%, rgba(5, 7, 6, 0.12) 58%, rgba(5, 7, 6, 0.62) 100%),
    url("assets/mesh-hero.png?v=mesh4");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center 62%;
}

.band-mesh h1,
.band-mesh h2,
.band-mesh h3,
.ladder .band-mesh h1,
.ladder .band-mesh h2,
.ladder .band-mesh h3 {
  color: var(--text);
}

.band-mesh p,
.ladder .band-mesh p {
  color: #b4c0b9;
}

.ladder .neuron-title p.hero-sub {
  color: #8f9d96;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  max-width: 22em;
  margin: 8px auto 0;
}

.neuron-wrap {
  position: relative;
}

.neuron-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
}

.neuron-card,
.ladder .neuron-card,
.ladder .neuron-card:nth-child(odd),
.ladder .neuron-card:nth-child(even) {
  position: relative;
  margin: 0;
  padding: 24px 26px 22px;
  background-color: rgba(7, 11, 9, 0.52);
  background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 42%);
  border: 1px solid rgba(110, 196, 78, 0.2);
  border-top: 1px solid rgba(110, 196, 78, 0.2);
  border-radius: 22px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 16px 36px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
}

.ladder .neuron-title {
  padding: 0 0 8px;
  background: none;
  background-image: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  text-align: center;
}

.ladder .neuron-title h1 {
  margin: 0;
  font-size: clamp(2.05rem, 3.6vw, 2.85rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.ladder .neuron-office {
  background-color: rgba(7, 11, 9, 0.4);
  border-color: rgba(220, 236, 216, 0.14);
  border-top-color: rgba(255, 255, 255, 0.08);
}

.ladder .neuron-people,
.ladder .neuron-key {
  border-top: 2px solid rgba(110, 196, 78, 0.85);
}

.ladder .neuron-card h2,
.ladder .neuron-card h3 {
  margin: 0 0 10px;
  font-size: clamp(1.2rem, 1.8vw, 1.4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.ladder .neuron-card p {
  margin: 0;
  max-width: 36rem;
  color: #b4c0b9;
}

.ladder .neuron-office h3 {
  color: #d5ddd8;
  font-weight: 600;
}

.ladder .neuron-office p {
  color: #aebbb4;
}

.ladder .neuron-people h3 {
  color: #eef4f0;
}

.ladder .neuron-people p {
  color: #c5d0ca;
}

.ladder .neuron-key h3 {
  color: var(--green);
}

.ladder .neuron-key p {
  color: #e4efe8;
}

@media (min-width: 880px) {
  .band-mesh-hero {
    background-image:
      linear-gradient(180deg, #050706 0%, #050706 24%, rgba(5, 7, 6, 0.7) 34%, rgba(5, 7, 6, 0.14) 46%, rgba(5, 7, 6, 0.04) 62%, rgba(5, 7, 6, 0.04) 78%, rgba(5, 7, 6, 0.45) 92%, #050706 100%),
      url("assets/mesh-hero.png?v=mesh4");
    background-position: center, center 78%;
    background-size: auto, auto 150%;
  }

  .ladder .band-mesh-hero {
    padding-bottom: clamp(108px, 12vw, 156px);
  }

  .neuron-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 36px 32px;
    align-items: start;
  }

  .ladder .neuron-title {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .ladder .neuron-office {
    grid-column: 1 / 7;
    grid-row: 2;
  }

  .ladder .neuron-people {
    grid-column: 7 / 13;
    grid-row: 2;
  }

  .ladder .neuron-key {
    grid-column: 3 / 11;
    grid-row: 3;
  }
}

.hold-split {
  display: grid;
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}

.hold-copy .open-stack,
.hold-copy .open-stack-stack {
  grid-template-columns: 1fr;
}

.hold-figure {
  margin: 0;
  overflow: hidden;
}

.hold-figure img {
  display: block;
  width: min(100%, 320px);
  height: auto;
  margin-inline: auto;
  mix-blend-mode: normal;
}

@media (min-width: 900px) {
  .hold-split {
    grid-template-columns: minmax(0, 1.15fr) minmax(220px, 0.85fr);
    gap: 40px 48px;
    align-items: center;
  }

  .hold-figure img {
    width: min(100%, 400px);
  }
}

@media (hover: hover) {
  .neuron-card:hover,
  .ladder .neuron-card:hover {
    transform: none;
    border-color: rgba(110, 196, 78, 0.34);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.1),
      0 18px 40px rgba(0, 0, 0, 0.28),
      0 0 56px rgba(110, 196, 78, 0.12);
  }
}

body.price-page .ladder .glass,
body.price-page .ladder .glass:nth-child(odd),
body.price-page .ladder .glass:nth-child(even) {
  background-color: rgba(10, 14, 12, 0.68);
  background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent 32%);
  border: 1px solid rgba(220, 236, 216, 0.12);
  border-top: 1px solid rgba(220, 236, 216, 0.12);
  box-shadow: none;
}

body.price-page .ladder .card,
body.price-page .ladder .glass > .cards > .card,
body.price-page .ladder .section-open .cards .card,
body.price-page .ladder .cards .card:nth-child(odd),
body.price-page .ladder .cards .card:nth-child(even),
body.price-page .ladder .card.calc {
  background-color: rgba(8, 12, 10, 0.55);
  background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 40%);
  border: 1px solid rgba(220, 236, 216, 0.1);
  border-top: 1px solid rgba(220, 236, 216, 0.1);
  border-radius: 16px;
  box-shadow: none;
}

body.price-page .star-scale {
  margin: 8px 0 18px;
}

body.price-page .star-readout {
  margin: 0 0 14px;
  color: var(--green);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

body.price-page .star-range {
  display: block;
  width: 100%;
  margin: 0;
  accent-color: #6ec44e;
  cursor: pointer;
}

body.price-page .star-stops {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  color: #8b9c94;
  font-size: 0.86rem;
  font-weight: 600;
}

body.price-page .ladder .glass > .cards > .card {
  background-color: rgba(8, 12, 10, 0.35);
}

body.price-page .faq details,
body.price-page .faq details[open],
body.price-page .faq details:nth-of-type(odd),
body.price-page .faq details:nth-of-type(even) {
  background: rgba(10, 14, 12, 0.68);
  background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 40%);
  border: 1px solid rgba(220, 236, 216, 0.12);
  border-top: 1px solid rgba(220, 236, 216, 0.12);
  box-shadow: none;
}

@media (hover: hover) {
  body.price-page .card:hover,
  body.price-page .faq details:hover,
  body.price-page .ladder .glass:hover {
    transform: none;
    border-color: rgba(220, 236, 216, 0.18);
    box-shadow: none;
  }
}

/* air31: главная читается по одной мысли, без скважин и одинаковых сеток. */

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

body.home .hero {
  padding: clamp(28px, 4vw, 48px) 0 clamp(36px, 5vw, 64px);
}

body.home .hero-copy,
body.home .hero-copy:hover {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: none;
  align-self: center;
  padding: clamp(72px, 10vw, 120px) 36px 8px 0;
  background: transparent;
}

body.home .hero-copy h1,
body.home .hero-copy .lead {
  position: relative;
  z-index: 1;
  width: fit-content;
  background: transparent;
  box-shadow: none;
  text-shadow: 0 0 10px #050706, 0 0 22px #050706;
}

body.home h1 {
  font-size: clamp(2.2rem, 4.6vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  max-width: 11em;
}

body.home .ladder .lead {
  max-width: 30rem;
  margin: 0 0 28px;
  color: #a8b6ae;
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1.55;
}

body.home .hero .cta-row {
  margin-top: 0;
}

body.home .orbit {
  position: relative;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 20px;
  min-height: 0;
}

body.home .hero-key-swing {
  width: min(100%, 240px);
  transform-origin: 74% 46%;
  animation: key-sway 5.5s ease-in-out infinite alternate;
}

body.home .hero-key {
  position: static;
  display: block;
  width: 100%;
  margin: 0;
  transform: scaleX(-1);
}

@keyframes key-sway {
  from { transform: rotate(-5deg); }
  to { transform: rotate(-11deg); }
}

body.home .fact-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

body.home .fact-chip {
  display: grid;
  place-items: center;
  margin: 0;
  min-height: 52px;
  padding: 12px 16px;
  border: 1px solid rgba(110, 196, 78, 0.62);
  border-radius: 14px;
  background: rgba(18, 32, 20, 0.94);
  box-shadow:
    inset 0 0 16px rgba(110, 196, 78, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 0 18px rgba(110, 196, 78, 0.45),
    0 0 36px rgba(110, 196, 78, 0.22);
  color: #edf8c4;
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  text-align: center;
}

body.home .orbit .float-card,
body.home .keyhole-head,
body.home .keyhole-stem {
  display: none;
}

body.home .band h2,
body.home .ladder .band h2,
body.home #path h2,
body.home #help-home h2 {
  max-width: 16em;
  margin: 0 0 36px;
  font-size: clamp(1.85rem, 3vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  text-align: left;
}

body.home .contrast-split {
  display: grid;
  gap: 40px;
}

body.home .contrast-label {
  display: inline-block;
  margin: 0 0 22px;
  padding-bottom: 8px;
  color: var(--text);
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  text-transform: none;
}

body.home .contrast-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

body.home .contrast-list li {
  margin: 0;
  padding: 16px 0;
  border-top: 1px solid rgba(244, 247, 242, 0.1);
}

body.home .contrast-list li:first-child {
  padding-top: 0;
  border-top: 0;
}

body.home .contrast-list strong {
  display: block;
  margin: 0 0 6px;
  color: var(--text);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

body.home .contrast-list span {
  display: block;
  max-width: 28rem;
  color: #9eaea5;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.55;
}

body.home .contrast-now .contrast-label {
  color: #e4ece8;
  border-bottom: 2px solid rgba(232, 240, 228, 0.45);
}

body.home .contrast-now .contrast-list strong {
  color: #8f9e96;
  font-weight: 600;
}

body.home .contrast-key {
  padding: 28px 28px 8px;
  border: 1px solid rgba(110, 196, 78, 0.22);
  border-top: 2px solid #3ad7ee;
  border-radius: 22px;
  background: #101916;
  box-shadow: inset 0 1px 0 rgba(58, 215, 238, 0.2);
}

body.home .contrast-key .contrast-label {
  color: var(--green);
  border-bottom: 2px solid #3ad7ee;
}

body.home .contrast-key .contrast-list li {
  position: relative;
  padding-left: 28px;
  border-top-color: rgba(110, 196, 78, 0.16);
}

body.home .contrast-key .contrast-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 22px;
  width: 11px;
  height: 6px;
  border-left: 2px solid var(--green);
  border-bottom: 2px solid var(--green);
  transform: rotate(-45deg);
}

body.home .contrast-key .contrast-list li:first-child::before {
  top: 6px;
}

body.home .contrast-key .contrast-list strong {
  color: #e7f2c4;
}

body.home #path {
  --path-air: clamp(80px, 6vw, 92px);
  padding-top: var(--path-air);
}

body.home #path h2 {
  max-width: none;
  margin-bottom: var(--path-air);
  text-align: center;
}

body.home .path-steps {
  gap: 48px;
}

body.home .path-no {
  width: 2.5rem;
  height: 2.5rem;
  font-size: 1.1rem;
}

body.home .path-steps {
  display: grid;
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}

body.home .path-steps > li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px 18px;
  align-items: start;
  margin: 0;
  padding: 0;
}

body.home .path-no {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border: 1.5px solid rgba(110, 196, 78, 0.85);
  border-radius: 50%;
  background: rgba(110, 196, 78, 0.08);
  box-shadow: 0 0 0 7px rgba(110, 196, 78, 0.06);
  color: var(--green);
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1;
}

body.home .path-steps h3 {
  margin: 0 0 8px;
  color: var(--text);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

body.home .path-steps p {
  margin: 0 0 8px;
  max-width: 28rem;
  color: #9eaea5;
  font-size: 1rem;
  line-height: 1.55;
}

body.home .path-steps p:last-child {
  margin-bottom: 0;
}

body.home .path-steps a {
  font-weight: 600;
}

body.home #help-home {
  margin-bottom: clamp(56px, 8vw, 88px);
}

body.home #help-home h2 {
  margin-bottom: 14px;
  font-size: clamp(1.35rem, 2vw, 1.6rem);
}

@media (min-width: 800px) {
  body.home #help-home .help-line {
    display: block;
    white-space: nowrap;
  }
}

body.home .footer-links {
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

body.home #path {
  background: transparent;
}

body.home .pad-block {
  position: relative;
  background: #070b09;
  /* Растягиваем фон на всю ширину экрана без 100vw,
     чтобы не создавать горизонтальный overflow на мобильных. */
  box-shadow: 0 0 0 100vmax #070b09;
  clip-path: inset(0 -100vmax);
}

@media (min-width: 800px) {
  body.home .contrast-split {
    grid-template-columns: 1fr 1fr;
    gap: 28px 64px;
  }

  body.home .path-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 36px 56px;
  }

  body.home .path-steps > li {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

@media (min-width: 960px) {
  body.home .hero-split {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    grid-template-rows: auto auto;
    align-items: center;
    column-gap: 48px;
    row-gap: 64px;
  }

  body.home .hero-copy,
  body.home .hero-copy:hover,
  body.home .orbit {
    display: contents;
  }

  body.home .hero-text {
    grid-column: 1;
    grid-row: 1;
    align-self: end;
    padding-top: clamp(8px, 1.5vw, 20px);
  }

  body.home .hero .cta-row {
    grid-column: 1;
    grid-row: 2;
    align-self: stretch;
    align-items: stretch;
    margin: 0;
  }

  body.home .hero .cta-row .btn {
    height: auto;
    min-height: 52px;
  }

  body.home .hero-key-swing {
    grid-column: 2;
    grid-row: 1;
    justify-self: center;
    align-self: end;
    width: min(78%, 250px);
    margin-top: -84px;
  }

  body.home .fact-chips {
    grid-column: 2;
    grid-row: 2;
    align-self: stretch;
    align-items: stretch;
    flex-wrap: nowrap;
    justify-content: center;
    width: 100%;
    margin: 0;
    transform: none;
  }

  body.home .fact-chip {
    height: auto;
    min-height: 52px;
  }
}

@media (max-width: 959px) {
  body.home .atmosphere {
    background:
      radial-gradient(ellipse 36% 28% at 8% 88%, rgba(110, 196, 78, 0.06), transparent 64%);
  }

  body.home .hero {
    padding-top: 12px;
  }

  body.home .hero-copy,
  body.home .hero-copy:hover {
    padding-top: 28px;
  }

  body.home .hero-key-swing {
    position: relative;
    margin-top: -40px;
    margin-bottom: 64px;
    margin-left: 48px;
  }

  body.home .hero-key-swing::before {
    content: "";
    position: absolute;
    z-index: 0;
    left: 50%;
    top: 42%;
    width: 180%;
    height: 145%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    background: radial-gradient(ellipse at center, rgba(110, 196, 78, 0.14) 0%, transparent 62%);
  }

  body.home .hero-key {
    position: relative;
    z-index: 1;
  }
}

.ladder .site-footer { margin-top: 40px; }

body.how-page .ladder .neuron-title h1 {
  color: #f7faf8;
  font-size: clamp(2.05rem, 3.6vw, 2.85rem);
  font-weight: 800;
  text-shadow: 0 2px 18px rgba(5, 7, 6, 0.9);
}

body.how-page .path-steps {
  display: grid;
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

body.how-page .path-steps > li {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px 16px;
  align-items: start;
  margin: 0;
}

body.how-page .path-steps > li:not(:last-child)::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 2.5rem;
  left: 1.25rem;
  bottom: -22px;
  width: 1px;
  background: rgba(110, 196, 78, 0.55);
  box-shadow: 0 0 8px rgba(110, 196, 78, 0.35);
  transform: translateX(-50%);
}

body.how-page .path-no {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1.5px solid rgba(110, 196, 78, 0.85);
  border-radius: 50%;
  background: #050706;
  color: var(--green);
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1;
}

body.how-page .path-steps h3 {
  margin: 0 0 6px;
  color: var(--text);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

body.how-page .path-steps p,
body.how-page .route-note {
  margin: 0;
  max-width: 36rem;
  color: #aebbb4;
}

body.how-page .route-note {
  margin-top: 64px;
  max-width: none;
}

body.how-page .dialog-split {
  display: grid;
  gap: 28px;
}

body.how-page .dialog-split h3 {
  margin: 0 0 12px;
  color: var(--text);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

body.how-page .dialog-split p {
  margin: 0;
  max-width: 36rem;
}

body.how-page .dialog-them,
body.how-page .dialog-us {
  padding: 28px 28px 24px;
  border-radius: 22px;
}

body.how-page .dialog-them {
  border: 1px solid rgba(220, 236, 216, 0.14);
  background: rgba(8, 12, 10, 0.78);
}

body.how-page .dialog-them h3 { color: #c5d0ca; font-weight: 600; }

body.how-page .dialog-them p { color: #9aa79f; }

body.how-page .dialog-us {
  padding: 28px 28px 24px;
  border: 1px solid rgba(220, 236, 216, 0.14);
  border-radius: 22px;
  background: rgba(16, 25, 22, 0.92);
}

body.how-page .dialog-us h3 { color: var(--green); }

body.how-page .dialog-us p { color: #d5e0d8; }

@media (min-width: 800px) {
  body.how-page .path-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px 40px;
  }

  body.how-page .route-note { white-space: nowrap; }

  body.how-page #data-title {
    max-width: none;
    margin-right: auto;
    margin-left: auto;
    white-space: nowrap;
    text-align: center;
  }

  body.how-page .path-steps > li {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  body.how-page .path-steps > li:not(:last-child)::before {
    top: 1.25rem;
    left: 1.25rem;
    bottom: auto;
    width: calc(100% + 40px);
    height: 1px;
    transform: translateY(-50%);
  }

  body.how-page .dialog-split {
    grid-template-columns: 1fr 1fr;
    gap: 28px 48px;
    align-items: stretch;
  }
}

@media (max-width: 959px) {
  .site-footer .footer-links {
    flex-direction: column;
    align-items: center;
    gap: 0;
  }

  .site-footer .footer-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
  }
}

@media (max-width: 720px) {
  section[id] { scroll-margin-top: 120px; }
}

body.setup-page #address-key > p,
body.setup-page #where > p {
  max-width: 68ch;
  line-height: 1.55;
  color: #b7c7be;
}

body.setup-page .open-stack {
  margin-top: 28px;
  gap: 16px;
  align-items: stretch;
}

body.setup-page .open-stack article {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  margin: 0;
  padding: 22px 22px 20px;
  border: 1px solid rgba(220, 236, 216, 0.14);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(8, 12, 10, 0) 46%),
    rgba(8, 12, 10, 0.78);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.28);
}

body.setup-page .open-stack h3 {
  margin: 0;
  color: #f7faf6;
  font-size: 1.5rem;
  letter-spacing: -0.03em;
}

body.setup-page .open-stack p,
body.setup-page .open-stack .model-id {
  max-width: none;
  margin: 0;
  color: #d5e3da;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

body.setup-page .ink {
  color: #6ec44e;
  font-style: normal;
  font-weight: 700;
}

body.setup-page .open-stack .model-id,
body.setup-page #address-key code,
body.setup-page #where code {
  color: #6ec44e;
}

body.setup-page .addr-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
  margin-top: auto;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(220, 236, 216, 0.1);
  background: rgba(0, 0, 0, 0.38);
}

body.setup-page .addr-line .cta-row,
body.setup-page .open-stack .cta-row {
  margin: 0;
}

body.setup-page .addr-line .btn {
  width: auto;
}

body.setup-page .open-stack .desk-key-btn {
  width: 100%;
  margin-top: auto;
}

body.setup-page .ladder .glass {
  background-color: rgba(10, 14, 12, 0.68);
  background-image: none;
  border: 1px solid rgba(220, 236, 216, 0.12);
  box-shadow: none;
}

body.setup-page .program-tabs {
  gap: 16px;
}

body.setup-page .program-tabs button {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 6px;
  min-height: 0;
  border-radius: 16px;
  background: rgba(8, 12, 10, 0.55);
  border: 1px solid rgba(220, 236, 216, 0.1);
  box-shadow: none;
}

body.setup-page .program-tabs button span {
  font-size: 0.9rem;
}

body.setup-page .program-tabs .pill {
  margin-top: 6px;
}

body.setup-page .os-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  margin-top: 18px;
}

body.setup-page .os-tabs {
  width: max-content;
  max-width: 100%;
  margin-top: 0;
  grid-template-columns: repeat(3, max-content);
}

body.setup-page .os-tabs button.is-on {
  background: rgba(110, 196, 78, 0.16);
  color: #f4f7f2;
}

body.setup-page #os-hint {
  margin: 0;
  max-width: none;
}

body.setup-page .ladder .glass .setup-steps .step,
body.setup-page .setup-steps .step:nth-child(odd),
body.setup-page .setup-steps .step:nth-child(even) {
  background-color: rgba(8, 12, 10, 0.55);
  background-image: none;
  border: 1px solid rgba(220, 236, 216, 0.1);
  border-radius: 16px;
  box-shadow: none;
  padding: 18px 18px 16px;
}

body.setup-page .step-head {
  margin-bottom: 14px;
  gap: 14px;
}

body.setup-page .setup-steps .step h3 {
  margin: 0;
  color: #f7faf6;
  font-size: 1.35rem;
  line-height: 1.25;
}

body.setup-page .step .step-no,
body.setup-page .step.is-done .step-no {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 50%;
  background: #6ec44e !important;
  color: #10180a;
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1;
}

body.setup-page .step.is-done .step-no {
  background: rgba(139, 156, 148, 0.35) !important;
  color: #d7e4dc;
}

body.setup-page .ladder .glass .setup-steps .step.is-current {
  border-color: rgba(110, 196, 78, 0.7);
}

body.setup-page .step-reset {
  grid-column: 1 / -1;
  justify-self: start;
  align-self: start;
  width: auto;
  margin: 6px 0 0 18px;
}

body.setup-page .check-list {
  gap: 14px;
  margin-top: 22px;
}

body.setup-page .check-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 18px;
  border: 1px solid rgba(110, 196, 78, 0.22);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(110, 196, 78, 0.09), rgba(8, 12, 10, 0) 48%),
    rgba(8, 12, 10, 0.72);
  color: #c5d4cb;
}

body.setup-page .check-no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  margin-top: 3px;
  flex: none;
  border: 0;
  background: none;
  color: #6ec44e;
}

body.setup-page .check-no svg {
  display: block;
  width: 20px;
  height: 20px;
}

body.setup-page .check-list strong {
  display: block;
  margin: 2px 0 6px;
  color: #f7faf6;
  font-size: 1.2rem;
  font-weight: 700;
}

body.setup-page .check-list p {
  margin: 0;
  color: #d5e3da;
  line-height: 1.45;
}

body.setup-page #stuck > p {
  max-width: none;
}

body.setup-page .stuck-back {
  margin-top: 22px;
}

body.setup-page .stuck-help {
  margin-top: 12px;
  padding: 16px 18px;
  border: 1px solid rgba(110, 196, 78, 0.34);
  border-radius: 18px;
  background: rgba(110, 196, 78, 0.08);
  color: #e7f2df;
}

body.setup-page .hold-copy .lead {
  margin-bottom: 0;
  max-width: 38rem;
}

body.setup-page .hold-follow {
  display: grid;
  gap: 12px;
  margin-top: 36px;
}

body.setup-page .hold-follow h2,
body.setup-page .hold-follow p {
  margin: 0;
}

body.setup-page .hold-follow p {
  max-width: 62ch;
  color: #b7c7be;
  line-height: 1.55;
}

body.setup-page .hero .open-stack {
  margin-top: 36px;
}

@media (min-width: 900px) {
  body.setup-page .hold-split {
    grid-template-columns: minmax(0, 1fr) 300px;
    align-items: center;
    gap: 24px 56px;
  }

  body.setup-page .hold-figure img {
    width: 300px;
    margin: 0 0 0 auto;
  }
}

body.setup-page #phone-note,
body.setup-page #phone-share {
  display: none;
}

@media (max-width: 899px) {
  body.setup-page .hold-figure,
  body.setup-page .desk-key-note,
  body.setup-page .desk-key-btn {
    display: none;
  }

  body.setup-page #phone-note {
    display: block;
  }

  body.setup-page #phone-share {
    display: flex;
  }

  body.setup-page .addr-line .btn {
    width: auto;
  }
}

body.setup-page.is-phone #phone-note {
  display: block;
}

body.setup-page.is-phone #phone-share {
  display: flex;
}

body.setup-page .where {
  width: 100%;
  margin: 22px 0 4px;
  border-collapse: separate;
  border-spacing: 0 12px;
}

body.setup-page .where th,
body.setup-page .where td {
  padding: 18px 20px;
  text-align: left;
  vertical-align: middle;
  border: 0;
}

body.setup-page .where thead th {
  padding: 0 8px 2px;
  background: transparent;
  color: #8b9c94;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

body.setup-page .where tbody th,
body.setup-page .where tbody td {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(8, 12, 10, 0) 55%),
    rgba(8, 12, 10, 0.78);
  border-top: 1px solid rgba(220, 236, 216, 0.12);
  border-bottom: 1px solid rgba(220, 236, 216, 0.12);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.18);
}

body.setup-page .where tbody th {
  width: 26%;
  border-left: 1px solid rgba(220, 236, 216, 0.12);
  border-radius: 18px 0 0 18px;
  color: #f7faf6;
  font-size: 1.08rem;
  font-weight: 700;
}

body.setup-page .where tbody td {
  border-right: 1px solid rgba(220, 236, 216, 0.12);
  border-radius: 0 18px 18px 0;
  color: #d5e3da;
  line-height: 1.5;
}

body.setup-page #where > p:last-child {
  margin-top: 18px;
}

@media (min-width: 800px) {
  body.setup-page .open-stack {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}

@media (max-width: 719px) {
  body.setup-page .where {
    border-spacing: 0;
  }

  body.setup-page .where thead {
    display: none;
  }

  body.setup-page .where,
  body.setup-page .where tbody,
  body.setup-page .where tr,
  body.setup-page .where th,
  body.setup-page .where td {
    display: block;
    width: auto;
  }

  body.setup-page .where tbody tr {
    margin-bottom: 12px;
    padding: 16px 16px 14px;
    border: 1px solid rgba(220, 236, 216, 0.14);
    border-radius: 18px;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(8, 12, 10, 0) 48%),
      rgba(8, 12, 10, 0.78);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.22);
  }

  body.setup-page .where tbody th,
  body.setup-page .where tbody td {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
  }

  body.setup-page .where th[scope="row"] {
    width: auto;
    margin-bottom: 6px;
  }
}

body.setup-page .faq details,
body.setup-page .faq details[open],
body.setup-page .faq details:nth-of-type(odd),
body.setup-page .faq details:nth-of-type(even) {
  background: rgba(8, 12, 10, 0.62);
  background-image: none;
  border: 1px solid rgba(220, 236, 216, 0.16);
  border-top: 1px solid rgba(220, 236, 216, 0.16);
  border-radius: 14px;
  box-shadow: none;
}

body.setup-page .faq details[open] {
  background: rgba(8, 12, 10, 0.84);
}

body.setup-page .faq summary,
body.setup-page .faq details[open] summary {
  color: var(--text);
}

body.setup-page .faq details p {
  color: #b7c4bc;
  border-top-color: rgba(255, 255, 255, 0.08);
}

body.how-page .neuron-card,
body.how-page .ladder .neuron-card,
body.how-page .ladder .neuron-people,
body.how-page .ladder .neuron-key,
body.how-page .dialog-them,
body.how-page .dialog-us {
  border: 1px solid rgba(220, 236, 216, 0.14);
  border-top-color: rgba(220, 236, 216, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

@media (hover: hover) {
  body.how-page .neuron-card:hover,
  body.how-page .ladder .neuron-card:hover {
    border-color: rgba(220, 236, 216, 0.22);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.08),
      0 16px 36px rgba(0, 0, 0, 0.26);
  }
}

/* nav1: шапка - гармошка на телефоне, переключатель языка на всех экранах. */

html.i18n-pending body { visibility: hidden; }

.header-tools {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: none;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  flex: none;
  padding: 2px;
  border: 1px solid rgba(110, 196, 78, 0.38);
  border-radius: 999px;
  background: rgba(8, 12, 10, 0.72);
}

.lang-switch button {
  appearance: none;
  min-width: 38px;
  min-height: 30px;
  padding: 0 9px;
  border: 0;
  border-radius: 999px;
  background: none;
  color: var(--prose);
  font: inherit;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.lang-switch button.is-on {
  background: var(--green);
  color: #10180a;
}

.lang-switch button:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}

@media (hover: hover) {
  .lang-switch button:not(.is-on):hover { color: var(--green); }
}

.nav-toggle {
  display: none;
  appearance: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 40px;
  padding: 0;
  border: 1px solid rgba(110, 196, 78, 0.38);
  border-radius: 12px;
  background: rgba(8, 12, 10, 0.72);
  color: var(--text);
  cursor: pointer;
}

.nav-toggle:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}

.nav-toggle .nav-toggle-bars {
  position: relative;
  display: block;
  width: 18px;
  height: 12px;
}

.nav-toggle .nav-toggle-bars::before,
.nav-toggle .nav-toggle-bars::after,
.nav-toggle .nav-toggle-bars span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.15s ease;
  content: "";
}

.nav-toggle .nav-toggle-bars::before { top: 0; }
.nav-toggle .nav-toggle-bars span { top: 5px; }
.nav-toggle .nav-toggle-bars::after { top: 10px; }

.nav-toggle[aria-expanded="true"] { color: var(--green); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-5px) rotate(-45deg); }

@media (prefers-reduced-motion: reduce) {
  .nav-toggle .nav-toggle-bars::before,
  .nav-toggle .nav-toggle-bars::after,
  .nav-toggle .nav-toggle-bars span,
  .lang-switch button { transition: none; }
}

@media (max-width: 720px) {
  .site-header .header-inner {
    flex-wrap: nowrap;
    row-gap: 0;
    gap: 10px;
    min-height: 56px;
  }

  .site-header .brand { flex: 1 1 auto; min-width: 0; }
  .site-header .brand-lockup { max-width: min(150px, 42vw); height: 32px; }

  .nav-toggle { display: inline-flex; }

  /* Гармошка: меню уезжает вниз из-под шапки, а не ломает ряд. */
  .site-header .nav-panel {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: grid;
    grid-template-rows: 0fr;
    overflow: hidden;
    background: #070b09;
    border-bottom: 1px solid transparent;
    transition: grid-template-rows 0.24s ease, border-bottom-color 0.24s ease;
  }

  .site-header .nav-panel.is-open {
    grid-template-rows: 1fr;
    border-bottom-color: rgba(110, 196, 78, 0.55);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.45);
  }

  .site-header .nav-panel > nav {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 0;
    min-height: 0;
    width: min(var(--max), calc(100% - 40px));
    margin: 0 auto;
    overflow: hidden;
  }

  .site-header .nav-panel > nav > a,
  .site-header .nav-panel > nav > a:visited {
    display: flex;
    align-items: center;
    min-height: 52px;
    padding: 0 2px;
    font-size: 16px;
    border-top: 1px solid rgba(220, 236, 216, 0.1);
  }

  .site-header .nav-panel > nav > a:first-child { border-top: 0; }

  .site-header .nav-panel > nav > a.nav-key,
  .site-header .nav-panel > nav > a.nav-key:visited {
    display: flex;
    justify-content: center;
    margin: 12px 0 16px;
    padding: 0 14px;
    min-height: 48px;
    border-top: 0;
    border-radius: 999px;
    background: var(--green);
    color: #10180a;
  }

  body.nav-locked { overflow: hidden; }
}

@media (max-width: 380px) {
  .site-header .brand-lockup { max-width: 112px; }
  .lang-switch button { min-width: 34px; padding: 0 7px; }
}

@media (min-width: 721px) {
  .site-header .nav-panel { display: contents; }
}

/* Страница инструкции (instructions.html).
   Весь контент лежит в карточках со своей заливкой и z-index: 2,
   иначе фиксированные #rain (z-index 0) и .atmosphere (z-index 1)
   рисуются поверх текста, потому что карточки были бы статичными. */
body.instr-page main {
  position: relative;
  z-index: 2;
  padding: clamp(24px, 4vw, 44px) 0 clamp(56px, 9vw, 96px);
}

.instr-wrap {
  position: relative;
  z-index: 2;
  width: min(820px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  gap: clamp(14px, 2.4vw, 20px);
}

.instr-card {
  position: relative;
  z-index: 2;
  background: var(--plate-base);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: clamp(20px, 3.4vw, 34px);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.5);
  scroll-margin-top: 88px;
}

.instr-card > :last-child { margin-bottom: 0; }

.instr-hero { background: var(--plate-base) var(--plate-top) no-repeat top / 100% 180px; }

.instr-eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.instr-wrap h1 {
  margin: 0 0 16px;
  font-size: clamp(1.9rem, 4.6vw, 2.9rem);
  line-height: 1.06;
}

.instr-h2 {
  margin: 0 0 12px;
  font-size: clamp(1.45rem, 3vw, 1.95rem);
  line-height: 1.14;
  color: var(--text);
}

/* Заголовки двух частей в градиенте логотипа Moneo (голубой -> зелёный). */
.instr-h2.instr-brand {
  background: linear-gradient(90deg, #0195fb, #00cbe6 52%, #00f190);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.instr-h3 {
  margin: 26px 0 10px;
  font-size: clamp(1.1rem, 1.9vw, 1.28rem);
  color: var(--text);
}

.instr-lead {
  margin: 0 0 12px;
  color: var(--text);
  font-size: clamp(1rem, 1.5vw, 1.12rem);
  line-height: 1.6;
}

.instr-muted,
.instr-sub {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 0.97rem;
  line-height: 1.65;
}

.instr-sub { margin-bottom: 18px; }

/* Быстрые ссылки на части инструкции. */
.instr-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.instr-jump a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(110, 196, 78, 0.06);
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
}

.instr-jump a:hover {
  border-color: var(--green);
  color: var(--green);
}

/* Нумерованные шаги. */
.instr-steps {
  list-style: none;
  counter-reset: instr-step;
  margin: 18px 0 0;
  padding: 0;
}

.instr-steps > li {
  position: relative;
  counter-increment: instr-step;
  padding: 0 0 22px 58px;
}

.instr-steps > li:last-child { padding-bottom: 0; }

.instr-steps > li::before {
  content: counter(instr-step);
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(110, 196, 78, 0.45);
  border-radius: 50%;
  background: rgba(110, 196, 78, 0.1);
  color: var(--green);
  font-weight: 800;
  font-size: 0.95rem;
  line-height: 1;
}

/* Линия между шагами: соединяет кружки, обрывается на последнем. */
.instr-steps > li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 42px;
  left: 19px;
  bottom: 6px;
  width: 1px;
  background: linear-gradient(180deg, rgba(110, 196, 78, 0.35), rgba(110, 196, 78, 0.05));
}

.instr-steps strong {
  display: block;
  margin-bottom: 6px;
  color: var(--text);
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.35;
}

.instr-steps p {
  margin: 0;
  color: var(--prose);
  font-size: 0.97rem;
  line-height: 1.65;
}

/* Врезки: предупреждения, подсказки, запасные кошельки. */
.instr-note {
  margin: 20px 0 0;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--green);
  border-radius: 14px;
  background: var(--bg-soft);
}

.instr-note.warn { border-left-color: var(--amber); }
.instr-note.danger { border-left-color: #ff6b6b; }

.instr-note h3 {
  margin: 0 0 10px;
  color: var(--text);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
}

.instr-note ul {
  margin: 0;
  padding-left: 20px;
}

.instr-note li {
  margin-bottom: 8px;
  color: var(--prose);
  font-size: 0.95rem;
  line-height: 1.6;
}

.instr-note li:last-child { margin-bottom: 0; }

/* Частые вопросы. */
.instr-faq { display: grid; gap: 10px; }

.instr-faq details {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg-soft);
}

.instr-faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 18px;
  color: var(--text);
  font-size: 0.99rem;
  font-weight: 600;
  line-height: 1.4;
  cursor: pointer;
  list-style: none;
}

.instr-faq summary::-webkit-details-marker { display: none; }

.instr-faq summary::after {
  content: "+";
  flex: 0 0 auto;
  color: var(--green);
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1;
}

.instr-faq details[open] summary::after { content: "–"; }

.instr-faq details p {
  margin: 0;
  padding: 0 18px 16px;
  color: var(--prose);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* Кнопки внизу страницы. */
.instr-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.instr-actions .btn { width: auto; flex: 1 1 240px; }

@media (max-width: 720px) {
  .instr-wrap { width: calc(100% - 24px); }
  .instr-card { border-radius: 14px; }
  .instr-steps > li { padding-left: 48px; padding-bottom: 20px; }
  .instr-steps > li::before { width: 32px; height: 32px; font-size: 0.88rem; }
  .instr-steps > li:not(:last-child)::after { top: 36px; left: 16px; }
  .instr-note { padding: 15px 16px; }
  .instr-actions .btn { flex: 1 1 100%; }
}

@media (max-width: 380px) {
  .instr-jump a { width: 100%; justify-content: center; }
}

