@font-face {
  font-family: Manrope;
  src: url("manrope-cyrillic.woff2") format("woff2");
  font-style: normal;
  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: Manrope;
  src: url("manrope-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-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;
  font-family: Manrope, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --background: #070b0c;
  --text: #f1f8f6;
  --muted: #a4b2ae;
  --mint: #a5f8d7;
  --stroke: #283734;
  --page-gutter: clamp(16px, 4vw, 64px);
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  min-width: 0;
  margin: 0;
  background: radial-gradient(ellipse at 74% 14%, #10231e 0%, transparent 42rem), var(--background);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--mint); outline-offset: 4px; }

svg {
  width: 1.15em;
  height: 1.15em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.frame { width: min(1490px, 100% - var(--page-gutter) * 2); margin-inline: auto; }
.skip-link {
  position: fixed;
  inset: .6rem auto auto .6rem;
  z-index: 3;
  transform: translateY(-160%);
  border-radius: .5rem;
  padding: .7rem 1rem;
  background: var(--mint);
  color: #0a1612;
  font-weight: 800;
}
.skip-link:focus { transform: none; }

.site-header, .site-footer { display: flex; align-items: center; justify-content: space-between; }
.site-header { min-height: 84px; padding-block: 10px; }
.brand { display: inline-flex; align-items: center; border-radius: 6px; min-height: 44px; }
.brand img { display: block; width: clamp(122px, 13vw, 154px); height: auto; }
.header-link, .site-footer a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  min-height: 44px;
  padding: .4rem .8rem;
  border-radius: .65rem;
  font-size: .85rem;
  font-weight: 750;
  color: #d3e2dd;
  transition: color .25s, background-color .25s;
}
.header-link:hover, .site-footer a:hover { color: var(--mint); background: #a5f8d711; }
.header-link svg { color: var(--mint); }

.hero {
  position: relative;
  isolation: isolate;
  overflow: clip;
  display: flex;
  align-items: center;
  min-height: clamp(440px, 39vw, 610px);
  padding: clamp(34px, 6vw, 92px);
  border: 1px solid #334740;
  border-radius: clamp(20px, 2.3vw, 34px);
  background: #080e0f;
  box-shadow: 0 25px 100px #0007, 0 0 60px #7afac210;
}

.hero-stage, .hero-vignette, .hero-light, .hero-shimmer, .hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-stage { z-index: -1; overflow: hidden; }
.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 65% center;
  transform: translate3d(var(--pan-x, 0px), var(--pan-y, 0px), 0) scale(1.055);
  transition: transform 650ms var(--ease);
}
.hero-vignette {
  background:
    linear-gradient(90deg, #080e0ffa 0%, #080e0fe8 22%, #080e0fa1 41%, #080e0f19 64%, transparent 78%),
    linear-gradient(0deg, #06100faa, transparent 26%, transparent 79%, #080e0f38);
}
.hero-light {
  inset: -10%;
  background: radial-gradient(ellipse at 73% 48%, #9dffcc36, transparent 40%);
  mix-blend-mode: screen;
  opacity: .6;
  transform: translate3d(var(--light-x, 0px), var(--light-y, 0px), 0);
  transition: transform 450ms var(--ease);
}
.hero-shimmer {
  background: linear-gradient(118deg, transparent 44%, #7efdcb09 46%, #aaffdf50 50%, #63fac510 53%, transparent 57%);
  mix-blend-mode: screen;
  transform: translateX(-80%);
  opacity: 0;
  mask-image: radial-gradient(ellipse at 76% 46%, #000 12%, transparent 70%);
}
.hero-particles { width: 100%; height: 100%; opacity: .9; }

.hero-copy { position: relative; width: min(100%, 730px); }
.eyebrow {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin: 0 0 clamp(16px, 2.4vw, 32px);
  color: var(--mint);
  font-size: clamp(.65rem, .85vw, .77rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .16em;
}
.gem {
  flex: none;
  display: inline-block;
  width: 7px;
  height: 7px;
  border: 1px solid currentColor;
  transform: rotate(45deg);
  box-shadow: 0 0 12px #9efcd590;
}
.hero h1 {
  margin: 0;
  font-size: clamp(3rem, 6.5vw, 6.8rem);
  font-weight: 800;
  line-height: .96;
  letter-spacing: -.062em;
}
.hero h1 span, .hero h1 em { display: block; }
.hero h1 em {
  margin-top: .33em;
  font-size: .55em;
  font-style: normal;
  font-weight: 550;
  line-height: 1.08;
  letter-spacing: -.06em;
  color: #e2eee9;
}
.hero-description {
  margin: clamp(15px, 1.7vw, 25px) 0 0;
  color: #b6c7c1;
  font-size: clamp(.94rem, 1.45vw, 1.18rem);
  font-weight: 500;
  line-height: 1.6;
}
.hero-cta {
  display: inline-flex;
  min-height: 51px;
  margin-top: clamp(22px, 3.25vw, 43px);
  align-items: center;
  justify-content: center;
  gap: 1.1rem;
  padding: .75rem 1.1rem .75rem 1.25rem;
  border: 1px solid #c9ffe8;
  border-radius: 11px;
  background: #a5f8d7;
  color: #0a1b15;
  box-shadow: 0 8px 26px #81edbb2c, inset 0 1px #effff7a0;
  font-size: .88rem;
  font-weight: 800;
  transition: transform .3s var(--ease), background-color .3s, box-shadow .3s;
}
.hero-cta svg { transition: transform .3s var(--ease); }
.hero-cta:hover {
  transform: translateY(-3px);
  background: #ccffea;
  box-shadow: 0 12px 32px #81edbb46, inset 0 1px #effff7a0;
}
.hero-cta:hover svg { transform: translateY(3px); }

.motion-button {
  position: absolute;
  right: clamp(12px, 2vw, 26px);
  bottom: clamp(12px, 2vw, 26px);
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #a9ddd34d;
  border-radius: 50%;
  background: #0b1715d9;
  color: #d1ede3;
  cursor: pointer;
}
.motion-button:hover { border-color: var(--mint); color: var(--mint); }
.motion-button svg { width: 17px; height: 17px; stroke-width: 2.2; }
.play-icon, .motion-paused .pause-icon { display: none; }
.motion-paused .play-icon { display: block; }

.systems { margin-block: clamp(36px, 5vw, 67px) clamp(36px, 5vw, 67px); scroll-margin-top: 20px; }
.section-header { display: flex; align-items: center; gap: clamp(16px, 3vw, 42px); margin-bottom: 20px; }
.section-header::after { content: ""; flex: auto; height: 1px; background: linear-gradient(90deg, #324740, #16211e); }
.section-header h2 { margin: 0; font-size: clamp(1.55rem, 2.5vw, 2.25rem); font-weight: 800; line-height: 1.12; letter-spacing: -.05em; }
.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.35vw, 22px); }

.analytics { --accent: #b9f581; --photo-position: 0% 0%; }
.boards { --accent: #ff916a; --photo-position: 33.333% 0%; }
.supply { --accent: #c4a4ff; --photo-position: 66.667% 0%; }
.team { --accent: #ff91bf; --photo-position: 100% 0%; }
.music { --accent: #ffd76f; --photo-position: 0% 100%; }
.bitrix { --accent: #83b9ff; --photo-position: 33.333% 100%; }
.knowledge { --accent: #e1ecef; --photo-position: 66.667% 100%; }
.build { --accent: #78ebd5; --photo-position: 100% 100%; }

.card {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-rows: auto 1fr;
  align-items: end;
  gap: 19px;
  min-height: 202px;
  min-width: 0;
  overflow: clip;
  padding: clamp(15px, 1.6vw, 24px);
  border: 1px solid #2b3a36;
  border-radius: 17px;
  background: #101715;
  box-shadow: 0 7px 22px #0003;
  transition: transform .35s var(--ease), border-color .35s, box-shadow .35s;
}
.card::before, .card::after { position: absolute; inset: 0; content: ""; pointer-events: none; }
.card::before {
  z-index: -2;
  top: 50%;
  bottom: auto;
  min-height: 100%;
  aspect-ratio: 1;
  translate: 0 -50%;
  background: url("cards.webp") var(--photo-position) / 400% 200% no-repeat;
  opacity: .93;
  transition: transform .65s var(--ease), opacity .35s;
}
.card::after {
  z-index: -1;
  background:
    radial-gradient(ellipse at var(--card-x, 18%) var(--card-y, 5%), color-mix(in srgb, var(--accent) 25%, transparent), transparent 56%),
    linear-gradient(105deg, #0b1010ed, #0b1010c4 35%, #0b10102b 76%, #0b101019),
    linear-gradient(0deg, #080d0dfc 1%, #080d0dd9 39%, #080d0d03 90%);
}
.card-icon {
  display: grid;
  place-items: center;
  width: 47px;
  height: 47px;
  border: 1px solid color-mix(in srgb, var(--accent) 43%, transparent);
  border-radius: 12px;
  background: color-mix(in srgb, var(--accent) 16%, #101819);
  color: var(--accent);
  box-shadow: 0 0 24px color-mix(in srgb, var(--accent) 18%, transparent);
  transition: color .3s, background-color .3s, box-shadow .3s;
}
.card-icon svg { width: 24px; height: 24px; }
.card-copy { align-self: end; }
.card h3 { margin: 0 36px 0 0; font-size: clamp(1.075rem, 1.5vw, 1.4rem); line-height: 1.2; font-weight: 800; letter-spacing: -.04em; }
.card p { margin: .45rem 0 0; max-width: 25ch; min-block-size: 2.9em; color: #bccbc5; font-size: .82rem; font-weight: 500; line-height: 1.45; }
.card-action { position: absolute; right: 15px; top: 15px; }
.card-action {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid #fff3;
  border-radius: 50%;
  background: #101b1bc2;
  color: #eaf3f0;
  transition: transform .35s var(--ease), border-color .35s, color .35s, background .35s;
}
.card[href]:is(:focus-visible, :hover) {
  z-index: 1;
  transform: translateY(-5px);
  border-color: color-mix(in srgb, var(--accent) 72%, #283734);
  box-shadow: 0 16px 35px #0006, 0 0 30px color-mix(in srgb, var(--accent) 13%, transparent);
}
.card[href]:is(:focus-visible, :hover)::before { transform: scale(1.09); opacity: 1; }
.card[href]:is(:focus-visible, :hover) .card-icon { color: #101a17; background: var(--accent); }
.card[href]:is(:focus-visible, :hover) .card-action {
  transform: translate(2px, -2px);
  color: #101a17;
  background: var(--accent);
  border-color: var(--accent);
}

.site-footer { min-height: 70px; border-top: 1px solid var(--stroke); color: var(--muted); font-size: .76rem; }
.site-footer p { display: flex; align-items: center; gap: .7rem; margin: 0; font-weight: 750; }
.site-footer .gem { color: var(--mint); width: 6px; height: 6px; }
.site-footer a { padding-inline: .5rem; }

.motion-running .hero-label { animation: rise-in .7s both var(--ease); }
.motion-running .hero h1 { animation: rise-in .95s .085s both var(--ease); }
.motion-running .hero-description { animation: rise-in .85s .19s both var(--ease); }
.motion-running .hero-cta { animation: rise-in .85s .27s both var(--ease); }
.motion-running .hero-light { animation: breathe 6.5s ease-in-out infinite alternate; }
.motion-running .hero-shimmer { animation: sweep 7s 1.25s var(--ease) infinite; }
.motion-running .cards.revealed .card { animation: rise-in .62s var(--delay, 0ms) both var(--ease); }
.motion-running .cards.revealed .card:nth-child(2) { --delay: 42ms; }
.motion-running .cards.revealed .card:nth-child(3) { --delay: 84ms; }
.motion-running .cards.revealed .card:nth-child(4) { --delay: 126ms; }
.motion-running .cards.revealed .card:nth-child(5) { --delay: 168ms; }
.motion-running .cards.revealed .card:nth-child(6) { --delay: 210ms; }
.motion-running .cards.revealed .card:nth-child(7) { --delay: 252ms; }
.motion-running .cards.revealed .card:nth-child(8) { --delay: 294ms; }

@keyframes rise-in {
  from { opacity: 0; translate: 0 16px; }
  to { opacity: 1; translate: 0 0; }
}
@keyframes breathe {
  from { opacity: .3; scale: .98; }
  to { opacity: .86; scale: 1.08; }
}
@keyframes sweep {
  0%, 15% { transform: translateX(-62%); opacity: 0; }
  31% { opacity: .9; }
  52%, 100% { transform: translateX(58%); opacity: 0; }
}

@media (max-width: 1080px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero { min-height: 450px; padding: 42px; }
  .hero h1 { font-size: clamp(3.1rem, 8.5vw, 5.4rem); }
  .card { min-height: 181px; }
}

@media (max-width: 650px) {
  .site-header { min-height: 68px; }
  .header-link { padding-inline: .55rem; }
  .hero { min-height: 0; align-items: end; padding: clamp(184px, 47vw, 273px) 24px 31px; }
  .hero-image { object-position: 74% top; height: 83%; }
  .hero-vignette {
    background: linear-gradient(0deg, #080e0f 15%, #080e0f 26%, #080e0fdd 41%, #080e0f27 62%, #080e0f18 85%, #080e0f38),
      linear-gradient(90deg, #080e0f73, transparent 70%);
  }
  .hero-light { background: radial-gradient(ellipse at 57% 28%, #9dffcc28, transparent 42%); }
  .motion-button { top: 11px; right: 11px; bottom: auto; }
  .hero h1 { font-size: clamp(2.35rem, 10.1vw, 4rem); }
  .hero h1 em { font-size: .65em; }
  .hero-cta { min-height: 46px; gap: .75rem; }
  .card { gap: 14px; padding: 13px; min-height: 162px; }
  .card-icon { width: 41px; height: 41px; border-radius: 10px; }
  .card-icon svg { width: 21px; height: 21px; }
  .card h3 { margin-right: 0; font-size: 1.03rem; }
  .card p { font-size: .75rem; min-block-size: 4.35em; }
  .card-action { top: 11px; right: 11px; }
  .card-action { width: 31px; height: 31px; }
}

@media (max-width: 350px) {
  .cards { grid-template-columns: 1fr; }
  .card { min-height: 145px; }
  .card p { min-block-size: 2.9em; }
}

.motion-paused { scroll-behavior: auto; }
.motion-paused *, .motion-paused *::before, .motion-paused *::after { animation: none !important; transition: none !important; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .hero-cta:hover, .hero-cta:hover svg, .card[href]:is(:focus-visible, :hover),
  .card[href]:is(:focus-visible, :hover)::before, .card[href]:is(:focus-visible, :hover) .card-action { transform: none; }
}

.scene-idle .hero-light, .scene-idle .hero-shimmer { animation-play-state: paused; }
