:root {
  --blue: #005b94;
  --blue-dark: #073b5d;
  --blue-soft: #e8f3fa;
  --green: #43a800;
  --green-dark: #2f7600;
  --green-soft: #ebf7e4;
  --ink: #102331;
  --muted: #536574;
  --line: #d8e2e8;
  --paper: #ffffff;
  --off-white: #f5f8f9;
  --shadow: 0 18px 45px rgba(7, 59, 93, 0.14);
  --radius: 8px;
  --font-head: "Inter", Arial, sans-serif;
  --font-body: "Source Sans 3", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.5;
}

body.form-open .sticky-cta {
  transform: translateY(120%);
}

img,
svg {
  display: block;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 72px;
  padding: 12px 18px;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(216, 226, 232, 0.82);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: auto;
  min-width: 118px;
}

.brand img {
  width: auto;
  height: 54px;
  max-width: 136px;
  object-fit: contain;
}

.desktop-nav {
  display: none;
}

.site-header .header-cta {
  display: none;
}

.hero {
  display: grid;
  gap: 26px;
  padding: 34px 18px 44px;
  overflow: hidden;
  background:
    linear-gradient(180deg, #ffffff 0%, #f7fbfd 58%, #edf6fa 100%);
}

.hero-video-wrap {
  width: min(100%, 350px);
  margin: 0 auto;
}

.video-label {
  width: fit-content;
  margin: 0 auto 10px;
  padding: 7px 10px;
  color: var(--green-dark);
  background: var(--green-soft);
  border: 1px solid #cfe9bf;
  border-radius: 999px;
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.phone-video-card {
  position: relative;
  width: min(100%, 350px);
  margin: 0 auto;
  overflow: hidden;
  background: #0e2536;
  border: 8px solid #142e40;
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.phone-video-card video {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  background: #0e2536;
  object-fit: cover;
}

.primary-video {
  box-shadow: 0 24px 55px rgba(7, 59, 93, 0.18);
}

.video-caption {
  max-width: 330px;
  margin: 12px auto 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.35;
  text-align: center;
}

.hero-copy,
.section-inner,
.site-footer {
  width: min(100%, 1120px);
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green-dark);
  font-family: var(--font-head);
  font-size: 0.76rem;
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1,
h2,
h3 {
  color: var(--ink);
  font-family: var(--font-head);
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(2.65rem, 13vw, 4.9rem);
  line-height: 0.97;
  font-weight: 900;
}

h2 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(2rem, 8vw, 3.35rem);
  line-height: 1.02;
  font-weight: 900;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.17rem;
  line-height: 1.15;
  font-weight: 850;
}

.hero-lede {
  max-width: 650px;
  margin-bottom: 22px;
  color: #314453;
  font-size: 1.2rem;
  line-height: 1.38;
}

.hero-actions {
  display: grid;
  gap: 10px;
  margin-bottom: 20px;
}

.button,
.sticky-cta,
.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 20px;
  border: 0;
  border-radius: var(--radius);
  cursor: pointer;
  font-family: var(--font-head);
  font-size: 0.96rem;
  font-weight: 850;
  line-height: 1;
  text-align: center;
}

.primary,
.sticky-cta,
.header-cta {
  color: #ffffff;
  background: var(--green);
  box-shadow: 0 12px 24px rgba(67, 168, 0, 0.25);
}

.secondary {
  color: var(--blue-dark);
  background: #ffffff;
  border: 1px solid var(--line);
}

.hero-proof {
  display: none;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-proof span {
  padding: 7px 10px;
  color: var(--blue-dark);
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
}

label {
  display: grid;
  gap: 6px;
  color: var(--blue-dark);
  font-size: 0.92rem;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 13px;
  color: var(--ink);
  background: #ffffff;
  border: 1px solid #cbd8df;
  border-radius: var(--radius);
  outline: none;
}

textarea {
  min-height: 76px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(67, 168, 0, 0.12);
}

.section {
  padding: 54px 18px;
}

.problem-section {
  background: #ffffff;
}

.problem-list {
  display: grid;
  gap: 12px;
}

.problem-list article,
.system-grid article {
  padding: 18px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 28px rgba(7, 59, 93, 0.07);
}

.problem-list p,
.system-grid p,
.steps p,
.plain-copy p,
.not-crm-card p,
.form-copy p {
  color: var(--muted);
}

.number {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--green);
  font-family: var(--font-head);
  font-size: 0.86rem;
  font-weight: 900;
}

.cheap-section {
  color: #ffffff;
  background: linear-gradient(135deg, var(--blue-dark), #0f5c89);
}

.cheap-section h2,
.cheap-section .eyebrow,
.cheap-section p {
  color: #ffffff;
}

.cheap-section .eyebrow {
  color: #b8eb91;
}

.plain-copy p {
  font-size: 1.08rem;
}

.plain-copy p:last-child,
.problem-list p:last-child,
.system-grid p:last-child,
.steps p:last-child,
.form-copy p:last-child,
.not-crm-card p:last-child {
  margin-bottom: 0;
}

.system-section,
.trades-section {
  background: var(--off-white);
}

.video-proof-section {
  background: #ffffff;
}

.section-heading {
  margin-bottom: 22px;
}

.section-heading p:not(.eyebrow) {
  max-width: 650px;
  color: var(--muted);
  font-size: 1.08rem;
}

.testimonial-videos {
  display: grid;
  gap: 18px;
}

.testimonial-card {
  padding: 16px;
  background: var(--off-white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 28px rgba(7, 59, 93, 0.07);
}

.testimonial-card h3 {
  margin-top: 16px;
}

.testimonial-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.system-grid {
  display: grid;
  gap: 12px;
}

.icon {
  display: grid;
  width: 46px;
  height: 46px;
  margin-bottom: 16px;
  place-items: center;
  border-radius: 50%;
}

.icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon.capture,
.icon.process {
  color: var(--blue);
  background: var(--blue-soft);
}

.icon.trust,
.icon.nurture {
  color: var(--green-dark);
  background: var(--green-soft);
}

.steps {
  display: grid;
  gap: 14px;
}

.steps article {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  align-items: start;
}

.steps span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: #ffffff;
  background: var(--green);
  border-radius: 50%;
  font-family: var(--font-head);
  font-weight: 900;
}

.trade-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.trade-cloud span {
  padding: 11px 13px;
  color: var(--blue-dark);
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 800;
}

.included-section {
  background: #ffffff;
}

.included-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.included-list li {
  position: relative;
  padding: 14px 14px 14px 40px;
  background: var(--off-white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 700;
}

.included-list li::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 15px;
  width: 12px;
  height: 12px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: inset 0 0 0 3px #ffffff;
}

.not-crm-section {
  padding-top: 20px;
  background: #ffffff;
}

.not-crm-card {
  padding: 22px;
  background: var(--blue-soft);
  border: 1px solid #c9e2f0;
  border-radius: var(--radius);
}

.form-section {
  padding-bottom: 86px;
  background:
    linear-gradient(180deg, #ffffff 0%, #eff7fb 100%);
}

.form-layout {
  display: grid;
  gap: 24px;
}

.form-note {
  padding: 14px;
  color: var(--blue-dark);
  background: #ffffff;
  border-left: 4px solid var(--green);
  border-radius: var(--radius);
  font-weight: 800;
}

.lead-form {
  display: grid;
  gap: 14px;
  padding: 18px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.embed-form {
  min-height: 465px;
  padding: 0;
  overflow: hidden;
}

.embed-form iframe {
  display: block;
  width: 100%;
  min-height: 465px;
  border: 0;
}

.site-footer {
  display: grid;
  gap: 12px;
  padding: 30px 18px 92px;
  color: var(--muted);
  text-align: center;
}

.site-footer img {
  width: 170px;
  margin: 0 auto;
}

.site-footer p {
  max-width: 520px;
  margin: 0 auto;
}

.sticky-cta {
  position: fixed;
  right: 14px;
  bottom: 14px;
  left: 14px;
  z-index: 30;
  min-height: 58px;
  transform: translateY(120%);
  transition: transform 180ms ease;
}

body.sticky-ready:not(.form-open) .sticky-cta {
  transform: translateY(0);
}

@media (min-width: 560px) {
  .hero-actions {
    display: flex;
  }

  .button {
    min-width: 188px;
  }

  .problem-list,
  .system-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

  .site-header {
    padding: 14px 34px;
  }

  .brand {
    min-width: 150px;
  }

  .brand img {
    height: 68px;
    max-width: 180px;
  }

  .desktop-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    color: var(--muted);
    font-family: var(--font-head);
    font-size: 0.92rem;
    font-weight: 800;
  }

  .desktop-nav a:hover {
    color: var(--blue-dark);
  }

  .site-header .header-cta {
    display: inline-flex;
    min-height: 46px;
    padding-inline: 18px;
    font-size: 0.9rem;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 350px);
    align-items: center;
    gap: 54px;
    min-height: auto;
    padding: 70px 34px 74px;
  }

  .hero-copy {
    justify-self: end;
    width: min(100%, 760px);
    max-width: 760px;
    margin: 0;
    text-align: left;
  }

  .hero-copy h1 {
    max-width: 760px;
    font-size: clamp(3.2rem, 4.9vw, 4.65rem);
    line-height: 0.98;
  }

  .hero-lede {
    max-width: 650px;
  }

  .hero-copy h1,
  .hero-lede {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions,
  .hero-proof {
    justify-content: flex-start;
  }

  .hero-proof {
    display: flex;
  }

  .hero-video-wrap {
    justify-self: start;
    margin: 0;
  }

  .testimonial-videos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    align-items: start;
  }

  .testimonial-card {
    padding: 22px;
  }

  .section {
    padding: 78px 34px;
  }

  .split,
  .form-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: 54px;
    align-items: start;
  }

  .problem-list,
  .system-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .problem-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
  }

  .steps article {
    padding: 18px 0;
  }

  .included-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .not-crm-card {
    padding: 34px;
  }

  .lead-form {
    padding: 24px;
  }

  .sticky-cta {
    display: none;
  }

  .site-footer {
    padding-bottom: 38px;
  }
}

@media (min-width: 1120px) {
  .hero {
    padding-inline: max(34px, calc((100vw - 1180px) / 2));
  }
}
