/* =====================================================================
   Nano Support — site styles
   Motion note: animations intentionally run regardless of the OS
   "reduce motion" setting (client request), so there are no
   prefers-reduced-motion overrides in this file.
   ===================================================================== */

:root {
  --paper: #F3F5F9;
  --paper-2: #E9EDF4;
  --white: #FFFFFF;
  --ink: #0F1729;
  --ink-2: #3A4458;
  --ink-3: #5F687B;
  --line: #DCE1EA;
  --line-2: #C5CCD8;
  --orange: #FF5821;
  --orange-2: #FF8A5C;
  --orange-ink: #C2410C;
  --orange-tint: #FFE3D6;
  --peri: #4F5BFF;
  --peri-ink: #3640D9;
  --peri-tint: #E4E7FF;
  --peri-2: #C7CCFF;
  --mint: #12B76A;
  --mint-ink: #067647;
  --mint-tint: #D3F8E2;
  --danger: #B42318;

  --f-display: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;
  --f-body: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "Geist Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;

  --gutter: clamp(16px, 4vw, 48px);
  --maxw: 1320px;
  --r-xl: 40px;
  --r-lg: 30px;
  --r-md: 22px;
  --r-sm: 14px;

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --shadow-soft: 0 1px 2px rgba(15, 23, 41, .04), 0 14px 34px -14px rgba(15, 23, 41, .16);
  --shadow-lift: 0 2px 4px rgba(15, 23, 41, .04), 0 34px 64px -26px rgba(79, 91, 255, .34);

  --z-decor: 1;
  --z-content: 2;
  --z-menu: 45;
  --z-header: 50;
  --z-cookie: 70;
  --z-cursor: 90;
  --z-curtain: 100;
}

/* ---------------------------------------------------------------- base */

*, *::before, *::after { box-sizing: border-box; }

html {
  color-scheme: light;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 110px;
}

html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: clip; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  text-rendering: optimizeLegibility;
}

/* elements waiting for their entrance animation sit off-axis; never let them widen the page */
main { display: block; overflow-x: clip; }

img, svg { max-width: 100%; }
img { display: block; height: auto; }

h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 700;
  margin: 0;
  line-height: 1.05;
  letter-spacing: -.02em;
  font-optical-sizing: auto;
}

p { margin: 0 0 1em; }
a { color: inherit; }
button { font: inherit; color: inherit; }

::selection { background: var(--orange); color: var(--ink); }

:focus-visible {
  outline: 3px solid var(--peri);
  outline-offset: 3px;
  border-radius: 6px;
}

.container {
  width: min(100% - 2 * var(--gutter), var(--maxw));
  margin-inline: auto;
}

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip {
  position: fixed;
  left: 16px; top: -100px;
  z-index: 200;
  background: var(--ink); color: #fff;
  padding: 10px 16px; border-radius: 10px;
  text-decoration: none; font-weight: 600;
  transition: top .3s var(--ease-out);
}
.skip:focus { top: 16px; }

.h2 {
  font-size: clamp(2.2rem, 1.35rem + 3.3vw, 4.25rem);
  line-height: 1;
  letter-spacing: -.022em;
  font-stretch: 92%;
  text-wrap: balance;
}

.sl { padding-bottom: .06em; } /* SplitText line wrappers */

.ico { width: 24px; height: 24px; display: block; }

@keyframes draw {
  from { stroke-dasharray: 1; stroke-dashoffset: 1; }
  to { stroke-dasharray: 1; stroke-dashoffset: 0; }
}

/* ---------------------------------------------------------------- buttons */

.btn {
  --h: 54px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  height: var(--h);
  padding: 0 7px 0 24px;
  border: 0;
  border-radius: 999px;
  font: 600 1rem/1 var(--f-body);
  letter-spacing: -.005em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  isolation: isolate;
  overflow: hidden;
  transition: color .35s var(--ease-out), background-color .35s var(--ease-out), box-shadow .35s;
}
.btn::before {
  content: "";
  position: absolute;
  inset: -2px;
  z-index: -1;
  background: var(--ink);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  transform: translateY(102%);
  transition: transform .6s var(--ease-out), border-radius .6s var(--ease-out);
}
.btn:hover::before { transform: translateY(0); border-radius: 0; }

.btn--primary { background: var(--orange); color: var(--ink); }
.btn--primary:hover { color: #fff; }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--ink);
  padding: 0 26px;
}
.btn--ghost:hover { color: #fff; }

.btn--ink { background: var(--ink); color: #fff; }
.btn--ink::before { background: #fff; }
.btn--ink:hover { color: var(--ink); }

.btn__ico {
  position: relative;
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  flex: none;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  overflow: hidden;
  transition: background-color .35s, color .35s;
}
.btn__ico > span {
  grid-area: 1 / 1;
  display: grid;
  place-items: center;
  transition: transform .5s var(--ease-out);
}
.btn__ico > span:last-child { transform: translateX(-160%); }
.btn:hover .btn__ico > span:first-child { transform: translateX(160%); }
.btn:hover .btn__ico > span:last-child { transform: translateX(0); }
.btn__ico svg { width: 18px; height: 18px; }
.btn--primary:hover .btn__ico { background: var(--orange); color: var(--ink); }
.btn--ink .btn__ico { background: var(--orange); color: var(--ink); }
.btn--ink:hover .btn__ico { background: var(--ink); color: #fff; }

.btn--sm { --h: 46px; font-size: .94rem; padding-left: 20px; gap: 12px; }
.btn--sm .btn__ico { width: 34px; height: 34px; }
.btn--sm.btn--ghost { padding: 0 20px; }
.btn--lg { --h: 62px; font-size: 1.06rem; padding-left: 28px; }
.btn--lg .btn__ico { width: 48px; height: 48px; }
.btn--lg.btn--ghost { padding: 0 30px; }

.linkbtn {
  border: 0;
  padding: 0;
  background: none;
  cursor: pointer;
  font: inherit;
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1.5px;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  text-decoration: none;
  color: var(--ink);
  padding-bottom: 4px;
  background: linear-gradient(var(--orange), var(--orange)) 0 100% / 100% 2px no-repeat;
  transition: background-size .45s var(--ease-out);
}
.link-arrow svg { width: 20px; height: 20px; transition: transform .45s var(--ease-out); }
.link-arrow:hover { background-size: 0 2px; background-position: 100% 100%; }
.link-arrow:hover svg { transform: translateX(6px); }

/* ---------------------------------------------------------------- chrome: curtain, progress, cursor */

.curtain { position: fixed; inset: 0; z-index: var(--z-curtain); pointer-events: none; display: none; }
.js .curtain { display: block; animation: curtainFailsafe .01s 4s forwards; }
.js .curtain.curtain--ready { animation: none; }
@keyframes curtainFailsafe { to { visibility: hidden; } }
.curtain__layer { position: absolute; inset: 0; }
.curtain__layer--a { background: var(--peri); }
.curtain__layer--b { background: var(--orange); display: grid; place-items: center; }
.curtain__logo { width: 88px; height: 88px; filter: brightness(0) saturate(100%); opacity: .9; }

.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: var(--z-cursor); pointer-events: none; }
.progress span {
  display: block; height: 100%;
  background: linear-gradient(90deg, var(--orange), var(--peri));
  transform-origin: left;
  transform: scaleX(var(--p, 0));
}

.cursor { position: fixed; top: 0; left: 0; z-index: var(--z-cursor); pointer-events: none; display: none; }
.has-cursor .cursor { display: block; }
.cursor__ring {
  position: absolute;
  width: 40px; height: 40px;
  margin: -20px 0 0 -20px;
  border-radius: 50%;
  border: 1.5px solid var(--ink);
  display: grid;
  place-items: center;
  opacity: 0;
  transition: width .4s var(--ease-out), height .4s var(--ease-out), margin .4s var(--ease-out),
              background-color .3s, border-color .3s, opacity .3s, scale .25s var(--ease-out);
}
.cursor.is-on .cursor__ring { opacity: 1; }
.cursor.is-link .cursor__ring {
  width: 64px; height: 64px; margin: -32px 0 0 -32px;
  background: rgba(255, 88, 33, .12);
  border-color: var(--orange);
}
.cursor.is-label .cursor__ring {
  width: 92px; height: 92px; margin: -46px 0 0 -46px;
  background: var(--ink);
  border-color: var(--ink);
}
.cursor.is-down .cursor__ring { scale: .82; }
.cursor__label { color: #fff; font-size: .86rem; font-weight: 600; opacity: 0; transition: opacity .2s; }
.cursor.is-label .cursor__label { opacity: 1; }
.cursor__dot { display: none; }

/* ---------------------------------------------------------------- header + nav */

.hdr {
  position: fixed;
  top: 14px; left: 0; right: 0;
  z-index: var(--z-header);
  pointer-events: none;
  transition: transform .7s var(--ease-out);
}
.hdr.is-hidden { transform: translateY(-150%); }

.hdr__bar {
  pointer-events: auto;
  width: min(100% - 28px, 1380px);
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px 8px 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .74);
  -webkit-backdrop-filter: blur(18px) saturate(1.5);
  backdrop-filter: blur(18px) saturate(1.5);
  border: 1px solid rgba(220, 225, 234, .9);
  box-shadow: 0 12px 34px -20px rgba(15, 23, 41, .3);
  transition: background-color .4s, box-shadow .4s;
}
.hdr.is-scrolled .hdr__bar { background: rgba(255, 255, 255, .9); }

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-right: auto;
  text-decoration: none;
  color: var(--ink);
  border-radius: 999px;
}
.brand__mark { width: 40px; height: 40px; transition: rotate .7s var(--ease-out), scale .7s var(--ease-out); }
.brand:hover .brand__mark { rotate: -14deg; scale: 1.08; }
.brand__word {
  font-family: var(--f-display);
  font-size: 1.32rem;
  font-weight: 500;
  letter-spacing: -.04em;
  font-stretch: 88%;
  line-height: 1;
}
.brand__word b { font-weight: 800; }

.nav__list { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: .95rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--ink);
  transition: background-color .25s;
}
.nav__link:hover { background: rgba(15, 23, 41, .05); }
.nav__link[aria-current="page"] { background: var(--peri-tint); }
.nav__chev { width: 12px; height: 12px; transition: rotate .4s var(--ease-out); }
.nav__item--drop:hover .nav__chev, .nav__item--drop:focus-within .nav__chev { rotate: 180deg; }

.roll { display: inline-block; height: 1.3em; line-height: 1.3em; overflow: hidden; vertical-align: top; }
.roll > span {
  display: block;
  text-shadow: 0 1.3em 0 var(--peri-ink);
  transition: transform .5s var(--ease-out);
}
.nav__link:hover .roll > span { transform: translateY(-1.3em); }

.nav__item--drop { position: relative; }
.drop {
  position: absolute;
  top: calc(100% + 16px);
  left: 50%;
  width: 600px;
  padding: 10px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 30px 70px -30px rgba(15, 23, 41, .35);
  opacity: 0;
  visibility: hidden;
  translate: -50% 10px;
  scale: .98;
  transform-origin: top center;
  transition: opacity .3s, translate .5s var(--ease-out), scale .5s var(--ease-out), visibility 0s .3s;
}
.drop::before { content: ""; position: absolute; left: 0; right: 0; top: -18px; height: 18px; }
.nav__item--drop:hover .drop,
.nav__item--drop:focus-within .drop {
  opacity: 1; visibility: visible; translate: -50% 0; scale: 1;
  transition: opacity .3s, translate .5s var(--ease-out), scale .5s var(--ease-out), visibility 0s;
}
.drop__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.drop__card {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px;
  border-radius: 16px;
  text-decoration: none;
  color: var(--ink);
  transition: background-color .25s;
}
.drop__card:hover { background: var(--paper); }
.drop__ico { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 13px; }
.drop__ico .ico { width: 22px; height: 22px; }
.drop__ico--peri { background: var(--peri-tint); color: var(--peri-ink); }
.drop__ico--orange { background: var(--orange-tint); color: var(--orange-ink); }
.drop__ico--mint { background: var(--mint-tint); color: var(--mint-ink); }
.drop__grid > .drop__card:last-child:nth-child(odd) { grid-column: span 2; }
.drop__card:hover .ico * { animation: draw .9s var(--ease-out); }
.drop__txt strong { display: block; font-size: .95rem; font-weight: 600; line-height: 1.3; margin-top: 2px; }
.drop__txt small { display: block; font-size: .82rem; line-height: 1.4; color: var(--ink-3); margin-top: 2px; }
.drop__foot {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
  padding: 13px 14px;
  border-radius: 14px;
  background: var(--peri-tint);
  font-size: .86rem;
  text-decoration: none;
  color: var(--ink);
}
.drop__foot:hover { background: var(--peri-2); }

.burger {
  display: none;
  position: relative;
  width: 46px; height: 46px;
  border: 0;
  border-radius: 50%;
  background: var(--ink);
  cursor: pointer;
  flex: none;
}
.burger span {
  position: absolute;
  left: 14px; right: 14px;
  height: 2px;
  border-radius: 2px;
  background: #fff;
  transition: transform .5s var(--ease-out), top .5s var(--ease-out);
}
.burger span:first-child { top: 18px; }
.burger span:last-child { top: 26px; }
.menu-open .burger span:first-child { top: 22px; transform: rotate(45deg); }
.menu-open .burger span:last-child { top: 22px; transform: rotate(-45deg); }

.mmenu {
  position: fixed;
  inset: 0;
  z-index: var(--z-menu);
  display: flex;
  background: var(--white);
  visibility: hidden;
  clip-path: circle(0% at calc(100% - 44px) 44px);
  transition: clip-path .8s var(--ease-io), visibility 0s .8s;
}
.menu-open .mmenu {
  visibility: visible;
  clip-path: circle(150% at calc(100% - 44px) 44px);
  transition: clip-path .8s var(--ease-io), visibility 0s;
}
.mmenu__inner {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
  padding: 110px var(--gutter) 32px;
  overflow-y: auto;
}
.mmenu__list { list-style: none; margin: 0; padding: 0; }
.mmenu__list li { overflow: hidden; }
.mmenu__list a {
  display: block;
  font-family: var(--f-display);
  font-size: clamp(2.3rem, 10vw, 3.6rem);
  font-weight: 700;
  font-stretch: 90%;
  letter-spacing: -.03em;
  line-height: 1.12;
  text-decoration: none;
  color: var(--ink);
  transform: translateY(110%);
  transition: transform .8s var(--ease-out), color .25s;
}
.mmenu__list a:hover { color: var(--orange-ink); }
.menu-open .mmenu__list a { transform: none; }
.mmenu__list li:nth-child(1) a { transition-delay: .18s; }
.mmenu__list li:nth-child(2) a { transition-delay: .24s; }
.mmenu__list li:nth-child(3) a { transition-delay: .30s; }
.mmenu__list li:nth-child(4) a { transition-delay: .36s; }
.mmenu__list li:nth-child(5) a { transition-delay: .42s; }
.mmenu__list li:nth-child(6) a { transition-delay: .48s; }
.mmenu__svc {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0 0;
  padding: 0;
  opacity: 0;
  transition: opacity .6s .5s;
}
.menu-open .mmenu__svc { opacity: 1; }
.mmenu__svc a {
  display: inline-flex;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--paper);
  font-size: .9rem;
  font-weight: 500;
  text-decoration: none;
}
.mmenu__foot { display: grid; gap: 6px; font-weight: 600; }
.mmenu__foot a { text-decoration: none; }

/* ---------------------------------------------------------------- hero */

.hero {
  position: relative;
  padding: clamp(124px, 15vh, 172px) 0 clamp(56px, 8vw, 104px);
  overflow: clip;
}
.hero--home { min-height: min(100svh, 1000px); display: flex; align-items: center; }

.hero__dots,
.hero__spot { position: absolute; inset: 0; pointer-events: none; }
.hero__dots {
  background-image: radial-gradient(circle, #C2C9D6 1.15px, transparent 1.45px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse 75% 70% at 72% 46%, #000 15%, transparent 72%);
  mask-image: radial-gradient(ellipse 75% 70% at 72% 46%, #000 15%, transparent 72%);
}
.hero__spot {
  background-image: radial-gradient(circle, var(--orange) 1.5px, transparent 1.8px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(circle 200px at var(--mx, -400px) var(--my, -400px), #000, transparent);
  mask-image: radial-gradient(circle 200px at var(--mx, -400px) var(--my, -400px), #000, transparent);
  opacity: .6;
}

.hero__inner {
  position: relative;
  z-index: var(--z-content);
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  gap: clamp(32px, 5vw, 84px);
  align-items: center;
  width: min(100% - 2 * var(--gutter), var(--maxw));
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 7px 15px 7px 11px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  font-size: .88rem;
  font-weight: 500;
}
.status__dot {
  position: relative;
  width: 10px; height: 10px;
  flex: none;
  border-radius: 50%;
  background: var(--mint);
}
.status__dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: inherit;
  animation: pingDot 1.8s var(--ease-out) infinite;
}
.status__dot--orange { background: var(--orange); }
@keyframes pingDot { from { transform: scale(1); opacity: .7; } to { transform: scale(2.8); opacity: 0; } }

.hero__title {
  margin: 22px 0 26px;
  font-size: clamp(2.75rem, 1.45rem + 5.3vw, 6.4rem);
  font-weight: 700;
  font-stretch: 88%;
  line-height: .98;
  letter-spacing: -.028em;
}
.hero__title--svc { font-size: clamp(2.6rem, 1.5rem + 4.4vw, 5.6rem); margin-top: 18px; }
.page-legal .hero__title { font-size: clamp(2.6rem, 1.5rem + 4.2vw, 5.2rem); }

.w {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding: .08em .03em .12em;
  margin: -.08em -.03em -.12em;
}
.wi { display: inline-block; }

.w--pill { vertical-align: middle; padding: .12em .06em; margin: -.12em -.02em; }
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.6em;
  height: .78em;
  border-radius: 999px;
  border: .05em solid var(--ink);
  overflow: hidden;
  translate: 0 -.06em;
}
.pill svg { width: 100%; height: 100%; display: block; }
.pill--peri { background: var(--peri-tint); }
.pill--orange { background: var(--orange); }

.hero__sub {
  max-width: 30ch;
  margin: 0 0 16px;
  font-family: var(--f-display);
  font-size: clamp(1.3rem, 1rem + 1.05vw, 1.85rem);
  font-weight: 600;
  letter-spacing: -.025em;
  line-height: 1.2;
}
.hero__lead {
  max-width: 56ch;
  color: var(--ink-2);
  font-size: clamp(1.05rem, .98rem + .3vw, 1.22rem);
  line-height: 1.6;
}
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.proof { display: flex; align-items: center; gap: 14px; margin-top: 36px; color: var(--ink-2); font-size: .95rem; }
.proof p { margin: 0; }
.proof strong { color: var(--ink); }
.proof__faces { display: flex; }
.proof__faces .face { border: 3px solid var(--paper); animation: faceBob 3.2s ease-in-out infinite; }
.proof__faces .face + .face { margin-left: -12px; }
.proof__faces .face:nth-child(2) { animation-delay: -.6s; }
.proof__faces .face:nth-child(3) { animation-delay: -1.2s; }
@keyframes faceBob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -4px; } }

.face {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  flex: none;
  border-radius: 50%;
  font: 700 .85rem/1 var(--f-display);
  letter-spacing: 0;
}
.face--peri { background: var(--peri); color: #fff; }
.face--orange { background: var(--orange); color: var(--ink); }
.face--mint { background: var(--mint); color: var(--ink); }

.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: .9rem;
  color: var(--ink-3);
}
.crumbs li { display: flex; align-items: center; gap: 8px; }
.crumbs li + li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--orange); }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* lens + floating bits */
.hero__visual { position: relative; display: grid; place-items: center; }
.lens-wrap { position: relative; width: min(100%, 560px); aspect-ratio: 1; }
.lens-wrap::before {
  content: "";
  position: absolute;
  inset: 14% 6% -6%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(79, 91, 255, .2), transparent);
}
.lens { display: block; width: 100%; height: 100%; overflow: visible; }
.hero__visual--sm .lens-wrap { width: min(100%, 360px); }

.tag {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 15px 9px 12px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  font-size: .84rem;
  font-weight: 600;
  white-space: nowrap;
  animation: tagFloat 6s ease-in-out infinite;
}
.tag--a { top: 10%; left: -5%; }
.tag--b { top: 47%; right: -7%; animation-delay: -2s; }
.tag--c { bottom: 7%; right: 8%; animation-delay: -4s; }
.tag__dot { width: 9px; height: 9px; border-radius: 50%; }
.tag__dot--orange { background: var(--orange); }
.tag__dot--peri { background: var(--peri); }
.tag__dot--mint { background: var(--mint); }
@keyframes tagFloat { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }

.badge {
  position: absolute;
  left: -3%;
  bottom: 1%;
  z-index: 3;
  display: grid;
  place-items: center;
  width: clamp(104px, 10.5vw, 140px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 18px 40px -18px rgba(15, 23, 41, .6);
}
.badge__text { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 16s linear infinite; }
.badge__text text { font: 600 14.5px/1 var(--f-body); fill: #fff; letter-spacing: .02em; }
.badge__core {
  display: grid;
  place-items: center;
  width: 44%; height: 44%;
  border-radius: 50%;
  background: var(--orange);
  color: var(--ink);
  transition: scale .5s var(--ease-out), background-color .3s;
}
.badge__core svg { width: 46%; height: 46%; rotate: -45deg; transition: rotate .6s var(--ease-out); }
.badge:hover .badge__core { scale: 1.12; background: #fff; }
.badge:hover .badge__core svg { rotate: 0deg; }

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 26px;
  z-index: 3;
  width: 28px; height: 44px;
  margin-left: -14px;
  border: 2px solid var(--ink);
  border-radius: 16px;
}
.scroll-cue span {
  position: absolute;
  left: 50%; top: 8px;
  width: 4px; height: 8px;
  margin-left: -2px;
  border-radius: 2px;
  background: var(--orange);
  animation: cue 1.8s var(--ease-io) infinite;
}
@keyframes cue { 0% { translate: 0 0; opacity: 0; } 30% { opacity: 1; } 80%, 100% { translate: 0 16px; opacity: 0; } }

/* ---------------------------------------------------------------- decorative sparks */

.spark {
  position: absolute;
  left: var(--x);
  top: var(--y);
  z-index: var(--z-decor);
  width: var(--s);
  height: var(--s);
  pointer-events: none;
}
.spark svg { display: block; width: 100%; height: 100%; overflow: visible; }
.spark__in { display: block; width: 100%; height: 100%; }
.m-float { animation: sparkFloat 6.5s ease-in-out infinite var(--d, 0s); }
.m-spin { animation: spin 14s linear infinite var(--d, 0s); }
@keyframes sparkFloat {
  0%, 100% { transform: translateY(0) rotate(0); }
  50% { transform: translateY(-14px) rotate(10deg); }
}

/* ---------------------------------------------------------------- ribbons + marquees */

.ribbons {
  position: relative;
  z-index: 3;
  height: clamp(150px, 15vw, 210px);
  margin-top: -24px;
  overflow: clip;
}
.ribbon {
  position: absolute;
  left: -4%; right: -4%;
  top: 50%;
  padding: 14px 0;
  border-block: 2px solid var(--ink);
}
.ribbon--orange { background: var(--orange); color: var(--ink); transform: translateY(-50%) rotate(-3deg); }
.ribbon--peri { background: var(--peri); color: #fff; transform: translateY(-50%) rotate(2.2deg); }

.marquee { display: flex; overflow: hidden; }
.marquee__track {
  display: flex;
  align-items: center;
  flex: none;
  gap: 28px;
  padding-right: 28px;
  animation: marquee 40s linear infinite;
}
.marquee--rev .marquee__track { animation-direction: reverse; }
@keyframes marquee { to { transform: translateX(-50%); } }

.mq__item {
  font-family: var(--f-display);
  font-size: clamp(1.35rem, 1rem + 1.3vw, 2.15rem);
  font-weight: 700;
  font-stretch: 90%;
  letter-spacing: -.025em;
  white-space: nowrap;
}
.mq__star { display: block; width: 26px; height: 26px; animation: spin 7s linear infinite; }

/* ---------------------------------------------------------------- sections */

.section { position: relative; padding-block: clamp(84px, 11vw, 150px); }
.section > .container, .ftr > .container, .values__panel > *:not(.spark), .cta > *:not(.spark):not(.cta__deco) { position: relative; z-index: var(--z-content); }

.sh {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
  gap: 22px 64px;
  align-items: end;
  margin-bottom: clamp(40px, 5vw, 72px);
}
.sh--tight { margin-bottom: 36px; }
.sh__p { max-width: 46ch; margin: 0; color: var(--ink-2); font-size: 1.08rem; }

/* services grid */
.svc-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 22px); }
.svc-grid > :nth-child(1), .svc-grid > :nth-child(4) { grid-column: span 7; }
.svc-grid > :nth-child(2), .svc-grid > :nth-child(3) { grid-column: span 5; }
.svc-grid > :nth-child(5) { grid-column: span 12; flex-direction: row; align-items: stretch; }
.svc-grid > :nth-child(5) .svc-card__media { flex: 0 0 48%; height: auto; min-height: 300px; }
.svc-grid > :nth-child(5) .svc-card__body { justify-content: center; padding: 30px clamp(20px, 3vw, 44px) 24px; }
.svc-grid > :nth-child(5) .chips { margin-top: 4px; }

.svc-card__flag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  margin-bottom: 14px;
  padding: 6px 12px 6px 10px;
  border-radius: 999px;
  background: var(--mint-tint);
  color: var(--mint-ink);
  font-size: .82rem;
  font-weight: 600;
}
.svc-card__flag i { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); animation: pulseRing 2s ease-out infinite; }

.svc-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 12px;
  border-radius: var(--r-lg);
  background: #fff;
  border: 1px solid var(--line);
  text-decoration: none;
  color: var(--ink);
  overflow: hidden;
  isolation: isolate;
  cursor: pointer;
  transition: translate .7s var(--ease-out), box-shadow .7s var(--ease-out), border-color .3s;
}
.svc-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(460px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 88, 33, .10), transparent 62%);
  opacity: 0;
  transition: opacity .4s;
}
.svc-card:hover { translate: 0 -6px; box-shadow: var(--shadow-lift); border-color: var(--line-2); }
.svc-card:hover::after { opacity: 1; }

.svc-card__media {
  position: relative;
  display: grid;
  place-items: center;
  height: clamp(220px, 22vw, 320px);
  border-radius: calc(var(--r-lg) - 8px);
  overflow: hidden;
}
.svc-card--peri .svc-card__media { background: var(--peri-tint); }
.svc-card--orange .svc-card__media { background: var(--orange-tint); }
.svc-card--mint .svc-card__media { background: var(--mint-tint); }
.svc-card__media .mini { width: 100%; height: 100%; display: block; transition: scale 1s var(--ease-out); }
.svc-card:hover .mini { scale: 1.06; }

.svc-card__body { display: flex; flex-direction: column; flex: 1; padding: 22px 14px 12px; }
.svc-card__title {
  margin-bottom: 12px;
  font-size: clamp(1.5rem, 1.1rem + 1vw, 2.05rem);
  font-stretch: 92%;
  letter-spacing: -.02em;
  line-height: 1.04;
}
.svc-card__body p { max-width: 52ch; margin: 0 0 20px; color: var(--ink-2); }

.svc-card__go {
  position: absolute;
  top: 24px; right: 24px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: #fff;
  border: 1.5px solid var(--ink);
  transition: background-color .3s;
}
.svc-card__go svg { width: 22px; height: 22px; rotate: -45deg; transition: rotate .6s var(--ease-out); }
.svc-card:hover .svc-card__go { background: var(--orange); }
.svc-card:hover .svc-card__go svg { rotate: 0deg; }

.svc-card--compact .svc-card__media { height: clamp(180px, 15vw, 220px); }
.svc-card--compact .svc-card__title { font-size: clamp(1.3rem, 1.05rem + .6vw, 1.6rem); }
.svc-card--compact .svc-card__body p { margin: 0; font-size: .97rem; }
.svc-card--compact .svc-card__go { width: 46px; height: 46px; top: 20px; right: 20px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: auto 0 0; padding: 0; }
.chips li {
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--paper);
  border: 1px solid var(--line);
  font-size: .82rem;
  font-weight: 500;
}
.chips--sm { margin-top: 26px; }

/* approach */
.approach { background: #fff; border-radius: var(--r-xl) var(--r-xl) 0 0; }

.stage-tabs {
  position: relative;
  display: inline-flex;
  max-width: 100%;
  margin-bottom: 44px;
  padding: 6px;
  border-radius: 999px;
  background: var(--paper);
  border: 1px solid var(--line);
}
.stage-tabs__ind {
  position: absolute;
  top: 6px; left: 0;
  width: 0; height: 50px;
  border-radius: 999px;
  background: var(--ink);
  transition: transform .6s var(--ease-out), width .6s var(--ease-out);
}
.stage-tabs__btn {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 50px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  background: none;
  font-weight: 600;
  color: var(--ink-2);
  cursor: pointer;
  transition: color .35s;
}
.stage-tabs__btn .ico { width: 20px; height: 20px; }
.stage-tabs__btn:hover { color: var(--ink); }
.stage-tabs__btn[aria-selected="true"] { color: #fff; }
.stage-tabs__btn[aria-selected="true"] .ico * { animation: draw .9s var(--ease-out); }

.stage__lead {
  max-width: 34ch;
  margin-bottom: 48px;
  font-family: var(--f-display);
  font-size: clamp(1.35rem, 1rem + 1vw, 1.9rem);
  font-weight: 500;
  letter-spacing: -.025em;
  line-height: 1.2;
}

.steps-wrap { position: relative; }
.steps {
  --gap: 28px;
  position: relative;
  display: grid;
  grid-template-columns: repeat(var(--n), minmax(0, 1fr));
  gap: var(--gap);
  list-style: none;
  margin: 0;
  padding: 0;
}
.steps__line {
  position: absolute;
  top: 28px;
  left: 28px;
  width: calc(100% - (100% - (var(--n, 4) - 1) * 28px) / var(--n, 4));
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--line-2) 0 6px, transparent 6px 12px);
}
.steps__line span {
  position: absolute;
  inset: 0;
  background: var(--orange);
  transform-origin: left;
  transform: scaleX(var(--prog, 0));
}
.step__num {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 56px; height: 56px;
  margin-bottom: 24px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--ink);
  font: 700 1.25rem/1 var(--f-display);
  transition: background-color .45s, scale .45s var(--ease-out);
}
.step.is-on .step__num { background: var(--orange); scale: 1.06; }
.step__title { margin-bottom: 10px; font-size: 1.38rem; letter-spacing: -.025em; }
.step p { margin: 0; color: var(--ink-2); font-size: .98rem; }

/* values */
.values { background: #fff; padding-top: 0; border-radius: 0 0 var(--r-xl) var(--r-xl); }
.values__panel {
  position: relative;
  padding: clamp(36px, 6vw, 84px);
  border-radius: var(--r-xl);
  background: var(--peri-tint);
  overflow: hidden;
}
.values__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 3.5vw, 56px);
  margin-top: clamp(36px, 4.5vw, 64px);
}
.vico { display: block; width: 100px; height: 100px; margin-bottom: 22px; }
.value__title { margin-bottom: 10px; font-size: 1.5rem; letter-spacing: -.03em; }
.value p { margin: 0; color: var(--ink-2); }

/* testimonials */
.testi__grid {
  display: grid;
  grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr);
  gap: clamp(32px, 5vw, 84px);
  align-items: start;
}
.testi__side .sh__p { margin-top: 20px; }
.testi__nav { display: flex; align-items: center; gap: 16px; margin-top: 36px; }
.circ {
  display: grid;
  place-items: center;
  width: 56px; height: 56px;
  border-radius: 50%;
  border: 1.5px solid var(--ink);
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  transition: background-color .3s, color .3s, scale .3s var(--ease-out);
}
.circ:hover { background: var(--ink); color: #fff; }
.circ:active { scale: .92; }
.circ svg { width: 22px; height: 22px; }
.testi__count { font-weight: 600; font-variant-numeric: tabular-nums; color: var(--ink-2); }
.testi__count b { color: var(--ink); }
.testi__bar { max-width: 270px; height: 3px; margin-top: 22px; border-radius: 3px; background: var(--line); overflow: hidden; }
.testi__bar span { display: block; height: 100%; background: var(--orange); transform-origin: left; transform: scaleX(0); }

.testi__stage {
  position: relative;
  padding: clamp(28px, 4.5vw, 64px);
  border-radius: var(--r-xl);
  background: #fff;
  border: 1px solid var(--line);
}
.testi__slides { display: grid; }
.quote { grid-area: 1 / 1; margin: 0; }
.quote:not(.is-active):not(.is-leaving) { visibility: hidden; }
.quote blockquote { margin: 0 0 32px; }
.quote blockquote p {
  margin: 0;
  font-family: var(--f-display);
  font-size: clamp(1.2rem, .98rem + .85vw, 1.7rem);
  font-weight: 500;
  line-height: 1.34;
  letter-spacing: -.02em;
}
.quote figcaption { display: flex; align-items: center; gap: 14px; }
.quote__who strong { display: block; line-height: 1.3; }
.quote__who small { color: var(--ink-3); font-size: .9rem; }

.qmark { display: block; width: 76px; height: 57px; margin-bottom: 26px; overflow: visible; }
.qmark__a, .qmark__b { animation: qbounce 2.8s var(--ease-io) infinite; }
.qmark__b { animation-delay: -.5s; }
@keyframes qbounce { 0%, 100% { translate: 0 0; } 50% { translate: 0 -7px; } }

.clients { margin-top: clamp(64px, 8vw, 110px); }
.clients__label { margin-bottom: 18px; color: var(--ink-3); font-size: .95rem; }
.marquee--clients .marquee__track { gap: 36px; padding-right: 36px; animation-duration: 48s; }
.client {
  font-family: var(--f-display);
  font-size: clamp(1.6rem, 1.15rem + 1.7vw, 2.9rem);
  font-weight: 700;
  font-stretch: 90%;
  letter-spacing: -.03em;
  color: var(--ink);
  opacity: .32;
  white-space: nowrap;
}

/* about */
.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: clamp(40px, 6vw, 100px);
  align-items: center;
}
.about__copy .h2 { margin-bottom: 28px; }
.about__copy p { max-width: 56ch; color: var(--ink-2); font-size: 1.08rem; }
.about__copy .link-arrow { margin-top: 10px; }

.origin {
  position: relative;
  list-style: none;
  margin: 0;
  padding: clamp(28px, 4vw, 44px) clamp(24px, 4vw, 44px) clamp(28px, 4vw, 44px) calc(clamp(24px, 4vw, 44px) + 44px);
  border-radius: var(--r-lg);
  background: #fff;
  border: 1px solid var(--line);
}
.origin__item { position: relative; padding-bottom: 30px; }
.origin__item:nth-last-child(2) { padding-bottom: 0; }
.origin__item h3 { margin-bottom: 6px; font-size: 1.28rem; letter-spacing: -.02em; }
.origin__item p { margin: 0; color: var(--ink-2); font-size: .98rem; }
.origin__node {
  position: absolute;
  left: -44px; top: 1px;
  z-index: 1;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--ink);
}
.origin__node::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: var(--line-2);
  transition: background-color .4s, scale .4s var(--ease-out);
}
.origin__item.is-on .origin__node::after { background: var(--orange); scale: 1.15; }
.origin__rail {
  position: absolute;
  top: calc(clamp(28px, 4vw, 44px) + 14px);
  bottom: calc(clamp(28px, 4vw, 44px) + 40px);
  left: calc(clamp(24px, 4vw, 44px) + 11px);
  width: 2px;
  background: repeating-linear-gradient(var(--line-2) 0 5px, transparent 5px 10px);
}
.origin__rail span { position: absolute; inset: 0; background: var(--orange); transform-origin: top; transform: scaleY(0); }

/* cta */
.cta-sec { padding-top: clamp(40px, 6vw, 80px); }
.cta {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
  gap: 40px;
  align-items: center;
  padding: clamp(36px, 6vw, 90px);
  border-radius: var(--r-xl);
  background: var(--orange);
  border: 2px solid var(--ink);
  overflow: hidden;
  isolation: isolate;
}
.cta__deco { position: absolute; z-index: -1; border-radius: 50%; pointer-events: none; }
.cta__deco--a { width: 560px; height: 560px; right: -180px; top: -240px; border: 2px dashed rgba(15, 23, 41, .28); animation: spin 70s linear infinite; }
.cta__deco--b { width: 320px; height: 320px; left: -130px; bottom: -190px; background: var(--orange-2); animation: sparkFloat 9s ease-in-out infinite; }
.cta__title {
  margin-bottom: 22px;
  font-size: clamp(2.4rem, 1.35rem + 4vw, 5.1rem);
  font-stretch: 90%;
  letter-spacing: -.028em;
  line-height: .98;
  text-wrap: balance;
}
.cta__text { max-width: 46ch; font-size: 1.12rem; color: var(--ink); }
.cta__btns { margin-top: 30px; }
.cta__links { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 26px; }
.cta__link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; color: var(--ink); }
.cta__link .ico { width: 20px; height: 20px; }
.cta__link span { background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat; transition: background-size .45s var(--ease-out); }
.cta__link:hover span { background-size: 100% 2px; }
.cta__cal .cal { display: block; width: 100%; max-width: 360px; margin-inline: auto; rotate: 3deg; }

/* footer */
.ftr { position: relative; padding-top: clamp(64px, 8vw, 112px); background: #fff; border-top: 1px solid var(--line); overflow: clip; }
.ftr__top { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 2fr); gap: 48px; }
.ftr__tag {
  max-width: 15ch;
  margin-bottom: 28px;
  font-family: var(--f-display);
  font-size: clamp(1.7rem, 1.2rem + 1.5vw, 2.5rem);
  font-weight: 700;
  font-stretch: 90%;
  letter-spacing: -.03em;
  line-height: 1.04;
}
.ftr__cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.ftr__h { margin-bottom: 16px; font-family: var(--f-body); font-size: .86rem; font-weight: 600; letter-spacing: 0; color: var(--ink-3); }
.ftr__cols ul { display: grid; gap: 10px; list-style: none; margin: 0; padding: 0; }
.ftr__cols a, .ftr__cols .linkbtn {
  padding-bottom: 2px;
  font-size: .96rem;
  text-decoration: none;
  color: var(--ink);
  background: linear-gradient(var(--orange), var(--orange)) 0 100% / 0 2px no-repeat;
  transition: background-size .4s var(--ease-out);
  overflow-wrap: anywhere;
}
.ftr__cols a:hover, .ftr__cols .linkbtn:hover { background-size: 100% 2px; }
.ftr__addr { color: var(--ink-2); font-size: .96rem; }

.ftr__word {
  display: flex;
  justify-content: center;
  margin-top: clamp(48px, 7vw, 96px);
  font-family: var(--f-display);
  font-size: clamp(3rem, 14.5vw, 17rem); /* JS fits it to the container width */
  font-weight: 700;
  font-stretch: 86%;
  letter-spacing: -.035em;
  line-height: .84;
  white-space: nowrap;
  user-select: none;
  color: var(--ink);
  overflow: hidden;
  padding-bottom: .06em;
}
.ftr__word span { display: inline-block; flex: none; transition: translate .6s var(--ease-out), rotate .6s var(--ease-out), color .3s; }
.ftr__word span:hover { translate: 0 -8%; rotate: -5deg; color: var(--orange); }
.ftr__word .sp { width: .22em; }

.ftr__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
  padding: 22px 0 26px;
  border-top: 1px solid var(--line);
  font-size: .88rem;
  color: var(--ink-2);
}
.ftr__bottom p { margin: 0; }
.clock { display: inline-flex; align-items: center; gap: 8px; }
time { font-variant-numeric: tabular-nums; font-weight: 600; color: var(--ink); }
.clock__colon { animation: blinkColon 1s steps(1, end) infinite; }
@keyframes blinkColon { 50% { opacity: .2; } }
.clock__pulse {
  width: 8px; height: 8px;
  flex: none;
  border-radius: 50%;
  background: var(--mint);
  animation: pulseRing 2s ease-out infinite;
}
@keyframes pulseRing {
  0% { box-shadow: 0 0 0 0 rgba(18, 183, 106, .55); }
  100% { box-shadow: 0 0 0 10px rgba(18, 183, 106, 0); }
}

.totop {
  display: grid;
  place-items: center;
  width: 54px; height: 54px;
  flex: none;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--paper);
  cursor: pointer;
  transition: background-color .3s;
}
.totop:hover { background: var(--orange-tint); }
.totop svg { width: 100%; height: 100%; display: block; }
.totop__track, .totop__bar { fill: none; stroke-width: 2.5; transform-box: fill-box; transform-origin: center; rotate: -90deg; }
.totop__track { stroke: var(--line); }
.totop__bar { stroke: var(--orange); stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--p, 0)); }
.totop__arrow { fill: none; stroke: var(--ink); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: translate .4s var(--ease-out); }
.totop:hover .totop__arrow { translate: 0 -3px; }

/* cookie banner */
.cookie {
  position: fixed;
  left: 16px; bottom: 16px;
  z-index: var(--z-cookie);
  width: min(420px, calc(100% - 32px));
  padding: 20px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 26px 64px -22px rgba(15, 23, 41, .4);
}
.cookie[hidden] { display: none; }
.cookie__head { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.cookie__ill svg { display: block; width: 42px; height: 42px; overflow: visible; }
.cookie__spin { transform-box: fill-box; transform-origin: center; animation: wobble 3.6s ease-in-out infinite; }
@keyframes wobble { 0%, 100% { rotate: -8deg; } 50% { rotate: 10deg; } }
.cookie__title { margin: 0; font-family: var(--f-display); font-size: 1.16rem; font-weight: 700; letter-spacing: -.02em; }
.cookie__text { margin-bottom: 14px; font-size: .92rem; color: var(--ink-2); }
.cookie__text a { color: var(--ink); }
.cookie__prefs { display: grid; gap: 12px; margin-bottom: 16px; padding: 14px; border-radius: 16px; background: var(--paper); }
.cookie__prefs[hidden] { display: none; }
.cookie__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.cookie__actions .linkbtn { margin-left: 4px; font-size: .92rem; font-weight: 600; }

.switch { position: relative; display: flex; align-items: flex-start; gap: 12px; font-size: .9rem; cursor: pointer; }
.switch input { position: absolute; width: 44px; height: 26px; margin: 0; opacity: 0; cursor: pointer; }
.switch input:disabled { cursor: not-allowed; }
.switch__ui { position: relative; width: 44px; height: 26px; flex: none; border-radius: 999px; background: var(--line-2); transition: background-color .3s; }
.switch__ui::after {
  content: "";
  position: absolute;
  top: 3px; left: 3px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(15, 23, 41, .25);
  transition: translate .4s var(--ease-out);
}
.switch input:checked + .switch__ui { background: var(--orange); }
.switch input:checked + .switch__ui::after { translate: 18px 0; }
.switch input:disabled + .switch__ui { opacity: .6; }
.switch input:focus-visible + .switch__ui { outline: 3px solid var(--peri); outline-offset: 2px; }
.switch strong { display: block; line-height: 1.3; }
.switch small { color: var(--ink-3); }

/* ---------------------------------------------------------------- service page */

.facts { padding-bottom: 0; }
.facts__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  border-radius: var(--r-lg);
  background: #fff;
  border: 1px solid var(--line);
  overflow: hidden;
}
.fact { padding: 26px 28px; border-left: 1px solid var(--line); }
.fact:first-child { border-left: 0; }
.fact dt { margin-bottom: 6px; font-size: .86rem; color: var(--ink-3); }
.fact dd { margin: 0; font-family: var(--f-display); font-size: 1.14rem; font-weight: 600; letter-spacing: -.015em; line-height: 1.3; }

.feat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.feat { position: relative; padding: 34px 28px 38px 0; border-bottom: 1px solid var(--line); }
.feat:not(:nth-child(3n + 1)) { padding-left: 28px; border-left: 1px solid var(--line); }
.feat__ico {
  display: grid;
  place-items: center;
  width: 58px; height: 58px;
  margin-bottom: 22px;
  border-radius: 17px;
  background: var(--peri-tint);
  color: var(--peri-ink);
  transition: rotate .6s var(--ease-out), scale .6s var(--ease-out), background-color .3s;
}
.feat:nth-child(even) .feat__ico { background: var(--orange-tint); color: var(--orange-ink); }
.feat__ico .ico { width: 28px; height: 28px; }
.feat:hover .feat__ico { rotate: -8deg; scale: 1.07; }
.feat:hover .ico * { animation: draw 1s var(--ease-out); }
.feat__title { margin-bottom: 8px; font-size: 1.3rem; letter-spacing: -.025em; }
.feat p { margin: 0; color: var(--ink-2); font-size: .98rem; }

.who-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.who-card {
  padding: 32px 30px 34px;
  border-radius: var(--r-md);
  background: #fff;
  border: 1px solid var(--line);
  transition: box-shadow .5s var(--ease-out), border-color .3s;
}
.who-card:hover { box-shadow: var(--shadow-lift); border-color: var(--line-2); }
.who-card__ico {
  display: grid;
  place-items: center;
  width: 54px; height: 54px;
  margin-bottom: 28px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
}
.who-card--0 .who-card__ico { background: var(--orange); color: var(--ink); }
.who-card--1 .who-card__ico { background: var(--peri); color: #fff; }
.who-card:hover .ico * { animation: draw 1s var(--ease-out); }
.who-card h3 { margin-bottom: 10px; font-size: 1.55rem; letter-spacing: -.03em; }
.who-card p { margin: 0; color: var(--ink-2); }

.process { margin-inline: clamp(0px, 1.4vw, 20px); border-radius: var(--r-xl); background: #fff; }
.process__grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(40px, 6vw, 100px); align-items: start; }
.process__side { position: sticky; top: 130px; }
.process__side .sh__p { margin-top: 22px; }
.process__meter { max-width: 320px; height: 6px; margin-top: 36px; border-radius: 6px; background: var(--paper-2); overflow: hidden; }
.process__meter span { display: block; height: 100%; background: var(--orange); transform-origin: left; transform: scaleX(0); }
.psteps { position: relative; list-style: none; margin: 0; padding: 0; }
.psteps__rail {
  position: absolute;
  left: 27px; top: 28px; bottom: 28px;
  width: 2px;
  background: repeating-linear-gradient(var(--line-2) 0 6px, transparent 6px 12px);
}
.psteps__rail span { position: absolute; inset: 0; background: var(--orange); transform-origin: top; transform: scaleY(0); }
.pstep { position: relative; display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 26px; padding-bottom: clamp(44px, 6vw, 76px); }
.pstep:last-child { padding-bottom: 0; }
.pstep__num {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--ink);
  font: 700 1.2rem/1 var(--f-display);
  transition: background-color .45s, scale .45s var(--ease-out);
}
.pstep.is-on .pstep__num { background: var(--orange); scale: 1.08; }
.pstep__title { margin: 10px 0; font-size: clamp(1.4rem, 1.1rem + .9vw, 1.95rem); letter-spacing: -.03em; }
.pstep p { max-width: 50ch; margin: 0; color: var(--ink-2); }

.bigquote { max-width: 1000px; margin: 0 auto; text-align: center; }
.bigquote .qmark { margin: 0 auto 30px; }
.bigquote blockquote { margin: 0 0 36px; }
.bigquote blockquote p {
  margin: 0;
  font-family: var(--f-display);
  font-size: clamp(1.7rem, 1.15rem + 2.3vw, 3.3rem);
  font-weight: 600;
  font-stretch: 92%;
  letter-spacing: -.03em;
  line-height: 1.1;
  text-wrap: balance;
}
.bigquote figcaption { display: inline-flex; align-items: center; gap: 14px; text-align: left; }

.faq__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 84px); align-items: start; }
.faq__grid .sh__p { margin-top: 22px; }
.faq__grid .sh__p a { color: var(--ink); font-weight: 600; }
.faq__item { border-bottom: 1px solid var(--line-2); }
.faq__item:first-child { border-top: 1px solid var(--line-2); }
.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
  list-style: none;
  cursor: pointer;
  font-family: var(--f-display);
  font-size: clamp(1.1rem, 1rem + .45vw, 1.35rem);
  font-weight: 600;
  letter-spacing: -.02em;
  line-height: 1.3;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__ico {
  position: relative;
  width: 42px; height: 42px;
  flex: none;
  border-radius: 50%;
  border: 1.5px solid var(--ink);
  transition: background-color .3s, rotate .6s var(--ease-out);
}
.faq__ico::before, .faq__ico::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 14px; height: 2px;
  margin: -1px 0 0 -7px;
  border-radius: 2px;
  background: var(--ink);
  transition: rotate .5s var(--ease-out);
}
.faq__ico::after { rotate: 90deg; }
.faq__item summary:hover .faq__ico { background: var(--orange-tint); }
.faq__item[open]:not(.is-closing) .faq__ico { background: var(--orange); rotate: 180deg; }
.faq__item[open]:not(.is-closing) .faq__ico::after { rotate: 0deg; }
.faq__a { overflow: hidden; }
.faq__a p { max-width: 62ch; margin: 0; padding-bottom: 26px; color: var(--ink-2); }

.more-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }

/* ---------------------------------------------------------------- contact */

.ccards { display: grid; gap: 12px; max-width: 580px; margin-top: 34px; }
.ccard {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  grid-template-rows: auto auto;
  column-gap: 16px;
  align-items: center;
  padding: 14px 16px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--line);
  transition: translate .5s var(--ease-out), box-shadow .5s var(--ease-out), border-color .3s;
}
.ccard:hover { translate: 6px 0; box-shadow: var(--shadow-soft); border-color: var(--line-2); }
.ccard__ico { grid-row: 1 / 3; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; }
.ccard__ico--orange { background: var(--orange-tint); color: var(--orange-ink); }
.ccard__ico--peri { background: var(--peri-tint); color: var(--peri-ink); }
.ccard__ico--mint { background: var(--mint-tint); color: var(--mint-ink); }
.ccard:hover .ccard__ico .ico * { animation: draw .9s var(--ease-out); }
.ccard__label { grid-column: 2; font-size: .82rem; color: var(--ink-3); }
.ccard__val { grid-column: 2; font-size: 1.02rem; font-weight: 600; color: var(--ink); text-decoration: none; overflow-wrap: anywhere; }
a.ccard__val:hover { color: var(--orange-ink); }
.ccard__copy, .ccard__hint { grid-column: 3; grid-row: 1 / 3; }
.ccard__copy {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--paper);
  font-size: .85rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color .3s, border-color .3s;
}
.ccard__copy:hover { border-color: var(--ink); }
.ccard__copy .ico { width: 16px; height: 16px; }
.ccard__copy.is-done { background: var(--mint-tint); border-color: var(--mint); }
.ccard__hint { display: inline-flex; align-items: center; gap: 7px; font-size: .85rem; color: var(--ink-3); white-space: nowrap; }

.form-grid { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(36px, 5vw, 84px); align-items: start; }
.form-side { position: sticky; top: 130px; }
.form-side .sh__p { margin-top: 22px; }
.nsteps { display: grid; gap: 22px; list-style: none; margin: 40px 0 0; padding: 0; }
.nstep { display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 16px; }
.nstep__num {
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: #fff;
  border: 1.5px solid var(--ink);
  font: 700 1.05rem/1 var(--f-display);
}
.nstep:first-child .nstep__num { background: var(--orange); }
.nstep h3 { margin: 9px 0 4px; font-size: 1.16rem; letter-spacing: -.02em; }
.nstep p { margin: 0; color: var(--ink-2); font-size: .96rem; }

.form {
  position: relative;
  display: grid;
  gap: 22px;
  padding: clamp(24px, 4vw, 48px);
  border-radius: var(--r-xl);
  background: #fff;
  border: 1px solid var(--line);
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; align-content: start; }
.field label, .chips-field legend { font-size: .92rem; font-weight: 600; }
.opt { font-weight: 400; color: var(--ink-3); }
.field input, .field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid transparent;
  border-radius: 14px;
  background: var(--paper);
  color: var(--ink);
  font: 400 1rem/1.5 var(--f-body);
  outline: none;
  transition: border-color .25s, background-color .25s, box-shadow .25s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #8A93A5; }
.field input:hover, .field textarea:hover { border-color: var(--line-2); }
.field input:focus, .field textarea:focus { background: #fff; border-color: var(--ink); box-shadow: 0 0 0 4px var(--peri-tint); }
.field.has-err input, .field.has-err textarea { border-color: #D92D20; background: #FEF3F2; }
.field__err { font-size: .85rem; color: var(--danger); }
.field__err:empty { display: none; }

.chips-field { min-width: 0; margin: 0; padding: 0; border: 0; }
.chips-field legend { margin-bottom: 10px; padding: 0; }
.chip-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-opt { position: relative; cursor: pointer; }
.chip-opt input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.chip-opt span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: #fff;
  font-size: .92rem;
  font-weight: 500;
  transition: background-color .25s, color .25s, border-color .25s;
}
.chip-opt span::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--line-2);
  transition: background-color .25s, scale .35s var(--ease-out);
}
.chip-opt:hover span { border-color: var(--ink); }
.chip-opt input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip-opt input:checked + span::before { background: var(--orange); scale: 1.35; }
.chip-opt input:focus-visible + span { outline: 3px solid var(--peri); outline-offset: 2px; }

.consent { position: relative; display: flex; align-items: flex-start; gap: 12px; font-size: .92rem; color: var(--ink-2); cursor: pointer; }
.consent input { position: absolute; width: 22px; height: 22px; margin: 0; opacity: 0; cursor: pointer; }
.consent a { color: var(--ink); }
.consent__box {
  display: grid;
  place-items: center;
  width: 22px; height: 22px;
  flex: none;
  margin-top: 1px;
  border-radius: 7px;
  border: 1.5px solid var(--ink);
  background: #fff;
  transition: background-color .25s;
}
.consent__box::after {
  content: "";
  width: 10px; height: 5px;
  margin-top: -3px;
  border-left: 2.5px solid var(--ink);
  border-bottom: 2.5px solid var(--ink);
  rotate: -45deg;
  scale: 0;
  transition: scale .35s var(--ease-out);
}
.consent input:checked + .consent__box { background: var(--orange); }
.consent input:checked + .consent__box::after { scale: 1; }
.consent input:focus-visible + .consent__box { outline: 3px solid var(--peri); outline-offset: 2px; }

.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 22px; }
.form__note { max-width: 36ch; margin: 0; font-size: .86rem; color: var(--ink-3); }
.form__send { padding-right: 30px; }
.form__plane { width: 22px; height: 22px; transition: translate .5s var(--ease-out), rotate .5s var(--ease-out); }
.form__send:hover .form__plane { translate: 4px -4px; rotate: 8deg; }
.form.is-sending .form__plane { animation: planeOff .9s var(--ease-io) forwards; }
@keyframes planeOff {
  0% { transform: none; opacity: 1; }
  35% { transform: translate(-6px, 6px); }
  100% { transform: translate(180px, -140px) rotate(20deg); opacity: 0; }
}
.form__ok {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 40px;
  border-radius: inherit;
  background: #fff;
  text-align: center;
}
.form__ok[hidden] { display: none; }
.form__ok:focus { outline: none; }
.form__ok-ill { width: 100px; height: 100px; }
.ok-ring { transform-box: fill-box; transform-origin: center; }
.form__ok.is-on .ok-ring { animation: okPop .7s var(--ease-out) both; }
.ok-check { stroke-dasharray: 1; stroke-dashoffset: 1; }
.form__ok.is-on .ok-check { animation: drawIn .6s .35s var(--ease-out) forwards; }
@keyframes okPop { from { scale: 0; } 60% { scale: 1.12; } to { scale: 1; } }
@keyframes drawIn { to { stroke-dashoffset: 0; } }
.form__ok h3 { font-size: 1.7rem; letter-spacing: -.03em; }
.form__ok p { max-width: 46ch; margin: 0; color: var(--ink-2); }
.form__ok p a { color: var(--ink); font-weight: 600; }

/* ---------------------------------------------------------------- legal */

.hero--legal .hero__inner { grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); }
.updated { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-size: .9rem; color: var(--ink-3); }
.updated .ico { width: 18px; height: 18px; }
.legal { padding-top: clamp(24px, 3vw, 48px); }
.legal__grid { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.toc { position: sticky; top: 120px; }
.toc__title { margin-bottom: 14px; font-size: .9rem; font-weight: 600; color: var(--ink-3); }
.toc__wrap { position: relative; padding-left: 18px; border-left: 2px solid var(--line); }
.toc__ind {
  position: absolute;
  left: -2px; top: 0;
  width: 2px; height: 34px;
  background: var(--orange);
  transition: transform .5s var(--ease-out), height .5s var(--ease-out);
}
.toc__list { display: grid; gap: 2px; list-style: none; margin: 0; padding: 0; counter-reset: toc; }
.toc__list li { counter-increment: toc; }
.toc__list a {
  display: block;
  padding: 6px 0;
  font-size: .93rem;
  line-height: 1.4;
  color: var(--ink-2);
  text-decoration: none;
  transition: color .25s, translate .35s var(--ease-out);
}
.toc__list a::before { content: counter(toc) ". "; color: var(--ink-3); }
.toc__list a:hover { color: var(--ink); translate: 3px 0; }
.toc__list a.is-active { color: var(--ink); font-weight: 600; }

.prose {
  max-width: 820px;
  padding: clamp(28px, 5vw, 64px);
  border-radius: var(--r-xl);
  background: #fff;
  border: 1px solid var(--line);
}
.prose__sec + .prose__sec { margin-top: 30px; padding-top: 36px; border-top: 1px solid var(--line); }
.prose h2 {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  font-size: clamp(1.45rem, 1.15rem + 1vw, 2rem);
  letter-spacing: -.035em;
}
.prose__n {
  display: inline-grid;
  place-items: center;
  width: 36px; height: 36px;
  flex: none;
  border-radius: 50%;
  background: var(--orange-tint);
  color: var(--orange-ink);
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: 0;
}
.prose p, .prose li { color: var(--ink-2); }
.prose ul { margin: 0 0 1em; padding-left: 1.25em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--orange); }
.prose a { color: var(--peri-ink); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.prose strong { color: var(--ink); }
.prose .btn { margin-top: 4px; }

.kv { margin: 0 0 1em !important; padding: 0 !important; list-style: none; border-radius: 16px; border: 1px solid var(--line); overflow: hidden; }
.kv li { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 16px; margin: 0 !important; padding: 12px 18px; border-top: 1px solid var(--line); }
.kv li:first-child { border-top: 0; }
.kv li span:first-child { color: var(--ink-3); font-size: .92rem; }
.kv li span:last-child { color: var(--ink); overflow-wrap: anywhere; }

.table-wrap { margin: 0 0 1.2em; border-radius: 16px; border: 1px solid var(--line); overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: .94rem; }
th, td { padding: 12px 16px; text-align: left; vertical-align: top; border-top: 1px solid var(--line); }
thead th { border-top: 0; background: var(--paper); color: var(--ink); font-weight: 600; }
td { color: var(--ink-2); }
code { padding: 2px 6px; border-radius: 6px; background: var(--paper); color: var(--ink); font-family: var(--f-mono); font-size: .88em; }

/* ---------------------------------------------------------------- SVG illustration motion */

/* only classed (animated) nodes get a centred box; plain nodes keep their SVG transform attributes intact */
.ill [class] { transform-box: fill-box; transform-origin: center; }
.ill.is-paused * { animation-play-state: paused !important; }

@keyframes spin { to { transform: rotate(360deg); } }
.a-spin { animation: spin var(--t, 12s) linear infinite; }
.a-spin-r { animation: spin var(--t, 12s) linear infinite reverse; }

.a-float { animation: float var(--t, 5s) ease-in-out var(--d, 0s) infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

.a-blink { animation: blink var(--t, 1.6s) steps(1, end) var(--d, 0s) infinite; }
@keyframes blink { 50% { opacity: .15; } }

.a-pulse { animation: pulse var(--t, 2.4s) ease-in-out var(--d, 0s) infinite; }
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.12); } }

.a-ping { opacity: 0; animation: ping var(--t, 2.4s) cubic-bezier(.2, .6, .3, 1) var(--d, 0s) infinite; }
@keyframes ping { 0% { transform: scale(.5); opacity: 1; } 30% { transform: scale(2.4); opacity: 0; } 100% { opacity: 0; } }

.a-blip { animation: blip 5s ease-out var(--d, 0s) infinite; }
@keyframes blip { 0% { fill: #FF5821; transform: scale(1.5); } 20%, 100% { fill: #0F1729; transform: scale(1); } }

.a-flow { stroke-dasharray: 6 8; animation: flow var(--t, 1.2s) linear infinite; }
@keyframes flow { to { stroke-dashoffset: -28; } }

.a-twinkle { animation: twinkle var(--t, 3s) ease-in-out var(--d, 0s) infinite; }
@keyframes twinkle {
  0%, 100% { transform: scale(.55) rotate(0); opacity: .35; }
  50% { transform: scale(1) rotate(90deg); opacity: 1; }
}

.a-type {
  transform-origin: left center;
  animation-name: type;
  animation-duration: var(--t, 6s);
  animation-delay: var(--d, 0s);
  animation-timing-function: cubic-bezier(.6, 0, .2, 1);
  animation-iteration-count: infinite;
  animation-fill-mode: both;
}
@keyframes type {
  0% { transform: scaleX(0); opacity: 1; }
  12% { transform: scaleX(1); }
  80% { transform: scaleX(1); opacity: 1; }
  90%, 100% { transform: scaleX(1); opacity: 0; }
}

.a-sway { animation: sway 3.2s ease-in-out infinite; }
@keyframes sway { 0%, 100% { transform: rotate(-60deg); } 50% { transform: rotate(40deg); } }

.a-scan { animation: scan 2.6s ease-in-out infinite; }
@keyframes scan { 0%, 100% { transform: translateX(-16px); } 50% { transform: translateX(22px); } }

.a-bob { animation: bob 1.6s ease-in-out var(--d, 0s) infinite; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }

.a-drop { animation: drop 4.5s cubic-bezier(.55, 0, .45, 1) infinite; }
@keyframes drop {
  0% { transform: translateY(-170px); opacity: 0; }
  8% { transform: translateY(-170px); opacity: 1; animation-timing-function: cubic-bezier(.55, 0, 1, .45); }
  26% { transform: translateY(0); animation-timing-function: ease-out; }
  31% { transform: translateY(-12px); animation-timing-function: ease-in; }
  36% { transform: translateY(0); }
  82% { transform: translateY(0); opacity: 1; }
  92%, 100% { transform: translateY(0); opacity: 0; }
}

.a-popcheck { animation: popcheck 4.5s ease-out infinite; }
@keyframes popcheck {
  0%, 30% { transform: scale(0); }
  38% { transform: scale(1.2); }
  44%, 80% { transform: scale(1); }
  88%, 100% { transform: scale(0); }
}

.a-needle { animation: needle 7s ease-in-out infinite; }
@keyframes needle {
  0%, 100% { transform: rotate(-20deg); }
  25% { transform: rotate(35deg); }
  50% { transform: rotate(10deg); }
  75% { transform: rotate(70deg); }
}

.a-flag { transform-origin: left center; animation: flag 1.4s ease-in-out var(--d, 0s) infinite; }
@keyframes flag { 0%, 100% { transform: scaleX(1) skewY(0); } 50% { transform: scaleX(.8) skewY(7deg); } }

.a-kanban { animation: kanban 7s var(--ease-io) infinite; }
@keyframes kanban {
  0%, 10% { transform: translate(0, 0) rotate(0); opacity: 1; }
  16% { transform: translate(20px, -10px) rotate(-4deg); }
  24% { transform: translate(116px, -10px) rotate(3deg); }
  29%, 48% { transform: translate(116px, 0) rotate(0); }
  54% { transform: translate(136px, -10px) rotate(-4deg); }
  62% { transform: translate(232px, -10px) rotate(3deg); }
  67%, 86% { transform: translate(232px, 0) rotate(0); opacity: 1; }
  92% { transform: translate(232px, 0); opacity: 0; }
  96% { transform: translate(0, 0); opacity: 0; }
  100% { transform: translate(0, 0); opacity: 1; }
}
.a-kanban-mini { animation: kanbanMini 7s var(--ease-io) infinite; }
@keyframes kanbanMini {
  0%, 10% { transform: translate(0, 0) rotate(0); opacity: 1; }
  16% { transform: translate(14px, -8px) rotate(-4deg); }
  24% { transform: translate(88px, -8px) rotate(3deg); }
  29%, 48% { transform: translate(88px, 0) rotate(0); }
  54% { transform: translate(102px, -8px) rotate(-4deg); }
  62% { transform: translate(176px, -8px) rotate(3deg); }
  67%, 86% { transform: translate(176px, 0) rotate(0); opacity: 1; }
  92% { transform: translate(176px, 0); opacity: 0; }
  96% { transform: translate(0, 0); opacity: 0; }
  100% { transform: translate(0, 0); opacity: 1; }
}

.a-grow {
  transform-origin: left center;
  animation-name: grow;
  animation-duration: 7s;
  animation-delay: var(--d, 0s);
  animation-timing-function: cubic-bezier(.6, 0, .2, 1);
  animation-iteration-count: infinite;
  animation-fill-mode: both;
}
@keyframes grow {
  0% { transform: scaleX(0); opacity: 1; }
  14%, 84% { transform: scaleX(1); opacity: 1; }
  94%, 100% { transform: scaleX(1); opacity: 0; }
}
.a-today { animation: today 7s linear infinite; }
@keyframes today { from { transform: translateX(0); } to { transform: translateX(262px); } }

.a-pass {
  animation-name: pass;
  animation-duration: 6s;
  animation-delay: var(--d, 0s);
  animation-timing-function: ease-out;
  animation-iteration-count: infinite;
  animation-fill-mode: both;
}
@keyframes pass {
  0%, 8% { transform: scale(0); }
  14% { transform: scale(1.25); }
  18%, 84% { transform: scale(1); }
  92%, 100% { transform: scale(0); }
}

.a-letter { animation: letter 4s ease-in-out infinite; }
@keyframes letter { 0%, 100% { transform: translateY(12px); } 50% { transform: translateY(-22px); } }
.a-hop { animation: hop 1.2s ease-in-out var(--d, 0s) infinite; }
@keyframes hop { 0%, 60%, 100% { transform: translateY(0); } 30% { transform: translateY(-7px); } }
.a-wave { opacity: 0; animation: wave 1.8s ease-out var(--d, 0s) infinite; }
@keyframes wave { 0% { opacity: 0; transform: translateX(-6px); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateX(6px); } }
.a-pin { animation: pin 2.2s cubic-bezier(.5, 0, .5, 1) infinite; }
@keyframes pin { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
.a-shadow { animation: shadowPin 2.2s cubic-bezier(.5, 0, .5, 1) infinite; }
@keyframes shadowPin { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(.55); opacity: .5; } }
.a-scanline { animation: scanline 3s ease-in-out infinite; }
@keyframes scanline { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(205px); } }
.a-shackle { animation: shackle 3s ease-in-out infinite; }
@keyframes shackle { 0%, 40% { transform: translateY(-10px); } 55%, 90% { transform: translateY(0); } 100% { transform: translateY(-10px); } }
.a-crumb { opacity: 0; animation: crumb 2s ease-in var(--d, 0s) infinite; }
@keyframes crumb { 0% { transform: translate(0, 0) rotate(0); opacity: 0; } 15% { opacity: 1; } 100% { transform: translate(14px, 60px) rotate(120deg); opacity: 0; } }
.a-toggle { animation: toggle 3s ease-in-out var(--d, 0s) infinite; }
@keyframes toggle { 0%, 40% { transform: translateX(0); } 50%, 90% { transform: translateX(28px); } 100% { transform: translateX(0); } }
.a-sign { stroke-dasharray: 1; animation: sign 4s ease-in-out infinite; }
@keyframes sign {
  0% { stroke-dashoffset: 1; opacity: 1; }
  60%, 88% { stroke-dashoffset: 0; opacity: 1; }
  96% { stroke-dashoffset: 0; opacity: 0; }
  100% { stroke-dashoffset: 1; opacity: 0; }
}
.a-eye { animation: eyeBlink 4s ease-in-out infinite; }
@keyframes eyeBlink { 0%, 44%, 52%, 100% { transform: scaleY(1); } 48% { transform: scaleY(.08); } }
.a-look { animation: look 6s ease-in-out infinite; }
@keyframes look { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-10px); } 60% { transform: translateX(10px); } }
.a-rise { animation: rise 5s ease-in-out infinite; }
@keyframes rise { 0%, 100% { transform: translateY(10px); } 50% { transform: translateY(-6px); } }
.a-fill { transform-origin: left center; animation: fillbar 2.4s ease-in-out infinite; }
@keyframes fillbar { 0% { transform: scaleX(0); } 70%, 100% { transform: scaleX(1); } }

.a-cycle { opacity: 0; animation: cycle 6s linear var(--d, 0s) infinite; }
@keyframes cycle { 0%, 31% { opacity: 1; } 34%, 97% { opacity: 0; } 100% { opacity: 1; } }

.a-press { animation: press 2.75s ease-out var(--d, 0s) infinite; }
@keyframes press { 6% { transform: scale(.82); fill: #4F5BFF; } 16% { transform: scale(1); } }

.a-grow-y {
  transform-origin: center bottom;
  animation-name: growY;
  animation-duration: 5s;
  animation-delay: var(--d, 0s);
  animation-timing-function: cubic-bezier(.6, 0, .2, 1);
  animation-iteration-count: infinite;
  animation-fill-mode: both;
}
@keyframes growY { 0% { transform: scaleY(0); } 18%, 86% { transform: scaleY(1); opacity: 1; } 95%, 100% { transform: scaleY(1); opacity: 0; } }

.a-glow { animation: glow 1.8s ease-in-out infinite; }
@keyframes glow { 0%, 100% { opacity: .45; } 50% { opacity: 1; } }

.a-coin { animation: coin 3s cubic-bezier(.55, 0, .45, 1) infinite; }
@keyframes coin {
  0% { transform: translateY(-70px); opacity: 0; }
  12% { transform: translateY(-70px); opacity: 1; animation-timing-function: cubic-bezier(.55, 0, 1, .45); }
  34% { transform: translateY(0); animation-timing-function: ease-out; }
  40% { transform: translateY(-6px); }
  46%, 84% { transform: translateY(0); opacity: 1; }
  94%, 100% { transform: translateY(0); opacity: 0; }
}

/* calendar in the CTA */
.cal__cursor { animation: calCursor 5s var(--ease-io) infinite; }
@keyframes calCursor {
  0% { transform: translate(236px, 214px); }
  30% { transform: translate(168px, 150px); }
  36% { transform: translate(168px, 150px) scale(.85); }
  40%, 70% { transform: translate(168px, 150px) scale(1); }
  90%, 100% { transform: translate(236px, 214px); }
}
.cal__pick { opacity: 0; animation: calPick 5s ease-out infinite; }
@keyframes calPick {
  0%, 35% { opacity: 0; transform: scale(.6); }
  40% { opacity: 1; transform: scale(1.14); }
  44%, 86% { opacity: 1; transform: scale(1); }
  94%, 100% { opacity: 0; transform: scale(1); }
}
.cal__ripple { opacity: 0; animation: calRipple 5s ease-out infinite; }
@keyframes calRipple { 0%, 35% { opacity: 0; transform: scale(.4); } 37% { opacity: 1; } 50%, 100% { opacity: 0; transform: scale(1.8); } }
.cal__booked { opacity: 0; animation: calBooked 5s var(--ease-out) infinite; }
@keyframes calBooked {
  0%, 42% { opacity: 0; transform: translateY(12px); }
  48%, 86% { opacity: 1; transform: translateY(0); }
  94%, 100% { opacity: 0; transform: translateY(0); }
}

/* ---------------------------------------------------------------- responsive */

@media (max-width: 1180px) {
  .nav { display: none; }
  .burger { display: block; }
  .hdr__bar { padding-left: 12px; }
}

@media (max-width: 1024px) {
  .hero--home { min-height: 0; }
  .hero__inner,
  .hero--legal .hero__inner { grid-template-columns: minmax(0, 1fr); }
  .hero__visual { order: 2; }
  .lens-wrap { width: min(100%, 500px); }
  .hero--legal .hero__visual { display: none; }
  .scroll-cue { display: none; }

  .sh { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .testi__grid, .about__grid, .faq__grid, .form-grid, .process__grid { grid-template-columns: minmax(0, 1fr); }
  .process__side, .form-side { position: static; }
  .cta { grid-template-columns: minmax(0, 1fr); }
  .cta__cal .cal { max-width: 300px; rotate: 0deg; }

  .legal__grid { grid-template-columns: minmax(0, 1fr); }
  .toc { position: static; padding: 20px 22px; border-radius: var(--r-md); background: #fff; border: 1px solid var(--line); }
  .toc__ind { display: none; }

  .ftr__top { grid-template-columns: minmax(0, 1fr); }
  .ftr__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .feat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feat:not(:nth-child(3n + 1)) { padding-left: 0; border-left: 0; }
  .feat:nth-child(even) { padding-left: 28px; border-left: 1px solid var(--line); }
  .more-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  .hdr__cta { display: none; }
  .svc-grid > * { grid-column: span 12 !important; }
  .svc-grid > :nth-child(5) { flex-direction: column; }
  .svc-grid > :nth-child(5) .svc-card__media { flex: none; height: clamp(200px, 48vw, 300px); min-height: 0; }
  .svc-grid > :nth-child(5) .svc-card__body { padding: 22px 14px 12px; }
  .values__grid, .who-grid { grid-template-columns: minmax(0, 1fr); }
  .facts__grid { grid-template-columns: minmax(0, 1fr); }
  .fact { border-left: 0; border-top: 1px solid var(--line); }
  .fact:first-child { border-top: 0; }

  .stage-tabs { display: flex; width: 100%; overflow-x: auto; scrollbar-width: none; }
  .stage-tabs__btn { flex: 1 0 auto; justify-content: center; padding: 0 16px; }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .step { display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: 20px; }
  .step__num { grid-row: 1 / 3; margin: 0; }
  .step__title { margin-top: 12px; }
  .steps__line {
    top: 28px; bottom: 28px; left: 27px;
    width: 2px !important; height: auto;
    background: repeating-linear-gradient(var(--line-2) 0 6px, transparent 6px 12px);
  }
  .steps__line span { transform-origin: top; transform: scaleY(var(--prog, 0)); }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }
  .hero { padding-top: 112px; }
  .hero__ctas .btn { width: 100%; justify-content: space-between; }
  .hero__ctas .btn--ghost { justify-content: center; }
  .tag { font-size: .76rem; padding: 7px 12px 7px 10px; }
  .tag--a { left: 0; top: 4%; }
  .tag--b { right: 0; }
  .tag--c { right: 2%; bottom: 2%; }
  .badge { left: 0; bottom: 0; width: 96px; }
  .badge__text text { font-size: 16px; }
  .proof { align-items: flex-start; }

  .ribbons { height: 130px; }
  .ribbon { padding: 10px 0; }
  .mq__star { width: 20px; height: 20px; }

  .feat-grid { grid-template-columns: minmax(0, 1fr); }
  .feat, .feat:nth-child(even) { padding: 28px 0 30px; border-left: 0; }
  .more-grid { grid-template-columns: minmax(0, 1fr); }
  .spark { display: none; }
  .spark.spark--m { display: block; }
  .cta__deco--a { display: none; }
  .svc-card__media { height: clamp(190px, 52vw, 260px); }

  .form__row { grid-template-columns: minmax(0, 1fr); }
  .form__send { width: 100%; justify-content: center; }
  .ccard { grid-template-columns: 44px minmax(0, 1fr); row-gap: 2px; }
  .ccard__ico { width: 44px; height: 44px; grid-row: 1 / 4; }
  .ccard__copy, .ccard__hint { grid-column: 2; grid-row: auto; justify-self: start; margin-top: 8px; }

  .ftr__cols { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .ftr__bottom { flex-wrap: wrap; }
  .kv li { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .cookie { left: 10px; right: 10px; bottom: 10px; width: auto; }
  .testi__stage { min-height: 0; }
  .origin { padding-left: calc(24px + 40px); }
}
