/* vitalythedev.com, style A "Cursor" */
:root {
  --bg: #070e18;
  --panel: #0e1726;
  --card: #16263d;
  --line: #22344f;
  --amber: #f5a524;
  --amber-ink: #8a5a00;
  --ink: #0e1a2b;
  --light: #f4f6f9;
  --text: #e9eef5;
  --muted: #8da0b8;
  --soft: #a9b8cc;
  --slate: #44546a;
  --green: #4ade80;
  --display: 'Unbounded', system-ui, sans-serif;
  --body: 'Inter', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --pad: clamp(20px, 4vw, 60px);
  --radius: clamp(22px, 3vw, 40px);
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background-color: var(--bg);
  background-image:
    linear-gradient(rgba(233,238,245,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(233,238,245,.045) 1px, transparent 1px);
  background-size: 72px 72px;
  background-position: -1px -1px;
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
.amber { color: var(--amber); }
.green { color: var(--green); }
.wrap { max-width: 1360px; margin: 0 auto; padding: 0 var(--pad); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--amber); color: var(--ink); padding: 10px 16px; border-radius: 10px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 6px; }

/* type */
.h-xl, .h-lg { font-family: var(--display); text-transform: uppercase; letter-spacing: -.01em; }
.h-xl { font-weight: 800; font-size: clamp(40px, 5.4vw, 84px); line-height: .98; }
.h-lg { font-weight: 800; font-size: clamp(28px, 4vw, 62px); line-height: 1.1; }
.h-black { color: var(--ink); }
mark { background: var(--amber); color: var(--ink); padding: 0 .2em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.lead-caps { font-family: var(--display); text-transform: uppercase; font-size: clamp(15px, 1.5vw, 22px); line-height: 1.45; color: var(--muted); max-width: 760px; }
.lead-caps b { color: var(--text); font-weight: 600; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px; height: 56px; padding: 0 28px; border-radius: 12px;
  background: var(--amber); color: var(--ink); text-decoration: none; white-space: nowrap;
  font-family: var(--display); font-weight: 700; font-size: 14px; text-transform: uppercase;
  position: relative; overflow: hidden; isolation: isolate;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.55) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .7s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(245,165,36,.3); }
.btn:hover::after { transform: translateX(120%); }
.btn--lg { height: 58px; }
.btn--sm { height: 44px; padding: 0 18px; font-size: 12px; }
.btn--ghost { background: transparent; color: var(--amber); border: 1.5px solid rgba(245,165,36,.6); height: 48px; padding: 0 20px; font-family: var(--mono); text-transform: none; font-size: 14px; }
.btn--ghost:hover { box-shadow: none; background: rgba(245,165,36,.08); }

/* wordmark with blinking cursor */
.wordmark { font-family: var(--mono); font-weight: 700; font-size: 20px; text-decoration: none; display: inline-flex; align-items: baseline; white-space: pre; }
.wordmark span { opacity: .55; }
.wordmark i { display: inline-block; width: 12px; height: 3px; background: var(--amber); margin-left: 3px; animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* scroll progress */
.progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 60; pointer-events: none; }
.progress span { display: block; height: 100%; width: 100%; background: var(--amber); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }

/* sticky bar (desktop) */
.bar {
  position: fixed; top: 14px; left: 50%; z-index: 50; width: min(1200px, calc(100% - 28px));
  display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 10px 12px 10px 24px;
  background: rgba(14,23,38,.78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line); border-radius: 16px;
  transform: translate(-50%, -130%); visibility: hidden; transition: transform .45s var(--ease), visibility 0s .45s;
}
.bar.is-on { transform: translate(-50%, 0); visibility: visible; transition: transform .45s var(--ease); }
.bar .wordmark { font-size: 17px; }
.bar__nav { display: flex; gap: 28px; font-family: var(--mono); font-size: 13px; }
.bar__nav a { text-decoration: none; color: var(--soft); position: relative; }
.bar__nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: var(--amber); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.bar__nav a:hover, .bar__nav a.is-active { color: var(--text); }
.bar__nav a:hover::after, .bar__nav a.is-active::after { transform: scaleX(1); }

/* burger + phone menu */
.burger { display: none; }
.menu[hidden] { display: none; }
@media (max-width: 760px) {
  .bar { display: none; }
  .burger {
    display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px;
    position: fixed; top: 10px; right: 14px; z-index: 70; width: 46px; height: 46px; padding: 0;
    border: 1.5px solid rgba(245,165,36,.6); border-radius: 12px; background: rgba(7,14,24,.75);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); cursor: pointer;
  }
  .burger span { width: 20px; height: 2px; background: var(--amber); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
  .burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .menu {
    position: fixed; inset: 0; z-index: 65; padding: 80px 20px 28px; display: flex; flex-direction: column; justify-content: space-between;
    background: rgba(7,14,24,.97); backdrop-filter: blur(8px);
    opacity: 0; transition: opacity .3s var(--ease);
  }
  .menu.is-open { opacity: 1; }
  .menu nav { display: flex; flex-direction: column; }
  .menu nav a {
    display: flex; justify-content: space-between; align-items: center; min-height: 60px; text-decoration: none;
    font-family: var(--display); font-weight: 700; font-size: 18px; text-transform: uppercase; border-bottom: 1px solid var(--line);
    opacity: 0; transform: translateY(14px); transition: opacity .4s var(--ease), transform .4s var(--ease);
  }
  .menu nav a b { color: var(--amber); font-family: var(--mono); }
  .menu.is-open nav a { opacity: 1; transform: none; }
  .menu.is-open nav a:nth-child(2) { transition-delay: .04s; }
  .menu.is-open nav a:nth-child(3) { transition-delay: .08s; }
  .menu.is-open nav a:nth-child(4) { transition-delay: .12s; }
  .menu.is-open nav a:nth-child(5) { transition-delay: .16s; }
  .menu.is-open nav a:nth-child(6) { transition-delay: .2s; }
  .menu .btn { justify-content: center; }
  body.menu-open { overflow: hidden; }
}

/* HERO */
.hero { position: relative; overflow: hidden; background-image: radial-gradient(ellipse at 72% 60%, rgba(245,165,36,.22), transparent 55%); }
.hero__rail { position: absolute; left: clamp(12px, 2vw, 30px); top: 28px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.hero__rail span { writing-mode: vertical-rl; transform: rotate(180deg); font-family: var(--mono); font-weight: 700; font-size: clamp(15px, 1.6vw, 22px); white-space: nowrap; }
.hero__rail i { font-style: normal; opacity: .5; }
.hero__rail b { width: 10px; height: 26px; background: var(--amber); animation: blink 1.1s steps(1) infinite; }
.hero__handle { display: none; }
.hero__top {
  max-width: 1360px; margin: 0 auto; padding: 26px var(--pad) 0 clamp(60px, 7vw, 120px);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px;
  font-family: var(--mono); font-size: clamp(11px, 1vw, 14px); letter-spacing: .06em; color: var(--muted);
}
.hero__top a { text-decoration: none; transition: color .2s; }
.hero__top a:hover { color: var(--amber); }
.hero__top b { color: var(--amber); }
.hero__ghost {
  position: absolute; left: clamp(40px, 6vw, 110px); top: clamp(110px, 14vw, 190px);
  font-family: var(--display); font-weight: 900; font-size: clamp(64px, 13vw, 210px); line-height: 1; letter-spacing: -.01em;
  color: transparent; -webkit-text-stroke: 1.5px rgba(233,238,245,.13); white-space: nowrap; pointer-events: none;
  will-change: transform;
}
.hero__inner {
  position: relative; max-width: 1360px; margin: 0 auto; padding: clamp(40px, 7vw, 110px) var(--pad) 0 clamp(60px, 7vw, 120px);
  display: flex; flex-wrap: wrap; align-items: flex-end; gap: 24px;
}
.hero__copy { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 26px; padding-bottom: clamp(40px, 6vw, 96px); }
.hero__title { font-family: var(--display); font-weight: 800; font-size: clamp(30px, 4.4vw, 66px); line-height: 1.04; letter-spacing: -.01em; text-transform: uppercase; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .04em; white-space: nowrap; }
.hero__title .line > span { display: inline-block; animation: rise .9s var(--ease) both; }
.hero__title .line:nth-child(2) > span { animation-delay: .1s; }
@keyframes rise { from { transform: translateY(38%); } }
.hero__sub { font-family: var(--mono); font-size: clamp(15px, 1.6vw, 22px); color: var(--amber); min-height: 1.5em; }
.hero__sub.is-typing::after { content: "_"; animation: blink .8s steps(1) infinite; }
.me { display: flex; align-items: center; gap: 16px; margin-top: 4px; }
.me img { width: 64px; height: 64px; border-radius: 50%; border: 2px solid var(--amber); flex-shrink: 0; }
.me p { font-size: 15px; line-height: 1.45; color: var(--soft); max-width: 430px; }
.me b { color: var(--text); }

/* CRM mockup */
.hero__visual { flex: 1 1 440px; min-width: 0; max-width: 640px; padding-bottom: clamp(40px, 6vw, 96px); position: relative; perspective: 1200px; }
.crm {
  background: var(--panel); border: 1px solid var(--line); border-radius: 26px; overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,.5), 0 0 0 8px rgba(245,165,36,.08);
  transform: rotate(-2deg) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .4s var(--ease);
  animation: float 7s ease-in-out infinite;
}
@keyframes float { 50% { translate: 0 -8px; } }
.crm__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; background: #121e31; border-bottom: 1px solid var(--line); }
.crm__head > div { display: flex; align-items: center; gap: 10px; }
.crm__head b { font-family: var(--display); font-size: 14px; }
.mark { width: 32px; height: 32px; border-radius: 9px; background: var(--amber); color: var(--ink); display: inline-flex; align-items: center; justify-content: center; font-family: var(--mono); font-size: 12px; font-weight: 700; flex-shrink: 0; }
.mark--round { border-radius: 50%; width: 34px; height: 34px; background: var(--ink); color: var(--amber); }
.live { font-family: var(--mono); font-size: 11px; color: var(--green); display: inline-flex; align-items: center; gap: 6px; }
.live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green); animation: pulse 1.6s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(74,222,128,.6); } 100% { box-shadow: 0 0 0 9px rgba(74,222,128,0); } }
.crm__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding: 16px; }
.crm__col { display: flex; flex-direction: column; gap: 10px; }
.crm__label { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: .06em; color: var(--muted); }
.lead { background: var(--card); border: 1px solid transparent; border-radius: 12px; padding: 10px 11px; display: flex; flex-direction: column; gap: 4px; font-size: 12px; line-height: 1.35; }
.lead b { font-size: 13px; }
.lead span { color: var(--soft); }
.lead--hot { border-color: var(--amber); }
.lead--booked { background: var(--amber); color: var(--ink); }
.lead--booked span { color: var(--ink); }
.lead--empty { height: 34px; background: none; border: 1px dashed #2a4061; }
.lead.is-new { animation: dropIn .6s var(--ease); }
@keyframes dropIn { from { opacity: 0; transform: translateY(-12px) scale(.96); } }
.tag { align-self: flex-start; margin-top: 3px; padding: 2px 7px; border-radius: 6px; background: rgba(233,238,245,.08); color: var(--soft); font-family: var(--mono); font-size: 10px; font-style: normal; }
.tag--amber { background: rgba(245,165,36,.16); color: var(--amber); }
.tag--dark { background: rgba(14,26,43,.14); color: var(--ink); font-weight: 700; }
.crm__foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding: 12px 20px 16px; border-top: 1px solid var(--line); font-family: var(--mono); font-size: 11px; color: var(--muted); }
.toast {
  position: absolute; left: -26px; bottom: clamp(16px, 3vw, 54px); padding: 12px 16px; background: #fff; color: var(--ink);
  border-radius: 14px; box-shadow: 0 18px 40px rgba(0,0,0,.45); display: flex; align-items: center; gap: 12px; rotate: 2deg;
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.toast span:last-child { display: flex; flex-direction: column; gap: 1px; }
.toast small { font-family: var(--mono); font-size: 10px; font-weight: 700; color: var(--amber-ink); }
.toast b { font-size: 13px; }
.toast.is-out { opacity: 0; transform: translateY(10px); }

/* SERVICES */
.services { padding: clamp(24px, 4vw, 56px) clamp(10px, 2vw, 28px); }
.services__panel {
  max-width: 1400px; margin: 0 auto; border-radius: var(--radius); background: linear-gradient(135deg, #ffc753, #f2a01e); color: var(--ink);
  padding: clamp(30px, 5vw, 72px) clamp(24px, 4vw, 64px) clamp(30px, 5vw, 72px) clamp(24px, 7vw, 110px);
  display: flex; flex-direction: row-reverse; flex-wrap: wrap; align-items: center; gap: 40px clamp(40px, 7vw, 110px);
}
.services__copy { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: clamp(28px, 6vw, 110px); }
.services__copy p { font-size: clamp(16px, 1.4vw, 19px); line-height: 1.55; max-width: 380px; }
.services__card {
  flex: 0 1 480px; min-width: 0; background: var(--panel); color: var(--text); border-radius: 30px;
  padding: clamp(26px, 3vw, 44px) clamp(22px, 3vw, 44px) clamp(22px, 3vw, 34px); box-shadow: 0 30px 60px rgba(14,26,43,.3);
}
.svc { list-style: none; margin: 0; padding: 0; }
.svc li {
  display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line);
  font-family: var(--display); font-weight: 700; font-size: clamp(14px, 1.45vw, 20px); text-transform: uppercase;
  position: relative; transition: color .3s;
}
.svc li span { transition: transform .3s var(--ease); }
.svc li:hover span { transform: translateX(10px); }
.svc li::before { content: ""; position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; background: var(--amber); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.svc li:hover { color: var(--amber); }
.svc li:hover::before { transform: scaleX(1); }
.svc i { font-family: var(--mono); font-style: normal; font-size: 14px; color: var(--amber); white-space: nowrap; font-weight: 500; }
.svc__foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; margin-top: clamp(30px, 5vw, 90px); font-family: var(--mono); font-size: 12px; letter-spacing: .08em; color: var(--muted); }
.svc__foot b { color: var(--amber); }

/* HOW */
.how { background-image: radial-gradient(ellipse at 20% 90%, rgba(245,165,36,.10), transparent 45%); padding: clamp(56px, 8vw, 120px) 0; }
.how .wrap { display: flex; flex-direction: column; gap: clamp(30px, 4vw, 56px); }
.how__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 40px; }
.flow { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.tile {
  width: 140px; aspect-ratio: 1; border-radius: 24px; background: linear-gradient(160deg, #1c2d48, #121d30); border: 1px solid rgba(245,165,36,.25);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s;
}
.tile span { font-family: var(--mono); font-size: 26px; font-weight: 700; color: var(--amber); line-height: 1; }
.tile b { font-family: var(--display); font-size: 12px; }
.tile--amber { background: var(--amber); color: var(--ink); border-color: var(--amber); }
.tile--amber span { color: var(--ink); }
.tile.is-lit { transform: translateY(-6px); border-color: var(--amber); box-shadow: 0 16px 34px rgba(245,165,36,.25); }
.arrow { font-style: normal; color: var(--amber); font-size: 22px; transition: transform .3s; }
.arrow.is-lit { transform: translateX(4px); }
.how__text { flex: 1 1 340px; max-width: 470px; display: flex; flex-direction: column; gap: 18px; font-size: 16px; line-height: 1.65; color: var(--muted); text-align: right; }
.how__text b { color: var(--text); }

/* panels */
.work, .benefits { padding: 0 clamp(10px, 2vw, 28px) clamp(56px, 8vw, 110px); }
.panel { max-width: 1400px; margin: 0 auto; border-radius: var(--radius); padding: clamp(32px, 5vw, 80px) clamp(22px, 4.5vw, 72px); }
.panel--light { background: var(--light); color: var(--ink); }

/* WORK slider */
.work__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 32px; }
.work__head .h-lg { font-weight: 900; }
.work__ctrl { display: flex; align-items: center; gap: 20px; }
.work__ctrl > span { font-family: var(--mono); font-size: 14px; color: var(--slate); }
.work__ctrl > div { display: flex; gap: 10px; }
.round { width: 52px; height: 52px; padding: 0; border-radius: 50%; border: 1.5px solid var(--ink); background: transparent; color: var(--ink); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: transform .25s var(--ease), background .25s, opacity .25s; }
.round svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.round--amber { background: var(--amber); border-color: var(--amber); }
.round:hover { transform: scale(1.08); }
.round:disabled { opacity: .35; cursor: default; transform: none; }
.slider {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 48px) / 2.35); gap: 24px;
  overflow-x: auto; scroll-behavior: smooth; padding: 6px 2px 24px; margin: -6px -2px 0;
  scrollbar-width: none;
}
.slider::-webkit-scrollbar { display: none; }
/* snapping is switched on by JS at the first touch: a snap container present at load stops Chrome from reporting LCP */
.slider.is-snap { scroll-snap-type: x mandatory; }
.case {
  scroll-snap-align: start; text-decoration: none; color: var(--ink); background: #fff; border-radius: 26px; overflow: hidden;
  display: flex; flex-direction: column; box-shadow: 0 18px 40px rgba(14,26,43,.07); transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.case img { aspect-ratio: 16 / 10; object-fit: cover; object-position: top; border-bottom: 1px solid #e6ebf2; transition: transform .8s var(--ease); }
.case:hover { transform: translateY(-6px); box-shadow: 0 26px 50px rgba(14,26,43,.14); }
.case:hover img { transform: scale(1.04); }
.case__body { padding: 22px 26px 28px; display: flex; flex-direction: column; gap: 9px; background: #fff; position: relative; }
.case__body em { font-family: var(--mono); font-style: normal; font-size: 12px; font-weight: 700; color: var(--amber-ink); letter-spacing: .06em; }
.case__body b { font-family: var(--display); font-size: 20px; }
.case__body p { font-size: 15px; line-height: 1.55; color: var(--slate); }
.case__stat { font-family: var(--mono); font-size: 13px; color: var(--amber-ink); margin-top: 6px; }
.case__stat strong { font-weight: 700; }
.dots { display: flex; justify-content: center; gap: 8px; margin-top: 8px; }
.dots i { width: 8px; height: 8px; border-radius: 4px; background: #c7d0dc; transition: width .3s var(--ease), background .3s; }
.dots i.is-on { width: 26px; background: var(--amber); }

/* CHANGES */
.changes { padding-bottom: clamp(56px, 8vw, 110px); }
.changes .h-lg { line-height: 1.12; margin-bottom: clamp(36px, 5vw, 70px); }
.changes__labels { display: flex; gap: 60px; font-family: var(--mono); font-size: 13px; letter-spacing: .14em; color: var(--muted); margin-bottom: 18px; }
.changes__labels span { flex: 1; }
.pair { display: flex; align-items: center; gap: 22px; margin-bottom: 18px; }
.before, .after { flex: 1; padding: 22px 28px; border-radius: 22px; font-size: 16px; }
.before { background: #101b2c; border: 1px solid var(--line); color: var(--muted); }
.before s { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 55% / 0 1.5px no-repeat; transition: background-size .9s var(--ease) .2s; }
.after { background: var(--card); border: 1px solid rgba(245,165,36,.45); transition: box-shadow .6s var(--ease) .7s, transform .6s var(--ease) .7s; }
.after b { color: var(--amber); }
.pair.is-in .before s { background-size: 100% 1.5px; }
.pair.is-in .after { box-shadow: 0 0 0 4px rgba(245,165,36,.08), 0 18px 40px rgba(245,165,36,.12); }

/* BENEFITS */
.benefits__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 24px; margin-bottom: clamp(36px, 5vw, 72px); }
.benefits__head .h-lg { font-weight: 400; }
.benefits__head strong { font-weight: 900; }
.indent { padding-left: clamp(0px, 5vw, 90px); }
.blocks { display: flex; gap: 10px; align-items: flex-start; }
.blocks i { width: 50px; height: 50px; border-radius: 13px; background: var(--ink); animation: bob 4s ease-in-out infinite; }
.blocks i:nth-child(1) { margin-top: 18px; rotate: -8deg; }
.blocks i:nth-child(2) { background: var(--amber); rotate: 6deg; animation-delay: .4s; }
.blocks i:nth-child(3) { background: #1f3352; margin-top: 12px; rotate: -5deg; animation-delay: .8s; }
@keyframes bob { 50% { translate: 0 -8px; } }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 24px; }
.card { background: #fff; border-radius: 26px; padding: clamp(24px, 3vw, 40px); display: flex; gap: 22px; box-shadow: 0 18px 40px rgba(14,26,43,.07); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.card:hover { transform: translateY(-4px); box-shadow: 0 26px 50px rgba(14,26,43,.12); }
.card:hover .num { background: var(--amber); color: var(--ink); }
.num { flex: 0 0 48px; height: 48px; border-radius: 50%; background: var(--ink); color: var(--amber); display: flex; align-items: center; justify-content: center; font-family: var(--mono); font-size: 15px; font-weight: 700; transition: background .3s, color .3s; }
.card > div { display: flex; flex-direction: column; gap: 12px; }
.card h3 { font-family: var(--display); font-weight: 700; font-size: 17px; line-height: 1.25; text-transform: uppercase; }
.card p { font-size: 15px; line-height: 1.6; color: var(--slate); }

/* FOOTER */
.footer { padding: 0 clamp(10px, 2vw, 28px) clamp(24px, 3vw, 40px); }
.footer__box { max-width: 1400px; margin: 0 auto; background: var(--panel); border-radius: var(--radius); padding: clamp(30px, 5vw, 64px) clamp(24px, 5vw, 80px) clamp(22px, 3vw, 34px); display: flex; flex-direction: column; gap: 22px; }
.footer__title { display: flex; gap: 16px; align-items: flex-start; font-family: var(--display); font-weight: 800; font-size: clamp(20px, 2.4vw, 34px); line-height: 1.2; text-transform: uppercase; }
.tri { width: 0; height: 0; border-top: 12px solid transparent; border-bottom: 12px solid transparent; border-left: 20px solid var(--amber); flex-shrink: 0; margin-top: 4px; }
.footer__text, .footer__row, .footer__legal { margin-left: 36px; }
.footer__text { max-width: 760px; font-family: var(--display); font-size: clamp(13px, 1.3vw, 18px); line-height: 1.5; text-transform: uppercase; color: var(--muted); }
.footer__text b { color: var(--text); }
.footer__row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; margin-top: 10px; }
.footer__end { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 28px; }
.footer__legal { font-size: 13px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 18px; margin-top: 8px; }
.footer__legal a { color: var(--soft); }

/* floating back to top */
.totop {
  position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 48px; height: 48px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; text-decoration: none; font-family: var(--mono); font-weight: 700; font-size: 18px;
  background: var(--amber); color: var(--ink); box-shadow: 0 12px 30px rgba(0,0,0,.4);
  opacity: 0; transform: translateY(16px) scale(.9); pointer-events: none; transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.totop.is-on { opacity: 1; transform: none; pointer-events: auto; }

/* reveal on scroll */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-stagger] > * { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js [data-stagger].is-in > * { opacity: 1; transform: none; }

/* PHONE */
@media (max-width: 760px) {
  .hero__top { display: none; }
  .hero__handle { display: flex; justify-content: center; align-items: center; height: 66px; font-family: var(--mono); font-size: 13px; letter-spacing: .06em; color: var(--muted); }
  .hero__inner { padding-top: 34px; }
  .toast { left: 6px; }
  .crm { animation: none; }
  .crm__cols { gap: 8px; padding: 12px; }
  .lead { padding: 8px; }
  .arrow { display: none; }
  .flow { display: grid; grid-template-columns: repeat(2, 140px); }
  .how__text { text-align: left; }
  .slider { grid-auto-columns: 86%; }
  .work__ctrl > span { display: none; }
  .changes__labels { display: none; }
  .pair { flex-direction: column; align-items: stretch; gap: 10px; margin-bottom: 26px; }
  .footer__text, .footer__row, .footer__legal { margin-left: 0; }
  .totop { bottom: 14px; right: 14px; }
}
@media (max-width: 360px) {
  .hero__inner { padding-left: 46px; padding-right: 16px; }
  .hero__title { font-size: 26px; }
  .btn--lg { padding: 0 20px; }
  .flow { grid-template-columns: repeat(2, minmax(0, 140px)); }
  .tile { width: 100%; }
}
@media (max-width: 1000px) and (min-width: 761px) {
  .slider { grid-auto-columns: calc((100% - 24px) / 1.6); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .hero__title .line > span { transform: none; }
  .js [data-reveal], .js [data-stagger] > * { opacity: 1; transform: none; }
  .before s { background-size: 100% 1.5px; }
}
