/* Campaign Pro+ primary marketing theme. */
.cp-template-page {
  font-family: "Lato", system-ui, sans-serif;
  font-size: 16px;
}

.cp-template-page .rv-logo-badge {
  background: var(--purple-600, #5f5cf0) !important;
}

.cp-template-page .rv-logo-badge svg path {
  fill: #fff !important;
}

.cp-template-page {
  overflow-x: clip;
}

.cp-template-page .rv-section p,
.cp-template-page .rv-footer-cta .rv-cta-text {
  font-size: 16px;
}

.cp-home-hero {
  position: relative;
  overflow: clip;
  padding: 0 0 clamp(42px, 6vw, 76px);
  background:
    radial-gradient(ellipse at 50% 38%, rgba(103, 91, 234, 0.105), transparent 58%),
    linear-gradient(180deg, #fbfaff 0%, #ffffff 75%) !important;
}

.cp-home-hero::before {
  display: none !important;
}

.cp-home-hero .rv-hero-grid {
  display: flex;
  width: min(100% - 48px, 1280px);
  flex-direction: column;
  align-items: center;
  gap: 0;
  min-height: 200svh;
  padding-top: clamp(46px, 6vw, 76px);
  text-align: center;
}

.cp-home-hero .rv-hero-copy {
  width: 100%;
  max-width: 1040px;
  margin-inline: auto;
  text-align: center;
}

.cp-home-hero .rv-pill {
  margin: 0 auto 22px;
}

.cp-home-hero .rv-h1 {
  max-width: none;
  margin: 0 auto 20px;
  font-size: clamp(48px, 7.2vw, 92px);
  line-height: 0.99;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.cp-home-hero .rv-h1 > span {
  display: block;
}

.cp-home-hero .rv-h1 em {
  color: var(--accent);
  font-style: normal;
}

.cp-home-hero .rv-hero-p {
  max-width: 66ch;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.65;
}

.cp-home-hero .rv-hero-cta {
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.cp-home-hero .rv-hero-cta .rv-btn {
  min-width: 172px;
}

.cp-hero-secondary {
  background: rgba(255, 255, 255, 0.86);
  color: var(--accent);
  border: 1px solid rgba(95, 92, 240, 0.3);
}

.cp-hero-dashboard {
  position: sticky;
  top: clamp(76px, 11vh, 104px);
  z-index: 3;
  isolation: isolate;
  width: min(100%, 960px);
  height: auto;
  aspect-ratio: 16 / 9;
  margin: clamp(44px, 6vw, 72px) auto 0;
  overflow: hidden;
  perspective: 1600px;
  border: 1px solid rgba(95, 92, 240, 0.14);
  border-radius: 22px;
  background: #f6f5ff;
  box-shadow: 0 28px 82px rgba(36, 30, 92, 0.18), 0 3px 10px rgba(36, 30, 92, 0.06);
  transform-style: preserve-3d;
  transform-origin: 50% 15%;
  will-change: transform;
}

.cp-hero-dashboard > .cp-hero-main-screen {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  max-width: none;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  backface-visibility: hidden;
  transform-style: preserve-3d;
  transform: scale(1.025);
  transform-origin: left top;
}

.cp-hero-screenshot-popover {
  position: absolute;
  z-index: 2;
  width: clamp(170px, 25%, 250px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.92);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 16px 38px rgba(23, 27, 60, 0.22);
  transform-style: preserve-3d;
}

.cp-hero-screenshot-popover img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center top;
  transform: scale(1.04);
  transform-origin: left top;
}

.cp-hero-screenshot-popover span {
  display: block;
  padding: 10px 13px;
  color: #20243a;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
}

.cp-hero-screenshot-popover-campaigns {
  right: 20px;
  bottom: 18px;
  transform: translateZ(84px) rotate(1.6deg);
}

.cp-hero-screenshot-popover-builder {
  bottom: 25px;
  left: 20px;
  width: clamp(150px, 21%, 210px);
  transform: translateZ(56px) rotate(-2deg);
}

.cp-hero-dashboard::after {
  position: absolute;
  z-index: 1;
  right: 0;
  bottom: 0;
  left: 0;
  height: 18%;
  content: "";
  background: linear-gradient(180deg, transparent, rgba(250, 249, 255, 0.28));
  pointer-events: none;
}

@media (max-width: 900px) {
  .cp-home-hero .rv-hero-grid {
    width: min(100% - 36px, 760px);
    min-height: 190svh;
  }

  .cp-home-hero .rv-h1 {
    font-size: clamp(46px, 8vw, 70px);
  }

  .cp-hero-dashboard {
    width: min(100%, 760px);
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 560px) {
  .cp-home-hero .rv-hero-grid {
    width: min(100% - 28px, 520px);
    min-height: 185svh;
  }

  .cp-home-hero .rv-h1 {
    font-size: clamp(40px, 11.2vw, 56px);
    line-height: 1.02;
    letter-spacing: -0.03em;
  }

  .cp-home-hero .rv-pill {
    margin-bottom: 18px;
  }

  .cp-home-hero .rv-hero-p {
    max-width: 36ch;
  }

  .cp-home-hero .rv-hero-cta {
    flex-direction: column;
    align-items: stretch;
    width: min(100%, 340px);
    margin-inline: auto;
  }

  .cp-home-hero .rv-hero-cta .rv-btn {
    width: 100%;
  }

  .cp-hero-dashboard {
    aspect-ratio: 3 / 2;
    top: 72px;
    margin-top: 38px;
    border-radius: 16px;
  }

  .cp-hero-screenshot-popover-builder {
    display: none;
  }

  .cp-hero-screenshot-popover-campaigns {
    right: 10px;
    bottom: 10px;
    width: min(48%, 190px);
  }

  .cp-hero-screenshot-popover span {
    padding: 8px 10px;
    font-size: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cp-home-hero .rv-pill,
  .cp-home-hero .rv-h1,
  .cp-home-hero .rv-hero-p,
  .cp-home-hero .rv-hero-cta {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    transition: none !important;
  }

  .cp-hero-dashboard {
    position: relative;
    top: auto;
    transform: none !important;
    will-change: auto;
  }

  .cp-home-hero .rv-hero-grid {
    min-height: 0;
  }
}

/* Campaign Pro+ primary marketing pages. */
.cp-template-page {
  font-family: "Lato", system-ui, sans-serif;
}

.cp-template-page .rv-page-hero {
  padding-top: clamp(4rem, 8vw, 6.5rem);
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
  border-bottom: 0;
}

.cp-template-page .rv-page-hero .rv-hero-main {
  width: 100%;
  max-width: 900px;
  margin-inline: auto;
  text-align: center;
}

.cp-template-page .rv-page-hero .rv-h1 {
  max-width: 18ch;
  margin-inline: auto;
  text-wrap: balance;
}

.cp-template-page .rv-page-hero .rv-hero-p {
  max-width: 66ch;
  margin-inline: auto;
  font-size: 16px;
}

.cp-template-hero-actions {
  position: relative;
  z-index: 1;
  margin-top: -1rem;
  padding-bottom: clamp(2rem, 4vw, 3.5rem);
}

.cp-template-hero-actions .rv-container {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.cp-template-btn-secondary {
  background: #fff;
  color: var(--accent);
  border: 1px solid rgba(95, 92, 240, 0.28);
}

.cp-feature-story {
  padding-top: clamp(2.5rem, 5vw, 4.5rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
}

.cp-feature-story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
}

.cp-feature-story-visual {
  position: relative;
  isolation: isolate;
  height: clamp(360px, 39vw, 500px);
  overflow: hidden;
  border: 1px solid var(--hair);
  border-radius: 18px;
  background: #f6f5ff;
  perspective: 1400px;
  box-shadow: 0 26px 66px rgba(24, 24, 27, 0.13);
}

.cp-feature-story-visual::before {
  position: absolute;
  z-index: -1;
  content: "";
  inset: 10% 6%;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(111, 91, 232, 0.14), transparent 70%);
  filter: blur(28px);
}

.cp-feature-story-visual img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  max-width: none;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: inherit;
  transform: rotateY(4deg) rotateX(2deg);
}

.cp-feature-story-copy .rv-eyebrow {
  display: inline-block;
  margin-bottom: 14px;
}

.cp-feature-story-copy h2 {
  max-width: 17ch;
  margin: 0 0 16px;
  color: var(--ink);
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.08;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.cp-feature-story-copy p {
  max-width: 52ch;
  margin: 0;
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.7;
}

.cp-feature-story-points {
  display: grid;
  gap: 10px;
  margin-top: 22px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}

.cp-feature-story-points span::before {
  content: "✓";
  display: inline-grid;
  width: 22px;
  height: 22px;
  margin-right: 10px;
  place-items: center;
  border-radius: 50%;
  background: var(--accent-tint);
  color: var(--accent);
  font-size: 12px;
}

.cp-template-feature .rv-card {
  min-height: 190px;
  padding: 28px;
  border-radius: 20px;
}

.cp-template-feature #integrations {
  background: var(--card-bg);
}

.cp-feature-builder {
  background: var(--card-bg);
}

.cp-feature-builder-grid {
  display: grid;
  grid-template-columns: minmax(250px, 0.72fr) minmax(0, 1.28fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
}

.cp-feature-builder-copy h2,
.cp-pricing-preview-copy h2 {
  max-width: 17ch;
  margin: 12px 0 16px;
  color: var(--ink);
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.08;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.cp-feature-builder-copy p,
.cp-pricing-preview-copy p {
  max-width: 50ch;
  margin: 0;
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.7;
}

.cp-feature-builder-visual,
.cp-pricing-preview-visual {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--hair);
  border-radius: 18px;
  background: #f4f2ff;
  box-shadow: 0 24px 60px rgba(24, 24, 27, 0.12);
}

.cp-feature-builder-visual img,
.cp-pricing-preview-visual img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center top;
}

.cp-feature-builder-visual figcaption,
.cp-pricing-preview-visual figcaption {
  padding: 12px 16px 14px;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.4;
}

.cp-template-pricing .rv-page-hero {
  padding-bottom: clamp(2rem, 4vw, 3.25rem);
}

.cp-pricing-section {
  padding-top: 10px;
}

.cp-pricing-preview {
  padding-top: clamp(2.25rem, 5vw, 4rem);
  padding-bottom: clamp(2.75rem, 5vw, 4.25rem);
}

.cp-pricing-preview-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1.3fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
  padding: clamp(22px, 4vw, 42px);
  border: 1px solid var(--hair);
  border-radius: 24px;
  background: linear-gradient(130deg, #faf9ff, #fff 60%);
}

.cp-pricing-preview-copy .rv-eyebrow {
  display: inline-block;
}

.cp-pricing-preview-copy .rv-btn {
  margin-top: 22px;
}

.cp-pricing-section .rv-container {
  gap: 20px;
}

.cp-pricing-section .rv-pricing-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 38px 30px 30px;
  border-radius: 22px;
  box-shadow: 0 14px 40px rgba(25, 22, 74, 0.055);
}

.cp-pricing-section .rv-pricing-card.rv-pricing-featured {
  background: linear-gradient(180deg, rgba(95, 92, 240, 0.085), #fff 68%);
  border-width: 1.5px;
  box-shadow: 0 22px 54px rgba(95, 92, 240, 0.13);
  transform: translateY(-8px);
}

.cp-pricing-section .rv-pricing-name {
  margin-bottom: 18px;
  font-size: 20px;
}

.cp-pricing-section .rv-pricing-price {
  font-size: clamp(46px, 5vw, 58px);
}

.cp-pricing-section .rv-pricing-period {
  min-height: 40px;
  margin-bottom: 14px;
  font-size: 14px;
  line-height: 1.5;
}

.cp-pricing-section .rv-pricing-features {
  flex: 1;
}

.cp-pricing-section .rv-pricing-features li {
  padding: 11px 0;
  font-size: 14px;
}

.cp-pricing-section .rv-pricing-card > .rv-btn {
  margin-top: 26px !important;
  padding: 14px 18px;
  border-radius: 12px;
}

.cp-template-pricing .rv-faq {
  max-width: 880px;
  margin-top: 34px;
}

.cp-template-pricing .rv-accordion {
  min-height: 74px;
  padding: 20px 24px;
  border-color: rgba(95, 92, 240, 0.22) !important;
  border-radius: 12px;
  box-shadow: none !important;
}

.cp-template-pricing .rv-accordion span {
  color: var(--ink);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.38;
}

.cp-template-pricing .rv-accordion-content {
  padding-inline: 24px;
}

.cp-template-pricing .rv-accordion-content p {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.7;
}

.cp-template-pricing .rv-plus::before,
.cp-template-pricing .rv-plus::after {
  background: var(--accent);
}

.cp-template-pricing .rv-section[style*="card-bg"] {
  background: #fff !important;
}

.cp-template-pricing .rv-section[style*="card-bg"] {
  border-top: 1px solid var(--hair);
}

/* Contact page: image-led two-column composition from the reference. */
.cp-template-contact .rv-nav-bar { background: rgba(255,255,255,.96); }

.cp-contact-section {
  padding-top: clamp(104px, 12vw, 152px);
  padding-bottom: clamp(52px, 7vw, 88px);
}

.cp-contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: start;
  gap: clamp(28px, 5vw, 68px);
}

.cp-contact-product-panel {
  min-width: 0;
  padding: clamp(16px, 2.4vw, 24px);
  border: 1px solid rgba(95, 92, 240, 0.12);
  border-radius: 22px;
  background: linear-gradient(145deg, #e7edff, #f5f5ff 76%);
  box-shadow: 0 22px 60px rgba(33, 42, 99, 0.09);
}

.cp-contact-product-shot {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(34, 42, 91, 0.1);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(33, 42, 99, 0.1);
}

.cp-contact-product-shot img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: #fff;
}

.cp-contact-details {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.cp-contact-detail {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 12px;
  padding: 13px 14px;
  border: 1px solid rgba(95, 92, 240, 0.11);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.82);
}

.cp-contact-detail-icon {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  place-items: center;
  border-radius: 11px;
  background: var(--accent-tint);
  color: var(--accent);
  font-size: 16px;
  font-weight: 800;
}

.cp-contact-detail > div { display: grid; min-width: 0; gap: 2px; }
.cp-contact-detail-label { color: var(--text-muted); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.cp-contact-detail a, .cp-contact-detail > div > span:last-child { color: var(--ink); font-size: 16px; font-weight: 700; overflow-wrap: anywhere; }
.cp-contact-detail a { text-decoration: none; }
.cp-contact-detail a:hover { color: var(--accent); }

.cp-contact-panel-note {
  margin-top: 16px;
  padding: 18px 18px 16px;
  border: 1px solid rgba(95, 92, 240, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.52);
}

.cp-contact-panel-note .rv-eyebrow { display: block; }
.cp-contact-panel-note p { margin: 8px 0 0; color: var(--text-muted); font-size: 16px; line-height: 1.6; }
.cp-contact-panel-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.cp-contact-panel-actions .rv-btn { min-height: 48px; padding: 12px 16px; }

.cp-contact-form-panel { min-width: 0; padding-top: clamp(4px, 1vw, 14px); }
.cp-contact-form-panel > .rv-eyebrow { display: inline-block; margin-bottom: 12px; }
.cp-contact-form-panel h1 {
  max-width: 13ch;
  margin: 0 0 16px;
  color: var(--ink);
  font-size: clamp(42px, 5.3vw, 68px);
  line-height: 0.99;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.cp-contact-intro { max-width: 60ch; margin: 0 0 28px; color: var(--text-muted); font-size: 16px; line-height: 1.7; }
.cp-contact-form { display: grid; gap: 17px; }
.cp-contact-field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.cp-contact-form label { display: grid; min-width: 0; gap: 8px; color: var(--ink); font-size: 13px; font-weight: 700; }
.cp-contact-form label > span { font-weight: 400; opacity: .68; }
.cp-contact-form input,
.cp-contact-form select,
.cp-contact-form textarea {
  width: 100%;
  min-width: 0;
  padding: 13px 14px;
  border: 1px solid rgba(95, 92, 240, 0.22);
  border-radius: 11px;
  background: #fff;
  color: var(--ink);
  font: 400 16px/1.45 "Lato", system-ui, sans-serif;
  box-shadow: 0 2px 7px rgba(33, 42, 99, 0.035);
}

.cp-contact-form input,
.cp-contact-form select { min-height: 50px; }
.cp-contact-form textarea { min-height: 126px; resize: vertical; }
.cp-contact-form input::placeholder,
.cp-contact-form textarea::placeholder { color: #8a91a3; opacity: 1; }
.cp-contact-submit { width: fit-content; min-height: 50px; padding-inline: 24px; }
.cp-contact-submit:disabled { cursor: not-allowed; opacity: .65; }
.cp-template-note { margin: -6px 0 0; color: var(--text-muted); font-size: 14px; line-height: 1.5; }

.cp-contact-faq-section { background: #fbfbfe; border-top: 1px solid var(--hair); }
.cp-contact-faq-section .rv-subtitle { margin: 10px auto 0; }
.cp-contact-faq-list { display: grid; max-width: 920px; gap: 12px; margin-top: 32px; }
.cp-contact-faq-card { padding: 0 22px; border: 1px solid rgba(95, 92, 240, 0.17); border-radius: 13px; background: #fff; box-shadow: 0 8px 24px rgba(25, 22, 74, .035); }
.cp-contact-faq-card summary { position: relative; padding: 20px 34px 20px 0; color: var(--ink); cursor: pointer; font-size: 19px; font-weight: 700; line-height: 1.4; list-style: none; }
.cp-contact-faq-card summary::-webkit-details-marker { display: none; }
.cp-contact-faq-card summary::after { position: absolute; top: 50%; right: 2px; color: var(--accent); content: "+"; font-size: 24px; line-height: 1; transform: translateY(-50%); }
.cp-contact-faq-card[open] summary::after { content: "−"; }
.cp-contact-faq-card p { margin: -2px 0 20px; color: var(--text-muted); font-size: 16px; line-height: 1.7; }
.cp-contact-faq-card a { color: var(--accent); font-weight: 700; }

/* How-to-use page: reference-led editorial story with the existing four-step guide. */
.cp-guide-story { padding-top: clamp(3rem, 6vw, 5.25rem); padding-bottom: clamp(3rem, 6vw, 5.5rem); }
.cp-guide-story-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(280px, .95fr); align-items: center; gap: clamp(2rem, 6vw, 5rem); }
.cp-guide-story-visual,
.cp-guide-builder-visual {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--hair);
  border-radius: 18px;
  background: #f4f3ff;
  box-shadow: 0 24px 60px rgba(24, 24, 27, 0.12);
}
.cp-guide-story-visual img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: contain; background: #fff; }
.cp-guide-story-visual figcaption,
.cp-guide-builder-visual figcaption { padding: 12px 16px 14px; color: var(--text-muted); font-size: 14px; line-height: 1.4; }
.cp-guide-story-copy .rv-eyebrow,
.cp-guide-builder-copy .rv-eyebrow { display: inline-block; margin-bottom: 12px; }
.cp-guide-story-copy h2,
.cp-guide-builder-copy h2 { max-width: 17ch; margin: 0 0 16px; color: var(--ink); font-size: clamp(32px, 4vw, 48px); line-height: 1.08; letter-spacing: -.045em; text-wrap: balance; }
.cp-guide-story-copy p,
.cp-guide-builder-copy p { max-width: 54ch; margin: 0; color: var(--text-muted); font-size: 16px; line-height: 1.7; }
.cp-inline-link { display: inline-flex; align-items: center; gap: 9px; margin-top: 22px; color: var(--accent); font-size: 16px; font-weight: 700; text-decoration: none; }
.cp-inline-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.cp-guide-steps { padding-bottom: clamp(32px, 4vw, 50px); background: #fbfbfe; border-block: 1px solid var(--hair); scroll-margin-top: 92px; }
.cp-guide-step-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 40px; }
.cp-guide-step-card { min-width: 0; padding: 24px 22px; border: 1px solid var(--hair); border-radius: 18px; background: #fff; box-shadow: 0 14px 38px rgba(26, 38, 68, .05); scroll-margin-top: 100px; }
.cp-guide-step-number { display: grid; width: 46px; height: 46px; place-items: center; border: 1px solid rgba(95, 92, 240, .14); border-radius: 14px; background: var(--accent-tint); color: var(--accent); font-size: 14px; font-weight: 800; letter-spacing: .06em; }
.cp-guide-step-card h3 { margin: 18px 0 9px; color: var(--ink); font-size: 21px; line-height: 1.2; letter-spacing: -.025em; }
.cp-guide-step-card > p { min-height: 78px; margin: 0; color: var(--text-muted); font-size: 16px; line-height: 1.6; }
.cp-guide-step-card ul { display: grid; gap: 9px; margin: 18px 0 0; padding: 16px 0 0; border-top: 1px solid var(--hair); list-style: none; }
.cp-guide-step-card li { position: relative; padding-left: 20px; color: var(--text-muted); font-size: 14px; line-height: 1.5; }
.cp-guide-step-card li::before { position: absolute; left: 0; color: var(--accent); content: "✓"; font-weight: 800; }
.cp-guide-builder-section { padding-top: clamp(32px, 4vw, 50px); background: var(--card-bg); }
.cp-guide-builder-grid { display: grid; grid-template-columns: minmax(260px, .72fr) minmax(0, 1.28fr); align-items: center; gap: clamp(2rem, 6vw, 5rem); }
.cp-guide-builder-visual img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; }
.cp-guide-checklist-card { display: grid; max-width: 820px; gap: 0; margin-top: 32px; padding: 8px 24px; border: 1px solid var(--hair); border-radius: 18px; background: #fff; box-shadow: 0 14px 38px rgba(26, 38, 68, .05); }
.cp-guide-checklist-card > div { display: flex; align-items: flex-start; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--hair); }
.cp-guide-checklist-card > div:last-child { border-bottom: 0; }
.cp-guide-checklist-card > div > span { display: grid; width: 34px; height: 34px; flex: 0 0 34px; place-items: center; border: 1px solid rgba(95, 92, 240, .15); border-radius: 11px; background: var(--accent-tint); color: var(--accent); font-weight: 800; }
.cp-guide-checklist-card p { margin: 0; color: var(--text-muted); font-size: 16px; line-height: 1.55; }
.cp-guide-checklist-card strong { color: var(--ink); }

/* Blog index: image-led editorial cards with real Campaign Pro+ workspace imagery. */
.cp-template-blog .rv-nav-bar { background: rgba(255,255,255,.96); }
.cp-template-blog .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.cp-blog-intro { padding-top: clamp(126px, 14vw, 184px); padding-bottom: clamp(22px, 4vw, 42px); }
.cp-blog-intro .rv-container { max-width: 1240px; }
.cp-blog-intro .rv-eyebrow { display: inline-block; margin-bottom: 14px; }
.cp-blog-intro h1 { max-width: 30ch; margin: 0; color: var(--ink); font-size: clamp(48px, 6.3vw, 78px); line-height: .99; letter-spacing: -.06em; text-wrap: balance; }
.cp-blog-intro p { max-width: 58ch; margin: 18px 0 0; color: var(--text-muted); font-size: 17px; line-height: 1.65; }
.cp-blog-listing { padding-top: 18px; }
.cp-blog-listing-heading { margin-bottom: 28px; }
.cp-blog-empty { max-width: 760px; margin-inline: auto; padding: clamp(24px, 4vw, 38px); }
.cp-blog-empty h3 { margin: 0 0 10px; color: var(--ink); font-size: clamp(22px, 3vw, 30px); }
.cp-blog-empty p { margin: 0 auto; color: var(--text-muted); font-size: 16px; line-height: 1.6; }
.cp-blog-empty .cp-inline-link { margin-top: 18px; }
.cp-blog-post .cp-blog-date { color: var(--accent); font-size: 13px; font-weight: 700; }
.cp-blog-post h2 { margin-top: 16px; }
.cp-blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px 22px; }
.cp-blog-card { min-width: 0; overflow: hidden; border: 1px solid var(--hair); border-radius: 18px; background: #fff; box-shadow: 0 14px 38px rgba(26, 38, 68, .055); transition: transform 220ms ease, box-shadow 220ms ease; }
.cp-blog-card:hover { transform: translateY(-4px); box-shadow: 0 22px 48px rgba(26, 38, 68, .1); }
.cp-blog-image-link { display: block; overflow: hidden; background: #f1f2fb; }
.cp-blog-image-link img { display: block; width: 100%; aspect-ratio: 1.62; object-fit: cover; object-position: top center; transition: transform 350ms ease; }
.cp-blog-card:hover .cp-blog-image-link img { transform: scale(1.025); }
.cp-blog-card-body { display: flex; min-height: 288px; flex-direction: column; align-items: flex-start; padding: 20px 21px 22px; }
.cp-blog-category { display: inline-block; padding: 7px 10px; border-radius: 5px; background: var(--accent-tint); color: var(--accent); font-size: 11px; font-weight: 800; letter-spacing: .08em; }
.cp-blog-byline { display: flex; align-items: center; gap: 9px; margin-top: 15px; color: var(--text-muted); font-size: 14px; }
.cp-blog-author-mark { display: grid; width: 30px; height: 30px; place-items: center; border-radius: 50%; background: var(--accent); color: #fff; font-size: 11px; font-weight: 800; }
.cp-blog-card h2 { margin: 14px 0 9px; color: var(--ink); font-size: clamp(20px, 2vw, 24px); line-height: 1.2; letter-spacing: -.025em; }
.cp-blog-card h2 a { color: inherit; text-decoration: none; }
.cp-blog-card h2 a:hover { color: var(--accent); }
.cp-blog-card-body > p { margin: 0; color: var(--text-muted); font-size: 16px; line-height: 1.6; }
.cp-blog-read-more { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 18px; color: var(--accent); font-size: 14px; font-weight: 800; letter-spacing: .04em; text-decoration: none; text-transform: uppercase; }
.cp-blog-read-more:hover { text-decoration: underline; text-underline-offset: 4px; }
.cp-blog-newsletter { padding-top: clamp(2rem, 5vw, 4rem); }
.cp-blog-newsletter-panel { max-width: 1220px; padding: clamp(28px, 5vw, 54px); border: 1px solid rgba(95, 92, 240, .14); border-radius: 22px; background: radial-gradient(ellipse at 0 0, rgba(95, 92, 240, .14), transparent 50%), linear-gradient(115deg, #f0f2ff, #fafaff 70%); text-align: center; }
.cp-blog-newsletter-panel .rv-eyebrow { display: inline-block; }
.cp-blog-newsletter-panel h2 { max-width: 22ch; margin: 12px auto 10px; color: var(--ink); font-size: clamp(30px, 4.4vw, 48px); line-height: 1.08; letter-spacing: -.045em; text-wrap: balance; }
.cp-blog-newsletter-panel > p:not(.cp-template-note) { max-width: 58ch; margin: 0 auto; color: var(--text-muted); font-size: 16px; line-height: 1.65; }
.cp-blog-newsletter-controls { display: flex; max-width: 540px; gap: 10px; margin: 24px auto 10px; }
.cp-blog-newsletter-controls input { min-width: 0; min-height: 52px; flex: 1; padding: 12px 16px; border: 1px solid rgba(95, 92, 240, .2); border-radius: 12px; background: rgba(255,255,255,.8); color: var(--ink); font: 400 16px "Lato", system-ui, sans-serif; }
.cp-blog-newsletter-controls button { min-height: 52px; padding-inline: 20px; white-space: nowrap; }
.cp-blog-newsletter-controls button:disabled { cursor: not-allowed; opacity: .65; }
.cp-blog-newsletter-panel .cp-template-note { margin: 0; }

@media (max-width: 1000px) {
  .cp-guide-step-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cp-blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .cp-contact-section { padding-top: 96px; }
  .cp-contact-grid,
  .cp-guide-story-grid,
  .cp-guide-builder-grid { grid-template-columns: 1fr; }
  .cp-contact-form-panel { padding-top: 8px; }
  .cp-contact-form-panel h1 { max-width: 16ch; font-size: clamp(38px, 9vw, 56px); }
  .cp-guide-story-visual { order: 2; }
  .cp-guide-story-copy { order: 1; }
  .cp-guide-step-card > p { min-height: 0; }
}

@media (max-width: 560px) {
  .cp-contact-field-row,
  .cp-guide-step-grid,
  .cp-blog-grid { grid-template-columns: 1fr; }
  .cp-contact-form-panel h1 { font-size: clamp(36px, 10vw, 48px); }
  .cp-contact-faq-card { padding-inline: 17px; }
  .cp-contact-faq-card summary { font-size: 18px; }
  .cp-guide-step-card { padding: 22px 20px; }
  .cp-blog-intro { padding-top: 116px; }
  .cp-blog-intro h1 { font-size: clamp(44px, 10vw, 64px); }
  .cp-blog-newsletter-controls { flex-direction: column; }
  .cp-blog-newsletter-controls button { width: 100%; }
}

.cp-home-chart-card { padding: 15px 17px; }
.cp-home-chart-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--ink); font-size: 13px; font-weight: 700; }
.cp-home-chart-heading > span:last-child { color: var(--text-muted); font-size: 11px; font-weight: 600; }
.cp-home-line-chart { display: block; width: 100%; height: auto; margin-top: 9px; overflow: visible; }
.cp-home-chart-gridline { fill: none; stroke: #e9ebf3; stroke-width: 1; }
.cp-home-chart-line { fill: none; stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; }
.cp-chart-violet { stroke: #6559e8; }
.cp-chart-cyan { stroke: #16a6c2; }
.cp-chart-amber { stroke: #e99a22; }
.cp-chart-green { stroke: #2e9b69; }
.cp-home-chart-legend { display: flex; flex-wrap: wrap; gap: 8px 15px; margin-top: 8px; color: var(--text-muted); font-size: 11px; font-weight: 600; }
.cp-home-chart-legend span { display: inline-flex; align-items: center; gap: 6px; }
.cp-home-chart-legend i { width: 8px; height: 8px; flex: 0 0 8px; border-radius: 50%; }
.cp-home-chart-legend .cp-chart-violet { background: #6559e8; }
.cp-home-chart-legend .cp-chart-cyan { background: #16a6c2; }
.cp-home-chart-legend .cp-chart-amber { background: #e99a22; }
.cp-home-chart-legend .cp-chart-green { background: #2e9b69; }

.cp-home-testimonials {
  background: #f5f6fa;
  border-block: 1px solid #e8eaf2;
}

.cp-home-testimonials h2 { color: var(--ink) !important; }
.cp-home-testimonials .rv-testimonial { background: #fff !important; border-color: #e6e8f0 !important; }

@media (max-width: 560px) {
  .cp-home-chart-card { padding: 13px 14px; }
  .cp-home-chart-legend { gap: 7px 11px; font-size: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .cp-blog-card,
  .cp-blog-image-link img { transition: none; }
  .cp-blog-card:hover,
  .cp-blog-card:hover .cp-blog-image-link img { transform: none; }
}

@media (max-width: 900px) {
  .cp-feature-story-grid {
    grid-template-columns: 1fr;
  }

  .cp-feature-story-visual {
    max-width: 720px;
    margin-inline: auto;
  }

  .cp-feature-story-copy {
    max-width: 720px;
    margin-inline: auto;
  }

  .cp-feature-story-visual {
    width: 100%;
    height: clamp(340px, 62vw, 440px);
  }

  .cp-feature-story-visual img {
    transform: none;
  }

  .cp-feature-builder-grid,
  .cp-pricing-preview-grid {
    grid-template-columns: 1fr;
  }

  .cp-feature-builder-copy,
  .cp-pricing-preview-copy {
    max-width: 720px;
    margin-inline: auto;
  }

  .cp-feature-builder-visual,
  .cp-pricing-preview-visual {
    width: 100%;
    max-width: 720px;
    margin-inline: auto;
  }

  .cp-pricing-section .rv-pricing-card.rv-pricing-featured {
    transform: none;
  }
}

@media (max-width: 700px) {
  .cp-template-page .rv-page-hero {
    padding-top: 3.25rem;
    padding-bottom: 2.5rem;
  }

  .cp-template-hero-actions {
    margin-top: -0.5rem;
  }

  .cp-template-hero-actions .rv-btn {
    flex: 1 1 180px;
    text-align: center;
  }

  .cp-pricing-section .rv-pricing-card {
    min-height: unset;
  }

  .cp-pricing-preview-grid {
    padding: 20px;
  }

  .cp-template-pricing .rv-accordion {
    min-height: 68px;
    padding: 17px 18px;
  }

  .cp-template-pricing .rv-accordion span {
    font-size: 18px;
  }

  .cp-template-pricing .rv-accordion-content {
    padding-inline: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cp-feature-story-visual img {
    transform: none;
  }
}

/* Reference-led sticky product story for the feature and guide pages. */
.cp-story-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.cp-scroll-story {
  overflow: clip;
  background: #fbfbfe;
  border-block: 1px solid var(--hair);
}

.cp-scroll-story-grid {
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr);
  align-items: start;
  gap: clamp(2rem, 6vw, 5.5rem);
}

.cp-scroll-story-copy {
  min-width: 0;
}

.cp-scroll-story-step {
  display: flex;
  min-height: clamp(390px, 68vh, 620px);
  flex-direction: column;
  justify-content: center;
  padding: clamp(26px, 4vw, 44px) 0;
  border-bottom: 1px solid var(--hair);
  scroll-margin-top: 104px;
}

.cp-scroll-story-step:last-child { border-bottom: 0; }

.cp-scroll-story-step-number {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.cp-scroll-story-step-number::after {
  width: 40px;
  height: 1px;
  background: currentColor;
  content: "";
}

.cp-scroll-story-step h3 {
  max-width: 17ch;
  margin: 0 0 16px;
  color: var(--ink);
  font-size: clamp(30px, 3.7vw, 46px);
  line-height: 1.08;
  letter-spacing: -.045em;
  text-wrap: balance;
}

.cp-scroll-story-step p {
  max-width: 52ch;
  margin: 0;
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.7;
}

.cp-scroll-story-step ul {
  display: grid;
  gap: 9px;
  margin: 20px 0 0;
  padding: 0;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.5;
  list-style: none;
}

.cp-scroll-story-step li {
  position: relative;
  padding-left: 23px;
}

.cp-scroll-story-step li::before {
  position: absolute;
  left: 0;
  color: var(--accent);
  content: "✓";
  font-weight: 800;
}

.cp-scroll-story-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: fit-content;
  margin-top: 24px;
  color: var(--accent);
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
}

.cp-scroll-story-link:hover { text-decoration: underline; text-underline-offset: 4px; }

.cp-scroll-story-visual {
  display: grid;
  min-width: 0;
  gap: 18px;
  align-self: start;
}

.cp-scroll-story-screens {
  display: grid;
  gap: 18px;
}

.cp-scroll-story-screen {
  position: relative;
  min-width: 0;
  aspect-ratio: 16 / 10;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--hair);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(24, 24, 27, .12);
}

.cp-scroll-story-screen img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background: #fff;
}

.cp-scroll-story-screen figcaption {
  position: absolute;
  right: 14px;
  bottom: 14px;
  padding: 8px 12px;
  border: 1px solid rgba(30, 36, 65, .08);
  border-radius: 999px;
  background: rgba(255, 255, 255, .94);
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 4px 18px rgba(24, 24, 27, .08);
}

.cp-scroll-story[data-story-mode="sticky"] .cp-scroll-story-visual {
  position: sticky;
  top: 96px;
  display: block;
  box-sizing: border-box;
  height: min(72vh, 590px);
  padding-top: 10px;
}

.cp-scroll-story[data-story-mode="sticky"] .cp-scroll-story-screens {
  position: relative;
  width: 100%;
  height: calc(100% - 28px);
}

.cp-scroll-story[data-story-mode="sticky"] .cp-scroll-story-screen {
  position: absolute;
  inset: 0;
  aspect-ratio: auto;
  opacity: 0;
  visibility: hidden;
  transform: perspective(1200px) translate3d(0, 20px, -36px) rotateY(2deg) scale(.98);
  transition: opacity 420ms ease, transform 620ms cubic-bezier(.2, .72, .2, 1), visibility 420ms ease;
}

.cp-scroll-story[data-story-mode="sticky"] .cp-scroll-story-screen.is-active {
  opacity: 1;
  visibility: visible;
  transform: perspective(1200px) translate3d(0, 0, 0) rotateY(0) scale(1);
}

.cp-scroll-story-meter {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
}

.cp-scroll-story-meter span {
  width: 30px;
  height: 3px;
  border-radius: 999px;
  background: rgba(95, 92, 240, .18);
}

.cp-scroll-story-meter span.is-active { width: 50px; background: var(--accent); }

.cp-other-solutions {
  border-top: 1px solid var(--hair);
  background: #fff;
}

.cp-other-solutions-heading { margin-bottom: 30px; }
.cp-other-solutions-heading .rv-eyebrow { display: inline-block; margin-bottom: 10px; }
.cp-other-solutions-heading h2 { margin: 0; color: var(--ink); font-size: clamp(34px, 4vw, 48px); line-height: 1.08; letter-spacing: -.045em; }

.cp-other-solutions-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.cp-other-solution-card {
  display: flex;
  min-width: 0;
  min-height: 230px;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(24px, 3.3vw, 36px);
  border: 1px solid var(--hair);
  border-radius: 20px;
  background: #fbfbfe;
  color: inherit;
  text-decoration: none;
  box-shadow: 0 12px 32px rgba(26, 38, 68, .045);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.cp-other-solution-card:hover {
  transform: translateY(-3px);
  border-color: rgba(95, 92, 240, .26);
  box-shadow: 0 20px 44px rgba(26, 38, 68, .09);
}

.cp-other-solution-label { color: var(--accent); font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.cp-other-solution-card h3 { margin: 16px 0 8px; color: var(--ink); font-size: clamp(22px, 2.6vw, 30px); line-height: 1.16; letter-spacing: -.03em; }
.cp-other-solution-card p { max-width: 54ch; margin: 0; color: var(--text-muted); font-size: 16px; line-height: 1.6; }
.cp-other-solution-link { display: inline-flex; gap: 8px; align-items: center; margin-top: auto; padding-top: 22px; color: var(--accent); font-size: 14px; font-weight: 800; }

@media (max-width: 900px) {
  .cp-scroll-story-grid { grid-template-columns: 1fr; }
  .cp-scroll-story-step { min-height: 0; }
  .cp-scroll-story-visual,
  .cp-scroll-story[data-story-mode="sticky"] .cp-scroll-story-visual {
    position: static;
    height: auto;
    padding-top: 0;
  }
  .cp-scroll-story[data-story-mode="sticky"] .cp-scroll-story-screens,
  .cp-scroll-story-screens { position: static; height: auto; }
  .cp-scroll-story[data-story-mode="sticky"] .cp-scroll-story-screen {
    position: relative;
    inset: auto;
    aspect-ratio: 16 / 10;
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: none;
  }
  .cp-scroll-story-meter { display: none; }
  .cp-other-solutions-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .cp-scroll-story-screen,
  .cp-other-solution-card { transition: none; }
  .cp-scroll-story-screen { transform: none; }
  .cp-other-solution-card:hover { transform: none; }
}
