/* ==========================================================================
   CPPN Landing Page
   Scoped under .cppn-lp so it can live inside any WordPress theme.
   Breakpoints: 600 (sm) · 900 (md: layouts go 2-column) · 1366 (design width)
   ========================================================================== */

/* Registered so the domain fill bar can animate smoothly */
@property --cppn-fill {
  syntax: "<number>";
  inherits: true;
  initial-value: 0;
}

.cppn-lp {
  /* Brand colors (from XD) */
  --c-navy: #074b72;
  --c-navy-deep: #003b60;
  --c-blue: #2b4d9d;
  --c-blue-hover: #233f82;
  --c-teal: #00abc7;
  --c-teal-mid: #009dbc;
  --c-teal-dark: #008099;
  --c-sky: #bce6f4;
  --c-sky-soft: #c9eaf6;
  --c-ice: #e3f7ff;
  --c-mist: #f7fdff;
  --c-mist-alt: #f4f8fa;
  --c-white: #fff;
  --c-ink: #111;
  --c-error: #c0262d;

  /* Type. XD specifies ExtraBold (800) for headings; the approved mockup
     rendered them lighter. Change --fw-display to 800 for the literal spec. */
  --font: "Open Sans", "Helvetica Neue", Arial, sans-serif;
  --fw-regular: 400;
  --fw-semibold: 600;
  --fw-bold: 700;
  --fw-display: 700;
  --fw-eyebrow: 800;

  /* Layout */
  --container: 1234px;
  --gutter: clamp(19px, 4.8vw, 66px);
  --radius: 12px;
  --radius-lg: 17px;
  --shadow: 0 3px 6px rgb(0 0 0 / 0.16);
  --shadow-hover: 0 14px 30px -10px rgb(7 75 114 / 0.35), 0 3px 6px rgb(0 0 0 / 0.08);
  --pad-y: clamp(40px, 6.4vw, 88px);

  /* Motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --dur: 0.8s;

  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  color: var(--c-ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

/* Resets use :where() (zero specificity) so component classes always win
   and theme styles are overridden only inside .cppn-lp. */
:where(.cppn-lp) *,
:where(.cppn-lp) *::before,
:where(.cppn-lp) *::after { box-sizing: border-box; }

:where(.cppn-lp) :where(img, svg) { display: block; max-width: 100%; }
:where(.cppn-lp) :where(img) { height: auto; }
:where(.cppn-lp) :where(picture) { display: block; }
:where(.cppn-lp) :where(p, h1, h2, h3, ul, ol) { margin: 0; }
:where(.cppn-lp) :where(ul, ol)[role="list"] { list-style: none; padding: 0; }
:where(.cppn-lp) [id] { scroll-margin-top: var(--cppn-header-offset, 24px); }
:where(.cppn-lp) :where(a) { color: inherit; }

.cppn-visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* ---------- Layout primitives ---------- */
header#header {
	position: relative !important;
}
.cppn-container {
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
}

.cppn-section {
  position: relative;
  padding-block: var(--pad-y);
}
.cppn-section--mist { background: var(--c-mist); }

.cppn-section__head { margin-bottom: clamp(24px, 2.4vw, 28px); }
.cppn-section__head--center { text-align: center; }

.cppn-split {
  display: grid;
  gap: 40px;
}

@media (min-width: 900px) {
  .cppn-split { align-items: center; }
  .cppn-split--why {
    grid-template-columns: minmax(0, 443fr) minmax(0, 644fr);
    column-gap: clamp(56px, 10.8vw, 147px);
  }
  .cppn-split--recognition {
    grid-template-columns: minmax(0, 514fr) minmax(0, 644fr);
    column-gap: clamp(48px, 5.6vw, 76px);
  }
  .cppn-split--leaders {
    grid-template-columns: minmax(0, 664fr) minmax(0, 524fr);
    column-gap: clamp(40px, 3.4vw, 46px);
  }
}

.cppn-split__media { position: relative; }

/* ---------- Typography ---------- */

.cppn-eyebrow {
  font-size: 18px;
  line-height: 1.3;
  font-weight: var(--fw-eyebrow);
  text-transform: uppercase;
  color: var(--c-teal-dark);
  margin-bottom: 10px;
}
.cppn-eyebrow--navy { color: #084b72; }
.cppn-eyebrow--light { color: var(--c-mist); }

.cppn-h2 {
  font-size: clamp(29px, 1.3vw + 23px, 34px);
  line-height: 1.27;
  font-weight: var(--fw-display);
  color: #084b72;
  text-wrap: balance;
  margin-bottom: 20px;
}

.cppn-lp .cppn-h2 {
	margin-bottom: 20px;
}
.cppn-h2--light { color: var(--c-white); }

.cppn-copy {
  font-size: clamp(16px, 0.5vw + 14px, 18px);
  line-height: 1.45;
}
.cppn-copy p + p { margin-top: 10px; }

/* .cppn-exam strong: bold text from the ACF WYSIWYG gets the same highlight */
.cppn-highlight,
.cppn-exam .cppn-copy strong {
  font-weight: var(--fw-eyebrow);
  color: #084b72;
}
.cppn-copy a { color: var(--c-teal-dark); font-weight: var(--fw-semibold); }
.cppn-copy a:hover { color: var(--c-navy); }

.cppn-actions { margin-top: clamp(32px, 3.8vw, 48px); }
.cppn-actions--center { display: flex; justify-content: center; }
.cppn-actions--lg { margin-top: clamp(40px, 6.9vw, 95px); }

/* ---------- Buttons ---------- */

.cppn-btn {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 246px;
  min-height: 52px;
  padding: 14px 34px;
  border: 0;
  border-radius: 999px;
  background: var(--c-blue);
  color: var(--c-white);
  font: var(--fw-bold) 16px/1.2 var(--font);
  text-transform: uppercase;
  text-decoration: none;
  letter-spacing: 0.01em;
  cursor: pointer;
  box-shadow: 0 0 0 rgb(43 77 157 / 0);
  transition:
    transform 0.35s var(--ease-out),
    box-shadow 0.35s var(--ease-out),
    background-color 0.35s var(--ease-out),
    color 0.35s var(--ease-out);
}
.cppn-lp .cppn-btn { color: var(--c-white); }

.cppn-btn:hover {
  background: var(--c-navy);
  box-shadow: 0 8px 18px -10px rgb(7 75 114 / 0.6);
}
.cppn-btn:active { transform: scale(0.98); transition-duration: 0.1s; }
.cppn-btn:focus-visible {
  outline: 3px solid var(--c-teal);
  outline-offset: 3px;
}

.cppn-lp .cppn-btn--light {
  background: var(--c-sky-soft);
  color: var(--c-navy);
  min-width: 310px;
}
.cppn-lp .cppn-btn--light:hover {
  background: var(--c-white);
  color: var(--c-blue);
  box-shadow: 0 8px 18px -10px rgb(0 59 96 / 0.5);
}
.cppn-btn--light:focus-visible { outline-color: var(--c-white); }

/* ---------- Chevron (feather chevron-right, rotates down when open) ---------- */

.cppn-chevron {
  flex: none;
  position: relative;
  width: 24px;
  height: 24px;
  transition: transform 0.45s var(--ease-out);
}
.cppn-chevron::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 11px;
  height: 11px;
  border-right: 3.3px solid var(--c-teal-dark);
  border-bottom: 3.3px solid var(--c-teal-dark);
  border-radius: 1.5px;
  transform: translate(-70%, -50%) rotate(-45deg);
}
[aria-expanded="true"] > .cppn-chevron { transform: rotate(90deg); }

/* ---------- Collapse (accordion panel) ---------- */

.cppn-collapse {
  display: grid;
  grid-template-rows: 1fr;
  transition:
    grid-template-rows 0.5s var(--ease-out),
    opacity 0.4s var(--ease-out);
}
.cppn-collapse.is-closed {
  grid-template-rows: 0fr;
  opacity: 0;
}
.cppn-collapse__inner { min-height: 0; overflow: hidden; }

/* ---------- Badges & logo cards ---------- */

.cppn-badge {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--c-ice);
  box-shadow: var(--shadow);
}
.cppn-badge img { width: 40%; height: auto; }

.cppn-logo-card {
  display: grid;
  place-items: center;
  background: var(--c-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* ---------- Image frames (overflow mask for parallax) ---------- */

.cppn-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--c-sky-soft);
  transform: translateZ(0);
}
.cppn-frame__img {
  position: absolute;
  inset: -3% 0;
  will-change: transform;
  transform: translate3d(0, var(--parallax-y, 0px), 0);
}
.cppn-frame__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform-origin: 50% 85%;
  transition: transform 1.2s var(--ease-out);
}
.cppn-split__media:hover .cppn-frame__img img { transform: scale(1.03); }


/* ==========================================================================
   1. HERO
   ========================================================================== */

.cppn-hero {
  position: relative;
  overflow: hidden;
  background: var(--c-sky);
}

.cppn-hero__inner { display: grid; }

.cppn-hero__content {
  padding-block: 40px 44px;
  text-align: center;
}

.cppn-hero__eyebrow { font-size: 14px; margin-bottom: 14px; }

.cppn-hero__title {
  font-size: clamp(32px, 1.3vw + 27px, 39px);
  line-height: 1.22;
  font-weight: var(--fw-display);
  color: #084b72;
  text-wrap: balance;
}
.cppn-hero__line { display: block; }

.cppn-hero__sub {
  margin: 12px 0 24px;
  font-size: clamp(18px, 0.75vw + 15px, 22px);
  line-height: 1.4;
  font-weight: var(--fw-semibold);
  color: #084b72;
}

.cppn-hero__media {
  position: relative;
  order: -1;
  height: clamp(207px, 48vw, 380px);
  margin-inline: calc(var(--gutter) * -1);
}

.cppn-shapes {
  position: absolute;
  top: 0;
  height: 100%;
  width: auto;
  max-width: none;
  pointer-events: none;
}
.cppn-shapes--hero { left: 0; aspect-ratio: 1600 / 357; }

.cppn-hero__img {
  position: absolute;
  z-index: 1;
  bottom: 0;
  left: 15%;
  width: 64%;
  max-width: 535px;
}
.cppn-hero__img img { width: 100%; }

.cppn-badge--hero {
  top: 16%;
  right: 18%;
  width: clamp(60px, 14vw, 117px);
}
.cppn-badge--hero img { width: 50%; }

@media (min-width: 900px) {
  .cppn-hero__inner {
    grid-template-columns: minmax(0, 1fr) min(558px, 46%);
    column-gap: 24px;
    min-height: 357px;
  }
  .cppn-hero__content {
    align-self: center;
    padding-block: 56px;
    text-align: left;
  }
  .cppn-hero__eyebrow { font-size: 16px; margin-bottom: 12px; }
  .cppn-hero__sub { margin: 10px 0 22px; }
  .cppn-hero__media {
    order: 0;
    height: auto;
    margin-inline: 0;
  }
  .cppn-shapes--hero { left: 9px; }
  .cppn-hero__img { left: 0; width: 95.9%; }
  .cppn-badge--hero { top: 21px; right: 0; width: 117px; }
}

/* Load-in sequence. Only runs when JS has booted, so no-JS users see content. */
.cppn-js .cppn-hero [data-hero-step] {
  animation: cppn-rise 0.9s var(--ease-out) both;
}
.cppn-js .cppn-hero [data-hero-step]:nth-child(1) { animation-delay: 0.15s; }
.cppn-js .cppn-hero [data-hero-step]:nth-child(2) { animation-delay: 0.28s; }
.cppn-js .cppn-hero [data-hero-step]:nth-child(3) { animation-delay: 0.42s; }
.cppn-js .cppn-hero [data-hero-step]:nth-child(4) { animation-delay: 0.54s; }

.cppn-js .cppn-shapes--hero .cppn-shapes__a { animation: cppn-shape-in-x 1.1s var(--ease-out) 0.05s both; }
.cppn-js .cppn-shapes--hero .cppn-shapes__b { animation: cppn-shape-in-y 1.1s var(--ease-out) 0.2s both; }
.cppn-js .cppn-hero__img { animation: cppn-hero-img 1.1s var(--ease-out) 0.35s both; }
.cppn-js .cppn-badge--hero { animation: cppn-pop 0.8s var(--ease-spring) 0.9s both; }
.cppn-js .cppn-badge--hero img { animation: cppn-float 5s ease-in-out 1.8s infinite; }


/* ==========================================================================
   2. WHY CPPN
   ========================================================================== */

.cppn-frame--why { aspect-ratio: 16 / 10; border-radius: var(--radius-lg); }
.cppn-frame--why img { object-position: 60% 5%; }

.cppn-badge--why {
  width: 82px;
  left: 14px;
  bottom: -40px;
}
.cppn-why .cppn-split { row-gap: 64px; }

@media (min-width: 600px) {
  .cppn-frame--why { aspect-ratio: 16 / 9; }
  .cppn-frame--why img { object-position: 60% 20%; }
}
@media (min-width: 900px) {
  .cppn-frame--why { aspect-ratio: 443 / 410; }
  .cppn-frame--why img { object-position: 62% 20%; }
  .cppn-badge--why {
    width: 125px;
    left: auto;
    right: -35px;
    bottom: -55px;
  }
}


/* ==========================================================================
   3. ELIGIBILITY
   ========================================================================== */

.cppn-eligibility {
  overflow: hidden;
  background: var(--c-teal-mid);
  padding-block: clamp(36px, 4.4vw, 60px) clamp(45px, 4.4vw, 60px);
}
.cppn-eligibility > .cppn-container { position: relative; z-index: 1; }

.cppn-shapes--eligibility {
  top: 30%;
  height: 70%;
  left: 21%;
  aspect-ratio: 1600 / 594;
}
@media (min-width: 900px) {
  .cppn-shapes--eligibility {
    top: 0;
    height: 100%;
    left: min(62.84%, calc(50% + 175px));
  }
}

.cppn-eligibility__intro {
  margin-top: 10px;
  font-size: 16px;
  font-weight: var(--fw-semibold);
  color: var(--c-white);
}
@media (min-width: 900px) {
  .cppn-eligibility__intro { margin-top: 14px; font-size: 20px; }
}

.cppn-eligibility__footnote {
  max-width: 640px;
  margin: 24px auto 0;
  font-size: 14px;
  font-style: italic;
  line-height: 1.55;
  text-align: center;
  color: rgb(255 255 255 / 0.88);
}
.cppn-eligibility__footnote + .cppn-actions { margin-top: 28px; }
@media (min-width: 900px) {
  .cppn-eligibility__footnote { margin-top: 32px; font-size: 16px; }
  .cppn-eligibility__footnote + .cppn-actions { margin-top: 32px; }
}

.cppn-criteria {
  display: grid;
  gap: 14px;
  max-width: 1040px;
  margin-inline: auto;
}
@media (min-width: 768px) {
  .cppn-criteria { gap: 20px; }
}

.cppn-criteria__card {
  background: var(--c-mist);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px 21px 22px;
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out);
}
.cppn-criteria__card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.cppn-criteria__icon {
  height: 37px;
  width: auto;
  margin-bottom: 14px;
  transform-origin: 30% 80%;
}
.cppn-criteria__card:hover .cppn-criteria__icon { animation: cppn-wiggle 0.7s var(--ease-out); }

.cppn-criteria__text {
  font-size: 15px;
  line-height: 1.4;
  font-weight: var(--fw-semibold);
  color: #084b72;
}
.cppn-criteria__text strong {
  display: block;
  margin-bottom: 6px;
  font-size: 17px;
  line-height: 1.25;
  font-weight: var(--fw-display);
  color: var(--c-navy);
}
.cppn-criteria__text p + p { margin-top: 12px; }
.cppn-criteria__note {
  padding-top: 12px;
  border-top: 1px solid rgb(7 75 114 / 0.15);
  font-size: 0.87em;
  font-weight: var(--fw-regular);
  line-height: 1.5;
  color: var(--c-ink);
}

/* Rows: icon column on the left, text on the right */
@media (min-width: 768px) {
  .cppn-criteria__card {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    column-gap: 28px;
    align-items: start;
  }
  .cppn-criteria__icon { justify-self: center; margin-bottom: 0; }
}

@media (min-width: 900px) {
  .cppn-criteria__card { grid-template-columns: 80px minmax(0, 1fr); column-gap: 34px; padding: 30px 40px 32px; }
  .cppn-criteria__icon { height: 59px; margin-bottom: 0; }
  .cppn-criteria__text { font-size: 17px; line-height: 1.5; color: var(--c-ink); }
  .cppn-criteria__text strong { margin-bottom: 8px; font-size: 22px; }
}


/* ==========================================================================
   4. THE EXAM — domains
   ========================================================================== */

.cppn-exam .cppn-section__head { max-width: 1234px; }

.cppn-domains {
  display: grid;
  gap: 15px;
}

.cppn-domain {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 81px minmax(0, 1fr);
  grid-template-areas:
    "pct head"
    "pct body";
  align-items: center;
  padding: 16px 18px 16px 0;
  border-radius: var(--radius);
  background: var(--c-mist);
  box-shadow: var(--shadow);
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out);
}
.cppn-domain:nth-child(even) { background: var(--c-mist-alt); }

/* accent bar on hover */
.cppn-domain::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--c-teal);
  transform: scaleY(0);
  transition: transform 0.45s var(--ease-out);
}
/* fill bar = share of the exam */
.cppn-domain::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: calc(var(--cppn-fill) * 1%);
  background: linear-gradient(90deg, var(--c-teal), var(--c-teal-dark));
  border-radius: 0 3px 3px 0;
  transition: --cppn-fill 1.4s var(--ease-out) 0.25s;
}
.cppn-domain.is-visible::after,
.cppn-lp:not(.cppn-js) .cppn-domain::after { --cppn-fill: var(--pct); }

@media (hover: hover) {
  .cppn-domain:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
  }
  .cppn-domain:hover::before { transform: scaleY(1); }
}

.cppn-domain__pct {
  grid-area: pct;
  align-self: start;
  padding-top: 2px;
  text-align: center;
  font-size: 25px;
  line-height: 1.16;
  font-weight: var(--fw-display);
  color: var(--c-navy);
  font-variant-numeric: tabular-nums;
}

.cppn-domain__head {
  grid-area: head;
  font-size: 16px;
  margin: 0;
}

.cppn-domain__toggle {
  position: static;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 29px;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  text-align: left;
  color: inherit;
  cursor: pointer;
}
/* whole card is the tap target on mobile */
.cppn-domain__toggle::after {
  content: "";
  position: absolute;
  inset: 0;
}
.cppn-domain__toggle:focus-visible { outline: none; }
.cppn-domain:has(.cppn-domain__toggle:focus-visible) {
  outline: 3px solid var(--c-teal);
  outline-offset: 2px;
}

.cppn-domain__title {
  font-size: 16px;
  line-height: 1.15;
  font-weight: var(--fw-eyebrow);
  text-transform: uppercase;
  color: var(--c-teal-dark);
}

.cppn-domain .cppn-chevron { width: 14px; height: 14px; }
.cppn-domain .cppn-chevron::before { width: 8px; height: 8px; border-width: 2.6px; }

.cppn-domain .cppn-collapse { grid-area: body; }
.cppn-domain__desc {
  padding-top: 10px;
  font-size: 14px;
  line-height: 1.43;
}

@media (min-width: 900px) {
  .cppn-domain {
    grid-template-columns: 145px minmax(0, 1fr);
    padding: 22px 40px 22px 0;
    min-height: 87px;
  }
  .cppn-domain__pct {
    align-self: center;
    padding: 0;
    font-size: 39px;
    line-height: 1;
  }
  .cppn-domain__toggle {
    cursor: default;
    pointer-events: none;
    min-height: 0;
  }
  .cppn-domain__toggle::after,
  .cppn-domain .cppn-chevron { display: none; }
  .cppn-domain__title { line-height: 1.125; }
  .cppn-domain__desc { padding-top: 2px; font-size: 16px; line-height: 1.375; }
}


/* ==========================================================================
   5. SPECIALIZED RECOGNITION
   ========================================================================== */

.cppn-frame--recognition { aspect-ratio: 390 / 228; }
.cppn-frame--recognition img { object-position: 50% 12%; }

.cppn-logo-card--sm {
  position: absolute;
  z-index: 2;
  left: 19px;
  bottom: -36px;
  width: 130px;
  height: 84px;
  transition: transform 0.5s var(--ease-spring);
}
.cppn-logo-card--sm img { width: 68%; }
.cppn-split__media:hover .cppn-logo-card--sm { transform: translateY(-6px) rotate(-1.5deg); }

.cppn-recognition .cppn-split { row-gap: 72px; }

.cppn-built {
  margin-top: 10px;
  font-size: clamp(16px, 0.5vw + 14px, 18px);
  line-height: 1.45;
  font-weight: var(--fw-bold);
}
.cppn-built li + li { margin-top: 10px; }

@media (min-width: 900px) {
  .cppn-frame--recognition { aspect-ratio: 514 / 301; }
  .cppn-logo-card--sm {
    left: 24px;
    bottom: -47px;
    width: 172px;
    height: 110px;
  }
}


/* ==========================================================================
   6. LEADERS
   ========================================================================== */

.cppn-leaders .cppn-split { row-gap: 32px; }
.cppn-leaders .cppn-split__content { order: 2; }

.cppn-frame--leaders { aspect-ratio: 390 / 260; }
.cppn-frame--leaders img { object-position: 50% 12%; }

.cppn-badge--leaders {
  width: 80px;
  left: 40px;
  bottom: -36px;
}

.cppn-leaders .cppn-h2 { margin-top: 36px; }

.cppn-bullets {
  margin-top: 22px;
  font-size: 16px;
  line-height: 1.5;
  font-weight: var(--fw-bold);
}
.cppn-bullets li {
  position: relative;
  padding-left: 30px;
}
.cppn-bullets li + li { margin-top: 10px; }
.cppn-bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--c-teal);
  transition: transform 0.4s var(--ease-spring) 0.2s;
}
.cppn-js .cppn-bullets li[data-reveal]:not(.is-visible)::before { transform: scale(0); }

@media (min-width: 900px) {
  .cppn-leaders .cppn-split__content { order: 0; }
  .cppn-leaders .cppn-h2 { margin-top: 0; }
  .cppn-frame--leaders { aspect-ratio: 524 / 349; }
  .cppn-badge--leaders {
    width: 106px;
    left: 55px;
    bottom: -48px;
  }
  .cppn-bullets {
    margin-top: 14px;
    font-size: 18px;
    line-height: 1.45;
  }
  .cppn-bullets li { padding-left: 21px; }
}


/* ==========================================================================
   7. FAQ
   ========================================================================== */

.cppn-faq { padding-block: clamp(48px, 4.4vw, 56px); }

.cppn-faq__list {
  display: grid;
  gap: 13px;
}

.cppn-faq__item {
  background: var(--c-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: box-shadow 0.4s var(--ease-out), transform 0.4s var(--ease-out);
}
@media (hover: hover) {
  .cppn-faq__item:hover { box-shadow: var(--shadow-hover); }
}

.cppn-faq__q { font-size: 18px; }

.cppn-faq__toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 20px 21px;
  border: 0;
  border-radius: var(--radius);
  background: none;
  font: var(--fw-bold) 18px/1.15 var(--font);
  color: var(--c-teal-dark);
  text-align: left;
  cursor: pointer;
  transition: color 0.3s var(--ease-out);
}
.cppn-faq__toggle:hover { color: var(--c-navy); }
.cppn-faq__toggle:focus-visible {
  outline: 3px solid var(--c-teal);
  outline-offset: 2px;
}
.cppn-faq__toggle .cppn-chevron { width: 16px; height: 16px; }
.cppn-faq__toggle .cppn-chevron::before { width: 9px; height: 9px; border-width: 2.8px; }

.cppn-faq__a {
  padding: 0 21px 22px;
  font-size: 14px;
  line-height: 1.43;
}
.cppn-faq__a a { color: var(--c-teal-dark); font-weight: var(--fw-semibold); }
.cppn-faq__a a:hover { color: var(--c-navy); }

@media (min-width: 900px) {
  .cppn-faq__list { gap: 15px; }
  .cppn-faq__toggle {
    padding: 30px 39px;
    font-size: 24px;
    line-height: 1.2;
    font-weight: var(--fw-display);
    color: var(--c-navy);
  }
  .cppn-faq__toggle:hover { color: var(--c-teal-dark); }
  .cppn-faq__toggle .cppn-chevron { width: 24px; height: 24px; }
  .cppn-faq__toggle .cppn-chevron::before { width: 11px; height: 11px; border-width: 3.3px; }
  .cppn-faq__a {
    max-width: 1000px;
    padding: 0 39px 28px;
    font-size: 18px;
    line-height: 1.5;
  }
}


/* ==========================================================================
   8. SIGN UP / NEWSLETTER
   ========================================================================== */

.cppn-signup {
  overflow: hidden;
  background: var(--c-sky);
  padding-block: 0 clamp(56px, 6.7vw, 91px);
}

.cppn-signup__inner { display: grid; }

.cppn-signup__media {
  position: relative;
  margin-inline: calc(var(--gutter) * -1);
  padding: 25px var(--gutter) 46px;
}
.cppn-shapes--signup {
  left: 40%;
  aspect-ratio: 1600 / 688;
}

.cppn-logo-card--lg {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 390 / 248;
  overflow: hidden;
}
.cppn-logo-card--lg img {
  width: 67%;
  transition: transform 1.2s var(--ease-out);
}
.cppn-logo-card--lg:hover img { transform: scale(1.04); }

.cppn-signup__content { position: relative; z-index: 1; }

@media (min-width: 900px) {
  .cppn-signup { padding-top: 76px; }
  .cppn-signup__inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 478px);
    column-gap: 48px;
    align-items: start;
  }
  .cppn-signup__content { grid-row: 1; grid-column: 1; padding-top: 27px; max-width: 520px; }
  .cppn-signup__media {
    position: static;
    grid-row: 1;
    grid-column: 2;
    margin: 0;
    padding: 0;
  }
  .cppn-shapes--signup { left: min(56.39%, calc(50% + 87px)); }
  .cppn-logo-card--lg { aspect-ratio: 478 / 305; }
}

.cppn-signup__form { margin-top: clamp(28px, 3.2vw, 44px); max-width: 392px; }

/* ---------- Constant Contact inline form ----------
   The CC widget injects its own CSS (and per-form colours from the CC form builder)
   after ours, so every rule starts with
   .cppn-lp .ctct-inline-form .ctct-form-embed + .ctct-form-custom / .ctct-form-defaults
   to out-rank it. !important only where CC uses it (error colours). */

.cppn-lp .ctct-inline-form .ctct-form-embed .ctct-form-defaults {
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: var(--c-ink);
  font: var(--fw-regular) 16px/1.5 var(--font);
}
.cppn-lp .ctct-inline-form .ctct-form-embed .ctct-form-custom {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 0;
  margin: 0;
}
/* The section already has its own title + intro: hide the CC form's title/description */
.cppn-lp .ctct-inline-form .ctct-form-embed .ctct-form-custom > .ctct-form-header,
.cppn-lp .ctct-inline-form .ctct-form-embed .ctct-form-custom > .ctct-form-text { display: none; }

/* Fields: floating label + underline input (label, error and input come in that DOM order) */
.cppn-lp .ctct-inline-form .ctct-form-embed .ctct-form-custom .ctct-form-field {
  position: relative;
  display: flex;
  flex-direction: column;
  align-self: stretch;
  margin: 0 0 18px;
  padding-top: 22px;
}
.cppn-lp .ctct-inline-form .ctct-form-embed .ctct-form-custom .ctct-form-label {
  position: absolute;
  left: 0;
  top: 22px;
  margin: 0;
  font-size: 18px;
  line-height: 26px;
  font-weight: var(--fw-regular);
  color: var(--c-navy);
  pointer-events: none;
  transform-origin: 0 0;
  transition: transform 0.35s var(--ease-out), color 0.35s var(--ease-out);
}
.cppn-lp .ctct-inline-form .ctct-form-embed .ctct-form-custom .ctct-form-field:focus-within .ctct-form-label,
.cppn-lp .ctct-inline-form .ctct-form-embed .ctct-form-custom .ctct-form-field.is-filled .ctct-form-label,
.cppn-lp .ctct-inline-form .ctct-form-embed .ctct-form-custom .ctct-form-field:has(input:autofill) .ctct-form-label {
  transform: translateY(-22px) scale(0.78);
  color: var(--c-teal-dark);
}
.cppn-lp .ctct-inline-form .ctct-form-embed .ctct-form-custom .ctct-form-required::before { content: none; }

.cppn-lp .ctct-inline-form .ctct-form-embed .ctct-form-custom .ctct-form-element,
.cppn-lp .ctct-inline-form .ctct-form-embed .ctct-form-custom .ctct-select-element {
  order: 1;
  display: block;
  width: 100%;
  height: 46px;
  padding: 10px 0 8px;
  border: 0;
  border-bottom: 2px solid #084b72;
  border-radius: 0;
  box-shadow: none;
  outline: none;
  background:
    linear-gradient(var(--c-teal-dark), var(--c-teal-dark)) left bottom / 0 2px no-repeat,
    transparent;
  font: var(--fw-regular) 18px/1.4 var(--font);
  color: var(--c-ink);
  transition: background-size 0.45s var(--ease-out), border-color 0.3s;
}
.cppn-lp .ctct-inline-form .ctct-form-embed .ctct-form-custom .ctct-form-element:focus,
.cppn-lp .ctct-inline-form .ctct-form-embed .ctct-form-custom .ctct-select-element:focus {
  outline: none;
  background-size: 100% 2px, auto;
  border-bottom-color: transparent;
}
.cppn-lp .ctct-inline-form .ctct-form-embed .ctct-form-custom .ctct-form-element.is-error {
  border-color: var(--c-error) !important;
  color: var(--c-ink) !important;
}
.cppn-lp .ctct-inline-form .ctct-form-embed .ctct-form-custom .ctct-form-field:has(.is-error) .ctct-form-label { color: var(--c-error); }

.cppn-lp .ctct-inline-form .ctct-form-embed .ctct-form-custom .ctct-form-errorMessage {
  order: 2;
  margin: 4px 0 0;
  font-size: 13px;
  line-height: 18px;
  font-weight: var(--fw-semibold);
  color: var(--c-error) !important;
}
.cppn-lp .ctct-inline-form .ctct-form-embed .ctct-form-custom .ctct-form-error .ctct-form-errorMessage { margin: 0 0 16px; }

/* Email-list checkboxes (only shown if the CC form lets people pick lists) */
.cppn-lp .ctct-inline-form .ctct-form-embed .ctct-form-custom .ctct-form-lists { margin: 0 0 16px; padding: 0; }
.cppn-lp .ctct-inline-form .ctct-form-embed .ctct-form-custom .ctct-form-lists-legend {
  left: 0;
  margin-bottom: 8px;
  font-weight: var(--fw-semibold);
  color: var(--c-navy);
}
.cppn-lp .ctct-inline-form .ctct-form-embed .ctct-form-custom .ctct-form-checkbox { accent-color: var(--c-teal-dark); }

/* Consent fine print */
.cppn-lp .ctct-inline-form .ctct-form-embed .ctct-form-defaults .ctct-gdpr-text {
  margin: 4px 0 22px;
  font: var(--fw-regular) 12px/1.5 var(--font);
  color: rgb(17 17 17 / 0.7);
}
.cppn-lp .ctct-inline-form .ctct-form-embed .ctct-form-defaults .ctct-gdpr-text .ctct-form-footer-link,
.cppn-lp .ctct-inline-form .ctct-form-embed .ctct-form-defaults .ctct-gdpr-text .ctct-form-footer-privacy-link {
  color: var(--c-navy);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Submit: mirrors .cppn-btn */
.cppn-lp .ctct-inline-form .ctct-form-embed .ctct-form-custom .ctct-form-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 246px;
  min-height: 52px;
  margin: 0;
  padding: 14px 34px;
  border: 0;
  border-radius: 999px;
  background: var(--c-blue);
  color: var(--c-white);
  font: var(--fw-bold) 16px/1.2 var(--font);
  letter-spacing: 0.01em;
  text-transform: uppercase;
  box-shadow: none;
  cursor: pointer;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), background-color 0.35s;
}
.cppn-lp .ctct-inline-form .ctct-form-embed .ctct-form-custom .ctct-form-button:hover {
  border: 0;
  background: var(--c-navy);
  box-shadow: 0 8px 18px -10px rgb(7 75 114 / 0.6);
}
.cppn-lp .ctct-inline-form .ctct-form-embed .ctct-form-custom .ctct-form-button:active {
  border: 0;
  background: var(--c-navy-deep);
  transform: scale(0.98);
  transition-duration: 0.1s;
}
.cppn-lp .ctct-inline-form .ctct-form-embed .ctct-form-custom .ctct-form-button:focus-visible {
  outline: 3px solid var(--c-teal);
  outline-offset: 3px;
}
.cppn-lp .ctct-inline-form .ctct-form-embed .ctct-form-custom .ctct-form-button[disabled] { opacity: 0.7; cursor: progress; }

/* "Emails serviced by Constant Contact" badge (hidden on paid plans via the CC form builder) */
.cppn-lp .ctct-inline-form .ctct-form-embed .ctct-form-defaults .ctct-form-footer {
  padding: 18px 0 0;
  text-align: left;
}
.cppn-lp .ctct-inline-form .ctct-form-embed .ctct-form-defaults .ctct-form-footer .ctct-form-footer-img {
  width: 96px;
  background: rgb(7 75 114 / 0.45);
}

/* Success message */
.cppn-lp .ctct-inline-form .ctct-form-embed .ctct-form-defaults .ctct-form-success {
  position: relative;
  min-height: 0;
  padding: 22px 24px 22px 84px;
  border-radius: var(--radius);
  background: var(--c-white);
  box-shadow: var(--shadow);
  animation: cppn-rise 0.6s var(--ease-out) both;
}
.cppn-lp .ctct-inline-form .ctct-form-embed .ctct-form-defaults .ctct-form-success::before {
  content: "";
  position: absolute;
  left: 24px;
  top: 22px;
  width: 44px;
  height: 44px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 52 52' fill='none' stroke='%2300abc7' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='26' cy='26' r='24'/%3E%3Cpath d='M15 27l7 7 15-16'/%3E%3C/svg%3E") center / contain no-repeat;
}
.cppn-lp .ctct-inline-form .ctct-form-embed .ctct-form-defaults .ctct-form-success .ctct-form-header {
  margin: 0 0 4px;
  font: var(--fw-display) 20px/1.3 var(--font);
  color: var(--c-navy);
}
.cppn-lp .ctct-inline-form .ctct-form-embed .ctct-form-defaults .ctct-form-success .ctct-form-text {
  margin: 0;
  font: var(--fw-regular) 15px/1.5 var(--font);
  white-space: normal;
  color: var(--c-ink);
}

/* Reserve a little space while the widget loads, so the section doesn't jump as much */
.cppn-signup__form .ctct-inline-form:empty { min-height: 220px; }


/* ==========================================================================
   Scroll reveal
   ========================================================================== */

.cppn-js [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition:
    opacity var(--dur) var(--ease-out),
    transform var(--dur) var(--ease-out),
    box-shadow 0.45s var(--ease-out);
  transition-delay: calc(var(--reveal-i, 0) * 90ms);
}
.cppn-js [data-reveal="right"] { transform: translate3d(-48px, 0, 0); }
.cppn-js [data-reveal="left"] { transform: translate3d(48px, 0, 0); }
.cppn-js [data-reveal="scale"] { transform: scale(0.94); }
.cppn-js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}
/* After the entrance, hover transforms should feel instant, not delayed */
.cppn-js [data-reveal].is-revealed { transition-delay: 0s; }

/* Badges pop in after their image */
.cppn-js .cppn-split__media[data-reveal] .cppn-badge,
.cppn-js .cppn-split__media[data-reveal] .cppn-logo-card--sm {
  opacity: 0;
  transform: scale(0.5);
  transition: opacity 0.5s var(--ease-out) 0.45s, transform 0.8s var(--ease-spring) 0.45s;
}
.cppn-js .cppn-split__media.is-visible .cppn-badge,
.cppn-js .cppn-split__media.is-visible .cppn-logo-card--sm {
  opacity: 1;
  transform: none;
}
.cppn-js .cppn-split__media.is-revealed .cppn-logo-card--sm { transition: transform 0.5s var(--ease-spring); }
.cppn-js .cppn-split__media.is-visible .cppn-badge img { animation: cppn-float 5s ease-in-out 1.4s infinite; }

/* Section shapes slide in when their section enters */
.cppn-js .cppn-eligibility .cppn-shapes__a,
.cppn-js .cppn-signup .cppn-shapes__a { transform: translateX(80px); opacity: 0; }
.cppn-js .cppn-eligibility .cppn-shapes__b,
.cppn-js .cppn-signup .cppn-shapes__b { transform: translateY(-60px); opacity: 0; }
.cppn-lp .cppn-shapes polygon {
  transition: transform 1.2s var(--ease-out), opacity 1.2s var(--ease-out);
}
.cppn-js .is-in-view .cppn-shapes__a,
.cppn-js .is-in-view .cppn-shapes__b { transform: none; opacity: 1; }
.cppn-js .is-in-view .cppn-shapes__b { transition-delay: 0.15s; }


/* ==========================================================================
   Keyframes
   ========================================================================== */

@keyframes cppn-rise {
  from { opacity: 0; transform: translate3d(0, 24px, 0); }
  to   { opacity: 1; transform: none; }
}
@keyframes cppn-shape-in-x {
  from { opacity: 0; transform: translateX(120px); }
  to   { opacity: 1; transform: none; }
}
@keyframes cppn-shape-in-y {
  from { opacity: 0; transform: translateY(-80px); }
  to   { opacity: 1; transform: none; }
}
@keyframes cppn-hero-img {
  from { opacity: 0; transform: translate3d(0, 40px, 0) scale(0.97); }
  to   { opacity: 1; transform: none; }
}
@keyframes cppn-pop {
  from { opacity: 0; transform: scale(0.4) rotate(-12deg); }
  to   { opacity: 1; transform: none; }
}
@keyframes cppn-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-5px); }
}
@keyframes cppn-wiggle {
  0%   { transform: rotate(0); }
  30%  { transform: rotate(-8deg) scale(1.06); }
  60%  { transform: rotate(5deg) scale(1.06); }
  100% { transform: rotate(0); }
}


/* ==========================================================================
   Reduced motion
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  .cppn-lp *,
  .cppn-lp *::before,
  .cppn-lp *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0s !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
  .cppn-lp .cppn-frame__img { transform: none !important; }
}
