/* ====== GLOBAL + HEADER / NAV (Momentum Scores) ====== */
:root {
  --brand: #113b28;          /* primary green */
  --ink: #0b0b0c;
  --muted: #667085;
  --bg: #ffffff;
  --border: #e6e7eb;
  --shadow: 0 10px 28px rgba(16, 24, 40, 0.08);

  /* Benefits / gstack section vars */
  --gstack-stack-w: 360px;
  --gstack-mobile-space: 24px;
  --gstack-overlap: 64px;
  --gstack-radius: 16px;
  --gstack-fg: #ffffff;
  --gstack-dark: #113b28;
  --gstack-mid: #1d6b49;
  --gstack-shadow: 0 22px 60px rgba(0, 0, 0, 0.22);
  --gstack-in-duration: 720ms;
  --gstack-in-ease: cubic-bezier(0.16, 0.84, 0.24, 1);
  --gstack-stagger: 260;

  /* Meet Our Founders / CEO section vars */
  /* Mobile layout + background art */
  --ceo-sec-h-m: 60vh;
  --ceo-pad-x: clamp(16px, 6vw, 72px);
  --ceo-pad-t: clamp(18px, 8vh, 80px);
  --ceo-pad-b-m: clamp(60px, 12vh, 120px);
  --ceo-bg-url: url("https://statics.myclickfunnels.com/workspace/vDqPMG/image/17682889/file/dff4cb184c3663ac1719cdc2d6b36d9e.png");
  --ceo-bg-x: 80%;
  --ceo-bg-y: -8%;
  --ceo-bg-size-m: 150% auto;

  /* Mobile max-widths for text blocks */
  --ceo-mw-eyebrow: 92vw;
  --ceo-mw-title: 92vw;
  --ceo-mw-p1: 57vw;
  --ceo-mw-p2: 52vw;
  --ceo-mw-p3: 98vw;

  /* Desktop layout knobs */
  --ceo-sec-h: 62vh;
  --ceo-container-max: 1500px;
  --ceo-desk-content-w: 70vw;
  --ceo-desk-side-pad: 15vw;
  --ceo-desk-head-gap: 14px;
  --ceo-desk-block-gap: 22px;
  --ceo-desk-p-gap: 16px;
  --ceo-desk-pad-bottom: 820px;

  /* Desktop art on the right (under text) */
  --ceo-desk-art-url: url("images/founders-new.jpg");
  --ceo-desk-art-w: 680px;
  --ceo-desk-art-right: 6%;
  --ceo-desk-art-bottom: 70px;
  --ceo-desk-art-opacity: 1;

  /* Inline About Us card (desktop) */
  --ceo-inline-about-w: clamp(420px, 36vw, 560px);
  --ceo-inline-about-bottom: 100px;
  --ceo-inline-about-gap: 14px;
  --ceo-inline-about-rule: 84px;

  /* Accent color reused in CEO section */
  --accent: var(--brand);
}

/* Reset-ish for header components */
.cfx * {
  box-sizing: border-box;
}

/* Sticky header container */
.cfx {
  position: sticky;
  top: 0;
  z-index: 9999;
  background: transparent;
}

/* Header bar styling */
.cfx-bar {
  background: var(--bg);
  color: var(--ink);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 10px rgba(16, 24, 40, 0.03);
}

.cfx-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Logo */
.cfx-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.cfx-logo {
  height: 52px;
  width: auto;
  object-fit: contain;
}

.cfx-spacer {
  flex: 1;
}

/* Desktop nav (inline) */
.cfx-inline {
  display: none;
  gap: 18px;
}

.cfx-inline a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 10px;
  background: #f8fafc;
  transition:
    background 0.15s ease,
    color 0.15s ease,
    transform 0.12s ease;
}

.cfx-inline a:hover {
  background: var(--brand);
  color: #fff;
  transform: translateY(-1px);
}

.cfx-inline a.active {
  background: var(--brand);
  color: #fff;
}

.cfx-cta {
  background: var(--brand) !important;
  color: #fff !important;
  box-shadow: 0 6px 18px rgba(17, 59, 40, 0.25);
}

/* Mobile hamburger button */
.cfx-burger {
  -webkit-tap-highlight-color: transparent;
  appearance: none;
  border: 1px solid var(--brand);
  background: #fff;
  color: var(--brand);
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  cursor: pointer;
  transition:
    background 0.15s ease,
    color 0.15s ease,
    border-color 0.15s ease;
}

.cfx-burger:hover {
  background: rgba(17, 59, 40, 0.08);
}

.cfx-bars {
  position: relative;
  width: 22px;
  height: 2px;
  background: currentColor;
  transition: background 0.2s;
}

.cfx-bars::before,
.cfx-bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  background: currentColor;
  transition:
    transform 0.25s ease,
    top 0.25s ease,
    opacity 0.2s;
}

.cfx-bars::before {
  top: -7px;
}

.cfx-bars::after {
  top: 7px;
}

/* Active hamburger (X state) */
.cfx-burger[aria-expanded="true"] {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}

.cfx-burger[aria-expanded="true"] .cfx-bars {
  background: transparent;
}

.cfx-burger[aria-expanded="true"] .cfx-bars::before {
  top: 0;
  transform: rotate(45deg);
}

.cfx-burger[aria-expanded="true"] .cfx-bars::after {
  top: 0;
  transform: rotate(-45deg);
}

/* Mobile slide-out panel – FULLSCREEN, LIGHT */
.cfx-panel {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;

  width: 100%;
  max-width: none;

  /* clean white, slight overlay feel */
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(8px);

  border-top: 1px solid var(--border);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);

  transform: translateX(-100%);
  opacity: 0;
  visibility: hidden;
  z-index: 9998;

  transition:
    opacity 0.22s ease,
    transform 0.26s ease,
    visibility 0.22s ease;
}

/* When JS adds .open, the panel slides in */
.cfx-panel.open {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.cfx-panel-inner {
  max-width: 520px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 20px 20px 24px;
}

.cfx-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px solid #e5e7eb;
}

.cfx-panel-header .cfx-brand {
  gap: 8px;
}

.cfx-panel-header .cfx-logo {
  height: 42px;
}

/* Footer area that holds the Contact Us button and note */
.cfx-panel-footer {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid #e5e7eb;
}

/* Close button inside mobile panel */
.cfx-close {
  border: none;
  background: transparent;
  color: var(--ink);
  font-size: 1.8rem;
  font-weight: 300;
  line-height: 1;
  cursor: pointer;
  padding: 4px;
  margin-left: 12px;
  transition:
    transform 0.12s ease,
    opacity 0.15s ease;
}

.cfx-close:hover {
  transform: translateY(-1px);
  opacity: 0.8;
}

/* Hide burger when menu is open */
@media (max-width: 979px) {
  .cfx-burger[aria-expanded="true"] {
    visibility: hidden;
  }
}

/* Mobile menu items – modern full-page nav */
.cfx-menu {
  padding: 24px 0 16px;
  display: flex;
  flex-direction: column;
}

/* Optional small label at top */
.cfx-menu::before {
  content: "";
}

/* Individual links */
.cfx-link {
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  font-size: 1.02rem;
  padding: 18px 0;
  border-bottom: 1px solid #e5e7eb;
  letter-spacing: 0.08em;
  text-transform: uppercase;

  display: block;

  transition:
    color 0.16s ease,
    background 0.16s ease;
}

/* subtle chevron on the right */
.cfx-link::after {
  content: "";
  display: none;
}

/* hover / tap state */
.cfx-link:hover {
  background: #f9fafb;
  color: #020617;
}

.cfx-panel-cta {
  display: block;
  width: 100%;
  text-align: center;
  padding: 14px 16px;
  border-radius: 8px;
  background: var(--brand);
  color: #ffffff;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(17, 59, 40, 0.35);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cfx-panel-cta:hover {
  background: #062014;
}

.cfx-note {
  color: var(--muted);
  font-size: 0.82rem;
  text-align: center;
  padding: 16px 4px 4px;
  margin-top: 8px;
}

/* ====== GLOBAL BODY ====== */
body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #ffffff;
  color: var(--ink);
}

/* Affiliate badge in header – subtle inline text */
.cfx-affiliate-pill {
  margin-left: 18px;
  padding: 0;
  font-size: 13px;
  color: #6b7280;
  background: transparent;
  border-radius: 0;
  border: none;
  font-weight: 500;
  display: inline-flex;   /* ⬅ show it once JS removes `hidden` */
  align-items: center;
}

.cfx-affiliate-pill span {
  text-transform: capitalize;
  color: #14532d;
  font-weight: 700;
}

/* ====== HERO SECTION ====== */
.hero {
  position: relative;
  padding: 72px 16px 80px;
  color: #ffffff;
  overflow: hidden;
}

/* Background image overlay */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("images/hero-bg.webp") center center / cover no-repeat;
  transform: scale(1.02);
  z-index: 0;
}

/* Slight dark overlay for readability */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.35),
    rgba(0, 0, 0, 0.55)
  );
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  gap: 32px;
  align-items: center;
}

/* Left hero copy */
.hero-copy {
  max-width: 560px;
}

.hero-eyebrow {
  font-size: 1rem;
  color: #e5e7eb;
  margin-bottom: 12px;
}

.hero-title {
  font-size: 2.8rem;
  line-height: 1.1;
  letter-spacing: 0.04em;
  font-weight: 800;
  text-transform: uppercase;
}

/* Right form card */
.hero-form-card {
  position: relative;
  background: rgba(255, 255, 255, 0.98);
  color: #111827;
  border-radius: 28px;
  padding: 24px 22px 18px;
  max-width: 400px;
  margin-left: auto;
  box-shadow: 0 22px 50px rgba(15, 23, 42, 0.32);
  border: 1px solid rgba(148, 163, 184, 0.55);
  overflow: hidden;
}

/* Soft gradient border / halo around the card for a more “big tech” feel */
.hero-form-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(
    135deg,
    rgba(34, 197, 94, 0.65),
    rgba(56, 189, 248, 0.45)
  );
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.9;
}

/* Soft ambient glow at the top-right inside the card */
.hero-form-card::after {
  content: "";
  position: absolute;
  top: -40%;
  right: -30%;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(34, 197, 94, 0.24), transparent 70%);
  opacity: 0.8;
  pointer-events: none;
}

.hero-form-title {
  font-size: 2.10rem;
  margin: 0 0 6px;
  color: #020617;
  line-height: 1.2;
  text-align: center;
  letter-spacing: 0.04em;
}

.hero-form-title span {
  color: var(--brand);
  font-weight: 700;
}

.hero-form-subtitle {
  font-size: 0.8rem;
  color: #4b5563;
  margin: 0 0 18px;
  text-align: center;
}

.hero-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hero-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero-field label {
  font-size: 0.82rem;
  font-weight: 600;
  color: #4b5563;
}

.hero-field input {
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  background: #f9fafb;
  padding: 10px 16px;
  font-size: 1rem;
  outline: none;
  color: #020617;
  transition:
    border-color 0.16s ease,
    box-shadow 0.16s ease,
    background 0.16s ease;
}

.hero-field input:focus {
  border-color: var(--brand);
  background: #ffffff;
  box-shadow: 0 0 0 1px rgba(17, 59, 40, 0.25);
}

/* Make credit goal select match the pill inputs and add a clean arrow */
.hero-field select {
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  background: #f9fafb;
  padding: 10px 16px;
  font-size: 1rem;
  outline: none;
  color: #020617;
  transition:
    border-color 0.16s ease,
    box-shadow 0.16s ease,
    background 0.16s ease;

  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 40px;
  background-image: linear-gradient(to bottom, #f9fafb, #f1f5f9),
    url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 2l4 4 4-4' stroke='%23667085' stroke-width='1.4' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat, no-repeat;
  background-position: right 14px center, right 14px center;
  background-size: 100% 100%, 12px 8px;
}

.hero-field input::placeholder,
.hero-field select::placeholder {
  color: #9ca3af;
}

/* Checkboxes and legal text */
.hero-check {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.76rem;
  color: #4b5563;
  line-height: 1.45;
  margin-top: 4px;
}

.hero-check input[type="checkbox"] {
  margin-top: 3px;
}

.hero-check a {
  color: #111827;
  font-weight: 600;
  text-decoration: underline;
}

/* CTA button */
.hero-submit {
  margin-top: 8px;
  width: 100%;
  border: none;
  border-radius: 999px;
  padding: 12px 18px;
  font-size: 0.98rem;
  font-weight: 700;
  cursor: pointer;
  background: #0b3b25;
  color: #ffffff;
  box-shadow: 0 16px 40px rgba(11, 59, 37, 0.45);
  letter-spacing: 0.08em;
}

.hero-submit:hover {
  background: #062014;
}

/* Status message styling for inline form feedback */
.hero-status {
  margin-top: 6px;
  font-size: 0.78rem;
  text-align: center;
  min-height: 1em; /* prevent layout jump */
}

.hero-status--success {
  color: #15803d;
}

.hero-status--error {
  color: #b91c1c;
}

/* Shake animation used for validation errors */
@keyframes hero-shake {
  0% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  50% { transform: translateX(4px); }
  75% { transform: translateX(-3px); }
  100% { transform: translateX(0); }
}

/* Privacy + domain pill */
.hero-privacy {
  margin-top: 4px;
  font-size: 0.76rem;
  color: #6b7280;
  text-align: center;
}

.hero-domain-pill {
  margin: 6px auto 0;
  padding: 6px 18px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  font-size: 0.78rem;
  color: #111827;
  text-align: center;
}

/* Responsive tweaks */
@media (min-width: 900px) {
  .hero {
    padding: 96px 24px 110px;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr);
  }

  .hero-title {
    font-size: 3rem;
  }
}

@media (max-width: 899px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-form-card {
    margin: 16px auto 0;
  }

  .hero-title {
    font-size: 2.3rem;
  }
}

/* =========================
   PRICING HERO
   ========================= */

.pricing-hero {
  position: relative;
  color: #ffffff;
  background-color: #020617;
  overflow: hidden;
}

.pricing-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      135deg,
      rgba(15, 23, 42, 0.85) 0%,
      rgba(15, 23, 42, 0.75) 30%,
      rgba(15, 23, 42, 0.6) 60%,
      rgba(15, 23, 42, 0.9) 100%
    ),
    url("images/pricing-page.webp") center center / cover no-repeat;
  z-index: 0;
  transform: scale(1.02);
}

.pricing-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: clamp(56px, 14vh, 104px) 16px;
  min-height: min(70vh, 640px);

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.pricing-hero-header {
  margin-bottom: 12px;
}

.pricing-hero-eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #e5e7eb;
  margin: 0 0 8px;
}

.pricing-hero-rule {
  width: 84px;
  height: 4px;
  border-radius: 999px;
  background: var(--brand);
  margin: 0 auto 18px;
}

.pricing-hero-title {
  margin: 0;
  font-weight: 900;
  line-height: 1.05;
  font-size: clamp(34px, 6vw, 64px); /* ⬅ bigger at every breakpoint */
  letter-spacing: -0.01em;
}

.pricing-hero-copy {
  max-width: 720px;
}

.pricing-hero-copy p {
  margin: 0 0 10px;
  font-size: clamp(1.1rem, 1.6vw, 1.25rem); /* larger & responsive */
  line-height: 1.8;
  color: #e5e7eb;
}

.pricing-hero-copy p:last-child {
  margin-bottom: 0;
}

.pricing-hero-sub {
  margin-top: 6px;
  font-weight: 600;
  color: #f9fafb;
}

/* Desktop refinements */
@media (min-width: 960px) {
  .pricing-hero-inner {
    padding: clamp(80px, 18vh, 140px) clamp(40px, 7vw, 96px);
    align-items: flex-start;
    text-align: left;
  }

  .pricing-hero-copy {
    max-width: 640px;
  }
}

/* Hook for plans section to gently overlap hero (optional; safe if .pricing-plans doesn’t exist yet) */
.pricing-hero + .pricing-plans {
  margin-top: -44px;
}

@media (min-width: 960px) {
  .pricing-hero + .pricing-plans {
    margin-top: -72px;
  }
}
/* =========================
   Pricing Matrix (4 Tiers)
   ========================= */

.pricing-matrix {
  position: relative;
  background: transparent;              /* let hero show behind the overlap */
  color: var(--ink);
  font-family: "Open Sans", "Helvetica Neue", Arial, sans-serif;
}

/* Float the cards ~20% up into the pricing hero */
.pricing-hero + .pricing-matrix {
  margin-top: -120px;
}

@media (max-width: 768px) {
  .pricing-hero + .pricing-matrix {
    margin-top: -90px;
  }
}

.pm-wrap {
  /* Never wider than 1120px, and on small screens:
     100vw minus 32px total padding = no horizontal overflow */
  width: min(1120px, 100vw - 32px);
  margin: 0 auto;
  padding: 0 16px 80px;
}

/* Desktop: let the pricing grid breathe wider across the screen */
@media (min-width: 1200px) {
  .pm-wrap {
    /* wider container on large screens, still with safe side padding */
    width: min(1340px, 100vw - 64px);
  }
}

/* Grid
   - Desktop: 4 equal, wide cards
   - Tablet: 2-up
   - Mobile: horizontal scroll, app-like
*/
.pm-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

@media (min-width: 720px) and (max-width: 1099px) {
  .pm-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
  }
}

@media (min-width: 1100px) {
  .pm-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;  /* slightly tighter so each card has more width */
  }
}

/* Mobile – stack cards vertically instead of horizontal scroll */
@media (max-width: 719px) {
  .pm-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    overflow: visible;
    padding-bottom: 0;
    scroll-snap-type: none;
    -webkit-overflow-scrolling: auto;
  }

  .pm-card {
    min-width: 0;
    scroll-snap-align: none;
  }

  .pm-grid::-webkit-scrollbar {
    display: initial;
  }

  .pm-grid {
    -ms-overflow-style: auto;
    scrollbar-width: auto;
  }
}

/* Card base */
.pm-card {
  position: relative;
  border-radius: 22px;
  background: #ffffff;
  border: 1px solid rgba(148, 163, 184, 0.55);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.10);
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  overflow: hidden;

  /* animation starting pose (JS adds .in when card is ~30–40% in view) */
  opacity: 0;
  transform: translateY(26px) scale(0.985);
  filter: blur(0.8px);
}

/* soft glow at the very top of the card */
.pm-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    135deg,
    rgba(34, 197, 94, 0.12),
    rgba(56, 189, 248, 0.10)
  );
  opacity: 0.8;
  pointer-events: none;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.7), transparent 60%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0.7), transparent 60%);
}

.pm-card > * {
  position: relative;
  z-index: 1;
}

/* When JS adds .in */
.pm-card.in {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: none;
  transition:
    opacity 0.55s ease,
    transform 0.55s cubic-bezier(0.2, 0.7, 0.2, 1),
    filter 0.55s ease;
}

@media (hover: hover) and (pointer: fine) {
  .pm-card.in:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow: 0 22px 52px rgba(15, 23, 42, 0.16);
  }
}

/* Card header */
.pm-card-head {
  margin-bottom: 12px;
}

.pm-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(17, 59, 40, 0.06);
  color: var(--brand);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.pm-card-title {
  margin: 0 0 4px;
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
}

.pm-card-detail {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: #4b5563;
}

/* Pricing row */
.pm-pricing {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin: 10px 0 12px;
}

.pm-price-block {
  flex: 1;
}

.pm-price-label {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6b7280;
  margin-bottom: 6px;
}

.pm-price-amount {
  display: block;
  font-weight: 900;
  font-size: 1.4rem;
  color: var(--brand);
}

/* Setup-fee explainer line that sits above/beside the monthly plan label */
.pm-setup-note {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 4px 0 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(17, 59, 40, 0.03);
  border: 1px dashed rgba(148, 163, 184, 0.8);
  font-size: 0.60rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6b7280;
  line-height: 1.4;
}

.pm-setup-note strong {
  color: #0f172a;
  font-weight: 700;
}

.pm-setup-note::before {
  content: "ⓘ";
  font-size: 0.8rem;
  color: var(--brand);
  opacity: 0.9;
}

/* Helper line */
.pm-helper {
  margin: 0 0 12px;
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--muted);
}

/* Features list */
.pm-feature-list {
  list-style: none;
  padding: 8px 0 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

/* each feature row */
.pm-feature {
  display: grid;
  grid-template-columns: 20px 1fr;
  column-gap: 10px;
  align-items: flex-start;
  font-size: 0.9rem;
}

/* circular check icon */
.pm-check {
  width: 16px;
  height: 16px;
  border-radius: 999px;
  border: 2px solid var(--brand);
  margin-top: 2px;
  position: relative;
}

/* the actual tick */
.pm-check::after {
  content: "";
  position: absolute;
  left: 3px;
  top: 1px;
  width: 7px;
  height: 10px;
  border-right: 2px solid var(--brand);
  border-bottom: 2px solid var(--brand);
  transform: rotate(40deg);
}

/* active vs muted tiers */
.pm-feature.is-active span:last-child {
  font-weight: 600;
  color: #111827;
}

.pm-feature.is-muted {
  opacity: 0.55;
}

.pm-feature.is-muted .pm-check {
  border-color: #d1d5db;
}

.pm-feature.is-muted .pm-check::after {
  border-color: #d1d5db;
}

/* CTA */
.pm-cta-row {
  margin-top: auto;
  padding-top: 16px;
}

.pm-cta {
  width: 100%;
  height: 56px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  background: var(--brand);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  box-shadow: 0 16px 40px rgba(17, 59, 40, 0.35);
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    filter 0.15s ease,
    background 0.15s ease;
}

.pm-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 52px rgba(17, 59, 40, 0.4);
  filter: saturate(110%);
}

.pm-cta:active {
  transform: translateY(0);
  box-shadow: 0 14px 32px rgba(17, 59, 40, 0.3);
}

/* Note text under grid */
.pm-note {
  margin: 6px auto 0;
  width: min(720px, calc(100vw - 32px));
  max-width: 720px;
  padding: 10px 14px;
  font-size: 0.92rem;
  line-height: 1.55;
  color: #6b7280;
  text-align: center;

  /* subtle “callout” style that still feels native */
  background: rgba(17, 59, 40, 0.03);
  border: 1px solid rgba(148, 163, 184, 0.55);
  border-radius: 14px;

  /* prevent weird overflow on small screens */
  box-sizing: border-box;
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* Mobile: slightly tighter */
@media (max-width: 480px) {
  .pm-note {
    margin-top: 6px;
    width: calc(100vw - 24px);
    padding: 10px 12px;
    font-size: 0.86rem;
  }
}

/* Desktop: a touch more breathing room */
@media (min-width: 960px) {
  .pm-note {
    margin-top: 8px;
    padding: 12px 16px;
    font-size: 0.95rem;
  }
}

/* Small screens tweaks */
@media (max-width: 480px) {
  .pm-wrap {
    padding-bottom: 64px;
  }

  .pm-card {
    padding: 18px 18px 20px;
  }
}

/* Motion accessibility */
@media (prefers-reduced-motion: reduce) {
  .pm-card,
  .pm-card.in {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
  }
}

/* ====== BENEFITS: GREEN STACK ====== */
.gstack * {
  box-sizing: border-box;
}

.gstack {
  background: #ffffff;
  position: relative;
}

/* Wrapper: mobile gets space below hero; desktop overlaps hero */
.gstack-wrap {
  width: min(var(--gstack-stack-w), 92vw);
  margin: var(--gstack-mobile-space) auto 40px;
  position: relative;
  z-index: 3;
}

/* Grid: single column by default (mobile) */
.gstack-grid {
  display: grid;
  gap: 0; /* no gaps for stacked look */
}

/* Card base */
.gstack-card {
  position: relative;
  color: var(--gstack-fg);
  background: var(--gstack-dark);
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.26);
  display: grid;
  grid-template-columns: 44px 1fr;
  column-gap: 16px;
  padding: 18px 22px;
  border-radius: 0;
  border: 1px solid rgba(15, 23, 42, 0.45);
  overflow: hidden;
  transition:
    transform 0.18s cubic-bezier(0.16, 0.84, 0.24, 1),
    box-shadow 0.18s ease,
    background 0.18s ease;
}

.gstack-card:first-child {
  border-radius: var(--gstack-radius) var(--gstack-radius) 0 0;
}

.gstack-card:last-child {
  border-radius: 0 0 var(--gstack-radius) var(--gstack-radius);
}

.gstack-card:nth-child(2) {
  background: var(--gstack-mid);
}

/* subtle divider like the reference */
.gstack-card:not(:last-child)::after {
  content: "";
  grid-column: 1 / -1;
  height: 1px;
  margin-top: 18px;
  background: rgba(255, 255, 255, 0.16);
  border-radius: 1px;
  display: block;
}

/* Icons + type */
.gstack-ic {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.gstack-ic svg {
  width: 28px;
  height: 28px;
  stroke: currentColor;
  color: #ffffff;
  stroke-width: 1.8;
  fill: none;
}

.gstack-h {
  margin: 0 0 8px;
  font-weight: 800;
  font-size: clamp(18px, 4.6vw, 22px);
  line-height: 1.15;
}

.gstack-p {
  margin: 0;
  font-size: clamp(15px, 3.8vw, 18px);
  line-height: 1.6;
  opacity: 0.95;
}

/* Animation (initial) */
.gstack-card {
  opacity: 0;
  transform: translateY(40px) scale(0.985);
  filter: blur(2px);
}

.gstack-card.in {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: none;
  transition:
    opacity var(--gstack-in-duration) var(--gstack-in-ease),
    transform var(--gstack-in-duration) var(--gstack-in-ease),
    filter var(--gstack-in-duration) var(--gstack-in-ease);
}

/* Clean, minimal hover state once card is visible */
.gstack-card.in:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 60px rgba(15, 23, 42, 0.3);
}

/* Tiny phones */
@media (max-width: 420px) {
  .gstack-card {
    grid-template-columns: 38px 1fr;
    padding: 22px 16px;
  }

  .gstack-ic {
    width: 38px;
    height: 38px;
  }

  .gstack-ic svg {
    width: 26px;
    height: 26px;
  }
}

/* Desktop layout: horizontal row, overlaps hero */
@media (min-width: 992px) {
  .gstack-wrap {
    width: min(1100px, 92vw);
    margin: calc(-1 * var(--gstack-overlap)) auto 32px; /* pull up over hero */
  }

  .gstack-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }

  .gstack-card {
    border-radius: var(--gstack-radius); /* standalone cards */
  }

  .gstack-card:not(:last-child)::after {
    display: none;
  }
}

/* Desktop breakpoint overrides */
@media (min-width: 980px) {
  .cfx-inline {
    display: flex;
  }

  .cfx-burger {
    display: none;
  }

  .cfx-panel {
    display: none;
  }
}

/* ====== MEET OUR FOUNDERS / CEO SECTION (FOUNDERS + ABOUT US) ====== */

.ceoTOP {
  background: #ffffff;
  color: var(--ink);
  font-family: "Open Sans", "Helvetica Neue", Arial, sans-serif;
}

.ceoTOP-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(56px, 9vh, 88px) clamp(16px, 6vw, 40px)
           clamp(80px, 10vh, 96px);
}

/* Base: mobile stacks like reference */
.ceoTOP-grid {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* Left column: Meet the founders + image */
.ceo-col-main {
  max-width: 720px;
}

.ceoTOP-inner {
  max-width: 640px;
}

.ceoTOP-eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6b7280;
  margin: 0 0 10px;
  display: inline-block;
}

.ceoTOP-eyebrow::after {
  content: "";
  display: block;
  width: 72px;
  height: 3px;
  border-radius: 999px;
  background: var(--brand);
  margin-top: 10px;
}

.ceoTOP-title {
  margin: 0 0 16px;
  font-weight: 900;
  line-height: 1.08;
  font-size: clamp(28px, 4.6vw, 40px);
  letter-spacing: -0.02em;
}

.ceoTOP-p {
  margin: 0 0 10px;
  line-height: 1.8;
  color: var(--muted);
  font-size: clamp(15px, 2.2vw, 18px);
}

.ceoTOP-p + .ceoTOP-p {
  margin-top: 8px;
}

/* Founders photo block */
.ceo-photo {
  margin-top: 28px;
}

.ceo-photo-img {
  width: 100%;
  max-width: 480px;
  /* Make the photo a bit more rectangular and reduce vertical footprint */
  aspect-ratio: 4 / 3;
  max-height: 400px; /* tweak this value up/down to fine‑tune height (~15% shorter) */
  display: block;
  border-radius: 26px;
  object-fit: cover;
  object-position: center middle;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.22);
}

/* Right column: About Us card */
.ceo-col-about {
  flex: 0 0 auto;
}

.ceoInlineAbout {
  max-width: 480px;
  margin: 0 auto;
  padding: 24px 24px 26px;
  border-radius: 22px;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.10);
}

.cia-eyebrow {
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6b7280;
  margin: 0 0 6px;
  display: inline-block;
}

.cia-rule {
  width: 72px;
  height: 3px;
  border-radius: 999px;
  background: var(--brand);
  margin: 0 0 16px;
}

.cia-h {
  margin: 0 0 10px;
  font-weight: 800;
  line-height: 1.18;
  font-size: clamp(20px, 2.4vw, 28px);
}

.cia-p {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: clamp(14px, 1.1vw, 18px);
  line-height: 1.7;
}

.cia-feats {
  list-style: none;
  padding: 10px 0 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.cia-feat {
  display: grid;
  grid-template-columns: 40px 1fr;
  column-gap: 10px;
  align-items: center;
}

.cia-ico {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand);
  background: rgba(17, 59, 40, 0.06);
}

.cia-ico svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

.cia-t {
  font-weight: 800;
  font-size: clamp(16px, 1.1vw, 20px);
  color: #111827;
}

/* Desktop: 2-column layout similar to reference site */
@media (min-width: 992px) {
  .ceoTOP-wrap {
    padding-inline: clamp(24px, 6vw, 48px);
  }

  .ceoTOP-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(0, 1.3fr);
    align-items: flex-start;
    gap: 56px;
  }

  .ceo-col-main {
    max-width: 720px;
  }

  .ceo-photo {
    margin-top: 32px;
  }

  .ceo-photo-img {
    max-width: 520px;
    max-height: 360px; /* desktop-specific cap, keeps it from getting too tall */
  }

  .ceo-col-about {
    align-self: flex-start;
  }

  /* 🔽 add this */
  .ceoInlineAbout {
    margin-top: 300px;  /* tweak this number until it lines up nicely */
  }
}

/* Simple motion helpers used by JS; safe if JS fails */
.ceo-anim-pop {
  transform: translateY(14px);
}

.ceo-anim-pop.in {
  transform: translateY(0);
  transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.ceo-anim-slide {
  transform: translateX(-18px);
}

.ceo-anim-slide.in {
  transform: translateX(0);
  transition: transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}

@media (prefers-reduced-motion: reduce) {
  .ceo-anim-pop,
  .ceo-anim-slide,
  .ceo-anim-pop.in,
  .ceo-anim-slide.in {
    transform: none;
    transition: none;
  }
}


/* =========================
   Partners / Logos Slider
   ========================= */
.partners {
  background: #faf9f7;
  color: #0b1220;
}

.partners-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 16px 48px;
  text-align: center;
}

.partners-eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6b7280;
  margin: 0 0 8px;
}

.partners-h {
  margin: 0 0 24px;
  font-weight: 800;
  font-size: clamp(20px, 3.4vw, 30px);
  color: #111827;
}

/* Marquee container */
.partners-marquee {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding: 14px 0;
}

/* Faded edges for a more “Zapier” tech look */
.partners-marquee::before,
.partners-marquee::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 64px;
  pointer-events: none;
  z-index: 2;
}

.partners-marquee::before {
  left: 0;
  background: linear-gradient(to right, #faf9f7, rgba(250, 249, 247, 0));
}

.partners-marquee::after {
  right: 0;
  background: linear-gradient(to left, #faf9f7, rgba(250, 249, 247, 0));
}

/* Track that scrolls horizontally */
.partners-track {
  display: flex;
  align-items: center;
  gap: 28px;
  animation: partners-marquee 18s linear infinite; /* mobile/default speed */
}

@media (min-width: 992px) {
  .partners-track {
    animation: partners-marquee 50s linear infinite; /* desktop speed */
  }
}

/* Each logo / name pill */
.partner-pill {
  flex: 0 0 auto;
  min-width: 140px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(17, 59, 40, 0.35);
  background: rgba(17, 59, 40, 0.04);
  color: #113b28; /* brand green */
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.02em;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
  transform: translateZ(0);
}

/* Slight hover lift on desktop */
@media (hover: hover) and (pointer: fine) {
  .partner-pill {
    transition:
      transform 0.18s ease,
      box-shadow 0.18s ease,
      background 0.18s ease,
      border-color 0.18s ease;
  }

  .partner-pill:hover {
    transform: translateY(-2px);
    background: rgba(17, 59, 40, 0.08);
    border-color: rgba(17, 59, 40, 0.6);
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.16);
  }
}

/* Keyframes for the infinite scroll */
@keyframes partners-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-290%);
  }
}

/* Tune spacing on very small screens */
@media (max-width: 480px) {
  .partners-wrap {
    padding-top: 32px;
    padding-bottom: 40px;
  }

  .partners-track {
    gap: 20px;
  }

  .partner-pill {
    min-width: 120px;
    padding-inline: 14px;
    font-size: 0.85rem;
  }
}
/* Green eyebrow under the Partners heading */
.partners-rule {
  width: 84px;
  height: 4px;
  border-radius: 999px;
  background: var(--brand);
  margin: 12px auto 28px;
}
/* =========================
   Our 3 Step Process – Modern (Light)
   ========================= */

.steps-modern {
  background: #f9fafb; /* soft light section */
  color: #0b1220;
}

.steps-modern-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 56px 16px 80px;
}

/* Header */
.steps-modern-header {
  text-align: center;
  margin-bottom: 28px;
}

.steps-modern-header .steps-eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6b7280;
  display: inline-block;
  margin: 0 auto 18px;
}

.steps-modern-header .steps-rule {
  width: 84px;
  height: 4px;
  border-radius: 999px;
  background: var(--brand);
  margin: 0 auto 18px;
}

.steps-modern-header .stepsTitle {
  margin: 0;
  font-weight: 800;
  line-height: 1.2;
  font-size: clamp(26px, 4vw, 38px);
  color: #111827;
}

/* Layout: stack on mobile, 3-across on desktop */
.steps-modern-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 960px) {
  .steps-modern-wrap {
    padding: 70px 24px 96px;
  }

  .steps-modern-header {
    text-align: center;
    max-width: 620px;
    margin: 0 auto 36px;
  }

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

/* Card base – light, airy, subtle shadow */
.steps-card {
  position: relative;
  border-radius: 22px;
  background: #ffffff;
  border: 1px solid rgba(148, 163, 184, 0.45);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
  padding: 22px 22px;
  display: flex;
  flex-direction: column;
  overflow: hidden;

  /* animation starting pose */
  opacity: 0;
  transform: translateY(16px) scale(0.985);
  filter: blur(1.2px);
}

/* Soft top highlight instead of full glow border */
.steps-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: none;    
  opacity: 0.9;
  pointer-events: none;
}

/* When JS adds .in the card comes to life */
.steps-card.in {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: none;
  transition:
    opacity 0.7s ease,
    transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1),
    filter 0.7s ease;
}

@media (hover: hover) and (pointer: fine) {
  .steps-card.in:hover {
    transform: translateY(-3px) scale(1.01);
    box-shadow: 0 22px 50px rgba(15, 23, 42, 0.14);
  }
}

/* Card body */
.steps-card-body {
  position: relative;
  z-index: 1;
}

.steps-card-step {
  margin: 0 0 6px;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #6b7280;
}

.steps-card-title {
  margin: 0 0 8px;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #0f172a;
}

.steps-card-text {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.7;
  color: #4b5563;
}

.steps-card-text + .steps-card-text {
  margin-top: 6px;
}

/* Small screens */
@media (max-width: 480px) {
  .steps-modern-wrap {
    padding-top: 44px;
    padding-bottom: 64px;
  }

  .steps-card {
    padding: 14px 14px 18px;
  }
}
/* =========================
   In-Depth Credit Analysis
   ========================= */

.ci {
  background: #ffffff;
  color: var(--ink);
}

.ci-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 56px 16px 80px;
}

/* Header */
.ci-eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6b7280;
  margin: 0 0 8px;
  text-align: center;
}

.ci-rule {
  width: 84px;
  height: 4px;
  border-radius: 999px;
  background: var(--brand);
  margin: 8px auto 18px;
}

.ci-sub {
  margin: 0 0 26px;
  text-align: center;
  font-weight: 800;
  font-size: clamp(20px, 3vw, 26px);
  color: #111827;
}

/* Layout */
.ci-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

/* Copy */
.ci-copy {
  font-size: 0.96rem;
  line-height: 1.8;
  color: var(--muted);
}

.ci-copy p {
  margin: 0 0 14px;
}

.ci-copy p:last-child {
  margin-bottom: 0;
}

/* Image */
.ci-imgwrap {
  width: 100%;
  max-width: 520px;
  margin: 8px auto 0;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.45);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
  background: #ffffff;

  /* Always visible, with a subtle entrance animation that does not depend on JS */
  opacity: 1;
  transform: translateY(0);
  filter: none;
  animation: ci-img-fade-in 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) 0.1s both;
}

.ci-imgwrap img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* If JS still adds .in, keep it harmless */
.ci-imgwrap.in {
  /* no extra styles needed; animation above already runs once on load */
}

@keyframes ci-img-fade-in {
  from {
    opacity: 0;
    transform: translateY(14px);
    filter: blur(0.6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: none;
  }
}

/* CTA button */
.ci-cta {
  display: block;
  margin: 22px auto 0;
  width: 100%;
  max-width: 340px;

  padding: 14px 20px;
  border-radius: 999px;
  border: none;
  background: var(--brand);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  cursor: pointer;

  box-shadow: 0 18px 42px rgba(17, 59, 40, 0.28);
  transition:
    transform 0.12s ease,
    box-shadow 0.16s ease,
    background 0.16s ease;
}

.ci-cta:hover {
  background: #0b3b25;
  transform: translateY(-2px);
  box-shadow: 0 22px 50px rgba(17, 59, 40, 0.34);
}

.ci-cta:active {
  transform: translateY(0);
  box-shadow: 0 14px 34px rgba(17, 59, 40, 0.24);
}

/* Desktop layout: text + image side by side, CTA under text */
@media (min-width: 992px) {
  .ci-wrap {
    padding: 70px 24px 96px;
  }

  .ci-grid {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    align-items: center;
    gap: 32px;
  }

  .ci-copy {
    font-size: 1rem;
  }

  .ci-imgwrap {
    margin: 0;
    justify-self: center;
  }

  .ci-cta {
    grid-column: 1 / 2;       /* keep button under the copy on desktop */
    margin: 26px 0 0;
    max-width: 260px;
    justify-self: flex-start;
  }
}

/* Small screens adjustments */
@media (max-width: 480px) {
  .ci-wrap {
    padding-top: 44px;
    padding-bottom: 64px;
  }

  .ci-cta {
    margin-top: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ci-imgwrap,
  .ci-imgwrap.in {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
  }
}
/* =========================
   Testimonials
   ========================= */

.tst {
  background: #f9fafb; /* soft contrast against white sections */
  color: var(--ink);
}

.tst-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 56px 16px 84px;
}

/* Header */
.tst-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 32px;
}

.tst-eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6b7280;
  margin: 0 0 8px;
}

.tst-rule {
  width: 84px;
  height: 4px;
  border-radius: 999px;
  background: var(--brand);
  margin: 8px auto 18px;
}

.tst-title {
  margin: 0 0 10px;
  font-weight: 800;
  font-size: clamp(24px, 3.8vw, 34px);
  color: #111827;
}

.tst-sub {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--muted);
}

/* Grid */
.tst-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 26px;
}

@media (min-width: 960px) {
  .tst-wrap {
    padding: 70px 24px 96px;
  }

  .tst-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)); /* 4 in a row */
    gap: 22px;
  }

  /* Remove this rule completely:
  .tst-card:nth-child(4) {
    grid-column: span 2;
  }
  */
}

/* Card base */
.tst-card {
  position: relative;
  border-radius: 22px;
  background: #ffffff;
  border: 1px solid rgba(148, 163, 184, 0.55);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
  padding: 20px 20px 22px;
  display: flex;
  flex-direction: column;
  overflow: hidden;

  /* animation starting pose */
  opacity: 0;
  transform: translateY(16px) scale(0.985);
  filter: blur(0.8px);
}

/* Soft gradient “glow” stripe at top of card */
.tst-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    135deg,
    rgba(34, 197, 94, 0.12),
    rgba(56, 189, 248, 0.10)
  );
  opacity: 0.8;
  pointer-events: none;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.7), transparent 60%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0.7), transparent 60%);
}

/* Inner content sits above glow */
.tst-card > * {
  position: relative;
  z-index: 1;
}

/* When JS adds .in, card animates in */
.tst-card.in {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: none;
  transition:
    opacity 0.7s ease,
    transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1),
    filter 0.7s ease;
}

@media (hover: hover) and (pointer: fine) {
  .tst-card.in:hover {
    transform: translateY(-3px) scale(1.01);
    box-shadow: 0 22px 50px rgba(15, 23, 42, 0.16);
  }
}

/* Badge / tag at top */
.tst-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(17, 59, 40, 0.06);
  color: var(--brand);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

/* Quote text */
.tst-quote {
  margin: 0 0 14px;
  font-size: 0.96rem;
  line-height: 1.8;
  color: #111827;
}

/* Meta (name + result line) */
.tst-meta {
  margin-top: auto;
  padding-top: 8px;
}

.tst-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: #0f172a;
}

.tst-tagline {
  font-size: 0.82rem;
  color: #6b7280;
}

/* Disclaimer under grid */
.tst-disclaimer {
  margin: 26px auto 0;
  max-width: 720px;
  font-size: 0.78rem;
  color: #6b7280;
  text-align: center;
}

/* Small screens */
@media (max-width: 480px) {
  .tst-wrap {
    padding-top: 44px;
    padding-bottom: 72px;
  }

  .tst-card {
    padding: 16px 16px 18px;
  }

  .tst-quote {
    font-size: 0.92rem;
  }
}

/* Motion accessibility */
@media (prefers-reduced-motion: reduce) {
  .tst-card,
  .tst-card.in {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
  }
}

/* =========================
   CFPB PORTAL PAGE
   ========================= */

.cfpb-page {
  background:
    radial-gradient(circle at top left, #e0f2ec 0, #ffffff 55%),
    radial-gradient(circle at bottom right, #e5edff 0, #ffffff 55%);
}

.cfpb-container {
  width: min(1100px, 92vw);
  margin: 0 auto;
}

/* Shared typography */
.cfpb-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #6b7280;
  margin: 0 0 12px;
}

.cfpb-eyebrow::before {
  content: "";
  width: 34px;
  height: 3px;
  border-radius: 999px;
  background: var(--brand);
}

.cfpb-title {
  margin: 0 0 12px;
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -0.02em;
  font-size: clamp(34px, 5vw, 56px);
  color: #020617;
}

.cfpb-subtitle {
  margin: 0;
  max-width: 720px;
  font-size: 1rem;
  line-height: 1.75;
  color: #4b5563;
}

.cfpb-note {
  margin: 18px 0 0;
  max-width: 720px;
  font-size: 0.92rem;
  line-height: 1.7;
  color: #6b7280;
}

.cfpb-h2 {
  margin: 0;
  font-weight: 900;
  letter-spacing: -0.02em;
  font-size: clamp(22px, 3.2vw, 34px);
  color: #0f172a;
}

.cfpb-h3 {
  margin: 0 0 8px;
  font-weight: 800;
  font-size: 1.02rem;
  color: #0f172a;
}

.cfpb-lead {
  margin: 10px 0 0;
  max-width: 760px;
  font-size: 0.95rem;
  line-height: 1.75;
  color: #6b7280;
}

.cfpb-section-head {
  max-width: 860px;
}

/* Buttons */
.cfpb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    background 0.15s ease,
    color 0.15s ease,
    border-color 0.15s ease;
}

.cfpb-btn-primary {
  background: var(--brand);
  color: #ffffff;
  box-shadow: 0 16px 42px rgba(17, 59, 40, 0.35);
}

.cfpb-btn-primary:hover {
  background: #0b3b25;
  transform: translateY(-2px);
  box-shadow: 0 22px 52px rgba(17, 59, 40, 0.4);
}

.cfpb-btn-secondary {
  background: #ffffff;
  color: #0f172a;
  border-color: rgba(148, 163, 184, 0.9);
}

.cfpb-btn-secondary:hover {
  background: #f9fafb;
  border-color: var(--brand);
  transform: translateY(-2px);
}

/* HERO */
.cfpb-hero {
  padding: clamp(110px, 22vh, 160px) 0 56px;
}

.cfpb-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  align-items: start;
}

.cfpb-hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.cfpb-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(17, 59, 40, 0.06);
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.cfpb-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.cfpb-hero-card {
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid rgba(148, 163, 184, 0.45);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.14);
  padding: 20px 20px 22px;
}

.cfpb-card-title {
  margin: 0 0 10px;
  font-size: 1.05rem;
  font-weight: 900;
  color: #0f172a;
}

.cfpb-card-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  color: #374151;
  line-height: 1.65;
}

.cfpb-card-divider {
  height: 1px;
  background: rgba(148, 163, 184, 0.35);
  margin: 14px 0 12px;
}

.cfpb-card-small {
  margin: 0;
  font-size: 0.88rem;
  color: #6b7280;
  line-height: 1.6;
}

@media (min-width: 980px) {
  .cfpb-hero-grid {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.85fr);
    gap: 26px;
    align-items: start;
  }
}

/* SECTIONS */
.cfpb-video,
.cfpb-why,
.cfpb-steps,
.cfpb-faq,
.cfpb-final {
  padding: 56px 0;
}

.cfpb-video {
  padding-top: 26px;
}

/* Video frame */
.cfpb-video-frame {
  position: relative;
  margin-top: 18px;
  border-radius: 22px;
  overflow: hidden;
  background: #0b1220;
  border: 1px solid rgba(148, 163, 184, 0.55);
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.16);
  aspect-ratio: 16 / 9;
}

.cfpb-iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Placeholder overlay (hidden via JS once iframe has src) */
.cfpb-video-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 18px;
  background:
    linear-gradient(
      135deg,
      rgba(2, 6, 23, 0.86),
      rgba(15, 23, 42, 0.72)
    );
  color: #e5e7eb;
}

.cfpb-video-placeholder p {
  margin: 0;
  line-height: 1.7;
}

.cfpb-video-placeholder p + p {
  margin-top: 10px;
  color: #cbd5e1;
}

.cfpb-video-placeholder code {
  padding: 3px 8px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

/* Tips row under video */
.cfpb-tip-row {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.cfpb-tip {
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid rgba(148, 163, 184, 0.45);
  box-shadow: 0 16px 42px rgba(15, 23, 42, 0.10);
  padding: 16px 16px 18px;
  color: #374151;
  line-height: 1.7;
}

@media (min-width: 980px) {
  .cfpb-tip-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }
}

/* 3-up panels */
.cfpb-grid-3 {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

@media (min-width: 980px) {
  .cfpb-grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }
}

.cfpb-panel {
  border-radius: 22px;
  background: #ffffff;
  border: 1px solid rgba(148, 163, 184, 0.45);
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.10);
  padding: 18px 18px 20px;
  color: #374151;
  line-height: 1.75;
}

/* Steps list */
.cfpb-step-list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}

.cfpb-step-list li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: start;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid rgba(148, 163, 184, 0.45);
  box-shadow: 0 16px 42px rgba(15, 23, 42, 0.10);
  padding: 16px 16px 18px;
}

.cfpb-step-num {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(17, 59, 40, 0.06);
  color: var(--brand);
  font-weight: 900;
  font-size: 1.05rem;
}

.cfpb-step-title {
  margin: 0;
  font-weight: 900;
  color: #0f172a;
}

.cfpb-step-text {
  margin: 6px 0 0;
  color: #6b7280;
  line-height: 1.7;
}

/* Callout */
.cfpb-callout {
  margin-top: 16px;
  border-radius: 22px;
  background: rgba(17, 59, 40, 0.06);
  border: 1px solid rgba(17, 59, 40, 0.20);
  padding: 16px 16px 18px;
}

.cfpb-callout p {
  margin: 8px 0 0;
  color: #374151;
  line-height: 1.7;
}

/* FAQ (details) */
.cfpb-accordion {
  margin-top: 18px;
  display: grid;
  gap: 12px;
}

.cfpb-qa {
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid rgba(148, 163, 184, 0.45);
  box-shadow: 0 16px 42px rgba(15, 23, 42, 0.08);
  padding: 14px 14px 12px;
}

.cfpb-q {
  cursor: pointer;
  list-style: none;
  font-weight: 900;
  color: #0f172a;
  outline: none;
}

/* remove default marker */
.cfpb-q::-webkit-details-marker {
  display: none;
}

/* custom chevron */
.cfpb-q {
  position: relative;
  padding-right: 28px;
}

.cfpb-q::after {
  content: "";
  position: absolute;
  right: 6px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 2px solid #64748b;
  border-bottom: 2px solid #64748b;
  transform: translateY(-55%) rotate(45deg);
  transition: transform 0.18s ease;
}

.cfpb-qa[open] .cfpb-q::after {
  transform: translateY(-45%) rotate(-135deg);
}

.cfpb-a {
  padding-top: 10px;
}

.cfpb-a p {
  margin: 0;
  color: #6b7280;
  line-height: 1.75;
}

/* Final CTA */
.cfpb-final-inner {
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid rgba(148, 163, 184, 0.45);
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.14);
  padding: 22px 18px 22px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: center;
}

.cfpb-final-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

@media (min-width: 980px) {
  .cfpb-final-inner {
    grid-template-columns: minmax(0, 1.3fr) auto;
    padding: 26px 24px;
  }

  .cfpb-final-actions {
    justify-content: flex-end;
  }
}

/* Mobile refinements */
@media (max-width: 520px) {
  .cfpb-hero {
    padding-top: 96px;
  }

  .cfpb-btn {
    width: 100%;
  }

  .cfpb-hero-actions {
    gap: 10px;
  }
}

/* Motion accessibility */
@media (prefers-reduced-motion: reduce) {
  .cfpb-btn,
  .cfpb-btn-primary:hover,
  .cfpb-btn-secondary:hover {
    transform: none !important;
    transition: none !important;
  }
}

/* =========================
   UNIVERSAL FOOTER
   ========================= */

.ms-footer {
  background: #ffffff;
  border-top: 1px solid #e5e7eb;
  padding: 32px 0;
  text-align: center;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: #374151;
}

.ms-footer-wrap {
  width: min(1100px, 92vw);
  margin: 0 auto;
}

.ms-footer-copy {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: #111827;
}

.ms-footer-links {
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 14px;
}

.ms-footer-link {
  color: #145DA0;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.15s ease;
}

.ms-footer-link:hover {
  color: #0d3f75;
}

.ms-footer-sep {
  color: #9ca3af;
}

.ms-footer-small {
  margin-top: 14px;
  color: #9ca3af;
  font-size: 13px;
  line-height: 1.5;
}
/* =========================
   HERO FOOTER VARIANT
   ========================= */

/* Reuse main hero styling, but make it feel like a separate section */
.hero-footer {
  padding: 72px 16px 96px; /* slightly more bottom padding for breathing room */
}

/* Center the form card on all screen sizes */
.hero-footer .hero-inner {
  max-width: 600px;
  margin: 0 auto;
  grid-template-columns: minmax(0, 1fr);
  justify-items: left;
  text-align: left;
}

/* Spacer div we included just to match structure – keep it hidden */
.hero-footer-spacer {
  display: none;
}

/* Center the card itself */
.hero-footer .hero-form-card {
  margin: 0 auto;
}

/* Optional: slightly smaller title in the footer hero */
.hero-footer .hero-form-title {
  font-size: 1.9rem;
}

/* 🔑 Use a different background image just for the footer hero */
.hero-footer::before {
  /* Only override the image, keep same center/cover behavior from .hero::before */
  background-image: url("images/book-analysis.webp");
}
/* Place the card on the RIGHT side */
.hero-footer .hero-inner {
  max-width: 1200px;
  margin: 0 auto;

  /* Two-column layout: left = empty space, right = card */
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;

  text-align: left;
  justify-items: end; /* Ensures card sits on far right */
}

/* Hide the spacer (not needed anymore) */
.hero-footer-spacer {
  display: none;
}

/* Align the form card to the RIGHT */
.hero-footer .hero-form-card {
  margin: 0;            /* Remove auto-centering */
  justify-self: end;    /* Push the form card fully right */
}

/* Optional: Adjust for mobile – keep centered */
@media (max-width: 768px) {
  .hero-footer .hero-inner {
    grid-template-columns: 1fr;  /* stack */
    justify-items: center;       /* center on mobile */
  }

  .hero-footer .hero-form-card {
    justify-self: center;
  }
}
/* =========================
   CONTACT PAGE — HERO + CONTACT GRID
   ========================= */

/* ===== HERO ===== */
.contactHero {
  position: relative;
  color: #ffffff;
  background: #000;
  overflow: hidden;
  padding: clamp(80px, 22vh, 160px) 16px;
  text-align: center;
}

.contactHero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.55),
      rgba(0, 0, 0, 0.70)
    ),
    url("images/contact-us.webp") center center / cover no-repeat;
  z-index: 0;
  transform: scale(1.02);
}

.contactHero-layer {
  position: relative;
  z-index: 1;
}

.contactHero-eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.85;
  margin-bottom: 10px;
}

.contactHero-title {
  margin: 0;
  font-size: clamp(32px, 5vw, 62px);
  font-weight: 900;
  letter-spacing: -0.01em;
}

.contactHero-sub {
  max-width: 720px;
  margin: 16px auto 8px;
  font-size: 1rem;
  line-height: 1.6;
  opacity: 0.9;
}

.contactHero-note {
  margin-top: 10px;
  font-size: 0.9rem;
  opacity: 0.8;
}

/* ===== CONTACT GRID ===== */
.contactSection {
  background: #ffffff;
  padding: clamp(56px, 10vh, 96px) 16px;
  color: #0f172a;
}

.contactSection-wrap {
  width: min(1100px, 92vw);
  margin: 0 auto;
}

.contactSection-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 40px;
}

.contact-eyebrow {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #6b7280;
  margin-bottom: 8px;
}

.contact-heading {
  margin: 0 0 12px;
  font-size: clamp(24px, 4vw, 38px);
  font-weight: 800;
}

.contact-lead {
  margin: 0;
  font-size: 1rem;
  color: #6b7280;
  line-height: 1.7;
}

/* Grid layout */
.contactGrid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}

@media (min-width: 720px) {
  .contactGrid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1050px) {
  .contactGrid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Card */
.contactCard {
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  padding: 24px 22px 28px;
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.08);

  display: flex;
  flex-direction: column;

  opacity: 0;
  transform: translateY(20px) scale(0.985);
  filter: blur(0.8px);
  transition:
    opacity 0.7s ease,
    transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1),
    filter 0.7s ease;
}

/* Animate in when .in is applied by JS */
.contactCard.in {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: none;
}

/* Headings inside cards */
.contactCard-title {
  font-size: 1.1rem;
  font-weight: 800;
  margin: 0 0 4px;
}

.contactCard-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #6b7280;
  margin-bottom: 12px;
}

/* Contact items */
.contactItem {
  margin-bottom: 12px;
}

.contactItem-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #6b7280;
}

.contactItem-value,
.contact-address {
  display: block;
  margin-top: 4px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--brand);
  text-decoration: none;
}

.contactItem-value:hover {
  text-decoration: underline;
}

.contactHint {
  margin-top: auto;
  color: #6b7280;
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Slight hover lift */
@media (hover: hover) and (pointer: fine) {
  .contactCard.in:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 50px rgba(15, 23, 42, 0.14);
  }
}

/* Motion accessibility */
@media (prefers-reduced-motion: reduce) {
  .contactCard,
  .contactCard.in {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
  }
}
/* =========================
   POLICY PAGE — LEGAL CONTENT
   ========================= */

.policy-main {
  background: #ffffff;
  padding: clamp(60px, 10vh, 110px) 16px;
  color: #0f172a;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.75;
}

.policy-hero {
  max-width: 900px;
  margin: 0 auto 48px;
  text-align: center;
}

.policy-eyebrow {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #6b7280;
  margin-bottom: 10px;
}

.policy-title {
  margin: 0 0 14px;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 900;
  line-height: 1.15;
  color: #111827;
}

.policy-lead {
  font-size: 1rem;
  color: #4b5563;
  max-width: 760px;
  margin: 0 auto 12px;
}

.policy-meta {
  font-size: 0.85rem;
  color: #9ca3af;
  margin-top: 6px;
}

/* =========================
   SECTION STYLES
   ========================= */

.policy-section {
  max-width: 900px;
  margin: 0 auto 48px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.35);
}

.policy-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.policy-section h2 {
  margin: 0 0 14px;
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 800;
  color: #111827;
}

.policy-section p {
  margin: 0 0 14px;
  color: #374151;
  font-size: 0.98rem;
  line-height: 1.75;
}

.policy-section ul {
  margin: 6px 0 16px 20px;
  padding: 0;
}

.policy-section li {
  margin: 6px 0;
  font-size: 0.98rem;
  color: #374151;
}

/* emphasize legal disclaimers */
.policy-disclaimer {
  font-size: 0.85rem;
  color: #6b7280;
  margin-top: 20px;
  font-style: italic;
}

/* =========================
   LINKS INSIDE POLICY
   ========================= */

.policy-section a {
  color: #145DA0;
  text-decoration: underline;
  font-weight: 600;
}

.policy-section a:hover {
  color: #0d3f75;
}

/* =========================
   MOBILE REFINEMENTS
   ========================= */

@media (max-width: 600px) {
  .policy-main {
    padding-top: 48px;
    padding-bottom: 72px;
  }

  .policy-section {
    padding-bottom: 22px;
  }
}

/* =========================
   OPTIONAL: SMOOTH APPEAR
   ========================= */

.policy-section {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.policy-section.in {
  opacity: 1;
  transform: translateY(0);
}
/* =========================
   LOGIN PAGE — CHOOSE PORTAL (v3)
   ========================= */

.login-main {
  min-height: 80vh;
  padding: clamp(110px, 22vh, 160px) 16px 96px; /* more space under header */
  background:
    radial-gradient(circle at top left, #e0f2ec 0, #ffffff 55%),
    radial-gradient(circle at bottom right, #e5edff 0, #ffffff 55%);
  color: #0f172a;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.login-hero {
  max-width: 960px;
  margin: 0 auto;
}

/* Header text */
.login-header {
  max-width: 640px;
  margin: 0 auto 28px;
  text-align: center;
}

.login-eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #6b7280;
  margin: 0 0 12px;
}

.login-title {
  margin: 0 0 10px;
  font-size: clamp(26px, 4vw, 34px);
  font-weight: 900;
  letter-spacing: -0.02em;
  color: #020617;
}

.login-lead {
  margin: 0;
  font-size: 0.95rem;
  color: #6b7280;
  line-height: 1.7;
}

/* Outer shell card */
.login-shell {
  margin-top: 26px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid rgba(148, 163, 184, 0.45);
  box-shadow:
    0 24px 60px rgba(15, 23, 42, 0.14),
    0 0 0 1px rgba(255, 255, 255, 0.7) inset;
  padding: 24px 20px 26px;
}

/* Inner grid */
.login-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

@media (min-width: 820px) {
  .login-shell {
    padding: 26px 26px 30px;
  }

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

/* Individual option cards */
.login-card {
  position: relative;
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid rgba(209, 213, 219, 0.9);
  padding: 18px 18px 20px;
  display: flex;
  flex-direction: column;
  overflow: hidden;

  /* entrance pose */
  opacity: 0;
  transform: translateY(14px) scale(0.985);
  filter: blur(0.6px);
  transition:
    opacity 0.6s ease,
    transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1),
    filter 0.6s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

/* Soft strip at the top of each card */
.login-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #16a34a, #0f766e, #0369a1);
  opacity: 0.8;
}

/* Animate in when JS adds .in */
.login-card.in {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: none;
}

@media (hover: hover) and (pointer: fine) {
  .login-card.in:hover {
    box-shadow: 0 20px 48px rgba(15, 23, 42, 0.16);
    transform: translateY(-3px) scale(1.01);
  }
}

/* Titles + taglines */
.login-card-title {
  margin: 0 0 4px;
  font-size: 1.02rem;
  font-weight: 800;
  color: #0f172a;
}

.login-card-tag {
  font-size: 0.8rem;
  font-weight: 600;
  color: #6b7280;
  margin-bottom: 10px;
}

/* Bullet list */
.login-card-body {
  margin: 0 0 16px;
  font-size: 0.9rem;
  line-height: 1.6;
  color: #4b5563;
}

.login-card-body ul {
  margin: 8px 0 0 18px;
  padding: 0;
}

.login-card-body li {
  margin: 4px 0;
}

/* CTA area */
.login-actions {
  margin-top: auto;
}

/* Green LOGIN buttons */
.login-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition:
    background 0.16s ease,
    color 0.16s ease,
    box-shadow 0.16s ease,
    transform 0.16s ease,
    border-color 0.16s ease;
}

/* Primary = client portal */
.login-btn.primary {
  background: var(--brand);
  color: #ffffff;
  box-shadow: 0 16px 42px rgba(17, 59, 40, 0.35);
}

.login-btn.primary:hover {
  background: #0b3b25;
  transform: translateY(-2px);
  box-shadow: 0 22px 52px rgba(17, 59, 40, 0.4);
}

/* Secondary = education portal */
.login-btn.secondary {
  background: #ffffff;
  color: #0f172a;
  border-color: rgba(148, 163, 184, 0.9);
}

.login-btn.secondary:hover {
  background: #f9fafb;
  border-color: var(--brand);
}

/* Helper text under the cards */
.login-help {
  max-width: 640px;
  margin: 22px auto 0;
  font-size: 0.85rem;
  color: #6b7280;
  text-align: center;
}

/* Small screens */
@media (max-width: 600px) {
  .login-main {
    padding-top: 96px;   /* still more space than v2 */
    padding-bottom: 80px;
  }

  .login-shell {
    padding: 18px 14px 20px;
  }
}

/* Motion accessibility */
@media (prefers-reduced-motion: reduce) {
  .login-card,
  .login-card.in {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
  }
}
/* Temporarily hide nav items */
.nav-hide {
  display: none !important;
}
/* =========================
   EDUCATION PLATFORM LAUNCH
   ========================= */

.edu-launch {
  min-height: 80vh;
  padding: clamp(110px, 22vh, 160px) 16px 96px;
  background:
    radial-gradient(circle at top left, #e0f2ec 0, #ffffff 55%),
    radial-gradient(circle at bottom right, #e5edff 0, #ffffff 55%);
  color: #0f172a;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.edu-hero {
  max-width: 960px;
  margin: 0 auto;
}

.edu-inner {
  text-align: center;
  padding: 32px 20px 40px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(148, 163, 184, 0.45);
  box-shadow:
    0 26px 70px rgba(15, 23, 42, 0.18),
    0 0 0 1px rgba(255, 255, 255, 0.8) inset;

  /* subtle entrance pose */
  opacity: 0;
  transform: translateY(18px) scale(0.985);
  filter: blur(0.7px);
  animation: edu-pop-in 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) 0.15s forwards;
}

/* Small tag at the top */
.edu-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(17, 59, 40, 0.06);
  color: var(--brand);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.edu-title {
  margin: 0 0 10px;
  font-size: clamp(32px, 4vw, 36px);
  font-weight: 900;
  letter-spacing: -0.02em;
  color: #020617;
}

.edu-subtitle {
  max-width: 640px;
  margin: 0 auto 20px;
  font-size: 0.98rem;
  line-height: 1.8;
  color: #4b5563;
}

/* Countdown layout */
.edu-countdown {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  max-width: 520px;
  margin: 10px auto 18px;
}

.edu-count-item {
  padding: 14px 10px;
  border-radius: 20px;
  background: var(--brand);
  color: #ffffff;
  box-shadow:
    0 14px 36px rgba(17, 59, 40, 0.35),
    0 0 0 2px rgba(255,255,255,0.15) inset;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.edu-count-num {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-shadow: 0 2px 4px rgba(0,0,0,0.35);
}

.edu-count-label {
  margin-top: 4px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  opacity: 0.92;
  color: #e0f2ec;
}
@media (hover: hover) and (pointer: fine) {
  .edu-count-item:hover {
    transform: translateY(-3px);
    box-shadow:
      0 18px 46px rgba(17,59,40,0.42),
      0 0 0 2px rgba(255,255,255,0.25) inset;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
  }
}

@media (prefers-reduced-motion: reduce) {
  .edu-count-item:hover {
    transform: none !important;
    box-shadow:
      0 14px 36px rgba(17,59,40,0.35),
      0 0 0 2px rgba(255,255,255,0.15) inset !important;
  }
}

/* Supporting copy */
.edu-note {
  max-width: 560px;
  margin: 6px auto 18px;
  font-size: 0.9rem;
  color: #6b7280;
  line-height: 1.7;
}

/* CTA (placeholder for future waitlist) */
.edu-cta {
  margin-top: 4px;
  min-width: 240px;
  padding: 12px 22px;
  border-radius: 999px;
  border: none;
  background: #e5e7eb;
  color: #6b7280;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: not-allowed;
}

/* Small screens */
@media (max-width: 600px) {
  .edu-launch {
    padding-top: 96px;
    padding-bottom: 80px;
  }

  .edu-inner {
    padding: 24px 16px 30px;
  }

  .edu-countdown {
    gap: 8px;
  }

  .edu-count-num {
    font-size: 1.2rem;
  }
}

/* Simple entrance animation */
@keyframes edu-pop-in {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.985);
    filter: blur(0.7px);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: none;
  }
}

/* Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  .edu-inner {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    animation: none !important;
  }
}
