/* ==========================================================================
   Ivanova IT — site styles
   Note: animations are intentionally always on. There is no
   prefers-reduced-motion opt-out on purpose (client requirement).
   ========================================================================== */

:root {
  color-scheme: light;

  --paper: #F3F5FB;
  --paper-2: #E8ECF8;
  --white: #FFFFFF;
  --ink: #141A3A;
  --ink-2: #464D6F;
  --line: #D6DCEE;
  --cobalt: #3346FF;
  --cobalt-2: #2232E0;
  --cobalt-soft: #E3E6FF;
  --sun: #FFC83D;
  --mint: #3DDC97;
  --lilac: #C9C2FF;
  --sky: #BFE0FF;
  --pink: #FF9EB5;

  --font-display: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Figtree", ui-sans-serif, system-ui, sans-serif;

  --r-s: 10px;
  --r-m: 18px;
  --r-l: 28px;
  --r-xl: 40px;
  --bw: 2px;
  --hard: 6px 6px 0 var(--ink);
  --hard-s: 3px 3px 0 var(--ink);

  --ease: cubic-bezier(.22, 1, .36, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);

  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(84px, 11vw, 150px);
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
  background: var(--paper);
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Fixed dot grid + a cobalt spotlight that follows the pointer */
body::before,
.spotlight {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-size: 26px 26px;
}
body::before {
  z-index: 0;
  background-image: radial-gradient(circle at 1px 1px, #CBD2EA 1.1px, transparent 1.5px);
}
.spotlight {
  z-index: 0;
  background-image: radial-gradient(circle at 1px 1px, var(--cobalt) 1.4px, transparent 1.8px);
  -webkit-mask-image: radial-gradient(260px circle at var(--mx, -999px) var(--my, -999px), #000 0%, transparent 72%);
  mask-image: radial-gradient(260px circle at var(--mx, -999px) var(--my, -999px), #000 0%, transparent 72%);
  opacity: .55;
}

main, .site-footer { position: relative; z-index: 1; }
main { overflow-x: clip; }

img, svg { max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }

::selection { background: var(--sun); color: var(--ink); }

:focus-visible {
  outline: 3px solid var(--cobalt);
  outline-offset: 3px;
  border-radius: 8px;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin: 0;
  text-wrap: balance;
}
p { margin: 0 0 1em; text-wrap: pretty; }

.container {
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: fixed;
  left: 16px; top: -60px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--white);
  border-radius: 999px;
  text-decoration: none;
  transition: top .2s;
}
.skip-link:focus { top: 16px; }

/* ---------- Scroll progress ---------- */
.progress-bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 4px;
  z-index: 60;
  background: linear-gradient(90deg, var(--cobalt), var(--lilac) 60%, var(--sun));
  transform-origin: left center;
  transform: scaleX(var(--progress, 0));
}

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--white);
  --fg: var(--ink);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .7em;
  min-height: 52px;
  padding: .85em 1.1em .85em 1.4em;
  border: var(--bw) solid var(--ink);
  border-radius: 999px;
  background: var(--bg);
  color: var(--fg);
  font: 650 1rem/1 var(--font-body);
  text-decoration: none;
  white-space: nowrap;
  box-shadow: var(--hard-s);
  cursor: pointer;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background-color .3s var(--ease), translate .5s var(--spring);
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--ink); }
.btn:active { transform: translate(3px, 3px); box-shadow: 0 0 0 var(--ink); transition-duration: .08s; }
.btn--primary { --bg: var(--cobalt); --fg: var(--white); }
.btn--primary:hover { --bg: var(--cobalt-2); }
.btn--sun { --bg: var(--sun); }
.btn--plain { padding-right: 1.4em; }
.btn__icon {
  display: grid;
  place-items: center;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--fg);
  color: var(--bg);
  overflow: hidden;
  flex: none;
}
.btn__icon svg { width: 14px; height: 14px; }
.btn:hover .btn__icon svg { animation: arrow-loop .6s var(--ease); }
@keyframes arrow-loop {
  0% { transform: translateX(0); }
  45% { transform: translateX(160%); }
  46% { transform: translateX(-160%); }
  100% { transform: translateX(0); }
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .6em;
  font-weight: 650;
  text-decoration: none;
}
.link-arrow .btn__icon { width: 34px; height: 34px; --fg: var(--ink); --bg: var(--white); background: var(--ink); color: var(--white); transition: transform .4s var(--spring), background-color .3s; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 14px;
  left: 0; right: 0;
  z-index: 50;
  view-transition-name: site-header;
  transition: transform .5s var(--ease);
}
.site-header.is-hidden { transform: translateY(-140%); }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 66px;
  padding: 0 8px 0 14px;
  background: rgb(255 255 255 / .86);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  backdrop-filter: blur(14px) saturate(1.4);
  border: var(--bw) solid var(--ink);
  border-radius: 999px;
  box-shadow: var(--hard-s);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.32rem;
  letter-spacing: -0.03em;
  flex: none;
}
.logo__mark { width: 40px; height: 40px; display: block; transition: transform .6s var(--spring); }
.logo:hover .logo__mark { transform: rotate(-12deg) scale(1.06); }
.logo__text b { color: var(--cobalt); font-weight: 800; margin-left: .18em; }
.logo-caret { animation: blink 1.1s steps(1) infinite; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0; padding: 0;
}
.nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 44px;
  padding: 0 14px;
  border: 0;
  background: none;
  border-radius: 999px;
  font-weight: 600;
  font-size: .98rem;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .25s;
}
.nav__link:hover, .nav__link[aria-current="page"], .nav__link.is-current { background: var(--cobalt-soft); }
.dropdown a[aria-current="page"] { background: var(--paper); }
.roll { display: inline-block; position: relative; overflow: hidden; line-height: 1.25; }
.roll > span { display: block; transition: transform .45s var(--ease); }
.roll > span + span { position: absolute; inset: 0; transform: translateY(110%); color: var(--cobalt); }
.nav__link:hover .roll > span:first-child { transform: translateY(-110%); }
.nav__link:hover .roll > span + span { transform: translateY(0); }
.nav__chev { width: 12px; height: 12px; transition: transform .35s var(--ease); }

.nav__item--drop { position: relative; }
.dropdown {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  width: 360px;
  padding: 10px;
  list-style: none;
  margin: 0;
  background: var(--white);
  border: var(--bw) solid var(--ink);
  border-radius: var(--r-m);
  box-shadow: var(--hard);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 10px) scale(.97);
  transform-origin: top center;
  transition: opacity .3s var(--ease), transform .4s var(--ease), visibility .3s;
}
.dropdown::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.nav__item--drop:hover .dropdown,
.nav__item--drop:focus-within .dropdown,
.nav__item--drop.is-open .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0) scale(1);
}
.nav__item--drop:hover .nav__chev,
.nav__item--drop.is-open .nav__chev { transform: rotate(180deg); }
.dropdown a {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: 12px;
  text-decoration: none;
  transition: background-color .2s;
}
.dropdown a:hover { background: var(--paper); }
.dropdown__ico {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border: var(--bw) solid var(--ink);
  border-radius: 12px;
}
.dropdown__ico svg { width: 24px; height: 24px; }
.dropdown strong { display: block; font-size: .98rem; }
.dropdown small { display: block; color: var(--ink-2); font-size: .85rem; line-height: 1.3; }
.dropdown__price { font-family: var(--font-display); font-weight: 700; font-size: .92rem; color: var(--cobalt); }

.nav__actions { display: flex; align-items: center; gap: 8px; }
.nav__cta { min-height: 48px; padding: .6em .7em .6em 1.2em; box-shadow: none; }
.nav__cta:hover { box-shadow: var(--hard-s); }

.burger {
  display: none;
  position: relative;
  width: 50px; height: 50px;
  border: var(--bw) solid var(--ink);
  border-radius: 50%;
  background: var(--sun);
  cursor: pointer;
}
.burger span {
  position: absolute;
  left: 13px; right: 13px;
  height: 2.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .45s var(--spring), top .3s var(--ease);
}
.burger span:nth-child(1) { top: 18px; }
.burger span:nth-child(2) { top: 26px; }
.menu-open .burger span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.menu-open .burger span:nth-child(2) { top: 22px; transform: rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 45;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 110px var(--gutter) 32px;
  background: var(--paper);
  clip-path: circle(0 at calc(100% - 50px) 48px);
  visibility: hidden;
  transition: clip-path .7s var(--ease), visibility .7s;
}
.menu-open .mobile-menu { clip-path: circle(150% at calc(100% - 50px) 48px); visibility: visible; }
.menu-open { overflow: hidden; }
.mobile-menu ul { list-style: none; margin: 0 0 28px; padding: 0; }
.mobile-menu li { overflow: hidden; border-bottom: var(--bw) solid var(--ink); }
.mobile-menu li a {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 14px 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.9rem, 8vw, 2.6rem);
  letter-spacing: -0.03em;
  text-decoration: none;
  transform: translateY(100%);
  transition: transform .7s var(--ease);
}
.mobile-menu li a small { font-family: var(--font-body); font-size: .9rem; font-weight: 600; color: var(--cobalt); letter-spacing: 0; }
.menu-open .mobile-menu li a { transform: none; }
.menu-open .mobile-menu li:nth-child(2) a { transition-delay: .05s; }
.menu-open .mobile-menu li:nth-child(3) a { transition-delay: .1s; }
.menu-open .mobile-menu li:nth-child(4) a { transition-delay: .15s; }
.menu-open .mobile-menu li:nth-child(5) a { transition-delay: .2s; }
.menu-open .mobile-menu li:nth-child(6) a { transition-delay: .25s; }
.mobile-menu__foot { display: grid; gap: 6px; color: var(--ink-2); font-size: 1.05rem; }
.mobile-menu__foot a { color: var(--ink); font-weight: 600; text-decoration: none; }

/* ---------- Status pill ---------- */
.status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px 7px 12px;
  background: var(--white);
  border: var(--bw) solid var(--ink);
  border-radius: 999px;
  font-weight: 600;
  font-size: .92rem;
}
.status__dot { position: relative; width: 10px; height: 10px; border-radius: 50%; background: var(--mint); }
.status__dot::after {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 2px solid var(--mint);
  animation: ring 1.8s var(--ease) infinite;
}
@keyframes ring {
  0% { transform: scale(.4); opacity: 1; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* ---------- Hero (home) ---------- */
.hero {
  position: relative;
  padding: 150px 0 40px;
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
}
.hero__art .ill { width: 112%; margin-left: -4%; }
.hero__title {
  margin: 26px 0 26px;
  font-size: clamp(2.75rem, 5.5vw, 5.2rem);
  font-weight: 750;
  line-height: .98;
  letter-spacing: -0.045em;
}
.hero__lede { max-width: 50ch; font-size: 1.18rem; color: var(--ink-2); margin-bottom: 32px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
  font-weight: 600;
  font-size: .95rem;
}
.hero__facts li { display: inline-flex; align-items: center; gap: 8px; }
.hero__facts svg { width: 22px; height: 22px; flex: none; }

.hero__art, .page-hero__art { position: relative; }
.hero__art .badge-rotate { left: -2%; bottom: 4%; }
.page-hero__art .badge-rotate { left: -2%; bottom: 2%; }
.badge-rotate { transition: translate .5s var(--spring); }

/* Inline animated pills inside headlines */
.pill-ico {
  display: inline-grid;
  place-items: center;
  width: 1.32em;
  height: .82em;
  margin: 0 .06em;
  vertical-align: -.02em;
  border: .055em solid var(--ink);
  border-radius: 999px;
  overflow: hidden;
  box-shadow: .05em .05em 0 var(--ink);
}
.pill-ico svg { width: 72%; height: 72%; overflow: visible; }
.pill-ico--browser { background: var(--sky); }
.pill-ico--bag { background: var(--sun); }
.pill-ico--chart { background: var(--mint); }
.pill-ico * { transform-box: fill-box; transform-origin: center; }

/* Rotating badge */
.badge-rotate {
  position: absolute;
  width: clamp(104px, 11vw, 136px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  text-decoration: none;
  z-index: 3;
}
.badge-rotate__ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 16s linear infinite; }
.badge-rotate__ring text { font: 700 10.5px var(--font-body); letter-spacing: .14em; fill: var(--ink); }
.badge-rotate__core {
  width: 46%; aspect-ratio: 1;
  display: grid; place-items: center;
  background: var(--sun);
  border: var(--bw) solid var(--ink);
  border-radius: 50%;
  transition: transform .5s var(--spring), background-color .3s;
}
.badge-rotate__core svg { width: 40%; transition: transform .5s var(--spring); }
.badge-rotate:hover .badge-rotate__core { transform: scale(1.12); background: var(--mint); }
.badge-rotate:hover .badge-rotate__core svg { transform: rotate(45deg); }
.badge-rotate::before {
  content: "";
  position: absolute;
  inset: 6%;
  border-radius: 50%;
  background: var(--white);
  border: var(--bw) solid var(--ink);
  z-index: -1;
}

/* Scroll hint */
.scroll-hint {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 46px;
  font-size: .9rem;
  font-weight: 600;
  color: var(--ink-2);
  text-decoration: none;
}
.scroll-hint__mouse {
  position: relative;
  width: 24px; height: 36px;
  border: var(--bw) solid var(--ink);
  border-radius: 14px;
}
.scroll-hint__mouse::after {
  content: "";
  position: absolute;
  left: 50%; top: 6px;
  width: 4px; height: 8px;
  margin-left: -2px;
  border-radius: 2px;
  background: var(--cobalt);
  animation: wheel 1.6s var(--ease) infinite;
}
@keyframes wheel {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(12px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* ---------- Marquee tapes ---------- */
.tapes { position: relative; padding: 70px 0 60px; overflow: clip; }
.tape {
  position: relative;
  border-block: var(--bw) solid var(--ink);
  overflow: hidden;
  width: 110vw;
  margin-left: -5vw;
}
.tape--sun { background: var(--sun); transform: rotate(-2.4deg); z-index: 2; }
.tape--cobalt { background: var(--cobalt); color: var(--white); transform: rotate(1.8deg); margin-top: -34px; }
.tape__track {
  display: flex;
  width: max-content;
  animation: marquee 34s linear infinite;
}
.tape--cobalt .tape__track { animation-direction: reverse; animation-duration: 40s; }
.tape:hover .tape__track { animation-play-state: paused; }
.tape__group { display: flex; align-items: center; flex: none; }
.tape__item {
  display: inline-flex;
  align-items: center;
  gap: 26px;
  padding: 16px 26px 16px 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.35rem, 2.8vw, 2.1rem);
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.tape__item svg { width: .9em; height: .9em; flex: none; animation: spin 6s linear infinite; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { position: relative; padding-block: var(--section); }
.section--tight { padding-block: calc(var(--section) * .6); }
.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: 24px 48px;
  align-items: end;
  margin-bottom: clamp(40px, 6vw, 64px);
}
.section-head h2, .h2 {
  font-size: clamp(2.2rem, 4.8vw, 4rem);
  letter-spacing: -0.04em;
}
.section-head p { max-width: 46ch; color: var(--ink-2); font-size: 1.12rem; margin: 0; }
.section-head--center { grid-template-columns: 1fr; text-align: center; justify-items: center; }

/* Hand-drawn squiggle under a heading */
.squiggle { display: block; width: 180px; height: 22px; margin-top: 14px; overflow: visible; }
.squiggle path {
  fill: none;
  stroke: var(--cobalt);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 1.4s var(--ease) .3s;
}
.is-in .squiggle path, .squiggle.is-in path { stroke-dashoffset: 0; }

/* ---------- Service cards (home) ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px;
}
.services-grid > :nth-child(1) { grid-column: span 7; }
.services-grid > :nth-child(2) { grid-column: span 5; }
.services-grid > :nth-child(3) { grid-column: span 12; }

.svc-card {
  --rx: 0deg;
  --ry: 0deg;
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--white);
  border: var(--bw) solid var(--ink);
  border-radius: var(--r-l);
  box-shadow: var(--hard);
  text-decoration: none;
  overflow: hidden;
  transform: perspective(1100px) rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform .5s var(--ease), box-shadow .4s var(--ease), translate .4s var(--ease);
  cursor: pointer;
}
.svc-card:hover { translate: -3px -4px; box-shadow: 10px 11px 0 var(--ink); }
.svc-card__art {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 250px;
  padding: 24px;
  border-bottom: var(--bw) solid var(--ink);
  overflow: hidden;
}
.svc-card__art .ill { width: min(100%, 420px); }
.svc-card--landing .svc-card__art { background: var(--sky); }
.svc-card--store .svc-card__art { background: #FFE3A3; }
.svc-card--saas .svc-card__art { background: #C9F3DF; }
.svc-card__body { display: flex; flex-direction: column; gap: 14px; padding: 28px 30px 30px; flex: 1; }
.svc-card__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.svc-card h3 { font-size: clamp(1.7rem, 2.6vw, 2.3rem); }
.svc-card p { color: var(--ink-2); margin: 0; max-width: 52ch; }
.price {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  font-family: var(--font-display);
  font-weight: 750;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  letter-spacing: -0.03em;
  line-height: 1;
  white-space: nowrap;
}
.price small { font-family: var(--font-body); font-weight: 600; font-size: .82rem; color: var(--ink-2); letter-spacing: 0; margin-bottom: 4px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 0; padding: 0; list-style: none; }
.tags li {
  padding: 5px 12px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  font-size: .85rem;
  font-weight: 600;
  background: var(--paper);
}
.svc-card__more { margin-top: auto; padding-top: 10px; }
.svc-card:hover .link-arrow .btn__icon { transform: rotate(-45deg) scale(1.1); background: var(--cobalt); }

.svc-card--saas { flex-direction: row; }
.svc-card--saas .svc-card__art { flex: 0 0 46%; border-bottom: 0; border-right: var(--bw) solid var(--ink); }
.svc-card--saas .svc-card__body { justify-content: center; padding: 40px; }

/* ---------- Process ---------- */
.steps {
  --p: 0;
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.steps__track, .steps__fill {
  position: absolute;
  top: 44px;
  left: 44px;
  right: 44px;
  height: 4px;
  border-radius: 4px;
}
.steps__track { background: repeating-linear-gradient(90deg, var(--ink) 0 10px, transparent 10px 20px); opacity: .25; }
.steps__fill { background: var(--cobalt); transform-origin: left; transform: scaleX(var(--p)); }
.step { position: relative; }
.step__icon {
  position: relative;
  width: 88px; height: 88px;
  display: grid;
  place-items: center;
  background: var(--white);
  border: var(--bw) solid var(--ink);
  border-radius: 26px;
  box-shadow: var(--hard-s);
  transition: background-color .5s var(--ease), transform .6s var(--spring);
}
.step__icon svg { width: 56px; height: 56px; overflow: visible; }
.step.is-active .step__icon { background: var(--sun); transform: rotate(-6deg); }
.step__num {
  position: absolute;
  top: -10px; right: -10px;
  width: 30px; height: 30px;
  display: grid; place-items: center;
  background: var(--cobalt);
  color: var(--white);
  border: var(--bw) solid var(--ink);
  border-radius: 50%;
  font: 700 .85rem/1 var(--font-display);
}
.step h3 { margin: 26px 0 10px; font-size: 1.55rem; }
.step p { color: var(--ink-2); margin-bottom: 14px; }
.step__time {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--cobalt-soft);
  font-weight: 650;
  font-size: .88rem;
  color: var(--cobalt-2);
}

/* ---------- Checklist window ---------- */
.window {
  background: var(--white);
  border: var(--bw) solid var(--ink);
  border-radius: var(--r-l);
  box-shadow: var(--hard);
  overflow: hidden;
}
.window__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 20px;
  border-bottom: var(--bw) solid var(--ink);
  background: var(--paper);
  font-weight: 600;
  font-size: .9rem;
  color: var(--ink-2);
}
.window__bar i { width: 12px; height: 12px; border-radius: 50%; border: 1.5px solid var(--ink); }
.window__bar i:nth-child(1) { background: var(--pink); }
.window__bar i:nth-child(2) { background: var(--sun); }
.window__bar i:nth-child(3) { background: var(--mint); }
.window__bar span { margin-left: 10px; }

.included { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.included__text h2 { margin-bottom: 20px; }
.included__text p { color: var(--ink-2); font-size: 1.12rem; max-width: 42ch; }

.checklist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; }
.checklist li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 14px;
  padding: 22px 24px;
  border-bottom: 1.5px dashed var(--line);
}
.checklist li:nth-child(odd) { border-right: 1.5px dashed var(--line); }
.checklist li:nth-last-child(-n+2) { border-bottom: 0; }
.checklist strong { display: block; font-size: 1.05rem; margin-bottom: 2px; }
.checklist span { color: var(--ink-2); font-size: .95rem; line-height: 1.45; display: block; }

.check { width: 34px; height: 34px; overflow: visible; }
.check circle { fill: var(--white); stroke: var(--ink); stroke-width: 2; transition: fill .4s var(--ease) var(--delay, 0s); }
.check path {
  fill: none;
  stroke: var(--ink);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset .6s var(--ease) calc(var(--delay, 0s) + .15s);
}
.is-in .check circle, .check.is-in circle { fill: var(--mint); }
.is-in .check path, .check.is-in path { stroke-dashoffset: 0; }

/* Toggle switch decoration */
.toggle-deco {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  font-weight: 600;
  font-size: .95rem;
}
.toggle-deco__sw {
  position: relative;
  width: 58px; height: 32px;
  border: var(--bw) solid var(--ink);
  border-radius: 999px;
  background: var(--paper);
  animation: toggle-bg 4s var(--ease) infinite;
}
.toggle-deco__sw::after {
  content: "";
  position: absolute;
  top: 3px; left: 3px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--white);
  border: var(--bw) solid var(--ink);
  animation: toggle-knob 4s var(--spring) infinite;
}
@keyframes toggle-bg { 0%, 20%, 90%, 100% { background: var(--paper); } 30%, 80% { background: var(--mint); } }
@keyframes toggle-knob { 0%, 20%, 90%, 100% { transform: translateX(0); } 30%, 80% { transform: translateX(26px); } }

/* ---------- Tech orbit ---------- */
.tech { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.tech__text p { color: var(--ink-2); font-size: 1.12rem; max-width: 44ch; }
.orbit {
  --s: min(540px, 86vw);
  position: relative;
  width: var(--s);
  height: var(--s);
  margin-inline: auto;
}
.orbit__ring {
  position: absolute;
  inset: 0;
  margin: auto;
  border-radius: 50%;
  border: 2px dashed rgb(20 26 58 / .3);
  animation: spin var(--dur) linear infinite;
}
.orbit__ring--1 { --dur: 38s; --r: calc(var(--s) * .27); width: calc(var(--r) * 2); height: calc(var(--r) * 2); }
.orbit__ring--2 { --dur: 60s; --r: calc(var(--s) * .45); width: calc(var(--r) * 2); height: calc(var(--r) * 2); animation-direction: reverse; }
.orbit__chip {
  position: absolute;
  top: 50%; left: 50%;
  width: 0; height: 0;
  transform: rotate(var(--a)) translateX(var(--r)) rotate(calc(var(--a) * -1));
}
.orbit__chip span {
  position: absolute;
  left: 0; top: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: var(--white);
  border: var(--bw) solid var(--ink);
  border-radius: 999px;
  box-shadow: var(--hard-s);
  font-weight: 650;
  font-size: clamp(.78rem, 1.6vw, .95rem);
  white-space: nowrap;
  translate: -50% -50%;
  animation: spin var(--dur) linear infinite reverse;
}
.orbit__ring--2 .orbit__chip span { animation-direction: normal; }
.orbit__chip i { width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid var(--ink); background: var(--c, var(--sun)); }
.orbit__center {
  position: absolute;
  inset: 0;
  margin: auto;
  width: calc(var(--s) * .26);
  height: calc(var(--s) * .26);
  display: grid;
  place-items: center;
}
.orbit__center svg { width: 100%; height: 100%; animation: float 5s ease-in-out infinite; --amp: -8px; }
.orbit__center::before {
  content: "";
  position: absolute;
  inset: -18%;
  border-radius: 50%;
  background: radial-gradient(circle, rgb(51 70 255 / .22), transparent 70%);
  animation: breathe 4s ease-in-out infinite;
}
@keyframes breathe { 0%, 100% { transform: scale(.9); opacity: .7; } 50% { transform: scale(1.15); opacity: 1; } }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.faq__intro { position: sticky; top: 120px; }
.faq__intro p { color: var(--ink-2); font-size: 1.1rem; max-width: 40ch; }
.faq__list { display: grid; gap: 14px; }
.faq__item {
  background: var(--white);
  border: var(--bw) solid var(--ink);
  border-radius: var(--r-m);
  transition: box-shadow .3s var(--ease), translate .3s var(--ease);
}
.faq__item[open] { box-shadow: var(--hard-s); translate: -2px -2px; }
.faq__item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 20px 22px;
  list-style: none;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 650;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__icon {
  position: relative;
  flex: none;
  width: 34px; height: 34px;
  border: var(--bw) solid var(--ink);
  border-radius: 50%;
  background: var(--paper);
  transition: background-color .3s, transform .5s var(--spring);
}
.faq__icon::before, .faq__icon::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 12px; height: 2.5px;
  margin: -1.25px 0 0 -6px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .4s var(--ease);
}
.faq__icon::after { transform: rotate(90deg); }
.faq__item[open] .faq__icon { background: var(--sun); transform: rotate(180deg); }
.faq__item[open] .faq__icon::after { transform: rotate(0deg); }
.faq__body { overflow: hidden; }
.faq__body > div { padding: 0 22px 22px; color: var(--ink-2); }
.faq__body p:last-child { margin-bottom: 0; }

/* ---------- CTA band ---------- */
.cta {
  position: relative;
  padding: clamp(48px, 7vw, 90px);
  background: var(--cobalt);
  color: var(--white);
  border: var(--bw) solid var(--ink);
  border-radius: var(--r-xl);
  box-shadow: 10px 10px 0 var(--ink);
  overflow: hidden;
  isolation: isolate;
}
.cta h2 { font-size: clamp(2.4rem, 6vw, 5rem); letter-spacing: -0.045em; max-width: 14ch; }
.cta p { max-width: 44ch; font-size: 1.15rem; color: rgb(255 255 255 / .86); margin: 22px 0 34px; }
.cta__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.cta__mail { color: var(--white); font-weight: 600; text-underline-offset: 5px; text-decoration-thickness: 2px; }
.cta__mail:hover { color: var(--sun); }
.cta__art {
  position: absolute;
  right: -20px; top: 0; bottom: 0;
  width: min(52%, 560px);
  z-index: -1;
  pointer-events: none;
}
.cta__art svg { width: 100%; height: 100%; overflow: visible; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; padding: 150px 0 40px; }
.page-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
}
.page-hero h1 {
  margin: 20px 0 24px;
  font-size: clamp(2.6rem, 5.6vw, 5rem);
  font-weight: 750;
  letter-spacing: -0.045em;
  line-height: .98;
}
.page-hero .lede { font-size: 1.18rem; color: var(--ink-2); max-width: 52ch; margin-bottom: 30px; }

.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; padding: 0; list-style: none; font-size: .92rem; font-weight: 600; color: var(--ink-2); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--cobalt); }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--line); font-weight: 700; }

.offer {
  display: inline-grid;
  grid-auto-flow: column;
  margin-bottom: 30px;
  background: var(--white);
  border: var(--bw) solid var(--ink);
  border-radius: var(--r-m);
  box-shadow: var(--hard-s);
}
.offer > div { padding: 14px 22px; }
.offer > div + div { border-left: var(--bw) solid var(--ink); }
.offer dt { font-size: .85rem; font-weight: 600; color: var(--ink-2); }
.offer dd { margin: 2px 0 0; font-family: var(--font-display); font-weight: 750; font-size: 1.6rem; letter-spacing: -0.03em; line-height: 1.1; }
.offer dd small { font-size: .95rem; font-weight: 600; color: var(--ink-2); font-family: var(--font-body); letter-spacing: 0; }

/* Deliverables */
.deliver { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.deliver li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 16px;
  padding: 22px;
  background: var(--white);
  border: var(--bw) solid var(--ink);
  border-radius: var(--r-m);
}
.deliver strong { display: block; font-size: 1.08rem; margin-bottom: 4px; }
.deliver span { display: block; color: var(--ink-2); font-size: .97rem; line-height: 1.5; }

/* Fit list */
.fit { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.fit li {
  position: relative;
  padding: 26px 22px 24px;
  border-radius: var(--r-m);
  border: var(--bw) solid var(--ink);
  background: var(--bg, var(--white));
  transition: transform 1s var(--ease), opacity 1s var(--ease), translate .5s var(--spring);
}
.fit li:nth-child(1) { --bg: var(--sky); rotate: -1.5deg; }
.fit li:nth-child(2) { --bg: #FFE3A3; rotate: 1deg; }
.fit li:nth-child(3) { --bg: #C9F3DF; rotate: -.8deg; }
.fit li:nth-child(4) { --bg: var(--lilac); rotate: 1.4deg; }
.fit li:hover { translate: 0 -8px; }
.fit--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.fit svg { width: 46px; height: 46px; margin-bottom: 16px; overflow: visible; }
.fit strong { display: block; font-family: var(--font-display); font-size: 1.25rem; letter-spacing: -0.02em; line-height: 1.15; margin-bottom: 8px; }
.fit span { display: block; font-size: .95rem; line-height: 1.5; color: var(--ink-2); }

/* Timeline (service pages) */
.timeline { position: relative; display: grid; gap: 0; margin: 0; padding: 0; list-style: none; --p: 0; }
.timeline::before, .timeline::after {
  content: "";
  position: absolute;
  left: 27px;
  top: 28px; bottom: 28px;
  width: 4px;
  border-radius: 4px;
}
.timeline::before { background: repeating-linear-gradient(180deg, var(--ink) 0 10px, transparent 10px 20px); opacity: .25; }
.timeline::after { background: var(--cobalt); transform-origin: top; transform: scaleY(var(--p)); }
.timeline li {
  position: relative;
  display: grid;
  grid-template-columns: 58px minmax(0, 220px) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  padding: 18px 0;
}
.timeline__dot {
  position: relative;
  z-index: 1;
  width: 58px; height: 58px;
  display: grid; place-items: center;
  background: var(--white);
  border: var(--bw) solid var(--ink);
  border-radius: 50%;
  font: 750 1.2rem/1 var(--font-display);
  transition: background-color .5s var(--ease), transform .6s var(--spring), color .3s;
}
.timeline li.is-active .timeline__dot { background: var(--cobalt); color: var(--white); transform: scale(1.08); }
.timeline__when { padding-top: 6px; font-weight: 700; color: var(--cobalt-2); }
.timeline h3 { font-size: 1.45rem; margin: 4px 0 8px; }
.timeline p { color: var(--ink-2); margin: 0; max-width: 58ch; }

/* Price factors */
.factors { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.factors__list { margin: 0; padding: 0; list-style: none; }
.factors__list li {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 4px;
  border-bottom: var(--bw) solid var(--ink);
  font-weight: 600;
  font-size: 1.08rem;
}
.factors__list li:first-child { border-top: var(--bw) solid var(--ink); }
.factors__list svg { width: 30px; height: 30px; flex: none; }
.factors__note {
  margin-top: 26px;
  padding: 20px 22px;
  background: var(--sun);
  border: var(--bw) solid var(--ink);
  border-radius: var(--r-m);
  font-weight: 500;
}

/* Stack chips */
.stack { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 0; padding: 0; list-style: none; }
.stack li {
  padding: 8px 16px;
  background: var(--white);
  border: var(--bw) solid var(--ink);
  border-radius: 999px;
  font-weight: 650;
  font-size: .95rem;
  animation: float 5s ease-in-out infinite;
  --amp: -5px;
}
.stack li:nth-child(2n) { animation-delay: -1.2s; }
.stack li:nth-child(3n) { animation-delay: -2.4s; }

/* Other services */
.others { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.mini-card {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  align-items: center;
  gap: 22px;
  padding: 18px 24px 18px 18px;
  background: var(--white);
  border: var(--bw) solid var(--ink);
  border-radius: var(--r-l);
  box-shadow: var(--hard-s);
  text-decoration: none;
  transition: translate .4s var(--ease), box-shadow .4s var(--ease);
}
.mini-card:hover { translate: -3px -3px; box-shadow: var(--hard); }
.mini-card__art { height: 90px; border-radius: 16px; border: var(--bw) solid var(--ink); display: grid; place-items: center; overflow: hidden; }
.mini-card__art svg { width: 70%; height: 70%; overflow: visible; }
.mini-card h3 { font-size: 1.4rem; margin-bottom: 4px; }
.mini-card p { margin: 0; color: var(--ink-2); font-size: .95rem; }
.mini-card:hover .btn__icon { transform: rotate(-45deg); background: var(--cobalt); }

/* ---------- Contact page ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 28px; align-items: start; }
.form-card { padding: clamp(24px, 4vw, 44px); }
.form-card h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 8px; }
.form-card > p { color: var(--ink-2); margin-bottom: 28px; }
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { display: grid; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label, .field legend { font-weight: 650; font-size: .95rem; }
.field input, .field textarea, .field select {
  width: 100%;
  min-height: 52px;
  padding: 12px 16px;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--paper);
  border: var(--bw) solid var(--ink);
  border-radius: 14px;
  transition: background-color .2s, box-shadow .3s var(--ease), transform .3s var(--ease);
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  background: var(--white);
  box-shadow: var(--hard-s);
  transform: translate(-2px, -2px);
}
.field.has-error input, .field.has-error textarea { border-color: #D3204B; background: #FFF0F3; }
.field__error { min-height: 1.2em; font-size: .88rem; font-weight: 600; color: #C21B43; }
.choices { display: flex; flex-wrap: wrap; gap: 10px; border: 0; padding: 0; margin: 0; }
.choices legend { margin-bottom: 10px; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 16px;
  border: var(--bw) solid var(--ink);
  border-radius: 999px;
  background: var(--white);
  font-weight: 600;
  cursor: pointer;
  transition: background-color .2s, transform .35s var(--spring), box-shadow .3s;
}
.choice span:hover { transform: translateY(-2px); }
.choice input:checked + span { background: var(--sun); box-shadow: var(--hard-s); }
.choice input:focus-visible + span { outline: 3px solid var(--cobalt); outline-offset: 3px; }
.form__foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 6px; }
.form__foot small { color: var(--ink-2); max-width: 42ch; line-height: 1.45; }
.form__foot small a { font-weight: 600; }
.form-success {
  display: none;
  text-align: center;
  padding: 30px 10px;
}
.form-success svg { width: 96px; height: 96px; margin: 0 auto 18px; display: block; overflow: visible; }
.form-success h3 { font-size: 1.9rem; margin-bottom: 10px; }
.form-success p { color: var(--ink-2); max-width: 42ch; margin-inline: auto; }
.form-card.is-sent .form, .form-card.is-sent > h2, .form-card.is-sent > p { display: none; }
.form-card.is-sent .form-success { display: block; animation: pop-in .7s var(--spring); }
@keyframes pop-in { from { opacity: 0; transform: scale(.9); } }

.side-stack { display: grid; gap: 18px; }
.info-card {
  position: relative;
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 16px;
  align-items: center;
  padding: 20px;
  background: var(--white);
  border: var(--bw) solid var(--ink);
  border-radius: var(--r-m);
  text-decoration: none;
  transition: translate .4s var(--ease), box-shadow .4s var(--ease);
}
a.info-card:hover { translate: -3px -3px; box-shadow: var(--hard-s); }
.info-card__ico { width: 54px; height: 54px; display: grid; place-items: center; border: var(--bw) solid var(--ink); border-radius: 16px; background: var(--bg, var(--sky)); }
.info-card__ico svg { width: 28px; height: 28px; overflow: visible; }
.info-card small { display: block; color: var(--ink-2); font-weight: 600; font-size: .85rem; }
.info-card strong { display: block; font-size: 1.08rem; word-break: break-word; }
.info-card--plain { grid-template-columns: 1fr; }
.info-card dl { margin: 0; display: grid; gap: 10px; }
.info-card dt { color: var(--ink-2); font-weight: 600; font-size: .85rem; }
.info-card dd { margin: 0; font-weight: 650; }

.next-steps { margin: 0; padding: 0; list-style: none; display: grid; gap: 14px; counter-reset: ns; }
.next-steps li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; counter-increment: ns; }
.next-steps li::before {
  content: counter(ns);
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: var(--bw) solid var(--ink);
  background: var(--sun);
  font: 750 .95rem/1 var(--font-display);
}
.next-steps strong { display: block; }
.next-steps span { color: var(--ink-2); font-size: .95rem; }

/* ---------- Legal pages ---------- */
.legal-hero { padding: 150px 0 30px; }
.legal-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 30px; align-items: end; }
.legal-hero h1 { margin: 18px 0 16px; font-size: clamp(2.6rem, 6vw, 4.8rem); font-weight: 750; letter-spacing: -0.045em; }
.legal-hero p { color: var(--ink-2); max-width: 60ch; }
.legal-hero__art { width: clamp(150px, 20vw, 240px); }
.updated { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border: var(--bw) solid var(--ink); border-radius: 999px; background: var(--white); font-weight: 600; font-size: .9rem; }

.legal { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; padding-top: 24px; }
.legal__toc {
  position: sticky;
  top: 110px;
  padding: 20px;
  background: var(--white);
  border: var(--bw) solid var(--ink);
  border-radius: var(--r-m);
  box-shadow: var(--hard-s);
}
.legal__toc p { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; margin-bottom: 10px; }
.legal__toc ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 2px; counter-reset: toc; }
.legal__toc li { counter-increment: toc; }
.legal__toc a {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 6px;
  padding: 6px 8px;
  border-radius: 8px;
  font-size: .92rem;
  font-weight: 550;
  line-height: 1.35;
  text-decoration: none;
  color: var(--ink-2);
  transition: background-color .2s, color .2s;
}
.legal__toc a::before { content: counter(toc) "."; font-weight: 700; color: var(--cobalt); }
.legal__toc a:hover, .legal__toc a.is-current { background: var(--cobalt-soft); color: var(--ink); }

.prose {
  padding: clamp(24px, 4vw, 52px);
  background: var(--white);
  border: var(--bw) solid var(--ink);
  border-radius: var(--r-l);
  max-width: 820px;
}
.prose h2 {
  font-size: clamp(1.5rem, 2.4vw, 1.9rem);
  letter-spacing: -0.025em;
  margin: 2.2em 0 .7em;
  scroll-margin-top: 120px;
}
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.2rem; margin: 1.6em 0 .5em; letter-spacing: -0.015em; }
.prose p, .prose li { color: #2E3456; max-width: 72ch; }
.prose ul { padding-left: 1.2em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--cobalt); }
.prose a { color: var(--cobalt-2); font-weight: 600; text-underline-offset: 3px; }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 1.4em; font-size: .95rem; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 12px 14px; border: 1.5px solid var(--line); }
.prose th { background: var(--paper); font-weight: 700; }
.prose .table-wrap { overflow-x: auto; }
.callout {
  margin: 0 0 1.6em;
  padding: 18px 20px;
  border: var(--bw) solid var(--ink);
  border-radius: var(--r-m);
  background: var(--paper);
}
.callout p:last-child { margin: 0; }

/* ---------- Footer ---------- */
.site-footer {
  margin-top: var(--section);
  background: var(--white);
  border-top: var(--bw) solid var(--ink);
  overflow: hidden;
}
.footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: 36px;
  padding: 64px 0 40px;
}
.footer__brand p { color: var(--ink-2); margin: 16px 0 20px; max-width: 34ch; }
.footer__col h2 { font-size: 1.05rem; letter-spacing: -0.01em; margin-bottom: 14px; }
.footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer__col a { text-decoration: none; color: var(--ink-2); font-weight: 550; transition: color .2s; }
.footer__col a:hover { color: var(--cobalt); }
.footer__contacts { display: grid; gap: 6px; }
.footer__contacts a { font-weight: 650; text-decoration: none; }
.footer__contacts a:hover { color: var(--cobalt); }

.wordmark {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(4rem, 17.5vw, 16rem);
  letter-spacing: -0.06em;
  line-height: .9;
  padding: 10px 0 26px;
  margin: 0;
  color: transparent;
  -webkit-text-stroke: 2px var(--ink);
  user-select: none;
}
.wordmark span {
  display: inline-block;
  transition: color .3s, transform .6s var(--spring);
}
.wordmark span:hover { color: var(--sun); transform: translateY(-8%) rotate(-4deg); }
.wordmark.is-in span { animation: letter-wave 1.6s var(--spring) backwards; animation-delay: calc(var(--i) * 70ms); }
@keyframes letter-wave {
  0% { transform: translateY(40%); color: transparent; }
  50% { color: var(--cobalt); }
  100% { transform: none; color: transparent; }
}
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 24px;
  padding: 22px 0;
  border-top: var(--bw) solid var(--ink);
  font-size: .9rem;
  color: var(--ink-2);
  position: relative;
  background: var(--white);
}
.footer__bottom a { color: var(--ink-2); }

/* ---------- Floating UI: back-to-top, cookie notice, cursor ---------- */
.to-top {
  position: fixed;
  right: 20px; bottom: 20px;
  z-index: 40;
  width: 58px; height: 58px;
  display: grid; place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--white);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(.8);
  transition: opacity .4s var(--ease), transform .5s var(--spring), visibility .4s;
  filter: drop-shadow(3px 3px 0 var(--ink));
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top svg.ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.to-top .ring circle:first-child { fill: var(--white); stroke: var(--ink); stroke-width: 2; }
.to-top .ring circle:last-child { fill: none; stroke: var(--cobalt); stroke-width: 4; stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--progress, 0)); stroke-linecap: round; }
.to-top .arrow { position: relative; width: 20px; height: 20px; transition: transform .4s var(--spring); }
.to-top:hover .arrow { animation: rocket .7s var(--ease) infinite; }
@keyframes rocket { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }

.cookie {
  position: fixed;
  left: 20px; bottom: 20px;
  z-index: 70;
  width: min(400px, calc(100vw - 40px));
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 16px;
  padding: 20px;
  background: var(--white);
  border: var(--bw) solid var(--ink);
  border-radius: var(--r-m);
  box-shadow: var(--hard);
  transform: translateY(140%) rotate(-3deg);
  transition: transform .8s var(--spring);
}
.cookie.is-visible { transform: none; }
.cookie__art svg { width: 64px; height: 64px; overflow: visible; }
.cookie p { margin: 0 0 14px; font-size: .95rem; line-height: 1.45; color: var(--ink-2); }
.cookie p a { color: var(--ink); font-weight: 650; }
.cookie .btn { min-height: 44px; padding: .6em 1.2em; font-size: .95rem; }

.cursor, .cursor-dot {
  position: fixed;
  top: 0; left: 0;
  z-index: 100;
  pointer-events: none;
  border-radius: 50%;
}
.cursor {
  width: 38px; height: 38px;
  margin: -19px 0 0 -19px;
  border: 2px solid var(--cobalt);
  display: grid; place-items: center;
  transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background-color .3s, border-color .3s, opacity .3s;
}
.cursor span { font-weight: 700; font-size: .78rem; color: var(--white); opacity: 0; transition: opacity .2s; }
.cursor.is-hover { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: rgb(51 70 255 / .12); }
.cursor.is-label { width: 84px; height: 84px; margin: -42px 0 0 -42px; background: var(--cobalt); border-color: var(--ink); }
.cursor.is-label span { opacity: 1; }
.cursor.is-hidden, .cursor-dot.is-hidden { opacity: 0; }
.cursor-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--ink); }

/* ---------- Intro loader (home, first visit per session) ---------- */
.loader {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: grid;
  place-items: center;
  background: var(--cobalt);
  color: var(--white);
  animation: loader-out .9s var(--ease) 1.25s forwards;
}
.loader__inner { display: flex; align-items: center; gap: 18px; }
.loader__inner svg { width: 74px; height: 74px; animation: loader-mark .8s var(--spring) both; }
.loader__word { display: flex; overflow: hidden; font: 800 clamp(2.4rem, 7vw, 4.4rem)/1 var(--font-display); letter-spacing: -0.04em; }
.loader__word span { display: inline-block; animation: loader-letter .7s var(--ease) both; animation-delay: calc(.15s + var(--i) * 45ms); }
.loader__word .gap { width: .25em; }
@keyframes loader-mark { from { transform: scale(0) rotate(-90deg); } }
@keyframes loader-letter { from { transform: translateY(110%); } }
@keyframes loader-out { to { clip-path: inset(0 0 100% 0); visibility: hidden; } }
.skip-loader .loader, .no-js .loader { display: none; }

/* ---------- Reveal on scroll ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(42px);
  transition:
    opacity 1s var(--ease) var(--delay, 0s),
    transform 1s var(--ease) var(--delay, 0s),
    translate .5s var(--spring),
    box-shadow .4s var(--ease);
}
.js [data-reveal="scale"] { transform: scale(.88); }
.js [data-reveal="left"] { transform: translateX(-50px); }
.js [data-reveal="right"] { transform: translateX(50px); }
.js [data-reveal="tilt"] { transform: translateY(60px) rotate(3deg); }
.js .is-ready [data-reveal].is-in,
.js.is-ready [data-reveal].is-in { opacity: 1; transform: none; }

/* Split headline words */
.js [data-split] .w {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding: .04em .02em .1em;
  margin: -.04em -.02em -.1em;
}
.js [data-split] .w__i {
  display: inline-block;
  transform: translateY(110%) rotate(6deg);
  transform-origin: left bottom;
  transition: transform 1s var(--ease);
  transition-delay: calc(var(--i, 0) * 60ms + var(--base, 0ms));
}
.js [data-split] .pill-ico {
  transform: scale(0) rotate(-30deg);
  transition: transform .9s var(--spring);
  transition-delay: calc(var(--i, 0) * 60ms + var(--base, 0ms) + 200ms);
}
.js.is-ready [data-split].is-in .w__i,
.js.is-ready [data-split].is-in .pill-ico { transform: none; }

/* ---------- View transitions between pages ---------- */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .5s var(--ease) both; }
::view-transition-new(root) { animation: vt-in .75s var(--ease) both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-40px) scale(.98); } }
@keyframes vt-in { from { clip-path: inset(100% 0 0 0 round 48px 48px 0 0); transform: translateY(80px); } to { clip-path: inset(0 0 0 0 round 0); } }

/* ==========================================================================
   Illustration motion library (inline SVG)
   ========================================================================== */
.ill { display: block; width: 100%; height: auto; overflow: visible; }
.ill *, .mini-ill *, .icon-anim * { transform-box: fill-box; transform-origin: center; }
.o-left { transform-origin: left center !important; }
.o-right { transform-origin: right center !important; }
.o-bottom { transform-origin: center bottom !important; }
.o-top { transform-origin: center top !important; }
.o-tl { transform-origin: left top !important; }
.o-bl { transform-origin: left bottom !important; }

.a-float { animation: float var(--dur, 6s) ease-in-out var(--d, 0s) infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(var(--amp, -10px)); } }
.a-float-x { animation: float-x var(--dur, 7s) ease-in-out var(--d, 0s) infinite; }
@keyframes float-x { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(var(--amp, 10px)); } }
.a-spin { animation: spin var(--dur, 12s) linear var(--d, 0s) infinite; }
.a-spin-rev { animation: spin var(--dur, 12s) linear var(--d, 0s) infinite reverse; }
@keyframes spin { to { transform: rotate(360deg); } }
.a-sway { animation: sway var(--dur, 4s) ease-in-out var(--d, 0s) infinite; }
@keyframes sway { 0%, 100% { transform: rotate(calc(var(--deg, 6deg) * -1)); } 50% { transform: rotate(var(--deg, 6deg)); } }
.a-twinkle { animation: twinkle var(--dur, 2.6s) ease-in-out var(--d, 0s) infinite; }
@keyframes twinkle { 0%, 100% { transform: scale(.35) rotate(0deg); opacity: .35; } 50% { transform: scale(1) rotate(90deg); opacity: 1; } }
.a-blink { animation: blink 1.1s steps(1) var(--d, 0s) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.a-blob { animation: blob var(--dur, 16s) ease-in-out infinite; }
@keyframes blob {
  0%, 100% { transform: rotate(0deg) scale(1, 1); }
  33% { transform: rotate(10deg) scale(1.05, .96); }
  66% { transform: rotate(-8deg) scale(.96, 1.04); }
}
.a-pulse { animation: pulse var(--dur, 2s) var(--ease) var(--d, 0s) infinite; }
@keyframes pulse { 0% { transform: scale(.5); opacity: .9; } 100% { transform: scale(1.9); opacity: 0; } }
.a-beat { animation: beat var(--dur, 2.4s) var(--spring) var(--d, 0s) infinite; }
@keyframes beat { 0%, 40%, 100% { transform: scale(1); } 20% { transform: scale(1.14); } }
.a-wiggle { animation: wiggle var(--dur, 3s) ease-in-out var(--d, 0s) infinite; }
@keyframes wiggle {
  0%, 55%, 100% { transform: rotate(0deg); }
  60% { transform: rotate(-14deg); } 66% { transform: rotate(12deg); }
  72% { transform: rotate(-9deg); } 78% { transform: rotate(6deg); } 84% { transform: rotate(0deg); }
}
.a-bounce { animation: bounce var(--dur, 2.2s) var(--d, 0s) infinite; }
@keyframes bounce {
  0%, 100% { transform: translateY(0) scale(1.06, .94); animation-timing-function: cubic-bezier(.3, 0, .5, 1); }
  45% { transform: translateY(var(--amp, -18px)) scale(.97, 1.03); animation-timing-function: cubic-bezier(.5, 0, .7, 1); }
  90% { transform: translateY(0) scale(1, 1); }
}
.a-shadow { animation: shadow var(--dur, 2.2s) var(--d, 0s) infinite; }
@keyframes shadow {
  0%, 100% { transform: scale(1.1, 1); opacity: .35; animation-timing-function: cubic-bezier(.3, 0, .5, 1); }
  45% { transform: scale(.6, 1); opacity: .15; animation-timing-function: cubic-bezier(.5, 0, .7, 1); }
  90% { transform: scale(1, 1); opacity: .35; }
}

/* Build cycle: elements assemble, hold, disassemble (10s loop) */
.a-build { animation: build var(--dur, 10s) var(--ease) var(--d, 0s) infinite backwards; }
.a-build-x { animation: build-x var(--dur, 10s) var(--ease) var(--d, 0s) infinite backwards; }
.a-build-y { animation: build-y var(--dur, 10s) var(--ease) var(--d, 0s) infinite backwards; }
@keyframes build { 0% { transform: scale(0); opacity: 0; } 7%, 88% { transform: scale(1); opacity: 1; } 96%, 100% { transform: scale(0); opacity: 0; } }
@keyframes build-x { 0% { transform: scaleX(0); } 8%, 88% { transform: scaleX(1); } 96%, 100% { transform: scaleX(0); } }
@keyframes build-y { 0% { transform: scaleY(0); } 8%, 88% { transform: scaleY(1); } 96%, 100% { transform: scaleY(0); } }

/* Stroke drawing (needs pathLength="1") */
.a-draw { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw var(--dur, 5s) var(--ease) var(--d, 0s) infinite; }
@keyframes draw { 0% { stroke-dashoffset: 1; opacity: 1; } 45%, 85% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
.a-dash { stroke-dasharray: 6 8; animation: dash var(--dur, 1.6s) linear infinite; }
@keyframes dash { to { stroke-dashoffset: -28; } }

/* Bars that rise and fall */
.a-bar { animation: bar var(--dur, 3.2s) var(--ease) var(--d, 0s) infinite; transform-origin: center bottom !important; }
@keyframes bar { 0%, 100% { transform: scaleY(.25); } 40%, 70% { transform: scaleY(1); } }

/* Gauge needle */
.a-needle { animation: needle var(--dur, 4s) var(--spring) infinite; transform-origin: center bottom !important; }
@keyframes needle { 0%, 100% { transform: rotate(-70deg); } 30% { transform: rotate(48deg); } 45% { transform: rotate(30deg); } 60%, 85% { transform: rotate(52deg); } }

/* Toast slides in and out */
.a-toast { animation: toast var(--dur, 6s) var(--spring) var(--d, 0s) infinite backwards; }
@keyframes toast {
  0%, 38% { transform: translateY(18px) scale(.6); opacity: 0; }
  46%, 84% { transform: translateY(0) scale(1); opacity: 1; }
  92%, 100% { transform: translateY(-14px) scale(.9); opacity: 0; }
}
/* Click press */
.a-press { animation: press var(--dur, 6s) var(--ease) var(--d, 0s) infinite; }
@keyframes press { 0%, 30%, 40%, 100% { transform: scale(1); } 34% { transform: scale(.86); } }
.a-ripple { animation: ripple var(--dur, 6s) var(--ease) var(--d, 0s) infinite; }
@keyframes ripple { 0%, 33% { transform: scale(.4); opacity: 0; } 34% { opacity: .9; } 50%, 100% { transform: scale(2.2); opacity: 0; } }

/* Scroll inside a screen */
.a-scroll { animation: scroll-y var(--dur, 9s) var(--ease) infinite; }
@keyframes scroll-y {
  0%, 12% { transform: translateY(0); }
  30%, 45% { transform: translateY(var(--s1, -110px)); }
  63%, 80% { transform: translateY(var(--s2, -220px)); }
  95%, 100% { transform: translateY(0); }
}

/* ---- Home hero: drag a component into the layout (10s) ---- */
.a-drag { animation: drag 10s var(--ease) infinite; }
@keyframes drag {
  0% { transform: translate(250px, -150px) rotate(0deg) scale(.4); opacity: 0; }
  8% { transform: translate(250px, -150px) rotate(0deg) scale(1); opacity: 1; }
  18% { transform: translate(250px, -150px) rotate(-7deg) scale(1.05); }
  42% { transform: translate(0, 0) rotate(-4deg) scale(1.05); }
  47% { transform: translate(0, 0) rotate(0deg) scale(.96); }
  51%, 88% { transform: translate(0, 0) rotate(0deg) scale(1); opacity: 1; }
  96%, 100% { transform: translate(0, 0) scale(.6); opacity: 0; }
}
.a-drag-cursor { animation: drag-cursor 10s var(--ease) infinite; }
@keyframes drag-cursor {
  0% { transform: translate(330px, -60px); }
  14% { transform: translate(250px, -150px); }
  18% { transform: translate(250px, -150px) scale(.88); }
  42% { transform: translate(0, 0) scale(.88); }
  47% { transform: translate(0, 0) scale(1); }
  62%, 80% { transform: translate(140px, 70px); }
  100% { transform: translate(330px, -60px); }
}
.a-snap { animation: snap 10s var(--ease) infinite; }
@keyframes snap { 0%, 44% { opacity: 0; transform: scale(.9); } 48% { opacity: 1; transform: scale(1); } 60%, 100% { opacity: 0; transform: scale(1.18); } }
.a-slot { animation: slot 10s linear infinite; }
@keyframes slot { 0%, 46% { opacity: 1; } 48%, 94% { opacity: 0; } 98%, 100% { opacity: 1; } }

.a-wander { animation: wander var(--dur, 12s) ease-in-out var(--d, 0s) infinite; }
@keyframes wander {
  0%, 100% { transform: translate(0, 0); }
  20% { transform: translate(-60px, -30px); }
  40% { transform: translate(-30px, 40px); }
  60% { transform: translate(30px, 20px); }
  80% { transform: translate(10px, -40px); }
}

/* ---- Store: product flies into the cart (6s) ---- */
.a-fly-x { animation: fly-x 6s linear infinite; }
.a-fly-y { animation: fly-y 6s infinite; }
@keyframes fly-x {
  0%, 34% { transform: translateX(0); opacity: 0; }
  36% { opacity: 1; }
  60% { transform: translateX(var(--fx, 200px)); opacity: 1; }
  63%, 100% { transform: translateX(var(--fx, 200px)); opacity: 0; }
}
@keyframes fly-y {
  0%, 34% { transform: translateY(0) scale(1); animation-timing-function: cubic-bezier(.2, .7, .4, 1); }
  46% { transform: translateY(var(--fy1, -90px)) scale(.8); animation-timing-function: cubic-bezier(.6, 0, .8, .4); }
  60%, 100% { transform: translateY(var(--fy2, -160px)) scale(.4); }
}
.a-badge { animation: badge 6s var(--spring) infinite; }
@keyframes badge { 0%, 60% { transform: scale(1); } 66% { transform: scale(1.5); } 74%, 100% { transform: scale(1); } }
.a-count-1 { animation: count-1 6s steps(1) infinite; }
.a-count-2 { animation: count-2 6s steps(1) infinite; }
@keyframes count-1 { 0%, 61% { opacity: 1; } 62%, 100% { opacity: 0; } }
@keyframes count-2 { 0%, 61% { opacity: 0; } 62%, 100% { opacity: 1; } }
.a-arrow-hit { animation: arrow-hit 4s var(--ease) infinite; }
@keyframes arrow-hit {
  0%, 10% { transform: translate(70px, -70px); opacity: 0; }
  14% { opacity: 1; }
  30% { transform: translate(0, 0); }
  34% { transform: translate(4px, -4px); }
  38%, 82% { transform: translate(0, 0); opacity: 1; }
  92%, 100% { transform: translate(0, 0); opacity: 0; }
}
.a-flap-front { animation: flap-front 6s var(--ease) infinite; transform-origin: center top !important; }
.a-flap-back { animation: flap-back 6s var(--ease) infinite; transform-origin: center bottom !important; }
@keyframes flap-front { 0%, 8% { transform: scaleY(1); } 15%, 82% { transform: scaleY(0); } 89%, 100% { transform: scaleY(1); } }
@keyframes flap-back { 0%, 15% { transform: scaleY(0); } 22%, 75% { transform: scaleY(1); } 82%, 100% { transform: scaleY(0); } }

/* ---- Contact: envelope opens (6s) ---- */
.a-flap { animation: flap 6s var(--ease) infinite; transform-origin: center top !important; }
@keyframes flap { 0%, 10% { transform: scaleY(1); } 22%, 75% { transform: scaleY(-1); } 88%, 100% { transform: scaleY(1); } }
.a-letter { animation: letter 6s var(--ease) infinite; }
@keyframes letter { 0%, 18% { transform: translateY(0); } 34%, 66% { transform: translateY(-78px); } 80%, 100% { transform: translateY(0); } }
.a-typing { animation: typing 1.2s ease-in-out var(--d, 0s) infinite; }
@keyframes typing { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-5px); opacity: 1; } }

/* ---- Legal ---- */
.a-shackle { animation: shackle 4s var(--spring) infinite; }
@keyframes shackle { 0%, 15% { transform: translateY(-12px); } 30%, 85% { transform: translateY(0); } 100% { transform: translateY(-12px); } }
.a-scan { animation: scan 3s ease-in-out infinite; }
@keyframes scan { 0%, 100% { transform: translateY(-36px); opacity: 0; } 15%, 85% { opacity: .9; } 50% { transform: translateY(36px); } }
.a-crumb { animation: crumb var(--dur, 2.4s) cubic-bezier(.5, 0, .9, .5) var(--d, 0s) infinite; }
@keyframes crumb { 0% { transform: translate(0, 0) rotate(0deg); opacity: 0; } 10% { opacity: 1; } 100% { transform: translate(var(--cx, 6px), 48px) rotate(180deg); opacity: 0; } }
.a-pen { animation: pen 5s var(--ease) infinite; }
@keyframes pen { 0%, 8% { transform: translate(0, 0); } 45%, 80% { transform: translate(var(--px, 86px), 0); } 100% { transform: translate(0, 0); } }

/* ---- SaaS ---- */
.a-tg-track { animation: tg-track 4s var(--ease) infinite; }
.a-tg-knob { animation: toggle-knob 4s var(--spring) infinite; }
@keyframes tg-track { 0%, 20%, 90%, 100% { fill: #F3F5FB; } 30%, 80% { fill: #3DDC97; } }
.a-led { animation: led 1.6s steps(1) var(--d, 0s) infinite; }
@keyframes led { 0%, 100% { opacity: 1; } 50% { opacity: .2; } }
.a-nav-ind { animation: nav-ind 8s var(--spring) infinite; }
@keyframes nav-ind { 0%, 20% { transform: translateY(0); } 25%, 45% { transform: translateY(34px); } 50%, 70% { transform: translateY(68px); } 75%, 95% { transform: translateY(34px); } 100% { transform: translateY(0); } }

/* Cursor that clicks a button (4s, synced with .a-press / .a-ripple / .a-toast at --dur:4s) */
.a-click { animation: click var(--dur, 4s) var(--ease) var(--d, 0s) infinite; }
@keyframes click {
  0% { transform: translate(60px, 40px); }
  26% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(0, 0) scale(.82); }
  38% { transform: translate(0, 0) scale(1); }
  62% { transform: translate(0, 0); }
  100% { transform: translate(60px, 40px); }
}
.a-flame { animation: flame .22s ease-in-out infinite alternate; transform-origin: center top !important; }
@keyframes flame { from { transform: scaleY(.7) scaleX(.9); } to { transform: scaleY(1.15) scaleX(1.05); } }
.a-rise { animation: rise var(--dur, 3s) ease-in var(--d, 0s) infinite; }
@keyframes rise { 0% { transform: translateY(10px) scale(.6); opacity: 0; } 20% { opacity: 1; } 100% { transform: translateY(-40px) scale(1); opacity: 0; } }

/* Paper plane in CTA */
.plane-trail { stroke-dasharray: 8 10; animation: dash 1.4s linear infinite; }

/* Icon micro-animations used in lists/cards */
.icon-anim { overflow: visible; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .nav__links { display: none; }
  .burger { display: block; }
  .nav__cta { display: none; }
  .footer__top { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer__brand { grid-column: 1 / -1; }
  .fit { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 920px) {
  .hero, .page-hero { padding-top: 124px; }
  .hero__grid, .page-hero__grid { grid-template-columns: 1fr; }
  .hero__art, .page-hero__art { max-width: 600px; margin-inline: auto; width: 100%; }
  .hero__art .ill { width: 100%; margin-left: 0; }
  .section-head { grid-template-columns: 1fr; }
  .services-grid > * { grid-column: 1 / -1 !important; }
  .svc-card--saas { flex-direction: column; }
  .svc-card--saas .svc-card__art { border-right: 0; border-bottom: var(--bw) solid var(--ink); }
  .svc-card--saas .svc-card__body { padding: 28px 30px 30px; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 48px; }
  .steps__track, .steps__fill { display: none; }
  .included, .tech, .faq, .factors, .contact-grid { grid-template-columns: 1fr; }
  .faq__intro { position: static; }
  .tech__text { order: -1; }
  .cta__art { opacity: .35; width: 90%; }
  .legal { grid-template-columns: 1fr; }
  .legal__toc { position: static; }
  .others { grid-template-columns: 1fr; }
  .fit--3 { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }
  .nav { height: 62px; }
  .logo { font-size: 1.18rem; }
  .logo__mark { width: 36px; height: 36px; }
  .hero__lede, .page-hero .lede { font-size: 1.08rem; }
  .hero__ctas .btn, .cta__actions .btn { width: 100%; }
  .checklist { grid-template-columns: 1fr; }
  .checklist li:nth-child(odd) { border-right: 0; }
  .checklist li:nth-last-child(2) { border-bottom: 1.5px dashed var(--line); }
  .steps { grid-template-columns: 1fr; }
  .deliver { grid-template-columns: 1fr; }
  .fit { grid-template-columns: 1fr; }
  .timeline li { grid-template-columns: 58px minmax(0, 1fr); gap: 4px 18px; }
  .timeline li > div:last-child { grid-column: 2; }
  .timeline__when { padding-top: 16px; }
  .offer { grid-auto-flow: row; width: 100%; }
  .offer > div + div { border-left: 0; border-top: var(--bw) solid var(--ink); }
  .form { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .mini-card { grid-template-columns: 1fr; }
  .mini-card__art { height: 120px; }
  .mini-card .btn__icon { display: none; }
  .svc-card__top { flex-direction: column; }
  .price { align-items: flex-start; }
  .legal-hero__grid { grid-template-columns: 1fr; }
  .legal-hero__art { order: -1; }
  .cookie { left: 12px; bottom: 12px; width: calc(100vw - 24px); }
  .to-top { right: 14px; bottom: 14px; }
  .badge-rotate { display: none; }
  .scroll-hint { display: none; }
  .cta { border-radius: var(--r-l); }
}
