:root {
  --navy: #07194b;
  --navy-2: #001b5f;
  --blue: #145cff;
  --blue-2: #2d76ff;
  --text: #07194b;
  --muted: #33466f;
  --soft: #f7fbff;
  --line: #dfe8f5;
  --green: #25b43c;
  --purple: #9825ff;
  --orange: #ff5a1f;
  --gold: #ffb000;
  --shadow: 0 20px 45px rgba(7, 25, 75, 0.12);
  --soft-shadow: 0 10px 28px rgba(7, 25, 75, 0.09);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: #fff;
  font-family: Inter, Arial, Helvetica, sans-serif;
  line-height: 1.55;
}

body.modal-open {
  overflow: hidden;
}

a {
  color: inherit;
}

svg {
  display: block;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 26px;
  min-height: 102px;
  padding: 18px 36px;
  border-top: 3px solid var(--blue);
  border-bottom: 1px solid #e8eef7;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 28px rgba(7, 25, 75, 0.04);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 280px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 45px;
  height: 45px;
  border-radius: 8px;
  background: linear-gradient(145deg, #0c4df2, #2d86ff);
  box-shadow: 0 10px 22px rgba(20, 92, 255, 0.28);
}

.brand-mark svg {
  width: 36px;
  height: 36px;
  fill: none;
  stroke: #fff;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.brand-text {
  display: grid;
  gap: 0;
}

.brand-text strong {
  font-size: 30px;
  line-height: 1;
  font-weight: 900;
}

.brand-text em {
  color: var(--blue);
  font-style: normal;
}

.brand-text small {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.site-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(18px, 3vw, 42px);
  font-size: 15px;
  font-weight: 800;
}

.site-nav a {
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--blue);
}

.buy-button,
.primary-cta,
.secondary-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 900;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.buy-button,
.primary-cta {
  border: 0;
  color: #fff;
  background: linear-gradient(135deg, #0e55ff, #2f78ff);
  box-shadow: 0 12px 24px rgba(20, 92, 255, 0.26);
}

.buy-button {
  min-width: 138px;
  padding: 0 21px;
}

.buy-button svg,
.primary-cta svg,
.secondary-cta svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.primary-cta {
  padding: 0 31px;
}

.secondary-cta {
  border: 1px solid #d5dfec;
  color: var(--text);
  background: #fff;
  box-shadow: 0 9px 24px rgba(7, 25, 75, 0.08);
}

.secondary-cta:not(.link-style) {
  padding: 0 28px;
}

.buy-button:hover,
.primary-cta:hover,
.secondary-cta:hover,
.buy-button:focus-visible,
.primary-cta:focus-visible,
.secondary-cta:focus-visible {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.nav-toggle span:not(.screen-reader-text) {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--text);
}

.hero-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(360px, 0.92fr) minmax(420px, 1fr);
  gap: clamp(34px, 6vw, 88px);
  align-items: center;
  max-width: 1260px;
  margin: 0 auto;
  padding: 64px 34px 34px;
  overflow: hidden;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.rank-badge {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 24px;
  font-size: 16px;
  font-weight: 850;
}

.rank-badge svg {
  width: 32px;
  height: 32px;
  fill: #eff6ff;
  stroke: var(--blue);
  stroke-width: 2;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-size: clamp(42px, 5vw, 58px);
  line-height: 1.09;
  letter-spacing: 0;
  font-weight: 950;
}

h1 span {
  display: block;
  color: var(--blue);
}

.hero-description {
  max-width: 650px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 34px;
}

.trust-row {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 38px;
}

.avatar-stack {
  display: flex;
  padding-left: 2px;
}

.avatar-stack span {
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  margin-left: -6px;
  border: 3px solid #fff;
  border-radius: 50%;
  color: #fff;
  background: var(--avatar);
  box-shadow: 0 6px 14px rgba(7, 25, 75, 0.14);
  font-size: 12px;
  font-weight: 900;
}

.stars {
  color: var(--gold);
  font-size: 25px;
  line-height: 1;
  letter-spacing: 0;
}

.trust-row p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 16px;
}

.hero-visual {
  position: relative;
  min-height: 570px;
  display: grid;
  place-items: center;
}

.soft-orbit {
  position: absolute;
  width: 600px;
  height: 330px;
  border-radius: 50%;
  background: #e9f2ff;
  transform: rotate(-34deg);
  right: -75px;
  bottom: 12px;
}

.dots-pattern {
  position: absolute;
  width: 270px;
  height: 210px;
  right: 0;
  top: 30px;
  background-image: radial-gradient(#b9d5ff 2px, transparent 2px);
  background-size: 22px 22px;
  opacity: 0.85;
}

.email-window {
  position: relative;
  z-index: 2;
  width: min(430px, 100%);
  border-radius: 9px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 26px 56px rgba(7, 25, 75, 0.22);
}

.window-top {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 31px;
  padding: 0 13px;
  background: #f5f7fb;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.red { background: #ff493f; }
.yellow { background: #ffbd2e; }
.green { background: #27c93f; }

.email-header,
.email-footer {
  color: #fff;
  background: linear-gradient(135deg, #03133f, #082c78);
}

.email-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  min-height: 77px;
}

.hex-logo {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 3px solid #fff;
  font-size: 18px;
  transform: rotate(0deg);
}

.email-header strong,
.email-header small {
  display: block;
}

.email-header strong {
  font-size: 16px;
  line-height: 1;
}

.email-header small {
  margin-top: 3px;
  opacity: 0.86;
  font-size: 11px;
}

.email-body {
  padding: 27px 40px 23px;
}

.email-body p {
  margin: 0 0 8px;
  color: var(--text);
  font-size: 15px;
}

.email-body h2 {
  margin: 0 0 12px;
  font-size: 23px;
  line-height: 1.22;
}

.email-button {
  display: grid;
  place-items: center;
  min-height: 44px;
  width: 250px;
  margin: 24px auto 18px;
  border-radius: 5px;
  color: #fff;
  background: var(--blue);
  text-decoration: none;
  font-size: 13px;
  font-weight: 900;
}

.mini-divider {
  height: 1px;
  margin: 0 0 18px;
  background: #dbe4ef;
}

.email-benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  text-align: center;
}

.email-benefits svg {
  width: 25px;
  height: 25px;
  margin: 0 auto 8px;
  fill: none;
  stroke: var(--navy);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.email-benefits strong {
  display: block;
  font-size: 12px;
  line-height: 1.2;
}

.email-benefits span {
  display: block;
  margin-top: 2px;
  font-size: 11px;
}

.email-footer {
  min-height: 129px;
  padding: 22px 18px 18px;
  text-align: center;
}

.email-footer p {
  margin: 0 0 13px;
  font-size: 12px;
}

.email-footer span {
  display: inline-block;
  padding: 0 8px;
  border-right: 1px solid rgba(255,255,255,0.35);
  font-size: 11px;
}

.email-footer span:nth-of-type(3) {
  border-right: 0;
}

.socials {
  display: flex;
  justify-content: center;
  gap: 17px;
  margin-top: 19px;
}

.socials i {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255,255,255,0.14);
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}

.integration-strip {
  display: grid;
  grid-template-columns: auto repeat(7, minmax(88px, 1fr));
  align-items: center;
  gap: 20px;
  max-width: 1212px;
  min-height: 98px;
  margin: 0 auto 28px;
  padding: 16px 34px;
  border: 1px solid #e6edf7;
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--soft-shadow);
}

.integration-strip > span {
  font-size: 12px;
  font-weight: 900;
}

.integration-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 850;
}

.integration-logo b {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: #fff;
  font-size: 11px;
}

.wordpress b { background: #2077b8; }
.woo b { width: 42px; border-radius: 7px; background: #a846cf; }
.wpforms b { background: #b66a29; }
.gravity b { background: #ff5b31; }
.fluent b { border-radius: 6px; background: #1784ff; }
.contact b { background: #239fe8; }
.edd b { background: #5b6b80; }

.feature-section,
.difference-section,
.pricing-section,
.docs-section,
.support-section,
.buy-section {
  max-width: 1220px;
  margin: 0 auto;
  padding: 34px 34px;
}

.section-heading {
  max-width: 820px;
  margin: 0 auto 22px;
  text-align: center;
}

.section-heading h2,
.support-copy h2,
.buy-section h2 {
  margin: 0;
  font-size: clamp(28px, 3.4vw, 36px);
  line-height: 1.15;
  font-weight: 950;
}

.section-heading p,
.support-copy p,
.buy-section p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.feature-cards {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 15px;
  margin-top: 16px;
}

.feature-cards article {
  min-height: 267px;
  padding: 30px 20px 22px;
  border: 1px solid #e0e8f3;
  border-radius: 9px;
  background: #fff;
  box-shadow: 0 10px 25px rgba(7,25,75,0.07);
  text-align: center;
}

.card-icon {
  width: 55px;
  height: 55px;
  margin: 0 auto 22px;
  fill: none;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card-icon.blue { stroke: var(--blue); }
.card-icon.purple { stroke: var(--purple); }
.card-icon.green { stroke: var(--green); }
.card-icon.orange { stroke: var(--orange); }

.feature-cards h3 {
  margin: 0 0 10px;
  font-size: 17px;
}

.feature-cards p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.comparison {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  max-width: 1045px;
  margin: 0 auto;
  align-items: center;
}

.before-card,
.after-card {
  min-height: 398px;
  padding: 25px 34px 34px;
  border: 1px solid #d4dce8;
  border-radius: 10px;
  background: #fff;
}

.after-card {
  border-color: #8edda3;
  background: #f2fff5;
}

.comparison-title {
  display: flex;
  align-items: center;
  gap: 36px;
  margin-bottom: 18px;
}

.comparison-title span {
  display: inline-flex;
  align-items: center;
  min-height: 27px;
  padding: 0 10px;
  border-radius: 5px;
  color: #fff;
  background: #707070;
  font-size: 12px;
  font-weight: 900;
}

.after-card .comparison-title span {
  background: #31b83c;
}

.comparison-title h3 {
  margin: 0;
  font-size: 18px;
}

.plain-email {
  min-height: 292px;
  padding: 40px 28px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(7,25,75,0.12);
  color: #111;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 16px;
  line-height: 1.6;
}

.arrow-bubble {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  color: #fff;
  background: #08235f;
  box-shadow: 0 12px 24px rgba(7,25,75,0.2);
  font-size: 42px;
  transform: translate(-50%, -50%);
}

.small-branded-email {
  max-width: 405px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(7,25,75,0.12);
  text-align: center;
}

.small-branded-email header {
  display: grid;
  place-items: center;
  min-height: 61px;
  color: #fff;
  background: linear-gradient(135deg, #0750ee, #0532a1);
}

.small-branded-email header strong,
.small-branded-email header small {
  display: block;
}

.small-branded-email main {
  padding: 24px 32px 25px;
}

.small-branded-email p {
  margin: 0 0 9px;
  font-size: 12px;
}

.small-branded-email h4 {
  margin: 0 0 8px;
  font-size: 20px;
}

.small-branded-email a {
  display: inline-grid;
  place-items: center;
  min-width: 105px;
  min-height: 31px;
  margin: 12px 0 20px;
  border-radius: 5px;
  color: #fff;
  background: var(--blue);
  text-decoration: none;
  font-size: 12px;
  font-weight: 900;
}

.tiny-benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid #d9e2ee;
  font-size: 10px;
  font-weight: 800;
}

.tiny-socials {
  margin-top: 16px;
  color: var(--blue);
  letter-spacing: 4px;
}

.assurance-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  max-width: 1210px;
  margin: 24px auto 34px;
  padding: 27px 40px;
  border-radius: 12px;
  background: #f3f8ff;
  box-shadow: 0 10px 26px rgba(7,25,75,0.05);
}

.assurance-strip article {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 20px;
  min-height: 82px;
  padding: 0 26px;
  border-right: 1px solid #d5e1ef;
}

.assurance-strip article:last-child {
  border-right: 0;
}

.assurance-strip svg {
  width: 46px;
  height: 46px;
  fill: none;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.assurance-strip article:nth-child(1) svg { stroke: var(--blue); }
.assurance-strip article:nth-child(2) svg { stroke: var(--green); }
.assurance-strip article:nth-child(3) svg { stroke: var(--purple); }
.assurance-strip article:nth-child(4) svg { stroke: #ef8400; }

.assurance-strip h3 {
  margin: 0;
  font-size: 19px;
  line-height: 1.25;
}

.assurance-strip p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.pricing-section,
.docs-section,
.support-section,
.buy-section {
  padding-top: 58px;
  padding-bottom: 58px;
}

.pricing-grid,
.docs-grid {
  display: grid;
  gap: 18px;
}

.pricing-grid {
  grid-template-columns: repeat(3, 1fr);
}

.price-card,
.docs-grid a,
.support-form {
  border: 1px solid #e0e8f3;
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--soft-shadow);
}

.price-card {
  position: relative;
  padding: 28px;
}

.price-card.featured {
  border-color: var(--blue);
  transform: translateY(-8px);
}

.popular {
  position: absolute;
  right: 20px;
  top: 18px;
  padding: 5px 9px;
  border-radius: 999px;
  color: #fff;
  background: var(--blue);
  font-size: 11px;
  font-weight: 900;
}

.price-card h3 {
  margin: 0 0 8px;
  font-size: 24px;
}

.price {
  margin: 0;
  font-size: 44px;
  line-height: 1;
  font-weight: 950;
}

.price-card p:not(.price) {
  color: var(--muted);
}

.price-card ul {
  display: grid;
  gap: 8px;
  padding-left: 20px;
  margin: 20px 0 26px;
  color: var(--muted);
}

.link-style {
  width: 100%;
}

.docs-section {
  background: linear-gradient(180deg, #fff, #f8fbff);
}

.docs-grid {
  grid-template-columns: repeat(3, 1fr);
}

.docs-grid a {
  min-height: 78px;
  display: flex;
  align-items: center;
  padding: 22px;
  text-decoration: none;
  font-weight: 900;
}

.docs-grid a:hover,
.docs-grid a:focus-visible {
  border-color: var(--blue);
  color: var(--blue);
}

.support-section {
  display: grid;
  grid-template-columns: minmax(300px, 0.85fr) minmax(320px, 1fr);
  gap: 40px;
  align-items: start;
}

.support-form {
  display: grid;
  gap: 14px;
  padding: 25px;
}

.support-form label {
  display: grid;
  gap: 6px;
  color: var(--text);
  font-weight: 850;
}

.support-form input,
.support-form textarea {
  width: 100%;
  border: 1px solid #d7e0ed;
  border-radius: 8px;
  padding: 12px 13px;
  color: var(--text);
  font: inherit;
}

.buy-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 40px;
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(135deg, #03133f, #073899);
  box-shadow: var(--shadow);
}

.buy-section h2 {
  color: #fff;
}

.buy-section p {
  max-width: 700px;
  color: #dbe8ff;
}

.buy-large {
  min-width: 190px;
  background: #fff;
  color: var(--blue);
}

.demo-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
}

.demo-modal.is-open {
  display: block;
}

.demo-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 19, 63, 0.62);
}

.demo-dialog {
  position: relative;
  width: min(560px, calc(100% - 32px));
  margin: 10vh auto 0;
  padding: 32px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 26px 70px rgba(0,0,0,0.28);
}

.demo-dialog h2 {
  margin: 0 0 8px;
  font-size: 32px;
}

.demo-dialog p {
  color: var(--muted);
}

.demo-close {
  position: absolute;
  right: 16px;
  top: 12px;
  border: 0;
  background: transparent;
  color: var(--text);
  font-size: 34px;
  cursor: pointer;
}

.demo-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin: 24px 0;
}

.demo-steps span {
  display: grid;
  place-items: center;
  min-height: 48px;
  border-radius: 8px;
  color: var(--blue);
  background: #eef5ff;
  font-size: 13px;
  font-weight: 900;
  text-align: center;
}

@media (max-width: 1100px) {
  .site-header {
    grid-template-columns: auto auto auto;
  }

  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 102px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px 34px 26px;
    border-bottom: 1px solid var(--line);
    background: #fff;
  }

  .site-nav.is-open {
    display: flex;
  }

  .nav-toggle {
    display: block;
    justify-self: end;
  }

  .hero-section {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 520px;
  }

  .integration-strip {
    grid-template-columns: repeat(4, 1fr);
  }

  .integration-strip > span {
    grid-column: 1 / -1;
    text-align: center;
  }

  .feature-cards {
    grid-template-columns: repeat(3, 1fr);
  }

  .assurance-strip,
  .pricing-grid,
  .docs-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .assurance-strip article:nth-child(2) {
    border-right: 0;
  }
}

@media (max-width: 760px) {
  .site-header {
    min-height: 86px;
    padding: 14px 18px;
  }

  .brand {
    min-width: 0;
  }

  .brand-text strong {
    font-size: 24px;
  }

  .brand-text small {
    font-size: 11px;
  }

  .header-buy {
    display: none;
  }

  .site-nav {
    top: 86px;
  }

  .hero-section,
  .feature-section,
  .difference-section,
  .pricing-section,
  .docs-section,
  .support-section,
  .buy-section {
    padding-left: 18px;
    padding-right: 18px;
  }

  h1 {
    font-size: 40px;
  }

  .hero-description {
    font-size: 17px;
  }

  .hero-actions,
  .trust-row,
  .buy-section {
    align-items: stretch;
    flex-direction: column;
  }

  .primary-cta,
  .secondary-cta,
  .buy-button {
    width: 100%;
  }

  .hero-visual {
    min-height: 470px;
  }

  .email-window {
    width: 100%;
  }

  .email-body {
    padding: 24px 22px;
  }

  .email-benefits,
  .comparison,
  .assurance-strip,
  .pricing-grid,
  .docs-grid,
  .support-section {
    grid-template-columns: 1fr;
  }

  .feature-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .integration-strip {
    grid-template-columns: repeat(2, 1fr);
    margin-left: 18px;
    margin-right: 18px;
    padding: 18px;
  }

  .arrow-bubble {
    position: relative;
    left: auto;
    top: auto;
    margin: -5px auto;
    transform: rotate(90deg);
  }

  .assurance-strip article,
  .assurance-strip article:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid #d5e1ef;
    padding: 18px 0;
  }

  .assurance-strip article:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 520px) {
  .feature-cards {
    grid-template-columns: 1fr;
  }

  .integration-strip {
    grid-template-columns: 1fr;
  }

  .demo-steps {
    grid-template-columns: 1fr 1fr;
  }
}
