body.it-board.it-v2 :is(.sheet, .drawing-footer) { position: relative; isolation: isolate; }
body.it-board.it-v2 :is(.sheet, .final, .drawing-footer) > :not(.matrix-rain) { position: relative; z-index: 1; }
body.it-board.it-v2 .final { background: rgba(18,17,20,.55); }
body.it-board.it-v2 .drawing-footer { background: rgba(7,8,10,.2); }
body.it-board.it-v2 .matrix-footer-panel { grid-column: 1 / -1; min-width: 0; padding: 24px; border: 1px solid rgba(0,255,102,.3); background: rgba(7,8,10,.8); color: #bfffd2; font: 12px/1.6 'JetBrains Mono', monospace; }
body.it-board.it-v2 .matrix-counters { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; }
body.it-board.it-v2 .matrix-counters span, body.it-board.it-v2 .matrix-counters b { display: block; overflow-wrap: anywhere; }
body.it-board.it-v2 .matrix-counters b { color: #d9ffe6; font-size: clamp(22px,3vw,40px); }
body.it-board.it-v2 .matrix-terminal { height: 6.4em; overflow: hidden; color: #7fdaa0; margin: 16px 0; }
body.it-board.it-v2 .matrix-footer-panel small { color: #b9cbbd; }
@media (max-width: 640px) {
  body.it-board.it-v2 .matrix-counters { grid-template-columns: repeat(2,minmax(0,1fr)); }
  body.it-board.it-v2 .matrix-footer-panel { padding: 16px; }
}
body.it-board.it-v2 .matrix-rain {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.22;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at 55% 45%, #000 10%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse at 55% 45%, #000 10%, transparent 85%);
}
body.it-board.it-v2 .it-hero > :not(.matrix-rain) {
  position: relative;
  z-index: 1;
}
body.it-board.it-v2 .it-hero > nav {
  position: sticky;
  z-index: 20;
}
body.it-board.it-v2 .editor-log .cursor,
body.it-board.it-v2 .editor-log .matrix-log {
  color: #00ff66;
}
body.it-board.it-v2 .matrix-log {
  display: block;
}
body.it-board.it-v2 .funnel > div:not(:last-child):after {
  background: #00ff66;
  box-shadow: 0 0 10px #00ff66;
}
body.it-board.it-v2 .funnel > div:not(:last-child):before {
  background: #b6ffcb;
  box-shadow: 0 0 10px #00ff66;
}
body.it-board.it-v2 .funnel .matrix-bits {
  position: absolute;
  top: -11px;
  left: 0;
  width: calc(100% + 34px);
  height: 18px;
  margin: 0;
  overflow: hidden;
  color: #00ff66;
  font: 10px/18px 'JetBrains Mono', monospace;
  pointer-events: none;
}
body.it-board.it-v2 .matrix-bits i {
  position: absolute;
  left: 0;
  font-style: normal;
  animation: matrix-bits 4s linear infinite;
}
@keyframes matrix-bits {
  to { transform: translateX(220px); }
}
@media (max-width: 819px) {
  body.it-board.it-v2 .funnel .matrix-bits {
    top: 8px;
    left: -5px;
    width: 12px;
    height: calc(100% - 8px);
    writing-mode: vertical-rl;
  }
  @keyframes matrix-bits {
    to { transform: translateY(100px); }
  }
}

@media (prefers-reduced-motion: reduce) { body.it-board.it-v2 .matrix-bits i { animation: none; } }

html body.it-board.it-v2 a[data-matrix-button], html body.it-board.it-v2 #lida-sticky-cta .lida-sticky-button[data-matrix-button] {
  position: relative; overflow: hidden; gap: 8px; background: #07080a !important; color: #b6ffcb !important;
  border: 1px solid #00ff66 !important; border-radius: 999px !important;
  box-shadow: 0 0 10px rgba(0,255,102,.35);
}
html body.it-board.it-v2 a[data-matrix-button]::before {
  content: '01 アイ 10 カ 01 ウ 10'; position: absolute; top: 0; left: 0; width: 200%;
  color: #00ff66; font: 6px/1 monospace; letter-spacing: 5px; white-space: nowrap;
  pointer-events: none; animation: matrix-edge 5s linear infinite;
}
html body.it-board.it-v2 a[data-matrix-button]::after {
  content: '[ 500 → 5 ]'; flex: none; color: inherit; font: 10px/1.2 'JetBrains Mono', monospace;
}
html body.it-board.it-v2 a[data-matrix-button]:hover, html body.it-board.it-v2 #lida-sticky-cta .lida-sticky-button[data-matrix-button]:hover { background: #00ff66 !important; color: #07080a !important; }
html body.it-board.it-v2 a[data-matrix-button]:hover::before { color: #07080a; }
html body.it-board.it-v2 a[data-matrix-button]:focus-visible { outline: 3px solid #b6ffcb !important; outline-offset: 3px; }
html body.it-board.it-v2 a[data-matrix-button].matrix-pressed { animation: matrix-press .4s ease-out; }
@keyframes matrix-edge { to { transform: translateX(-50%); } }
@keyframes matrix-press { 50% { box-shadow: 0 0 0 8px rgba(0,255,102,.35), 0 0 20px #00ff66; } }
@media (prefers-reduced-motion: reduce) { html body.it-board.it-v2 a[data-matrix-button]::before, html body.it-board.it-v2 a[data-matrix-button].matrix-pressed { animation: none; } }

/* Keep the marked-up YAML in the layout and reveal its characters in place. */
body.it-board.it-v2 .terminal { background: #101115; }
body.it-board.it-v2 .terminal-editor { position: relative; overflow: hidden; }
body.it-board.it-v2 .terminal-editor pre { overflow: auto; }
body.it-board.it-v2 .terminal-editor .line i { width: 32px; color: #858894; }
body.it-board.it-v2 .terminal-editor .line em { color: #ff997d; }
body.it-board.it-v2 .terminal-editor.is-typing .typing-char:not(.typed) { opacity: 0; }
body.it-board.it-v2 .typing-current { position: relative; }
body.it-board.it-v2 .typing-current::after { content: ''; position: absolute; left: 100%; top: 0; width: .55em; height: 1em; background: #b6ffcb; animation: terminal-blink 1s steps(1) infinite; }
body.it-board.it-v2 .terminal-editor .line b.edited { position: relative; }
body.it-board.it-v2 .terminal-editor .line b.edited .typing-char { opacity: 0; }
body.it-board.it-v2 .terminal-editor .line b.edited::after { content: '600'; position: absolute; left: 0; top: 0; color: #c9ddb4; }
body.it-board.it-v2 .typing-log { display: block; font: 11px/1.5 monospace; color: #65e6a0 !important; }
body.it-board.it-v2 .terminal-rows li[hidden] { display: flex; visibility: hidden; }
@media (prefers-reduced-motion: reduce) { body.it-board.it-v2 .terminal-editor.is-typing .typing-char { opacity: 1; } body.it-board.it-v2 .typing-current::after { display: none; } body.it-board.it-v2 .cursor { animation: none; } }
body.it-board.it-v2 .steps li::before { content: '> ' !important; color: #00ff66; }
body.it-board.it-v2 .terminal-steps li { opacity: 0; transform: translateY(6px); }
body.it-board.it-v2 .terminal-steps.steps-visible li { animation: terminal-line .3s ease forwards; animation-delay: var(--step-delay); }
body.it-board.it-v2 .terminal-steps.steps-visible .ok { animation: terminal-ok .5s steps(4) both; animation-delay: calc(var(--step-delay) + .25s); }
body.it-board.it-v2 #outreach-calculator::before { content: '$ lida calc --companies'; display: block; margin-bottom: 20px; color: #7fffa8; font: 13px/1.5 monospace; overflow-wrap: anywhere; }
body.it-board.it-v2 .lead-results { position: relative; overflow: hidden; }
body.it-board.it-v2 .lead-results p::before { content: '> '; color: #00ff66; }
body.it-board.it-v2 .calc-scramble { display: none; position: absolute; inset: 0; z-index: 2; padding: 20px; background: #111216; color: #8dffb4; font: 14px/1.6 monospace; overflow-wrap: anywhere; pointer-events: none; }
body.it-board.it-v2 .calc-scramble.active { display: block; }
body.it-board.it-v2 .faq-item summary::before { content: '$ faq --q '; color: #69eb98; font: 12px/1.5 monospace; }
body.it-board.it-v2 .faq-item[open] .faq-a { animation: terminal-line .4s steps(5) both; }
body.it-board.it-v2 .drawing-footer { box-sizing: border-box; width: 100%; max-width: none; margin: 0; padding: 40px max(20px, calc((100% - 1312px)/2)) 90px; border: 1px solid #2a633c; background: rgba(7,8,10,.82); color: #bfffd2; }
body.it-board.it-v2 .drawing-footer::before { content: 'lida@footer:~$ ls'; grid-column: 1 / -1; color: #8dffb4; font: 14px/1.5 monospace; }
body.it-board.it-v2 .drawing-footer nav a::before { content: '> '; color: #00ff66; }
body.it-board.it-v2 .drawing-footer nav:last-child::after { content: '█'; color: #8dffb4; animation: terminal-blink 1s steps(1) infinite; }
body.it-board.it-v2 .final a.conversion-button::before { /* button keeps its existing matrix edge */ }
body.it-board.it-v2 .final::after { content: './get-calls'; display: block; margin-top: 10px; color: #8dffb4; font: 12px/1.5 monospace; }
@keyframes terminal-blink { 50% { opacity: 0; } }
@keyframes terminal-line { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes terminal-ok { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0); } }
@media (max-width: 819px) { body.it-board.it-v2 .drawing-footer, body.it-board.it-v2 .drawing-footer:has(nav[aria-label="Сервисы"]) { width: 100%; margin: 0; } }
@media (prefers-reduced-motion: reduce) { body.it-board.it-v2 :is(.typing-caret, .drawing-footer nav:last-child::after, .faq-item[open] .faq-a, .terminal-steps.steps-visible li, .terminal-steps.steps-visible .ok) { animation: none; opacity: 1; transform: none; clip-path: none; } }
body.it-board.it-v2 .terminal-steps.steps-visible .ok { position: relative; animation: none; color: transparent; }
body.it-board.it-v2 .terminal-steps.steps-visible .ok::after { content: '[ok]'; position: absolute; inset: 0; color: #00ff66; animation: terminal-count .6s steps(1) both; animation-delay: calc(var(--step-delay) + .25s); }
@keyframes terminal-count { 0% { content: '[00]'; } 25% { content: '[1x]'; } 50% { content: '[0k]'; } 75% { content: '[o1]'; } 100% { content: '[ok]'; } }
body.it-board.it-v2 .faq-item[open] .faq-a { animation: terminal-answer .5s steps(6) both; }
@keyframes terminal-answer { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0); } }
@media (prefers-reduced-motion: reduce) { body.it-board.it-v2 .terminal-steps.steps-visible .ok { color: inherit; } body.it-board.it-v2 .terminal-steps.steps-visible .ok::after { display: none; } body.it-board.it-v2 .faq-item[open] .faq-a { animation: none; } }
