:root {
  --bg: #0c0e12;
  --panel: #14181f;
  --line: #2a3140;
  --text: #e7edf5;
  --muted: #93a0b2;
  --accent: #6ee7b7;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --sans: "IBM Plex Sans", "Segoe UI", sans-serif;
  --scroll-y: 0px;
  --scroll-p: 0;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html.booting body { visibility: hidden; }

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(120% 80% at 50% -10%, #151922 0%, transparent 55%),
    var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.45;
  overflow-x: hidden;
}

.stage {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.stage::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 0%, transparent 48%, rgba(8, 10, 14, 0.35) 100%),
    linear-gradient(180deg, transparent 0%, rgba(12, 14, 18, 0.12) 68%, rgba(12, 14, 18, 0.55) 100%);
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(64px);
  will-change: transform, opacity;
}
.orb-a {
  width: min(62vw, 560px);
  height: min(62vw, 560px);
  left: -10%;
  top: -14%;
  margin-top: calc(var(--scroll-y) * -0.08);
  background: radial-gradient(circle, rgba(110, 231, 183, 0.48) 0%, rgba(110, 231, 183, 0.14) 40%, transparent 70%);
  animation: orbA 14s ease-in-out infinite alternate;
}
.orb-b {
  width: min(52vw, 480px);
  height: min(52vw, 480px);
  right: -8%;
  top: 4%;
  margin-top: calc(var(--scroll-y) * 0.05);
  background: radial-gradient(circle, rgba(120, 170, 255, 0.3) 0%, rgba(120, 170, 255, 0.08) 45%, transparent 72%);
  animation: orbB 18s ease-in-out infinite alternate;
}
.orb-c {
  width: min(46vw, 420px);
  height: min(46vw, 420px);
  left: 36%;
  bottom: -20%;
  margin-bottom: calc(var(--scroll-y) * -0.1);
  background: radial-gradient(circle, rgba(110, 231, 183, 0.26) 0%, transparent 68%);
  animation: orbC 16s ease-in-out infinite alternate;
}
.sheen {
  position: absolute;
  inset: -20%;
  background: conic-gradient(
    from 180deg at 50% 30%,
    transparent 0deg,
    rgba(110, 231, 183, 0.1) 55deg,
    transparent 110deg,
    rgba(120, 170, 255, 0.08) 200deg,
    transparent 280deg
  );
  mix-blend-mode: soft-light;
  animation: sheenSpin 36s linear infinite;
}
.beam {
  position: absolute;
  inset: -30% -10%;
  background: linear-gradient(
    105deg,
    transparent 35%,
    rgba(110, 231, 183, 0.07) 48%,
    rgba(120, 170, 255, 0.05) 52%,
    transparent 65%
  );
  mix-blend-mode: screen;
  animation: beamSweep 11s ease-in-out infinite;
}
.motes {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(110, 231, 183, 0.7) 0 1px, transparent 1.6px),
    radial-gradient(circle, rgba(180, 210, 255, 0.55) 0 1px, transparent 1.5px),
    radial-gradient(circle, rgba(110, 231, 183, 0.45) 0 1px, transparent 1.4px);
  background-size: 180px 220px, 240px 280px, 150px 190px;
  background-position: 10% 20%, 70% 30%, 40% 70%;
  opacity: 0.35;
  mask-image: radial-gradient(ellipse at 50% 20%, #000 20%, transparent 75%);
  animation: moteDrift 22s ease-in-out infinite alternate;
}
.mesh {
  position: absolute;
  inset: -10% 0;
  background-image:
    linear-gradient(rgba(231, 237, 245, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(231, 237, 245, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image:
    radial-gradient(ellipse 90% 55% at 50% 8%, #000 0%, transparent 72%),
    linear-gradient(180deg, #000 0%, transparent 78%);
  mask-composite: intersect;
  -webkit-mask-image:
    radial-gradient(ellipse 90% 55% at 50% 8%, #000 0%, transparent 72%),
    linear-gradient(180deg, #000 0%, transparent 78%);
  -webkit-mask-composite: source-in;
  animation: meshDrift 54s linear infinite;
  opacity: 0.95;
  transform: translate3d(0, calc(var(--scroll-y) * 0.12), 0);
  will-change: transform;
}
.grain {
  position: absolute;
  inset: 0;
  opacity: 0.055;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
  transform: translate3d(0, calc(var(--scroll-y) * -0.04), 0);
}

main { position: relative; z-index: 1; }

a { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.top {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0 1rem;
  overflow: visible;
  background: transparent;
  border-bottom: 1px solid rgba(42, 49, 64, 0.7);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.18);
}
.top::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(12, 14, 18, 0.82);
  backdrop-filter: blur(16px) saturate(1.2);
}

.brand {
  color: var(--text);
  text-decoration: none;
  font-family: var(--mono);
  font-size: 0.92rem;
  padding: 0.85rem 0;
  transition: color 0.25s ease;
}
.brand:hover, .brand:focus-visible { color: var(--accent); }

.tabs {
  display: flex;
  flex: 1;
  gap: 0;
  overflow: visible;
}
.tabs > a,
.nav-drop-btn {
  position: relative;
  color: var(--muted);
  text-decoration: none;
  font-family: var(--mono);
  font-size: 0.82rem;
  padding: 0.95rem 0.8rem 0.75rem;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.25s ease;
}
.tabs > a::after,
.nav-drop-btn::after {
  content: "";
  position: absolute;
  left: 0.8rem;
  right: 0.8rem;
  bottom: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.35s cubic-bezier(.2, .7, .2, 1);
}
.tabs > a:hover,
.tabs > a:focus-visible,
.nav-drop-btn:hover,
.nav-drop-btn:focus-visible { color: var(--text); }
.tabs > a:hover::after,
.tabs > a:focus-visible::after,
.tabs > a.is-on::after,
.nav-drop-btn:hover::after,
.nav-drop-btn:focus-visible::after,
.nav-drop-btn.is-on::after,
.nav-drop.is-open .nav-drop-btn::after { transform: scaleX(1); }
.tabs > a.is-on,
.nav-drop-btn.is-on { color: var(--text); }
.tabs > a.is-on::after,
.nav-drop-btn.is-on::after {
  animation: lineBreath 2.8s ease-in-out infinite;
}

.nav-drop {
  position: relative;
  display: flex;
  align-items: stretch;
}
.nav-drop-btn::before {
  content: "";
  display: inline-block;
  width: 0.35rem;
  height: 0.35rem;
  margin-right: 0.45rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-1px) rotate(45deg);
  transition: transform 0.25s ease;
  opacity: 0.7;
}
.nav-drop:hover .nav-drop-btn::before,
.nav-drop:focus-within .nav-drop-btn::before,
.nav-drop.is-open .nav-drop-btn::before {
  transform: translateY(1px) rotate(225deg);
}
.nav-menu {
  position: fixed;
  top: var(--nav-menu-top, 3.2rem);
  left: var(--nav-menu-left, 8rem);
  z-index: 60;
  min-width: min(22rem, calc(100vw - 2rem));
  max-width: min(26rem, calc(100vw - 1.5rem));
  padding: 0.35rem 0;
  background: #12161d;
  border: 1px solid var(--line);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s cubic-bezier(.2, .7, .2, 1), visibility 0.25s;
}
.nav-drop:hover .nav-menu,
.nav-drop:focus-within .nav-menu,
.nav-drop.is-open .nav-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
}
.nav-menu a {
  display: block;
  color: var(--muted);
  text-decoration: none;
  font-family: var(--mono);
  font-size: 0.8rem;
  line-height: 1.35;
  padding: 0.65rem 1rem;
  border: 0;
  white-space: normal;
  transition: color 0.2s ease, background 0.2s ease;
}
.nav-menu a:hover,
.nav-menu a:focus-visible {
  color: var(--text);
  background: rgba(110, 231, 183, 0.08);
}
.nav-menu a.is-on {
  color: var(--accent);
  background: rgba(110, 231, 183, 0.1);
}

.lang { display: flex; gap: 0.25rem; }
.lang button {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--line);
  padding: 0.28rem 0.45rem;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.18s ease;
}
.lang button:hover, .lang button:focus-visible { color: var(--text); border-color: var(--accent); }
.lang button:active { transform: scale(0.94); }
.lang button.is-on { color: var(--bg); background: var(--accent); border-color: var(--accent); }
.lang button.is-on:hover, .lang button.is-on:focus-visible { color: var(--bg); }

.lang-swap {
  transition:
    opacity 0.24s ease,
    filter 0.24s ease,
    transform 0.24s cubic-bezier(.2, .7, .2, 1);
}
body.lang-out .lang-swap {
  opacity: 0;
  filter: blur(4px);
  transform: translateY(8px);
  pointer-events: none;
}
body.lang-in .lang-swap {
  animation: langIn 0.48s cubic-bezier(.2, .7, .2, 1) both;
}
@keyframes langIn {
  from { opacity: 0; filter: blur(4px); transform: translateY(-8px); }
  to { opacity: 1; filter: none; transform: none; }
}

.wrap {
  width: min(980px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.6rem 0 4rem;
}

.hero {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 1.4rem;
  align-items: start;
}

.portrait {
  width: 240px;
  height: auto;
  display: block;
  position: relative;
  animation:
    settle 0.9s cubic-bezier(.2, .7, .2, 1) backwards,
    floatSoft 6.5s ease-in-out 1s infinite,
    breathShadow 5.5s ease-in-out 1s infinite;
  box-shadow:
    0 0 0 1px rgba(110, 231, 183, 0.12),
    0 18px 50px rgba(0, 0, 0, 0.45);
  transition: box-shadow 0.45s ease;
}
.portrait:hover {
  animation-play-state: paused;
  transform: translateY(-3px);
  box-shadow:
    0 0 0 1px rgba(110, 231, 183, 0.45),
    0 0 36px rgba(110, 231, 183, 0.12),
    0 22px 56px rgba(0, 0, 0, 0.5);
}
h1, .lede {
  animation: settle 0.7s cubic-bezier(.2, .7, .2, 1) backwards;
}
.lede { animation-delay: 0.08s; }

.kicker, h2, .idx, .step, .file {
  font-family: var(--mono);
  color: var(--accent);
  font-weight: 500;
}

.kicker {
  margin: 0;
  font-size: 0.82rem;
  animation: accentPulse 3.4s ease-in-out infinite;
}
h1 {
  margin: 0.25rem 0 0.7rem;
  font-size: clamp(1.7rem, 4vw, 2.55rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 600;
}
h2 { margin: 2rem 0 0.8rem; font-size: 0.92rem; }

.reveal.arm > h2,
.reveal.arm > .crowdo,
.reveal-item.arm {
  opacity: 0;
  transform: translateY(22px);
  filter: blur(4px);
}
.reveal.arm.is-in > h2,
.reveal.arm.is-in > .crowdo,
.reveal-item.arm.is-in {
  opacity: 1;
  transform: none;
  filter: none;
  animation: revealIn 0.7s cubic-bezier(.2, .7, .2, 1) backwards;
}
.reveal.arm.is-in > h2 { animation-delay: 0.02s; }
.reveal.arm.is-in > .crowdo { animation-delay: 0.08s; }
.lede { margin: 0 0 0.8rem; font-size: 1.08rem; }

.tasks, .contacts { list-style: none; margin: 0; padding: 0; }
.tasks li {
  padding: 0.28rem 0 0.28rem 1rem;
  position: relative;
  animation: taskIn 0.55s cubic-bezier(.2, .7, .2, 1) backwards;
  animation-delay: calc(0.12s + var(--i) * 70ms);
  transition: background 0.3s ease;
}
.tasks li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-family: var(--mono);
  transition: transform 0.25s ease;
}
.tasks li:hover { background: linear-gradient(90deg, rgba(110, 231, 183, 0.09), transparent 72%); }
.tasks li:hover::before { transform: translateX(4px); }
.mode, .en { color: var(--muted); margin: 0.35rem 0; }
.ai-line {
  margin: 0.55rem 0 0;
  padding: 0.55rem 0.7rem;
  border-left: 2px solid var(--accent);
  color: var(--accent);
  font-family: var(--mono);
  font-size: 0.9rem;
  line-height: 1.4;
  background: rgba(110, 231, 183, 0.05);
}
.tools div:first-child {
  border-color: rgba(110, 231, 183, 0.35);
  background: rgba(110, 231, 183, 0.04);
}
.tools div:first-child dt { color: var(--accent); }
.contacts {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1rem;
  margin: 0.2rem 0 0;
}
.contacts a, .crowdo a {
  font-family: var(--mono);
  font-size: 0.86rem;
  text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0 1px;
  transition: background-size 0.35s cubic-bezier(.2, .7, .2, 1), color 0.25s ease;
}
.contacts a:hover, .contacts a:focus-visible,
.crowdo a:hover, .crowdo a:focus-visible {
  background-size: 100% 1px;
  color: #f4fff9;
}
.contacts li a {
  animation: contactGlow 4.8s ease-in-out infinite;
  animation-delay: calc(var(--i, 0) * 0.35s);
}

.can, .cases {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
}
.can article, .case, .crowdo, .screen {
  background: var(--panel);
  border: 1px solid var(--line);
}
.can article { padding: 0.85rem 1rem 0.95rem; }

.approach {
  list-style: none;
  margin: 0;
  padding: 0;
}
.approach li {
  display: grid;
  grid-template-columns: 2.6rem 1fr;
  gap: 0.85rem;
  align-items: start;
  position: relative;
  padding: 0 0 0.95rem;
}
.approach li::before {
  content: "";
  position: absolute;
  left: 0.78rem;
  top: 1.7rem;
  bottom: 0;
  width: 1px;
  background: linear-gradient(var(--accent), transparent);
  transform-origin: top;
}
.approach li:last-child::before { display: none; }
.approach .step {
  width: 1.7rem;
  height: 1.7rem;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--bg);
  font-size: 0.68rem;
  position: relative;
  z-index: 1;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s cubic-bezier(.2, .7, .2, 1);
}
.approach p { margin: 0.15rem 0 0; transition: transform 0.3s ease; }
.approach li:hover .step,
.approach.arm.is-in li:hover .step {
  background: var(--accent);
  color: var(--bg);
  border-color: var(--accent);
  box-shadow: 0 0 18px rgba(110, 231, 183, 0.5);
  transform: scale(1.08);
}
.approach li:hover p { transform: translateX(4px); }
.approach.arm li { opacity: 0; transform: translateY(10px); }
.approach.arm li::before { transform: scaleY(0); }
.approach.arm.is-in li {
  opacity: 1;
  transform: none;
  animation: rise 0.6s cubic-bezier(.2, .7, .2, 1) backwards;
  animation-delay: calc(var(--i) * 120ms);
}
.approach.arm.is-in li::before {
  transform: scaleY(1);
  animation: grow 0.5s ease backwards;
  animation-delay: calc(var(--i) * 120ms);
}
.approach.arm.is-in .step {
  border-color: var(--accent);
  animation:
    pip 0.7s ease backwards,
    breathGlow 3.8s ease-in-out infinite;
  animation-delay:
    calc(var(--i) * 120ms),
    calc(0.85s + var(--i) * 180ms);
}
.can h3, .case strong { margin: 0 0 0.3rem; font-size: 1rem; font-weight: 600; }
.can p, .case em { margin: 0; color: var(--muted); font-style: normal; }

.tools { margin: 0; }
.tools div {
  display: grid;
  grid-template-columns: 8.2rem 1fr;
  gap: 0.8rem;
  margin: 0 -0.65rem;
  padding: 0.55rem 0.65rem;
  border-top: 1px solid var(--line);
  transition: background 0.3s ease, transform 0.3s ease;
}
.tools.arm div { opacity: 0; transform: translateY(10px); }
.tools.arm.is-in div {
  opacity: 1;
  transform: none;
  animation: rise 0.45s ease backwards;
  animation-delay: calc(var(--i) * 55ms);
}
.tools div:hover,
.tools.arm.is-in div:hover {
  background: rgba(110, 231, 183, 0.06);
  transform: translateX(6px);
}
.tools dt { font-family: var(--mono); font-size: 0.88rem; transition: color 0.25s ease; }
.tools div:hover dt { color: var(--accent); }
.tools dd { margin: 0; color: var(--muted); }

.learn {
  margin: 1.15rem 0 0;
  padding-top: 0.9rem;
  max-width: 40rem;
  color: var(--muted);
  position: relative;
}
.learn::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 2.6rem;
  height: 1px;
  background: var(--accent);
  transform-origin: left center;
}
.learn.arm { opacity: 0; transform: translateY(8px); }
.learn.arm::before { transform: scaleX(0); }
.learn.arm.is-in {
  opacity: 1;
  transform: none;
  animation: rise 0.5s ease 0.12s backwards;
}
.learn.arm.is-in::before {
  transform: scaleX(1);
  animation:
    draw 0.55s cubic-bezier(.2, .7, .2, 1) backwards,
    lineBreath 3.2s ease-in-out 0.6s infinite;
}

.case {
  position: relative;
  display: grid;
  grid-template-columns: 2.4rem 1fr;
  gap: 0.7rem;
  padding: 0.9rem 2.4rem 0.9rem 1rem;
  color: inherit;
  text-decoration: none;
  transition: border-color 0.3s ease, background 0.3s ease, transform 0.3s cubic-bezier(.2, .7, .2, 1), box-shadow 0.3s ease;
}
.case::after {
  content: "→";
  position: absolute;
  right: 0.9rem;
  top: 50%;
  color: var(--accent);
  font-family: var(--mono);
  opacity: 0;
  transform: translate(8px, -50%);
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(.2, .7, .2, 1);
}
.case:hover, .case:focus-visible,
.cases.arm.is-in .case:hover, .cases.arm.is-in .case:focus-visible {
  border-color: var(--accent);
  background: #1a2029;
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.35);
}
.case:hover::after, .case:focus-visible::after { opacity: 1; transform: translate(0, -50%); }
.case:active, .cases.arm.is-in .case:active { transform: translateY(-1px); }
.cases.arm .case { opacity: 0; transform: translateY(10px); }
.cases.arm.is-in .case {
  opacity: 1;
  transform: none;
  animation: rise 0.5s cubic-bezier(.2, .7, .2, 1) backwards;
  animation-delay: calc(var(--i) * 80ms);
}
.idx { font-size: 0.82rem; padding-top: 0.15rem; }

.crowdo { margin-top: 2rem; padding: 0.2rem 1rem 0.2rem; }
.crowdo summary {
  cursor: pointer;
  list-style: none;
  padding: 0.75rem 0;
  font-family: var(--mono);
}
.crowdo summary::-webkit-details-marker { display: none; }
.crowdo summary { transition: color 0.25s ease; }
.crowdo summary:hover { color: var(--accent); }
.crowdo summary::before {
  content: "▸";
  color: var(--accent);
  display: inline-block;
  width: 1rem;
  transition: transform 0.35s cubic-bezier(.2, .7, .2, 1);
}
.crowdo[open] summary::before { transform: rotate(90deg); }
.crowdo p { margin: 0 0 0.8rem; color: var(--muted); }
.crowdo[open] p { animation: settle 0.4s ease backwards; }

.flow { list-style: none; margin: 1.2rem 0 0; padding: 0; }
.flow li {
  display: grid;
  grid-template-columns: 4.2rem 1fr;
  gap: 0.8rem;
  position: relative;
  padding: 0 0 1rem;
}
.flow li::before {
  content: "";
  position: absolute;
  left: 1.55rem;
  top: 1.45rem;
  bottom: 0;
  width: 1px;
  background: var(--line);
  transform-origin: top;
}
.flow li:last-child::before { display: none; }
.step { font-size: 0.82rem; }
.flow strong { display: block; margin-bottom: 0.15rem; }
.flow p { margin: 0; color: var(--muted); }

.flow li { transition: background 0.3s ease; }
.flow strong, .flow .step { transition: color 0.25s ease, text-shadow 0.25s ease; }
.flow.arm.is-in li:hover { background: rgba(110, 231, 183, 0.05); }
.flow li:hover .step { text-shadow: 0 0 12px rgba(110, 231, 183, 0.75); }
.flow.arm li { opacity: 0; transform: translateY(10px); }
.flow.arm li::before { transform: scaleY(0); }
.flow.arm.is-in li {
  opacity: 1;
  transform: none;
  animation: rise 0.45s ease backwards;
  animation-delay: calc(var(--i) * 90ms);
}
.flow.arm.is-in li::before {
  transform: scaleY(1);
  animation: grow 0.4s ease backwards;
  animation-delay: calc(var(--i) * 90ms);
}

.screen { margin-top: 1.4rem; overflow: hidden; }
.screen figcaption {
  margin: 0;
  padding: 0.55rem 0.9rem;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--muted);
}
.screen ol { list-style: none; margin: 0; padding: 0.4rem 0 0.7rem; }
.screen li {
  display: grid;
  grid-template-columns: 2rem 1fr;
  gap: 0.4rem;
  padding: 0.28rem 0.9rem;
  font-family: var(--mono);
  font-size: 0.86rem;
}
.screen li span { color: var(--muted); transition: color 0.25s ease; }
.screen li { transition: background 0.25s ease; }
.screen li:hover { background: rgba(110, 231, 183, 0.06); }
.screen li:hover span { color: var(--text); }
.screen.arm li { opacity: 0; }
.screen.arm.is-in li {
  opacity: 1;
  transform: none;
  animation: rise 0.4s ease backwards;
  animation-delay: calc(0.35s + var(--i) * 70ms);
}
.caret { color: var(--accent); }

@keyframes orbA {
  from { transform: translate3d(0, 0, 0) scale(1); opacity: 0.7; }
  to { transform: translate3d(10%, 12%, 0) scale(1.18); opacity: 1; }
}
@keyframes orbB {
  from { transform: translate3d(0, 0, 0) scale(1); opacity: 0.55; }
  to { transform: translate3d(-12%, 10%, 0) scale(1.2); opacity: 1; }
}
@keyframes orbC {
  from { transform: translate3d(0, 0, 0) scale(1); opacity: 0.45; }
  to { transform: translate3d(-8%, -14%, 0) scale(1.24); opacity: 0.95; }
}
@keyframes sheenSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@keyframes beamSweep {
  0%, 100% { transform: translateX(-18%) rotate(0.5deg); opacity: 0.35; }
  50% { transform: translateX(18%) rotate(-0.5deg); opacity: 0.85; }
}
@keyframes moteDrift {
  from { background-position: 10% 20%, 70% 30%, 40% 70%; opacity: 0.22; }
  to { background-position: 18% 28%, 62% 38%, 48% 62%; opacity: 0.48; }
}
@keyframes meshDrift {
  from { background-position: 0 0; }
  to { background-position: 64px 64px; }
}
@keyframes floatSoft {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
@keyframes breathShadow {
  0%, 100% {
    box-shadow:
      0 0 0 1px rgba(110, 231, 183, 0.12),
      0 18px 50px rgba(0, 0, 0, 0.45);
  }
  50% {
    box-shadow:
      0 0 0 1px rgba(110, 231, 183, 0.32),
      0 0 28px rgba(110, 231, 183, 0.14),
      0 22px 56px rgba(0, 0, 0, 0.5);
  }
}
@keyframes accentPulse {
  0%, 100% { opacity: 0.72; text-shadow: none; }
  50% { opacity: 1; text-shadow: 0 0 12px rgba(110, 231, 183, 0.45); }
}
@keyframes lineBreath {
  0%, 100% { opacity: 0.55; filter: brightness(0.9); }
  50% { opacity: 1; filter: brightness(1.25); }
}
@keyframes breathGlow {
  0%, 100% { box-shadow: 0 0 0 rgba(110, 231, 183, 0); }
  50% { box-shadow: 0 0 14px rgba(110, 231, 183, 0.4); }
}
@keyframes contactGlow {
  0%, 100% { color: var(--accent); filter: brightness(0.92); }
  50% { color: #9af0cd; filter: brightness(1.15); }
}
@keyframes settle {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}
@keyframes revealIn {
  from { opacity: 0; transform: translateY(22px); filter: blur(4px); }
  to { opacity: 1; transform: none; filter: none; }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}
@keyframes taskIn {
  from { opacity: 0; transform: translateX(-10px); }
  to { opacity: 1; transform: none; }
}
@keyframes draw {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}
@keyframes grow {
  from { transform: scaleY(0); }
  to { transform: scaleY(1); }
}
@keyframes pip {
  0% { border-color: var(--line); box-shadow: none; }
  35% { border-color: var(--accent); box-shadow: 0 0 18px rgba(110, 231, 183, 0.55); }
  100% { border-color: var(--accent); box-shadow: 0 0 0 rgba(110, 231, 183, 0); }
}
@keyframes blink { 50% { opacity: 0; } }
.caret { animation: blink 1.1s step-end infinite; }

/* —— страницы проектов —— */
.case-page,
.case-forums {
  width: min(1120px, calc(100% - 2rem));
}
.case-page > .cf-hero,
.case-forums > .cf-hero {
  padding-bottom: 0.4rem;
}
.case-page h1,
.case-forums h1 {
  font-size: clamp(1.7rem, 3.4vw, 2.45rem);
  max-width: 18ch;
  letter-spacing: -0.02em;
}
.case-page .lede,
.case-forums .lede {
  max-width: 52ch;
  color: #c5d0e0;
}
.case-page.case-chat h1 { max-width: 22ch; }
.case-page.case-listings h1 { max-width: 20ch; }

.cf-metrics {
  list-style: none;
  margin: 1.4rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}
.cf-metrics li {
  position: relative;
  padding: 1rem 1rem 1.05rem;
  border: 1px solid rgba(42, 49, 64, 0.95);
  background:
    linear-gradient(180deg, rgba(110, 231, 183, 0.06), transparent 55%),
    rgba(20, 24, 31, 0.72);
  overflow: hidden;
}
.cf-metrics li::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 2px;
  height: 100%;
  background: linear-gradient(180deg, var(--accent), transparent);
}
.cf-metrics strong {
  display: block;
  font-family: var(--mono);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 0.25rem;
}
.cf-metrics span {
  color: var(--muted);
  font-size: 0.92rem;
}

.cf-block {
  margin-top: 2.6rem;
  padding-top: 0.2rem;
}
.cf-block.arm {
  opacity: 0;
  transform: translateY(14px);
}
.cf-block.arm.is-in {
  opacity: 1;
  transform: none;
  transition: opacity 0.55s ease, transform 0.55s cubic-bezier(.2, .7, .2, 1);
}
.cf-head {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin-bottom: 0.55rem;
}
.cf-head h2 {
  margin: 0;
  font-size: 1.18rem;
  color: var(--text);
  font-family: var(--sans);
  font-weight: 600;
}
.cf-note {
  margin: 0 0 1.1rem;
  max-width: 62ch;
  color: var(--muted);
}

.cf-jobs {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.7rem;
}
.cf-jobs li {
  padding: 1rem 0.95rem 1.05rem;
  border-top: 1px solid rgba(110, 231, 183, 0.35);
  background: rgba(20, 24, 31, 0.55);
  transition: background 0.3s ease, transform 0.3s ease;
}
.cf-jobs li:hover {
  background: rgba(110, 231, 183, 0.06);
  transform: translateY(-2px);
}
.cf-job-i {
  display: block;
  font-family: var(--mono);
  color: var(--accent);
  font-size: 0.78rem;
  margin-bottom: 0.55rem;
}
.cf-jobs strong {
  display: block;
  margin-bottom: 0.35rem;
}
.cf-jobs p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.cf-arch {
  position: relative;
  margin: 0 0 1rem;
  padding: 0.6rem 0.4rem 0.2rem;
  border: 1px solid var(--line);
  background:
    radial-gradient(ellipse at 50% 0%, rgba(110, 231, 183, 0.08), transparent 55%),
    rgba(14, 17, 23, 0.9);
  overflow: hidden;
}
.cf-arch-svg {
  display: block;
  width: 100%;
  height: auto;
}
.cf-node rect {
  fill: rgba(20, 24, 31, 0.92);
  stroke: rgba(110, 231, 183, 0.35);
  stroke-width: 1;
}
.cf-node-core rect {
  fill: rgba(24, 36, 32, 0.95);
  stroke: rgba(110, 231, 183, 0.7);
}
.cf-node text {
  fill: var(--text);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
}
.cf-node .cf-sub {
  fill: var(--muted);
  font-size: 11px;
  font-weight: 400;
  font-family: var(--mono);
}
.cf-arch.arm .cf-node {
  opacity: 0;
}
.cf-arch.arm.is-in .cf-node {
  opacity: 1;
  animation: cfNodeIn 0.55s ease both;
  animation-delay: calc(var(--i, 0) * 0.05s);
}
@keyframes cfNodeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.cf-pulse {
  stroke-dasharray: 12 88;
  stroke-dashoffset: 100;
  opacity: 0;
}
.cf-arch.arm.is-in .cf-pulse {
  opacity: 1;
  animation: cfPulse 2.8s linear infinite;
}
.cf-arch.arm.is-in .cf-pulse:nth-child(1) { animation-delay: 0s; }
.cf-arch.arm.is-in .cf-pulse:nth-child(2) { animation-delay: 0.2s; }
.cf-arch.arm.is-in .cf-pulse:nth-child(3) { animation-delay: 0.4s; }
.cf-arch.arm.is-in .cf-pulse:nth-child(4) { animation-delay: 0.55s; }
.cf-arch.arm.is-in .cf-pulse:nth-child(5) { animation-delay: 0.7s; }
.cf-arch.arm.is-in .cf-pulse:nth-child(6) { animation-delay: 0.85s; }
.cf-arch.arm.is-in .cf-pulse:nth-child(7) { animation-delay: 1.1s; }
.cf-arch.arm.is-in .cf-pulse:nth-child(8) { animation-delay: 1.25s; }
.cf-arch.arm.is-in .cf-pulse:nth-child(9) { animation-delay: 1.4s; }

@keyframes cfPulse {
  to { stroke-dashoffset: -100; }
}

.cf-layers {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}
.cf-layers li {
  padding: 0.95rem 1rem;
  border-left: 2px solid rgba(110, 231, 183, 0.45);
  background: rgba(20, 24, 31, 0.45);
}
.cf-layers strong { display: block; margin-bottom: 0.3rem; }
.cf-layers p { margin: 0; color: var(--muted); font-size: 0.94rem; }

.cf-flow {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.45rem;
  counter-reset: none;
}
.cf-flow-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.cf-goal {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.5;
  max-width: 36ch;
}
.cf-flow li {
  position: relative;
  min-height: 100%;
  padding: 0.85rem 0.7rem 0.95rem;
  border: 1px solid var(--line);
  background: rgba(20, 24, 31, 0.55);
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}
.cf-flow li:hover {
  border-color: rgba(110, 231, 183, 0.45);
  background: rgba(110, 231, 183, 0.05);
  transform: translateY(-2px);
}
.cf-flow li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 1.15rem;
  right: -0.4rem;
  width: 0.35rem;
  height: 1px;
  background: rgba(110, 231, 183, 0.45);
  z-index: 1;
}
.cf-flow .step {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 0.78rem;
}
.cf-flow strong {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.95rem;
}
.cf-flow p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.4;
}

.cf-states {
  display: grid;
  grid-template-columns: 1fr 1fr 1.15fr;
  gap: 0.75rem;
}
.cf-states > div {
  padding: 1rem;
  border: 1px solid var(--line);
  background: rgba(20, 24, 31, 0.55);
}
.cf-states h3 {
  margin: 0 0 0.75rem;
  font-family: var(--mono);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--accent);
}
.cf-states ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}
.cf-states li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--mono);
  font-size: 0.9rem;
  color: #d5deea;
}
.st {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  flex: 0 0 auto;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.03);
}
.st-ok { background: #6ee7b7; }
.st-wait { background: #78aaff; }
.st-mod { background: #e7c56e; }
.st-run {
  background: #6ee7b7;
  animation: blink 1.2s step-end infinite;
}
.st-bad { background: #f07178; }
.st-off { background: #6b7382; }
.cf-state-note {
  display: flex;
  align-items: center;
}
.cf-state-note p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.cf-dash {
  margin: 0;
  border: 1px solid var(--line);
  background: rgba(12, 14, 18, 0.85);
  overflow: hidden;
}
.cf-dash > figcaption {
  margin: 0;
  padding: 0.55rem 0.9rem;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--muted);
}
.cf-dash-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 0;
}
.cf-pane {
  padding: 0.85rem 0.95rem 1rem;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
}
.cf-pane:nth-child(2n) { border-right: 0; }
.cf-pane:nth-child(n+3) { border-bottom: 0; }
.cf-pane header {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.7rem;
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--accent);
}
.cf-dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px rgba(110, 231, 183, 0.8);
  animation: blink 1.4s step-end infinite;
}
.cf-stat-row {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.45rem;
}
.cf-stat-row li {
  padding: 0.55rem 0.5rem;
  background: rgba(110, 231, 183, 0.04);
  border: 1px solid rgba(42, 49, 64, 0.9);
}
.cf-stat-row b {
  display: block;
  font-family: var(--mono);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 0.15rem;
}
.cf-stat-row span {
  color: var(--muted);
  font-size: 0.78rem;
}

.cf-chart {
  display: block;
  width: 100%;
  height: 150px;
}
.cf-chart-area {
  fill: rgba(110, 231, 183, 0.1);
  opacity: 0;
}
.cf-chart-line {
  fill: none;
  stroke: #6ee7b7;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
}
.cf-dash.arm.is-in .cf-chart-line {
  animation: cfDraw 1.4s ease forwards 0.15s;
}
.cf-dash.arm.is-in .cf-chart-area {
  animation: fadeIn 0.8s ease forwards 0.7s;
}
.cf-bars rect {
  transform-box: fill-box;
  transform-origin: bottom;
  transform: scaleY(0);
}
.cf-dash.arm.is-in .cf-bars rect {
  animation: cfBar 0.7s cubic-bezier(.2, .7, .2, 1) forwards;
}
.cf-dash.arm.is-in .cf-bars rect:nth-child(1) { animation-delay: 0.05s; }
.cf-dash.arm.is-in .cf-bars rect:nth-child(2) { animation-delay: 0.1s; }
.cf-dash.arm.is-in .cf-bars rect:nth-child(3) { animation-delay: 0.15s; }
.cf-dash.arm.is-in .cf-bars rect:nth-child(4) { animation-delay: 0.2s; }
.cf-dash.arm.is-in .cf-bars rect:nth-child(5) { animation-delay: 0.25s; }
.cf-dash.arm.is-in .cf-bars rect:nth-child(6) { animation-delay: 0.3s; }
.cf-dash.arm.is-in .cf-bars rect:nth-child(7) { animation-delay: 0.35s; }
.cf-dash.arm.is-in .cf-bars rect:nth-child(8) { animation-delay: 0.4s; }
.cf-dash.arm.is-in .cf-bars rect:nth-child(9) { animation-delay: 0.45s; }
.cf-dash.arm.is-in .cf-bars rect:nth-child(10) { animation-delay: 0.5s; }
.cf-dash.arm.is-in .cf-bars rect:nth-child(11) { animation-delay: 0.55s; }
.cf-dash.arm.is-in .cf-bars rect:nth-child(12) { animation-delay: 0.6s; }

@keyframes cfDraw {
  to { stroke-dashoffset: 0; }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes fadeSlide {
  to { opacity: 1; transform: translateX(0); }
}
@keyframes cfBar {
  to { transform: scaleY(1); }
}

.cf-pane-feed ol {
  list-style: none;
  margin: 0;
  padding: 0;
}
.cf-pane-feed li {
  display: grid;
  grid-template-columns: 2rem 1fr;
  gap: 0.55rem;
  padding: 0.45rem 0.35rem;
  border-bottom: 1px solid rgba(42, 49, 64, 0.7);
  font-size: 0.92rem;
}
.cf-pane-feed li span:first-child {
  font-family: var(--mono);
  color: var(--muted);
}
.cf-pane-feed li.is-live {
  background: rgba(110, 231, 183, 0.06);
}
.cf-pane-feed li.is-live span:last-child { color: var(--accent); }
.cf-dash.arm .cf-pane-feed li {
  opacity: 0;
  transform: translateX(-6px);
}
.cf-dash.arm.is-in .cf-pane-feed li {
  animation: settle 0.45s cubic-bezier(.2, .7, .2, 1) forwards;
  animation-delay: calc(0.08s * var(--i) + 0.2s);
}

.cf-bars-h {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}
.cf-bars-h li {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: 0.55rem;
  align-items: center;
  font-size: 0.86rem;
  color: var(--muted);
  --target: var(--p, 50%);
}
.cf-bars-h i {
  display: block;
  height: 0.45rem;
  width: 0;
  background: linear-gradient(90deg, rgba(110, 231, 183, 0.85), rgba(120, 170, 255, 0.55));
  box-shadow: 0 0 12px rgba(110, 231, 183, 0.25);
}
.cf-dash.arm.is-in .cf-bars-h i {
  animation: cfGrowX 0.9s cubic-bezier(.2, .7, .2, 1) forwards;
  animation-delay: calc(0.12s * var(--i, 0) + 0.25s);
}
.cf-bars-h li:nth-child(1) { --i: 0; }
.cf-bars-h li:nth-child(2) { --i: 1; }
.cf-bars-h li:nth-child(3) { --i: 2; }
.cf-bars-h li:nth-child(4) { --i: 3; }
.cf-bars-h li:nth-child(5) { --i: 4; }
.cf-bars-h li:nth-child(6) { --i: 5; }

@keyframes cfGrowX {
  to { width: var(--target); }
}

.cf-end {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}
.cf-end li {
  padding: 1.1rem 1rem;
  border: 1px solid var(--line);
  background:
    linear-gradient(160deg, rgba(110, 231, 183, 0.07), transparent 45%),
    rgba(20, 24, 31, 0.6);
}
.cf-end strong {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 1.02rem;
}
.cf-end p {
  margin: 0;
  color: var(--muted);
}

/* —— профили: сборка карточки —— */
.px-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 1.6rem;
  align-items: stretch;
  margin-bottom: 0.4rem;
}
.px-aim {
  margin: 1rem 0 0;
  max-width: 44ch;
  padding: 0.7rem 0.85rem;
  border-left: 2px solid var(--accent);
  color: var(--accent);
  font-family: var(--mono);
  font-size: 0.9rem;
  line-height: 1.45;
  background: rgba(110, 231, 183, 0.05);
}
.px-card {
  border: 1px solid rgba(110, 231, 183, 0.28);
  background:
    radial-gradient(ellipse at 20% 0%, rgba(110, 231, 183, 0.12), transparent 55%),
    rgba(14, 17, 23, 0.92);
  padding: 1rem 1.05rem 1.1rem;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.px-card-cap {
  margin: 0 0 0.85rem;
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--muted);
}
.px-card-body {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 0.9rem;
  align-items: start;
}
.px-avatar {
  width: 72px;
  height: 72px;
  border-radius: 4px;
  background:
    linear-gradient(145deg, rgba(110, 231, 183, 0.35), rgba(120, 170, 255, 0.12));
  box-shadow: inset 0 0 0 1px rgba(110, 231, 183, 0.35);
  animation: floatSoft 5.5s ease-in-out infinite;
}
.px-fields { display: grid; gap: 0.45rem; }
.px-field {
  display: grid;
  grid-template-columns: 6.5rem 1fr;
  gap: 0.5rem;
  align-items: center;
  font-family: var(--mono);
  font-size: 0.82rem;
  color: var(--muted);
}
.px-field i {
  display: block;
  height: 0.4rem;
  width: 0;
  background: linear-gradient(90deg, rgba(110, 231, 183, 0.9), rgba(120, 170, 255, 0.45));
}
.px-card.arm.is-in .px-field i {
  animation: cfGrowX 0.8s cubic-bezier(.2, .7, .2, 1) forwards;
  animation-delay: calc(0.12s * var(--i) + 0.2s);
}
.px-field.is-on { --p: 100%; }
.px-field.is-on i { --target: 100%; }
.px-field.is-live {
  color: var(--accent);
  --p: 100%;
}
.px-field.is-live i {
  --target: 100%;
  box-shadow: 0 0 12px rgba(110, 231, 183, 0.45);
}
.px-card-link {
  margin: 0.9rem 0 0;
  padding-top: 0.75rem;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 0.86rem;
  color: var(--accent);
}

.px-compare { margin-top: 2.4rem; }
.px-compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}
.px-compare-grid article {
  padding: 1.15rem 1.1rem 1.2rem;
  border: 1px solid var(--line);
  background: rgba(20, 24, 31, 0.5);
  min-width: 0;
}
.px-compare-grid article.is-sys {
  border-color: rgba(110, 231, 183, 0.4);
  background:
    linear-gradient(160deg, rgba(110, 231, 183, 0.08), transparent 50%),
    rgba(20, 24, 31, 0.55);
}
.px-compare-grid h3 {
  margin: 0 0 0.75rem;
  font-size: 1rem;
}
.px-compare-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}
.px-compare-grid li {
  position: relative;
  padding-left: 0.9rem;
  color: var(--muted);
  font-size: 0.95rem;
}
.px-compare-grid li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.35rem;
  height: 0.35rem;
  background: var(--line);
}
.px-compare-grid .is-sys li::before { background: var(--accent); }

.px-rail { margin-top: 2.4rem; }
.px-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}
.px-steps li {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  min-width: 0;
  padding: 1rem 1rem 1.05rem;
  border: 1px solid var(--line);
  background: rgba(20, 24, 31, 0.55);
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}
.px-steps li:hover {
  border-color: rgba(110, 231, 183, 0.4);
  background: rgba(110, 231, 183, 0.05);
  transform: translateY(-2px);
}
.px-steps li > span {
  flex: 0 0 auto;
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--accent);
  border: 1px solid rgba(110, 231, 183, 0.45);
  background: rgba(12, 14, 18, 0.9);
}
.px-steps li > div {
  min-width: 0;
  flex: 1 1 auto;
}
.px-steps strong { display: block; margin-bottom: 0.25rem; }
.px-steps p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.45;
}

.px-mail { margin-top: 2.4rem; }
.px-mail-inner {
  padding: 1.3rem 1.2rem 1.4rem;
  border: 1px solid rgba(110, 231, 183, 0.35);
  background:
    linear-gradient(120deg, rgba(110, 231, 183, 0.08), transparent 40%),
    rgba(14, 17, 23, 0.9);
}
.px-mail-inner h2 {
  margin: 0.2rem 0 0.65rem;
  font-family: var(--sans);
  font-size: 1.2rem;
  color: var(--text);
  font-weight: 600;
}
.px-mail-inner > p { margin: 0 0 1rem; max-width: 62ch; color: var(--muted); }
.px-mail-flow {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.1rem;
}
.px-mail-flow li {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--mono);
  font-size: 0.86rem;
}

.px-finish { margin-top: 2.4rem; }
.px-finish-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1rem;
  align-items: stretch;
  margin-bottom: 1rem;
}
.px-finish-grid > p { margin: 0; color: var(--muted); max-width: 48ch; }
.px-finish-mark {
  margin: 0;
  padding: 1rem;
  border: 1px solid var(--line);
  background: rgba(20, 24, 31, 0.65);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.55rem;
}
.px-finish-mark figcaption {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--muted);
}
.px-finish-mark p {
  margin: 0;
  font-family: var(--mono);
  color: var(--accent);
  font-size: 1.02rem;
}
.px-ends {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
}
.px-ends li {
  padding: 1rem 0.95rem;
  border-top: 2px solid rgba(110, 231, 183, 0.45);
  background: rgba(20, 24, 31, 0.45);
}
.px-ends strong { display: block; margin-bottom: 0.35rem; }
.px-ends p { margin: 0; color: var(--muted); font-size: 0.94rem; }

/* —— чат: рабочее окно —— */
.cx-hero { margin-bottom: 1.2rem; }
.cx-desk { margin-top: 0.4rem; }
.cx-window {
  border: 1px solid var(--line);
  background: rgba(10, 12, 16, 0.95);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}
.cx-titlebar {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.55rem 0.85rem;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--muted);
}
.cx-dots { display: flex; gap: 0.3rem; margin-right: 0.2rem; }
.cx-dots i {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: #3a4252;
}
.cx-dots i:first-child { background: #f07178; }
.cx-dots i:nth-child(2) { background: #e7c56e; }
.cx-dots i:nth-child(3) { background: #6ee7b7; }
.cx-panes {
  display: grid;
  grid-template-columns: 0.85fr 1.1fr 0.95fr;
  min-height: 280px;
}
.cx-panes > * {
  padding: 0.9rem;
  border-right: 1px solid var(--line);
}
.cx-panes > *:last-child { border-right: 0; }
.cx-panes h2 {
  margin: 0 0 0.7rem;
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--accent);
}
.cx-queue ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
}
.cx-queue li {
  display: grid;
  grid-template-columns: 1.6rem 1fr;
  gap: 0.4rem;
  padding: 0.4rem 0.35rem;
  font-size: 0.88rem;
  color: var(--muted);
  border: 1px solid transparent;
}
.cx-queue li.is-on {
  border-color: rgba(110, 231, 183, 0.35);
  background: rgba(110, 231, 183, 0.07);
  color: var(--text);
}
.cx-queue li span:first-child {
  font-family: var(--mono);
  color: var(--accent);
  font-size: 0.75rem;
}
.cx-bubbles { display: grid; gap: 0.55rem; margin-bottom: 0.75rem; }
.cx-bubbles p { margin: 0; display: grid; gap: 0.25rem; }
.cx-bubbles span {
  display: block;
  height: 0.55rem;
  border-radius: 999px;
  background: rgba(147, 160, 178, 0.22);
}
.cx-bubbles .in span { width: 72%; }
.cx-bubbles .in span:nth-child(2) { width: 54%; }
.cx-bubbles .in span:nth-child(3) { width: 63%; }
.cx-bubbles .out { justify-items: end; }
.cx-bubbles .out span {
  width: 58%;
  background: rgba(110, 231, 183, 0.28);
}
.cx-thread-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
}
.cx-mode {
  margin: 0 0 0.7rem;
  font-family: var(--mono);
  font-size: 0.82rem;
  color: var(--accent);
}
.cx-draft-lines { display: grid; gap: 0.4rem; margin-bottom: 1rem; }
.cx-draft-lines span {
  display: block;
  height: 0.5rem;
  width: var(--w);
  background: linear-gradient(90deg, rgba(110, 231, 183, 0.35), rgba(110, 231, 183, 0.08));
}
.cx-desk.arm.is-in .cx-draft-lines span {
  animation: settle 0.55s ease backwards;
}
.cx-desk.arm.is-in .cx-draft-lines span:nth-child(1) { animation-delay: 0.15s; }
.cx-desk.arm.is-in .cx-draft-lines span:nth-child(2) { animation-delay: 0.25s; }
.cx-desk.arm.is-in .cx-draft-lines span:nth-child(3) { animation-delay: 0.35s; }
.cx-return {
  margin: 0;
  padding: 0.55rem 0.6rem;
  border: 1px solid rgba(110, 231, 183, 0.35);
  font-family: var(--mono);
  font-size: 0.84rem;
  color: var(--accent);
}
.cx-return.is-live {
  background: rgba(110, 231, 183, 0.07);
  animation: blink 1.4s step-end infinite;
}
.cx-cap {
  margin: 0.55rem 0 0;
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--muted);
}

.cx-why { margin-top: 2.4rem; }
.cx-why-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}
.cx-why-grid article {
  padding: 1rem;
  border-left: 2px solid rgba(110, 231, 183, 0.4);
  background: rgba(20, 24, 31, 0.45);
}
.cx-why-grid strong { display: block; margin-bottom: 0.3rem; }
.cx-why-grid p { margin: 0; color: var(--muted); }

.cx-loop { margin-top: 2.4rem; }
.cx-loop-ring {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.55rem;
}
.cx-loop-ring li {
  position: relative;
  padding: 1rem 0.85rem;
  border: 1px solid var(--line);
  background: rgba(20, 24, 31, 0.55);
  min-height: 100%;
}
.cx-loop-ring li:not(:last-child)::after {
  content: "→";
  position: absolute;
  right: -0.55rem;
  top: 1rem;
  color: var(--accent);
  font-family: var(--mono);
  z-index: 1;
  background: var(--bg);
  padding: 0 0.1rem;
}
.cx-loop-ring strong { display: block; margin-bottom: 0.3rem; font-size: 0.95rem; }
.cx-loop-ring p { margin: 0; color: var(--muted); font-size: 0.88rem; }

.cx-modes { margin-top: 2.4rem; }
.cx-mode-rail {
  list-style: none;
  margin: 0 0 0.85rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.cx-mode-rail li {
  padding: 0.45rem 0.75rem;
  border: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 0.84rem;
  color: var(--muted);
}
.cx-mode-rail li.is-on {
  border-color: rgba(110, 231, 183, 0.55);
  color: var(--accent);
  background: rgba(110, 231, 183, 0.08);
  box-shadow: 0 0 18px rgba(110, 231, 183, 0.12);
}
.cx-modes-note { margin: 0; color: var(--muted); }

.cx-ends { margin-top: 2.4rem; }
.cx-ends-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}
.cx-ends-grid article {
  padding: 1.1rem 1rem;
  background: rgba(20, 24, 31, 0.55);
  border-bottom: 2px solid rgba(110, 231, 183, 0.4);
}
.cx-ends-grid strong { display: block; margin-bottom: 0.35rem; }
.cx-ends-grid p { margin: 0; color: var(--muted); }

/* —— объявления: лента / карточка / цена —— */
.lx-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.95fr);
  gap: 1.4rem;
  align-items: start;
  margin-bottom: 0.4rem;
}
.lx-hero-tags {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.lx-hero-tags li {
  padding: 0.3rem 0.6rem;
  border: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--muted);
}

.lx-feed {
  border: 1px solid var(--line);
  background: rgba(12, 14, 18, 0.92);
  padding: 0.75rem;
}
.lx-feed > header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.65rem;
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--accent);
}
.lx-feed-live {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--muted);
}
.lx-ad {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 0.7rem;
  padding: 0.55rem;
  margin-bottom: 0.45rem;
  border: 1px solid rgba(42, 49, 64, 0.9);
  background: rgba(20, 24, 31, 0.7);
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.lx-ad:hover { border-color: rgba(110, 231, 183, 0.35); }
.lx-ad.is-boost {
  opacity: 0.55;
  border-style: dashed;
  border-color: rgba(240, 113, 120, 0.4);
}
.lx-ad.is-new { border-color: rgba(110, 231, 183, 0.35); }
.lx-ad-media {
  width: 64px;
  height: 64px;
  background:
    linear-gradient(145deg, rgba(110, 231, 183, 0.18), rgba(42, 49, 64, 0.8));
  border: 1px solid rgba(110, 231, 183, 0.15);
}
.lx-ad.is-boost .lx-ad-media {
  background: linear-gradient(145deg, rgba(240, 113, 120, 0.18), rgba(42, 49, 64, 0.8));
}
.lx-ad-title {
  margin: 0 0 0.15rem;
  font-size: 0.92rem;
  font-weight: 500;
}
.lx-ad-meta {
  margin: 0 0 0.4rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--muted);
}
.lx-ad-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}
.lx-price-tag {
  font-family: var(--mono);
  font-size: 0.86rem;
  color: var(--accent);
  font-weight: 500;
}
.lx-price-tag.muted { color: var(--muted); }
.lx-badge {
  display: inline-block;
  padding: 0.15rem 0.45rem;
  font-family: var(--mono);
  font-size: 0.68rem;
  border: 1px solid var(--line);
  color: var(--muted);
}
.lx-badge.new {
  border-color: rgba(110, 231, 183, 0.5);
  color: var(--accent);
  background: rgba(110, 231, 183, 0.08);
}
.lx-badge.seen {
  border-color: rgba(120, 170, 255, 0.45);
  color: #78aaff;
}
.lx-badge.hist {
  border-color: rgba(231, 197, 110, 0.45);
  color: #e7c56e;
}
.lx-badge.gone,
.lx-badge.boost {
  border-color: rgba(240, 113, 120, 0.45);
  color: #f07178;
}
.lx-feed-cap {
  margin: 0.45rem 0 0;
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--muted);
}

.lx-filters { margin-top: 2.3rem; }
.lx-filter-bar {
  display: grid;
  gap: 0.75rem;
  padding: 0.95rem 1rem;
  border: 1px solid var(--line);
  background: rgba(20, 24, 31, 0.55);
}
.lx-filter-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 0.75rem;
}
.lx-filter-group > span {
  min-width: 5.5rem;
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--muted);
  text-transform: lowercase;
}
.lx-chips {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.lx-chips li {
  padding: 0.4rem 0.75rem;
  border: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 0.82rem;
  color: var(--muted);
  background: rgba(12, 14, 18, 0.55);
}
.lx-chips li.is-on {
  border-color: rgba(110, 231, 183, 0.4);
  color: var(--text);
  background: rgba(110, 231, 183, 0.08);
}
.lx-chips li.is-off {
  border-style: dashed;
  border-color: rgba(240, 113, 120, 0.5);
  color: #f07178;
  background: rgba(240, 113, 120, 0.05);
}

.lx-anatomy { margin-top: 2.4rem; }
.lx-anatomy-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 0.9rem;
  align-items: stretch;
}
.lx-card-big {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 0;
  border: 1px solid rgba(110, 231, 183, 0.3);
  background: rgba(14, 17, 23, 0.95);
  overflow: hidden;
}
.lx-card-big-media {
  min-height: 100%;
  display: grid;
  place-items: center;
  padding: 0.75rem;
  text-align: center;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--muted);
  background:
    linear-gradient(160deg, rgba(110, 231, 183, 0.14), transparent 55%),
    repeating-linear-gradient(
      -45deg,
      rgba(42, 49, 64, 0.35) 0 6px,
      transparent 6px 12px
    );
  border-right: 1px solid var(--line);
}
.lx-card-big-body { padding: 0.95rem 1rem 1.05rem; }
.lx-id {
  margin: 0 0 0.35rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--accent);
}
.lx-card-big-body h3 {
  margin: 0 0 0.75rem;
  font-size: 1.05rem;
  font-weight: 600;
}
.lx-specs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.45rem;
  margin: 0 0 0.85rem;
}
.lx-specs div {
  padding: 0.45rem 0.5rem;
  border: 1px solid var(--line);
  background: rgba(20, 24, 31, 0.7);
}
.lx-specs dt {
  font-family: var(--mono);
  font-size: 0.68rem;
  color: var(--accent);
  margin-bottom: 0.15rem;
}
.lx-specs dd {
  margin: 0;
  font-size: 0.86rem;
  color: var(--muted);
}
.lx-card-price-block {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  padding: 0.55rem 0.65rem;
  border: 1px solid rgba(110, 231, 183, 0.25);
  background: rgba(110, 231, 183, 0.05);
}
.lx-card-price-block span {
  display: block;
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--muted);
  margin-bottom: 0.15rem;
}
.lx-card-price-block strong {
  font-family: var(--mono);
  font-size: 0.95rem;
  color: var(--accent);
  font-weight: 500;
}
.lx-mini-chart {
  width: 120px;
  height: 28px;
  flex: 0 0 auto;
}
.lx-hole {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
}
.lx-ana-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}
.lx-ana-points li {
  padding: 0.95rem 1rem;
  border-left: 2px solid rgba(110, 231, 183, 0.45);
  background: rgba(20, 24, 31, 0.5);
}
.lx-ana-points strong { display: block; margin-bottom: 0.3rem; }
.lx-ana-points p { margin: 0; color: var(--muted); font-size: 0.94rem; }

.lx-pipe { margin-top: 2.4rem; }
.lx-stages {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
}
.lx-stages li {
  min-width: 0;
  padding: 1rem 0.9rem 1.05rem;
  border: 1px solid var(--line);
  background: rgba(20, 24, 31, 0.52);
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.lx-stages li:hover {
  border-color: rgba(110, 231, 183, 0.4);
  transform: translateY(-2px);
}
.lx-stage-n {
  display: block;
  margin-bottom: 0.5rem;
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--accent);
}
.lx-stages strong { display: block; margin-bottom: 0.3rem; }
.lx-stages p { margin: 0; color: var(--muted); font-size: 0.9rem; line-height: 1.4; }

.lx-priceboard { margin-top: 2.4rem; }
.lx-price-panel {
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(110, 231, 183, 0.07), transparent 38%),
    rgba(12, 14, 18, 0.94);
  overflow: hidden;
}
.lx-price-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.7rem 1rem;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--accent);
}
.lx-price-live {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--muted);
}
.lx-price-body {
  display: grid;
  grid-template-columns: minmax(12rem, 0.78fr) minmax(0, 1.45fr);
  gap: 0;
}
.lx-price-events {
  list-style: none;
  margin: 0;
  padding: 0.95rem 1rem 1.1rem;
  border-right: 1px solid var(--line);
  display: grid;
  gap: 0.85rem;
  align-content: start;
}
.lx-price-events li {
  display: grid;
  grid-template-columns: 2rem 1fr;
  gap: 0.65rem;
  align-items: start;
  opacity: 0;
  transform: translateX(-8px);
}
.lx-priceboard.arm.is-in .lx-price-events li {
  animation: fadeSlide 0.55s ease forwards;
  animation-delay: calc(0.12s + var(--i, 0) * 0.1s);
}
.lx-price-step {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--muted);
  padding-top: 0.15rem;
}
.lx-price-events strong {
  display: block;
  margin: 0 0 0.2rem;
  font-size: 0.95rem;
  font-weight: 600;
}
.lx-price-events p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.35;
}
.lx-price-events .is-ok strong { color: #6ee7b7; }
.lx-price-events .is-chg strong { color: #78aaff; }
.lx-price-events .is-off strong { color: #9aa3b2; }
.lx-price-plot {
  margin: 0;
  padding: 0.85rem 1rem 0.95rem;
  display: grid;
  grid-template-columns: 4.2rem 1fr;
  grid-template-rows: 1fr auto;
  gap: 0.35rem 0.55rem;
  min-height: 14.5rem;
}
.lx-price-y {
  grid-row: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0.15rem 0 0.35rem;
  font-family: var(--mono);
  font-size: 0.68rem;
  color: var(--muted);
  text-align: right;
  line-height: 1.2;
}
.lx-price-canvas {
  position: relative;
  grid-column: 2;
  grid-row: 1;
  min-height: 11.5rem;
  border: 1px solid rgba(147, 160, 178, 0.12);
  background:
    linear-gradient(180deg, rgba(110, 231, 183, 0.04), transparent 55%),
    rgba(8, 10, 14, 0.55);
}
.lx-chart {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 11.5rem;
}
.lx-chart-area {
  fill: rgba(110, 231, 183, 0.14);
  opacity: 0;
}
.lx-chart-line {
  fill: none;
  stroke: #6ee7b7;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
}
.lx-priceboard.arm.is-in .lx-chart-line {
  animation: cfDraw 1.35s ease forwards 0.2s;
}
.lx-priceboard.arm.is-in .lx-chart-area {
  animation: fadeIn 0.75s ease forwards 0.75s;
}
.lx-chart-dots circle {
  stroke-width: 2;
  stroke: rgba(8, 10, 14, 0.9);
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  transform: scale(0.4);
}
.lx-chart-dots .ok { fill: #6ee7b7; }
.lx-chart-dots .chg { fill: #78aaff; }
.lx-chart-dots .off { fill: #8b93a3; }
.lx-priceboard.arm.is-in .lx-chart-dots circle {
  animation: lxDotIn 0.45s cubic-bezier(.2, .8, .2, 1) forwards;
}
.lx-priceboard.arm.is-in .lx-chart-dots circle:nth-child(1) { animation-delay: 0.55s; }
.lx-priceboard.arm.is-in .lx-chart-dots circle:nth-child(2) { animation-delay: 0.85s; }
.lx-priceboard.arm.is-in .lx-chart-dots circle:nth-child(3) { animation-delay: 1s; }
.lx-priceboard.arm.is-in .lx-chart-dots circle:nth-child(4) { animation-delay: 1.2s; }
@keyframes lxDotIn {
  to { opacity: 1; transform: scale(1); }
}
.lx-price-marks {
  list-style: none;
  margin: 0;
  padding: 0;
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.lx-price-marks li {
  position: absolute;
  left: var(--x);
  top: var(--y);
  transform: translate(0.55rem, -1.05rem);
  max-width: 7.5rem;
  padding: 0.18rem 0.4rem;
  border: 1px solid rgba(147, 160, 178, 0.22);
  background: rgba(10, 12, 16, 0.88);
  font-family: var(--mono);
  font-size: 0.68rem;
  line-height: 1.2;
  color: var(--text);
  opacity: 0;
}
.lx-price-marks .ok { border-color: rgba(110, 231, 183, 0.35); color: #6ee7b7; }
.lx-price-marks .chg { border-color: rgba(120, 170, 255, 0.35); color: #9ec0ff; }
.lx-price-marks .off { border-color: rgba(139, 147, 163, 0.4); color: #b0b7c4; }
.lx-priceboard.arm.is-in .lx-price-marks li {
  animation: fadeIn 0.45s ease forwards;
}
.lx-priceboard.arm.is-in .lx-price-marks li:nth-child(1) { animation-delay: 0.7s; }
.lx-priceboard.arm.is-in .lx-price-marks li:nth-child(2) { animation-delay: 1s; }
.lx-priceboard.arm.is-in .lx-price-marks li:nth-child(3) { animation-delay: 1.25s; }
.lx-price-x {
  list-style: none;
  margin: 0;
  padding: 0.15rem 0 0;
  grid-column: 2;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0.35rem;
  font-family: var(--mono);
  font-size: 0.68rem;
  color: var(--muted);
}
.lx-price-x li:nth-child(2) { text-align: center; }
.lx-price-x li:nth-child(3) { text-align: right; }

@media (max-width: 820px) {
  .lx-price-body { grid-template-columns: 1fr; }
  .lx-price-events { border-right: 0; border-bottom: 1px solid var(--line); }
  .lx-price-plot {
    min-height: 13rem;
    grid-template-columns: 3.4rem 1fr;
  }
  .lx-price-marks { display: none; }
}

.lx-split { margin-top: 2.4rem; }
.lx-split-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 0.8rem;
}
.lx-main, .lx-side {
  padding: 1.15rem 1.05rem;
  border: 1px solid var(--line);
  background: rgba(20, 24, 31, 0.55);
}
.lx-main { border-color: rgba(110, 231, 183, 0.35); }
.lx-main h3, .lx-side h3 {
  margin: 0 0 0.55rem;
  font-size: 1.05rem;
}
.lx-main > p, .lx-side > p { margin: 0 0 0.85rem; color: var(--muted); }
.lx-status-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.lx-side {
  background:
    linear-gradient(180deg, rgba(120, 170, 255, 0.06), transparent 50%),
    rgba(20, 24, 31, 0.45);
}
.lx-side-tag {
  display: inline-block;
  margin: 0 0 0.55rem !important;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: #78aaff;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.lx-side-note { margin: 0 !important; font-size: 0.9rem; }

.lx-tg { margin-top: 2.4rem; }
.lx-tg-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 1rem;
  align-items: start;
}
.lx-phone {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 0.85rem 0.8rem 1rem;
  background: rgba(10, 12, 16, 0.95);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}
.lx-phone header {
  margin: 0 0 0.75rem;
  text-align: center;
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--accent);
}
.lx-tg-msg {
  padding: 0.65rem 0.7rem;
  margin-bottom: 0.45rem;
  border-radius: 12px;
  background: rgba(42, 49, 64, 0.45);
}
.lx-tg-msg.is-card {
  border: 1px solid rgba(110, 231, 183, 0.25);
  background: rgba(110, 231, 183, 0.07);
}
.lx-tg-msg.is-live {
  background: rgba(110, 231, 183, 0.12);
  color: var(--accent);
  font-family: var(--mono);
  font-size: 0.84rem;
}
.lx-tg-label {
  margin: 0 0 0.2rem;
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--accent);
}
.lx-tg-msg > p { margin: 0 0 0.35rem; font-size: 0.9rem; color: var(--text); }
.lx-tg-msg.is-live > p { margin: 0; color: var(--accent); }
.lx-phone > p {
  margin: 0.55rem 0 0;
  text-align: center;
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--muted);
}
.lx-tg-copy > p {
  margin: 0 0 1rem;
  color: var(--muted);
  max-width: 48ch;
}
.lx-ends {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}
.lx-ends li {
  padding: 0.85rem 0 0.85rem 0.85rem;
  border-left: 2px solid rgba(110, 231, 183, 0.4);
}
.lx-ends strong { display: block; margin-bottom: 0.25rem; }
.lx-ends p { margin: 0; color: var(--muted); font-size: 0.94rem; }

@media (max-width: 980px) {
  .cf-jobs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cf-flow,
  .cf-flow-6 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cf-flow li:not(:last-child)::after { display: none; }
  .cf-layers, .cf-end { grid-template-columns: 1fr; }
  .cf-states { grid-template-columns: 1fr; }
  .cf-dash-grid { grid-template-columns: 1fr; }
  .cf-pane { border-right: 0; }
  .cf-pane:nth-child(n+3) { border-bottom: 1px solid var(--line); }
  .cf-pane:last-child { border-bottom: 0; }
  .px-hero,
  .px-compare-grid,
  .px-finish-grid,
  .px-ends,
  .px-steps,
  .cx-panes,
  .cx-why-grid,
  .cx-loop-ring,
  .cx-ends-grid,
  .lx-hero,
  .lx-anatomy-grid,
  .lx-card-big,
  .lx-stages,
  .lx-split-grid,
  .lx-tg-grid { grid-template-columns: 1fr; }
  .lx-card-big-media { min-height: 110px; border-right: 0; border-bottom: 1px solid var(--line); }
  .lx-specs { grid-template-columns: 1fr; }
  .cx-panes > * { border-right: 0; border-bottom: 1px solid var(--line); }
  .cx-panes > *:last-child { border-bottom: 0; }
  .cx-loop-ring li:not(:last-child)::after { display: none; }
  .case-page h1 { max-width: none; }
  .case-page .lede { max-width: none; }
}

@media (max-width: 720px) {
  .top {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto auto;
    align-items: center;
    gap: 0;
    padding: 0.15rem max(0.85rem, env(safe-area-inset-right)) 0 max(0.85rem, env(safe-area-inset-left));
  }
  .brand {
    grid-column: 1;
    grid-row: 1;
    font-size: 0.84rem;
    padding: 0.55rem 0 0.35rem;
    letter-spacing: -0.01em;
  }
  .lang {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
    padding-top: 0.2rem;
  }
  .tabs {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    border-top: 1px solid rgba(42, 49, 64, 0.65);
    gap: 0.15rem;
  }
  .tabs > a,
  .nav-drop-btn {
    font-size: 0.78rem;
    padding: 0.62rem 0.55rem 0.55rem;
    min-height: 2.5rem;
  }
  .tabs > a::after,
  .nav-drop-btn::after {
    left: 0.55rem;
    right: 0.55rem;
  }
  .nav-drop-btn::before {
    margin-right: 0.35rem;
  }
  .lang button {
    font-size: 0.74rem;
    padding: 0.32rem 0.5rem;
    min-height: 2.1rem;
    min-width: 2.35rem;
  }
  .nav-menu {
    left: max(0.85rem, env(safe-area-inset-left)) !important;
    right: max(0.85rem, env(safe-area-inset-right));
    width: auto;
    min-width: 0;
    max-width: none;
  }

  .wrap {
    width: min(980px, calc(100% - 1.35rem));
    padding: 1.15rem 0 max(3.4rem, env(safe-area-inset-bottom));
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 1.15rem;
  }
  .portrait {
    width: 100%;
    max-width: none;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: 50% 12%;
    margin: 0;
    animation:
      settle 0.9s cubic-bezier(.2, .7, .2, 1) backwards,
      breathShadow 5.5s ease-in-out 1s infinite;
  }
  .portrait:hover {
    transform: none;
    animation-play-state: running;
  }
  .hero > div {
    display: grid;
    gap: 0.15rem;
  }
  .kicker {
    font-size: 0.78rem;
    letter-spacing: 0.04em;
  }
  h1 {
    margin: 0.15rem 0 0.55rem;
    font-size: clamp(1.9rem, 9.2vw, 2.45rem);
    line-height: 1.02;
  }
  .lede {
    margin: 0 0 0.7rem;
    font-size: 1.02rem;
    line-height: 1.45;
  }
  .tasks li {
    padding: 0.38rem 0 0.38rem 1rem;
    font-size: 0.96rem;
    line-height: 1.4;
  }
  .mode, .en {
    margin: 0.45rem 0 0;
    font-size: 0.92rem;
    line-height: 1.4;
  }
  .contacts {
    margin-top: 0.35rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.55rem;
  }
  .contacts li a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 2.55rem;
    padding: 0.55rem 0.65rem;
    text-align: center;
    border: 1px solid rgba(110, 231, 183, 0.28);
    background: rgba(110, 231, 183, 0.06);
    background-image: none;
    font-size: 0.78rem;
    line-height: 1.2;
    color: var(--accent);
  }
  .contacts li a:hover,
  .contacts li a:focus-visible {
    background: rgba(110, 231, 183, 0.14);
    background-size: auto;
    color: #f4fff9;
  }
  .contacts li:nth-child(3) {
    grid-column: 1 / -1;
  }
  .contacts li:nth-child(3) a {
    word-break: break-all;
  }

  .can, .cases { grid-template-columns: 1fr; }
  .tools div { grid-template-columns: 6.4rem 1fr; gap: 0.65rem; }
  .tools strong { font-size: 0.9rem; }
  .approach li { gap: 0.7rem; padding-bottom: 1.05rem; }
  .approach p { font-size: 0.98rem; line-height: 1.4; }
  h2 { margin: 1.7rem 0 0.75rem; }

  .cf-metrics { grid-template-columns: 1fr; }
  .cf-jobs { grid-template-columns: 1fr; }
  .cf-flow { grid-template-columns: 1fr; }
  .cf-stat-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cf-bars-h li { grid-template-columns: 5.5rem 1fr; }

  .case-page .cf-hero,
  .px-hero,
  .lx-hero {
    gap: 1.05rem;
  }
  .case-page h1 {
    font-size: clamp(1.45rem, 7vw, 1.9rem);
    line-height: 1.1;
  }
  .case-page .lede {
    font-size: 0.98rem;
    line-height: 1.45;
  }
  .px-aim {
    max-width: none;
    margin-top: 0.85rem;
    font-size: 0.86rem;
  }
  .px-card {
    overflow: hidden;
    padding: 0.95rem 0.9rem 1rem;
  }
  .px-card-body {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  .px-avatar {
    width: 3.25rem;
    height: 3.25rem;
    animation: none;
  }
  .px-field {
    grid-template-columns: 5.2rem minmax(0, 1fr);
    gap: 0.45rem;
    font-size: 0.8rem;
  }
  .px-card-link {
    margin-top: 0.8rem;
    padding-top: 0.7rem;
    font-size: 0.82rem;
    line-height: 1.35;
    word-break: break-word;
  }
  .px-steps {
    grid-template-columns: 1fr;
  }
  .px-steps li:hover { transform: none; }
  .px-compare-grid article {
    padding: 1rem 0.9rem;
  }
  .cf-head {
    gap: 0.55rem;
    align-items: flex-start;
  }
  .cf-head h2 {
    font-size: 1.08rem;
    line-height: 1.25;
  }
  .cf-note {
    font-size: 0.95rem;
    line-height: 1.45;
    max-width: none;
  }
  .lx-hero-tags {
    gap: 0.4rem;
  }
  .lx-feed {
    margin-top: 0.35rem;
  }
  .lx-filter-bar {
    gap: 0.7rem;
  }
  .lx-chips {
    gap: 0.4rem;
  }
  .cx-titlebar {
    font-size: 0.72rem;
  }
  .cx-queue ol li,
  .cx-thread,
  .cx-draft {
    font-size: 0.9rem;
  }
}

@media (max-width: 430px) {
  .brand {
    max-width: 7.5rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .tabs { min-width: 0; }
  .contacts {
    grid-template-columns: 1fr;
  }
  .contacts li:nth-child(3) { grid-column: auto; }
  .portrait {
    aspect-ratio: 5 / 6;
    max-height: 58vh;
  }
  .tools div { grid-template-columns: 1fr; }
  .tools dt {
    margin-bottom: 0.15rem;
    color: var(--accent);
  }
  .px-field {
    grid-template-columns: 1fr;
    gap: 0.28rem;
    padding: 0.2rem 0;
  }
  .px-field i {
    height: 0.35rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .portrait, h1, .lede,
  .tasks li,
  .flow.arm li, .screen.arm li,
  .approach.arm li, .tools.arm div, .learn.arm, .cases.arm .case,
  .reveal.arm > h2, .reveal.arm > .crowdo, .reveal-item.arm,
  .cf-arch.arm .cf-node, .cf-dash.arm .cf-pane-feed li,
  .cf-chart-line, .cf-chart-area, .cf-bars rect, .cf-bars-h i,
  .cf-pulse, .cf-block.arm,
  .px-card, .px-avatar, .px-field i, .cx-return, .cx-draft-lines span,
  .lx-chart-line, .lx-chart-area, .lx-chart-dots circle,
  .lx-price-events li, .lx-price-marks li {
    opacity: 1;
    transform: none;
    filter: none;
    animation: none;
    transition: none;
  }
  .px-field i { width: var(--target, 100%); }
  .cf-chart-line,
  .lx-chart-line { stroke-dashoffset: 0; }
  .cf-bars rect { transform: none; }
  .cf-bars-h i { width: var(--target); }
  .mesh, .grain, .orb-a, .orb-b, .orb-c {
    transform: none;
    margin-top: 0;
    margin-bottom: 0;
  }
  .flow.arm li::before, .approach.arm li::before, .learn.arm::before { transform: none; animation: none; }
  .approach.arm.is-in .step, .case { animation: none; }
  .caret, .cf-dot, .st-run,
  .orb-a, .orb-b, .orb-c, .sheen, .beam, .motes, .mesh, .grain,
  .portrait, .kicker, .contacts li a,
  .tabs > a.is-on::after, .nav-drop-btn.is-on::after,
  .approach.arm.is-in .step, .learn.arm.is-in::before,
  .cf-arch.arm.is-in .cf-pulse { animation: none; }
  .portrait:hover { transform: none; }
  .tabs > a::after, .nav-drop-btn::after, .nav-menu, .contacts a, .crowdo a, .lang button, .case, .case::after,
  .approach .step, .approach p, .tools div, .portrait, .crowdo summary::before,
  .tasks li, .tasks li::before, .flow li, .screen li {
    transition: none;
  }
  .case:hover, .cases.arm.is-in .case:hover, .cases.arm.is-in .case:active,
  .tools div:hover, .tools.arm.is-in div:hover,
  .approach li:hover .step, .approach li:hover p,
  .lang button:active, .tasks li:hover::before {
    transform: none;
  }
  .lang-swap,
  body.lang-out .lang-swap,
  body.lang-in .lang-swap {
    opacity: 1;
    filter: none;
    transform: none;
    animation: none;
    transition: none;
  }
}
