:root {
  --page-gutter: clamp(18px, 5.8vw, 104px);
  --app-background: #edf2ef;
  --mist: #e8eeeb;
  --warm-paper: #f3f4ee;
  --ink: #1c1f1e;
  --secondary-ink: #646b67;
  --muted-ink: #8c9590;
  --line: rgba(28, 31, 30, 0.08);
  --white-48: rgba(255, 255, 255, 0.48);
  --white-62: rgba(255, 255, 255, 0.62);
  --white-78: rgba(255, 255, 255, 0.78);
  --teal: #00a89b;
  --teal-deep: #00746e;
  --blue: #1e74d1;
  --violet: #7b52d5;
  --coral: #ea6e3c;
  --rose: #de2c63;
  --shadow: 0 22px 60px rgba(28, 31, 30, 0.10);
  --soft-shadow: 0 12px 32px rgba(28, 31, 30, 0.08);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  overflow-x: clip;
  background: var(--app-background);
  color: var(--ink);
  font-family: ui-rounded, "SF Pro Rounded", "Nunito Sans", Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: clip;
  background: var(--app-background);
  letter-spacing: 0;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0) 44%),
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.26), rgba(255, 255, 255, 0) 48%),
    linear-gradient(135deg, rgba(232, 238, 235, 0.50), rgba(243, 244, 238, 0.34));
}

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

button,
input,
textarea {
  font: inherit;
}

.site-shell {
  width: 100%;
  margin: 0 auto;
  padding: 18px var(--page-gutter) 32px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(76px, 8.4vw, 96px);
  padding-top: 4px;
}

.sync-line {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: clamp(7px, 0.85vw, 10px);
  color: rgba(28, 31, 30, 0.66);
  font-size: clamp(15px, 1.25vw, 18px);
  font-weight: 540;
  line-height: 1;
  text-align: center;
}

.sync-line > span:nth-child(2) {
  color: rgba(100, 107, 103, 0.90);
  font-weight: 720;
}

.sync-line > span:last-child {
  color: rgba(100, 107, 103, 0.80);
  font-weight: 500;
}

.sync-icon {
  display: block;
  width: clamp(20px, 1.55vw, 23px);
  height: clamp(20px, 1.55vw, 23px);
  object-fit: contain;
}

.sync-dot {
  width: clamp(7px, 0.65vw, 9px);
  height: clamp(7px, 0.65vw, 9px);
  border-radius: 999px;
  background: #43bd6d;
}

.focusbar-wrap {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(205, 214, 211, 0.68);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.34) inset,
    0 -1px 0 rgba(28, 31, 30, 0.035) inset;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}

.focusbar-wrap::-webkit-scrollbar {
  display: none;
}

.focusbar {
  display: flex;
  width: 100%;
  min-width: 0;
  gap: 0;
  min-height: clamp(42px, 3.7vw, 50px);
  padding: 4px;
  border-radius: inherit;
  background: transparent;
}

.focusbar a {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  flex: 1 1 0;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: clamp(34px, 3vw, 42px);
  padding: 0 clamp(8px, 1.2vw, 18px);
  border-radius: 999px;
  color: rgba(28, 31, 30, 0.88);
  font-size: clamp(11px, 0.86vw, 15px);
  font-weight: 820;
  line-height: 1.06;
  text-align: center;
  white-space: normal;
  transition: color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.focusbar a::before {
  position: absolute;
  inset: 6px clamp(5px, 0.7vw, 10px);
  z-index: -1;
  content: "";
  border-radius: 999px;
  background: transparent;
  transition: background 160ms ease;
}

.focusbar a:hover,
.focusbar a:focus-visible {
  color: var(--ink);
  background: transparent;
  outline: none;
}

.focusbar a:hover::before,
.focusbar a:focus-visible::before {
  background: rgba(255, 255, 255, 0.48);
}

.focusbar a.is-active {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.96);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.72) inset,
    0 4px 14px rgba(28, 31, 30, 0.06);
}

.focusbar a.is-active::before {
  background: transparent;
}

.setup-tabs-wrap {
  width: min(100%, 920px);
  margin: 14px auto 0;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(205, 214, 211, 0.52);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.30) inset,
    0 -1px 0 rgba(28, 31, 30, 0.03) inset;
}

.setup-tabs {
  display: flex;
  width: 100%;
  min-width: 0;
  min-height: 48px;
  border-radius: inherit;
}

.provider-link {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  flex: 1 1 0;
  flex-direction: column;
  min-width: 0;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 1px;
  padding: 0 clamp(5px, 0.8vw, 12px);
  border-radius: 999px;
  color: rgba(28, 31, 30, 0.78);
  font-size: clamp(9px, 0.72vw, 14px);
  font-weight: 850;
  line-height: 1.05;
  text-align: center;
}

.provider-link::before {
  position: absolute;
  inset: 5px 4px;
  z-index: -1;
  content: "";
  border-radius: 999px;
  background: transparent;
  transition: background 160ms ease;
}

.provider-name {
  display: block;
  max-width: 100%;
  color: var(--provider-color, currentColor);
  overflow-wrap: anywhere;
}

.provider-suffix {
  display: block;
  color: rgba(28, 31, 30, 0.70);
  font-size: 0.86em;
}

.provider-hubspot {
  --provider-color: #ff5c35;
}

.provider-pipedrive {
  --provider-color: #017737;
}

.provider-activecampaign {
  --provider-color: #356ae6;
}

.provider-link:hover,
.provider-link:focus-visible {
  background: transparent;
  outline: none;
}

.provider-link:hover::before,
.provider-link:focus-visible::before {
  background: rgba(255, 255, 255, 0.38);
}

.provider-link.is-active {
  background: rgba(255, 255, 255, 0.92);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.70) inset,
    0 7px 18px rgba(28, 31, 30, 0.07);
}

.provider-link.is-active::before {
  background: transparent;
}

main {
  padding: 52px 0 0;
}

.home-hero {
  width: min(100%, 1340px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(300px, 0.92fr) minmax(390px, 0.95fr);
  align-items: center;
  gap: clamp(30px, 4.8vw, 86px);
  min-height: clamp(540px, calc(100vh - 250px), 720px);
}

.hero-copy {
  align-self: center;
  max-width: 620px;
}

.eyebrow {
  margin: 0 0 12px;
  color: rgba(100, 107, 103, 0.86);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 680px;
  margin-bottom: 18px;
  font-size: clamp(44px, 4.7vw, 86px);
  font-weight: 950;
  line-height: 0.94;
}

.page-title h1 {
  font-size: clamp(38px, 6vw, 66px);
}

.lede {
  max-width: 640px;
  margin-bottom: 28px;
  color: rgba(100, 107, 103, 0.92);
  font-size: clamp(18px, 2.2vw, 23px);
  font-weight: 700;
  line-height: 1.45;
}

.hero-actions,
.inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.pill-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 999px;
  background: #fff;
  color: var(--teal-deep);
  font-weight: 950;
  box-shadow: var(--soft-shadow);
}

.pill-button.secondary {
  color: rgba(28, 31, 30, 0.64);
  background: rgba(255, 255, 255, 0.46);
  box-shadow: none;
}

.mockup-stage {
  position: relative;
  width: min(100%, 610px);
  min-height: clamp(520px, 34vw, 650px);
  justify-self: center;
}

.phone-mock {
  position: absolute;
  width: clamp(300px, 20vw, 380px);
  min-height: clamp(570px, 36vw, 680px);
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 44px;
  background: rgba(238, 241, 237, 0.96);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.phone-mock.primary {
  right: 18%;
  top: 0;
  z-index: 2;
}

.phone-mock.secondary {
  right: 0;
  top: 92px;
  z-index: 1;
  transform: scale(0.86);
  transform-origin: top right;
  opacity: 0.76;
}

.phone-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 26px 0;
  font-size: 14px;
  font-weight: 950;
}

.dynamic-island {
  width: 108px;
  height: 32px;
  border-radius: 999px;
  background: #030403;
}

.screen-title {
  margin: 28px 24px 18px;
  font-size: 28px;
  font-weight: 950;
  text-align: center;
}

.mini-topbar {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  margin: 0 22px 18px;
  color: rgba(100, 107, 103, 0.84);
  font-size: 13px;
  font-weight: 800;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #50c273;
}

.mini-focus {
  display: flex;
  gap: 5px;
  padding: 5px;
  margin: 0 18px 22px;
  border-radius: 999px;
  background: rgba(208, 217, 214, 0.70);
}

.mini-focus span {
  flex: 1;
  min-width: 0;
  padding: 8px 6px;
  border-radius: 999px;
  color: rgba(28, 31, 30, 0.62);
  font-size: 11px;
  font-weight: 900;
  text-align: center;
}

.mini-focus span:first-child {
  color: var(--ink);
  background: #fff;
}

.marble-cloud {
  position: relative;
  height: 260px;
  margin: 0 24px;
}

.marble {
  position: absolute;
  display: grid;
  width: var(--size);
  height: var(--size);
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 999px;
  background: linear-gradient(145deg, rgba(255,255,255,0.96), rgba(255,255,255,0.44));
  box-shadow: 0 14px 28px rgba(28, 31, 30, 0.12);
  font-size: calc(var(--size) * 0.42);
}

.marble.one {
  --size: 86px;
  left: 16%;
  top: 30px;
}

.marble.two {
  --size: 112px;
  left: 48%;
  top: 82px;
}

.marble.three {
  --size: 72px;
  left: 21%;
  top: 168px;
}

.marble.four {
  --size: 64px;
  left: 65%;
  top: 12px;
}

.deal-card {
  margin: 0 18px 22px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.58);
}

.deal-card h3 {
  margin-bottom: 10px;
  font-size: 22px;
  font-weight: 950;
}

.deal-row {
  display: grid;
  grid-template-columns: 42% 1fr;
  gap: 16px;
  padding: 11px 0;
  border-top: 1px solid var(--line);
  color: rgba(100, 107, 103, 0.86);
  font-weight: 850;
}

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

.action-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 0 18px;
}

.action-strip span {
  padding: 13px 8px;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.58);
  color: var(--teal-deep);
  font-weight: 950;
  text-align: center;
}

.page-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(360px, 1.2fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.page-title {
  position: sticky;
  top: 18px;
}

.content-stack {
  display: grid;
  gap: 18px;
}

.tile {
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.54);
  box-shadow: 0 1px 0 rgba(255,255,255,0.36) inset;
}

.tile h2 {
  margin-bottom: 10px;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.05;
}

.tile h3 {
  margin-bottom: 8px;
  font-size: 19px;
}

.tile p,
.tile li {
  color: rgba(100, 107, 103, 0.92);
  font-size: 16px;
  font-weight: 650;
  line-height: 1.55;
}

.guide-grid {
  display: grid;
  gap: 16px;
}

.step-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 210px;
  gap: 18px;
  align-items: stretch;
}

.step-number {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  margin-bottom: 14px;
  border-radius: 999px;
  background: rgba(0, 168, 155, 0.12);
  color: var(--teal-deep);
  font-weight: 950;
}

.mini-shot {
  display: grid;
  min-height: 172px;
  align-content: start;
  gap: 10px;
  padding: 14px;
  border: 1px solid rgba(28, 31, 30, 0.08);
  border-radius: var(--radius);
  background: rgba(238, 241, 237, 0.80);
}

.shot-bar,
.shot-line,
.shot-pill,
.shot-button {
  border-radius: 999px;
  background: rgba(100, 107, 103, 0.16);
}

.shot-bar {
  width: 76%;
  height: 14px;
}

.shot-line {
  height: 10px;
}

.shot-line.short {
  width: 62%;
}

.shot-line.tiny {
  width: 40%;
}

.shot-pill {
  width: 118px;
  height: 34px;
  background: #fff;
}

.shot-button {
  display: grid;
  width: 96px;
  height: 36px;
  place-items: center;
  margin-top: auto;
  background: var(--teal);
  color: #fff;
  font-size: 12px;
  font-weight: 950;
}

.shot-key {
  height: 36px;
  border-radius: var(--radius);
  background: rgba(28, 31, 30, 0.72);
}

.shot-stage-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.shot-stage-row span {
  height: 28px;
  border-radius: 999px;
}

.shot-stage-row span:nth-child(1) { background: var(--blue); }
.shot-stage-row span:nth-child(2) { background: var(--coral); }
.shot-stage-row span:nth-child(3) { background: var(--rose); }
.shot-stage-row span:nth-child(4) { background: var(--violet); }

.roadmap-list,
.legal-copy {
  display: grid;
  gap: 14px;
}

.roadmap-item {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 16px;
  align-items: start;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.roadmap-item:first-child {
  border-top: 0;
  padding-top: 0;
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  border-radius: 999px;
  background: rgba(0, 168, 155, 0.12);
  color: var(--teal-deep);
  font-size: 13px;
  font-weight: 950;
}

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

.faq-list details:first-child {
  border-top: 0;
}

.faq-list summary {
  cursor: pointer;
  color: var(--ink);
  font-size: 18px;
  font-weight: 950;
}

.contact-panel {
  display: grid;
  gap: 14px;
}

.field-row {
  display: grid;
  gap: 8px;
}

.field-row label {
  color: rgba(28, 31, 30, 0.68);
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
}

.field-row input,
.field-row textarea {
  width: 100%;
  border: 1px solid rgba(255,255,255,0.72);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.58);
  color: var(--ink);
  padding: 14px 15px;
}

.field-row textarea {
  min-height: 130px;
  resize: vertical;
}

.site-footer {
  display: grid;
  place-items: center;
  min-height: 160px;
  padding-top: 24px;
}

.footer-brand {
  position: relative;
  color: rgba(100, 107, 103, 0.16);
  font-family: ui-rounded, "SF Pro Rounded", "Arial Rounded MT Bold", system-ui, sans-serif;
  font-size: clamp(32px, 5.4vw, 54px);
  font-weight: 900;
  line-height: 1;
  text-shadow:
    0 1px 0 rgba(255,255,255,0.58),
    0 -0.5px 0 rgba(28,31,30,0.025);
}

.footer-brand::after {
  position: absolute;
  top: 0;
  right: -18px;
  content: "©";
  font-size: 14px;
  font-weight: 950;
}

@media (max-width: 980px) {
  .home-hero,
  .page-grid {
    grid-template-columns: 1fr;
  }

  .page-title {
    position: static;
  }

  .mockup-stage {
    min-height: 560px;
  }

  .phone-mock.primary {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
  }

  .phone-mock.secondary {
    display: none;
  }

}

@media (max-width: 680px) {
  .site-shell {
    width: 100%;
    padding: 12px 12px 32px;
  }

  .site-header {
    min-height: 70px;
    padding-top: 0;
  }

  .sync-line {
    gap: 7px;
    font-size: clamp(14px, 4vw, 17px);
  }

  .sync-icon {
    width: 20px;
    height: 20px;
  }

  .sync-dot {
    width: 7px;
    height: 7px;
  }

  main {
    padding-top: 34px;
  }

  .home-hero {
    min-height: auto;
  }

  h1 {
    font-size: clamp(42px, 13vw, 62px);
  }

  .mockup-stage {
    min-height: 520px;
  }

  .phone-mock {
    width: min(330px, 92vw);
    min-height: 590px;
  }

  .step-card {
    grid-template-columns: 1fr;
  }

  .roadmap-item {
    grid-template-columns: 1fr;
  }

  .focusbar a {
    min-width: 0;
    min-height: 34px;
    padding: 0 4px;
    font-size: 9px;
  }

  .setup-tabs-wrap {
    margin-top: 10px;
  }

  .provider-link {
    min-height: 44px;
    padding: 0 3px;
    font-size: 9px;
  }

  .provider-suffix {
    display: none;
  }
}
