:root {
  --bg: #f6f8fb;
  --surface: #ffffff;
  --surface-strong: #eef6f2;
  --ink: #172033;
  --muted: #667085;
  --line: #dfe5ed;
  --purple: #7f3cff;
  --purple-dark: #5b26c9;
  --green: #18a978;
  --mint: #dff7ed;
  --amber: #ffb84d;
  --blue: #2f80ed;
  --shadow: 0 18px 50px rgba(23, 32, 51, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.5;
}

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

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

.hero-copy,
.hero-media,
.feature-card,
.proof-copy,
.saving-panel,
.steps article {
  min-width: 0;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(127, 60, 255, 0.36);
  outline-offset: 3px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 68px;
  padding: 14px clamp(18px, 4vw, 52px);
  border-bottom: 1px solid rgba(223, 229, 237, 0.85);
  background: rgba(246, 248, 251, 0.92);
  backdrop-filter: blur(18px);
}

.brand,
.topnav,
.hero-actions,
.quick-stats,
.footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  min-width: max-content;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
}

.topnav {
  gap: 24px;
  color: var(--muted);
  font-size: 15px;
}

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

.top-cta,
.button,
.sticky-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 8px;
  font-weight: 800;
  letter-spacing: 0;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
  text-align: center;
}

.top-cta {
  padding: 0 18px;
  background: var(--ink);
  color: #fff;
}

.top-cta:hover,
.button:hover,
.sticky-cta:hover {
  transform: translateY(-1px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(420px, 0.95fr) minmax(360px, 0.82fr);
  align-items: start;
  gap: clamp(28px, 4vw, 56px);
  width: 100%;
  max-width: 1760px;
  margin: 0 auto;
  min-height: calc(100svh - 68px);
  padding: clamp(42px, 5vw, 72px) clamp(18px, 5vw, 74px) 44px;
}

.hero-copy {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--purple-dark);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 720px;
  margin-bottom: 22px;
  font-size: clamp(40px, 5.7vw, 68px);
  line-height: 1.02;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.05;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.lead {
  max-width: 600px;
  margin-bottom: 30px;
  color: #435064;
  font-size: clamp(18px, 2.1vw, 22px);
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 30px;
}

.button {
  gap: 10px;
  padding: 0 22px;
  border: 1px solid transparent;
  font-size: 16px;
}

.button-primary {
  background: var(--purple);
  color: #fff;
  box-shadow: 0 18px 34px rgba(127, 60, 255, 0.28);
}

.button-primary:hover {
  background: var(--purple-dark);
}

.button-secondary {
  border-color: var(--line);
  background: #fff;
  color: var(--ink);
}

.quick-stats {
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
}

.quick-stats div {
  min-width: 136px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.76);
}

.quick-stats dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.quick-stats dd {
  margin: 2px 0 0;
  font-size: 18px;
  font-weight: 900;
}

.hero-media {
  margin: 0;
  position: relative;
  justify-self: center;
  width: 100%;
  max-width: min(760px, 43vw);
}

.hero-media img {
  width: 100%;
  height: auto;
  border-radius: 18px;
  box-shadow: 0 16px 42px rgba(23, 32, 51, 0.1);
}

.pain-strip,
.section,
.proof,
.start,
.final-cta {
  margin-inline: clamp(18px, 5vw, 74px);
}

.pain-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding: 0 0 clamp(54px, 8vw, 96px);
}

.pain-strip article,
.feature-card,
.steps article,
.saving-panel,
.final-cta {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.pain-strip article {
  padding: 22px;
}

.mini-icon,
.icon-box,
.steps span {
  display: inline-grid;
  place-items: center;
  border-radius: 8px;
  font-weight: 900;
}

.mini-icon {
  width: 38px;
  height: 38px;
  margin-bottom: 18px;
  background: var(--mint);
  color: #08734d;
}

.pain-strip h2 {
  margin-bottom: 8px;
  font-size: 22px;
}

.pain-strip p,
.feature-card p,
.proof p,
.steps p,
.final-cta p {
  margin-bottom: 0;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.section,
.start {
  padding: clamp(56px, 8vw, 98px) 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.feature-card {
  min-height: 254px;
  padding: 24px;
}

.icon-box {
  width: 44px;
  height: 36px;
  margin-bottom: 34px;
  background: #edf2ff;
  color: var(--blue);
  font-size: 13px;
}

.proof {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(320px, 0.72fr);
  align-items: center;
  gap: 24px;
  padding: clamp(34px, 5vw, 54px);
  border-radius: 8px;
  background: #152033;
  color: #fff;
}

.proof .eyebrow {
  color: #89e7be;
}

.proof-copy {
  max-width: 680px;
}

.proof p {
  color: rgba(255, 255, 255, 0.76);
  font-size: 18px;
}

.saving-panel {
  display: grid;
  gap: 12px;
  padding: 14px;
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.08);
}

.saving-panel div {
  padding: 22px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
}

.saving-label {
  display: block;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.saving-panel strong {
  display: block;
  margin-bottom: 4px;
  font-size: clamp(34px, 4vw, 46px);
  line-height: 1;
}

.saving-panel span:last-child {
  color: rgba(255, 255, 255, 0.78);
}

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

.steps article {
  padding: 24px;
}

.steps span {
  width: 38px;
  height: 38px;
  margin-bottom: 30px;
  background: var(--ink);
  color: #fff;
}

.final-cta {
  display: grid;
  justify-items: center;
  margin-bottom: 34px;
  padding: clamp(42px, 7vw, 74px) 20px;
  text-align: center;
  background:
    linear-gradient(135deg, rgba(223, 247, 237, 0.8), rgba(238, 242, 255, 0.95)),
    #fff;
}

.final-cta p:not(.eyebrow) {
  margin-bottom: 24px;
  font-size: 18px;
}

.footer {
  justify-content: space-between;
  gap: 14px;
  padding: 22px clamp(18px, 5vw, 74px) 30px;
  color: var(--muted);
  font-size: 14px;
}

.footer span {
  font-weight: 900;
  color: var(--ink);
}

.sticky-cta {
  display: none;
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 18;
  padding: 0 18px;
  background: var(--ink);
  color: #fff;
  box-shadow: 0 14px 28px rgba(23, 32, 51, 0.28);
}

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

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 44px;
  }

  .hero-copy {
    max-width: none;
  }

  .hero-media {
    max-width: 680px;
    width: 100%;
  }

  .pain-strip,
  .feature-grid,
  .proof,
  .steps {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: auto;
  }

  .icon-box,
  .steps span {
    margin-bottom: 18px;
  }
}

@media (max-width: 620px) {
  .topbar {
    min-height: 62px;
    padding: 12px 14px;
  }

  .brand span:last-child {
    display: none;
  }

  .top-cta {
    min-height: 40px;
    padding-inline: 13px;
    font-size: 14px;
  }

  .hero {
    padding-inline: 14px;
    padding-top: 28px;
    gap: 22px;
  }

  h1 {
    margin-bottom: 18px;
    font-size: clamp(34px, 10.5vw, 42px);
    line-height: 1.04;
  }

  h2 {
    font-size: clamp(28px, 9vw, 38px);
  }

  .lead {
    margin-bottom: 22px;
    font-size: 17px;
    line-height: 1.48;
  }

  .hero-actions {
    margin-bottom: 16px;
  }

  .button {
    width: 100%;
  }

  .hero-actions .button-secondary {
    display: none;
  }

  .quick-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .quick-stats div {
    min-width: 0;
    padding: 10px 8px;
  }

  .quick-stats dt {
    font-size: 10px;
  }

  .quick-stats dd {
    font-size: 13px;
    line-height: 1.18;
  }

  .pain-strip,
  .section,
  .proof,
  .start,
  .final-cta {
    margin-inline: 14px;
  }

  .pain-strip {
    padding-bottom: 38px;
  }

  .section,
  .start {
    padding-block: 46px;
  }

  .proof {
    padding: 28px 18px;
  }

  .footer {
    padding-bottom: 78px;
  }

  .sticky-cta {
    display: flex;
    left: 14px;
    right: 14px;
    bottom: 14px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(130%);
  }

  .sticky-cta.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }
}
