/* C2 Future — shared styles */

:root {
  --ink: #16122e;
  --ink-2: #4c4868;
  --ink-3: #67637f;
  --purple-800: #2f1690;
  --purple-700: #4520c2;
  --purple-600: #5a33e6;
  --purple-500: #7c5cff;
  --purple-300: #bfaeff;
  --purple-200: #ddd3ff;
  --lavender: #f4f1ff;
  --periwinkle: #ebeeff;
  --mist: #f5f6f9;
  --line: #e4e2ee;
  --line-2: #d6d3e6;
  --white: #fff;
  --deep: #1a0f4d;
  --deep-2: #24166a;
  --green: #0f8f5d;
  --green-bg: #e3f6ee;
  --amber: #b86a0a;
  --amber-bg: #fdf0dc;

  --font: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;

  --gutter: clamp(20px, 5vw, 96px);
  --maxw: 1680px;
  --nav-h: 72px;
  --r-sm: 10px;
  --r: 18px;
  --r-lg: 28px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --shadow-sm: 0 1px 2px rgba(22, 18, 46, 0.06), 0 2px 8px rgba(22, 18, 46, 0.04);
  --shadow: 0 1px 2px rgba(22, 18, 46, 0.05), 0 12px 32px -8px rgba(42, 22, 120, 0.14);
  --shadow-lg: 0 2px 4px rgba(22, 18, 46, 0.04), 0 32px 64px -16px rgba(42, 22, 120, 0.22);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  background: var(--white);
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  text-rendering: optimizeLegibility;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
dl,
dd,
figure {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
h4 {
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.06;
  text-wrap: balance;
  font-style: normal;
}

p {
  text-wrap: pretty;
}

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

:focus-visible {
  outline: 2.5px solid var(--purple-600);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 300;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--purple-600);
  color: #fff;
  font-weight: 600;
  transform: translateY(-160%);
  transition: transform 0.2s;
}

.skip:focus {
  transform: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- layout ---------- */

.wrap {
  width: 100%;
  max-width: calc(var(--maxw) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  position: relative;
  padding-block: clamp(72px, 10vw, 160px);
  overflow-x: clip;
}

.facts,
.footer,
main {
  overflow-x: clip;
}

.section--tint {
  background: var(--lavender);
}

.section--peri {
  background: linear-gradient(180deg, var(--periwinkle), #f3f5ff);
}

.section--mist {
  background: var(--mist);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--purple-700);
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.h2 {
  font-size: clamp(2.1rem, 4.2vw, 4.25rem);
  margin-top: 18px;
}

.h3 {
  font-size: clamp(1.6rem, 2.4vw, 2.5rem);
  letter-spacing: -0.03em;
}

.hl {
  color: var(--purple-600);
}

.lead {
  font-size: clamp(1.05rem, 1.25vw, 1.25rem);
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 44ch;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: clamp(24px, 5vw, 96px);
  align-items: end;
  margin-bottom: clamp(48px, 6vw, 96px);
}

.section-head .lead {
  justify-self: end;
}

/* a heading with no side copy runs the full width */
.section-head > :only-child {
  grid-column: 1 / -1;
}

.section-head > :only-child .h2 {
  text-wrap: balance;
}

/* ---------- buttons & links ---------- */

.btn {
  --bg: var(--purple-600);
  --fg: #fff;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  background: var(--bg);
  color: var(--fg);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.01em;
  white-space: nowrap;
  isolation: isolate;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(22, 18, 46, 0.12), 0 10px 24px -10px rgba(90, 51, 230, 0.7);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background-color 0.3s;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(100deg, var(--purple-700), var(--purple-500));
  opacity: 0;
  transition: opacity 0.35s;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 2px 4px rgba(22, 18, 46, 0.12), 0 18px 32px -12px rgba(90, 51, 230, 0.75);
}

.btn:hover::before {
  opacity: 1;
}

.btn:active {
  transform: translateY(0);
}

.btn .arr {
  width: 18px;
  height: 18px;
  transition: transform 0.35s var(--ease);
}

.btn:hover .arr,
.link:hover .arr,
.row-link:hover .arr {
  transform: translateX(4px);
}

.btn--ghost {
  --bg: transparent;
  --fg: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--line-2);
}

.btn--ghost::before {
  background: var(--lavender);
}

.btn--ghost:hover {
  box-shadow: inset 0 0 0 1.5px var(--purple-300);
}

.btn--light {
  --bg: #fff;
  --fg: var(--deep);
  box-shadow: 0 10px 30px -12px rgba(0, 0, 0, 0.5);
}

.btn--light::before {
  background: var(--lavender);
}

.btn--sm {
  min-height: 42px;
  padding: 0 18px;
  font-size: 14.5px;
}

.link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--purple-700);
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0% 2px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  padding-bottom: 2px;
  transition: background-size 0.4s var(--ease), color 0.2s;
}

.link:hover {
  background-size: 100% 2px;
  color: var(--purple-600);
}

.link .arr {
  width: 17px;
  height: 17px;
  transition: transform 0.35s var(--ease);
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  background: var(--lavender);
  color: var(--purple-700);
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  flex: none;
}

/* ---------- nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(255, 255, 255, 0.72);
  -webkit-backdrop-filter: saturate(1.6) blur(16px);
  backdrop-filter: saturate(1.6) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background-color 0.3s, box-shadow 0.3s;
}

.nav.is-scrolled {
  background: rgba(255, 255, 255, 0.88);
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px -18px rgba(42, 22, 120, 0.35);
}

.nav__in {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: none;
  border-radius: 12px;
}

.brand__tile {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--deep);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), 0 6px 16px -8px rgba(26, 15, 77, 0.8);
  transition: transform 0.4s var(--ease);
}

.brand:hover .brand__tile {
  transform: rotate(-4deg) scale(1.04);
}

.brand__tile img {
  height: 32px;
  width: auto;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: clamp(16px, 3vw, 56px);
}

.nav__links a {
  position: relative;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-2);
  transition: color 0.2s, background-color 0.2s;
}

.nav__links a:hover {
  color: var(--ink);
  background: var(--mist);
}

.nav__links a[aria-current] {
  color: var(--purple-700);
  background: var(--lavender);
}

.nav__right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav__tel {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 15px;
  color: var(--ink-2);
  transition: color 0.2s;
}

.nav__tel:hover {
  color: var(--purple-700);
}

.nav__tel svg {
  width: 17px;
  height: 17px;
}

.burger {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  margin-left: auto;
  place-items: center;
  box-shadow: inset 0 0 0 1.5px var(--line);
}

.burger span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.35s var(--ease), opacity 0.2s;
}

.burger span + span {
  margin-top: 5px;
}

.burger__lines {
  display: block;
}

.nav.is-open .burger span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav.is-open .burger span:nth-child(2) {
  opacity: 0;
}

.nav.is-open .burger span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.menu {
  position: fixed;
  inset: var(--nav-h) 0 0 0;
  z-index: 99;
  background: #fff;
  padding: 28px var(--gutter) 40px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.3s var(--ease), transform 0.4s var(--ease), visibility 0s 0.4s;
}

.menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity 0.3s var(--ease), transform 0.4s var(--ease), visibility 0s;
}

.menu__links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.menu__links a[aria-current] {
  color: var(--purple-600);
}

.menu__links svg {
  width: 20px;
  height: 20px;
  color: var(--purple-600);
}

.menu__contact {
  display: grid;
  gap: 6px;
  font-weight: 600;
  color: var(--ink-2);
}

.menu .btn {
  width: 100%;
}

body.menu-open {
  overflow: hidden;
}

/* ---------- loader (first visit only) ---------- */

.loader {
  display: none;
}

html.intro .loader {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: grid;
  place-items: center;
  background: #fff;
  animation: loaderOut 0.45s var(--ease-io) 1.05s forwards;
}

.loader__inner {
  display: grid;
  justify-items: center;
  gap: 22px;
}

.loader__tile {
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  border-radius: 22px;
  background: var(--deep);
  box-shadow: 0 24px 48px -20px rgba(26, 15, 77, 0.7);
  animation: loaderTile 0.7s var(--ease) both;
}

.loader__tile img {
  height: 62px;
  width: auto;
  animation: loaderLogo 0.7s var(--ease) 0.12s both;
}

.loader__bar {
  width: 148px;
  height: 2px;
  border-radius: 2px;
  background: var(--line);
  overflow: hidden;
}

.loader__bar i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--purple-500), var(--purple-700));
  transform-origin: left;
  animation: loaderBar 0.9s var(--ease-io) 0.1s both;
}

@keyframes loaderTile {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.86);
  }
}

@keyframes loaderLogo {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
}

@keyframes loaderBar {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

@keyframes loaderOut {
  to {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
  }
}

/* ---------- scroll reveal system ---------- */

.js [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 30px, 0);
  transition: opacity 0.4s ease, transform 0.5s var(--ease), clip-path 0.5s var(--ease);
}

.js [data-reveal="left"] {
  transform: translate3d(-36px, 0, 0);
}

.js [data-reveal="right"] {
  transform: translate3d(36px, 0, 0);
}

.js [data-reveal="scale"] {
  transform: scale(0.94);
}

.js [data-reveal="wipe"] {
  opacity: 1;
  transform: none;
  clip-path: inset(0 0 100% 0 round var(--wipe-r, 28px));
}

.js [data-reveal="fade"] {
  transform: none;
}

.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
  transition: opacity 0.85s ease var(--d, 0s), transform 1s var(--ease) var(--d, 0s),
    clip-path 1.2s var(--ease) var(--d, 0s);
}

.js [data-reveal="wipe"].is-in {
  clip-path: inset(0 0 0 0 round var(--wipe-r, 28px));
}

/* word-by-word headings (no masks, so descenders are never clipped) */
.js [data-words] .w {
  display: inline-block;
  opacity: 0;
  transform: translate3d(0, 0.42em, 0);
  transition: opacity 0.3s ease, transform 0.4s var(--ease);
}

.js [data-words].is-in .w {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s ease calc(var(--d, 0s) + var(--wd, 0s)),
    transform 0.9s var(--ease) calc(var(--d, 0s) + var(--wd, 0s));
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  min-height: calc(100svh - var(--nav-h));
  display: flex;
  align-items: center;
  padding-block: clamp(20px, 4.5vh, 64px);
  overflow: clip;
  background: radial-gradient(1200px 600px at 85% 20%, #f1edff 0%, rgba(241, 237, 255, 0) 70%),
    linear-gradient(180deg, #fff 0%, #fbfaff 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(90, 51, 230, 0.16) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 72% 45%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 80% at 72% 45%, #000 20%, transparent 75%);
  pointer-events: none;
}

.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(32px, 4.5vw, 96px);
  align-items: center;
}

.hero__copy {
  max-width: 680px;
}

.hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 8px;
  border-radius: 999px;
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--line), var(--shadow-sm);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-2);
}

.hero__kicker b {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--lavender);
  color: var(--purple-700);
}

.hero h1 {
  font-size: clamp(2.4rem, min(5vw, 9.5vh), 5.5rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
  margin-top: clamp(16px, 2.6vh, 28px);
}

.hero__intro {
  margin-top: clamp(14px, 2.4vh, 26px);
  font-size: clamp(1.02rem, min(1.25vw, 2.5vh), 1.25rem);
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 48ch;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(20px, 3.4vh, 36px);
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-top: clamp(18px, 3vh, 32px);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
}

.hero__trust li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.tick {
  width: 18px;
  height: 18px;
  flex: none;
  color: var(--purple-600);
}

/* hero entrance (plays on load; delayed behind the loader on first visit) */
.hero [data-enter] {
  animation: enter 1s var(--ease) both;
  animation-delay: calc(0.1s + var(--e, 0) * 0.09s);
}

html.intro .hero [data-enter] {
  animation-delay: calc(1.15s + var(--e, 0) * 0.09s);
}

@keyframes enter {
  from {
    opacity: 0;
    transform: translate3d(0, 26px, 0);
  }
}

.hero__visual {
  position: relative;
  justify-self: end;
  width: min(100%, calc((100svh - var(--nav-h) - 72px) * 1.16));
}

/* ---------- hero signature visual ---------- */

.hv {
  position: relative;
  container-type: inline-size;
  aspect-ratio: 1.16;
  width: 100%;
}

.hv-browser {
  position: absolute;
  top: 0;
  left: 0;
  width: 92%;
  height: 57cqi;
  display: flex;
  flex-direction: column;
  border-radius: 2.2cqi;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(22, 18, 46, 0.07), var(--shadow-lg);
  overflow: hidden;
}

.hv-bar {
  flex: none;
  display: flex;
  align-items: center;
  gap: 1.6cqi;
  height: 6.4cqi;
  padding: 0 1.8cqi;
  border-bottom: 1px solid var(--line);
  background: #fbfbfd;
}

.hv-dots {
  display: flex;
  gap: 0.8cqi;
}

.hv-dots i {
  width: 1.15cqi;
  height: 1.15cqi;
  border-radius: 50%;
  background: #e3e1ec;
}

.hv-url {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.8cqi;
  height: 3.8cqi;
  max-width: 46cqi;
  margin-inline: auto;
  padding: 0 1.4cqi;
  border-radius: 1cqi;
  background: var(--mist);
  font-family: var(--mono);
  font-size: 1.55cqi;
  color: var(--ink-2);
  white-space: nowrap;
  overflow: hidden;
}

.hv-url svg {
  width: 1.6cqi;
  height: 1.6cqi;
  flex: none;
  color: var(--ink-3);
  transition: color 0.4s;
}

.hv[data-live] .hv-url svg {
  color: var(--green);
}

.hv-url .caret {
  width: 1px;
  height: 1.9cqi;
  background: var(--purple-600);
  animation: caret 1s steps(1) infinite;
}

@keyframes caret {
  50% {
    opacity: 0;
  }
}

.hv[data-live] .hv-url .caret {
  display: none;
}

.hv-status {
  font-size: 1.25cqi;
  padding: 0.5cqi 1.1cqi;
  gap: 0.6cqi;
  background: var(--amber-bg);
  color: var(--amber);
}

.hv-status .dot {
  width: 0.8cqi;
  height: 0.8cqi;
  animation: pulse 1.2s ease-in-out infinite;
}

.hv[data-live] .hv-status {
  background: var(--green-bg);
  color: var(--green);
}

.hv[data-live] .hv-status .dot {
  animation: none;
}

@keyframes pulse {
  50% {
    opacity: 0.25;
  }
}

.hv-page {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.5cqi;
  padding: 1.8cqi 2.6cqi;
  overflow: hidden;
}

/* the mock site's sections: hidden -> wireframe -> built */
.mk {
  position: relative;
  border-radius: 1.2cqi;
  opacity: 0;
  transform: translateY(1.2cqi);
  transition: opacity 0.5s var(--ease), transform 0.6s var(--ease), background-color 0.5s, box-shadow 0.5s;
}

.mk > * {
  transition: opacity 0.5s var(--ease) 0.08s;
}

.mk.is-wire {
  opacity: 1;
  transform: none;
  box-shadow: inset 0 0 0 1px var(--purple-300);
  background: repeating-linear-gradient(135deg, rgba(124, 92, 255, 0.05) 0 6px, transparent 6px 12px);
}

.mk.is-wire > * {
  opacity: 0;
}

.mk.is-built {
  opacity: 1;
  transform: none;
}

.mk-nav {
  display: flex;
  align-items: center;
  gap: 2cqi;
  height: 4.8cqi;
  padding: 0 0.4cqi;
}

.mk-logo {
  display: flex;
  align-items: center;
  gap: 0.8cqi;
  font-weight: 800;
  font-size: 1.7cqi;
  letter-spacing: -0.02em;
}

.mk-logo i {
  width: 2.4cqi;
  height: 2.4cqi;
  border-radius: 0.7cqi;
  background: linear-gradient(135deg, var(--purple-500), var(--purple-700));
}

.mk-links {
  display: flex;
  gap: 2cqi;
  margin-left: auto;
  font-size: 1.35cqi;
  font-weight: 600;
  color: var(--ink-2);
}

.mk-btn {
  padding: 0.7cqi 1.5cqi;
  border-radius: 99px;
  background: var(--ink);
  color: #fff;
  font-size: 1.3cqi;
  font-weight: 700;
}

.mk-hero {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 2.4cqi;
  align-items: center;
  padding: 2.6cqi;
  background: linear-gradient(135deg, #f6f3ff, #eef1ff);
}

.mk-hero.is-wire {
  background: repeating-linear-gradient(135deg, rgba(124, 92, 255, 0.05) 0 6px, transparent 6px 12px);
}

.mk-kicker {
  display: inline-block;
  font-family: var(--mono);
  font-size: 1.15cqi;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--purple-700);
}

.mk-title {
  display: block;
  margin-top: 1cqi;
  font-size: 3.5cqi;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.mk-sub {
  display: block;
  margin-top: 1.2cqi;
  font-size: 1.4cqi;
  line-height: 1.5;
  color: var(--ink-2);
}

.mk-cta {
  display: inline-block;
  margin-top: 1.8cqi;
  padding: 1cqi 2cqi;
  border-radius: 99px;
  background: var(--purple-600);
  color: #fff;
  font-size: 1.35cqi;
  font-weight: 700;
}

.mk-book {
  padding: 1.8cqi;
  border-radius: 1.4cqi;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(22, 18, 46, 0.06), 0 1.4cqi 3cqi -1.2cqi rgba(42, 22, 120, 0.25);
}

.mk-book__h {
  display: flex;
  justify-content: space-between;
  font-size: 1.35cqi;
  font-weight: 700;
}

.mk-book__h span {
  font-family: var(--mono);
  font-weight: 500;
  color: var(--ink-3);
  font-size: 1.15cqi;
}

.mk-days,
.mk-slots {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.7cqi;
  margin-top: 1.2cqi;
}

.mk-days span,
.mk-slots span {
  display: grid;
  place-items: center;
  height: 3.2cqi;
  border-radius: 0.8cqi;
  font-size: 1.2cqi;
  font-weight: 600;
  background: var(--mist);
  color: var(--ink-2);
  transition: background-color 0.3s, color 0.3s, box-shadow 0.3s;
}

.mk-days .on {
  background: var(--ink);
  color: #fff;
}

.mk-slots span {
  grid-column: span 2;
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--line);
}

.mk-slots span.is-picked {
  background: var(--lavender);
  color: var(--purple-700);
  box-shadow: inset 0 0 0 1.5px var(--purple-500);
}

.mk-book__btn {
  display: grid;
  place-items: center;
  height: 3.4cqi;
  margin-top: 1.2cqi;
  border-radius: 99px;
  background: var(--purple-600);
  color: #fff;
  font-size: 1.3cqi;
  font-weight: 700;
  transition: transform 0.15s, background-color 0.3s;
}

.mk-book__btn.is-pressed {
  transform: scale(0.96);
  background: var(--purple-800);
}

.mk-book__btn.is-done {
  background: var(--green);
}

.mk-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4cqi;
}

.mk-card {
  display: flex;
  align-items: center;
  gap: 1cqi;
  padding: 1.5cqi;
  border-radius: 1.1cqi;
  box-shadow: inset 0 0 0 1px var(--line);
  font-size: 1.35cqi;
  font-weight: 700;
}

.mk-card svg {
  width: 2.6cqi;
  height: 2.6cqi;
  padding: 0.55cqi;
  border-radius: 0.7cqi;
  background: var(--lavender);
  color: var(--purple-600);
  flex: none;
}

.mk-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 4cqi;
  padding: 0 1.4cqi;
  border-radius: 1cqi;
  background: var(--deep);
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.2cqi;
  font-weight: 600;
}

.mk-foot b {
  color: #fff;
}

/* design-tool selection box */
.hv-select {
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  border: 1.5px solid var(--purple-500);
  border-radius: 0.6cqi;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s, transform 0.55s var(--ease), width 0.55s var(--ease), height 0.55s var(--ease);
}

.hv-select.is-on {
  opacity: 1;
}

.hv-select i {
  position: absolute;
  width: 0.9cqi;
  height: 0.9cqi;
  background: #fff;
  border: 1.5px solid var(--purple-500);
}

.hv-select i:nth-child(1) {
  top: -0.5cqi;
  left: -0.5cqi;
}

.hv-select i:nth-child(2) {
  top: -0.5cqi;
  right: -0.5cqi;
}

.hv-select i:nth-child(3) {
  bottom: -0.5cqi;
  left: -0.5cqi;
}

.hv-select i:nth-child(4) {
  bottom: -0.5cqi;
  right: -0.5cqi;
}

.hv-select__tag {
  position: absolute;
  left: -1.5px;
  bottom: calc(100% + 0.5cqi);
  display: flex;
  gap: 0.8cqi;
  padding: 0.35cqi 0.8cqi;
  border-radius: 0.5cqi;
  background: var(--purple-500);
  color: #fff;
  font-family: var(--mono);
  font-size: 1.15cqi;
  white-space: nowrap;
}

.hv-select__tag span {
  opacity: 0.75;
}

.hv-select.is-below .hv-select__tag {
  bottom: auto;
  top: calc(100% + 0.5cqi);
}

.hv-cursor {
  position: absolute;
  top: 0;
  left: 0;
  width: 2.4cqi;
  height: 2.4cqi;
  opacity: 0;
  pointer-events: none;
  filter: drop-shadow(0 2px 3px rgba(22, 18, 46, 0.3));
  transition: transform 0.9s var(--ease-io), opacity 0.3s;
  z-index: 3;
}

.hv-cursor.is-on {
  opacity: 1;
}

/* automation canvas */
.hv-wire {
  position: absolute;
  top: 57cqi;
  left: 66%;
  width: 2px;
  height: 3.6cqi;
  background: repeating-linear-gradient(180deg, var(--purple-300) 0 0.6cqi, transparent 0.6cqi 1.1cqi);
}

.hv-wire::before,
.hv-wire::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 0.9cqi;
  height: 0.9cqi;
  margin-left: -0.45cqi;
  border-radius: 50%;
}

.hv-wire::before {
  top: -0.45cqi;
  background: #fff;
  box-shadow: inset 0 0 0 1.5px var(--purple-500);
}

.hv-wire::after {
  top: 0;
  background: var(--purple-500);
  box-shadow: 0 0 0 0.45cqi rgba(124, 92, 255, 0.2);
  opacity: 0;
}

.hv[data-firing] .hv-wire::after {
  animation: wire 0.6s var(--ease-io) forwards;
}

@keyframes wire {
  0% {
    opacity: 1;
    transform: translateY(-0.45cqi);
  }
  100% {
    opacity: 1;
    transform: translateY(3.1cqi);
  }
}

.hv-wire__tag {
  position: absolute;
  top: 50%;
  left: 1.2cqi;
  transform: translateY(-50%);
  padding: 0.2cqi 0.7cqi;
  border-radius: 99px;
  background: #fff;
  box-shadow: 0 0 0 1px var(--line);
  font-family: var(--mono);
  font-size: 1cqi;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--purple-700);
}

.hv-flow {
  position: absolute;
  top: 60.6cqi;
  right: 0;
  width: 80%;
  padding: 1.9cqi;
  border-radius: 2cqi;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 0 0 1px rgba(22, 18, 46, 0.08), var(--shadow-lg);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.hv-flow::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background-image: radial-gradient(rgba(22, 18, 46, 0.09) 1px, transparent 1px);
  background-size: 1.6cqi 1.6cqi;
  pointer-events: none;
}

.hv-flow__head {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1cqi;
  margin-bottom: 1.8cqi;
}

.hv-flow__icon {
  display: grid;
  place-items: center;
  width: 3.2cqi;
  height: 3.2cqi;
  border-radius: 0.9cqi;
  background: var(--deep);
  color: #fff;
}

.hv-flow__icon svg {
  width: 1.8cqi;
  height: 1.8cqi;
}

.hv-flow__title {
  font-size: 1.6cqi;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.hv-flow__title small {
  display: block;
  font-family: var(--mono);
  font-size: 1.1cqi;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ink-3);
}

.hv-flow__state {
  margin-left: auto;
  font-size: 1.15cqi;
  padding: 0.45cqi 1cqi;
  background: var(--mist);
  color: var(--ink-3);
}

.hv-flow__state .dot {
  width: 0.8cqi;
  height: 0.8cqi;
}

.hv-flow[data-state="running"] .hv-flow__state {
  background: var(--amber-bg);
  color: var(--amber);
}

.hv-flow[data-state="running"] .hv-flow__state .dot {
  animation: pulse 1s ease-in-out infinite;
}

.hv-flow[data-state="done"] .hv-flow__state {
  background: var(--green-bg);
  color: var(--green);
}

.hv-nodes {
  position: relative;
  display: flex;
  align-items: stretch;
}

.hv-node {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  padding: 1.2cqi;
  border-radius: 1.2cqi;
  background: #fff;
  box-shadow: 0 0 0 1px var(--line), 0 0.6cqi 1.4cqi -0.8cqi rgba(42, 22, 120, 0.25);
  transition: box-shadow 0.4s, transform 0.4s var(--ease);
}

.hv-node[data-s="run"] {
  box-shadow: 0 0 0 1.5px #e9b46a, 0 0 0 0.7cqi rgba(232, 150, 46, 0.12);
  transform: translateY(-0.3cqi);
}

.hv-node[data-s="done"] {
  box-shadow: 0 0 0 1px #a8dcc5, 0 0.6cqi 1.4cqi -0.8cqi rgba(15, 143, 93, 0.3);
}

.hv-node__ic {
  display: grid;
  place-items: center;
  width: 3cqi;
  height: 3cqi;
  border-radius: 0.8cqi;
  background: var(--lavender);
  color: var(--purple-600);
}

.hv-node__ic svg {
  width: 1.7cqi;
  height: 1.7cqi;
}

.hv-node b {
  display: block;
  margin-top: 1cqi;
  font-size: 1.3cqi;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.hv-node small {
  display: block;
  margin-top: 0.3cqi;
  font-family: var(--mono);
  font-size: 1.02cqi;
  color: var(--ink-3);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hv-node__s {
  display: inline-flex;
  align-items: center;
  gap: 0.5cqi;
  margin-top: 0.9cqi;
  padding: 0.25cqi 0.7cqi;
  border-radius: 99px;
  font-family: var(--mono);
  font-size: 0.98cqi;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: var(--mist);
  color: var(--ink-3);
}

.hv-node__s::before {
  content: "";
  width: 0.7cqi;
  height: 0.7cqi;
  border-radius: 50%;
  background: currentColor;
}

.hv-node[data-s="run"] .hv-node__s {
  background: var(--amber-bg);
  color: var(--amber);
}

.hv-node[data-s="run"] .hv-node__s::before {
  animation: pulse 0.8s ease-in-out infinite;
}

.hv-node[data-s="done"] .hv-node__s {
  background: var(--green-bg);
  color: var(--green);
}

.hv-link {
  position: relative;
  flex: 0 0 2.4cqi;
  align-self: center;
  height: 2px;
  background: var(--line-2);
}

.hv-link::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 0.9cqi;
  height: 0.9cqi;
  margin-top: -0.45cqi;
  border-radius: 50%;
  background: var(--purple-500);
  box-shadow: 0 0 0 0.45cqi rgba(124, 92, 255, 0.2);
  opacity: 0;
}

.hv-link.is-flowing {
  background: var(--purple-300);
}

.hv-link.is-flowing::after {
  animation: travel 0.55s var(--ease-io) forwards;
}

@keyframes travel {
  0% {
    opacity: 1;
    transform: translateX(-0.45cqi);
  }
  100% {
    opacity: 1;
    transform: translateX(1.95cqi);
  }
}

.hv-flow__log {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 1cqi;
  margin-top: 1.6cqi;
  padding-top: 1.3cqi;
  border-top: 1px dashed var(--line-2);
  font-family: var(--mono);
  font-size: 1.1cqi;
  color: var(--ink-3);
}

.hv-flow__log b {
  font-weight: 500;
  color: var(--ink);
}

.hv-caption {
  margin-top: 14px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-3);
  text-align: right;
}

/* ---------- facts band ---------- */

.facts {
  border-block: 1px solid var(--line);
  background: #fff;
}

.facts__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.fact {
  padding: clamp(28px, 3.2vw, 48px) clamp(16px, 2vw, 40px);
  border-left: 1px solid var(--line);
}

.fact:first-child {
  border-left: 0;
  padding-left: 0;
}

.fact__n {
  display: block;
  font-size: clamp(2.4rem, 4vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1.05;
  color: var(--purple-600);
  font-variant-numeric: tabular-nums;
}

.fact__l {
  display: block;
  margin-top: 8px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.45;
  color: var(--ink-2);
  max-width: 24ch;
}

/* ---------- "do more than look nice" list ---------- */

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(40px, 7vw, 140px);
  align-items: start;
}

.split__aside {
  position: sticky;
  top: calc(var(--nav-h) + 48px);
}

.split__aside .lead {
  margin-top: 24px;
}

.split__aside .link {
  margin-top: 28px;
}

/* ---------- services ---------- */

.svc {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(40px, 6vw, 120px);
  align-items: center;
}

.svc + .svc {
  margin-top: clamp(80px, 10vw, 160px);
}

.svc--flip {
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
}

.svc--flip .svc__copy {
  order: 2;
}

.svc__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.svc__copy h3 {
  margin-top: 18px;
}

.svc__copy > p {
  margin-top: 20px;
  color: var(--ink-2);
  font-size: clamp(1rem, 1.15vw, 1.15rem);
  max-width: 50ch;
}

.svc__list {
  margin-top: 30px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
}

.svc__list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 12px 14px 0;
  border-bottom: 1px solid var(--line);
  font-weight: 600;
  font-size: 15.5px;
}

.svc__cta {
  margin-top: 32px;
}

.stage {
  position: relative;
  container-type: inline-size;
  border-radius: var(--r-lg);
  padding: clamp(20px, 3.5vw, 56px);
  background: linear-gradient(160deg, var(--periwinkle), var(--lavender));
  overflow: hidden;
}

.stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(90, 51, 230, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(90, 51, 230, 0.06) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

/* responsive demo */
.rd {
  position: relative;
}

.rd__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.rd__modes {
  display: flex;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: inset 0 0 0 1px var(--line);
}

.rd__modes button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 6px 13px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-3);
  transition: background-color 0.3s, color 0.3s, box-shadow 0.3s;
}

.rd__modes button:hover {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.85);
}

.rd__modes em {
  font-style: normal;
}

.rd__modes svg {
  width: 15px;
  height: 15px;
}

.rd__modes button[aria-pressed="true"] {
  background: #fff;
  color: var(--purple-700);
  box-shadow: var(--shadow-sm);
}

.rd__w {
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--ink-2);
  font-variant-numeric: tabular-nums;
}

.rd__area {
  --s: 0.5;
  --ah: 420px;
  position: relative;
  aspect-ratio: 1280 / 900;
  overflow: hidden;
}

/* the demo site is laid out at real breakpoint widths, then scaled to fit */
.rd__scaler {
  position: absolute;
  top: 0;
  left: 50%;
  width: 1280px;
  height: calc(var(--ah) / var(--s));
  display: flex;
  justify-content: center;
  transform: translateX(-50%) scale(var(--s));
  transform-origin: top center;
}

.rd__frame {
  width: 1280px;
  height: 100%;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 0 0 2px rgba(22, 18, 46, 0.08), 0 40px 80px -30px rgba(42, 22, 120, 0.35);
  overflow: hidden;
  container-type: inline-size;
  display: flex;
  flex-direction: column;
  transition: width 0.9s var(--ease-io);
}

.rd__chrome {
  flex: none;
  display: flex;
  align-items: center;
  gap: 12px;
  height: 60px;
  padding: 0 26px;
  border-bottom: 2px solid var(--line);
  background: #fbfbfd;
}

.rd__chrome i {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #e3e1ec;
}

.rd__site {
  flex: 1;
  overflow: hidden;
  padding: 32px 44px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.rs-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 24px;
  font-weight: 600;
  color: var(--ink-2);
}

.rs-nav .mk-logo {
  font-size: 26px;
  gap: 12px;
}

.rs-nav .mk-logo i {
  width: 38px;
  height: 38px;
  border-radius: 10px;
}

.rs-nav__links {
  display: flex;
  gap: 34px;
  margin-left: auto;
}

.rs-burger {
  display: none;
  margin-left: auto;
  width: 38px;
}

.rs-burger i {
  display: block;
  height: 4px;
  border-radius: 4px;
  background: var(--ink);
}

.rs-burger i + i {
  margin-top: 7px;
}

.rs-hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 48px;
  border-radius: 26px;
  background: linear-gradient(135deg, #f6f3ff, #eef1ff);
}

.rs-hero b {
  display: block;
  font-size: 62px;
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.rs-hero p {
  margin-top: 18px;
  font-size: 26px;
  color: var(--ink-2);
  line-height: 1.45;
}

.rs-hero .mk-cta {
  font-size: 24px;
  padding: 16px 32px;
  margin-top: 28px;
}

.rs-art {
  aspect-ratio: 4 / 3;
  border-radius: 22px;
  background: linear-gradient(135deg, var(--purple-500), var(--purple-800));
  position: relative;
  overflow: hidden;
}

.rs-art::before,
.rs-art::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.rs-art::before {
  width: 70%;
  aspect-ratio: 1;
  right: -18%;
  top: -22%;
  background: rgba(255, 255, 255, 0.14);
}

.rs-art::after {
  width: 46%;
  aspect-ratio: 1;
  left: 10%;
  bottom: -20%;
  background: rgba(255, 255, 255, 0.1);
}

.rs-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.rs-cards .mk-card {
  font-size: 24px;
  padding: 22px;
  gap: 16px;
  border-radius: 20px;
  box-shadow: inset 0 0 0 2px var(--line);
}

.rs-cards .mk-card svg {
  width: 48px;
  height: 48px;
  padding: 10px;
  border-radius: 13px;
}

@container (max-width: 1000px) {
  .rs-hero {
    grid-template-columns: 1.25fr 1fr;
    padding: 40px;
  }

  .rs-hero b {
    font-size: 50px;
  }

  .rs-art {
    aspect-ratio: 1;
  }

  .rs-cards {
    grid-template-columns: 1fr 1fr;
  }

  .rs-cards .mk-card:nth-child(3) {
    display: none;
  }
}

@container (max-width: 600px) {
  .rd__site {
    padding: 26px 24px;
    gap: 24px;
  }

  .rs-nav__links {
    display: none;
  }

  .rs-burger {
    display: block;
  }

  .rs-hero {
    padding: 30px 26px;
  }

  .rs-hero {
    grid-template-columns: 1fr;
  }

  .rs-hero b {
    font-size: 44px;
  }

  .rs-hero p {
    font-size: 24px;
  }

  .rs-art {
    display: none;
  }

  .rs-cards {
    grid-template-columns: 1fr;
  }
}

/* automation thread */
@container (max-width: 600px) {
  .thread {
    grid-template-columns: 1fr;
  }

  .steps-mini {
    display: none;
  }

  .phone {
    grid-column: 1;
  }
}

.thread {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 300px);
  gap: clamp(20px, 3vw, 48px);
  align-items: center;
}

.phone {
  width: 100%;
  max-width: 300px;
  justify-self: center;
  border-radius: 40px;
  padding: 10px;
  background: var(--ink);
  box-shadow: var(--shadow-lg);
  grid-column: 2;
  grid-row: 1;
}

.phone__screen {
  border-radius: 31px;
  background: #fff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.phone__top {
  flex: none;
  display: grid;
  justify-items: center;
  gap: 4px;
  padding: 16px 12px 12px;
  border-bottom: 1px solid var(--line);
  background: #fbfbfd;
}

.phone__notch {
  width: 84px;
  height: 22px;
  border-radius: 999px;
  background: var(--ink);
  margin-bottom: 6px;
}

.phone__avatar {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple-500), var(--purple-700));
  color: #fff;
}

.phone__avatar svg {
  width: 17px;
  height: 17px;
}

.phone__name {
  font-size: 12.5px;
  font-weight: 700;
}

.msgs {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 12px 18px;
}

.msg {
  max-width: 84%;
  padding: 9px 13px;
  border-radius: 18px;
  font-size: 13px;
  line-height: 1.45;
}

.msg--in {
  align-self: flex-start;
  background: var(--mist);
  border-bottom-left-radius: 6px;
}

.msg--out {
  align-self: flex-end;
  background: var(--purple-600);
  color: #fff;
  border-bottom-right-radius: 6px;
}

.msg-meta {
  align-self: flex-end;
  margin-top: -2px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--purple-700);
}

.msg-event {
  align-self: center;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--green-bg);
  color: var(--green);
  font-family: var(--mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.msg-event svg {
  width: 13px;
  height: 13px;
}

.steps-mini {
  display: grid;
  gap: 4px;
  grid-column: 1;
  grid-row: 1;
}

.steps-mini li {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.9), var(--shadow-sm);
  transition: opacity 0.4s, box-shadow 0.4s, transform 0.45s var(--ease), background-color 0.4s;
}

.steps-mini li[data-s="idle"] {
  opacity: 0.55;
}

.steps-mini li[data-s="run"] {
  background: #fff;
  box-shadow: 0 0 0 1.5px #e9b46a, 0 0 0 6px rgba(232, 150, 46, 0.12), var(--shadow-sm);
  transform: translateX(6px);
}

.steps-mini__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}

.steps-mini__s {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  border-radius: 99px;
  font-family: var(--mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: var(--mist);
  color: var(--ink-3);
}

.steps-mini__s::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

[data-s="run"] .steps-mini__s {
  background: var(--amber-bg);
  color: var(--amber);
}

[data-s="run"] .steps-mini__s::before {
  animation: pulse 0.8s ease-in-out infinite;
}

[data-s="done"] .steps-mini__s {
  background: var(--green-bg);
  color: var(--green);
}

/* the conversation plays out step by step while it is on screen (site.js sets data-anim) */
.thread[data-anim] [data-m] {
  transition: opacity 0.35s var(--ease), transform 0.5s var(--ease);
}

.thread[data-anim] [data-m]:not(.is-shown) {
  opacity: 0;
  transform: translate3d(0, 10px, 0) scale(0.96);
}

.msg--in {
  transform-origin: bottom left;
}

.msg--out {
  transform-origin: bottom right;
}

.msg-typing {
  position: absolute;
  top: 0;
  right: 12px;
  display: inline-flex;
  gap: 4px;
  padding: 12px 14px;
  border-radius: 18px;
  border-bottom-right-radius: 6px;
  background: var(--purple-600);
  opacity: 0;
  transform: scale(0.85);
  transform-origin: bottom right;
  transition: opacity 0.25s, transform 0.3s var(--ease);
  pointer-events: none;
}

.msg-typing.is-on {
  opacity: 1;
  transform: none;
}

.msg-typing i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
  animation: typing 1s ease-in-out infinite;
}

.msg-typing i:nth-child(2) {
  animation-delay: 0.15s;
}

.msg-typing i:nth-child(3) {
  animation-delay: 0.3s;
}

@keyframes typing {
  0%, 60%, 100% {
    opacity: 0.4;
    transform: none;
  }

  30% {
    opacity: 1;
    transform: translateY(-3px);
  }
}

.steps-mini .ic {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: var(--lavender);
  color: var(--purple-600);
}

.steps-mini .ic svg {
  width: 20px;
  height: 20px;
}

.steps-mini b {
  display: block;
  font-size: 15px;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.steps-mini small {
  display: block;
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--ink-3);
}

.stage__note {
  position: relative;
  margin-top: 18px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-3);
}

/* ---------- process timeline ---------- */

.timeline {
  --p: 0;
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 56px);
  padding-top: 64px;
}

.timeline::before,
.timeline::after {
  content: "";
  position: absolute;
  top: 21px;
  left: 0;
  right: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--line);
}

.timeline::after {
  background: linear-gradient(90deg, var(--purple-500), var(--purple-700));
  transform-origin: left;
  transform: scaleX(var(--p));
}

.step {
  position: relative;
  z-index: 1; /* keeps the number circles above the progress line */
}

.step__node {
  position: absolute;
  top: -64px;
  left: 0;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  box-shadow: inset 0 0 0 2px var(--line-2);
  color: var(--ink-3);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  transition: background-color 0.45s, color 0.45s, box-shadow 0.45s, transform 0.5s var(--ease);
}

.step.is-reached .step__node {
  background: var(--purple-600);
  color: #fff;
  box-shadow: 0 0 0 6px var(--lavender);
  transform: scale(1.06);
}

.step__k {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--purple-700);
}

.step h3 {
  margin-top: 10px;
  font-size: clamp(1.3rem, 1.8vw, 1.75rem);
  letter-spacing: -0.03em;
}

.step p {
  margin-top: 12px;
  color: var(--ink-2);
  max-width: 34ch;
}

.process__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px 32px;
  margin-top: clamp(56px, 6vw, 96px);
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.process__foot p {
  color: var(--ink-2);
  font-weight: 500;
}

/* ---------- faq ---------- */

.faq-list {
  border-top: 1px solid var(--line);
}

.qa {
  border-bottom: 1px solid var(--line);
}

.qa summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(20px, 2vw, 28px) 0;
  cursor: pointer;
  font-size: clamp(1.1rem, 1.45vw, 1.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
  transition: color 0.2s;
}

.qa summary::-webkit-details-marker {
  display: none;
}

.qa summary:hover {
  color: var(--purple-700);
}

.pm {
  position: relative;
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--lavender);
  transition: background-color 0.3s, transform 0.45s var(--ease);
}

.pm::before,
.pm::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 2px;
  margin: -1px 0 0 -7px;
  border-radius: 2px;
  background: var(--purple-700);
  transition: transform 0.45s var(--ease), background-color 0.3s;
}

.pm::after {
  transform: rotate(90deg);
}

details[open] > summary .pm {
  background: var(--purple-600);
  transform: rotate(180deg);
}

details[open] > summary .pm::before,
details[open] > summary .pm::after {
  background: #fff;
}

details[open] > summary .pm::after {
  transform: rotate(0deg);
}

.qa__a {
  padding-bottom: clamp(20px, 2vw, 28px);
  max-width: 64ch;
  color: var(--ink-2);
}

@supports (interpolate-size: allow-keywords) {
  :root {
    interpolate-size: allow-keywords;
  }

  details::details-content {
    block-size: 0;
    overflow: clip;
    transition: block-size 0.5s var(--ease), content-visibility 0.5s allow-discrete;
  }

  details[open]::details-content {
    block-size: auto;
  }
}

.faq-aside__contact {
  margin-top: 32px;
  display: grid;
  gap: 4px;
  font-weight: 600;
  color: var(--ink-2);
}

.faq-aside__contact a {
  color: var(--purple-700);
}

.faq-aside__contact a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- contact / booking ---------- */

.book {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: clamp(16px, 2vw, 28px);
  align-items: stretch;
}

.book-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(28px, 3.5vw, 56px);
  border-radius: var(--r-lg);
  background: #fff;
  box-shadow: 0 0 0 1px var(--line), var(--shadow-lg);
  overflow: hidden;
}

.book-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--purple-500), var(--purple-700));
}

.book-card__top {
  display: flex;
  align-items: center;
  gap: 14px;
}

.book-card__ic {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--lavender);
  color: var(--purple-600);
  flex: none;
}

.book-card__ic svg {
  width: 26px;
  height: 26px;
}

.book-card h3 {
  margin-top: 24px;
  font-size: clamp(1.7rem, 2.6vw, 2.6rem);
}

.book-card > p {
  margin-top: 12px;
  color: var(--ink-2);
  font-size: 1.08rem;
}

.includes {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.includes h4 {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.includes ul {
  margin-top: 14px;
  display: grid;
  gap: 12px;
}

.includes li {
  display: flex;
  gap: 10px;
  font-weight: 500;
  line-height: 1.45;
}

.includes .tick {
  margin-top: 2px;
}

.book-card__go {
  margin-top: auto;
  padding-top: 32px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 20px;
}

.book-card__go small {
  color: var(--ink-3);
  font-size: 13.5px;
}

.book-side {
  display: grid;
  gap: clamp(16px, 2vw, 28px);
  align-content: stretch;
}

.how {
  padding: clamp(22px, 2.4vw, 32px);
  border-radius: var(--r);
  background: rgba(255, 255, 255, 0.55);
  box-shadow: inset 0 0 0 1px var(--line);
}

.how h4 {
  font-size: 1.12rem;
  letter-spacing: -0.02em;
}

.how__list {
  margin-top: 18px;
  display: grid;
  gap: 16px;
}

.how__list li {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.how__n {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--purple-600);
  color: #fff;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
}

.how__list b {
  display: block;
  font-weight: 600;
  line-height: 1.3;
}

.how__list small {
  display: block;
  margin-top: 3px;
  font-size: 14.5px;
  color: var(--ink-2);
}

.direct {
  padding: clamp(22px, 2.4vw, 32px);
  border-radius: var(--r);
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--line);
}

.direct h4 {
  font-size: 1.12rem;
  letter-spacing: -0.02em;
}

.direct > p {
  margin-top: 4px;
  font-size: 15px;
  color: var(--ink-2);
}

.direct__list {
  margin-top: 18px;
  display: grid;
}

.row-link {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  transition: color 0.2s;
}

.row-link .ic {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: var(--lavender);
  color: var(--purple-600);
  transition: background-color 0.3s, color 0.3s;
}

.row-link .ic svg {
  width: 19px;
  height: 19px;
}

.row-link small {
  display: block;
  font-size: 12.5px;
  color: var(--ink-3);
  font-weight: 500;
}

.row-link b {
  display: block;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.row-link .arr {
  width: 18px;
  height: 18px;
  color: var(--purple-600);
  transition: transform 0.35s var(--ease);
}

a.row-link:hover {
  color: var(--purple-700);
}

a.row-link:hover .ic {
  background: var(--purple-600);
  color: #fff;
}

/* ---------- footer (the one deep moment) ---------- */

.footer {
  position: relative;
  background: var(--deep);
  color: rgba(255, 255, 255, 0.72);
  overflow: hidden;
}

.footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(900px 400px at 85% 0%, rgba(124, 92, 255, 0.28), transparent 70%);
  pointer-events: none;
}

.footer a:hover {
  color: #fff;
}

.footer__cta {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 28px 48px;
  padding-block: clamp(56px, 7vw, 112px) clamp(40px, 5vw, 72px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer__cta h2 {
  color: #fff;
  font-size: clamp(2rem, 4.4vw, 4.5rem);
  max-width: 16ch;
}

.footer__cta h2 span {
  color: var(--purple-300);
}

.footer__cta-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 24px;
}

.footer__tel {
  font-weight: 700;
  color: #fff;
}

.footer__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(4, minmax(0, 1fr));
  gap: 40px;
  padding-block: clamp(40px, 5vw, 72px);
}

.footer__brand img {
  height: 54px;
  width: auto;
}

.footer__brand p {
  margin-top: 18px;
  max-width: 30ch;
  font-size: 15px;
}

.footer h3 {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--purple-300);
}

.footer ul {
  margin-top: 16px;
  display: grid;
  gap: 10px;
  font-size: 15px;
}

.footer ul a {
  transition: color 0.2s;
}

.footer a[aria-current] {
  color: #fff;
  font-weight: 700;
}

.footer__bottom {
  position: relative;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 24px;
  padding-block: 24px 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.55);
}

/* ---------- inner pages (legal, 404) ---------- */

.page-head {
  position: relative;
  padding-block: clamp(48px, 7vw, 112px) clamp(48px, 6vw, 96px);
  background: linear-gradient(180deg, #fff 0%, var(--lavender) 100%);
  overflow: clip;
}

.page-head::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(90, 51, 230, 0.14) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse 60% 90% at 80% 40%, #000 15%, transparent 75%);
  mask-image: radial-gradient(ellipse 60% 90% at 80% 40%, #000 15%, transparent 75%);
  pointer-events: none;
}

.page-head__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(32px, 6vw, 120px);
  align-items: end;
}

.crumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-3);
}

.crumbs a:hover {
  color: var(--purple-700);
}

.crumbs svg {
  width: 14px;
  height: 14px;
}

.page-head h1 {
  margin-top: 20px;
  font-size: clamp(2.5rem, 5.5vw, 5.25rem);
  letter-spacing: -0.045em;
}

.page-head .lead {
  margin-top: 20px;
}

.tabs {
  display: inline-flex;
  gap: 4px;
  margin-top: 32px;
  padding: 5px;
  border-radius: 999px;
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--line), var(--shadow-sm);
}

.tabs a {
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink-2);
  transition: background-color 0.25s, color 0.25s;
}

.tabs a:hover {
  color: var(--ink);
  background: var(--mist);
}

.tabs a[aria-current] {
  background: var(--purple-600);
  color: #fff;
}

.glance {
  position: relative;
  padding: clamp(24px, 2.6vw, 36px);
  border-radius: var(--r-lg);
  background: #fff;
  box-shadow: 0 0 0 1px var(--line), var(--shadow-lg);
}

.glance__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.glance__head h2 {
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.glance ul {
  display: grid;
}

.glance li {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-weight: 600;
  font-size: 15px;
  line-height: 1.45;
}

.glance li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.glance .ic {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: var(--lavender);
  color: var(--purple-600);
}

.glance .ic svg {
  width: 19px;
  height: 19px;
}

.doc {
  display: grid;
  grid-template-columns: minmax(200px, 0.32fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 120px);
  align-items: start;
}

.toc {
  position: sticky;
  top: calc(var(--nav-h) + 40px);
}

.toc h2 {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.toc ol {
  position: relative;
  margin-top: 16px;
  display: grid;
  border-left: 2px solid var(--line);
}

.toc a {
  display: block;
  margin-left: -2px;
  padding: 8px 0 8px 18px;
  border-left: 2px solid transparent;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-3);
  transition: color 0.25s, border-color 0.25s;
}

.toc a:hover {
  color: var(--ink);
}

.toc a.is-active {
  color: var(--purple-700);
  border-left-color: var(--purple-600);
}

.prose {
  max-width: 72ch;
  font-size: 17.5px;
  line-height: 1.75;
  color: var(--ink-2);
}

.prose > * + * {
  margin-top: 1.1em;
}

.prose h2 {
  margin-top: 2.4em;
  padding-top: 1.2em;
  border-top: 1px solid var(--line);
  font-size: clamp(1.45rem, 2vw, 1.9rem);
  color: var(--ink);
  letter-spacing: -0.03em;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose ul {
  display: grid;
  gap: 10px;
}

.prose ul li {
  position: relative;
  padding-left: 28px;
}

.prose ul li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.68em;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--purple-500);
  transform: rotate(45deg);
}

.prose a {
  color: var(--purple-700);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--purple-200);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
  transition: text-decoration-color 0.2s;
}

.prose a:hover {
  text-decoration-color: currentColor;
}

.prose strong {
  color: var(--ink);
}

.prose .callout {
  padding: 22px 26px;
  border-radius: var(--r);
  background: var(--lavender);
  box-shadow: inset 4px 0 0 var(--purple-600);
  color: var(--ink);
  font-weight: 700;
  font-size: 1.12em;
  line-height: 1.5;
}

.prose .meta {
  font-family: var(--mono);
  font-size: 13.5px;
  color: var(--ink-3);
}

.next {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px 48px;
}

.next h2 {
  font-size: clamp(1.9rem, 3.4vw, 3.4rem);
  max-width: 20ch;
}

.next p {
  margin-top: 14px;
  color: var(--ink-2);
}

.next__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 24px;
}

.nf {
  min-height: calc(100svh - var(--nav-h));
  display: grid;
  align-items: center;
}

.nf__code {
  font-family: var(--mono);
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  color: var(--purple-700);
}

/* ---------- responsive ---------- */

@media (max-width: 1320px) and (min-width: 1081px) {
  .hero__actions .btn {
    padding: 0 20px;
    font-size: 15.5px;
  }

  .hero__actions {
    gap: 10px;
  }
}

@media (max-width: 1180px) {
  .nav__tel {
    display: none;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 1080px) {
  .hero {
    min-height: 0;
    padding-block: 48px 64px;
  }

  .hero__grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: clamp(2.6rem, 7vw, 4.2rem);
  }

  .hero__visual {
    justify-self: stretch;
    width: 100%;
    max-width: 760px;
  }

  .section-head,
  .split,
  .svc,
  .book,
  .page-head__grid {
    grid-template-columns: 1fr;
  }

  .section-head .lead {
    justify-self: start;
  }

  .split__aside {
    position: static;
  }

  .svc--flip .svc__copy {
    order: 0;
  }

  .timeline {
    grid-template-columns: 1fr 1fr;
    row-gap: 48px;
  }

  .timeline::before,
  .timeline::after {
    display: none;
  }

  .step__node {
    position: static;
    margin-bottom: 18px;
  }

  .timeline {
    padding-top: 0;
  }

  .doc {
    grid-template-columns: 1fr;
  }

  .toc {
    display: none;
  }
}

@media (max-width: 980px) {
  .nav__links,
  .nav__right {
    display: none;
  }

  .burger {
    display: grid;
  }
}

@media (max-width: 760px) {
  :root {
    --nav-h: 64px;
  }

  body {
    font-size: 16px;
  }

  .section {
    padding-block: 48px;
  }

  .process__foot p,
  .rd + .stage__note {
    display: none;
  }

  .direct,
  .how {
    padding: 18px;
  }

  .row-link {
    gap: 12px;
  }

  .row-link b {
    font-size: 14.5px;
    overflow-wrap: normal;
  }

  .btn {
    white-space: normal;
    text-align: center;
    line-height: 1.25;
    padding: 12px 20px;
  }

  .section-head .lead,
  .split__aside .lead,
  .footer__brand p,
  body[data-page="home"] .footer__cta {
    display: none;
  }

  .stage {
    --wipe-r: 20px;
  }

  .js [data-reveal="left"],
  .js [data-reveal="right"] {
    transform: translate3d(0, 24px, 0);
  }

  .brand__tile {
    width: 40px;
    height: 40px;
    border-radius: 11px;
  }

  .brand__tile img {
    height: 29px;
  }

  .hero {
    padding-block: 28px 44px;
  }

  .hero h1 {
    font-size: clamp(2.3rem, 10.6vw, 3.1rem);
  }

  .hero__actions .btn {
    flex: 1 1 100%;
  }

  .hero__trust {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 12px;
    font-size: 13px;
  }

  .hero__visual {
    margin-top: 4px;
  }

  /* phones: shorter, static-friendly composition */
  .hv {
    aspect-ratio: auto;
  }

  .hv-browser {
    position: relative;
    width: 100%;
    height: auto;
    border-radius: 14px;
  }

  .hv-bar {
    height: 30px;
    padding: 0 10px;
    gap: 8px;
  }

  .hv-dots i {
    width: 7px;
    height: 7px;
  }

  .hv-dots {
    gap: 5px;
  }

  .hv-url {
    height: 20px;
    font-size: 10.5px;
    max-width: none;
    padding: 0 8px;
    gap: 5px;
  }

  .hv-url svg {
    width: 10px;
    height: 10px;
  }

  .hv-status {
    font-size: 9px;
    padding: 3px 7px;
  }

  .hv-status .dot {
    width: 5px;
    height: 5px;
  }

  .hv-page {
    gap: 8px;
    padding: 10px 12px 12px;
  }

  .mk-nav {
    height: 24px;
  }

  .mk-logo {
    font-size: 11px;
    gap: 5px;
  }

  .mk-logo i {
    width: 15px;
    height: 15px;
    border-radius: 4px;
  }

  .mk-links {
    display: none;
  }

  .mk-btn {
    margin-left: auto;
    font-size: 10px;
    padding: 4px 10px;
  }

  .mk-hero {
    grid-template-columns: 1.1fr 1fr;
    gap: 10px;
    padding: 12px;
    border-radius: 10px;
  }

  .mk-kicker {
    font-size: 8.5px;
  }

  .mk-title {
    font-size: 17px;
    margin-top: 4px;
  }

  .mk-sub {
    display: none;
  }

  .mk-cta {
    font-size: 10px;
    padding: 5px 10px;
    margin-top: 8px;
  }

  .mk-book {
    padding: 9px;
    border-radius: 9px;
  }

  .mk-book__h {
    font-size: 10px;
  }

  .mk-book__h span {
    font-size: 8.5px;
  }

  .mk-days,
  .mk-slots {
    gap: 4px;
    margin-top: 6px;
  }

  .mk-days span,
  .mk-slots span {
    height: 18px;
    font-size: 9px;
    border-radius: 5px;
  }

  .mk-book__btn {
    height: 20px;
    margin-top: 6px;
    font-size: 9.5px;
  }

  .mk-cards,
  .mk-foot,
  .hv-wire,
  .hv-select,
  .hv-cursor,
  .hv-caption {
    display: none;
  }

  .hv-flow {
    position: relative;
    width: 94%;
    top: auto;
    margin: 12px 0 0 auto;
    padding: 12px;
    border-radius: 14px;
  }

  .hv-flow::before {
    background-size: 12px 12px;
  }

  .hv-flow__head {
    margin-bottom: 10px;
    gap: 8px;
  }

  .hv-flow__icon {
    width: 24px;
    height: 24px;
    border-radius: 7px;
  }

  .hv-flow__icon svg {
    width: 13px;
    height: 13px;
  }

  .hv-flow__title {
    font-size: 12.5px;
  }

  .hv-flow__title small {
    font-size: 9px;
  }

  .hv-flow__state {
    font-size: 9px;
    padding: 3px 7px;
  }

  .hv-flow__state .dot {
    width: 5px;
    height: 5px;
  }

  .hv-node {
    padding: 7px;
    border-radius: 9px;
  }

  .hv-node__ic {
    width: 22px;
    height: 22px;
    border-radius: 6px;
  }

  .hv-node__ic svg {
    width: 12px;
    height: 12px;
  }

  .hv-node b {
    margin-top: 6px;
    font-size: 9.5px;
  }

  .hv-node small,
  .hv-node__s,
  .hv-flow__log {
    display: none;
  }

  .hv-link {
    flex-basis: 8px;
  }

  .facts__grid {
    grid-template-columns: 1fr 1fr;
  }

  .fact {
    padding: 22px 0 22px 16px;
  }

  .fact:nth-child(odd) {
    border-left: 0;
    padding-left: 0;
  }

  .fact:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .fact__n {
    font-size: 2.2rem;
  }

  .fact__l {
    font-size: 13.5px;
  }

  .h2 {
    font-size: clamp(1.9rem, 8.4vw, 2.5rem);
  }

  .section-head {
    margin-bottom: 36px;
    gap: 16px;
  }

  .split {
    gap: 28px;
  }

  .split__aside .lead {
    margin-top: 16px;
  }

  .split__aside .link {
    display: none;
  }

  .svc + .svc {
    margin-top: 64px;
  }

  .svc {
    gap: 28px;
  }

  .svc__list {
    margin-top: 18px;
  }

  .svc__list li {
    padding: 10px 6px 10px 0;
    font-size: 14px;
    line-height: 1.3;
    gap: 8px;
  }

  .svc__cta {
    margin-top: 22px;
  }

  .stage {
    padding: 14px;
    border-radius: 20px;
  }

  .rd__bar {
    margin-bottom: 10px;
  }

  .rd__modes button {
    min-height: 36px;
    padding: 5px 11px;
    font-size: 12px;
  }

  .rd__modes em {
    display: none;
  }

  .rd__area {
    aspect-ratio: 1280 / 960;
  }

  .thread {
    grid-template-columns: 1fr;
  }

  .steps-mini {
    display: none;
  }

  .phone {
    grid-column: 1;
    width: 100%;
    max-width: 320px;
    border-radius: 34px;
    padding: 8px;
  }

  .phone__screen {
    border-radius: 27px;
  }

  .msg--hide-sm,
  .msg-meta--hide-sm {
    display: none;
  }

  /* timeline -> swipeable row on phones */
  .timeline {
    display: flex;
    gap: 12px;
    margin-inline: calc(var(--gutter) * -1);
    padding: 4px var(--gutter) 8px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
  }

  .timeline::-webkit-scrollbar {
    display: none;
  }

  .step {
    flex: 0 0 78%;
    scroll-snap-align: start;
    padding: 22px;
    border-radius: var(--r);
    background: #fff;
    box-shadow: inset 0 0 0 1px var(--line);
  }

  .step__node {
    width: 38px;
    height: 38px;
    margin-bottom: 14px;
  }

  .swipe-hint {
    display: flex !important;
  }

  .process__foot {
    margin-top: 28px;
    padding-top: 24px;
  }

  .process__foot .btn {
    width: 100%;
  }

  .qa summary {
    padding: 16px 0;
  }

  .pm {
    width: 30px;
    height: 30px;
  }

  .faq-aside__contact {
    display: none;
  }

  .includes ul {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .book-card__go .btn {
    width: 100%;
  }

  .book-card h3 {
    margin-top: 18px;
  }

  .footer__cta {
    padding-block: 48px 36px;
  }

  .footer__cta-actions .btn {
    width: 100%;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px 20px;
    padding-block: 32px;
  }

  .footer__brand img {
    height: 44px;
  }

  .footer__hide-sm {
    display: none;
  }

  .footer__bottom {
    padding-block: 20px 28px;
    font-size: 12.5px;
  }

  .page-head h1 {
    font-size: clamp(2.3rem, 11vw, 3.2rem);
  }

  .tabs {
    display: flex;
    width: 100%;
  }

  .tabs a {
    flex: 1;
    text-align: center;
    padding: 9px 10px;
    font-size: 13.5px;
  }

  .glance li {
    font-size: 14.5px;
    padding: 11px 0;
  }

  .prose {
    font-size: 16.5px;
  }

  .next .btn {
    width: 100%;
  }
}

.swipe-hint {
  display: none;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.swipe-hint svg {
  width: 16px;
  height: 16px;
}

@media (min-width: 2200px) {
  body {
    font-size: 18px;
  }
}

/* ---------- reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0s !important;
  }

  html.intro .loader {
    animation: loaderOut 0.3s ease 0.5s forwards !important;
  }

  .js [data-reveal],
  .js [data-reveal="left"],
  .js [data-reveal="right"],
  .js [data-reveal="scale"],
  .js [data-words] .w {
    transform: none;
  }

  .js [data-reveal="wipe"] {
    clip-path: none;
  }

  .js [data-reveal].is-in,
  .js [data-words].is-in .w {
    transition: opacity 0.6s ease;
  }

  .rd__frame {
    transition: none;
  }
}
