@font-face {
  font-family: Tektur;
  src: url("fonts/tektur-cyrillic.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
  font-family: Tektur;
  src: url("fonts/tektur-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
:root {
  color-scheme: dark;
  --bg: #13101b;
  --rail: #171222;
  --panel: #20182c;
  --panel-dark: #1a1427;
  --line: #3c304d;
  --text: #faf4fc;
  --muted: #c7bbd2;
  --faint: #ad9ebc;
  --accent: #d0adff;
  --pink: #ffb1cf;
  --spectrum: linear-gradient(111deg, #bba4ff 4%, #dd9aff 33%, #ffadcb 61%, #ffcf97 96%);
  --gold: #ffd09a;
  --display: Tektur, "Segoe UI", sans-serif;
  --body: "Segoe UI", system-ui, sans-serif;
  --mono: Consolas, "Courier New", monospace;
  --side: 240px;
  --top: 62px;
  --gutter: clamp(22px, 3.5vw, 58px);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 0; font: 16px/1.55 var(--body); background: var(--bg); color: var(--text); }
body:has(.drawer[open]) { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button, select { cursor: pointer; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
::selection { color: var(--bg); background: var(--accent); }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-family: var(--display); line-height: 1.12; font-weight: 650; }
h1, h2 { letter-spacing: -.025em; }
p { color: var(--muted); }
code, pre { font-family: var(--mono); }
.sr-only, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { position: fixed; inset: 8px auto auto 12px; z-index: 20; padding: 10px; background: var(--bg); }

.sidebar { position: fixed; inset: 0 auto 0 0; width: var(--side); display: flex; flex-direction: column; z-index: 6; background: var(--rail); border-right: 1px solid var(--line); }
.sidebar-brand { padding: 24px 22px 23px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 700 22px/.92 var(--display); width: max-content; letter-spacing: -.035em; }
.brand small { display: block; margin-top: 6px; color: var(--faint); font: 500 12px/1.2 var(--body); letter-spacing: 0; white-space: nowrap; }
.brand-mark { display: block; position: relative; flex: 0 0 auto; width: 26px; height: 26px; }
.brand-mark::before, .brand-mark::after { content: ""; position: absolute; inset: 0; background: var(--spectrum); }
.brand-mark::before { clip-path: polygon(0 29%, 29% 0, 100% 0, 100% 25%, 39% 25%, 25% 39%, 25% 100%, 0 100%); }
.brand-mark::after { clip-path: polygon(39% 55%, 65% 29%, 100% 29%, 100% 49%, 73% 49%, 39% 82%); }
.navigation { flex: 1; min-height: 0; overflow: auto; scrollbar-width: thin; padding: 15px 12px 20px; }
.navigation a { position: relative; display: flex; align-items: center; gap: 10px; min-height: 40px; border: 1px solid transparent; padding: 5px 9px; color: var(--muted); font-size: 14px; line-height: 1.25; }
.navigation a:hover { color: var(--text); background: #2a2038; }
.navigation a[aria-current="page"] { color: var(--accent); background: linear-gradient(90deg,#38274d,#241b32); border-color: #5f4479; }
.navigation a[aria-current="page"]::before { content: ""; position: absolute; left: -1px; top: -1px; bottom: -1px; width: 2px; background: var(--accent); }
.nav-title { margin: 17px 9px 5px; font: 500 12px/1.3 var(--mono); color: var(--faint); text-transform: uppercase; letter-spacing: .105em; }
.icon { display: inline-grid; place-items: center; flex: 0 0 21px; min-width: 21px; min-height: 20px; font: 500 18px/1 var(--mono); }
.sidebar-foot { display: flex; align-items: center; gap: 9px; padding: 16px 22px; border-top: 1px solid var(--line); font: 13px/1.25 var(--mono); color: var(--faint); }
.sidebar-foot i { width: 7px; height: 7px; background: var(--accent); }
.topbar { position: sticky; top: 0; z-index: 5; height: var(--top); margin-left: var(--side); display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 var(--gutter); background: var(--bg); border-bottom: 1px solid var(--line); }
.top-left, .breadcrumb { display: flex; align-items: center; gap: 12px; min-width: 0; }
.breadcrumb { font: 13px/1.3 var(--mono); color: var(--faint); }
.breadcrumb a:hover, .breadcrumb span:last-child { color: var(--text); }
.mobile-brand, .menu-open, .drawer:not([open]) { display: none; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 8px 16px; font-size: 14px; font-weight: 650; line-height: 1.25; border: 1px solid transparent; text-align: center; transition: color .18s, background .18s, border-color .18s; }
.button-primary { color: #201428; background: #ffc5d7 linear-gradient(105deg, #e6b8ff, #ffc5d7 56%, #ffd09a); border-color: #f5c3e4; }
.button-primary:hover { background: #ffe4bf; border-color: #ffe4bf; }
.button-ghost { border-color: #59496c; color: var(--text); }
.button-ghost:hover, .button-small:hover { background: #3a2a4f; border-color: var(--accent); color: var(--accent); }
.button-small { min-height: 36px; border-color: #65506e; color: var(--gold); white-space: nowrap; }
.main { margin-left: var(--side); }
.page-wrap { max-width: 1620px; margin-inline: auto; padding: 0 var(--gutter) 48px; }
.hero { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, .97fr) minmax(0, 1.03fr); gap: clamp(22px, 4vw, 64px); align-items: center; min-height: 478px; padding: 47px 0 51px; }
.hero::before { content: ""; position: absolute; inset: 0 calc(-1 * var(--gutter)); z-index: -1; background: radial-gradient(ellipse at 78% 38%, #4b2761 0, transparent 67%), radial-gradient(ellipse at 12% 19%, #39224e 0, transparent 70%), radial-gradient(ellipse at 48% 79%, #5d2c476b 0, transparent 48%); mask-image: linear-gradient(#000 74%, transparent); }
.hero-content { min-width: 0; }
.eyebrow { display: flex; align-items: center; gap: 9px; color: var(--accent); font: 13px/1.3 var(--mono); letter-spacing: .075em; text-transform: uppercase; }
.eyebrow i { width: 8px; height: 8px; background: var(--accent); box-shadow: 0 0 15px #d1a9ff70; }
.hero h1 { margin: 13px 0 7px; font-size: clamp(44px, 5.1vw, 83px); line-height: .96; font-weight: 750; letter-spacing: -.045em; text-transform: uppercase; color: var(--text); background: var(--spectrum); background-clip: text; -webkit-text-fill-color: transparent; width: fit-content; }
.hero-tagline { margin-top: 18px; max-width: 36ch; color: var(--text); font: 530 clamp(20px, 1.85vw, 30px)/1.24 var(--display); }
.hero-copy { max-width: 48ch; margin-top: 15px; line-height: 1.58; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 25px; }

.board, .terminal, .scenario { min-width: 0; border: 1px solid #644a7c; background: var(--panel-dark); box-shadow: 6px 6px #0c0914; }
.board-bar, .board-log, .terminal-head, .terminal-foot { display: flex; gap: 8px; align-items: center; color: var(--faint); font: 13px/1.3 var(--mono); padding: 11px 13px; }
.board-bar, .terminal-head { justify-content: space-between; background: #251a38; border-bottom: 1px solid #57436d; }
.board-bar span:first-child { display: flex; align-items: center; gap: 9px; color: var(--text); }
.board-bar i { display: inline-block; width: 8px; height: 8px; border: 1px solid var(--accent); }
.board-log, .terminal-foot { border-top: 1px solid #57436d; min-height: 42px; }
.board-log > span:first-child, .terminal-foot > span { color: var(--gold); font-size: 17px; }
.board-log code, .terminal-foot code { color: var(--accent); overflow-wrap: anywhere; }
.terminal-foot small { margin-left: auto; text-align: right; color: var(--faint); font-size: 12px; }
.section { padding: 39px 0 7px; margin-top: 41px; border-top: 1px solid var(--line); scroll-margin-top: calc(var(--top) + 12px); }
.services-section { margin-top: 0; padding-top: 25px; }
.section-head { margin-bottom: 18px; display: flex; align-items: baseline; gap: 12px 20px; flex-wrap: wrap; }
.section h2, .cta h2, .brief h2, .contact-info h2, .project-demo h2 { font-size: clamp(25px, 3vw, 39px); }
.section-head p { font-size: 16px; }
.service-grid { display: grid; grid-template-columns: repeat(12, minmax(0,1fr)); gap: 10px; }
.service-tile { grid-column: span 3; min-width: 0; min-height: 148px; position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-start; padding: 14px; border: 1px solid #483756; background: #221a2f; transition: background .18s, border-color .18s; }
.service-tile:hover { border-color: var(--accent); background-color: #342348; }
.service-tile:nth-child(-n+3) { grid-column: span 4; min-height: 157px; padding: 17px; }
.service-tile h3 { font-size: clamp(17px, 1.65vw, 25px); }
.service-tile p { margin-top: 5px; font-size: 14px; line-height: 1.38; max-width: 36ch; }
.tile-icon { display: grid; place-items: center; width: 31px; height: 28px; color: var(--tile,#c9a6f9); border: 1px solid #aa84c77d; background: #271d37; margin-bottom: 16px; }
.tile-art { color: var(--tile,#c9a6f9); display: grid; place-items: center; position: absolute; top: 12px; right: 14px; width: 79px; height: 53px; opacity: .64; z-index: -1; }
.tile-web, .scenario-web { --tile: #c9a6f9; }
.tile-automation, .scenario-automation { --tile: #ffc493; }
.tile-integrations, .scenario-integrations { --tile: #aebeff; }
.tile-bots, .scenario-bots { --tile: #eeaedd; }
.tile-mobile, .scenario-mobile { --tile: #aab9f9; }
.tile-ai, .scenario-ai { --tile: #d9b3ff; }
.tile-design, .scenario-design { --tile: #ffb4a0; }
.tile-web { background-image: linear-gradient(130deg, transparent 40%, #6f47956e 100%); }
.tile-automation { background-image: linear-gradient(130deg, transparent 40%, #9a536449 100%); }
.tile-integrations { background-image: linear-gradient(130deg, transparent 40%, #3b508562 100%); }
.mini-window { display: grid; grid-template-columns: repeat(3,1fr); width: 59px; height: 37px; gap: 4px; padding: 6px; border: 1px solid; box-shadow: 5px 5px #ba82fe42; }
.mini-window i { width: 4px; height: 4px; background: currentColor; }
.mini-window b { grid-column: span 2; border: 1px solid; background: #c89bff35; }
.mini-window em { border: 1px dashed; }
.mini-flow, .mini-network { display: flex; align-items: center; }
.mini-flow i, .mini-network i { width: 13px; height: 13px; border: 1px solid; }
.mini-flow i:nth-child(3), .mini-network i:nth-child(3) { background: currentColor; }
.mini-flow b, .mini-network b { width: 10px; height: 1px; background: currentColor; }
.mini-network { transform: rotate(-26deg); }
.mini-network i { border-radius: 50%; }
.mini-chat { display: grid; gap: 4px; width: 52px; }
.mini-chat i { display: inline-block; height: 8px; border: 1px solid; width: 75%; }
.mini-chat i:nth-child(2) { justify-self: end; width: 58%; }
.mini-phone { border: 1px solid; border-radius: 3px; width: 25px; height: 40px; display: grid; align-content: center; gap: 3px; padding: 3px; transform: rotate(13deg); }
.mini-phone i { height: 4px; background: currentColor; opacity: .67; }
.mini-ai { text-align: center; white-space: nowrap; font: 13px/.9 var(--mono); }
.mini-chart { display: flex; align-items: end; gap: 3px; height: 35px; border-bottom: 1px solid; padding: 0 3px 2px; }
.mini-chart i { width: 6px; height: 8px; background: currentColor; }
.mini-chart i:nth-child(2) { height: 17px; }
.mini-chart i:nth-child(3) { height: 14px; }
.mini-chart i:nth-child(4) { height: 24px; }
.mini-chart i:nth-child(5) { height: 29px; }

.automation-layout { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,.84fr); gap: 28px; align-items: center; }
.examples article { padding: 14px 0; border-bottom: 1px solid var(--line); }
.examples article:first-child { padding-top: 1px; }
.examples h3, .stages h3, .offer-list h3 { font-size: 19px; }
.examples p, .stages p, .offer-list p { margin-top: 5px; }
.terminal pre { margin: 0; padding: 15px 13px; font-size: clamp(11px, 1.22vw, 15px); line-height: 1.62; color: #e7d9f2; white-space: pre-wrap; overflow-wrap: anywhere; }
.code-blue { color: var(--accent); }
.code-gold { color: var(--gold); }
.code-dim { color: var(--faint); }
.systems { list-style: none; display: grid; grid-template-columns: repeat(6, minmax(0,1fr)); gap: 1px; margin: 0 0 16px; padding: 1px; background: var(--line); }
.systems li { display: grid; place-items: center; min-height: 62px; padding: 4px; background: #221a2f; font: 600 clamp(13px,1.3vw,20px)/1.2 var(--display); text-align: center; overflow-wrap: anywhere; }
.text-link { color: var(--accent); text-decoration: underline; text-underline-offset: 4px; }
.text-link:hover { color: var(--gold); }
.stages { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; list-style: none; padding: 0; margin: 0; counter-reset: stage; }
.stages li { border-top: 1px solid #73588b; padding-top: 12px; counter-increment: stage; }
.stages li::before { content: counter(stage, decimal-leading-zero); display: block; font: 13px/1 var(--mono); color: var(--accent); margin-bottom: 11px; }
.stages p { font-size: 15px; }
.cta { margin-top: 42px; padding: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; border: 1px solid #674c7c; background: radial-gradient(ellipse at 100% 30%, #61427e, transparent 74%), #251b37; }
.cta p { margin-top: 5px; }
.footer { display: flex; flex-wrap: wrap; gap: 14px 25px; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); color: var(--faint); font: 13px/1.4 var(--mono); padding: 19px var(--gutter); }
.footer .brand { color: var(--text); font-size: 18px; }
.footer .brand small { display: none; }
.footer .brand-mark { width: 18px; height: 18px; }
.footer a:hover { color: var(--accent); }

.inner-hero { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,.79fr); gap: clamp(20px, 4vw, 56px); align-items: center; padding-top: clamp(32px, 5vw, 68px); }
.plain-hero { padding: clamp(32px, 5vw, 68px) 0 29px; }
.inner h1 { font-size: clamp(43px, 5.05vw, 76px); overflow-wrap: anywhere; }
.inner h1:not(:first-child) { margin-top: 10px; }
.inner-lead { margin: 14px 0 20px; max-width: 55ch; color: var(--muted); font-size: clamp(17px,1.5vw,21px); }
.scenario { background: #1d152e; }
.offer-list { border-top: 1px solid var(--line); }
.offer-list article { border-bottom: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1fr); gap: 8px 22px; align-items: baseline; padding: 15px 10px; }
.detail { padding: 23px; background: #261c37; border: 1px solid #634b7d; }
.detail p { margin-top: 11px; max-width: 70ch; }
.related { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 8px; }
.related a { display: flex; align-items: center; gap: 7px; min-height: 40px; padding: 7px 10px; border: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.related a span:last-child { min-width: 0; overflow-wrap: anywhere; }
.related a:hover { color: var(--accent); border-color: var(--accent); }
.project-list { display: grid; gap: 21px; }
.project-demo { display: grid; grid-template-columns: minmax(0,.88fr) minmax(0,1fr); gap: 20px; padding: 20px 0; border-top: 1px solid var(--line); }
.project-demo p { margin: 9px 0; }
:is(.cybie-case, .salut-case) {
  position: relative;
  padding: clamp(16px, 3.4vw, 44px);
  border: 1px solid var(--line);
  background: radial-gradient(ellipse at top left, #37264d 0%, transparent 58%), var(--panel-dark);
}
:is(.cybie-case, .salut-case)::before { content: ""; position: absolute; inset: 0 0 auto; height: 2px; background: var(--spectrum); }
.case-intro { max-width: 69ch; margin-bottom: clamp(18px, 2.5vw, 30px); }
.case-intro h2 { margin: 4px 0 9px; font-size: clamp(34px, 5vw, 64px); }
.case-gallery, .case-details { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(10px, 1.5vw, 20px); }
.case-gallery { max-width: 960px; margin-inline: auto; }
.case-gallery:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.case-shot { min-width: 0; margin: 0; padding: 6px; border: 1px solid var(--line); background: var(--panel); }
.case-shot-image { aspect-ratio: 1178 / 2135; overflow: hidden; background: #0b0a10; }
.case-shot img { display: block; width: 100%; height: auto; transform: translateY(var(--case-crop)); }
.case-shot--bot { --case-crop: -12.89%; }
.case-shot--giveaway { --case-crop: -14.26%; }
.case-shot--game { --case-crop: -14.34%; }
.case-shot figcaption { padding: 8px 5px 3px; color: var(--muted); font: 13px/1.4 var(--mono); }
.case-details { margin-top: clamp(18px, 2.5vw, 30px); }
.case-details article { min-width: 0; padding: clamp(12px, 1.4vw, 18px); border: 1px solid var(--line); background: var(--panel); }
.case-details .icon { color: var(--accent); }
.case-details h3 { margin: 7px 0; font-size: clamp(17px, 2vw, 22px); }
.case-details p { font-size: 15px; }
.salut-collage {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  max-width: 1040px;
  margin: 0 auto;
  padding: 8px;
  border: 1px solid var(--line);
  background: var(--bg);
}
.salut-frame { min-width: 0; border: 1px solid var(--line); background: var(--panel); }
.salut-frame a { display: block; overflow: hidden; aspect-ratio: var(--capture-ratio); }
.salut-frame img { display: block; width: 101.0211%; max-width: none; height: auto; transform: translateY(var(--capture-offset, 0)); }
.salut-frame--home { --capture-ratio: 1469 / 910; }
.salut-frame--catalog { --capture-ratio: 1469 / 625; --capture-offset: -24.2424%; }
.salut-frame--stock { --capture-ratio: 1469 / 860; --capture-offset: -18.8679%; }
.salut-frame p { padding: 7px 10px; color: var(--muted); font: 13px/1.4 var(--mono); }
.salut-link { display: inline-block; margin-top: 16px; }
@media (max-width: 650px) {
  .section:is(.cybie-case, .salut-case) { padding: 20px 14px; }
  .salut-collage { padding: 5px; gap: 6px; }
  .case-gallery {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 100%;
    max-width: 270px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-color: var(--accent) var(--panel);
    padding-bottom: 8px;
  }
  .case-shot { scroll-snap-align: start; }
  .case-details { grid-template-columns: minmax(0, 1fr); }
}
.contact-layout { display: grid; grid-template-columns: minmax(0,.7fr) minmax(0,1fr); gap: 22px; }
.contact-info { padding-top: 14px; }
.contact-info p { margin-top: 10px; }
.channels { display: grid; gap: 8px; margin-top: 10px; }
.brief { display: grid; align-content: start; padding: 21px; border: 1px solid #644a7c; background: #261c37; }
.brief label { margin: 15px 0 6px; }
.brief :is(select, textarea, input[type="text"], input[type="tel"]) { width: 100%; min-height: 44px; padding: 8px 10px; background: var(--bg); border: 1px solid #79628e; border-radius: 0; }
.brief textarea { resize: vertical; }
.brief :is(input, textarea)::placeholder { color: var(--faint); }
.brief-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 12px; }
.brief-fields label { display: block; }
.brief-preferences { margin: 15px 0 0; min-width: 0; padding: 0; border: 0; }
.brief-preferences legend { padding: 0; margin-bottom: 6px; }
.brief-options { display: flex; flex-wrap: wrap; column-gap: 14px; }
.brief .brief-choice { display: flex; gap: 8px; align-items: flex-start; margin: 0; min-height: 32px; font-size: 14px; line-height: 1.45; }
.brief-choice input { width: 17px; height: 17px; flex: 0 0 17px; margin: 1px 0 0; accent-color: var(--accent); }
.brief-consents { display: grid; gap: 5px; margin-top: 12px; }
.brief-consents a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }

.brief-bottom { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 14px; }
.brief-bottom p, .form-status { font-size: 14px; }
.form-status { color: var(--accent); }
.form-status:not(:empty) { margin-top: 9px; }

.assembled:not(.flow-demo):not(:focus-within) { animation: assemble .48s ease-out both; }
.assembled [data-type] { position: relative; animation: type-line .58s steps(var(--characters, 18), end) .14s both; }
.assembled [data-type]::after { content: ""; display: inline-block; margin-left: 4px; width: .45em; height: .85em; vertical-align: -.05em; background: var(--gold); animation: cursor .22s steps(2,jump-none) 5 both; }
@keyframes type-line { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0); } }
@keyframes cursor { from { opacity: 1; } to { opacity: 0; } }
@keyframes assemble { from { clip-path: inset(0 0 10% 0); } to { clip-path: inset(0); } }

@media (max-width: 1160px) {
  :root { --side: 218px; --gutter: clamp(19px, 2.75vw, 34px); }
  .hero { min-height: 433px; }
  .service-tile:nth-child(-n+3) { padding: 13px; }
  .service-tile { min-height: 148px; }
  .service-tile .tile-art { right: 5px; }
}
@media (max-width: 900px) {
  :root { --side: 0px; --top: 58px; --gutter: clamp(16px, 4vw, 32px); }
  .sidebar, .breadcrumb { display: none; }
  .mobile-brand { display: flex; }
  .mobile-brand .brand { font-size: clamp(15px, 4.1vw, 19px); gap: 7px; }
  .mobile-brand .brand small { display: none; }
  .mobile-brand .brand-mark { width: 21px; height: 21px; }
  .topbar { padding-left: max(10px, calc(var(--gutter) - 5px)); }
  .top-left { gap: 5px; }
  .menu-open, .menu-close { flex-shrink: 0; display: grid; place-items: center; min-width: 44px; min-height: 44px; background: transparent; border: 1px solid transparent; color: var(--text); font-size: 21px; }
  .menu-open:hover, .menu-close:hover { color: var(--accent); }
  .drawer[open] { display: flex; flex-direction: column; position: fixed; inset: 0 auto 0 0; height: 100dvh; max-height: none; width: min(86vw,330px); max-width: none; margin: 0; padding: 0; color: var(--text); background: var(--rail); border: 0; border-right: 1px solid var(--line); }
  .drawer::backdrop { background: #10091abb; }
  .drawer-head { padding: 9px 10px 9px 20px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; }
  .drawer .navigation a { min-height: 44px; }
  .hero { padding: 34px 0 40px; min-height: 392px; gap: 26px; }
  .hero h1 { font-size: clamp(46px, 7.4vw, 70px); }
  .hero-tagline { font-size: 22px; }
  .service-tile h3 { font-size: clamp(16px, 2.3vw, 21px); }
}
@media (max-width: 650px) {
  .page-wrap { padding-bottom: 32px; }
  .button-small { min-height: 38px; font-size: 13px; padding-inline: 9px; }
  .hero { grid-template-columns: minmax(0,1fr); min-height: auto; gap: 21px; padding: 28px 0 25px; }
  .hero::before { background: radial-gradient(ellipse at 87% 23%, #54295f, transparent 68%), radial-gradient(ellipse at 7% 17%, #39234e, transparent 66%); mask-image: linear-gradient(#000 66%,transparent); }
  .hero h1 { margin-top: 10px; font-size: clamp(39px, 11.5vw, 67px); }
  .hero-tagline { margin-top: 11px; font-size: clamp(19px,4.8vw,24px); }
  .hero-copy { margin-top: 9px; }
  .hero-actions { margin-top: 15px; gap: 8px; }
  .hero-actions .button { padding-inline: 12px; }
  .board-bar, .board-log, .terminal-head, .terminal-foot { padding: 8px 9px; font-size: 12px; min-height: 35px; }

  .section { margin-top: 27px; padding: 25px 0 0; }
  .section.detail { padding: 16px; }
  .brief-fields { grid-template-columns: minmax(0, 1fr); }
  .related { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .services-section { margin-top: 0; padding-top: 19px; }
  .section-head { gap: 6px; margin-bottom: 13px; }
  .service-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px; }
  .service-tile, .service-tile:nth-child(-n+3) { grid-column: auto; min-height: 129px; padding: 10px; }
  .service-tile:first-child { grid-column: 1/-1; min-height: 104px; }
  .service-tile h3 { font-size: clamp(14px,4.15vw,20px); overflow-wrap: break-word; }
  .service-tile p { font-size: 13px; }
  .service-tile .tile-art { top: 5px; right: -1px; transform: scale(.73); transform-origin: 100% 0; }
  .service-tile:first-child .tile-art { top: 13px; right: 12px; transform: none; }
  .tile-icon { margin-bottom: 8px; width: 26px; height: 25px; }
  .automation-layout, .inner-hero, .offer-list article, .project-demo, .contact-layout { grid-template-columns: minmax(0,1fr); }
  .automation-layout, .inner-hero { gap: 18px; }
  .systems { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .systems li { min-height: 47px; }
  .stages { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .stages h3 { font-size: 17px; }
  .cta { margin-top: 28px; padding: 15px; }
  .inner h1 { font-size: clamp(36px,9.6vw,52px); }
  .inner .privacy-title { font-size: clamp(22px, 7.15vw, 44px); }
  .privacy-title span { display: block; white-space: nowrap; }
  .inner-lead { margin: 10px 0 14px; }
  .offer-list article { padding: 11px 0; gap: 2px; }
  .project-demo { gap: 12px; padding: 15px 0; }
  .contact-info { padding-top: 0; }
  .footer { gap: 10px 18px; }
  .footer > span { order: 2; width: 100%; }
}

.main { position: relative; isolation: isolate; }
.main::before, .main::after {
  content: "";
  position: fixed;
  z-index: -1;
  pointer-events: none;
}
.main::before {
  inset: -12% -13% -12% calc(var(--side) - 15%);
  background: radial-gradient(ellipse at 73% 24%, #a065f533, transparent 48%),
    radial-gradient(ellipse at 26% 79%, #db5ab52b, transparent 49%),
    radial-gradient(ellipse at 90% 85%, #ec86652c, transparent 48%);
  animation: atmosphere-drift 15s ease-in-out infinite alternate;
}
.main::after {
  inset: 0 0 0 var(--side);
  background-image: radial-gradient(circle, #dfc4f754 1px, transparent 1.7px);
  background-size: 35px 35px;
  opacity: .26;
  mask-image: linear-gradient(130deg, transparent 12%, #000 41%, transparent 79%);
  animation: atmosphere-dots 20s linear infinite;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0 calc(-1 * var(--gutter));
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 18%, #d29cfc22 33%, #ff9ecb30 45%, #ffc38d27 51%, transparent 66%);
  mask-image: linear-gradient(#000, transparent);
  background-size: 122% 100%;
  animation: atmosphere-sweep 8s ease-in-out infinite alternate;
}
@keyframes atmosphere-drift {
  from { transform: translate3d(-2%, -1%, 0); opacity: .6; }
  to { transform: translate3d(7%, 5%, 0) scale(1.09); opacity: 1; }
}
@keyframes atmosphere-dots { to { background-position: 70px -35px; } }
@keyframes atmosphere-sweep {
  from { background-position: 0 50%; opacity: .27; }
  to { background-position: 100% 50%; opacity: .9; }
}

.icon svg { display: block; width: 18px; height: 18px; }
.navigation .icon { color: var(--accent); }
.navigation a .icon, .tile-icon .icon { transition: transform .24s ease, color .24s ease; }
.navigation a:is(:hover,:focus-visible) .icon { transform: translateX(3px) scale(1.1); color: var(--pink); }
.tile-icon { border-radius: 5px; }
.service-tile .tile-icon { transition: background .24s ease, box-shadow .24s ease; }
.service-tile:is(:hover,:focus-visible) .tile-icon { box-shadow: 0 0 20px color-mix(in srgb, var(--tile) 43%, transparent); background: #34264c; }
.service-tile:is(:hover,:focus-visible) .tile-icon .icon { transform: scale(1.16) rotate(-8deg); }
.service-tile .tile-art { transition: opacity .3s ease, translate .3s ease; }
.service-tile:is(:hover,:focus-visible) .tile-art { opacity: 1; translate: -4px -3px; }

.button, .flow-replay {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  gap: 7px;
  transition: color .23s, background-color .23s, border-color .23s, transform .23s cubic-bezier(.2,.7,.2,1), box-shadow .23s;
}
.button .icon, .flow-replay .icon { flex-basis: 15px; min-width: 15px; min-height: 15px; transition: transform .3s cubic-bezier(.2,.7,.2,1); }
.button .icon svg, .flow-replay .icon svg { width: 15px; height: 15px; }
.button::after, .flow-replay::after {
  position: absolute;
  content: "";
  pointer-events: none;
  z-index: -1;
  inset: 0;
  background: linear-gradient(107deg, transparent 27%, #fff9 48%, transparent 68%);
  transform: translateX(-110%);
}
.button:is(:hover,:focus-visible), .flow-replay:is(:hover,:focus-visible) { transform: translateY(-2px); box-shadow: 0 5px 22px #c38cff46; }
.button:is(:hover,:focus-visible)::after, .flow-replay:is(:hover,:focus-visible)::after { animation: button-sweep .58s ease-out both; }
.button:is(:hover,:focus-visible) .icon { transform: scale(1.14) rotate(-9deg); }
.flow-replay:is(:hover,:focus-visible) .icon { transform: rotate(-40deg); }
.button:active, .flow-replay:active { transform: translateY(1px) scale(.97); box-shadow: none; }
@keyframes button-sweep { to { transform: translateX(110%); } }
@media (max-width: 410px) {
  .topbar .button .icon { display: none; }
  .hero-actions .button { gap: 5px; padding-inline: 9px; }
}
@media (max-width: 355px) {
  .service-tile, .service-tile:nth-child(-n+3) { padding-inline: 8px; }
  .service-tile h3 { font-size: 13.5px; }
  .hero-actions .button-ghost .icon { display: none; }
}

.flow-demo { --flow-color: var(--tile, #d0adff); --flow-offset: 0ms; }
.flow-graph {
  position: relative;
  height: clamp(182px, 17vw, 249px);
  container-type: inline-size;
  background:
    radial-gradient(ellipse at 50% 46%, color-mix(in srgb,var(--flow-color) 13%,transparent), transparent 72%),
    linear-gradient(90deg,#c39afb20 1px,transparent 1px),
    linear-gradient(#c39afb20 1px,transparent 1px),
    #1a1428;
  background-size: auto, 18px 18px, 18px 18px, auto;
}
.board .flow-graph { height: clamp(207px, 21vw, 310px); }
.motion-board video { display: block; width: 100%; height: clamp(207px, 21vw, 310px); object-fit: contain; background: #fff; }
.flow-graph ul { margin: 0; padding: 0; list-style: none; }
.flow-wire, .flow-node { position: absolute; top: var(--y); left: var(--x); }
.flow-wire { --wire-color: color-mix(in srgb,var(--flow-color) 66%, #322244); color: var(--wire-color); background: currentColor; }
.wire-horizontal { width: var(--length); height: 1px; transform-origin: left center; }
.wire-vertical { height: var(--length); width: 1px; transform-origin: center top; }
.wire-horizontal.wire-reverse { transform-origin: right center; }
.wire-vertical.wire-reverse { transform-origin: center bottom; }
.flow-wire::after {
  content: "";
  position: absolute;
  width: 5px;
  height: 5px;
  top: 50%;
  left: 50%;
  border: solid currentColor;
  border-width: 1px 1px 0 0;
  transform: translate(-50%,-50%) rotate(45deg);
}
.wire-horizontal.wire-reverse::after { transform: translate(-50%,-50%) rotate(225deg); }
.wire-vertical::after { transform: translate(-50%,-50%) rotate(135deg); }
.wire-vertical.wire-reverse::after { transform: translate(-50%,-50%) rotate(315deg); }
.flow-wire i {
  display: none;
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #fff4e5;
  box-shadow: 0 0 8px 2px var(--flow-color);
  transform: translate(-50%, -50%);
}
.flow-node {
  width: 27%;
  min-height: 57px;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 7px;
  background: #282035;
  border: 1px solid #70578a;
  border-radius: 4px;
  color: var(--text);
}
.flow-node .icon, .flow-node .brand-mark { color: var(--flow-color); }
.flow-node .brand-mark { width: 18px; height: 18px; flex: 0 0 18px; }
.flow-node div { min-width: 0; }
.flow-node b, .flow-node small { display: block; overflow-wrap: anywhere; }
.flow-node b { font: 600 14px/1.13 var(--display); }
.flow-node small { margin-top: 4px; font-size: 11px; line-height: 1.13; color: #d9c9e5; }
.flow-node-brand { background: linear-gradient(127deg,#41275e,#37203f 54%,#4c2c45); border-color: var(--pink); }
.board-log, .flow-demo .terminal-foot { flex-wrap: wrap; }
.flow-replay {
  display: inline-flex;
  align-items: center;
  min-height: 31px;
  padding: 3px 7px;
  border: 1px solid #70578a;
  border-radius: 3px;
  background: #2c2040;
  color: var(--text);
  font: 600 12px/1.1 var(--body);
}
.flow-replay[hidden] { display: none; }
.board-log .flow-replay { margin-left: auto; }
.flow-demo .terminal-foot small { flex: 1 1 100px; }
@container (max-width: 455px) {
  .flow-node { width: 29%; display: grid; justify-items: center; align-content: center; gap: 2px; text-align: center; min-height: 68px; padding: 4px 3px; }
  .flow-node b { font-size: clamp(11px,3.2cqw,13px); }
  .flow-node small { font-size: 11px; }
  .flow-node .icon svg { width: 15px; height: 15px; }
  .flow-node .brand-mark { width: 15px; height: 15px; }
}
.flow-demo.assembled .flow-wire {
  animation: trace-horizontal .35s ease-out calc(var(--flow-offset) + var(--phase)) both;
}
.flow-demo.assembled .wire-vertical { animation-name: trace-vertical; }
.flow-demo.assembled .flow-wire i {
  display: block;
  animation: packet-horizontal .59s linear calc(var(--flow-offset) + var(--phase) + 100ms) both;
}
.flow-demo.assembled .wire-vertical i { animation-name: packet-vertical; }
.flow-demo.assembled .wire-reverse i { animation-direction: reverse; }
.flow-demo.assembled .flow-node {
  animation: node-arrival .7s cubic-bezier(.3,.55,.32,1) calc(var(--flow-offset) + var(--phase)) both;
}
.flow-demo.assembled [data-type] { animation-delay: calc(var(--flow-offset) + .56s); }
.flow-demo.assembled [data-type]::after { animation-delay: calc(var(--flow-offset) + .74s); }
.flow-demo.assembled .terminal-foot small { animation: flow-status .5s ease-out 1.87s both; }
@keyframes trace-horizontal { from { transform: scaleX(.07); opacity: .17; } to { transform: scaleX(1); opacity: 1; } }
@keyframes trace-vertical { from { transform: scaleY(.07); opacity: .17; } to { transform: scaleY(1); opacity: 1; } }
@keyframes packet-horizontal {
  0% { top: 50%; left: 0; opacity: 0; }
  24%, 75% { opacity: 1; }
  100% { top: 50%; left: 100%; opacity: 0; }
}
@keyframes packet-vertical {
  0% { top: 0; left: 50%; opacity: 0; }
  24%, 75% { opacity: 1; }
  100% { top: 100%; left: 50%; opacity: 0; }
}
@keyframes node-arrival {
  0% { opacity: .50; }
  32% { opacity: 1; border-color: var(--flow-color); box-shadow: 0 0 17px color-mix(in srgb,var(--flow-color) 45%,transparent); }
  100% { opacity: 1; }
}
@keyframes flow-status { from { opacity: .38; } 60% { color: var(--gold); } to { opacity: 1; } }
.terminal.assembled pre > code { display: block; animation: intro-frame .57s ease-out both; }



.ambient-traces {
  position: fixed;
  inset: 0 0 0 var(--side);
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}
.ambient-trace {
  position: absolute;
  left: -220px;
  top: var(--trace-top);
  width: clamp(90px, 16vw, 225px);
  height: 1px;
  display: block;
  background: linear-gradient(90deg, transparent, var(--trace-color));
  box-shadow: 24px 0 24px -1px var(--trace-color);
  animation: atmosphere-trace var(--trace-duration) linear var(--trace-delay) infinite;
}
.ambient-trace:nth-child(1) { --trace-top: 29%; --trace-color: #d29bff7a; --trace-duration: 9s; --trace-delay: -1s; }
.ambient-trace:nth-child(2) { --trace-top: 63%; --trace-color: #ff8dc274; --trace-duration: 12s; --trace-delay: -5s; }
.ambient-trace:nth-child(3) { --trace-top: 88%; --trace-color: #ffbe8d6b; --trace-duration: 13s; --trace-delay: -10s; }
@keyframes atmosphere-trace {
  0% { transform: translate3d(0, 100px, 0) rotate(-13deg); opacity: 0; }
  17%, 72% { opacity: .7; }
  100% { transform: translate3d(calc(100vw + 210px), -115px, 0) rotate(-13deg); opacity: 0; }
}
.pointer-light {
  display: none;
  position: absolute;
  width: 430px;
  height: 430px;
  top: 0;
  left: calc(-1 * var(--side));
  transform: translate3d(calc(var(--light-x, -500px) - 50%), calc(var(--light-y, -500px) - 50%), 0);
  opacity: .48;
  background: radial-gradient(circle at center, #ca7aff40 0%, #fa8eb324 34%, transparent 69%);
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .pointer-light { display: block; }
}



.placement-agents { position: fixed; inset: 0; z-index: 5; overflow: hidden; pointer-events: none; }
.placement-agent {
  --agent-color: #d3b4ff;
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  align-items: flex-start;
  gap: 3px;
  opacity: 0;
  color: var(--agent-color);
  font: 600 11px/1 var(--mono);
  white-space: nowrap;
  transition: opacity .19s ease;
  filter: drop-shadow(0 2px 5px #140c28);
}
.placement-agent:nth-child(2) { --agent-color: #ffb1cf; }
.placement-agent:nth-child(3) { --agent-color: #ffd09a; }
.placement-agent.agent-moving {
  opacity: 1;
  transition: transform .13s cubic-bezier(.22,.74,.26,1), opacity .09s ease;
}
.placement-agent i {
  display: block;
  width: 15px;
  height: 19px;
  background: currentColor;
  clip-path: polygon(0 0, 100% 61%, 54% 65%, 33% 100%);
}
.placement-agent b { margin-top: 12px; padding: 4px 5px; color: #21142d; background: var(--agent-color); }
.placement-agent::after {
  content: "";
  position: absolute;
  inset: -5px auto auto -5px;
  width: 17px;
  height: 17px;
  border: 1px solid currentColor;
  border-radius: 50%;
  opacity: 0;
  transform: scale(.6);
  transition: opacity .14s ease, transform .18s ease-out;
}
.placement-agent.agent-placing::after { opacity: .8; transform: scale(1.2); }

.piece-pending:not(:focus-within) { opacity: 0; pointer-events: none; }
.piece-installed:not(:focus-within) { animation: piece-install .31s cubic-bezier(.2,.67,.27,1) both; }
.piece-installed:is(.service-tile, .offer-list > article, .stages > li) :is(h3, p) {
  animation: piece-text .25s .07s ease-out both;
}
@keyframes piece-install {
  0% { clip-path: inset(0 100% 24% 0); opacity: .15; translate: 0 5px; }
  54% { clip-path: inset(0 0 13% 0); opacity: .85; }
  100% { clip-path: inset(0); opacity: 1; translate: 0 0; }
}
@keyframes piece-text { from { opacity: .1; } to { opacity: 1; } }
@keyframes intro-frame {
  from { clip-path: inset(0 0 96% 0); opacity: .54; }
  to { clip-path: inset(0); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
  .piece-pending:not(:focus-within) { opacity: 1; pointer-events: auto; }
  .placement-agents, .ambient-traces, .flow-demo.assembled .flow-wire i, .assembled [data-type]::after { display: none; }
}
