/* MarginCRM public site. No external fonts or scripts (CSP: self only). */

:root {
  --blue: #2f5fd0;
  --blue-600: #244cad;
  --blue-400: #3a6be0;
  --blue-50: #eef3fd;
  --blue-100: #dce6fb;
  --ink: #111a2e;
  --ink-2: #3b4559;
  --ink-3: #66708a;
  --line: #e3e8f2;
  --line-2: #d3dbea;
  --bg: #ffffff;
  --bg-soft: #f6f8fc;
  --navy: #0b1530;
  --navy-2: #13204a;
  --green: #12805c;
  --green-50: #e7f6ef;
  --amber: #b26b00;
  --amber-50: #fdf3e2;
  --red: #c2403a;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow-sm: 0 1px 2px rgba(17, 26, 46, 0.06), 0 1px 3px rgba(17, 26, 46, 0.06);
  --shadow: 0 12px 32px -12px rgba(17, 26, 46, 0.18), 0 2px 6px rgba(17, 26, 46, 0.05);
  --shadow-lg: 0 40px 80px -30px rgba(17, 26, 46, 0.35), 0 10px 30px -10px rgba(17, 26, 46, 0.12);
  --max: 1180px;
  --font:
    ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial,
    sans-serif;
  --mono: ui-monospace, "SFMono-Regular", "Cascadia Mono", Consolas, monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img,
svg {
  display: block;
  max-width: 100%;
}
a {
  color: var(--blue);
  text-decoration: none;
}
a:hover {
  color: var(--blue-600);
}
h1,
h2,
h3,
h4 {
  margin: 0;
  line-height: 1.15;
  text-wrap: balance;
  letter-spacing: -0.022em;
  color: var(--ink);
}
h1 {
  font-size: clamp(38px, 5.6vw, 64px);
  font-weight: 750;
  letter-spacing: -0.035em;
}
h2 {
  font-size: clamp(30px, 3.8vw, 44px);
  font-weight: 720;
  letter-spacing: -0.03em;
}
h3 {
  font-size: 20px;
  font-weight: 650;
}
p {
  margin: 0;
}
:focus-visible {
  outline: 3px solid rgba(47, 95, 208, 0.45);
  outline-offset: 2px;
  border-radius: 6px;
}
.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus {
  left: 16px;
  top: 12px;
  z-index: 100;
  background: #fff;
  padding: 8px 14px;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}
.section {
  padding: 104px 0;
}
.section.tight {
  padding: 72px 0;
}
.section.soft {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 14px;
}
.lede {
  text-wrap: pretty;
  font-size: clamp(18px, 1.6vw, 20px);
  color: var(--ink-2);
  line-height: 1.6;
}
.section-head {
  max-width: 760px;
  margin: 0 auto 60px;
  text-align: center;
}
.section-head .lede {
  margin-top: 18px;
}
.muted {
  color: var(--ink-3);
}

/* ------------------------------------------------------------------ buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  padding: 0 22px;
  border-radius: 10px;
  font-weight: 620;
  font-size: 16px;
  border: 1px solid transparent;
  transition:
    background 0.15s,
    border-color 0.15s,
    box-shadow 0.15s,
    transform 0.15s;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(180deg, var(--blue-400), var(--blue));
  color: #fff;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.2) inset,
    0 6px 16px -6px rgba(47, 95, 208, 0.7);
}
.btn-primary:hover {
  color: #fff;
  background: linear-gradient(180deg, var(--blue), var(--blue-600));
  transform: translateY(-1px);
}
.btn-ghost {
  background: #fff;
  color: var(--ink);
  border-color: var(--line-2);
  box-shadow: var(--shadow-sm);
}
.btn-ghost:hover {
  color: var(--ink);
  border-color: #b9c4da;
}
.btn-light {
  background: #fff;
  color: var(--navy);
}
.btn-light:hover {
  color: var(--navy);
  transform: translateY(-1px);
}
.btn-outline-light {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}
.btn-outline-light:hover {
  color: #fff;
  border-color: #fff;
}
.btn-sm {
  height: 38px;
  padding: 0 16px;
  font-size: 15px;
  border-radius: 9px;
}
.arrow::after {
  content: "\2192";
  transition: transform 0.15s;
}
.btn:hover .arrow::after,
a.link-arrow:hover::after {
  transform: translateX(3px);
}
a.link-arrow {
  font-weight: 620;
  display: inline-flex;
  gap: 6px;
  align-items: center;
}
a.link-arrow::after {
  content: "\2192";
  transition: transform 0.15s;
}

/* ------------------------------------------------------------------ header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.site-header.scrolled {
  border-bottom-color: var(--line);
}
.nav {
  display: flex;
  align-items: center;
  height: 70px;
  gap: 36px;
}
.brand img {
  height: 32px;
  width: auto;
}
.nav-links {
  display: flex;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  display: block;
  padding: 8px 14px;
  border-radius: 8px;
  color: var(--ink-2);
  font-weight: 560;
  font-size: 15.5px;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--ink);
  background: var(--bg-soft);
}
.nav-cta {
  margin-left: auto;
  display: flex;
  gap: 10px;
  align-items: center;
}
.nav-cta .signin {
  color: var(--ink-2);
  font-weight: 560;
  font-size: 15.5px;
  padding: 8px 12px;
}
.nav-toggle {
  display: none;
  margin-left: auto;
  background: none;
  border: 0;
  padding: 10px;
  cursor: pointer;
  color: var(--ink);
}
.nav-toggle svg {
  display: block;
  width: 24px;
  height: 24px;
}
.nav-toggle .i-close,
.site-header.open .nav-toggle .i-open {
  display: none;
}
.site-header.open .nav-toggle .i-close {
  display: inline;
}
/* desktop: the menu wrapper takes no box, links and buttons sit in the nav row */
.nav-menu {
  display: contents;
}

/* phones and tablets: the menu is a panel that drops over the page. The header row
   never changes size, so the logo and the menu button stay put. */
@media (max-width: 920px) {
  .nav-toggle {
    display: block;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
  }
  .site-header.open {
    background: #fff;
    border-bottom-color: var(--line);
  }
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 30px -18px rgba(11, 21, 48, 0.28);
    padding: 8px 24px 22px;
    max-height: calc(100vh - 70px);
    max-height: calc(100dvh - 70px);
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .site-header.open .nav-menu {
    display: block;
  }
  .nav-menu .nav-links {
    flex-direction: column;
  }
  .nav-menu .nav-links a {
    padding: 12px 6px;
    font-size: 18px;
  }
  .nav-menu .nav-cta {
    flex-wrap: wrap;
    margin: 14px 0 0;
    padding-top: 16px;
    border-top: 1px solid var(--line);
  }
  .nav-menu .nav-cta .signin {
    width: 100%;
    padding: 10px 6px;
    font-size: 18px;
  }
  .nav-menu .nav-cta .btn {
    flex: 1 1 140px;
    height: 46px;
  }
  /* the page behind an open menu does not scroll */
  html.menu-open,
  html.menu-open body {
    overflow: hidden;
  }
}

/* ------------------------------------------------------------------ hero */
.hero {
  position: relative;
  padding: 84px 0 0;
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(900px 480px at 85% -10%, rgba(58, 107, 224, 0.16), transparent 70%),
    radial-gradient(700px 420px at 0% 10%, rgba(18, 128, 92, 0.08), transparent 70%),
    linear-gradient(180deg, #fbfcff, #fff 60%);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(17, 26, 46, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 26, 46, 0.045) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 30%, transparent 75%);
}
.hero-copy {
  text-align: center;
  max-width: 880px;
  margin: 0 auto;
}
.hero-copy h1 .grad {
  background: linear-gradient(100deg, var(--blue-400), #1d3f99 60%, var(--green));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-copy .lede {
  margin: 24px auto 0;
  max-width: 680px;
}
.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 34px;
  flex-wrap: wrap;
}
.hero-note {
  margin-top: 16px;
  font-size: 14px;
  color: var(--ink-3);
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 6px;
  border-radius: 99px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  font-size: 14px;
  color: var(--ink-2);
  margin-bottom: 26px;
}
.pill b {
  background: var(--blue-50);
  color: var(--blue);
  border-radius: 99px;
  padding: 2px 10px;
  font-size: 12.5px;
  font-weight: 700;
}
.hero-shot {
  margin: 64px auto 0;
  max-width: 1120px;
  position: relative;
}
.hero-shot::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 120px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), #fff);
  pointer-events: none;
}

/* ------------------------------------------------------------------ app window mockups */
.window {
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  font-size: 13px;
  line-height: 1.4;
  color: var(--ink);
  text-align: left;
}
.window-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 38px;
  padding: 0 14px;
  background: #f3f5fa;
  border-bottom: 1px solid var(--line);
}
.window-bar i {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #dfe3ec;
}
.window-bar .url {
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 3px 60px;
  font-size: 12px;
  color: var(--ink-3);
}
.app {
  display: grid;
  grid-template-columns: 196px 1fr;
  min-height: 470px;
}
.app-side {
  background: #0f1a38;
  color: #b9c3dc;
  padding: 16px 12px;
  font-size: 13px;
}
.app-side .logo {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-weight: 700;
  padding: 0 8px 16px;
  font-size: 14px;
}
.app-side .logo svg {
  width: 22px;
  height: 22px;
}
.app-side ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.app-side li {
  padding: 7px 10px;
  border-radius: 7px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.app-side li::before {
  content: "";
  width: 14px;
  height: 14px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.14);
}
.app-side li.on {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}
.app-side li.on::before {
  background: var(--blue-400);
}
.app-side .sep {
  margin: 14px 10px 6px;
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6f7ba0;
}
.app-side .sep::before {
  display: none;
}
.app-main {
  padding: 18px 22px;
  background: #fafbfe;
  min-width: 0;
}
.app-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  gap: 12px;
}
.app-top h4 {
  font-size: 18px;
  letter-spacing: -0.01em;
}
.app-top .tools {
  display: flex;
  gap: 8px;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 7px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 12px;
  color: var(--ink-2);
  white-space: nowrap;
}
.chip.blue {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}
.kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}
.kpi {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 11px 13px;
}
.kpi span {
  display: block;
  font-size: 11.5px;
  color: var(--ink-3);
}
.kpi b {
  font-size: 19px;
  letter-spacing: -0.02em;
}
.kpi em {
  font-style: normal;
  font-size: 11.5px;
  color: var(--green);
  margin-left: 6px;
}
.board {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.col {
  background: #eff2f8;
  border-radius: 10px;
  padding: 10px;
}
.col-head {
  display: flex;
  justify-content: space-between;
  font-weight: 650;
  font-size: 12px;
  margin-bottom: 4px;
}
.col-head small {
  color: var(--ink-3);
  font-weight: 500;
}
.col-bar {
  height: 3px;
  border-radius: 3px;
  margin-bottom: 10px;
}
.deal {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 9px 10px;
  margin-bottom: 8px;
  box-shadow: 0 1px 1px rgba(17, 26, 46, 0.04);
}
.deal b {
  display: block;
  font-size: 12.5px;
  font-weight: 620;
}
.deal .meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 6px;
  color: var(--ink-3);
  font-size: 11.5px;
}
.deal .amt {
  color: var(--ink);
  font-weight: 650;
}
.av {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  font-size: 9.5px;
  font-weight: 700;
  color: #fff;
}
.tag {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 650;
  padding: 1px 7px;
  border-radius: 99px;
}
.tag.g {
  background: var(--green-50);
  color: var(--green);
}
.tag.a {
  background: var(--amber-50);
  color: var(--amber);
}
.tag.b {
  background: var(--blue-50);
  color: var(--blue);
}
.tag.r {
  background: #fcebea;
  color: var(--red);
}
.deal.lift {
  transform: rotate(-2deg) translateY(-2px);
  box-shadow: var(--shadow);
  border-color: var(--blue-100);
}

/* small panels used in feature rows */
.panel {
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 20px;
  font-size: 13.5px;
  line-height: 1.45;
}
.panel h5 {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 650;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.bars {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  height: 150px;
  padding-top: 10px;
  border-bottom: 1px solid var(--line);
}
.bars div {
  flex: 1;
  border-radius: 5px 5px 0 0;
  background: linear-gradient(180deg, var(--blue-400), var(--blue));
  position: relative;
}
.bars div.lo {
  background: var(--blue-100);
}
.bars-x {
  display: flex;
  gap: 10px;
  font-size: 11px;
  color: var(--ink-3);
  padding-top: 6px;
}
.bars-x span {
  flex: 1;
  text-align: center;
}
.rows {
  display: grid;
  gap: 8px;
}
.row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 11px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
}
.row .grow {
  flex: 1;
  min-width: 0;
}
.row small {
  display: block;
  color: var(--ink-3);
  font-size: 12px;
}
.meter {
  height: 7px;
  border-radius: 7px;
  background: #edf0f6;
  overflow: hidden;
  margin-top: 6px;
}
.meter i {
  display: block;
  height: 100%;
  border-radius: 7px;
  background: var(--green);
}
.funnel {
  display: grid;
  gap: 7px;
}
.funnel div {
  height: 30px;
  border-radius: 7px;
  background: linear-gradient(90deg, var(--blue), var(--blue-400));
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  margin: 0 auto;
}
.flow {
  display: grid;
  gap: 0;
  justify-items: center;
}
.flow .step {
  width: 100%;
  display: flex;
  gap: 12px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 11px 13px;
  background: #fff;
}
.flow .step .ic {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  flex: none;
  font-weight: 700;
  font-size: 13px;
}
.flow .line {
  width: 2px;
  height: 16px;
  background: var(--line-2);
}
.ai-card {
  border: 1px solid #d9d2fb;
  background: linear-gradient(180deg, #faf8ff, #fff);
  border-radius: 12px;
  padding: 14px;
}
.ai-card .who {
  display: flex;
  gap: 8px;
  align-items: center;
  font-weight: 650;
  font-size: 12.5px;
  color: #5b3fd1;
  margin-bottom: 8px;
}
.ai-card .acts {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

/* ------------------------------------------------------------------ trust strip */
.strip {
  padding: 40px 0 8px;
}
.strip p {
  text-align: center;
  font-size: 14px;
  color: var(--ink-3);
  font-weight: 560;
}
.strip ul {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 34px;
}
.strip li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 620;
  color: var(--ink-2);
  font-size: 15px;
}
.strip li svg {
  width: 20px;
  height: 20px;
  color: var(--blue);
}

/* ------------------------------------------------------------------ grids and cards */
.grid {
  display: grid;
  gap: 22px;
}
.g2 {
  grid-template-columns: repeat(2, 1fr);
}
.g3 {
  grid-template-columns: repeat(3, 1fr);
}
.g4 {
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 980px) {
  .g3,
  .g4 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .g2,
  .g3,
  .g4 {
    grid-template-columns: 1fr;
  }
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  transition:
    border-color 0.2s,
    box-shadow 0.2s,
    transform 0.2s;
}
a.card {
  color: inherit;
  display: block;
}
a.card:hover {
  border-color: var(--blue-100);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.card h3 {
  margin: 18px 0 8px;
}
.card p {
  color: var(--ink-2);
  font-size: 15.5px;
}
.icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--blue-50);
  color: var(--blue);
}
.icon svg {
  width: 23px;
  height: 23px;
}
.icon.green {
  background: var(--green-50);
  color: var(--green);
}
.icon.amber {
  background: var(--amber-50);
  color: var(--amber);
}
.icon.violet {
  background: #f1edff;
  color: #5b3fd1;
}
.icon.rose {
  background: #fdeef0;
  color: #c0344a;
}
.icon.teal {
  background: #e5f6f8;
  color: #0e7887;
}
.card ul,
.checks {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  display: grid;
  gap: 9px;
}
.card li,
.checks li {
  position: relative;
  padding-left: 26px;
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.5;
}
.card li::before,
.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--blue-50)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%232f5fd0' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center/16px no-repeat;
}

/* ------------------------------------------------------------------ journey (leads to cash) */
.journey {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  counter-reset: j;
  position: relative;
}
.journey::before {
  content: "";
  position: absolute;
  top: 27px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, var(--blue-100), var(--blue), var(--green));
  z-index: 0;
}
.journey li {
  list-style: none;
  text-align: center;
  padding: 0 14px;
  position: relative;
  z-index: 1;
}
.journey .dot {
  width: 56px;
  height: 56px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--blue);
  display: grid;
  place-items: center;
  color: var(--blue);
  box-shadow: 0 0 0 6px var(--bg-soft);
}
.journey li:last-child .dot {
  border-color: var(--green);
  color: var(--green);
}
.journey .dot svg {
  width: 24px;
  height: 24px;
}
.journey h3 {
  font-size: 17px;
  margin-bottom: 6px;
}
.journey p {
  font-size: 14.5px;
  color: var(--ink-2);
}
@media (max-width: 860px) {
  .journey {
    grid-template-columns: 1fr;
    gap: 26px;
    padding: 0;
  }
  .journey::before {
    display: none;
  }
  .journey li {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 0 18px;
    text-align: left;
  }
  .journey .dot {
    grid-row: span 2;
    margin: 0;
  }
}

/* ------------------------------------------------------------------ feature rows */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 72px;
  align-items: center;
}
.feature-row + .feature-row {
  margin-top: 120px;
}
.feature-row.flip .fr-copy {
  order: 2;
}
.fr-copy h2 {
  font-size: clamp(28px, 3.2vw, 38px);
}
.fr-copy .lede {
  margin-top: 16px;
}
.fr-copy .checks {
  margin-top: 26px;
}
.fr-copy .link-arrow {
  margin-top: 28px;
}
.fr-visual {
  position: relative;
}
.fr-visual .backdrop {
  position: absolute;
  inset: -28px -28px -28px -28px;
  border-radius: 28px;
  background: linear-gradient(135deg, var(--blue-50), #f4f7fd 55%, var(--green-50));
  z-index: -1;
}
.fr-visual {
  isolation: isolate;
}
@media (max-width: 920px) {
  .feature-row {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .feature-row.flip .fr-copy {
    order: 0;
  }
  .feature-row + .feature-row {
    margin-top: 96px;
  }
  .fr-visual .backdrop {
    inset: -14px;
  }
}

/* ------------------------------------------------------------------ stats */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.stat {
  padding: 26px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.stat b {
  display: block;
  font-size: 36px;
  font-weight: 750;
  letter-spacing: -0.03em;
  color: #fff;
}
.stat span {
  color: #aab5d3;
  font-size: 15px;
}
@media (max-width: 860px) {
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ------------------------------------------------------------------ dark band */
.dark {
  background:
    radial-gradient(800px 400px at 90% 0%, rgba(58, 107, 224, 0.35), transparent 70%),
    radial-gradient(600px 400px at 0% 100%, rgba(18, 128, 92, 0.22), transparent 70%), var(--navy);
  color: #c9d2ea;
}
.dark h2,
.dark h3 {
  color: #fff;
}
.dark .eyebrow {
  color: #8fb0ff;
}
.dark .lede {
  color: #b7c2df;
}
.dark .card {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
}
.dark .card p,
.dark .card li {
  color: #b7c2df;
}
.dark .icon {
  background: rgba(143, 176, 255, 0.14);
  color: #a9c1ff;
}
.dark .card li::before {
  background-color: rgba(143, 176, 255, 0.18);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%23a9c1ff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* ------------------------------------------------------------------ logos / migrate */
.migrate {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 920px) {
  .migrate {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}
.from-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.from-list div {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  font-weight: 620;
  box-shadow: var(--shadow-sm);
}
.from-list div::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px var(--green-50);
}

/* ------------------------------------------------------------------ industries */
.industry {
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #fff;
}
.industry h3 {
  font-size: 17px;
  margin: 14px 0 6px;
}
.industry p {
  font-size: 14.5px;
  color: var(--ink-2);
}

/* ------------------------------------------------------------------ pricing */
.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: stretch;
}
@media (max-width: 960px) {
  .plans {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin: 0 auto;
  }
}
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: 18px;
  padding: 32px;
}
.plan.featured {
  border: 2px solid var(--blue);
  box-shadow: var(--shadow-lg);
}
.plan .badge {
  position: absolute;
  top: -13px;
  left: 32px;
  background: var(--blue);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 4px 12px;
  border-radius: 99px;
}
.plan h3 {
  font-size: 22px;
}
.plan .for {
  color: var(--ink-3);
  font-size: 15px;
  margin-top: 6px;
  min-height: 48px;
}
.plan .price {
  margin: 22px 0 6px;
  font-size: 44px;
  font-weight: 760;
  letter-spacing: -0.04em;
  line-height: 1;
}
.plan .price small {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-3);
  letter-spacing: 0;
}
.plan .price.text {
  font-size: 30px;
  padding: 7px 0;
}
.plan .btn {
  margin: 22px 0 26px;
  width: 100%;
}
.plan .limits {
  display: grid;
  gap: 2px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 20px;
  font-size: 14.5px;
}
.plan .limits div {
  display: flex;
  justify-content: space-between;
  padding: 3px 0;
}
.plan .limits span {
  color: var(--ink-3);
}
.plan .limits b {
  font-weight: 650;
}
.plan .checks {
  margin: 0;
}
.plan .checks li {
  font-size: 14.5px;
}
.plan .inc {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 12px;
}

table.compare {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
}
.compare-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.compare th,
.compare td {
  padding: 13px 18px;
  border-bottom: 1px solid var(--line);
  text-align: center;
}
.compare th:first-child,
.compare td:first-child {
  text-align: left;
  color: var(--ink-2);
}
.compare thead th {
  background: var(--bg-soft);
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}
.compare tr.group td {
  background: #fbfcfe;
  font-weight: 700;
  color: var(--ink);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.compare tr:last-child td {
  border-bottom: 0;
}
.yes {
  display: inline-block;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--blue-50)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%232f5fd0' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center/18px no-repeat;
  vertical-align: middle;
}
.no {
  color: #b6bfd0;
}

/* ------------------------------------------------------------------ FAQ */
.faq {
  max-width: 820px;
  margin: 0 auto;
}
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 4px 0;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 40px 20px 0;
  font-weight: 650;
  font-size: 17.5px;
  position: relative;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 16px;
  font-size: 26px;
  font-weight: 300;
  color: var(--blue);
  transition: transform 0.2s;
}
.faq details[open] summary::after {
  transform: rotate(45deg);
}
.faq details p {
  padding: 0 40px 22px 0;
  color: var(--ink-2);
}

/* ------------------------------------------------------------------ page hero (inner pages) */
.page-hero {
  position: relative;
  padding: 92px 0 72px;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(800px 380px at 50% -20%, rgba(58, 107, 224, 0.16), transparent 70%),
    linear-gradient(180deg, #fbfcff, #fff);
}
.page-hero h1 {
  font-size: clamp(36px, 5vw, 56px);
  max-width: 860px;
  margin: 0 auto;
}
.page-hero .lede {
  max-width: 700px;
  margin: 20px auto 0;
}

/* feature index (features page) */
.toc {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 34px;
}
.toc a {
  padding: 8px 15px;
  border-radius: 99px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink-2);
  font-size: 14.5px;
  font-weight: 580;
}
.toc a:hover {
  border-color: var(--blue-100);
  color: var(--blue);
}
.area {
  display: grid;
  grid-template-columns: 330px 1fr;
  gap: 56px;
  padding: 72px 0;
  border-top: 1px solid var(--line);
  scroll-margin-top: 80px;
}
.area:first-child {
  border-top: 0;
}
.area-head {
  position: sticky;
  top: 110px;
  align-self: start;
}
.area-head h2 {
  font-size: 30px;
  margin-top: 18px;
}
.area-head p {
  margin-top: 12px;
  color: var(--ink-2);
}
.area-head .plan-note {
  margin-top: 16px;
  font-size: 13.5px;
  color: var(--ink-3);
}
.area-items {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.item {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}
.item h3 {
  font-size: 16.5px;
  margin-bottom: 6px;
}
.item p {
  font-size: 15px;
  color: var(--ink-2);
}
@media (max-width: 920px) {
  .area {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 56px 0;
  }
  .area-head {
    position: static;
  }
}
@media (max-width: 600px) {
  .area-items {
    grid-template-columns: 1fr;
  }
}

/* ------------------------------------------------------------------ CTA */
.cta {
  position: relative;
  border-radius: 24px;
  padding: 72px 48px;
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(600px 300px at 15% 0%, rgba(255, 255, 255, 0.18), transparent 70%),
    radial-gradient(600px 300px at 100% 100%, rgba(18, 128, 92, 0.45), transparent 70%),
    linear-gradient(135deg, var(--blue-400), #1d3f99);
  color: #dfe7ff;
}
.cta h2 {
  color: #fff;
  max-width: 720px;
  margin: 0 auto;
}
.cta p {
  max-width: 600px;
  margin: 18px auto 0;
  font-size: 19px;
}
.cta .hero-actions {
  margin-top: 32px;
}
@media (max-width: 600px) {
  .cta {
    padding: 56px 24px;
  }
}

/* ------------------------------------------------------------------ footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 72px 0 40px;
  background: #fff;
  font-size: 15px;
}
.foot {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 40px;
}
.foot img {
  height: 30px;
  width: auto;
}
.foot p {
  margin-top: 16px;
  color: var(--ink-3);
  max-width: 320px;
  font-size: 14.5px;
}
.foot h4 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 14px;
}
.foot ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.foot a {
  color: var(--ink-2);
}
.foot a:hover {
  color: var(--blue);
}
.foot-bottom {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--ink-3);
  font-size: 14px;
}
@media (max-width: 760px) {
  .foot {
    grid-template-columns: 1fr 1fr;
  }
  .foot > div:first-child {
    grid-column: 1 / -1;
  }
}

/* ------------------------------------------------------------------ motion */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}
.reveal.in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  * {
    transition: none !important;
  }
}

/* ------------------------------------------------------------------ small screens: mockups */
@media (max-width: 860px) {
  .app {
    grid-template-columns: 1fr;
  }
  .app-side {
    display: none;
  }
  .kpis {
    grid-template-columns: repeat(2, 1fr);
  }
  .board {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .board .col:nth-child(n + 3) {
    display: none;
  }
  .window-bar .url {
    padding: 3px 20px;
  }
}
@media (max-width: 640px) {
  .section {
    padding: 76px 0;
  }
  .hero {
    padding-top: 56px;
  }
  .app-top .tools .chip:not(.blue) {
    display: none;
  }
}

/* ------------------------------------------------------------------ pricing: billing toggle, CRM comparison */
.billing {
  display: flex;
  width: max-content;
  margin: 0 auto 40px;
  padding: 4px;
  border-radius: 12px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
}
.billing button {
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-2);
  background: none;
  border: 0;
  border-radius: 9px;
  padding: 9px 18px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.billing button.on {
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}
.billing .save {
  font-size: 12px;
  font-weight: 700;
  color: var(--green);
  background: var(--green-50);
  border-radius: 99px;
  padding: 2px 8px;
}
.plan .price-note {
  font-size: 14px;
  color: var(--ink-3);
  margin-top: 8px;
}
.vs-title {
  text-align: center;
  font-size: 24px;
  margin: 64px 0 24px;
}
.compare.vs td {
  white-space: nowrap;
}
.compare.vs td:first-child {
  white-space: normal;
  min-width: 220px;
}
.compare.vs th small {
  font-weight: 500;
  color: var(--ink-3);
  font-size: 13px;
}
.compare.vs tr.us td {
  background: var(--blue-50);
  color: var(--ink);
}
.compare.vs tr.us td:first-child {
  color: var(--ink);
}
.compare.vs .us-col {
  background: #f5f8fe;
}
.compare.vs thead .us-col {
  background: var(--blue-50);
  color: var(--blue);
}
.compare .extra {
  font-size: 13.5px;
  color: var(--ink-3);
}
.fineprint {
  max-width: 820px;
  margin: 24px auto 0;
  font-size: 13px;
  line-height: 1.55;
  color: var(--ink-3);
  text-align: center;
}
@media (max-width: 640px) {
  .compare.vs td:first-child,
  .compare.vs th:first-child {
    position: sticky;
    left: 0;
    z-index: 1;
    background: #fff;
    min-width: 150px;
    box-shadow: 1px 0 0 var(--line);
  }
  .compare.vs thead th:first-child {
    background: var(--bg-soft);
  }
  .compare.vs tr.us td:first-child {
    background: var(--blue-50);
  }
}

/* ------------------------------------------------------------------ phones: comfort and touch */
.swipe-hint {
  display: none;
}
@media (max-width: 760px), (pointer: coarse) {
  /* bigger tap targets on phones and touch tablets */
  .foot ul {
    gap: 2px;
  }
  .foot ul a {
    display: inline-block;
    padding: 9px 0;
  }
  a.link-arrow {
    padding: 10px 0;
  }
  .brand {
    padding: 6px 0;
  }
}
@media (max-width: 760px) {
  .nav-toggle {
    width: 48px;
    height: 48px;
    margin-right: -10px;
  }
  .faq summary {
    font-size: 16.5px;
  }
  /* a little less air between sections */
  .feature-row + .feature-row {
    margin-top: 80px;
  }
  .section-head {
    margin-bottom: 40px;
  }
  .card {
    padding: 24px;
  }
  .hero-actions .btn {
    flex: 1 1 200px;
  }
}
@media (max-width: 960px) {
  /* on one-column pricing, the recommended plan comes first */
  .plan.featured {
    order: -1;
    margin-top: 12px;
  }
}
@media (max-width: 640px) {
  .swipe-hint {
    display: block;
    text-align: center;
    font-size: 13.5px;
    color: var(--ink-3);
    margin: -12px 0 14px;
  }
  .swipe-hint::after {
    content: " \2192";
  }
  /* price comparison becomes one card per CRM */
  .compare.vs.stack,
  .compare.vs.stack tbody,
  .compare.vs.stack tr,
  .compare.vs.stack td {
    display: block;
    width: 100%;
  }
  .compare.vs.stack {
    border: 0;
    background: none;
    overflow: visible;
  }
  .compare.vs.stack thead {
    display: none;
  }
  .compare.vs.stack tr {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    margin-bottom: 12px;
    padding: 6px 16px;
  }
  .compare.vs.stack tr.us {
    border: 2px solid var(--blue);
    background: var(--blue-50);
  }
  .compare.vs.stack tr.us td {
    background: none;
  }
  .compare.vs.stack td {
    position: static;
    box-shadow: none;
    min-width: 0;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 9px 0;
    text-align: right;
    white-space: normal;
  }
  .compare.vs.stack td:first-child {
    font-size: 17px;
    text-align: left;
    background: none;
  }
  .compare.vs.stack td[data-label]::before {
    content: attr(data-label);
    color: var(--ink-3);
    text-align: left;
  }
  .compare.vs.stack tr td:last-child {
    border-bottom: 0;
  }
}

/* ------------------------------------------------------------------ pricing: value messages */
.promise {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 26px;
}
.promise li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 620;
  font-size: 15.5px;
  color: var(--ink);
}
.promise li::before {
  content: "";
  width: 20px;
  height: 20px;
  border-radius: 50%;
  flex: none;
  background: var(--green-50)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%2312805c' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center/18px no-repeat;
}
.plan .saving {
  display: inline-block;
  align-self: flex-start;
  margin-top: 10px;
  font-size: 13px;
  font-weight: 650;
  color: var(--green);
  background: var(--green-50);
  border-radius: 99px;
  padding: 3px 10px;
}
.compare.tiers tr.save td {
  background: var(--green-50);
  color: var(--green);
  font-weight: 700;
}
.compare.tiers tr.us td {
  background: var(--blue-50);
}
.compare.tiers td:not(:first-child) {
  text-align: center;
}
@media (max-width: 640px) {
  .compare.tiers td,
  .compare.tiers th {
    padding: 11px 10px;
    white-space: normal;
  }
  .compare.tiers td:first-child,
  .compare.tiers th:first-child {
    position: static;
    min-width: 0;
    box-shadow: none;
  }
}

/* ------------------------------------------------------------------ legal pages (terms) */
.legal {
  max-width: 780px;
  margin: 0 auto;
  padding: 8px 0 104px;
  color: var(--ink-2);
  font-size: 16.5px;
  line-height: 1.7;
}
.legal h2 {
  margin: 48px 0 12px;
  font-size: 23px;
  line-height: 1.3;
  color: var(--ink);
  scroll-margin-top: 90px;
}
.legal h3 {
  margin: 26px 0 8px;
  font-size: 17.5px;
  color: var(--ink);
}
.legal p,
.legal li {
  overflow-wrap: anywhere;
}
.legal ul,
.legal ol {
  padding-left: 22px;
}
.legal li + li {
  margin-top: 6px;
}
.legal .caps {
  font-size: 14.5px;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}
.legal .summary {
  margin: 0 0 32px;
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-soft);
  font-size: 15.5px;
}
.legal-toc {
  columns: 2;
  column-gap: 32px;
  margin: 0 0 8px;
  padding: 20px 22px 20px 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 15px;
}
.legal-toc li {
  break-inside: avoid;
}
.legal-meta {
  margin-top: 18px;
  color: var(--ink-3);
  font-size: 15px;
}
.ph {
  padding: 0 4px;
  border-radius: 4px;
  background: var(--amber-50);
  color: var(--amber);
  font-weight: 650;
}
@media (max-width: 640px) {
  .legal {
    font-size: 16px;
    padding-bottom: 72px;
  }
  .legal h2 {
    margin-top: 38px;
    font-size: 21px;
  }
  .legal-toc {
    columns: 1;
    padding-left: 38px;
  }
}
.legal .draft-notice {
  margin: 0 0 20px;
  padding: 14px 18px;
  border: 1px solid var(--amber);
  border-radius: var(--radius);
  background: var(--amber-50);
  color: var(--amber);
  font-size: 15.5px;
}
