/* ═══ COLOR FLOW MAP (from design-spec.sections[].bg_context) ═══
 * index.html:
 *   nav        → transparent-on-dark (scrolled: solid #0E1929)
 *   hero       → DARK (#0E1929)       | text: white (#F0F4F8)
 *   problem    → DARK_ALT (#122030)   | text: white
 *   solution   → LIGHT (#F8FAFC)      | text: dark (#0E1929)
 *   platform   → DARK (#0E1929)       | text: white
 *   metrics    → DARK_ALT (#122030)   | text: white
 *   customers  → LIGHT (#F8FAFC)      | text: dark
 *   integrations → CREAM (#F1F5F9)    | text: dark
 *   cta-bottom → DARK (#0E1929)       | text: white
 *   footer     → DARK (#0E1929)       | text: white-muted
 *
 * product.html / how-it-works.html / etc (dark-top):
 *   nav        → transparent-on-dark (scrolled: solid #0E1929)
 *   hero       → DARK (#0E1929)       | text: white
 *   body sections → alternate LIGHT/CREAM/DARK
 *
 * login/index.html + legal/* (light-top):
 *   nav        → solid #0E1929 (forced)
 *   body       → LIGHT (#F8FAFC)      | text: dark
 *
 * Adjacent dark→dark: border-top: 1px solid var(--border-dark) as separator
 * ═══════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,700;1,9..40,400&family=DM+Mono:wght@400;500&display=swap');

/* ─── CSS Variables ─── */
:root {
  /* Brand palette */
  --cpth-brand-primary: #0E1929;
  --cpth-brand-secondary: #122030;
  --cpth-accent: #4FD1C5;
  --cpth-accent-aa-light: #0A7C70;
  --cpth-accent-aa-dark: #4FD1C5;
  --cpth-accent-warm: #F59E0B;
  --cpth-accent-warm-dark: #FBBF24;

  /* Foreground tokens */
  --cpth-fg-light-primary: #0E1929;
  --cpth-fg-light-secondary: #374151;
  --cpth-fg-light-muted: #6B7280;
  --cpth-fg-dark-primary: #F0F4F8;
  --cpth-fg-dark-secondary: #94A3B8;
  --cpth-fg-dark-muted: #64748B;

  /* Background tokens */
  --cpth-bg-light: #F8FAFC;
  --cpth-bg-white: #FFFFFF;
  --cpth-bg-cream: #F1F5F9;
  --cpth-bg-dark: #0E1929;
  --cpth-bg-dark-alt: #122030;
  --cpth-bg-dark-panel: #1A2E44;

  /* Border tokens */
  --cpth-border-light: #E2E8F0;
  --cpth-border-dark: #1E3A50;

  /* Typography */
  --cpth-font-sans: 'DM Sans', system-ui, sans-serif;
  --cpth-font-mono: 'DM Mono', 'Courier New', monospace;

  /* Scale */
  --cpth-text-hero: clamp(2.75rem, 5.5vw, 4.25rem);
  --cpth-text-h1: clamp(2rem, 4vw, 3rem);
  --cpth-text-h2: clamp(1.5rem, 2.8vw, 2rem);
  --cpth-text-h3: 1.25rem;
  --cpth-text-body-lg: 1.125rem;
  --cpth-text-body: 1rem;
  --cpth-text-small: 0.875rem;
  --cpth-text-data: 0.75rem;

  /* Spacing */
  --cpth-section-pad: clamp(4rem, 8vw, 7rem);
  --cpth-container: 1200px;
}

/* ─── Reset ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--cpth-font-sans);
  font-size: var(--cpth-text-body);
  line-height: 1.7;
  background: var(--cpth-bg-dark);
  color: var(--cpth-fg-dark-primary);
}
body.cpth-page--light-top {
  background: var(--cpth-bg-light);
  color: var(--cpth-fg-light-primary);
}
img { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; }
address { font-style: normal; }

/* ─── Container ─── */
.cpth-container {
  max-width: var(--cpth-container);
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2.5rem);
}

/* ─── Navigation ─── */
.cpth-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: transparent;
  transition: background 0.3s ease, box-shadow 0.3s ease;
  padding: 0;
}
/* dark-top pages: nav transparent initially; text white */
body.cpth-page--dark-top .cpth-nav {
  background: transparent;
}
body.cpth-page--dark-top .cpth-nav.cpth-nav--scrolled {
  background: var(--cpth-bg-dark);
  box-shadow: 0 1px 0 var(--cpth-border-dark);
}
/* light-top pages: nav always solid dark */
body.cpth-page--light-top .cpth-nav {
  background: var(--cpth-bg-dark);
  box-shadow: 0 1px 0 var(--cpth-border-dark);
}

.cpth-nav__inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 1rem clamp(1rem, 4vw, 2.5rem);
  max-width: var(--cpth-container);
  margin: 0 auto;
}
.cpth-nav__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}
.cpth-nav__logo img {
  height: 32px;
  width: auto;
  max-width: 180px;
}
.cpth-nav__links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  margin-left: auto;
}
/* Nav links: on dark nav → white text */
.cpth-nav__link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--cpth-fg-dark-secondary);
  transition: color 0.2s;
  text-decoration: none;
}
.cpth-nav__link:hover {
  color: var(--cpth-fg-dark-primary);
}
.cpth-nav__ctas {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-left: 1rem;
}
.cpth-nav__hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  margin-left: auto;
}
.cpth-nav__hamburger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--cpth-fg-dark-primary);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* Mobile nav */
.cpth-nav__mobile {
  display: none;
  flex-direction: column;
  gap: 0;
  background: var(--cpth-bg-dark);
  border-top: 1px solid var(--cpth-border-dark);
  padding: 1rem clamp(1rem, 4vw, 2.5rem) 1.5rem;
}
.cpth-nav__mobile.is-open {
  display: flex;
}
.cpth-nav__mobile .cpth-nav__link {
  padding: 0.625rem 0;
  color: var(--cpth-fg-dark-secondary);
  border-bottom: 1px solid var(--cpth-border-dark);
}
.cpth-nav__mobile .cpth-nav__link:last-of-type { border-bottom: none; }
.cpth-nav__mobile .cpth-btn {
  margin-top: 0.75rem;
  display: block;
  text-align: center;
}

/* ─── Buttons ─── */
.cpth-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.375rem;
  border-radius: 6px;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.4;
  transition: background 0.2s, color 0.2s, border-color 0.2s, opacity 0.2s;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
}
/* Primary: teal */
.cpth-btn--primary {
  background: var(--cpth-accent);
  color: var(--cpth-bg-dark);
  border-color: var(--cpth-accent);
}
.cpth-btn--primary:hover {
  background: #3bb5a9;
  border-color: #3bb5a9;
  color: var(--cpth-bg-dark);
}
/* Ghost on dark: outline white */
.cpth-btn--ghost-dark {
  background: transparent;
  color: var(--cpth-fg-dark-primary);
  border-color: rgba(240, 244, 248, 0.35);
}
.cpth-btn--ghost-dark:hover {
  border-color: var(--cpth-fg-dark-primary);
  color: var(--cpth-fg-dark-primary);
}
/* Outline light: dark outline for light sections */
.cpth-btn--outline-light {
  background: transparent;
  color: var(--cpth-fg-light-primary);
  border-color: var(--cpth-border-light);
}
.cpth-btn--outline-light:hover {
  border-color: var(--cpth-fg-light-primary);
}
/* Outline dark */
.cpth-btn--outline-dark {
  background: transparent;
  color: var(--cpth-fg-dark-primary);
  border-color: var(--cpth-border-dark);
}
.cpth-btn--outline-dark:hover {
  border-color: var(--cpth-fg-dark-primary);
}
/* Large variant */
.cpth-btn--lg {
  padding: 0.875rem 1.75rem;
  font-size: 1rem;
}
/* Small variant */
.cpth-btn--sm {
  padding: 0.4rem 0.9rem;
  font-size: 0.8125rem;
}

/* ─── Section base ─── */
.cpth-section {
  padding: var(--cpth-section-pad) 0;
}
.cpth-section--dark {
  background: var(--cpth-bg-dark);
  color: var(--cpth-fg-dark-primary);
}
.cpth-section--dark-alt {
  background: var(--cpth-bg-dark-alt);
  color: var(--cpth-fg-dark-primary);
  border-top: 1px solid var(--cpth-border-dark);
}
.cpth-section--light {
  background: var(--cpth-bg-light);
  color: var(--cpth-fg-light-primary);
}
.cpth-section--white {
  background: var(--cpth-bg-white);
  color: var(--cpth-fg-light-primary);
}
.cpth-section--cream {
  background: var(--cpth-bg-cream);
  color: var(--cpth-fg-light-primary);
}

/* ─── Typography in sections ─── */
/* Dark sections */
.cpth-section--dark .cpth-eyebrow,
.cpth-section--dark-alt .cpth-eyebrow {
  color: var(--cpth-accent-aa-dark);
}
.cpth-section--dark .cpth-section__headline,
.cpth-section--dark-alt .cpth-section__headline {
  color: var(--cpth-fg-dark-primary);
}
.cpth-section--dark .cpth-section__subhead,
.cpth-section--dark-alt .cpth-section__subhead {
  color: var(--cpth-fg-dark-secondary);
}
/* Light sections */
.cpth-section--light .cpth-eyebrow,
.cpth-section--white .cpth-eyebrow,
.cpth-section--cream .cpth-eyebrow {
  color: var(--cpth-accent-aa-light);
}
.cpth-section--light .cpth-section__headline,
.cpth-section--white .cpth-section__headline,
.cpth-section--cream .cpth-section__headline {
  color: var(--cpth-fg-light-primary);
}
.cpth-section--light .cpth-section__subhead,
.cpth-section--white .cpth-section__subhead,
.cpth-section--cream .cpth-section__subhead {
  color: var(--cpth-fg-light-secondary);
}

.cpth-eyebrow {
  font-size: var(--cpth-text-small);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.875rem;
  display: block;
  font-family: var(--cpth-font-mono);
}
.cpth-section__headline {
  font-size: var(--cpth-text-h2);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 1.25rem;
}
.cpth-section__subhead {
  font-size: var(--cpth-text-body-lg);
  line-height: 1.65;
  max-width: 56ch;
}
.cpth-section__header {
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.cpth-section__header--center {
  text-align: center;
}
.cpth-section__header--center .cpth-section__subhead {
  margin: 0 auto;
}

/* ─── Hero ─── */
.cpth-hero {
  padding-top: clamp(7rem, 14vw, 10rem);
  padding-bottom: clamp(4rem, 8vw, 6rem);
  background: var(--cpth-bg-dark);
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
}
/* Geometric grid pattern for hero background depth */
.cpth-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(79, 209, 197, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(79, 209, 197, 0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
}
.cpth-hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 1;
}
.cpth-hero__text {}
.cpth-hero__eyebrow {
  color: var(--cpth-accent-aa-dark);
  font-size: var(--cpth-text-small);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-family: var(--cpth-font-mono);
  margin-bottom: 1.25rem;
  display: block;
}
.cpth-hero__headline {
  font-size: var(--cpth-text-hero);
  font-weight: 700;
  line-height: 1.15;
  color: var(--cpth-fg-dark-primary);
  margin-bottom: 1.5rem;
}
.cpth-hero__headline em {
  color: var(--cpth-accent-aa-dark);
  font-style: normal;
}
.cpth-hero__subhead {
  font-size: var(--cpth-text-body-lg);
  line-height: 1.65;
  color: var(--cpth-fg-dark-secondary);
  margin-bottom: 2.5rem;
  max-width: 52ch;
}
.cpth-hero__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.cpth-hero__visual {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
}
.cpth-hero__visual img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.5), 0 0 0 1px var(--cpth-border-dark);
}

/* ─── Sub-page hero (lighter than homepage) ─── */
.cpth-subhero {
  padding-top: clamp(6rem, 10vw, 8rem);
  padding-bottom: clamp(3rem, 6vw, 4.5rem);
  background: var(--cpth-bg-dark);
  position: relative;
  overflow: hidden;
}
.cpth-subhero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(79, 209, 197, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(79, 209, 197, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}
.cpth-subhero__inner {
  max-width: var(--cpth-container);
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2.5rem);
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2.5rem);
}
.cpth-subhero .cpth-eyebrow {
  color: var(--cpth-accent-aa-dark);
  margin-bottom: 1rem;
}
.cpth-subhero__headline {
  font-size: var(--cpth-text-h1);
  font-weight: 700;
  line-height: 1.2;
  color: var(--cpth-fg-dark-primary);
  margin-bottom: 1.25rem;
}
.cpth-subhero__subhead {
  font-size: var(--cpth-text-body-lg);
  color: var(--cpth-fg-dark-secondary);
  line-height: 1.65;
  max-width: 60ch;
  margin: 0 auto 2rem;
}

/* ─── Problem strip ─── */
.cpth-problem__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.cpth-problem__card {
  padding: 2rem;
  border: 1px solid var(--cpth-border-dark);
  border-radius: 10px;
  background: var(--cpth-bg-dark-panel);
}
.cpth-problem__icon {
  font-size: 1.5rem;
  color: var(--cpth-accent-warm-dark);
  margin-bottom: 1rem;
}
.cpth-problem__label {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--cpth-fg-dark-primary);
  margin-bottom: 0.625rem;
}
.cpth-problem__copy {
  font-size: var(--cpth-text-small);
  color: var(--cpth-fg-dark-secondary);
  line-height: 1.65;
}

/* ─── Four pillars / solution ─── */
.cpth-pillars__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
}
.cpth-pillar {
  padding: 1.75rem;
  border-radius: 10px;
  background: var(--cpth-bg-white);
  border: 1px solid var(--cpth-border-light);
}
.cpth-pillar__icon {
  font-size: 1.375rem;
  color: var(--cpth-accent-aa-light);
  margin-bottom: 1rem;
}
.cpth-pillar__label {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--cpth-fg-light-primary);
  margin-bottom: 0.5rem;
}
.cpth-pillar__copy {
  font-size: var(--cpth-text-small);
  color: var(--cpth-fg-light-secondary);
  line-height: 1.65;
}

/* ─── Platform diagram ─── */
.cpth-platform__headline {
  font-size: var(--cpth-text-h2);
  font-weight: 700;
  color: var(--cpth-fg-dark-primary);
  text-align: center;
  margin-bottom: 2.5rem;
}
.cpth-platform__visual {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--cpth-border-dark);
}
.cpth-platform__visual img {
  width: 100%;
  height: auto;
  display: block;
}

/* ─── Metrics band ─── */
.cpth-metrics__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--cpth-border-dark);
  border-radius: 10px;
  overflow: hidden;
}
.cpth-metric {
  padding: 2.5rem 2rem;
  text-align: center;
  border-right: 1px solid var(--cpth-border-dark);
}
.cpth-metric:last-child { border-right: none; }
.cpth-metric__value {
  font-family: var(--cpth-font-mono);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
  color: var(--cpth-accent-aa-dark);
  line-height: 1;
  margin-bottom: 0.75rem;
}
.cpth-metric__label {
  font-size: var(--cpth-text-small);
  color: var(--cpth-fg-dark-secondary);
  line-height: 1.5;
}

/* ─── Customer cards ─── */
.cpth-customers__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}
.cpth-customer-card {
  padding: 2.25rem;
  background: var(--cpth-bg-white);
  border: 1px solid var(--cpth-border-light);
  border-radius: 10px;
}
.cpth-customer-card__quote {
  font-size: var(--cpth-text-body-lg);
  color: var(--cpth-fg-light-primary);
  line-height: 1.65;
  margin-bottom: 1.5rem;
  font-style: italic;
}
.cpth-customer-card__firm {
  font-size: 1rem;
  font-weight: 700;
  color: var(--cpth-fg-light-primary);
  margin-bottom: 0.25rem;
}
.cpth-customer-card__meta {
  font-size: var(--cpth-text-small);
  color: var(--cpth-fg-light-muted);
  font-family: var(--cpth-font-mono);
}

/* ─── Integration logos ─── */
.cpth-integrations__row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}
.cpth-integration-badge {
  padding: 0.5rem 1.25rem;
  background: var(--cpth-bg-white);
  border: 1px solid var(--cpth-border-light);
  border-radius: 6px;
  font-size: var(--cpth-text-small);
  font-weight: 600;
  color: var(--cpth-fg-light-secondary);
  letter-spacing: 0.02em;
}

/* ─── CTA band ─── */
.cpth-cta-band {
  text-align: center;
  padding: var(--cpth-section-pad) 0;
  background: var(--cpth-bg-dark);
}
.cpth-cta-band__headline {
  font-size: var(--cpth-text-h2);
  font-weight: 700;
  color: var(--cpth-fg-dark-primary);
  margin-bottom: 1rem;
  max-width: 50ch;
  margin-left: auto;
  margin-right: auto;
}
.cpth-cta-band__sub {
  color: var(--cpth-fg-dark-secondary);
  margin-bottom: 2rem;
  font-size: var(--cpth-text-body-lg);
}
.cpth-cta-band__actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.cpth-cta-band--dark-alt {
  background: var(--cpth-bg-dark-alt);
  border-top: 1px solid var(--cpth-border-dark);
}

/* ─── Footer ─── */
.cpth-footer {
  background: var(--cpth-bg-dark);
  border-top: 1px solid var(--cpth-border-dark);
  padding: 4rem 0 0;
}
.cpth-footer__inner {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 3rem;
}
.cpth-footer__brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.cpth-footer__logo img {
  height: 28px;
  width: auto;
}
.cpth-footer__tagline {
  font-size: var(--cpth-text-small);
  color: var(--cpth-fg-dark-muted);
  line-height: 1.65;
  max-width: 28ch;
}
.cpth-footer-col__label {
  font-size: var(--cpth-text-small);
  font-weight: 700;
  color: var(--cpth-fg-dark-secondary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
  font-family: var(--cpth-font-mono);
}
.cpth-footer-col__links {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}
.cpth-footer-col__link {
  font-size: var(--cpth-text-small);
  color: var(--cpth-fg-dark-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.cpth-footer-col__link:hover {
  color: var(--cpth-fg-dark-primary);
}
.cpth-footer__bottom {
  border-top: 1px solid var(--cpth-border-dark);
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.cpth-footer__copy {
  font-size: var(--cpth-text-small);
  color: var(--cpth-fg-dark-muted);
}
.cpth-footer__contact-strip {
  font-size: var(--cpth-text-small);
  color: var(--cpth-fg-dark-muted);
}
.cpth-footer__contact-strip a {
  color: var(--cpth-fg-dark-muted);
  text-decoration: none;
}
.cpth-footer__contact-strip a:hover {
  color: var(--cpth-fg-dark-primary);
}

/* ─── Cookie banner ─── */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--cpth-bg-dark-panel);
  border-top: 1px solid var(--cpth-border-dark);
  padding: 1rem clamp(1rem, 4vw, 2.5rem);
}
.cookie-banner__inner {
  max-width: var(--cpth-container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.cookie-banner__text {
  flex: 1;
  font-size: var(--cpth-text-small);
  color: var(--cpth-fg-dark-secondary);
  line-height: 1.5;
}
.cookie-banner__text a {
  color: var(--cpth-accent-aa-dark);
  text-decoration: underline;
}
.cookie-banner__actions {
  flex-shrink: 0;
}
.cookie-banner__btn {
  padding: 0.5rem 1.25rem;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  font-family: var(--cpth-font-sans);
}
.cookie-banner__btn--primary {
  background: var(--cpth-accent);
  color: var(--cpth-bg-dark);
}
.cookie-banner__btn--primary:hover {
  background: #3bb5a9;
}
/* modifier for notice-only model (no structural change needed, keeps base styles) */
.cookie-banner--notice {}

/* ─── Fade-in animation ─── */
.cpth-fade-in {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.cpth-fade-in.is-visible {
  opacity: 1;
  transform: none;
}
/* Failsafe: reveal after 1.2s regardless */
@keyframes cpth-reveal {
  to { opacity: 1; transform: none; }
}
.cpth-fade-in {
  animation: cpth-reveal 0s 1.2s forwards;
}
.cpth-fade-in.is-visible {
  animation: none;
}

/* ─── Responsive ─── */
@media (max-width: 1024px) {
  .cpth-pillars__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 900px) {
  .cpth-hero__inner {
    grid-template-columns: 1fr;
  }
  .cpth-hero__visual {
    order: -1;
  }
  .cpth-hero {
    min-height: auto;
    padding-top: 7rem;
  }
  .cpth-problem__grid {
    grid-template-columns: 1fr;
  }
  .cpth-metrics__grid {
    grid-template-columns: 1fr;
  }
  .cpth-metric {
    border-right: none;
    border-bottom: 1px solid var(--cpth-border-dark);
  }
  .cpth-metric:last-child { border-bottom: none; }
  .cpth-customers__grid {
    grid-template-columns: 1fr;
  }
  .cpth-footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}
@media (max-width: 768px) {
  .cpth-nav__links, .cpth-nav__ctas {
    display: none;
  }
  .cpth-nav__hamburger {
    display: flex;
  }
  .cpth-pillars__grid {
    grid-template-columns: 1fr;
  }
  .cpth-footer__inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}
