@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/assets/geist.woff2) format('woff2');
}

@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/geist-mono.woff2) format('woff2');
}

:root {
  --km-bg: #fff;
  --km-paper: #f5f2e9;
  --km-ink: #171717;
  --km-body: #5c5c55;
  --km-muted: #81817a;
  --km-line: #dfded7;
  --km-brand: #0f766e;
  --km-brand-dark: #102d29;
  --km-cyan: #8fe7dc;
  --km-lime: #d9ff57;
  --km-lime-ink: #253000;
  --km-source: #d88868;
  --km-source-soft: #f6e2d9;
  --km-radius: 16px;
  --km-shadow: 0 28px 80px -44px rgb(18 45 41 / .42);
  --km-sans: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --km-mono: 'Geist Mono', 'SF Mono', ui-monospace, monospace;
  --km-max: 1240px;
  --km-gutter: clamp(20px, 4vw, 48px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body.kvm {
  margin: 0;
  background: var(--km-bg);
  color: var(--km-ink);
  font-family: var(--km-sans);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.kvm a { color: inherit; text-decoration: none; }
.kvm button { font: inherit; }
.km-wrap { width: 100%; max-width: var(--km-max); margin: 0 auto; padding-inline: var(--km-gutter); }
.km-mono { font-family: var(--km-mono); }

body[data-migration-page='pipedrive-zoho'] {
  --km-source: #6f9f84;
  --km-source-soft: #e1eee6;
}

body[data-migration-page='import'] {
  --km-source: #4c7aaa;
  --km-source-soft: #e1ebf5;
}

.km-btn {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 19px;
  border: 1px solid transparent;
  border-radius: 10px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 560;
  white-space: nowrap;
  transition: transform .18s ease, background-color .18s ease, border-color .18s ease;
}

.km-btn:hover { transform: translateY(-1px); }
.kvm .km-btn--dark {
  background-color: #1b1b1b;
  background-image: none;
  color: #fff;
  box-shadow: inset 0 1px rgb(255 255 255 / .11);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
.kvm .km-btn--dark:hover { background-color: #050505; color: #fff; }
.km-btn--line { border-color: var(--km-line); background: #fff; }
.km-btn--sm { min-height: 34px; padding-inline: 13px; font-size: 13px; }
.km-btn__arrow { display: grid; width: 20px; height: 20px; place-items: center; border-radius: 50%; background: rgb(255 255 255 / .14); }

/* Shared navigation -------------------------------------------------------- */
.km-nav {
  position: sticky;
  top: 0;
  z-index: 80;
  border-bottom: 1px solid transparent;
  background: rgb(255 255 255 / .88);
  backdrop-filter: saturate(1.35) blur(14px);
  transition: border-color .2s ease;
}

.km-nav.scrolled { border-bottom-color: var(--km-line); }

.km-nav__in {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  height: 64px;
  align-items: center;
  gap: 18px;
}

.km-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  justify-self: start;
  font-size: 17px;
  font-weight: 650;
  letter-spacing: -.025em;
}

.km-brand svg { width: 26px; height: 26px; }
.km-nav__links { display: flex; align-items: center; gap: 2px; }

.km-nav__link,
.km-nav__trigger {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 13px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #66665f;
  cursor: pointer;
  font-size: 14px;
}

.kvm .km-nav__link,
.kvm .km-nav__trigger {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
}

.km-nav__link:hover,
.km-nav__trigger:hover { background: #f2f2ee; color: var(--km-ink); }
.km-nav__trigger[aria-expanded='true'] { background: #f2f2ee; }
.km-nav__actions { display: flex; align-items: center; justify-self: end; gap: 9px; }
.km-dropwrap { position: relative; }

.km-dropdown {
  position: absolute;
  top: calc(100% + 9px);
  left: 50%;
  width: 430px;
  overflow: hidden;
  border: 1px solid var(--km-line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 26px 70px -26px rgb(0 0 0 / .28);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -6px) scale(.985);
  transition: opacity .18s ease, transform .22s ease;
}

.km-dropdown.open { opacity: 1; pointer-events: auto; transform: translate(-50%, 0) scale(1); }
.km-dropdown__head { padding: 20px 24px 8px; color: #a0a099; font-size: 12px; }
.km-dropdown__body { display: block; padding: 5px 14px 15px; }

.km-dropdown__item {
  display: block;
  padding: 9px 10px;
  border-radius: 9px;
}

.km-dropdown__item:hover,
.km-dropdown__item[aria-current='page'] { background: #f5f5f1; }
.km-dropdown__item b { display: block; font-size: 14px; font-weight: 620; }
.km-dropdown__item span { display: block; margin-top: 2px; color: var(--km-muted); font-size: 12.5px; }
.km-dropdown__foot { display: flex; justify-content: space-between; gap: 18px; padding: 11px 24px; border-top: 1px solid var(--km-line); background: #f7f7f4; color: var(--km-muted); font-size: 12.5px; }
.km-dropdown__foot a { color: var(--km-ink); font-weight: 620; }

.km-burger {
  display: none;
  width: 40px;
  height: 40px;
  place-items: center;
  justify-self: end;
  border: 0;
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
}

.km-burger svg { width: 22px; height: 22px; }

.km-mobile {
  position: fixed;
  inset: 0;
  z-index: 100;
  overflow-y: auto;
  background: #fff;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity .2s ease, transform .2s ease;
}

.km-mobile.open { opacity: 1; pointer-events: auto; transform: none; }
.km-mobile__head { display: flex; height: 64px; align-items: center; justify-content: space-between; }
.km-mobile__close { display: grid; width: 40px; height: 40px; place-items: center; border: 0; background: transparent; cursor: pointer; }
.km-mobile__close svg { width: 22px; height: 22px; }
.km-mobile__body { padding-top: 20px; padding-bottom: 40px; }
.km-mobile__label { margin: 22px 0 8px; color: #a0a099; font-family: var(--km-mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }
.km-mobile__link { display: block; padding: 12px 0; border-bottom: 1px solid var(--km-line); font-size: 17px; font-weight: 560; }
.km-mobile__link span { display: block; color: var(--km-muted); font-size: 12.5px; font-weight: 400; }
.km-mobile__actions { display: grid; gap: 9px; margin-top: 28px; }

/* Hero -------------------------------------------------------------------- */
.km-hero {
  position: relative;
  overflow: clip;
  min-height: 800px;
  padding: clamp(72px, 9vw, 122px) 0 80px;
  isolation: isolate;
}

.km-hero::before {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 84% 12%, color-mix(in srgb, var(--km-source-soft) 76%, transparent), transparent 29%),
    radial-gradient(circle at 11% 48%, rgb(217 255 87 / .18), transparent 25%),
    linear-gradient(90deg, transparent calc(50% - .5px), rgb(23 23 23 / .06) 50%, transparent calc(50% + .5px));
  content: '';
  z-index: -2;
}

.km-hero__grid {
  display: grid;
  grid-template-columns: 1.04fr .96fr;
  gap: clamp(44px, 8vw, 116px);
  align-items: center;
}

.km-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 28px;
  color: var(--km-muted);
  font-family: var(--km-mono);
  font-size: 10.5px;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.km-eyebrow::before { width: 20px; height: 1px; background: currentColor; content: ''; }
.km-eyebrow--light { color: rgb(255 255 255 / .58); }

.km-hero h1 {
  margin: 0;
  max-width: 10.8ch;
  font-size: clamp(58px, 7vw, 103px);
  font-weight: 590;
  line-height: .88;
  letter-spacing: -.068em;
  text-wrap: balance;
}

.km-hero h1 em {
  color: var(--km-brand);
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 400;
  letter-spacing: -.075em;
}

.km-hero__lead {
  max-width: 49ch;
  margin: 28px 0 0;
  color: var(--km-body);
  font-size: clamp(17px, 1.7vw, 21px);
  line-height: 1.55;
  letter-spacing: -.015em;
}

.km-hero__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.km-trustline { display: flex; flex-wrap: wrap; gap: 10px 17px; margin-top: 19px; color: var(--km-muted); font-size: 12.5px; }
.km-trustline span { display: inline-flex; align-items: center; gap: 6px; }
.km-trustline span::before { width: 5px; height: 5px; border-radius: 50%; background: var(--km-brand); content: ''; }

.km-source-note {
  margin-top: 22px;
  color: #9a9a93;
  font-size: 10.5px;
  line-height: 1.5;
}

/* Hero migration visuals -------------------------------------------------- */
.km-visual {
  position: relative;
  min-height: 590px;
}

.km-visual__stamp {
  position: absolute;
  top: 0;
  right: 3%;
  padding: 8px 12px;
  border: 1px solid #202a0a;
  background: var(--km-lime);
  color: var(--km-lime-ink);
  font-family: var(--km-mono);
  font-size: 9px;
  letter-spacing: .1em;
  transform: rotate(3deg);
  z-index: 5;
}

.km-source-card,
.km-target-card,
.km-file-card {
  position: absolute;
  border: 1px solid color-mix(in srgb, var(--km-source) 28%, var(--km-line));
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--km-shadow);
}

.km-source-card {
  top: 55px;
  left: 0;
  width: 73%;
  padding: 28px;
  background: var(--km-source-soft);
  transform: rotate(-3deg);
}

.km-target-card {
  right: 0;
  bottom: 18px;
  width: 78%;
  padding: 30px;
  border-color: #213b37;
  background: var(--km-brand-dark);
  color: #fff;
  transform: rotate(1.8deg);
}

.km-card-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: rgb(23 23 23 / .55);
  font-family: var(--km-mono);
  font-size: 9px;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.km-target-card .km-card-label { color: rgb(255 255 255 / .48); }
.km-card-title { margin: 24px 0 6px; font-size: 26px; font-weight: 620; letter-spacing: -.045em; }
.km-card-copy { margin: 0; color: rgb(23 23 23 / .58); font-size: 12.5px; }
.km-target-card .km-card-copy { color: rgb(255 255 255 / .52); }

.km-data-list { display: grid; gap: 0; margin-top: 24px; }
.km-data-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 12px 0; border-top: 1px solid rgb(23 23 23 / .12); font-size: 12px; }
.km-data-row code { color: rgb(23 23 23 / .48); font-family: var(--km-mono); font-size: 9px; }
.km-target-card .km-data-row { border-color: rgb(255 255 255 / .11); }
.km-target-card .km-data-row code { color: var(--km-lime); }

.km-route-badge {
  position: absolute;
  top: 25.4%;
  left: 43%;
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  border: 6px solid #fff;
  border-radius: 50%;
  background: var(--km-lime);
  color: var(--km-lime-ink);
  font-size: 21px;
  box-shadow: 0 8px 30px rgb(0 0 0 / .12);
  transform: translate(-50%, -50%) rotate(-8deg);
  z-index: 4;
}

body[data-migration-page='salesforce'] .km-route-badge { top: 19.2%; left: 46.1%; }
body[data-migration-page='salesforce'] .km-source-card { top: -25px; }

.km-sources {
  position: absolute;
  inset: 24px 10px auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.km-source-mini {
  min-height: 190px;
  padding: 22px;
  border: 1px solid var(--km-line);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--km-shadow);
}

.km-source-mini:first-child { transform: rotate(-3deg); }
.km-source-mini:last-child { transform: translateY(26px) rotate(3deg); background: var(--km-source-soft); }
.km-source-mini h3 { margin: 18px 0 5px; font-size: 22px; letter-spacing: -.04em; }
.km-source-mini p { margin: 0; color: var(--km-muted); font-size: 11.5px; }
.km-merge-line { position: absolute; top: 236px; left: 50%; width: 2px; height: 88px; background: var(--km-line); }
.km-merge-line::after { position: absolute; bottom: -10px; left: -5px; width: 10px; height: 10px; border-right: 2px solid var(--km-brand); border-bottom: 2px solid var(--km-brand); content: ''; transform: rotate(45deg); }

.km-board-card {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 24px;
  border: 1px solid #21413b;
  border-radius: 20px;
  background: var(--km-brand-dark);
  color: #fff;
  box-shadow: var(--km-shadow);
}

.km-board { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 18px; }
.km-board__col { min-height: 132px; padding: 11px; border-radius: 10px; background: rgb(255 255 255 / .06); }
.km-board__col small { color: rgb(255 255 255 / .43); font-family: var(--km-mono); font-size: 8px; text-transform: uppercase; }
.km-board__deal { margin-top: 8px; padding: 8px; border-radius: 7px; background: rgb(255 255 255 / .1); font-size: 9px; }
.km-board__deal b { display: block; margin-top: 3px; color: var(--km-lime); font-weight: 500; }

.km-file-card {
  top: 26px;
  left: 0;
  width: 82%;
  overflow: hidden;
  transform: rotate(-2deg);
}

.km-file-card__bar { display: flex; align-items: center; justify-content: space-between; padding: 15px 18px; border-bottom: 1px solid var(--km-line); background: var(--km-source-soft); font-family: var(--km-mono); font-size: 9px; }
.km-sheet { width: 100%; border-collapse: collapse; font-size: 9.5px; }
.km-sheet th,
.km-sheet td { padding: 10px 12px; border-right: 1px solid var(--km-line); border-bottom: 1px solid var(--km-line); text-align: left; white-space: nowrap; }
.km-sheet th { color: var(--km-muted); font-family: var(--km-mono); font-size: 8px; font-weight: 400; text-transform: uppercase; }
.km-sheet td:last-child,
.km-sheet th:last-child { border-right: 0; }

.km-mapping-card {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 82%;
  padding: 25px;
  border: 1px solid #21413b;
  border-radius: 18px;
  background: var(--km-brand-dark);
  color: #fff;
  box-shadow: var(--km-shadow);
  transform: rotate(2deg);
}

.km-map-row { display: grid; grid-template-columns: 1fr 32px 1fr auto; gap: 8px; align-items: center; padding: 10px 0; border-top: 1px solid rgb(255 255 255 / .11); font-size: 10px; }
.km-map-row:first-of-type { margin-top: 17px; }
.km-map-row i { color: var(--km-lime); font-style: normal; text-align: center; }
.km-map-row code { padding: 3px 5px; border-radius: 4px; background: rgb(217 255 87 / .12); color: var(--km-lime); font-family: var(--km-mono); font-size: 8px; }

/* Strip and page sections -------------------------------------------------- */
.km-proofstrip { border-block: 1px solid var(--km-line); background: var(--km-paper); }
.km-proofstrip__in { display: grid; grid-template-columns: .78fr repeat(4, 1fr); }
.km-proofstrip__lead,
.km-proofstrip__item { display: grid; min-height: 104px; place-items: center; padding: 18px; border-right: 1px solid var(--km-line); text-align: center; }
.km-proofstrip__lead { justify-items: start; font-family: var(--km-mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; text-align: left; }
.km-proofstrip__item:last-child { border-right: 0; }
.km-proofstrip__item b { display: block; font-size: 13px; }
.km-proofstrip__item span { display: block; color: var(--km-muted); font-size: 10.5px; }

.km-section { padding: clamp(90px, 11vw, 160px) 0; }
.km-section--paper { background: var(--km-paper); }
.km-section--dark { background: var(--km-brand-dark); color: #fff; }

.km-section__head {
  display: grid;
  grid-template-columns: 1.08fr .72fr;
  gap: clamp(42px, 9vw, 128px);
  align-items: end;
  margin-bottom: clamp(50px, 7vw, 90px);
}

.km-h2 {
  margin: 0;
  max-width: 13ch;
  font-size: clamp(42px, 5.5vw, 76px);
  font-weight: 590;
  line-height: .95;
  letter-spacing: -.058em;
  text-wrap: balance;
}

.km-h2--wide { max-width: 18ch; }
.km-section__intro { margin: 0; color: var(--km-body); font-size: clamp(16px, 1.55vw, 19px); line-height: 1.6; }
.km-section--dark .km-section__intro { color: rgb(255 255 255 / .59); }

.km-values { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--km-line); }
.km-value { min-height: 300px; padding: 26px 24px; border-right: 1px solid var(--km-line); border-bottom: 1px solid var(--km-line); }
.km-value:last-child { border-right: 0; }
.km-value__n { color: var(--km-muted); font-family: var(--km-mono); font-size: 9px; }
.km-value__icon { display: grid; width: 72px; height: 72px; margin: 44px 0 24px; place-items: center; border: 1px solid var(--km-line); border-radius: 50%; background: #fff; color: var(--km-brand); font-family: var(--km-mono); font-size: 20px; font-weight: 600; line-height: 1; }
.km-value__icon i { font-style: normal; line-height: 1; }
.km-value:nth-child(1) .km-value__icon i { transform: translate(1px, 1px); }
.km-value:nth-child(2) .km-value__icon i { transform: translateY(2px); }
.km-value h3 { margin: 0 0 9px; font-size: 20px; letter-spacing: -.035em; }
.km-value p { margin: 0; color: var(--km-muted); font-size: 13.5px; line-height: 1.6; }
.km-value--accent .km-value__icon { border-color: var(--km-brand-dark); background: var(--km-brand-dark); color: var(--km-lime); }

.km-story {
  display: grid;
  grid-template-columns: .78fr 1.22fr;
  min-height: 580px;
  overflow: hidden;
  border: 1px solid var(--km-line);
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--km-shadow);
}

.km-story__copy { display: flex; flex-direction: column; padding: clamp(30px, 5vw, 58px); background: var(--km-cyan); }
.km-story__copy small { font-family: var(--km-mono); font-size: 9px; letter-spacing: .1em; text-transform: uppercase; }
.km-story__copy h3 { max-width: 10ch; margin: 28px 0 18px; font-size: clamp(38px, 4.8vw, 62px); line-height: .94; letter-spacing: -.058em; }
.km-story__copy p { max-width: 35ch; margin: 0; color: rgb(16 45 41 / .65); }
.km-story__list { display: grid; gap: 0; margin-top: auto; }
.km-story__list span { display: flex; justify-content: space-between; gap: 18px; padding: 13px 0; border-top: 1px solid rgb(16 45 41 / .16); font-size: 12px; }
.km-story__list i { font-style: normal; font-family: var(--km-mono); font-size: 9px; }
.km-story__screen { min-width: 0; padding: clamp(28px, 5vw, 56px); background: #f7f7f3; }

.km-screen-title { display: flex; align-items: center; justify-content: space-between; gap: 20px; font-weight: 650; }
.km-screen-title span { padding: 5px 8px; border-radius: 6px; background: #ecf1cb; color: #6b7600; font-family: var(--km-mono); font-size: 8px; font-weight: 400; }
.km-screen-flow { display: grid; gap: 12px; margin-top: 46px; }
.km-screen-node { display: grid; grid-template-columns: 44px 1fr auto; gap: 14px; align-items: center; padding: 17px; border: 1px solid var(--km-line); border-radius: 12px; background: #fff; }
.km-screen-node i { display: grid; width: 36px; height: 36px; place-items: center; border-radius: 10px; background: var(--km-source-soft); color: var(--km-source); font-family: var(--km-mono); font-size: 9px; font-style: normal; }
.km-screen-node b { display: block; font-size: 13px; }
.km-screen-node small { display: block; color: var(--km-muted); font-size: 10px; }
.km-screen-node code { color: var(--km-brand); font-family: var(--km-mono); font-size: 8px; }
.km-screen-arrow { margin-left: 20px; color: var(--km-brand); font-family: var(--km-mono); font-size: 10px; }

.km-map-table { --km-map-columns: minmax(0, 1fr) 44px minmax(0, 1fr) minmax(0, 1.4fr); overflow: hidden; border: 1px solid rgb(255 255 255 / .15); border-radius: 18px; }
.km-map-table__bar { display: grid; grid-template-columns: var(--km-map-columns); align-items: center; padding: 16px 20px; border-bottom: 1px solid rgb(255 255 255 / .13); background: rgb(255 255 255 / .05); color: rgb(255 255 255 / .55); font-family: var(--km-mono); font-size: 9px; text-align: left; }
.km-map-table__bar span:nth-child(2) { grid-column: 3; }
.km-map-table__bar span:nth-child(3) { grid-column: 4; }
.km-map-table__row { display: grid; grid-template-columns: var(--km-map-columns); align-items: center; min-height: 61px; padding: 0 20px; border-bottom: 1px solid rgb(255 255 255 / .11); font-size: 12.5px; }
.km-map-table__row:last-child { border-bottom: 0; }
.km-map-table__row i { color: var(--km-lime); font-style: normal; text-align: center; }
.km-map-table__row span:last-child { color: rgb(255 255 255 / .46); font-size: 11.5px; }

.km-stages { display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1px solid rgb(255 255 255 / .15); }
.km-stage { min-height: 330px; padding: 26px 22px; border-right: 1px solid rgb(255 255 255 / .15); }
.km-stage:last-child { border-right: 0; }
.km-stage__n { color: var(--km-lime); font-family: var(--km-mono); font-size: 9px; }
.km-stage h3 { margin: 62px 0 10px; font-size: 20px; }
.km-stage p { margin: 0; color: rgb(255 255 255 / .52); font-size: 13px; line-height: 1.58; }

.km-faqs { max-width: 850px; }
.km-faq { border-bottom: 1px solid var(--km-line); }
.km-faq:first-child { border-top: 1px solid var(--km-line); }
.km-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 19px 0; cursor: pointer; font-size: 16px; font-weight: 600; list-style: none; }
.km-faq summary::-webkit-details-marker { display: none; }
.km-faq summary::after { content: '+'; color: var(--km-muted); font-family: var(--km-mono); font-size: 18px; font-weight: 400; }
.km-faq[open] summary::after { content: '−'; }
.km-faq__answer { max-width: 70ch; padding: 0 40px 19px 0; color: var(--km-body); font-size: 14px; line-height: 1.65; }

.km-final {
  position: relative;
  overflow: hidden;
  padding: clamp(96px, 13vw, 184px) 0;
  background: var(--km-lime);
  color: var(--km-lime-ink);
  text-align: center;
}

.km-final::before,
.km-final::after { position: absolute; border: 1px solid rgb(37 48 0 / .18); border-radius: 50%; content: ''; }
.km-final::before { top: -320px; left: -180px; width: 620px; height: 620px; }
.km-final::after { right: -240px; bottom: -400px; width: 760px; height: 760px; }
.km-final h2 { max-width: 14ch; margin: 0 auto; font-size: clamp(48px, 7vw, 98px); font-weight: 590; line-height: .9; letter-spacing: -.064em; }
.km-final p { max-width: 50ch; margin: 26px auto 0; color: rgb(37 48 0 / .66); font-size: 17px; }
.km-final__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 34px; }
.km-final .km-btn--line { border-color: rgb(37 48 0 / .28); background: transparent; }
.km-final__micro { font-family: var(--km-mono); font-size: 9.5px !important; letter-spacing: .06em; text-transform: uppercase; }

/* Footer ------------------------------------------------------------------ */
.km-footer { border-top: 1px solid var(--km-line); background: #fff; }
.km-footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; padding: 52px 0; }
.km-footer__brand p { max-width: 31ch; margin: 14px 0 0; color: var(--km-muted); font-size: 13px; }
.km-footer__col h4 { margin: 0 0 13px; color: #a1a19a; font-family: var(--km-mono); font-size: 10px; font-weight: 400; letter-spacing: .1em; text-transform: uppercase; }
.km-footer__col a { display: block; padding: 4px 0; color: var(--km-muted); font-size: 13.5px; }
.km-footer__col a:hover { color: var(--km-ink); }
.km-footer__bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; padding: 18px 0; border-top: 1px solid var(--km-line); color: #a0a099; font-size: 11px; }
.km-trademark { max-width: 82ch; margin: -26px 0 28px; color: #aaa9a2; font-size: 9.5px; line-height: 1.5; }

/* Readability rules shared by every migration page. */
body.kvm { font-size: 16px; }
.km-dropdown__head { font-size: 13px; }
.km-mobile__label { font-size: 11.5px; }
.km-eyebrow { font-size: 12px; line-height: 1.25; }
.km-trustline { font-size: 13.5px; }
.km-source-note { font-size: 12px; }
.km-visual__stamp,
.km-card-label { font-size: 10.5px; }
.km-card-copy { font-size: 14px; }
.km-data-row { font-size: 14px; }
.km-data-row code { font-size: 11px; }
.km-source-mini p { font-size: 13.5px; }
.km-board__col small { font-size: 10px; }
.km-board__deal { font-size: 11px; }
.km-file-card__bar { font-size: 10.5px; }
.km-sheet { font-size: 11px; }
.km-sheet th { font-size: 10px; }
.km-map-row { font-size: 12px; }
.km-map-row code { font-size: 10px; }
.km-proofstrip__lead { font-size: 11.5px; }
.km-proofstrip__item b { font-size: 14px; }
.km-proofstrip__item span { font-size: 12px; }
.km-value__n { font-size: 11px; }
.km-value p { font-size: 15px; }
.km-story__copy small { font-size: 11px; }
.km-story__list span { font-size: 13.5px; }
.km-story__list i { font-size: 10.5px; }
.km-screen-title span { font-size: 10.5px; }
.km-screen-node i { font-size: 10.5px; }
.km-screen-node b { font-size: 14px; }
.km-screen-node small { font-size: 12px; }
.km-screen-node code { font-size: 10.5px; }
.km-screen-arrow { font-size: 11.5px; }
.km-map-table__bar { font-size: 10.5px; }
.km-map-table__row { font-size: 14px; }
.km-map-table__row span:last-child {
  color: rgb(255 255 255 / .6);
  font-size: 13px;
}
.km-stage__n { font-size: 11px; }
.km-stage p { color: rgb(255 255 255 / .64); font-size: 14.5px; }
.km-final__micro { font-size: 11px !important; }
.km-footer__brand p { font-size: 14.5px; }
.km-footer__col h4 { font-size: 11.5px; }
.km-footer__col a { font-size: 14.5px; }
.km-footer__bar { font-size: 12.5px; }
.km-trademark { font-size: 11.5px; }

.km-reveal { opacity: 0; transform: translateY(14px); transition: opacity .55s ease, transform .55s ease; }
.km-reveal.in { opacity: 1; transform: none; }

@media (max-width: 940px) {
  .km-nav__links,
  .km-nav__actions { display: none; }
  .km-nav__in { grid-template-columns: 1fr auto; }
  .km-burger { display: grid; }
  .km-hero__grid,
  .km-section__head { grid-template-columns: 1fr; }
  .km-hero__copy { max-width: 760px; }
  .km-visual { width: min(100%, 680px); margin: 20px auto 0; }
  .km-story { grid-template-columns: 1fr; }
  .km-story__copy { min-height: 430px; }
  .km-values { grid-template-columns: 1fr 1fr; }
  .km-value:nth-child(2) { border-right: 0; }
  .km-value:last-child { grid-column: 1 / -1; }
  .km-stages { grid-template-columns: 1fr 1fr; }
  .km-stage:nth-child(2) { border-right: 0; }
  .km-stage:nth-child(-n+2) { border-bottom: 1px solid rgb(255 255 255 / .15); }
  .km-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .km-hero { min-height: auto; padding-top: 58px; }
  .km-hero h1 { font-size: clamp(50px, 15.5vw, 72px); }
  .km-hero__actions .km-btn { width: 100%; }
  .km-visual { min-height: 570px; margin-inline: -4px; }
  .km-source-card { width: 88%; padding: 22px; }
  .km-target-card { width: 91%; padding: 23px; }
  .km-route-badge { top: 25%; left: 91%; width: 56px; height: 56px; border-width: 5px; }
  body[data-migration-page='salesforce'] .km-route-badge { top: 16%; left: 91%; }
  .km-sources { inset-inline: 0; }
  .km-source-mini { min-height: 174px; padding: 17px; }
  .km-source-mini h3 { font-size: 18px; }
  .km-board-card { padding: 18px; }
  .km-board { grid-template-columns: 1fr 1fr 1fr; }
  .km-file-card { width: 94%; }
  .km-mapping-card { width: 93%; padding: 20px; }
  .km-map-row { grid-template-columns: 1fr 24px 1fr; }
  .km-map-row code { display: none; }
  .km-proofstrip__in { grid-template-columns: 1fr 1fr; }
  .km-proofstrip__lead { grid-column: 1 / -1; border-right: 0; border-bottom: 1px solid var(--km-line); justify-items: center; text-align: center; }
  .km-proofstrip__item { border-bottom: 1px solid var(--km-line); }
  .km-proofstrip__item:nth-child(3),
  .km-proofstrip__item:nth-child(5) { border-right: 0; }
  .km-values { grid-template-columns: 1fr; }
  .km-value,
  .km-value:nth-child(2) { min-height: auto; padding: 25px 0 35px; border-right: 0; }
  .km-value:last-child { grid-column: auto; }
  .km-value__icon { width: 64px; height: 64px; margin: 30px 0 20px; font-size: 18px; }
  .km-story { border-radius: 16px; }
  .km-story__copy { min-height: 440px; }
  .km-story__screen { padding: 23px 16px; }
  .km-screen-node { grid-template-columns: 38px 1fr; }
  .km-screen-node code { display: none; }
  .km-map-table { overflow-x: auto; }
  .km-map-table__bar,
  .km-map-table__row { min-width: 720px; }
  .km-stages { grid-template-columns: 1fr; }
  .km-stage { min-height: auto; padding: 25px 0 34px; border-right: 0; border-bottom: 1px solid rgb(255 255 255 / .15); }
  .km-stage h3 { margin-top: 34px; }
  .km-final__actions .km-btn { width: 100%; }
  .km-footer__grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .km-reveal { opacity: 1; transform: none; transition: none; }
  .km-btn,
  .km-dropdown,
  .km-mobile { transition: none; }
}

:focus-visible { outline: 3px solid color-mix(in srgb, var(--km-brand) 34%, transparent); outline-offset: 2px; }
