/* OMION 2026 redesign ported from mvoro/omni into server-rendered Django. */
@font-face {
  font-family: "Golos Text";
  src: url("../fonts/omni/golos-text-cyrillic-variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  unicode-range: U+0400-052F, U+2DE0-2DFF, U+A640-A69F;
}
@font-face {
  font-family: "Golos Text";
  src: url("../fonts/omni/golos-text-latin-variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("../fonts/omni/jetbrains-mono-cyrillic-variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  unicode-range: U+0400-052F, U+2DE0-2DFF, U+A640-A69F;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("../fonts/omni/jetbrains-mono-latin-variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
}

:root {
  --om-canvas: #f9f8f7;
  --om-canvas-alt: #faf9f8;
  --om-surface: #fff;
  --om-ink: #1d1f20;
  --om-ink-strong: #141516;
  --om-muted: rgba(29, 31, 32, .5);
  --om-accent: #f0342b;
  --om-accent-hover: #da2a22;
  --om-line: #eae7e4;
  --om-line-soft: #efece9;
  --om-line-faint: #f4f2f0;
  --om-success: #227a45;
  --om-warning: #a55f08;
  --om-radius: 16px;
  --om-ease: cubic-bezier(.22, .61, .36, 1);
  --om-ease-strong: cubic-bezier(.23, 1, .32, 1);
}

body.omni-body {
  margin: 0;
  min-width: 320px;
  background: var(--om-canvas);
  color: var(--om-ink);
  font-family: "Golos Text", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
.omni-body *, .omni-body *::before, .omni-body *::after { box-sizing: border-box; }
.omni-body img { max-width: 100%; }
.omni-body a { color: inherit; }
.omni-body :where(h1, h2, h3, h4, p) { margin-top: 0; }
.omni-body :where(h1, h2, h3, h4, h5, h6) { font-family: "Golos Text", system-ui, -apple-system, "Segoe UI", sans-serif; }
.omni-body h1, .omni-body h2, .omni-body h3, .omni-body h4 { text-wrap: balance; }
.omni-body p { text-wrap: pretty; }
.omni-body ::selection { background: rgba(240, 52, 43, .16); }

.om-shell {
  width: min(1240px, calc(100% - 32px));
  margin-inline: auto;
  padding-inline: 24px;
}
.om-rails {
  position: absolute;
  inset-block: 0;
  left: 50%;
  width: min(1240px, calc(100% - 32px));
  transform: translateX(-50%);
  border-inline: 1px solid var(--om-line);
  pointer-events: none;
}
.om-eyebrow, .om-mono-label {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
  line-height: 1.4;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: rgba(29, 31, 32, .34);
}
.om-card, .om-card-raised {
  position: relative;
  background: var(--om-surface);
  border-radius: var(--om-radius);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .05), 0 1px 2px rgba(0, 0, 0, .02), 0 12px 28px -18px rgba(0, 0, 0, .12);
}
.om-card-raised { border-radius: 18px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .05), 0 1px 2px rgba(0, 0, 0, .02), 0 24px 48px -28px rgba(0, 0, 0, .18); }
.om-oneline { display: block; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.om-btn {
  display: inline-flex;
  min-width: 0;
  height: 40px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 16px;
  border: 0;
  border-radius: 12px;
  font: 500 14px/1 "Golos Text", sans-serif;
  letter-spacing: .005em;
  white-space: nowrap;
  text-decoration: none !important;
  cursor: pointer;
  transition: background-color .2s ease, box-shadow .1s ease, transform .1s ease, color .2s ease;
}
.om-btn:active { transform: scale(.982); transition-duration: 50ms; }
.om-btn:focus-visible, .om-menu-toggle:focus-visible, .om-menu-close:focus-visible { outline: 2px solid var(--om-accent); outline-offset: 3px; }
.om-btn-primary {
  background: var(--om-accent);
  color: #fff !important;
  box-shadow: inset 0 -6px 12px rgba(0, 0, 0, .16), 0 1px 2px rgba(240, 52, 43, .3), 0 8px 18px -8px rgba(240, 52, 43, .5), 0 0 0 6px rgba(240, 52, 43, .06);
}
.om-btn-inverse { background: #fff; color: var(--om-accent) !important; box-shadow: 0 10px 24px -14px rgba(0, 0, 0, .5); }
.om-btn-quiet { background: #fff; color: var(--om-ink); box-shadow: inset 0 0 0 1px var(--om-line); }
@media (hover: hover) {
  .om-btn-primary:hover:not(:disabled):not([aria-disabled="true"]) { background: var(--om-accent-hover); color: #fff !important; box-shadow: inset 0 -6px 12px rgba(0, 0, 0, .2), 0 1px 2px rgba(240, 52, 43, .3), 0 12px 26px -8px rgba(240, 52, 43, .55), 0 0 0 8px rgba(240, 52, 43, .08); }
  .om-btn-inverse:hover { transform: translateY(-1px); box-shadow: 0 16px 30px -14px rgba(0, 0, 0, .55); }
  .om-btn-quiet:hover { background: #fdfcfc; box-shadow: inset 0 0 0 1px #ddd8d3; }
}
.om-btn-sm { height: 32px; padding-inline: 12px; border-radius: 8px; font-size: 13px; }
.om-btn-lg { height: 44px; padding-inline: 20px; font-size: 16px; }
.om-btn > span[aria-hidden="true"] { font-family: "JetBrains Mono", ui-monospace, monospace; line-height: 1; }
.om-btn[disabled], .om-btn[aria-disabled="true"] { opacity: .48; cursor: not-allowed; filter: saturate(.4); }

.om-skip-link { position: fixed; z-index: 999; top: 8px; left: 8px; transform: translateY(-150%); padding: 10px 14px; border-radius: 8px; background: var(--om-ink); color: #fff !important; }
.om-skip-link:focus { transform: none; }

/* Public shell */
.om-site-header { position: relative; z-index: 40; border-bottom: 1px solid var(--om-line); background: var(--om-canvas); }
.om-site-header__inner { display: flex; height: 74px; align-items: center; gap: 28px; }
.om-logo { display: inline-flex; flex: none; align-items: center; border-radius: 8px; text-decoration: none; }
.om-logo img { display: block; width: auto; height: 30px; }
.om-site-nav { display: flex; align-items: center; gap: 26px; margin-left: 14px; }
.om-site-nav__link { border-radius: 6px; color: rgba(29, 31, 32, .62) !important; font-size: 14px; font-weight: 500; text-decoration: none !important; transition: color .2s; }
.om-site-nav__link:hover { color: var(--om-ink-strong) !important; }
.om-site-header__cabinet { margin-left: auto; }
.om-menu-toggle, .om-menu-close { display: none; width: 40px; height: 40px; align-items: center; justify-content: center; border: 1px solid #e2deda; border-radius: 10px; background: #fff; color: var(--om-ink); cursor: pointer; }
.om-menu-toggle span { width: 16px; height: 9px; border-block: 1.5px solid var(--om-ink); }
.om-mobile-menu { position: fixed; z-index: 100; inset: 0; display: flex; flex-direction: column; background: var(--om-canvas); }
.om-mobile-menu[hidden] { display: none; }
.om-mobile-menu__head { display: flex; height: 74px; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--om-line); }
.om-menu-close { display: inline-flex; font-size: 28px; font-weight: 300; }
.om-mobile-menu__nav { display: flex; flex: 1; flex-direction: column; justify-content: center; gap: 2px; padding-block: 28px; }
.om-mobile-menu__nav a { padding: 12px 0; color: var(--om-ink-strong); font-size: 26px; font-weight: 500; letter-spacing: -.02em; text-decoration: none; }
.om-mobile-menu__nav a:nth-child(1) { animation-delay: 40ms; }
.om-mobile-menu__nav a:nth-child(2) { animation-delay: 85ms; }
.om-mobile-menu__nav a:nth-child(3) { animation-delay: 130ms; }
.om-mobile-menu__nav a:nth-child(4) { animation-delay: 175ms; }
.om-mobile-menu__footer { padding-block: 24px; border-top: 1px solid var(--om-line); }
.om-mobile-menu__footer .om-btn { width: 100%; }
body.om-menu-open { overflow: hidden; }

/* Landing */
.om-landing { overflow-x: clip; }
.om-hero { position: relative; display: flex; flex-direction: column; align-items: center; overflow: hidden; }
.om-code-field { position: absolute; z-index: 0; inset: 0; display: block; width: 100%; height: 100%; pointer-events: none; user-select: none; }
.om-hero__content { position: relative; z-index: 5; display: flex; flex-direction: column; align-items: center; padding-top: clamp(28px, 7vh, 88px); padding-bottom: 24px; text-align: center; }
.om-hero__content > .om-eyebrow { margin-bottom: 26px; color: rgba(29, 31, 32, .42); font-size: 12px; }
.om-hero__content > .om-eyebrow span { margin-right: 10px; color: rgba(29, 31, 32, .16); }
.om-hero__title { margin: 0; font-size: clamp(30px, 4vw, 54px); line-height: 1.08; }
.om-hero__title span { display: block; }
.om-hero__muted { color: rgba(29, 31, 32, .36); font-weight: 400; letter-spacing: -.025em; }
.om-hero__strong { color: var(--om-ink-strong); font-weight: 600; letter-spacing: -.028em; }
.om-shine { background: linear-gradient(104deg, var(--om-ink-strong) 0%, var(--om-ink-strong) 43%, #6f7274 48%, var(--om-accent) 51%, #6f7274 54%, var(--om-ink-strong) 59%, var(--om-ink-strong) 100%); background-size: 220% 100%; background-clip: text; color: transparent; animation: om-shine 6.4s var(--om-ease-strong) 2.2s infinite; }
@keyframes om-shine { 0% { background-position: 0 0; } 20%, 100% { background-position: 100% 0; } }
.om-hero__lead { max-width: 560px; margin: 18px 0 0; color: rgba(29, 31, 32, .5); font-size: 14px; line-height: 1.55; }
.om-hero__cta { position: relative; z-index: 2; margin-top: 28px; }
.om-hero__cta .om-btn { position: relative; z-index: 1; }
.om-hero__burst { position: absolute; z-index: 0; top: 50%; left: 50%; width: 520px; height: 300px; transform: translate(-50%, -50%); pointer-events: none; }
.om-hero__hand-band { width: 100%; height: clamp(190px, 30vw, 440px); flex: none; }
.om-hero__hands { position: absolute; z-index: 6; inset: 0; pointer-events: none; }
.om-hero__photo-hand { position: absolute; top: 33%; left: 50%; width: 50%; }
.om-hero__photo-hand img { display: block; width: 100%; height: auto; }
.om-hero__binary-hand { position: absolute; z-index: 6; inset: 0; display: block; width: 100%; height: 100%; }
@keyframes om-rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes om-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes om-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes om-wheel { 0%, 100% { opacity: 1; transform: translateY(0); } 50% { opacity: .25; transform: translateY(6px); } }
.om-rise { animation: om-rise .8s var(--om-ease) both; }
.om-hand-rise { animation: om-rise 1.2s var(--om-ease) 1.15s both; }
.om-hand-fade { animation: om-fade 1.1s var(--om-ease) 1.15s both; }

.om-partners { position: relative; z-index: 5; border-top: 1px solid var(--om-line); background: var(--om-canvas); }
.om-partners h2 { padding-top: 16px; text-align: center; }
.om-partners__mask { overflow: hidden; padding: 14px 0 22px; mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); }
.om-partners__track { display: flex; width: max-content; animation: om-marquee 42s linear infinite; backface-visibility: hidden; transform: translateZ(0); will-change: transform; }
.om-partners__row { display: flex; align-items: center; gap: 76px; padding-right: 76px; }
.om-partners__track img { width: auto; height: 24px; flex: none; object-fit: contain; filter: grayscale(1); opacity: .46; }
.om-partners__row img:nth-child(1) { height: 26px; }
.om-partners__row img:nth-child(3) { height: 30px; }
.om-partners__row img:nth-child(6), .om-partners__row img:nth-child(7) { height: 22px; }
@keyframes om-marquee { to { transform: translateX(-50%); } }

.om-how-cards { position: relative; z-index: 4; border-top: 1px solid var(--om-line); }
.om-how-cards > .om-shell { padding-block: 72px 88px; }
.om-section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 40px; }
.om-section-head h2 { max-width: 520px; margin: 0; color: var(--om-ink-strong); font-size: clamp(26px, 3vw, 40px); font-weight: 500; line-height: 1.1; letter-spacing: -.03em; }
.om-section-head p { max-width: 360px; margin: 0; color: var(--om-muted); font-size: 14px; line-height: 1.55; }
.om-how-cards__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 20px; }
.om-how-card { padding: 22px 22px 24px; }
.om-how-card > .om-mono-label { margin: 18px 0 0; color: rgba(29,31,32,.28); letter-spacing: .14em; }
.om-how-card h3 { margin: 10px 0 0; color: var(--om-ink-strong); font-size: 17px; font-weight: 500; line-height: 1.3; letter-spacing: -.01em; }
.om-how-card > p:last-child { margin: 8px 0 0; color: rgba(29, 31, 32, .52); font-size: 13.5px; line-height: 1.55; }
.om-card-art { position: relative; height: 196px; overflow: hidden; border-radius: 12px; background: #fff; }
.om-card-art canvas { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.om-centered-cta { margin: 44px 0 0; text-align: center; }

.om-steps { position: relative; height: 320vh; border-top: 1px solid var(--om-line); }
.om-steps__layout { position: sticky; top: 0; display: grid; min-height: 100svh; grid-template-columns: minmax(300px, 1fr) minmax(420px, 1fr); align-items: center; gap: 48px; padding-block: 40px; }
.om-steps__copy > .om-eyebrow { margin: 0; }
.om-steps__copy > h2 { margin: clamp(8px, 1.6vh, 14px) 0 clamp(14px, 2.6vh, 30px); color: var(--om-ink-strong); font-size: clamp(24px, 2.8vw, 40px); font-weight: 500; line-height: 1.1; letter-spacing: -.03em; }
.om-step-tabs { display: none; }
.om-step-copy-list { position: relative; margin: 0 0 26px; padding: 0 0 0 18px; list-style: none; }
.om-step-rail { position: absolute; top: 6px; bottom: 6px; left: 0; width: 2px; overflow: hidden; border-radius: 2px; background: var(--om-line); }
.om-step-rail i { position: absolute; inset: 0 0 auto; height: 0; background: var(--om-accent); transition: height .25s linear; }
.om-step-copy { padding: 12px 0; opacity: .32; transition: opacity .25s; }
.om-step-copy.is-active { opacity: 1; }
.om-step-copy button { display: block; width: 100%; padding: 0; border: 0; border-radius: 8px; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.om-step-copy h3 { margin: 7px 0; font-size: 21px; font-weight: 500; letter-spacing: -.02em; }
.om-step-copy p { max-width: 400px; margin: 0; color: var(--om-muted); font-size: 14px; line-height: 1.55; }
.om-steps__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.om-steps__actions--compact { display: none; }
.om-demo { display: flex; min-height: clamp(252px, 44vh, 400px); flex-direction: column; padding: 20px; }
.om-demo > header { display: flex; align-items: center; gap: 5px; padding-bottom: 14px; border-bottom: 1px solid var(--om-line-soft); }
.om-demo > header span { margin-right: auto; }
.om-demo > header i { width: 6px; height: 6px; border-radius: 3px; background: #e6e3e0; }
.om-demo > header i:last-child { background: var(--om-accent); }
.om-demo__scene { display: none; min-height: 0; flex: 1; flex-direction: column; justify-content: center; gap: 14px; padding: clamp(12px, 2.4vh, 22px) 4px; animation: om-in .45s var(--om-ease) both; }
.om-demo__scene.is-active { display: flex; }
@keyframes om-enter { from { opacity: 0; transform: translateY(-10px); } }
.om-demo__input { display: flex; height: 46px; align-items: center; overflow: hidden; padding: 0 14px; border-radius: 10px; background: var(--om-canvas-alt); box-shadow: inset 0 0 0 1px var(--om-line); font: 16px/1 "JetBrains Mono", monospace; letter-spacing: .02em; }
.om-demo__input > span { min-width: 0; overflow: hidden; text-overflow: clip; white-space: nowrap; }
.om-demo__input > i { width: 1px; height: 20px; flex: none; margin-left: 3px; background: var(--om-accent); animation: om-cursor .8s steps(1) infinite; }
@keyframes om-cursor { 50% { opacity: 0; } }
.om-demo button { align-self: flex-start; height: 32px; padding: 0 13px; border: 0; border-radius: 8px; background: var(--om-accent); color: #fff; font: 500 13px "Golos Text", sans-serif; }
.om-demo__button-row { display: flex; align-items: center; gap: 12px; }
.om-demo__fake-button { position: relative; display: inline-flex; height: 32px; align-items: center; justify-content: center; padding: 0 13px; border-radius: 8px; background: var(--om-accent); color: #fff; font: 500 13px "Golos Text", sans-serif; box-shadow: inset 0 -5px 10px rgba(0,0,0,.14); transition: transform .15s; }
.om-demo__pointer { position: absolute; z-index: 3; top: 56%; left: 50%; width: 15px; height: 20px; pointer-events: none; transition: transform .6s var(--om-ease), opacity .3s ease; }
.om-demo__pointer svg { display: block; filter: drop-shadow(0 2px 4px rgba(0,0,0,.25)); transition: transform .15s; }
.om-demo__code { display: flex; gap: 10px; }
.om-demo__code span { display: flex; width: 44px; height: 52px; align-items: center; justify-content: center; border-radius: 10px; background: var(--om-canvas-alt); box-shadow: inset 0 0 0 1px var(--om-line); font: 20px "JetBrains Mono", monospace; }
.om-demo__success { display: flex; align-items: center; gap: 10px; animation: om-in .45s var(--om-ease) both; }
.om-demo__success i { display: inline-flex; width: 26px; height: 26px; align-items: center; justify-content: center; border-radius: 50%; background: var(--om-accent); color: #fff; font-style: normal; }
.om-demo__success b { font-weight: 500; }
.om-demo__sent { align-items: center; text-align: center; }
.om-demo__sent .om-demo__success { flex-direction: column; }
.om-demo__sent .om-demo__success i { width: 44px; height: 44px; font-size: 22px; }
.om-demo__hint { color: rgba(29, 31, 32, .4); font: 12px/1.5 "JetBrains Mono", monospace; }
.om-demo__progress { display: grid; grid-template-columns: 1fr auto; gap: 14px; align-items: center; font: 11px "JetBrains Mono", monospace; letter-spacing: .12em; color: rgba(29, 31, 32, .42); }
.om-demo__progress b { color: var(--om-ink); font-size: 13px; font-weight: 400; letter-spacing: 0; }
.om-demo__progress i { grid-column: 1 / -1; height: 4px; overflow: hidden; border-radius: 4px; background: var(--om-line-soft); }
.om-demo__progress i span { display: block; width: 0; height: 100%; border-radius: inherit; background: var(--om-accent); transition: width .18s linear; }
.om-demo ul { margin: 0; padding: 0; list-style: none; }
.om-demo li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--om-line-faint); font-size: 14px; }
.om-demo li em, .om-demo li span { font: 11px "JetBrains Mono", monospace; letter-spacing: .08em; }
.om-demo li em { color: var(--om-accent); font-style: normal; }
.om-demo li span { color: rgba(29, 31, 32, .32); }
.om-demo li .is-found { color: var(--om-accent); }
.om-demo li .is-absent, .om-demo li .is-pending { color: rgba(29, 31, 32, .32); }
.om-demo pre { min-height: 132px; margin: 0; padding: 16px; border-radius: 12px; background: var(--om-canvas-alt); color: rgba(29, 31, 32, .62); font: 12px/1.8 "JetBrains Mono", monospace; white-space: pre-wrap; box-shadow: inset 0 0 0 1px var(--om-line); }

.om-shredder { position: relative; z-index: 3; height: 300vh; background: var(--om-canvas-alt); }
.om-shredder__stage { position: sticky; top: 0; display: flex; height: 100svh; padding-inline: 28px; }
.om-shredder__band { position: relative; flex: 1; min-width: 0; margin-block: 28px; overflow: hidden; border-radius: 24px; background: var(--om-accent); color: #fff; }
.om-shredder__canvas { position: absolute; z-index: 1; inset: 0; display: block; width: 100%; height: 100%; }
.om-shredder__copy { position: relative; z-index: 2; width: min(780px, 88%); margin-inline: auto; padding-top: clamp(30px, 7vh, 76px); text-align: center; }
.om-shredder__copy h2 { margin: 0; color: #fff; font-size: clamp(26px, 3.2vw, 46px); font-weight: 500; line-height: 1.08; letter-spacing: -.03em; }
.om-shredder__copy p { max-width: 560px; margin: clamp(12px, 2.2vh, 20px) auto clamp(16px, 3vh, 28px); color: rgba(255, 255, 255, .75); font-size: clamp(13px, 1.5vw, 16px); line-height: 1.5; }
.om-shredder__machine { position: absolute; z-index: 3; bottom: clamp(48px, 10vh, 96px); left: 50%; max-width: 96%; margin: 0; transform: translateX(-50%); color: rgba(255,255,255,.85); font: clamp(10px, 1.6vw, 20px)/1.05 "JetBrains Mono", monospace; letter-spacing: .04em; text-align: center; white-space: pre; pointer-events: none; user-select: none; }
.om-shredder__hint { position: absolute; z-index: 3; right: 0; bottom: clamp(18px, 3.6vh, 32px); left: 0; justify-content: center; }

.om-scroll-hint { display: flex; align-items: center; gap: 8px; color: rgba(29,31,32,.3); font: 400 11px/1 "JetBrains Mono", monospace; letter-spacing: .14em; text-transform: uppercase; transition: opacity .4s; pointer-events: none; }
.om-scroll-hint > span { position: relative; display: inline-block; width: 14px; height: 22px; border: 1.5px solid rgba(29,31,32,.3); border-radius: 7px; }
.om-scroll-hint > span i { position: absolute; top: 4px; left: 50%; width: 2px; height: 5px; margin-left: -1px; background: rgba(29,31,32,.45); animation: om-wheel 1.8s ease-in-out infinite; }
.om-scroll-hint b { font-weight: 400; }
.om-scroll-hint--light { color: rgba(255,255,255,.5); }
.om-scroll-hint--light > span { border-color: rgba(255,255,255,.5); }
.om-scroll-hint--light > span i { background: rgba(255,255,255,.7); }

.om-stats { position: relative; z-index: 4; height: 340vh; border-top: 1px solid var(--om-line); background: var(--om-canvas-alt); }
.om-stats__sticky { position: sticky; top: 0; display: flex; height: 100vh; align-items: center; justify-content: center; flex-direction: column; padding: 48px 24px; text-align: center; }
.om-stats__sticky > h2 { max-width: 820px; margin: 16px 0 32px; color: var(--om-ink-strong); font-size: clamp(24px, 3vw, 42px); font-weight: 500; line-height: 1.12; letter-spacing: -.03em; }
.om-stats__figures { position: relative; width: 100%; max-width: 900px; height: 260px; }
.om-stat { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 18px; opacity: 0; transform: translateY(24px); transition: opacity .45s var(--om-ease), transform .45s var(--om-ease); }
.om-stat.is-active { opacity: 1; transform: none; }
.om-stat strong { display: inline-flex; align-items: baseline; justify-content: center; gap: .18em; color: var(--om-ink-strong); font: 500 clamp(40px, 6.6vw, 84px)/1 "JetBrains Mono", monospace; letter-spacing: -.04em; white-space: nowrap; }
.om-stat.is-accent strong { color: var(--om-accent); }
.om-stat p { max-width: 560px; margin: 0; color: var(--om-muted); font-size: 15px; line-height: 1.55; }
.om-stats__footer { position: relative; display: flex; width: 100%; min-height: 66px; align-items: flex-start; justify-content: center; margin-top: clamp(16px, 3vh, 32px); }
.om-stats__footer > [data-om-stats-progress] { display: flex; align-items: center; flex-direction: column; transition: opacity .45s, transform .45s; }
.om-stats__progress { display: flex; gap: 8px; }
.om-stats__progress i { position: relative; display: block; width: clamp(42px, 7vw, 64px); height: 3px; overflow: hidden; background: rgba(29, 31, 32, .12); }
.om-stats__progress i span { position: absolute; inset: 0 auto 0 0; width: 0; background: var(--om-accent); transition: width .12s linear; }
.om-stats__footer .om-scroll-hint { margin-top: clamp(12px, 2vh, 20px); }
.om-stats__cta { position: absolute; inset: 0; display: flex; align-items: center; flex-direction: column; gap: 10px; opacity: 0; transform: translateY(14px); transition: opacity .5s var(--om-ease), transform .5s var(--om-ease); pointer-events: none; }
.om-stats__cta.is-active { opacity: 1; transform: none; pointer-events: auto; }
.om-stats__cta p { margin: 0; }

.om-quote { position: relative; z-index: 4; display: flex; min-height: 100svh; align-items: center; justify-content: center; overflow: hidden; background: #fff; }
.om-quote blockquote { position: relative; z-index: 2; width: min(980px, calc(100% - 48px)); margin: 0; padding: 90px 0; text-align: center; }
.om-quote blockquote p { margin: 0; color: var(--om-ink-strong); font-size: clamp(23px, 3vw, 40px); font-weight: 400; line-height: 1.26; letter-spacing: -.02em; }
.om-quote blockquote p span { color: var(--om-accent); }
.om-quote cite { display: block; margin-top: 26px; color: rgba(29, 31, 32, .42); font: normal 12px/1.6 "JetBrains Mono", monospace; letter-spacing: .04em; }

.om-faq { position: relative; z-index: 4; scroll-margin-top: 80px; border-top: 1px solid var(--om-line); background: var(--om-canvas-alt); }
.om-faq > .om-shell { padding-block: clamp(56px, 8vw, 116px); }
.om-faq header { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: clamp(28px, 3.5vw, 44px); }
.om-faq header h2 { margin: 0; color: var(--om-ink-strong); font-size: clamp(26px, 3.2vw, 40px); font-weight: 500; letter-spacing: -.03em; }
.om-faq header a { padding-bottom: 2px; border-bottom: 1px solid rgba(240, 52, 43, .25); color: var(--om-accent); font-size: 14px; text-decoration: none; }
.om-faq__list { overflow: hidden; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, .05), 0 12px 28px -18px rgba(0, 0, 0, .12); }
.om-faq__item { border-bottom: 1px solid var(--om-line-soft); }
.om-faq__item:last-child { border-bottom: 0; }
.om-faq__item summary { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 22px 24px; color: var(--om-ink-strong); font-size: clamp(15px, 1.6vw, 17px); line-height: 1.4; list-style: none; cursor: pointer; }
.om-faq__item summary::-webkit-details-marker { display: none; }
.om-faq__item summary i { position: relative; width: 18px; height: 18px; flex: none; margin-top: 2px; }
.om-faq__item summary i::before, .om-faq__item summary i::after { position: absolute; background: var(--om-accent); content: ""; transition: transform .2s; }
.om-faq__item summary i::before { top: 8px; left: 0; width: 18px; height: 1.5px; }
.om-faq__item summary i::after { top: 0; left: 8px; width: 1.5px; height: 18px; }
.om-faq__item[open] summary i::after { transform: rotate(90deg); }
.om-faq__item.is-closing summary i::after { transform: none; }
.om-faq__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .22s var(--om-ease); }
.om-faq__item[open] > .om-faq__panel { grid-template-rows: 1fr; }
.om-faq__panel-inner { min-height: 0; overflow: hidden; }
.om-faq__panel-inner p { max-width: 820px; margin: 0; padding: 0 24px 24px; color: rgba(29, 31, 32, .58); font-size: 14px; line-height: 1.6; }

.om-business { position: relative; z-index: 4; background: var(--om-canvas-alt); }
.om-business > .om-shell { padding-bottom: clamp(56px, 8vw, 116px); }
.om-business__card { position: relative; display: grid; overflow: hidden; min-height: 360px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); align-items: center; gap: clamp(24px, 4vw, 56px); padding: clamp(28px, 4vw, 52px); border-radius: 20px; background: var(--om-ink-strong); color: #fff; }
.om-business__card h2 { margin-bottom: 16px; font-size: clamp(24px, 2.8vw, 38px); font-weight: 500; letter-spacing: -.03em; }
.om-business__card p { max-width: 460px; margin-bottom: 26px; color: rgba(255, 255, 255, .6); font-size: 14px; line-height: 1.55; }
.om-business__briefcase { position: relative; height: clamp(200px, 22vw, 260px); min-height: 0; }
.om-business__briefcase canvas { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.om-contact { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 18px; padding: 24px 28px; border: 1px solid var(--om-line-soft); border-radius: 16px; background: #fff; }
.om-contact h2 { margin-bottom: 5px; font-size: 20px; font-weight: 500; }
.om-contact p { margin: 0; color: var(--om-muted); font-size: 14px; }

.om-footer { position: relative; z-index: 4; scroll-margin-top: 90px; background: var(--om-canvas-alt); }
.om-footer > .om-shell { padding-bottom: 24px; }
.om-footer__card { padding: clamp(28px, 4vw, 52px); border: 1px solid var(--om-line-soft); border-radius: 20px; background: #fff; }
.om-footer__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(32px, 4vw, 48px); }
.om-footer__wordmark { color: var(--om-ink-strong); font: 500 18px/1 "JetBrains Mono", monospace; letter-spacing: .22em; text-decoration: none; }
.om-footer__brand > p { margin: 10px 0 8px; color: var(--om-muted); font-size: 13px; }
.om-footer__social { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.om-footer__social a, .om-footer__column a, .om-footer__column span { display: inline-block; padding: 6px 0; color: rgba(29, 31, 32, .64); font-size: 14px; text-decoration: none; }
.om-footer__column h2 { margin-bottom: 10px; }
.om-footer__column ul { margin: 0; padding: 0; list-style: none; }
.om-footer__soon-link { display: inline-flex !important; align-items: center; gap: 8px; color: rgba(29, 31, 32, .36) !important; }
.om-footer__soon-link small { padding: 3px 6px; border-radius: 5px; background: rgba(29, 31, 32, .06); font: 10px "JetBrains Mono", monospace; letter-spacing: .12em; text-transform: uppercase; }
.om-footer__legal { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: clamp(30px, 4vw, 52px); padding-top: 24px; border-top: 1px solid var(--om-line-soft); color: rgba(29, 31, 32, .42); font-size: 12px; }
.om-footer__legal a, .om-footer__legal button { padding: 0; border: 0; background: none; color: rgba(29, 31, 32, .5); font: inherit; text-decoration: none; cursor: pointer; }
.om-footer__legal form { margin: 0; }
.om-footer__copyright { margin-left: auto; font-family: "JetBrains Mono", monospace; }

.omni-public .cookie-banner { position: fixed; z-index: 80; right: 24px; bottom: 24px; left: auto; display: grid; width: min(620px, calc(100% - 48px)); grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 18px; padding: 20px; border: 0; border-radius: 16px; background: #fff; color: var(--om-ink); box-shadow: 0 0 0 1px rgba(0,0,0,.06), 0 24px 60px -28px rgba(0,0,0,.35); }
.omni-public .cookie-banner h2 { margin: 0 0 5px; color: var(--om-ink-strong); font-size: 17px; font-weight: 540; }
.omni-public .cookie-banner p { margin: 0; color: var(--om-muted); font-size: 12px; line-height: 1.45; }
.omni-public .cookie-banner p a { color: var(--om-accent); text-underline-offset: 2px; }
.omni-public .cookie-banner__actions { display: flex; gap: 8px; }
.omni-public .cookie-banner__actions .om-btn { height: 36px; padding-inline: 12px; border-radius: 10px; font-size: 12px; }

/* Informational, legal and error pages use the same material system as the landing. */
.omni-public .public-page {
  width: min(1240px, calc(100% - 32px));
  margin-inline: auto;
  padding: clamp(56px, 7vw, 92px) 24px clamp(72px, 9vw, 120px);
  border-inline: 1px solid var(--om-line);
  font-family: "Golos Text", sans-serif;
}
.omni-public .public-page__hero { max-width: 920px; margin: 0 0 clamp(48px, 6vw, 76px); }
.omni-public .public-page__eyebrow {
  margin: 0 0 14px;
  color: rgba(29, 31, 32, .38);
  font: 11px/1.4 "JetBrains Mono", monospace;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.omni-public .public-page__eyebrow::before { margin-right: 9px; color: var(--om-accent); content: "//"; }
.omni-public .public-page__title {
  max-width: 880px;
  margin: 0;
  color: var(--om-ink-strong);
  font-size: clamp(40px, 5.6vw, 70px);
  font-weight: 560;
  line-height: 1.02;
  letter-spacing: -.045em;
}
.omni-public .public-page__lead { max-width: 720px; margin: 20px 0 0; color: var(--om-muted); font-size: clamp(16px, 1.65vw, 20px); line-height: 1.55; }
.omni-public .public-page__content { display: grid; gap: clamp(52px, 6vw, 80px); }
.omni-public .public-section { min-width: 0; scroll-margin-top: 92px; }
.omni-public .public-section > h2 { margin: 0 0 24px; color: var(--om-ink-strong); font-size: clamp(26px, 3vw, 38px); font-weight: 520; line-height: 1.12; letter-spacing: -.03em; }
.omni-public .public-section > p, .omni-public .public-card p, .omni-public .public-step p { color: var(--om-muted); line-height: 1.58; }
.omni-public .public-section--statement,
.omni-public .public-section--anchor,
.omni-public .public-section.blueprint:not(.public-cta):not(.public-download) {
  padding: clamp(28px, 4vw, 48px);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(0,0,0,.05), 0 1px 2px rgba(0,0,0,.02), 0 24px 48px -30px rgba(0,0,0,.18);
}
.omni-public .public-section--statement > h2, .omni-public .public-section--anchor > h2 { font-size: clamp(24px, 2.7vw, 34px); }
.omni-public .public-section--statement p { max-width: 860px; margin: 0 0 16px; color: rgba(29,31,32,.68); font-size: 16px; line-height: 1.62; }
.omni-public .public-section--statement p:last-child { margin-bottom: 0; }
.omni-public .public-fact-grid,
.omni-public .public-card-list,
.omni-public .public-step-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.omni-public .public-fact-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); }
.omni-public .public-card-list--two { grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); }
.omni-public .public-fact, .omni-public .public-card, .omni-public .public-step {
  min-width: 0;
  padding: 24px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(0,0,0,.05), 0 1px 2px rgba(0,0,0,.02), 0 16px 34px -26px rgba(0,0,0,.18);
}
.omni-public .public-fact dt, .omni-public .public-card h3, .omni-public .public-step h3 { margin: 0 0 9px; color: var(--om-ink-strong); font-size: 18px; font-weight: 520; line-height: 1.3; letter-spacing: -.015em; }
.omni-public .public-fact dd, .omni-public .public-card p, .omni-public .public-step p { margin: 0; color: var(--om-muted); font-size: 14px; line-height: 1.55; }
.omni-public .public-card a:not(.om-btn), .omni-public .public-requisites a { color: var(--om-accent); overflow-wrap: anywhere; text-decoration-color: rgba(240,52,43,.25); text-underline-offset: 3px; }
.omni-public .public-step { display: grid; grid-template-columns: 40px minmax(0, 1fr); align-content: start; gap: 16px; }
.omni-public .public-step__number { display: grid; width: 36px; height: 36px; place-items: center; border: 0; border-radius: 10px; background: rgba(240,52,43,.09); color: var(--om-accent); font: 500 14px "JetBrains Mono", monospace; }
.omni-public .public-note { max-width: 820px; margin: 20px 0 0; color: rgba(29,31,32,.45); font-size: 13px; line-height: 1.55; }
.omni-public .public-requisites { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; margin: 0; }
.omni-public .public-requisites div { min-width: 0; padding: 16px 0; border-bottom: 1px solid var(--om-line-soft); }
.omni-public .public-requisites dt { color: rgba(29,31,32,.4); font: 11px/1.4 "JetBrains Mono", monospace; letter-spacing: .08em; text-transform: uppercase; }
.omni-public .public-requisites dd { margin: 6px 0 0; color: var(--om-ink-strong); line-height: 1.45; overflow-wrap: anywhere; }
.omni-public .public-cta {
  padding: clamp(30px, 4vw, 52px);
  border-radius: 20px;
  background: var(--om-ink-strong);
  color: #fff;
  box-shadow: 0 24px 54px -34px rgba(0,0,0,.5);
}
.omni-public .public-cta > h2 { max-width: 760px; margin-bottom: 14px; color: #fff; }
.omni-public .public-cta > p { max-width: 680px; margin: 0 0 24px; color: rgba(255,255,255,.62); }
.omni-public .public-cta > .public-note { margin: 12px 0 0; color: rgba(255,255,255,.42); }
.omni-public .public-download { display: grid; grid-template-columns: minmax(180px, .55fr) minmax(0, 1fr); align-items: center; gap: clamp(28px, 5vw, 64px); padding: clamp(28px, 4vw, 48px); border-radius: 20px; background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.05), 0 18px 40px -28px rgba(0,0,0,.18); }
.omni-public .public-download img { width: min(100%, 250px); margin-inline: auto; }
.omni-public .public-download h2 { margin-bottom: 10px; font-size: 28px; font-weight: 520; }
.omni-public .public-download p { color: var(--om-muted); line-height: 1.55; }
.omni-public .public-faq-list { overflow: hidden; border: 0; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.05), 0 12px 28px -18px rgba(0,0,0,.12); }
.omni-public .public-faq-item { border: 0; border-bottom: 1px solid var(--om-line-soft); }
.omni-public .public-faq-item:last-child { border-bottom: 0; }
.omni-public .public-faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 21px 24px; color: var(--om-ink-strong); font-size: 17px; font-weight: 500; line-height: 1.4; list-style: none; cursor: pointer; }
.omni-public .public-faq-item summary::-webkit-details-marker { display: none; }
.omni-public .public-faq-item summary::marker { content: ""; }
.omni-public .public-faq-item summary::after { width: 9px; height: 9px; flex: none; margin-right: 3px; border-right: 1.5px solid var(--om-accent); border-bottom: 1.5px solid var(--om-accent); content: ""; transform: rotate(45deg); transform-origin: center; transition: transform .2s var(--om-ease-strong); }
.omni-public .public-faq-item[open] summary::after { transform: rotate(225deg); }
.omni-public .public-faq-item > p { max-width: 850px; margin: 0; padding: 0 24px 20px; color: var(--om-muted); font-size: 14px; line-height: 1.62; }
.omni-public .public-faq-item > p + p { margin-top: -8px; }
.omni-public .public-section--anchor ol { padding-left: 22px; color: rgba(29,31,32,.7); line-height: 1.65; }
.omni-public .public-section--anchor li + li { margin-top: 7px; }
.omni-public .public-section--anchor a { color: var(--om-accent); text-underline-offset: 3px; }

.omni-public .landing-legal {
  width: min(1040px, calc(100% - 32px));
  max-width: none;
  margin-inline: auto;
  padding: clamp(48px, 7vw, 88px) 24px clamp(72px, 9vw, 112px);
  border-inline: 1px solid var(--om-line);
}
.omni-public .landing-legal__article { padding: clamp(28px, 5vw, 58px); border-radius: 20px; background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.05), 0 24px 52px -34px rgba(0,0,0,.2); }
.omni-public .landing-legal__title { margin: 0 0 12px; color: var(--om-ink-strong); font-size: clamp(34px, 4.5vw, 52px); font-weight: 560; line-height: 1.08; letter-spacing: -.04em; }
.omni-public .landing-legal__version { margin: 0 0 38px; color: rgba(29,31,32,.4); font: 11px/1.5 "JetBrains Mono", monospace; letter-spacing: .05em; }
.omni-public .landing-legal__body { color: rgba(29,31,32,.75); font-size: 15px; line-height: 1.72; }
.omni-public .landing-legal__body h2 { margin: 42px 0 14px; color: var(--om-ink-strong); font-size: clamp(23px, 2.5vw, 30px); font-weight: 540; letter-spacing: -.025em; }
.omni-public .landing-legal__body h2:first-child { margin-top: 0; }
.omni-public .landing-legal__body h3 { margin: 28px 0 10px; color: var(--om-ink-strong); font-size: 19px; font-weight: 540; }
.omni-public .landing-legal__body :where(p, ul, ol, table) { margin: 0 0 18px; }
.omni-public .landing-legal__body li + li { margin-top: 7px; }
.omni-public .landing-legal__body a { color: var(--om-accent); text-decoration-color: rgba(240,52,43,.25); text-underline-offset: 3px; overflow-wrap: anywhere; }
.omni-public .landing-legal__body table { display: block; width: 100%; overflow-x: auto; border-collapse: collapse; }
.omni-public .landing-legal__body th, .omni-public .landing-legal__body td { padding: 11px 12px; border: 1px solid var(--om-line); text-align: left; vertical-align: top; }
.omni-public .error-page { width: min(820px, calc(100% - 32px)); min-height: 56vh; margin: clamp(48px, 7vw, 88px) auto; padding: clamp(34px, 5vw, 58px); border-radius: 20px; background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.05), 0 24px 52px -34px rgba(0,0,0,.2); }
.omni-public .error-page h1 { margin: 0 0 14px; color: var(--om-ink-strong); font-size: clamp(38px, 6vw, 64px); font-weight: 560; letter-spacing: -.04em; }
.omni-public .error-page > p:not(.public-page__eyebrow) { margin-bottom: 26px; color: var(--om-muted); }

@media (max-width: 1023px) {
  .om-site-nav, .om-site-header__cabinet { display: none; }
  .om-menu-toggle { display: inline-flex; margin-left: auto; }
}

@media (max-width: 880px) {
  .om-steps { height: auto; min-height: 0; }
  .om-steps__layout { position: static; height: auto; min-height: 0; grid-template-columns: 1fr; gap: 32px; }
  .om-step-copy-list { display: block; margin: 24px 0 0; padding: 0; }
  .om-step-copy-list .om-step-rail { display: none; }
  .om-step-copy { display: none; padding: 0; }
  .om-step-copy.is-active { display: block; opacity: 1; }
  .om-step-copy button { cursor: default; pointer-events: none; }
  .om-step-copy .om-mono-label { display: none; }
  .om-step-tabs { display: flex; gap: 8px; }
  .om-step-tab { flex: 1; min-width: 0; padding: 4px 0 10px; border: 0; border-radius: 8px; background: none; color: rgba(29, 31, 32, .32); font: 11px "JetBrains Mono", monospace; letter-spacing: .12em; cursor: pointer; }
  .om-step-tab span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .om-step-tab i { position: relative; display: block; height: 3px; margin-top: 8px; overflow: hidden; border-radius: 3px; background: var(--om-line); }
  .om-step-tab i b { position: absolute; inset: 0 auto 0 0; width: 0; background: var(--om-accent); transition: width .15s linear; }
  .om-step-tab.is-active { color: var(--om-accent); }
  .om-steps__copy > .om-steps__actions { display: none; }
  .om-steps__actions--compact { display: flex; margin-top: -4px; }
  .om-steps__actions .om-btn { width: 100%; }
  .om-steps__actions .om-scroll-hint { display: none; }
  .om-demo { min-height: clamp(252px, 44vh, 400px); }
}

@media (max-width: 767px) {
  .om-shredder { height: 240vh; }
  .om-stats { height: 280vh; }
  .om-shredder__stage { padding-inline: 12px; }
  .om-shredder__band { margin-block: 12px; border-radius: 12px; }
}

@media (max-width: 560px) {
  .om-shell { width: min(1240px, calc(100% - 20px)); padding-inline: 16px; }
  .om-rails { width: min(1240px, calc(100% - 20px)); }
  .om-site-header__inner { height: 74px; }
  .om-steps__layout { min-height: 0; padding-block: 56px 72px; }
  .om-demo { padding: 20px; }
  .om-shredder__stage { padding-inline: 8px; }
  .om-shredder__band { margin-block: 8px; border-radius: 8px; }
  .om-shredder__machine { font-size: 10px; }
  .om-stats__sticky { padding-inline: 20px; }
  .om-stat strong { font-size: clamp(32px, 10vw, 48px); }
  .om-stat p { font-size: 13px; }
  .om-stats__progress i { width: 42px; }
  .om-quote blockquote { width: calc(100% - 40px); }
  .om-quote blockquote p { font-size: 25px; }
  .om-faq header { align-items: flex-start; flex-direction: column; }
  .om-faq__item summary { padding: 19px 18px; }
  .om-faq__panel-inner p { padding: 0 18px 20px; }
  .om-business__card { min-height: 0; padding: 24px; }
  .om-contact { align-items: stretch; flex-direction: column; }
  .om-contact .om-btn { width: 100%; }
  .om-footer__grid { grid-template-columns: 1fr; }
  .om-footer__legal { align-items: flex-start; flex-direction: column; }
  .om-footer__copyright { margin-left: 0; }
  .omni-public .public-page { width: min(1240px, calc(100% - 20px)); padding: 44px 16px 76px; }
  .omni-public .public-page__hero { margin-bottom: 46px; }
  .omni-public .public-page__title { font-size: clamp(36px, 12vw, 52px); }
  .omni-public .public-page__lead { margin-top: 16px; font-size: 16px; }
  .omni-public .public-page__content { gap: 48px; }
  .omni-public .public-section--statement,
  .omni-public .public-section--anchor,
  .omni-public .public-section.blueprint:not(.public-cta):not(.public-download),
  .omni-public .public-fact,
  .omni-public .public-card,
  .omni-public .public-step { padding: 22px; }
  .omni-public .public-requisites { grid-template-columns: 1fr; }
  .omni-public .public-download { grid-template-columns: 1fr; }
  .omni-public .public-download img { width: min(58%, 210px); }
  .omni-public .public-cta .om-btn { width: 100%; }
  .omni-public .public-faq-item summary { padding: 19px 18px; font-size: 15px; }
  .omni-public .public-faq-item > p { padding: 0 18px 18px; }
  .omni-public .landing-legal { width: min(1040px, calc(100% - 20px)); padding: 40px 16px 72px; }
  .omni-public .landing-legal__article { padding: 26px 22px; }
  .omni-public .landing-legal__body { font-size: 14px; }
  .omni-public .error-page { width: calc(100% - 20px); margin-block: 40px; padding: 28px 22px; }
  .omni-public .cookie-banner { right: 10px; bottom: 10px; left: 10px; display: flex; width: auto; align-items: stretch; flex-direction: column; padding: 20px; }
  .omni-public .cookie-banner__actions { flex-direction: column; }
  .omni-public .cookie-banner__actions .om-btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .om-shine { background: none; color: var(--om-ink-strong); animation: none; }
  .om-partners__track { width: auto; animation: none; transform: none; }
  .om-partners__row:first-child { flex: 1; flex-wrap: wrap; justify-content: center; gap: 16px 40px; padding-right: 0; }
  .om-partners__row[aria-hidden="true"] { display: none; }
  .om-card-art span::after, .om-card-art strong::after { animation: none; }
  .omni-body *, .omni-body *::before, .omni-body *::after { scroll-behavior: auto !important; animation-duration: .001ms !important; animation-delay: 0ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

/* Cabinet shell and existing server-rendered widgets. */
.om-cabinet-body { min-height: 100svh; background: var(--om-canvas) !important; }
.om-cabinet { min-height: 100svh; }
.om-cabinet-sidebar {
  position: fixed;
  z-index: 30;
  inset: 0 auto 0 0;
  display: flex;
  width: 264px;
  flex-direction: column;
  padding: 28px 20px;
  border-right: 1px solid var(--om-line);
  background: var(--om-canvas-alt);
}
.om-cabinet-sidebar__logo { margin-bottom: 36px; }
.om-cabinet-sidebar__logo img { width: auto; height: 32px; }
.om-cabinet-nav { display: flex; flex-direction: column; gap: 4px; margin: 0; padding: 0; list-style: none; }
.om-cabinet-nav__link { display: flex; width: 100%; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 12px; color: rgba(29, 31, 32, .62) !important; font-size: 14px; font-weight: 500; text-decoration: none !important; transition: color .2s, background .2s, box-shadow .2s; }
.om-cabinet-nav__link:hover { background: rgba(255, 255, 255, .6); color: var(--om-ink-strong) !important; }
.om-cabinet-nav__link.is-active { background: #fff; color: var(--om-ink-strong) !important; box-shadow: 0 0 0 1px rgba(0, 0, 0, .05), 0 1px 2px rgba(0, 0, 0, .03); }
.om-cabinet-nav__link svg { width: 22px; height: 22px; flex: none; fill: none; stroke: rgba(29, 31, 32, .4); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.om-cabinet-nav__link.is-active svg { stroke: var(--om-accent); }
.om-cabinet-sidebar__site { margin-top: auto; color: rgba(29, 31, 32, .5) !important; font-size: 13px; text-decoration: none; }
.om-cabinet-mobile-header, .om-cabinet-bottom { display: none; }
.om-cabinet-main { min-width: 0; min-height: 100svh; margin-left: 264px; padding: 48px max(36px, calc((100vw - 264px - 1060px) / 2)) 64px; }
.om-cabinet-page-header { margin-bottom: 32px; }
.om-cabinet-page-header h1 { margin: 0; color: var(--om-ink-strong); font-size: 34px; font-weight: 560; line-height: 1.12; letter-spacing: -.035em; }
.om-cabinet-page-header p { margin: 10px 0 0; color: var(--om-muted); font-size: 14px; line-height: 1.5; }
.om-cabinet-enter > * { animation: om-enter .3s var(--om-ease-strong) both; }
.om-cabinet-enter > *:nth-child(2) { animation-delay: 50ms; }
.om-cabinet-enter > *:nth-child(3) { animation-delay: 100ms; }
.om-cabinet-enter > *:nth-child(n+4) { animation-delay: 150ms; }

.om-cabinet-body .cabinet-card {
  border: 0;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .05), 0 1px 2px rgba(0, 0, 0, .02), 0 12px 28px -18px rgba(0, 0, 0, .12);
}
.om-cabinet-body button:focus-visible, .om-cabinet-body a:focus-visible, .om-cabinet-body input:focus-visible, .om-cabinet-body select:focus-visible { outline: 2px solid var(--om-accent); outline-offset: 2px; }
.om-cabinet-body button:disabled { opacity: .46; cursor: not-allowed; }

.om-cabinet-body .history-list { padding: 0; background: transparent; box-shadow: none; }
.om-cabinet-body .history-list__items { display: flex; flex-direction: column; gap: 12px; margin: 0; padding: 0; list-style: none; }
.om-cabinet-body .history-list__item { border: 0; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.05), 0 12px 28px -18px rgba(0,0,0,.12); }
.om-cabinet-body .history-list__link { display: flex; align-items: flex-start; flex-direction: column; gap: 12px; padding: 20px; color: inherit; text-decoration: none; }
.om-cabinet-body .history-list__when { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font-family: "JetBrains Mono", monospace; }
.om-cabinet-body .history-list__date { color: var(--om-ink-strong); font-size: 14px; }
.om-cabinet-body .history-list__time { color: rgba(29, 31, 32, .45); font-size: 14px; }
.om-cabinet-body .history-list__current { padding: 5px 8px; border: 0; border-radius: 6px; background: rgba(240,52,43,.1); color: var(--om-accent); font-size: 11px; }
.om-cabinet-body .history-list__report { min-width: 0; }
.om-cabinet-body .history-list__meta { display: block; overflow: hidden; color: var(--om-muted); font-size: 13px; text-overflow: ellipsis; white-space: normal; }
.om-cabinet-body .history-list__action,
.om-cabinet-body .history-list__action--current { min-height: 0; padding: 0; border: 0; background: transparent; color: var(--om-accent); font-size: 14px; font-weight: 500; white-space: nowrap; }
.om-cabinet-body .history-list__report strong { color: var(--om-ink-strong); font-size: 16px; font-weight: 540; }
.om-cabinet-body .history-deadlines { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 12px; }
.om-cabinet-body .history-deadlines span { padding: 6px 9px; border-radius: 7px; background: rgba(240,52,43,.08); color: var(--om-accent); font: 11px "JetBrains Mono", monospace; }
.om-cabinet-body .history-list__empty { padding: 44px; border-radius: 16px; background: #fff; text-align: center; }
.om-cabinet-body .history-list__empty-text { margin: 0; color: var(--om-muted); }
.om-cabinet-body .history-pagination { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 18px; padding: 14px 18px; border-radius: 12px; background: #fff; font-size: 13px; }
.om-cabinet-body .history-detail-back { margin: -12px 0 16px; }
.om-cabinet-body .history-detail-back__link { color: var(--om-accent); font-size: 13px; text-decoration: none; }

.om-cabinet-body .profile-screen { display: flex; flex-direction: column; gap: 16px; }
.om-cabinet-body .profile-card { padding: 24px; }
.om-cabinet-body .profile-card__header { margin-bottom: 20px; }
.om-cabinet-body .profile-card__title { margin: 0; color: var(--om-ink-strong); font-size: 17px; font-weight: 520; letter-spacing: -.02em; }
.om-cabinet-body .profile-card__caption { margin: 6px 0 0; color: var(--om-muted); font-size: 13px; line-height: 1.45; }
.om-cabinet-body .profile-field-label { display: block; margin-bottom: 8px; color: rgba(29,31,32,.34); font: 11px "JetBrains Mono", monospace; letter-spacing: .14em; text-transform: uppercase; }
.om-cabinet-body .profile-name-form { width: 100%; max-width: none; }
.om-cabinet-body .profile-name-row, .om-cabinet-body .profile-add-fields { display: flex; align-items: flex-end; gap: 14px; }
.om-cabinet-body .profile-input, .om-cabinet-body .profile-select { width: 100%; min-width: 0; height: 44px; padding: 0 13px; border: 0; border-radius: 12px; background: var(--om-canvas-alt); color: var(--om-ink); font: 14px "Golos Text", sans-serif; box-shadow: inset 0 0 0 1px var(--om-line), 0 1px 2px rgba(0,0,0,.03); }
.om-cabinet-body .profile-name-row .profile-input { flex: 1; }
.om-cabinet-body .profile-contact-list { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0; list-style: none; }
.om-cabinet-body .profile-contact-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(160px, auto) auto; align-items: center; gap: 12px 18px; padding: 14px 16px; border-radius: 12px; background: var(--om-canvas-alt); }
.om-cabinet-body .profile-contact-row__value { margin: 0; color: var(--om-ink-strong); font: 14px "JetBrains Mono", monospace; }
.om-cabinet-body .profile-contact-row__type { display: none; }
.om-cabinet-body .profile-contact-row__badges { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.om-cabinet-body .profile-badge { display: inline-flex; min-height: 24px; align-items: center; padding: 4px 8px; border-radius: 6px; font: 11px "JetBrains Mono", monospace; }
.om-cabinet-body .profile-badge--verified { background: rgba(240,52,43,.1); color: var(--om-accent); }
.om-cabinet-body .profile-badge--source { color: rgba(29,31,32,.42); }
.om-cabinet-body .profile-badge--stale { background: rgba(217,130,24,.1); color: var(--om-warning); }
.om-cabinet-body .profile-provenance-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.om-cabinet-body .profile-contact-row__actions { display: flex; align-items: center; gap: 8px; }
.om-cabinet-body .profile-contact-empty { padding: 12px 0; color: var(--om-muted); font-size: 14px; }
.om-cabinet-body .profile-inline-form { margin: 0; }
.om-cabinet-body .profile-remove-btn { padding: 6px 0; border: 0; background: none; color: rgba(29,31,32,.5); font: 500 13px "Golos Text", sans-serif; cursor: pointer; }
.om-cabinet-body .profile-remove-btn:hover { color: var(--om-accent); }
.om-cabinet-body .profile-add-details { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--om-line-soft); }
.om-cabinet-body .profile-add-cta { display: flex; justify-content: flex-start; margin: 0 0 16px; padding: 0; border: 0; color: rgba(29,31,32,.34); font: 11px "JetBrains Mono", monospace; letter-spacing: .14em; text-transform: uppercase; cursor: pointer; list-style: none; }
.om-cabinet-body .profile-add-cta::-webkit-details-marker { display: none; }
.om-cabinet-body .profile-add-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 14px; margin-top: 0; }
.om-cabinet-body .profile-verify-form { display: flex; flex-direction: column; gap: 12px; margin-top: 12px; }
.om-cabinet-body .profile-verify-hint { margin: 0; color: var(--om-muted); font-size: 14px; }
.om-cabinet-body .profile-add-fields { display: grid; grid-template-columns: 180px minmax(0, 1fr); align-items: end; gap: 8px 14px; }
.om-cabinet-body .profile-add-fields .profile-field-label:first-of-type { grid-column: 1; grid-row: 1; }
.om-cabinet-body .profile-add-fields .profile-select { grid-column: 1; grid-row: 2; }
.om-cabinet-body .profile-add-fields .profile-field-label:last-of-type { grid-column: 2; grid-row: 1; }
.om-cabinet-body .profile-add-fields .profile-input:not(.profile-select) { grid-column: 2; grid-row: 2; }
.om-cabinet-body .profile-passport-badge { display: inline-flex; margin-left: 8px; padding: 5px 8px; border-radius: 6px; background: rgba(240,52,43,.1); color: var(--om-accent); font: 10px "JetBrains Mono", monospace; }
.om-cabinet-body .profile-badge--browser { background: rgba(240,52,43,.1); color: var(--om-accent); }
.om-cabinet-body .profile-passport-banner { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 18px; }
.om-cabinet-body .profile-passport-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.om-cabinet-body .profile-passport-field { min-width: 0; }
.om-cabinet-body .profile-passport-field--wide { grid-column: 1 / -1; }
.om-cabinet-body .profile-passport-hint { color: var(--om-muted); font-size: 12px; line-height: 1.5; }
.om-cabinet-body .profile-passport-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 20px; }
.om-cabinet-body .profile-logout, .om-cabinet-body .profile-delete-entry { display: inline-flex; margin: 0; }
.om-cabinet-body .profile-logout { padding: 0; border: 0; background: transparent; }
.om-cabinet-body .profile-logout form { margin: 0; }
.om-cabinet-body .profile-delete-link { display: inline-flex; padding: 10px 14px; border-radius: 10px; background: rgba(240,52,43,.08); color: var(--om-accent); font-size: 14px; text-decoration: none; }
@media (hover: hover) {
  .om-cabinet-body .profile-delete-link:hover { background: rgba(240,52,43,.13); color: var(--om-accent); text-decoration: none; }
  .om-cabinet-body .profile-remove-btn:hover { background: transparent; color: var(--om-accent); text-decoration: none; }
  .om-auth-resend-form button:hover:not(:disabled) { color: var(--om-accent-hover); }
}
.om-cabinet-body .profile-screen > .profile-logout { margin-top: 4px; }
.om-cabinet-body .profile-flash { margin: 0; padding: 12px 16px; border-radius: 12px; font-size: 13px; }
.om-cabinet-body .profile-flash--success { background: rgba(42,143,82,.1); color: var(--om-success); }
.om-cabinet-body .profile-flash--error { background: rgba(240,52,43,.1); color: var(--om-accent); }
.om-cabinet-body .profile-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.om-cabinet-body .account-delete-screen { max-width: 560px; }
.om-cabinet-body .account-delete-warning { margin: 0; color: var(--om-ink); font-size: 15px; line-height: 1.5; }
.om-cabinet-body .account-delete-form { display: flex; flex-direction: column; gap: 16px; margin-top: 8px; }
.om-cabinet-body .account-delete-confirm-label { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; line-height: 1.45; cursor: pointer; }
.om-cabinet-body .account-delete-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.om-cabinet-body .om-confirm-dialog { position: fixed; inset: 0; width: min(430px, calc(100% - 32px)); max-width: none; margin: auto; padding: 0; border: 0; border-radius: 18px; background: #fff; color: var(--om-ink); box-shadow: 0 0 0 1px rgba(0,0,0,.06), 0 30px 80px -30px rgba(0,0,0,.5); }
.om-cabinet-body .om-confirm-dialog::backdrop { background: rgba(20,21,22,.38); backdrop-filter: blur(3px); }
.om-cabinet-body .om-confirm-dialog[open] { animation: om-confirm-in .22s var(--om-ease-strong) both; }
@keyframes om-confirm-in { from { opacity: 0; transform: translateY(10px) scale(.985); } to { opacity: 1; transform: none; } }
.om-cabinet-body .om-confirm-dialog__body { padding: 28px; }
.om-cabinet-body .om-confirm-dialog__body > .om-eyebrow { margin: 0 0 12px; color: var(--om-accent); }
.om-cabinet-body .om-confirm-dialog h2 { margin: 0; color: var(--om-ink-strong); font-size: 24px; font-weight: 550; letter-spacing: -.03em; }
.om-cabinet-body .om-confirm-dialog [data-confirm-dialog-description] { margin: 12px 0 0; color: var(--om-muted); font-size: 14px; line-height: 1.55; }
.om-cabinet-body .om-confirm-dialog__actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 26px; }

@media (max-width: 1023px) {
  .om-cabinet-sidebar { display: none; }
  .om-cabinet-mobile-header { position: sticky; z-index: 30; top: 0; display: flex; height: 64px; align-items: center; padding: 0 16px; border-bottom: 1px solid var(--om-line); background: rgba(249,248,247,.9); backdrop-filter: blur(12px); }
  .om-cabinet-mobile-header .om-logo img { height: 32px; }
  .om-cabinet-main { min-height: calc(100svh - 64px); margin-left: 0; padding: 48px 32px calc(100px + env(safe-area-inset-bottom)); }
  .om-cabinet-bottom { position: fixed; z-index: 40; right: 0; bottom: 0; left: 0; display: block; padding-bottom: env(safe-area-inset-bottom); border-top: 1px solid var(--om-line); background: rgba(249,248,247,.94); backdrop-filter: blur(14px); }
  .om-cabinet-bottom ul { display: flex; width: min(520px, 100%); margin: 0 auto; padding: 0; list-style: none; }
  .om-cabinet-bottom li { min-width: 0; flex: 1; }
  .om-cabinet-bottom a { display: flex; height: 68px; align-items: center; justify-content: center; flex-direction: column; gap: 5px; color: rgba(29,31,32,.45); text-decoration: none; }
  .om-cabinet-bottom a.is-active { color: var(--om-accent); }
  .om-cabinet-bottom svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
  .om-cabinet-bottom span { display: block; max-width: 100%; overflow: hidden; padding-inline: 2px; font-size: 11px; font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }
}

@media (max-width: 700px) {
  .om-cabinet-main { padding: 48px 16px calc(96px + env(safe-area-inset-bottom)); }
  .om-cabinet-main:has(.document-task) { padding-top: 24px; padding-bottom: calc(84px + env(safe-area-inset-bottom)); }
  .om-cabinet-page-header { margin-bottom: 28px; }
  .om-cabinet-page-header h1 { font-size: 29px; }
  .om-cabinet-page-header p { font-size: 14px; line-height: 1.55; }
  .om-cabinet-body .history-list__link { display: flex; align-items: stretch; flex-direction: column; gap: 14px; padding: 20px; }
  .om-cabinet-body .history-list__meta { white-space: normal; }
  .om-cabinet-body .history-list__action { margin-top: 4px; }
  .om-cabinet-body .profile-card { padding: 22px; }
  .om-cabinet-body .profile-name-row, .om-cabinet-body .profile-add-fields { align-items: stretch; flex-direction: column; }
  .om-cabinet-body .profile-add-form { display: flex; align-items: stretch; flex-direction: column; }
  .om-cabinet-body .profile-add-fields { display: grid; grid-template-columns: 1fr; }
  .om-cabinet-body .profile-add-fields .profile-field-label:first-of-type,
  .om-cabinet-body .profile-add-fields .profile-select,
  .om-cabinet-body .profile-add-fields .profile-field-label:last-of-type,
  .om-cabinet-body .profile-add-fields .profile-input:not(.profile-select) { grid-column: 1; grid-row: auto; }
  .om-cabinet-body .profile-name-row > .om-btn, .om-cabinet-body .profile-add-form > .om-btn { width: 100%; }
  .om-cabinet-body .profile-contact-row { grid-template-columns: minmax(0, 1fr) auto; gap: 10px; }
  .om-cabinet-body .profile-contact-row__badges { grid-column: 1; grid-row: 2; }
  .om-cabinet-body .profile-contact-row__actions { grid-column: 2; grid-row: 1 / span 2; }
  .om-cabinet-body .profile-passport-grid { grid-template-columns: 1fr; }
  .om-cabinet-body .profile-passport-field--wide { grid-column: auto; }
  .om-cabinet-body .om-confirm-dialog__body { padding: 24px; }
  .om-cabinet-body .om-confirm-dialog__actions { align-items: stretch; flex-direction: column-reverse; }
  .om-cabinet-body .om-confirm-dialog__actions .om-btn { width: 100%; }
}

/* Authentication wizard. */
.om-auth-body { position: relative; display: flex; min-height: 100svh; align-items: center; justify-content: center; overflow-x: hidden; overflow-y: auto; padding: max(40px, env(safe-area-inset-top)) 16px max(40px, env(safe-area-inset-bottom)); background: var(--om-canvas) !important; -webkit-overflow-scrolling: touch; }
.om-auth-body > .om-code-field { position: fixed; }
.om-auth-card { position: relative; z-index: 2; width: min(452px, 100%); padding: 28px 32px 30px; }
.om-auth-logo { display: block; width: fit-content; margin: 0 auto 22px; border-radius: 8px; }
.om-auth-logo img { display: block; width: auto; height: 56px; }
.om-auth-progress { display: flex; align-items: center; flex-direction: column; gap: 8px; margin-bottom: 24px; }
.om-auth-progress p { margin: 0; }
.om-auth-progress > div { display: flex; gap: 7px; }
.om-auth-progress i { display: block; width: 40px; height: 3px; border-radius: 3px; background: rgba(29,31,32,.12); }
.om-auth-progress i.is-active { background: var(--om-accent); }
.om-auth-stage h1 { margin: 0; color: var(--om-ink-strong); font-size: 26px; font-weight: 550; line-height: 1.15; letter-spacing: -.03em; text-align: center; }
.om-auth-subtitle { max-width: 340px; margin: 10px auto 0; color: rgba(29,31,32,.55); font-size: 13.5px; line-height: 1.55; text-align: center; }
.om-auth-subtitle strong { color: var(--om-ink-strong); font-family: "JetBrains Mono", monospace; font-weight: 400; white-space: nowrap; }
.om-auth-alert { margin: 0 0 18px; padding: 11px 13px; border-radius: 10px; font-size: 12px; line-height: 1.45; }
.om-auth-alert--error { background: rgba(240,52,43,.08); color: var(--om-accent); }
.om-auth-alert--success { background: rgba(42,143,82,.1); color: var(--om-success); }
.om-auth-form { display: flex; flex-direction: column; gap: 20px; margin-top: 28px; }
.om-auth-field { display: flex; flex-direction: column; gap: 8px; }
.om-auth-field input { width: 100%; height: 48px; padding: 0 13px; border: 0; border-radius: 12px; background: var(--om-canvas-alt); color: var(--om-ink); font: 16px "JetBrains Mono", monospace; letter-spacing: .02em; box-shadow: inset 0 0 0 1px var(--om-line), 0 2px 5px rgba(0,0,0,.04); }
.om-auth-field input:focus { outline: 2px solid rgba(240,52,43,.25); outline-offset: 1px; }
.om-auth-consents { display: flex; flex-direction: column; gap: 13px; margin: 0; padding: 0; border: 0; }
.om-auth-consents > label { display: grid; grid-template-columns: 18px minmax(0, 1fr); align-items: start; gap: 9px; color: rgba(29,31,32,.68); font-size: 12.5px; line-height: 1.5; cursor: pointer; }
.om-auth-consents input { width: 18px; height: 18px; margin: 1px 0 0; border: 1px solid var(--om-line); border-radius: 6px; accent-color: var(--om-accent); }
.om-auth-consents a { color: var(--om-accent); text-decoration-color: rgba(240,52,43,.22); text-underline-offset: 3px; }
.om-auth-form > .om-btn, .om-auth-stage > .om-btn { width: 100%; }
.om-auth-providers { display: grid; gap: 10px; }
.om-vkid-button, .om-yandex-button { position: relative; display: flex; width: 100%; min-height: 48px; align-items: center; justify-content: center; gap: 9px; padding: 0 18px; border: 0; border-radius: 12px; font: 500 15px "Golos Text", sans-serif; transition: opacity .16s ease, transform .16s ease, filter .16s ease; cursor: pointer; }
.om-vkid-button { background: #0077ff; color: #fff; }
.om-yandex-button { background: #111; color: #fff; }
.om-vkid-button svg { flex: none; }
.om-yandex-button__mark { display: grid; width: 24px; height: 24px; flex: none; place-items: center; border-radius: 7px; background: #fff; color: #fc3f1d; font: 600 17px/1 "Arial", sans-serif; }
.om-vkid-button:disabled, .om-yandex-button:disabled, .om-auth-form > .om-btn:disabled { opacity: .42; cursor: not-allowed; }
@media (hover: hover) { .om-vkid-button:hover:not(:disabled), .om-yandex-button:hover:not(:disabled) { filter: brightness(.94); transform: translateY(-1px); } }
.om-auth-divider { margin: 20px 0; color: rgba(29,31,32,.32); font: 11px "JetBrains Mono", monospace; letter-spacing: .14em; text-align: center; text-transform: uppercase; }
.om-auth-legal { margin: 24px 0 0; color: rgba(29,31,32,.4); font-size: 12px; line-height: 1.6; text-align: center; }
.om-auth-consents > label.is-validation-shake { color: var(--om-accent); animation: om-validation-shake .34s var(--om-ease-strong); }
.om-auth-consents input[aria-invalid="true"] { outline: 2px solid rgba(240,52,43,.34); outline-offset: 2px; }
@keyframes om-validation-shake { 0%, 100% { transform: translateX(0); } 22% { transform: translateX(-5px); } 44% { transform: translateX(4px); } 66% { transform: translateX(-3px); } 82% { transform: translateX(2px); } }
.om-auth-toast { position: fixed; z-index: 60; top: max(18px, env(safe-area-inset-top)); left: 50%; display: flex; width: min(430px, calc(100% - 24px)); align-items: center; gap: 10px; padding: 12px 14px; border-radius: 12px; background: var(--om-ink-strong); color: #fff; box-shadow: 0 20px 48px -24px rgba(0,0,0,.55); opacity: 0; transform: translate(-50%, -10px); transition: opacity .18s ease, transform .18s var(--om-ease-strong); pointer-events: none; }
.om-auth-toast[hidden] { display: none; }
.om-auth-toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
.om-auth-toast > span { display: grid; width: 22px; height: 22px; flex: none; place-items: center; border-radius: 50%; background: var(--om-accent); font: 600 12px "JetBrains Mono", monospace; }
.om-auth-toast p { margin: 0; font-size: 13px; line-height: 1.4; }

@media (max-width: 560px) {
  .om-auth-body { align-items: flex-start; padding: max(24px, env(safe-area-inset-top)) 16px max(28px, env(safe-area-inset-bottom)); }
  .om-auth-card { padding: 26px 24px 28px; }
  .om-auth-logo img { height: 60px; }
  .om-auth-stage h1 { font-size: 25px; }
  .om-auth-subtitle { font-size: 13px; }
  .om-auth-actions .om-btn:first-child { width: 104px; padding-inline: 10px; }
}
@media (max-height: 740px) { .om-auth-body { align-items: flex-start; } }

/* Targeted 152-FZ document composer and preview. */
.document-task {
  display: flex;
  min-height: calc(100svh - 112px);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 24px;
}
.document-task__header { width: min(720px, 100%); text-align: center; }
.document-task__header .om-mono-label { margin: 0 0 10px; }
.document-task__header h1, .document-preview-page__header h1 {
  margin: 0;
  color: var(--om-ink-strong);
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 560;
  line-height: 1.08;
  letter-spacing: -.04em;
}
.document-task__header > p:last-child {
  margin: 12px 0 0;
  color: var(--om-muted);
  font-size: 14px;
}
.composer-panel {
  display: grid;
  width: min(720px, 100%);
  height: 570px;
  grid-template-rows: minmax(0, 1fr) 72px 54px;
  overflow: hidden;
}
.composer-panel__content { min-height: 0; overflow: auto; padding: 28px 30px 20px; }
.composer-inn { display: flex; flex-direction: column; gap: 9px; }
.composer-inn input, .composer-details input, .composer-identity input {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  border: 0;
  border-radius: 12px;
  background: var(--om-canvas-alt);
  color: var(--om-ink-strong);
  font: 16px "JetBrains Mono", monospace;
  box-shadow: inset 0 0 0 1px var(--om-line), 0 1px 2px rgba(0,0,0,.03);
}
.composer-inn input.is-invalid,
.composer-identity input.is-invalid { box-shadow: inset 0 0 0 1px var(--om-accent); }
.composer-empty {
  display: grid;
  min-height: 250px;
  place-items: center;
  align-content: center;
  gap: 12px;
  color: rgba(29,31,32,.34);
  text-align: center;
}
.composer-empty span {
  display: grid;
  width: 72px;
  height: 72px;
  place-items: center;
  border: 1px solid var(--om-line);
  border-radius: 50%;
  font: 12px "JetBrains Mono", monospace;
  letter-spacing: .14em;
}
.composer-empty p { max-width: 340px; margin: 0; font-size: 13px; line-height: 1.5; }
.operator-card {
  margin-top: 18px;
  padding: 18px;
  border-radius: 14px;
  background: var(--om-canvas-alt);
  box-shadow: inset 0 0 0 1px var(--om-line);
}
.operator-card > .om-mono-label { margin: 0 0 8px; color: var(--om-accent); }
.operator-card h2 {
  margin: 0;
  color: var(--om-ink-strong);
  font-size: 17px;
  font-weight: 540;
  line-height: 1.35;
}
.operator-card dl { display: grid; gap: 7px; margin: 14px 0 0; }
.operator-card dl div { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 12px; }
.operator-card dt { color: rgba(29,31,32,.42); font: 11px/1.45 "JetBrains Mono", monospace; }
.operator-card dd { margin: 0; color: rgba(29,31,32,.7); font-size: 12.5px; line-height: 1.45; overflow-wrap: anywhere; }
.document-choice { display: grid; gap: 8px; margin: 22px 0 0; padding: 0; border: 0; }
.document-choice legend { margin-bottom: 9px; }
.document-choice__option {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: start;
  gap: 11px;
  padding: 14px;
  border-radius: 12px;
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--om-line);
  cursor: pointer;
}
.document-choice__option:has(input:checked) { box-shadow: inset 0 0 0 1.5px var(--om-accent); }
.document-choice__option input { width: 17px; height: 17px; margin: 2px 0 0; accent-color: var(--om-accent); }
.document-choice__option span { display: flex; min-width: 0; flex-direction: column; gap: 4px; }
.document-choice__option strong { color: var(--om-ink-strong); font-size: 14px; font-weight: 520; }
.document-choice__option small { color: var(--om-muted); font-size: 12px; line-height: 1.45; }
.composer-details { display: grid; gap: 14px; margin-top: 20px; }
.composer-details label { display: flex; flex-direction: column; gap: 8px; }
.composer-details input,
.composer-identity input { height: 44px; font: 14px "Golos Text", sans-serif; }
.composer-panel__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 30px;
  border-top: 1px solid var(--om-line-soft);
}
.composer-panel__actions .om-btn { min-width: 220px; }
.composer-panel__actions .om-btn:disabled {
  background: #f2f0ee;
  color: rgba(29,31,32,.32) !important;
  box-shadow: inset 0 0 0 1px var(--om-line);
  filter: none;
  opacity: 1;
}
.composer-panel__message {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 5px 24px 10px;
  color: rgba(29,31,32,.45);
  font-size: 12px;
  line-height: 1.45;
  text-align: center;
}
.composer-panel__message.is-error, .composer-panel__message.is-success { color: var(--om-accent); }
.activity-pulse { display: none; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.composer-panel.is-busy .activity-pulse { display: inline-block; animation: om-activity-pulse .9s ease-in-out infinite; }
@keyframes om-activity-pulse { 50% { opacity: .25; transform: scale(.72); } }

/*
 * CheckPage parity with the executable design reference (mvoro/omni e914b55).
 * The product keeps its server-rendered INN lookup; the framing, tabs, fixed
 * panel rows and future-source stubs mirror the reference result.
 */
.document-task {
  width: min(880px, 100%);
  margin: 0 auto;
  gap: 0;
}
.document-task__header {
  width: min(800px, 100%);
  margin-bottom: 32px;
  text-align: center;
}
.document-task__header h1 {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 560;
  line-height: 1.15;
  letter-spacing: -.03em;
}
.document-task__header > p:last-child {
  max-width: 620px;
  margin: 8px auto 0;
  font-size: 14px;
  line-height: 1.5;
}
.check-flow { width: 100%; }
.check-mode-tabs {
  display: grid;
  width: min(420px, 100%);
  height: 46px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
  margin: 0 auto;
  padding: 4px;
  border-radius: 16px;
  background: var(--om-line-faint, #f3f1ef);
}
.check-mode-tab {
  display: flex;
  min-width: 0;
  height: 38px;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: rgba(29,31,32,.55);
  font: 500 13.5px "Golos Text", sans-serif;
  cursor: pointer;
  transition: color .2s, background .2s, box-shadow .2s;
}
.check-mode-tab.is-active {
  background: #fff;
  color: var(--om-ink-strong);
  box-shadow: 0 0 0 1px rgba(0,0,0,.05), 0 1px 2px rgba(0,0,0,.04);
}
.check-mode-tab__short { display: none; }
.check-mode-tab__long, .check-mode-tab__short {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.check-tabpanel {
  width: min(784px, calc(100% - 16px));
  margin: 0 auto;
}
.check-tabpanel[hidden],
[data-search-stage][hidden] { display: none !important; }
.check-panel,
.composer-panel {
  display: grid;
  width: 100%;
  height: clamp(356px, 44vh, 396px);
  grid-template-rows: minmax(0, 1fr) 40px 82px;
  overflow: hidden;
}
.composer-panel__content {
  display: flex;
  min-height: 0;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 0;
}
.composer-panel.has-operator .composer-panel__content {
  display: block;
  overflow-y: auto;
  padding: 16px 8px;
  scrollbar-gutter: stable;
}
.composer-inn {
  display: flex;
  width: min(480px, 100%);
  flex-direction: column;
  gap: 10px;
  text-align: center;
}
.composer-panel.has-operator .composer-inn {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
}
.composer-inn input,
.search-inn-panel__content input {
  width: 100%;
  height: 56px;
  padding: 0 12px;
  border: 0;
  border-bottom: 1px solid #e4e0dc;
  border-radius: 0;
  background: transparent;
  color: var(--om-ink-strong);
  font: 22px "JetBrains Mono", monospace;
  letter-spacing: .08em;
  text-align: center;
  box-shadow: none;
  transition: border-color .15s;
}
.composer-inn input:focus,
.search-inn-panel__content input:focus { border-color: var(--om-accent); outline: 0; }
.composer-inn input.is-invalid,
.search-inn-panel__content input.is-invalid {
  border-color: var(--om-accent);
  box-shadow: none;
}
.composer-inn input::placeholder,
.search-inn-panel__content input::placeholder { color: rgba(29,31,32,.28); }
.composer-panel__actions,
.check-panel__actions {
  display: flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0;
  border: 0;
}
.composer-panel__actions .om-btn,
.check-panel__actions .om-btn {
  width: auto;
  min-width: 0;
  height: 40px;
}
.composer-panel__actions .om-btn { min-width: 181px; }
.composer-panel__actions .om-btn:disabled {
  background: #f2f0ee;
  color: rgba(29,31,32,.32) !important;
  box-shadow: inset 0 0 0 1px var(--om-line);
  filter: none;
  opacity: 1;
}
.composer-panel__foot,
.check-panel__foot {
  display: flex;
  height: 64px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
  margin-top: 18px;
}
.composer-panel__message {
  display: flex;
  width: 100%;
  height: 36px;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  font-size: 12.5px;
  line-height: 1.4;
}
.composer-panel__mode-link {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--om-accent);
  font: 500 12.5px "Golos Text", sans-serif;
  cursor: pointer;
}
.search-sources {
  display: flex;
  width: min(480px, 100%);
  height: 188px;
  align-self: center;
  flex-direction: column;
  gap: 8px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}
.search-source {
  display: flex;
  min-height: 57px;
  flex: 1;
  align-items: center;
  gap: 12px;
  padding: 8px 14px;
  border-radius: 12px;
  text-align: left;
}
.search-source.is-selected {
  border: 1px solid rgba(240,52,43,.5);
  background: rgba(240,52,43,.04);
}
.search-source.is-coming { border: 1px dashed #e4e0dc; }
.search-source__copy {
  display: block;
  min-width: 0;
  flex: 1;
}
.search-source__copy strong {
  display: block;
  overflow: hidden;
  color: var(--om-ink-strong);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.search-source__copy small {
  display: block;
  margin-top: 2px;
  color: rgba(29,31,32,.5);
  font-size: 12.5px;
  line-height: 1.3;
}
.search-source.is-coming .search-source__copy strong { color: rgba(29,31,32,.42); }
.search-source.is-coming .search-source__copy small { color: rgba(29,31,32,.35); }
.search-source__selected {
  display: grid;
  width: 18px;
  height: 18px;
  flex: none;
  place-items: center;
  border-radius: 50%;
  background: var(--om-accent);
  color: #fff;
  font: 10px/1 "Golos Text", sans-serif;
}
.search-source__soon {
  flex: none;
  padding: 3px 6px;
  border-radius: 6px;
  background: var(--om-line-faint, #f3f1ef);
  color: rgba(29,31,32,.45);
  font: 10.5px/1.3 "JetBrains Mono", monospace;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.check-step-bars { display: flex; gap: 7px; }
.check-step-bars i {
  display: block;
  width: 64px;
  height: 3px;
  border-radius: 3px;
  background: var(--om-line);
}
.check-step-bars i.is-active { background: var(--om-accent); }
.check-panel__foot .om-mono-label { margin: 0; }
.search-inn-panel__content {
  width: min(480px, 100%);
  align-self: center;
  margin: 0 auto;
  text-align: center;
}
.search-inn-panel__message {
  display: flex;
  min-height: 36px;
  max-width: 360px;
  align-items: center;
  justify-content: center;
  margin: 12px auto 0;
  color: rgba(29,31,32,.45);
  font-size: 12.5px;
  line-height: 1.35;
  text-align: center;
}
.search-inn-panel__message.is-error { color: var(--om-accent); }
.search-inn-panel.is-busy .activity-pulse {
  display: inline-block;
  animation: om-activity-pulse .9s ease-in-out infinite;
}
.composer-panel.has-operator .operator-card { margin-top: 18px; }
.composer-identity {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--om-line-soft);
}
.composer-identity__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 14px;
}
.composer-identity__header h3 { margin: 0; color: var(--om-ink-strong); }
.composer-identity__header p {
  max-width: 360px;
  margin: -2px 0 0;
  color: var(--om-muted);
  font-size: 12px;
  line-height: 1.45;
  text-align: right;
}
.composer-identity__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.composer-identity__grid label {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 8px;
}
.composer-identity__wide { grid-column: 1 / -1; }
.composer-identity input:focus {
  outline: 0;
  box-shadow: inset 0 0 0 1px rgba(240,52,43,.72), 0 1px 2px rgba(0,0,0,.03);
}
.composer-identity input.is-invalid {
  box-shadow: inset 0 0 0 1px var(--om-accent), 0 1px 2px rgba(0,0,0,.03);
}

@media (min-width: 1024px) {
  .om-cabinet-main:has(.document-task) {
    padding-top: 52px;
    padding-bottom: 60px;
  }
}
@media (max-width: 1023px) {
  .om-cabinet-main:has(.document-task) {
    padding: 0 24px calc(68px + env(safe-area-inset-bottom));
  }
  .document-task {
    min-height: calc(100svh - 64px - 68px - env(safe-area-inset-bottom));
  }
}
@media (max-width: 700px) {
  .om-cabinet-main:has(.document-task) {
    padding: 0 16px calc(68px + env(safe-area-inset-bottom));
  }
  .document-task {
    min-height: calc(100svh - 64px - 68px - env(safe-area-inset-bottom));
    align-items: center;
    justify-content: center;
  }
  .document-task__header {
    margin-bottom: 22px;
    text-align: center;
  }
  .document-task__header h1 { font-size: 26px; }
  .document-task__header > p:last-child { font-size: 14px; }
  .check-mode-tab__long { display: none; }
  .check-mode-tab__short { display: block; }
  .check-mode-tab { padding-inline: 8px; }
  .composer-panel__content,
  .composer-panel.has-operator .composer-panel__content { padding-inline: 0; }
  .composer-panel.has-operator .composer-panel__content { padding-block: 12px; }
  .composer-identity__header { display: block; }
  .composer-identity__header p { margin-top: 7px; text-align: left; }
  .composer-identity__grid { grid-template-columns: 1fr; }
  .composer-identity__wide { grid-column: auto; }
  .search-source { padding-inline: 14px; }
  .search-sources { transform: translateY(1px); }
  .search-source__copy small { font-size: 12px; }
}

.document-preview-page { width: min(780px, 100%); margin: 0 auto; padding-bottom: 12px; }
.document-preview-page__header { margin-bottom: 24px; }
.document-preview-page__header > a { display: inline-block; margin-bottom: 28px; color: var(--om-accent); font-size: 13px; text-decoration: none; }
.document-preview-page__header .om-mono-label { margin: 0 0 8px; }
.letter-preview { overflow: hidden; }
.letter-preview__envelope { display: grid; gap: 10px; margin: 0; padding: 20px 24px; border-bottom: 1px solid var(--om-line-soft); }
.letter-preview__envelope div { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 12px; }
.letter-preview__envelope dt { color: rgba(29,31,32,.36); font: 11px "JetBrains Mono", monospace; letter-spacing: .12em; text-transform: uppercase; }
.letter-preview__envelope dd { margin: 0; color: var(--om-ink-strong); font-size: 13px; overflow-wrap: anywhere; }
.letter-preview pre {
  margin: 0;
  padding: 28px;
  color: rgba(29,31,32,.72);
  font: 12px/1.7 "JetBrains Mono", monospace;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.document-delivery-note { margin: 16px 0; padding: 15px 17px; border-radius: 12px; background: rgba(240,52,43,.07); color: rgba(29,31,32,.66); font-size: 13px; line-height: 1.5; }
.document-actions { display: flex; justify-content: flex-end; gap: 10px; }

@media (max-width: 1023px) {
  .document-task {
    min-height: calc(100svh - 64px - 68px - env(safe-area-inset-bottom));
    transform: translateY(-4px);
  }
  .document-task__header { margin-bottom: 24px; }
}
@media (max-width: 700px) {
  .document-task {
    min-height: calc(100svh - 64px - 68px - env(safe-area-inset-bottom));
    align-items: center;
    justify-content: center;
    gap: 0;
  }
  .document-task__header { margin-bottom: 23px; text-align: center; }
  .document-task__header h1 { font-size: 26px; }
  .document-task__header > p:last-child { line-height: 20px; }
  .document-preview-page__header h1 { font-size: 32px; }
  .composer-panel {
    height: clamp(356px, 44vh, 396px);
    min-height: 0;
  }
  .composer-panel__content { padding: 0; }
  .composer-panel.has-operator .composer-panel__content { padding-block: 12px; }
  .composer-panel__actions { padding: 0; }
  .composer-panel__actions .om-btn { width: auto; min-width: 181px; }
  .operator-card dl div { grid-template-columns: 1fr; gap: 2px; }
  .letter-preview__envelope, .letter-preview pre { padding: 20px; }
  .letter-preview__envelope div { grid-template-columns: 1fr; gap: 4px; }
  .document-actions {
    position: sticky;
    z-index: 35;
    bottom: calc(68px + env(safe-area-inset-bottom));
    align-items: stretch;
    flex-direction: column;
    margin: 0 -16px;
    padding: 12px 16px;
    border-top: 1px solid var(--om-line);
    background: rgba(249,248,247,.96);
    backdrop-filter: blur(14px);
  }
  .document-actions .om-btn { width: 100%; }
}
