/* Klasrum — landing page */
:root {
  --paper: #f4f7fc;
  --paper-2: #e6edf8;
  --card: #ffffff;
  --ink: #041b42;
  --ink-2: #1e2f55;
  --ink-3: #0a2a63;
  --muted: #55607a;
  --line: rgba(4, 27, 66, 0.08);
  --line-2: rgba(4, 27, 66, 0.15);
  --blue: #1060f0;
  --blue-2: #0048c8;
  --sky: #6cb6ff;
  --ice: #dceaff;
  --coral: #ff6b3d;
  --mint: #1fbf86;
  --font-d: "Unbounded", "Onest", system-ui, sans-serif;
  --font-b: "Onest", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-h: "Caveat", "Comic Sans MS", cursive;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --shadow: 0 1px 0 rgba(4, 27, 66, 0.04), 0 18px 40px -18px rgba(4, 27, 66, 0.28);
  --gutter: clamp(16px, 4vw, 40px);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: clip; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  overflow-x: clip;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.6 var(--font-b);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--ice); color: var(--ink); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 10px; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip {
  position: fixed; left: 16px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 12px; transition: top 0.2s;
}
.skip:focus { top: 16px; }

.i { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.i--fill { fill: currentColor; stroke: none; }

/* ---------- scroll progress ---------- */
.progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 60; pointer-events: none; }
.progress span { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--blue-2), var(--blue), var(--sky)); transform-origin: left; transform: scaleX(0); }

/* ---------- buttons ---------- */
.btn {
  --bg: var(--ink); --fg: #fff;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 0.55em;
  min-height: 48px; padding: 0 22px; border: 0; border-radius: 999px; overflow: hidden;
  background: var(--bg); color: var(--fg);
  font: 600 16px/1 var(--font-b); white-space: nowrap;
  transition: transform 0.35s var(--spring), box-shadow 0.3s, background 0.3s;
}
.btn:hover { box-shadow: 0 14px 30px -12px rgba(4, 27, 66, 0.5); }
.btn:active { scale: 0.97; }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: 15px; }
.btn--lg { min-height: 58px; padding: 0 28px; font-size: 17px; }
.btn--xl { min-height: 68px; padding: 0 36px; font-size: 19px; }
.btn--primary { --bg: var(--blue); }
.btn--primary:hover { --bg: var(--blue-2); box-shadow: 0 16px 34px -12px rgba(16, 96, 240, 0.7); }
.btn--ink { --bg: var(--ink); }
.btn--white { --bg: #fff; --fg: var(--blue-2); }
.btn--white:hover { box-shadow: 0 18px 44px -12px rgba(108, 182, 255, 0.6); }
.btn--ghost { --bg: transparent; --fg: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.btn--ghost:hover { --bg: #fff; box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn__arrow { transition: transform 0.35s var(--spring); }
.btn:hover .btn__arrow { transform: translateX(4px); }
.btn--primary::after, .btn--white::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.45) 50%, transparent 65%);
  background-size: 250% 100%; background-position: 130% 0;
  animation: shine 4.5s ease-in-out infinite 1.5s;
}
@keyframes shine { 0%, 60% { background-position: 130% 0; } 100% { background-position: -30% 0; } }

/* ---------- nav ---------- */
.nav { position: fixed; inset: 12px 0 auto; z-index: 50; pointer-events: none; }
.nav__in {
  pointer-events: auto;
  display: flex; align-items: center; gap: 20px;
  width: calc(100% - 2 * var(--gutter)); max-width: 1160px; min-height: 64px; padding: 0 10px 0 18px;
  border-radius: 999px;
  background: rgba(244, 247, 252, 0.72);
  backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4);
  box-shadow: inset 0 0 0 1px var(--line);
  transition: box-shadow 0.3s, background 0.3s;
}
.nav.is-scrolled .nav__in { background: rgba(255, 255, 255, 0.86); box-shadow: inset 0 0 0 1px var(--line), 0 12px 30px -16px rgba(4, 27, 66, 0.35); }
.logo { display: inline-flex; align-items: center; gap: 8px; }
.logo__mark { width: auto; height: 38px; transition: transform 0.5s var(--spring); }
.logo__word { width: auto; height: 22px; }
.logo:hover .logo__mark { transform: rotate(-10deg) scale(1.08); }
.nav__links { display: flex; gap: 4px; margin-left: auto; }
.nav__links a { padding: 10px 14px; border-radius: 999px; font-weight: 500; font-size: 15px; color: var(--ink-2); transition: background 0.2s, color 0.2s; }
.nav__links a:hover { background: rgba(4, 27, 66, 0.06); color: var(--ink); }
.nav__burger { display: none; margin-left: auto; width: 46px; height: 46px; border: 0; border-radius: 50%; background: rgba(4, 27, 66, 0.06); place-items: center; }
.nav__burger .i { width: 22px; height: 22px; }
.mnav {
  pointer-events: auto;
  margin: 8px var(--gutter) 0; padding: 10px;
  border-radius: 24px; background: var(--card); box-shadow: var(--shadow), inset 0 0 0 1px var(--line);
  display: grid; gap: 2px;
  animation: drop 0.35s var(--ease);
}
.mnav[hidden] { display: none; }
.mnav a:not(.btn) { padding: 14px 16px; border-radius: 14px; font-weight: 600; }
.mnav a:not(.btn):hover { background: var(--paper); }
.mnav .btn { margin-top: 6px; }
@keyframes drop { from { opacity: 0; transform: translateY(-8px); } }

/* ---------- reveal on scroll (JS adds .js to <html> and .in to elements) ---------- */
.js .reveal { opacity: 0; }
.js .reveal.in { opacity: 1; animation: reveal-up 0.9s var(--ease) both; animation-delay: var(--d, 0s); }
@keyframes reveal-up { from { opacity: 0; translate: 0 28px; } to { opacity: 1; translate: 0 0; } }

/* ---------- hero ---------- */
.hero { position: relative; padding: 132px 0 40px; overflow: hidden; isolation: isolate; }
.hero__grid {
  position: absolute; inset: 0; z-index: -2;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 46px 46px; background-position: center top;
  -webkit-mask-image: radial-gradient(ellipse 75% 60% at 50% 30%, #000 30%, transparent 85%);
  mask-image: radial-gradient(ellipse 75% 60% at 50% 30%, #000 30%, transparent 85%);
}
.hero__glow {
  position: absolute; left: 0; top: 0; z-index: -1; width: 720px; height: 720px; margin: -360px 0 0 -360px;
  border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(16, 96, 240, 0.16), transparent 62%);
  transform: translate3d(50vw, 280px, 0);
  transition: transform 0.6s var(--ease);
}
.blob { position: absolute; z-index: -1; border-radius: 50%; filter: blur(60px); opacity: 0.55; pointer-events: none; }
.blob--sky { width: 340px; height: 340px; background: #a8d4ff; left: -120px; top: 120px; animation: float-a 14s ease-in-out infinite; }
.blob--blue { width: 380px; height: 380px; background: #8fb6ff; right: -140px; top: 40px; animation: float-b 16s ease-in-out infinite; }
@keyframes float-a { 50% { transform: translate(60px, 40px) scale(1.1); } }
@keyframes float-b { 50% { transform: translate(-50px, 60px) scale(0.92); } }

.hero__in { display: flex; flex-direction: column; align-items: center; text-align: center; }
.chip {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px 8px 12px; border-radius: 999px;
  background: var(--card); box-shadow: inset 0 0 0 1px var(--line-2);
  font-size: 14px; font-weight: 600; color: var(--ink-2);
}
.pulse { position: relative; width: 10px; height: 10px; border-radius: 50%; background: var(--mint); }
.pulse::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--mint); animation: ping 1.8s var(--ease) infinite; }
@keyframes ping { to { transform: scale(2.8); opacity: 0; } }

.hero__title { margin-top: 22px; font: 700 clamp(2rem, 6vw, 4.7rem)/1.04 var(--font-d); letter-spacing: -0.045em; }
.hero__title .line { display: block; }
.hero__title .line:nth-child(3) { --d: 0.08s; }
.hero__title .line:nth-child(4) { --d: 0.16s; }
.dot { color: var(--blue); }
.swap { position: relative; padding: 0.04em 0; }
.swap__word {
  position: relative; display: inline-block; isolation: isolate;
  transition: opacity 0.35s var(--ease), transform 0.45s var(--ease), color 0.35s;
}
.swap__word.is-out { opacity: 0; transform: translateY(-0.35em) rotate(-2deg); }
.swap__word.is-in { opacity: 0; transform: translateY(0.4em); transition: none; }
.swap__word::after {
  content: ""; position: absolute; left: -4%; right: -4%; top: 50%; height: 0.11em;
  border-radius: 99px; background: var(--coral);
  transform: rotate(-4deg) scaleX(0); transform-origin: left center;
  transition: transform 0.45s var(--ease);
}
.swap__word.is-struck { color: rgba(4, 27, 66, 0.38); }
.swap__word.is-struck::after { transform: rotate(-4deg) scaleX(1); }
.swap__word.is-final { color: #fff; }
.swap__word.is-final::before {
  content: ""; position: absolute; inset: 0.12em -0.12em 0.02em; z-index: -1;
  border-radius: 0.18em; background: var(--blue);
  transform: skewX(-8deg) scaleX(0); transform-origin: left;
  animation: marker 0.7s var(--ease) forwards 0.1s;
}
@keyframes marker { to { transform: skewX(-8deg) scaleX(1); } }

.hero__lead { --d: 0.24s; max-width: 660px; margin-top: 22px; font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); }
.hero__cta { --d: 0.32s; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 30px; }
.ticks { --d: 0.4s; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; margin-top: 26px; font-size: 15px; font-weight: 500; color: var(--ink-2); }
.ticks li { display: inline-flex; align-items: center; gap: 7px; }
.ticks .i { width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: var(--blue); color: #fff; stroke-width: 3; }

/* hero stage: product mock that flattens as you scroll */
.stage { position: relative; margin-top: 64px; perspective: 1600px; }
.mock {
  position: relative; max-width: 1040px; margin: 0 auto;
  border-radius: 22px; overflow: hidden;
  background: var(--card); box-shadow: 0 50px 100px -40px rgba(4, 27, 66, 0.45), 0 0 0 1px var(--line-2);
  transform: rotateX(var(--tilt, 16deg)) scale(var(--sc, 0.94));
  transform-origin: 50% 0;
  animation: rise 1.2s var(--ease) both 0.35s;
}
@keyframes rise { from { opacity: 0; translate: 0 80px; } }
.mock__bar { display: flex; align-items: center; gap: 7px; height: 44px; padding: 0 16px; background: var(--paper-2); border-bottom: 1px solid var(--line); }
.mock__bar > i { width: 11px; height: 11px; border-radius: 50%; background: #ff6159; }
.mock__bar > i:nth-child(2) { background: #ffbd2e; }
.mock__bar > i:nth-child(3) { background: #28c941; }
.mock__url { display: inline-flex; align-items: center; gap: 6px; margin: 0 auto; padding: 5px 16px; border-radius: 999px; background: var(--card); font-size: 13px; font-weight: 500; color: var(--muted); }
.mock__url .i { width: 13px; height: 13px; color: var(--mint); }
.mock__body { display: grid; grid-template-columns: 210px 1fr; min-height: 430px; text-align: left; }
.mock__side { display: flex; flex-direction: column; gap: 3px; padding: 18px 12px; border-right: 1px solid var(--line); background: #f8faff; }
.mock__brand { display: flex; align-items: center; gap: 9px; padding: 4px 8px 14px; font: 700 14px/1.2 var(--font-d); }
.mock__brand b { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--blue); color: #fff; font-size: 14px; }
.mock__side > span { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; font-size: 14px; font-weight: 500; color: var(--muted); }
.mock__side > span .i { width: 17px; height: 17px; }
.mock__side > span.on { background: var(--blue); color: #fff; }
.mock__main { padding: 22px; display: grid; gap: 16px; align-content: start; background: var(--card); }
.mock__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.mstat { padding: 14px 16px; border-radius: 16px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
.mstat small, .mpanel small { display: block; font-size: 12px; font-weight: 600; color: var(--muted); }
.mstat b { display: block; margin-top: 4px; font: 700 28px/1.1 var(--font-d); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.mstat em { display: inline-block; margin-top: 6px; padding: 2px 8px; border-radius: 99px; background: #e2f8ee; color: #0d8a5b; font-size: 11px; font-style: normal; font-weight: 600; }
.mock__row { display: grid; grid-template-columns: 1.35fr 1fr; gap: 14px; }
.mpanel { padding: 16px; border-radius: 16px; box-shadow: inset 0 0 0 1px var(--line); }
.bars { display: flex; align-items: flex-end; gap: 7px; height: 150px; margin-top: 14px; }
.bars i { flex: 1; height: var(--h); border-radius: 6px 6px 3px 3px; background: #d3e3fd; transform-origin: bottom; transform: scaleY(0); }
.bars i.hi { background: var(--blue); }
.is-live .bars i { animation: grow 0.9s var(--spring) both; animation-delay: calc(0.6s + var(--n, 0) * 60ms); }
@keyframes grow { to { transform: scaleY(1); } }
.matt ul { display: grid; gap: 9px; margin-top: 12px; }
.matt li { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; }
.av { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: color-mix(in srgb, var(--c) 16%, white); color: var(--c); font-size: 11px; font-weight: 700; }
.tick { position: relative; width: 24px; height: 24px; margin-left: auto; border-radius: 8px; background: var(--paper-2); }
.tick::after {
  content: ""; position: absolute; left: 8px; top: 4px; width: 6px; height: 11px;
  border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg) scale(0);
}
.is-live .tick { animation: tick-bg 0.4s var(--ease) forwards; animation-delay: calc(1.2s + var(--n, 0) * 0.35s); }
.is-live .tick::after { animation: tick-mark 0.4s var(--spring) forwards; animation-delay: calc(1.3s + var(--n, 0) * 0.35s); }
.is-live .tick--late { animation-name: tick-late; }
@keyframes tick-bg { to { background: var(--mint); } }
@keyframes tick-late { to { background: var(--sky); } }
@keyframes tick-mark { to { transform: rotate(45deg) scale(1); } }

.float {
  position: absolute; z-index: 2; display: flex; align-items: center; gap: 12px;
  max-width: 270px; padding: 12px 16px 12px 12px; border-radius: 18px;
  background: rgba(255, 255, 255, 0.94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow), inset 0 0 0 1px var(--line);
  text-align: left; animation: pop-in 0.7s var(--spring) both, bob 6s ease-in-out infinite;
}
.float b { display: block; font-size: 14px; }
.float p { font-size: 13px; line-height: 1.35; color: var(--muted); }
.float__ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; flex: none; color: #fff; }
.float__ic .i { width: 20px; height: 20px; }
.float--tg { left: 0; bottom: 5%; animation-delay: 1.6s, 2.3s; }
.float--tg .float__ic { background: #29a9eb; }
.float--pay { right: 0; top: 34%; animation-delay: 2.1s, 2.8s; }
.float--pay .float__ic { background: var(--mint); }
.float--lead { right: 6%; bottom: -3%; animation-delay: 2.6s, 3.3s; }
.float--lead .float__ic { background: var(--ink); }
@keyframes pop-in { from { opacity: 0; transform: translateY(20px) scale(0.85); } }
@keyframes bob { 50% { translate: 0 -10px; } }

/* ---------- marquee ---------- */
.marquee { position: relative; display: grid; padding: 80px 0; overflow: hidden; }
.marquee__band { grid-area: 1 / 1; width: 110%; margin-left: -5%; overflow: hidden; padding: 16px 0; }
.marquee__band--blue { background: var(--blue); color: #fff; transform: rotate(-2.6deg); position: relative; z-index: 1; box-shadow: 0 10px 30px -14px rgba(4, 27, 66, 0.3); }
.marquee__band--ink { background: var(--ink); color: #fff; transform: rotate(2.2deg); }
.marquee__track { display: flex; width: max-content; animation: slide 38s linear infinite; }
.marquee__track--rev { animation-direction: reverse; animation-duration: 44s; }
.marquee__track span { display: inline-flex; align-items: center; font: 600 clamp(18px, 2.4vw, 26px)/1 var(--font-d); letter-spacing: -0.02em; white-space: nowrap; }
.marquee__track span::after { content: "✦"; margin: 0 28px; font-size: 0.8em; color: var(--sky); }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- section scaffolding ---------- */
.section { position: relative; padding: clamp(80px, 11vw, 140px) 0; }
.sec-head { max-width: 860px; margin: 0 auto clamp(40px, 6vw, 64px); text-align: center; }
.sec-head h2, .roles h2, .faq h2 { font: 700 clamp(1.8rem, 4vw, 3.1rem)/1.1 var(--font-d); letter-spacing: -0.04em; }
.sec-head p:not(.eyebrow) { margin-top: 18px; font-size: clamp(16px, 1.5vw, 19px); color: var(--muted); }
.eyebrow { display: inline-block; margin-bottom: 16px; padding: 6px 14px; border-radius: 999px; background: var(--ice); color: var(--blue-2); font: 600 13px/1.2 var(--font-d); letter-spacing: 0.02em; }
.eyebrow--dark { background: rgba(108, 182, 255, 0.14); color: var(--sky); }
/* Marker chizig'i: ko'p qatorli matnda ham har qatorga alohida chiziladi. */
.mark {
  --mk: #c6dcff;
  padding: 0 0.06em;
  background: linear-gradient(var(--mk), var(--mk)) no-repeat 0 92% / 0% 0.42em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
  transition: background-size 0.9s var(--ease) 0.45s;
}
.reveal.in .mark, html:not(.js) .mark { background-size: 100% 0.42em; }
.mark--line { --mk: var(--sky); background-position: 0 100%; }
.reveal.in .mark--line, html:not(.js) .mark--line { background-size: 100% 0.13em; }

/* ---------- chaos -> order ---------- */
.chaos { padding-top: clamp(40px, 6vw, 70px); background: linear-gradient(var(--paper), var(--paper-2)); }
.switch-row { display: flex; align-items: center; justify-content: center; gap: 14px; margin: -20px 0 48px; font-weight: 600; }
.switch-label { transition: opacity 0.3s; }
.switch-row.is-on [data-off], .switch-row:not(.is-on) [data-on] { opacity: 0.45; }
.switch { position: relative; width: 72px; height: 40px; padding: 0; border: 0; border-radius: 999px; background: var(--paper-2); box-shadow: inset 0 0 0 1.5px var(--line-2); transition: background 0.35s; }
.switch span { position: absolute; left: 5px; top: 5px; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); transition: transform 0.45s var(--spring), background 0.3s; }
.switch[aria-checked="true"] { background: var(--blue); }
.switch[aria-checked="true"] span { transform: translateX(32px); background: #fff; }

.board { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; max-width: 1000px; margin: 0 auto; }
.note {
  position: relative; min-height: 150px; padding: 22px; border-radius: 6px 6px 20px 6px;
  background: var(--bg); box-shadow: 0 16px 30px -18px rgba(4, 27, 66, 0.45);
  transform: translate(var(--x), var(--y)) rotate(var(--r));
  transition: transform 0.8s var(--spring), background 0.5s var(--ease), border-radius 0.5s, box-shadow 0.5s;
  transition-delay: calc(var(--i, 0) * 70ms);
}
.note:hover { transform: translate(var(--x), calc(var(--y) - 6px)) rotate(calc(var(--r) * 0.5)); transition-delay: 0s; }
.note::before { content: ""; position: absolute; left: 50%; top: -9px; width: 70px; height: 20px; margin-left: -35px; background: rgba(255, 255, 255, 0.55); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08); transform: rotate(-3deg); transition: opacity 0.4s; }
.note__q, .note__a { transition: opacity 0.4s var(--ease), transform 0.5s var(--ease); }
.note__q { font: 700 clamp(25px, 2.6vw, 30px)/1.1 var(--font-h); color: var(--ink); }
.note__a { position: absolute; inset: 22px; display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: 17px; line-height: 1.35; opacity: 0; transform: translateY(14px); }
.note__a .i { width: 34px; height: 34px; padding: 7px; border-radius: 11px; background: var(--blue); color: #fff; stroke-width: 3; }
.board.is-order .note { transform: none; background: var(--card); border-radius: 20px; box-shadow: inset 0 0 0 1px var(--line), 0 10px 26px -18px rgba(4, 27, 66, 0.35); }
.board.is-order .note:hover { transform: translateY(-4px); }
.board.is-order .note::before { opacity: 0; }
.board.is-order .note__q { opacity: 0; transform: translateY(-14px); }
.board.is-order .note__a { opacity: 1; transform: none; transition-delay: calc(var(--i, 0) * 70ms + 0.2s); }

/* ---------- features / bento ---------- */
.bento {
  display: grid; gap: 18px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-areas:
    "crm crm tg att"
    "crm crm tg pay"
    "sal sal rep brand";
}
.card {
  position: relative; display: flex; flex-direction: column; gap: 22px; overflow: hidden;
  padding: 24px; border-radius: 28px; background: var(--card);
  box-shadow: inset 0 0 0 1px var(--line);
  transition: transform 0.5s var(--spring), box-shadow 0.4s;
}
.card:hover { transform: translateY(-6px); box-shadow: inset 0 0 0 1px var(--line-2), 0 30px 50px -30px rgba(4, 27, 66, 0.4); }
.card--crm { grid-area: crm; }
.card--tg { grid-area: tg; background: var(--ink); color: #fff; }
.card--att { grid-area: att; }
.card--pay { grid-area: pay; }
.card--salary { grid-area: sal; flex-direction: row; align-items: center; }
.card--rep { grid-area: rep; }
.card--brand { grid-area: brand; }
.card:nth-child(2) { --d: 0.06s; } .card:nth-child(3) { --d: 0.12s; } .card:nth-child(4) { --d: 0.18s; }
.card:nth-child(6) { --d: 0.06s; } .card:nth-child(7) { --d: 0.12s; }
.card__txt { margin-top: auto; }
.card--salary .card__txt { margin: 0; flex: 1; }
.card__ic { display: inline-grid; place-items: center; width: 42px; height: 42px; margin-bottom: 14px; border-radius: 13px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
.card--tg .card__ic { background: rgba(255, 255, 255, 0.08); box-shadow: none; color: var(--sky); }
.card h3 { font: 700 clamp(19px, 1.8vw, 23px)/1.2 var(--font-d); letter-spacing: -0.03em; }
.card__txt p { margin-top: 8px; font-size: 15.5px; line-height: 1.55; color: var(--muted); }
.card--tg .card__txt p { color: rgba(255, 255, 255, 0.68); }
.demo { position: relative; border-radius: 20px; }
.card--crm .kanban { flex: 1; }

/* kanban: one lead travels through the pipeline */
.kanban { --pad: 14px; --gap: 10px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); min-height: 250px; padding: var(--pad); background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
.kanban__col { position: relative; display: flex; flex-direction: column; gap: 8px; padding-top: 50px; }
.kanban__col h4 { position: absolute; top: 0; left: 0; right: 0; display: flex; justify-content: space-between; align-items: center; gap: 4px; padding: 8px 10px; border-radius: 10px; background: var(--card); font-size: 12px; font-weight: 700; white-space: nowrap; overflow: hidden; }
.kanban__col h4 em { font-style: normal; color: var(--muted); font-weight: 600; }
.kanban__col:nth-child(1) h4 { box-shadow: inset 3px 0 0 var(--blue), inset 0 0 0 1px var(--line); }
.kanban__col:nth-child(2) h4 { box-shadow: inset 3px 0 0 var(--sky), inset 0 0 0 1px var(--line); }
.kanban__col:nth-child(3) h4 { box-shadow: inset 3px 0 0 var(--ink), inset 0 0 0 1px var(--line); }
.kanban__col:nth-child(4) h4 { box-shadow: inset 3px 0 0 var(--mint), inset 0 0 0 1px var(--line); }
.sk { position: relative; display: block; height: 52px; border-radius: 12px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.sk::before, .sk::after { content: ""; position: absolute; left: 10px; height: 7px; border-radius: 4px; background: var(--paper-2); }
.sk::before { top: 14px; width: 60%; }
.sk::after { top: 29px; width: 40%; }
.sk--won { background: #e2f8ee; }
.kanban__mover {
  --step: calc(100% + var(--gap));
  position: absolute; z-index: 2; left: var(--pad); top: calc(var(--pad) + 50px + 52px + 8px);
  width: calc((100% - 2 * var(--pad) - 3 * var(--gap)) / 4);
  display: flex; flex-direction: column; gap: 2px;
  padding: 10px 12px; border-radius: 12px;
  background: var(--card); box-shadow: 0 14px 28px -12px rgba(4, 27, 66, 0.4), inset 0 0 0 1.5px var(--blue);
  font-size: 12px;
}
.kanban__mover b { font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kanban__mover span { color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kanban__mover i { position: absolute; right: -6px; top: -6px; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--mint); color: #fff; opacity: 0; transform: scale(0); }
.kanban__mover i .i { width: 12px; height: 12px; stroke-width: 3.5; }
.is-live .kanban__mover { animation: lead-move 7s var(--ease) infinite 0.4s; }
.is-live .kanban__mover i { animation: lead-won 7s var(--ease) infinite 0.4s; }
@keyframes lead-move {
  0%, 10% { transform: translateX(0) rotate(0); opacity: 1; }
  14% { transform: translateX(0) translateY(-8px) rotate(-3deg); }
  24%, 34% { transform: translateX(var(--step)) rotate(0); }
  38% { transform: translateX(var(--step)) translateY(-8px) rotate(-3deg); }
  48%, 58% { transform: translateX(calc(var(--step) * 2)) rotate(0); }
  62% { transform: translateX(calc(var(--step) * 2)) translateY(-8px) rotate(-3deg); }
  72%, 92% { transform: translateX(calc(var(--step) * 3)) rotate(0); opacity: 1; box-shadow: 0 14px 28px -12px rgba(4, 27, 66, 0.4), inset 0 0 0 1.5px var(--mint); }
  97% { transform: translateX(calc(var(--step) * 3)); opacity: 0; }
  100% { transform: translateX(0); opacity: 0; }
}
@keyframes lead-won { 0%, 70% { opacity: 0; transform: scale(0); } 76%, 92% { opacity: 1; transform: scale(1); } 100% { opacity: 0; } }

/* telegram phone */
.phone { flex: 1; display: flex; flex-direction: column; min-height: 330px; border-radius: 22px; background: var(--ink-3); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08); overflow: hidden; }
.phone__top { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: rgba(255, 255, 255, 0.04); border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
.phone__top b { display: block; font-size: 14px; }
.phone__top small { font-size: 12px; color: rgba(255, 255, 255, 0.5); }
.phone__av { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #29a9eb; color: #fff; }
.phone__chat { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; padding: 14px; background: radial-gradient(circle at 20% 10%, rgba(16, 96, 240, 0.18), transparent 60%); }
.msg { align-self: flex-start; max-width: 90%; padding: 9px 12px; border-radius: 14px 14px 14px 4px; background: #17407f; color: #fff; font-size: 13.5px; line-height: 1.4; opacity: 0; transform: translateY(12px) scale(0.96); transform-origin: left bottom; }
.msg--ok { background: #1b5e45; }
.is-live .msg { animation: msg 0.5s var(--spring) forwards; animation-delay: calc(0.4s + var(--d) * 0.9s); }
@keyframes msg { to { opacity: 1; transform: none; } }

/* attendance grid */
.att { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; padding: 14px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
.att span { aspect-ratio: 1; border-radius: 7px; background: var(--paper-2); transform: scale(0.6); opacity: 0.5; }
.att span.p { --c: var(--mint); }
.att span.a { --c: var(--coral); }
.att span.l { --c: var(--sky); }
.is-live .att span { animation: cell 0.4s var(--spring) forwards; animation-delay: calc(var(--n) * 28ms); }
@keyframes cell { to { background: var(--c, var(--paper-2)); transform: scale(1); opacity: 1; } }

/* payments ring */
.ring { display: grid; place-items: center; padding: 6px 0; }
.ring svg { width: 140px; height: 140px; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 11; }
.ring__bg { stroke: var(--paper-2); }
.ring__fg { stroke: var(--blue); stroke-linecap: round; stroke-dasharray: 264; stroke-dashoffset: 264; transition: stroke-dashoffset 1.6s var(--ease) 0.2s; }
.is-live .ring__fg { stroke-dashoffset: 37; }
.ring__val { position: absolute; text-align: center; }
.ring__val b { display: block; font: 700 28px/1 var(--font-d); letter-spacing: -0.03em; }
.ring__val small { font-size: 12px; font-weight: 600; color: var(--muted); }

/* salary calculator */
.calc { flex: 1.25; display: flex; flex-direction: column; gap: 18px; padding: 20px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
.seg { display: inline-flex; align-self: flex-start; padding: 4px; border-radius: 999px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.seg button { min-height: 38px; padding: 0 16px; border: 0; border-radius: 999px; background: transparent; font-size: 14px; font-weight: 600; color: var(--muted); transition: background 0.3s, color 0.3s; }
.seg button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.calc__row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font: 700 clamp(15px, 1.6vw, 19px)/1 var(--font-d); letter-spacing: -0.02em; }
.calc__chip { padding: 10px 12px; border-radius: 12px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); font-variant-numeric: tabular-nums; }
.calc__chip--hi { background: var(--ice); color: var(--blue-2); box-shadow: none; }
.calc__op { color: var(--muted); }
.calc__res { padding: 10px 12px; border-radius: 12px; background: var(--blue); color: #fff; font-variant-numeric: tabular-nums; }
.calc__cap { font-size: 14px; font-weight: 500; color: var(--muted); }
.flip { animation: flip 0.5s var(--ease); }
@keyframes flip { from { opacity: 0; transform: translateY(10px); } }

/* sparkline */
.spark { padding: 16px 16px 8px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
.spark__head { display: flex; justify-content: space-between; align-items: baseline; }
.spark__head small { font-size: 12px; font-weight: 600; color: var(--muted); }
.spark__head b { font: 700 20px/1 var(--font-d); color: var(--mint); }
.spark svg { width: 100%; height: 80px; margin-top: 8px; overflow: visible; }
.spark__line { stroke: var(--blue); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.spark__area { opacity: 0; transition: opacity 0.8s 1s; }
.is-live .spark__line { animation: draw 1.8s var(--ease) forwards 0.2s; }
.is-live .spark__area { opacity: 1; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* brand */
.brand { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 20px 12px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
.brand__tile { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 20px; background: var(--blue); color: #fff; font: 800 26px/1 var(--font-d); transition: background 0.6s var(--ease), border-radius 0.6s var(--ease), transform 0.6s var(--spring); }
.brand__url { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; padding: 8px 12px; border-radius: 999px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); font-size: 13px; font-weight: 600; white-space: nowrap; }
.brand__url .i { width: 13px; height: 13px; color: var(--mint); }
[data-type] { color: var(--blue); border-right: 2px solid var(--blue); padding-right: 1px; animation: caret 0.9s steps(1) infinite; }
@keyframes caret { 50% { border-color: transparent; } }

.extras { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 36px; }
.extras li { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); font-size: 15px; font-weight: 500; transition: transform 0.3s var(--spring), background 0.3s; }
.extras li:hover { transform: translateY(-3px) rotate(-1deg); background: var(--ice); }
.extras .i { color: var(--blue); }

/* ---------- roles ---------- */
.roles { background: var(--ink); color: #fff; overflow: hidden; }
.roles::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px); background-size: 26px 26px; pointer-events: none; }
.roles__in { position: relative; display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.roles__copy > p:not(.eyebrow) { --d: 0.1s; margin-top: 18px; font-size: 18px; color: rgba(255, 255, 255, 0.68); }
.roles h2 { --d: 0.05s; }
.tabs { --d: 0.15s; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.tabs button { position: relative; min-height: 44px; padding: 0 18px; border: 0; border-radius: 999px; background: rgba(255, 255, 255, 0.07); color: rgba(255, 255, 255, 0.8); font-weight: 600; font-size: 15px; overflow: hidden; transition: background 0.3s, color 0.3s, transform 0.3s var(--spring); }
.tabs button:hover { background: rgba(255, 255, 255, 0.13); transform: translateY(-2px); }
.tabs button[aria-selected="true"] { background: var(--blue); color: #fff; }
.tabs.is-auto button[aria-selected="true"]::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: rgba(255, 255, 255, 0.45); transform-origin: left; animation: tab-timer 4.2s linear forwards; }
@keyframes tab-timer { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.rwin { --d: 0.1s; border-radius: 22px; overflow: hidden; background: var(--ink-3); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.8), inset 0 0 0 1px rgba(255, 255, 255, 0.08); }
.rwin__bar { display: flex; align-items: center; gap: 7px; height: 46px; padding: 0 16px; background: rgba(255, 255, 255, 0.04); border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
.rwin__bar > i { width: 11px; height: 11px; border-radius: 50%; background: rgba(255, 255, 255, 0.18); }
.rwin__pill { margin-left: auto; padding: 5px 12px; border-radius: 999px; background: rgba(108, 182, 255, 0.14); color: var(--sky); font-size: 13px; }
.rwin__body { display: grid; grid-template-columns: 190px 1fr; min-height: 360px; }
.rwin__menu { padding: 14px 10px; border-right: 1px solid rgba(255, 255, 255, 0.06); }
.rwin__menu li {
  display: flex; align-items: center; gap: 10px; overflow: hidden; white-space: nowrap;
  max-height: 44px; padding: 10px 12px; margin-bottom: 3px; border-radius: 12px;
  font-size: 14px; font-weight: 500; color: rgba(255, 255, 255, 0.82);
  transition: max-height 0.45s var(--ease), padding 0.45s var(--ease), margin 0.45s var(--ease), opacity 0.35s, transform 0.45s var(--ease), background 0.3s;
}
.rwin__menu li .i { width: 17px; height: 17px; color: var(--sky); }
.rwin__menu li.off { max-height: 0; padding-top: 0; padding-bottom: 0; margin-bottom: 0; opacity: 0; transform: translateX(-16px); }
.rwin__menu li.first { background: rgba(255, 255, 255, 0.08); }
.rwin__main { padding: 26px; display: flex; flex-direction: column; gap: 22px; }
.rwin__desc { font: 500 clamp(18px, 1.7vw, 21px)/1.5 var(--font-b); color: rgba(255, 255, 255, 0.92); }
.rwin__perm { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.rwin__perm li { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, 0.05); font-size: 14px; font-weight: 500; animation: perm 0.45s var(--spring) both; animation-delay: calc(var(--n) * 60ms); }
.rwin__perm li .i { width: 22px; height: 22px; padding: 4px; border-radius: 50%; stroke-width: 3; }
.rwin__perm li.yes .i { background: var(--sky); color: var(--ink); }
.rwin__perm li.no { color: rgba(255, 255, 255, 0.45); }
.rwin__perm li.no .i { background: rgba(255, 255, 255, 0.1); color: rgba(255, 255, 255, 0.5); }
.swap-in { animation: perm 0.45s var(--ease) both; }
@keyframes perm { from { opacity: 0; transform: translateY(10px); } }

/* ---------- steps ---------- */
.steps__row { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: start; }
.steps__path { position: absolute; left: 0; top: 10px; width: 100%; height: 120px; z-index: 0; overflow: visible; }
.steps__path path { fill: none; stroke: var(--ink); stroke-width: 2; stroke-dasharray: 0.01 0.012; opacity: 0.3; animation: march 30s linear infinite; }
@keyframes march { to { stroke-dashoffset: -1; } }
.step { position: relative; z-index: 1; padding: 30px 26px; border-radius: 28px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); transition: transform 0.5s var(--spring), box-shadow 0.4s; }
.step:nth-of-type(2) { --d: 0.12s; margin-top: 40px; }
.step:nth-of-type(3) { --d: 0.24s; }
.step:hover { transform: translateY(-6px) rotate(-0.6deg); box-shadow: inset 0 0 0 1px var(--line-2), 0 30px 50px -30px rgba(4, 27, 66, 0.4); }
.step__n { position: absolute; right: 22px; top: 18px; font: 800 54px/1 var(--font-d); letter-spacing: -0.05em; color: transparent; -webkit-text-stroke: 1.5px var(--line-2); }
.step__ic { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 22px; border-radius: 18px; background: var(--ink); color: var(--sky); transition: transform 0.5s var(--spring); }
.step:hover .step__ic { transform: rotate(-8deg) scale(1.06); }
.step__ic .i { width: 26px; height: 26px; }
.step:nth-of-type(2) .step__ic { background: var(--blue); color: #fff; }
.step:nth-of-type(3) .step__ic { background: var(--ice); color: var(--blue-2); }
.step h3 { font: 700 21px/1.25 var(--font-d); letter-spacing: -0.03em; }
.step p { margin-top: 10px; color: var(--muted); font-size: 16px; }

/* ---------- numbers ---------- */
.numbers { padding: 10px 0 clamp(70px, 9vw, 110px); }
.numbers__in { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.num { padding: 26px 24px; border-radius: 26px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.num:nth-child(2) { --d: 0.08s; background: var(--blue); color: #fff; box-shadow: none; }
.num:nth-child(3) { --d: 0.16s; }
.num:nth-child(4) { --d: 0.24s; background: var(--ink); color: #fff; box-shadow: none; }
.num b { display: block; font: 800 clamp(44px, 5.5vw, 68px)/1 var(--font-d); letter-spacing: -0.05em; font-variant-numeric: tabular-nums; }
.num span { display: block; margin-top: 10px; font-weight: 600; color: var(--muted); }
.num:nth-child(2) span { color: rgba(255, 255, 255, 0.78); }
.num:nth-child(4) span { color: rgba(255, 255, 255, 0.65); }

/* ---------- faq ---------- */
.faq { padding-top: 0; }
.faq__in { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.faq__side { position: sticky; top: 110px; }
.faq__side > p:not(.eyebrow) { margin: 16px 0 24px; color: var(--muted); font-size: 17px; }
.faq__list { display: grid; gap: 12px; }
.qa { border-radius: 22px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow 0.3s; }
.qa:nth-child(2) { --d: 0.04s; } .qa:nth-child(3) { --d: 0.08s; } .qa:nth-child(4) { --d: 0.12s; } .qa:nth-child(5) { --d: 0.16s; } .qa:nth-child(6) { --d: 0.2s; } .qa:nth-child(7) { --d: 0.24s; }
.qa[open] { box-shadow: inset 0 0 0 1.5px var(--blue); }
.qa summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; border-radius: 22px; cursor: pointer; list-style: none; font: 600 17px/1.35 var(--font-b); }
.qa summary::-webkit-details-marker { display: none; }
.qa summary .i { width: 30px; height: 30px; padding: 6px; border-radius: 50%; background: var(--paper); transition: transform 0.4s var(--spring), background 0.3s; }
.qa[open] summary .i { transform: rotate(135deg); background: var(--blue); color: #fff; }
.qa p { padding: 0 22px 22px; color: var(--muted); font-size: 16px; animation: perm 0.4s var(--ease); }

/* ---------- final CTA ---------- */
.final { position: relative; padding: clamp(90px, 12vw, 150px) 0; background: var(--ink); color: #fff; overflow: hidden; isolation: isolate; text-align: center; }
.final__grid { position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px); background-size: 52px 52px; -webkit-mask-image: radial-gradient(ellipse at center, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse at center, #000 20%, transparent 75%); }
.orb { position: absolute; z-index: -1; border-radius: 50%; filter: blur(70px); opacity: 0.5; }
.orb--1 { width: 420px; height: 420px; background: var(--blue); left: -120px; bottom: -160px; animation: float-a 12s ease-in-out infinite; }
.orb--2 { width: 360px; height: 360px; background: var(--sky); right: -100px; top: -140px; animation: float-b 14s ease-in-out infinite; }
.final__in { display: flex; flex-direction: column; align-items: center; }
.final h2 { max-width: 900px; font: 700 clamp(2.1rem, 6vw, 4.6rem)/1.08 var(--font-d); letter-spacing: -0.045em; }
.final p { --d: 0.1s; max-width: 560px; margin: 22px 0 36px; font-size: clamp(17px, 1.6vw, 20px); color: rgba(255, 255, 255, 0.7); }
.final .btn { --d: 0.2s; }
.final__hint { --d: 0.3s; margin-top: 18px; color: rgba(255, 255, 255, 0.5); font-size: 14px; }
.scribble { position: relative; display: inline-block; color: var(--sky); }
.scribble svg { position: absolute; left: 0; bottom: -0.2em; width: 100%; height: 0.32em; overflow: visible; }
.scribble path { fill: none; stroke: var(--blue); stroke-width: 5; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.reveal.in .scribble path, html:not(.js) .scribble path { animation: draw 1.1s var(--ease) forwards 0.6s; }

/* ---------- footer ---------- */
.foot { padding: 34px 0 40px; background: var(--ink); color: rgba(255, 255, 255, 0.6); border-top: 1px solid rgba(255, 255, 255, 0.08); }
.foot__in { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }
.logo--light .logo__word { filter: brightness(0) invert(1); } /* to'q fonda oq yozuv */
.foot p { font-size: 15px; }
.foot nav { display: flex; gap: 18px; margin-left: auto; font-size: 15px; }
.foot nav a:hover { color: var(--sky); }
.foot small { width: 100%; font-size: 13px; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-areas: "crm crm" "tg att" "tg pay" "sal sal" "rep brand"; }
  .float--tg { left: -6px; }
  .float--pay { right: -6px; }
}
@media (max-width: 900px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: grid; }
  .nav__in { padding-left: 16px; }
  .mock__body { grid-template-columns: 1fr; min-height: 0; }
  .mock__side { display: none; }
  .roles__in, .faq__in { grid-template-columns: 1fr; }
  .faq__side { position: static; }
  .steps__row { grid-template-columns: 1fr; }
  .steps__path { display: none; }
  .step:nth-of-type(2) { margin-top: 0; }
  .numbers__in { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card--salary { flex-direction: column-reverse; align-items: stretch; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .hero { padding-top: 120px; }
  .hero__cta { width: 100%; flex-direction: column; }
  .hero__cta .btn { width: 100%; }
  .stage { margin-top: 48px; }
  .mock { border-radius: 16px; }
  .mock__main { padding: 14px; gap: 12px; }
  .mock__stats { gap: 8px; }
  .mstat { padding: 10px; border-radius: 12px; }
  .mstat small { font-size: 10.5px; }
  .mstat b { font-size: 20px; }
  .mstat em { display: none; }
  .mock__row { grid-template-columns: 1fr; }
  .bars { height: 100px; }
  .matt { display: none; }
  .float { max-width: 215px; padding: 9px 12px 9px 9px; border-radius: 14px; gap: 9px; }
  .float__ic { width: 32px; height: 32px; border-radius: 10px; }
  .float b { font-size: 13px; }
  .float p { font-size: 12px; }
  .float--tg { top: auto; bottom: -28px; left: 6px; }
  .float--pay { top: -34px; right: 6px; }
  .float--lead { display: none; }
  .marquee { padding: 56px 0 44px; }
  .board { grid-template-columns: 1fr 1fr; gap: 12px; }
  .note { min-height: 132px; padding: 16px; transform: translate(calc(var(--x) * 0.35), calc(var(--y) * 0.5)) rotate(calc(var(--r) * 0.7)); }
  .note__q { font-size: 23px; }
  .note__a { inset: 16px; font-size: 14.5px; gap: 8px; flex-direction: column; align-items: flex-start; justify-content: center; }
  .note__a .i { width: 28px; height: 28px; padding: 5px; }
  .bento { grid-template-columns: 1fr; grid-template-areas: "crm" "tg" "att" "pay" "sal" "rep" "brand"; }
  .card { padding: 18px; border-radius: 24px; }
  .kanban { --pad: 10px; --gap: 6px; min-height: 220px; }
  .kanban__col h4 { font-size: 10px; padding: 7px 6px; }
  .kanban__col h4 em { display: none; }
  .kanban__mover { padding: 8px; }
  .kanban__mover span { display: none; }
  .kanban__mover b { font-size: 11px; }
  .rwin__body { grid-template-columns: 1fr; min-height: 0; }
  .rwin__menu { display: flex; flex-wrap: wrap; gap: 6px; border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
  .rwin__menu li { margin: 0; padding: 7px 10px; font-size: 13px; }
  .rwin__menu li.off { display: none; }
  .rwin__main { padding: 20px; }
  .rwin__perm { grid-template-columns: 1fr; }
  .numbers__in { gap: 12px; }
  .num { padding: 20px 18px; border-radius: 22px; }
  .foot nav { margin-left: 0; }
  .final .btn--xl { width: 100%; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: 0.001ms !important; transition-delay: 0s !important; }
  .mock { --tilt: 0deg !important; --sc: 1 !important; }
  .marquee__track, .is-live .kanban__mover, .is-live .kanban__mover i, .steps__path path { animation: none !important; }
}
