@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');

/* ========================
   Variables & Reset
   ======================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --dark:      #1e3a4c;
  --dark-90:   #162e3d;
  --teal:      #2dbfaa;
  --teal-soft: rgba(45,191,170,.12);
  --grad:      linear-gradient(135deg, #2dbfaa 0%, #1e3a4c 100%);
  --surface:   #F4F8FA;
  --white:     #ffffff;
  --muted:     #5a7a8a;
  --text:      #1a2f3d;
  --border:    #dce8ed;

  --font:      'Manrope', -apple-system, sans-serif;
  --radius:    10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --shadow:    0 2px 12px rgba(30,58,76,.07);
  --shadow-md: 0 4px 24px rgba(30,58,76,.1);
  --shadow-lg: 0 8px 48px rgba(30,58,76,.14);
  --max:       1160px;
  --nav-h:     68px;

  /* Spring easing, snappy in, gentle deceleration */
  --spring:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out:  cubic-bezier(0, 0, 0.2, 1);
  --ease-in:   cubic-bezier(0.4, 0, 1, 1);
  --fast:      0.18s;
  --normal:    0.3s;
  --slow:      0.5s;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img  { max-width: 100%; display: block; }
a    { color: inherit; text-decoration: none; }
ul   { list-style: none; }

h1,h2,h3,h4 {
  line-height: 1.15;
  color: var(--dark);
  font-weight: 700;
  letter-spacing: -.01em;
}
h1 { font-size: clamp(2.4rem, 5.5vw, 3.75rem); font-weight: 800; letter-spacing: -.025em; }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); letter-spacing: -.015em; }
h3 { font-size: 1.125rem; }
p  { color: var(--muted); line-height: 1.7; }

/* ========================
   Utilities
   ======================== */
.container { max-width: var(--max); margin: 0 auto; padding: 0 1.5rem; }
.section   { padding: 4rem 1.5rem; }
.section--surface {
  background: var(--surface);
  background-image: radial-gradient(circle, rgba(30,58,76,.06) 1px, transparent 1px);
  background-size: 28px 28px;
  position: relative;
}
.section--surface::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 100px;
  background: linear-gradient(to bottom, rgba(45,191,170,.05), transparent);
  pointer-events: none;
}

.section--dark {
  background-color: var(--dark);
  background-image:
    radial-gradient(ellipse at 100% 0%, rgba(45,191,170,.15) 0%, transparent 50%),
    radial-gradient(ellipse at 0% 100%, rgba(45,191,170,.08) 0%, transparent 45%),
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: auto, auto, 60px 60px, 60px 60px;
  position: relative;
}
.section--dark .section-label { background: rgba(45,191,170,.15); color: var(--teal); border-color: rgba(45,191,170,.25); }
.section--dark h2 { color: var(--white); text-shadow: 0 0 40px rgba(45,191,170,.25); }
.section--dark p  { color: rgba(255,255,255,.65); }
.section--dark .v-stat { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.08); }
.section--dark .v-stat strong { color: var(--white); }
.section--dark .v-stat span   { color: rgba(255,255,255,.55); }
.section--dark .v-stat__icon  { background: rgba(45,191,170,.15); color: var(--teal); }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--teal);
  background: var(--teal-soft);
  border: 1px solid rgba(45,191,170,.22);
  border-radius: 20px;
  padding: .25rem .75rem;
  margin-bottom: 1rem;
}

.section-header { max-width: 680px; margin-bottom: 3.5rem; }
.section-header.centered { margin-left: auto; margin-right: auto; text-align: center; }
.section-header p { margin-top: .875rem; font-size: 1.0625rem; }

/* ========================
   Buttons
   ======================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .875rem 1.875rem;
  border-radius: 8px;
  font-family: var(--font);
  font-size: .9375rem;
  font-weight: 700;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--normal) var(--spring);
  white-space: nowrap;
  line-height: 1;
  position: relative;
  overflow: hidden;
}

/* Shine sweep on hover */
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,.18) 50%, transparent 60%);
  transform: translateX(-120%);
  transition: transform .5s var(--ease-out);
}
.btn:hover::after { transform: translateX(120%); }

.btn-primary { background: var(--teal); color: var(--white); }
.btn-primary:hover {
  background: #25a894;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(45,191,170,.38);
}
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.35);
  backdrop-filter: blur(4px);
}
.btn-ghost:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.7);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--dark);
  border-color: var(--dark);
}
.btn-outline:hover {
  background: var(--dark);
  color: var(--white);
  transform: translateY(-2px);
}

/* ========================
   Navigation
   ======================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition:
    background var(--normal) var(--ease-out),
    border-color var(--normal) var(--ease-out),
    box-shadow var(--normal) var(--ease-out),
    backdrop-filter var(--normal) var(--ease-out);
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.page-home .nav,
.page-hero-dark .nav {
  background: transparent;
  border-color: transparent;
}

.nav.scrolled {
  background: rgba(255,255,255,.88) !important;
  border-color: var(--border) !important;
  box-shadow: 0 1px 0 var(--border), 0 4px 24px rgba(30,58,76,.08) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.nav__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.5rem;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo { height: 48px; width: auto; transition: opacity var(--fast); }
.nav__logo:hover { opacity: .8; }

.logo-color { display: block; }
.logo-white { display: none; }
.page-home .nav:not(.scrolled) .logo-color,
.page-hero-dark .nav:not(.scrolled) .logo-color { display: none; }
.page-home .nav:not(.scrolled) .logo-white,
.page-hero-dark .nav:not(.scrolled) .logo-white { display: block; }

.nav__links { display: flex; align-items: center; gap: 2rem; }
.nav__links a {
  font-size: .9375rem;
  font-weight: 600;
  color: var(--dark);
  transition: color var(--fast);
  position: relative;
  padding-bottom: 2px;
}
.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 2px;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--normal) var(--spring);
  border-radius: 2px;
}
.nav__links a:hover::after,
.nav__links a.active::after { transform: scaleX(1); }
.nav__links a:hover,
.nav__links a.active { color: var(--teal); }

.page-home .nav:not(.scrolled) .nav__links a,
.page-hero-dark .nav:not(.scrolled) .nav__links a { color: rgba(255,255,255,.75); }
.page-home .nav:not(.scrolled) .nav__links a:hover,
.page-hero-dark .nav:not(.scrolled) .nav__links a:hover { color: #fff; }

.nav__cta { margin-left: 1rem; }

.nav__has-dropdown { position: relative; }
.nav__dropdown-toggle {
  display: inline-flex;
  align-items: center;
  background: none;
  border: 0;
  margin: 0;
  padding: 0 0 2px;
  font-family: inherit;
  font-size: .9375rem;
  font-weight: 600;
  color: var(--dark);
  cursor: pointer;
  transition: color var(--fast);
}
.nav__dropdown-toggle:hover { color: var(--teal); }
.page-home .nav:not(.scrolled) .nav__dropdown-toggle,
.page-hero-dark .nav:not(.scrolled) .nav__dropdown-toggle { color: rgba(255,255,255,.75); }
.page-home .nav:not(.scrolled) .nav__dropdown-toggle:hover,
.page-hero-dark .nav:not(.scrolled) .nav__dropdown-toggle:hover { color: #fff; }
.nav__dropdown-toggle svg { width: 14px; height: 14px; margin-left: .2rem; transition: transform var(--fast) var(--spring); }
.nav__has-dropdown:hover .nav__dropdown-toggle svg,
.nav__has-dropdown.is-open .nav__dropdown-toggle svg { transform: rotate(180deg); }

.nav__dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(30,58,76,0.13);
  min-width: 230px;
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--fast) var(--spring), transform var(--fast) var(--spring), visibility var(--fast);
  z-index: 200;
  border: 1px solid var(--border);
}
.nav__has-dropdown:hover .nav__dropdown-menu,
.nav__has-dropdown.is-open .nav__dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.nav__dropdown-menu li { list-style: none; }
.nav__dropdown-menu a {
  display: block;
  padding: .625rem 1.25rem;
  font-size: .875rem;
  font-weight: 600;
  color: var(--dark);
  white-space: nowrap;
}
.nav__dropdown-menu a::after { display: none; }
.nav__dropdown-menu a:hover { color: var(--teal); background: var(--surface); }
.page-home .nav:not(.scrolled) .nav__dropdown-menu a,
.page-hero-dark .nav:not(.scrolled) .nav__dropdown-menu a { color: var(--dark); }
.page-home .nav:not(.scrolled) .nav__dropdown-menu a:hover,
.page-hero-dark .nav:not(.scrolled) .nav__dropdown-menu a:hover { color: var(--teal); }

.nav__mobile-label {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  padding: .375rem 0 .25rem;
  border-bottom: none !important;
  pointer-events: none;
  display: block;
}
.nav__mobile-sub {
  padding-left: 1rem !important;
  font-size: .9rem !important;
}

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: 6px;
  transition: background var(--fast);
}
.nav__hamburger:hover { background: var(--teal-soft); }
.nav__hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: transform var(--normal) var(--spring), opacity var(--fast);
}
.page-home .nav:not(.scrolled) .nav__hamburger span,
.page-hero-dark .nav:not(.scrolled) .nav__hamburger span { background: #fff; }
.nav__hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav__mobile {
  display: none;
  position: fixed;
  top: var(--nav-h); left: 0; right: 0;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem;
  box-shadow: var(--shadow-lg);
  z-index: 99;
  flex-direction: column;
  gap: .75rem;
}
.nav__mobile.open { display: flex; }
.nav__mobile a {
  font-size: 1rem; font-weight: 600; color: var(--dark);
  padding: .625rem 0;
  border-bottom: 1px solid var(--border);
  transition: color var(--fast);
  display: flex; align-items: center; justify-content: space-between;
}
.nav__mobile a:last-of-type { border-bottom: none; }
.nav__mobile a:hover { color: var(--teal); }

/* ========================
   Hero
   ======================== */
@keyframes heroWave {
  0%   { background-position: 80% 20%, 0% 90%, 50% 50%; }
  25%  { background-position: 88% 12%, 8% 98%, 54% 46%; }
  50%  { background-position: 74% 28%, -4% 84%, 46% 54%; }
  75%  { background-position: 84% 10%, 4% 96%, 52% 48%; }
  100% { background-position: 80% 20%, 0% 90%, 50% 50%; }
}

@keyframes gradientShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.hero {
  background-color: var(--dark);
  background-image:
    radial-gradient(ellipse at center, rgba(45,191,170,.32) 0%, transparent 55%),
    radial-gradient(ellipse at center, rgba(45,191,170,.18) 0%, transparent 50%),
    radial-gradient(ellipse at center, rgba(255,255,255,.02) 0%, transparent 70%);
  background-size: 70% 65%, 60% 70%, 120% 120%;
  background-position: 80% 20%, 0% 90%, 50% 50%;
  background-repeat: no-repeat;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 4rem) 1.5rem 5rem;
  position: relative;
  overflow: hidden;
  animation: heroWave 10s ease-in-out infinite;
}

/* Subtle grid lines */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
/* Grain overlay */
.hero::after, .page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .45;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.08'/%3E%3C/svg%3E");
  background-size: 300px 300px;
  mix-blend-mode: overlay;
}

/* Corner glow */
.hero::after {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(45,191,170,.1) 0%, transparent 65%);
  pointer-events: none;
}

.hero__inner {
  max-width: var(--max);
  margin: 0 auto;
  width: 100%;
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 4rem;
  align-items: center;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 1.25rem;
}
.hero__eyebrow::before {
  content: '';
  display: block;
  width: 28px; height: 2px;
  background: var(--teal);
  border-radius: 2px;
}

.hero h1 {
  color: var(--white);
  max-width: 640px;
  margin-bottom: 1.375rem;
}

.hero h1 em {
  font-style: normal;
  color: var(--teal);
}

.hero__sub {
  color: rgba(255,255,255,.82);
  font-size: 1.1875rem;
  max-width: 520px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 2.75rem;
}

.hero__proof {
  display: flex;
  gap: 2.25rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255,255,255,.1);
}

.hero__proof-item {}
.hero__proof-item strong {
  display: block;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: .3rem;
}
.hero__proof-item span {
  font-size: .875rem;
  color: rgba(255,255,255,.55);
  letter-spacing: .02em;
}

/* ── Hero Visual Card ── */
.hero__visual { position: relative; }

.sys-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 20px;
  padding: 1.5rem;
  backdrop-filter: blur(12px);
  box-shadow: 0 24px 64px rgba(0,0,0,.3), inset 0 1px 0 rgba(255,255,255,.1);
}

.sys-header {
  display: flex;
  align-items: center;
  gap: .625rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.sys-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 3px rgba(45,191,170,.25);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%,100% { box-shadow: 0 0 0 3px rgba(45,191,170,.25); }
  50%      { box-shadow: 0 0 0 6px rgba(45,191,170,.1); }
}

.sys-header > span {
  font-size: .8125rem;
  font-weight: 600;
  color: rgba(255,255,255,.7);
  flex: 1;
}

.sys-live {
  font-size: .65rem !important;
  font-weight: 800 !important;
  letter-spacing: .1em;
  color: var(--teal) !important;
  background: rgba(45,191,170,.12);
  border: 1px solid rgba(45,191,170,.3);
  border-radius: 4px;
  padding: .15rem .4rem;
}

.sys-title {
  font-size: .9375rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1rem;
}

.sys-pipeline {
  display: flex;
  flex-direction: column;
  gap: .625rem;
  min-height: 196px;
  margin-bottom: 1.25rem;
}

.sys-step {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .625rem .875rem;
  border-radius: 8px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.06);
  transition: background var(--fast);
}

.sys-step--done {
  background: rgba(45,191,170,.08);
  border-color: rgba(45,191,170,.2);
}

.sys-step--done .sys-icon { color: var(--teal); }
.sys-step--active { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.15); }
.sys-step--active .sys-icon { color: rgba(255,255,255,.7); animation: spin 1.5s linear infinite; }

@keyframes spin { to { transform: rotate(360deg); } }

.sys-icon {
  width: 16px; height: 16px;
  flex-shrink: 0;
  color: rgba(255,255,255,.3);
}

.sys-step > span {
  font-size: .8125rem;
  color: rgba(255,255,255,.75);
  flex: 1;
  font-weight: 500;
}

.sys-time {
  font-size: .7rem !important;
  color: rgba(255,255,255,.3) !important;
  font-variant-numeric: tabular-nums;
  font-weight: 400 !important;
  flex: none !important;
}

.sys-footer {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .75rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,.08);
}

.sys-metric {
  text-align: center;
  padding: .625rem .5rem;
  background: rgba(255,255,255,.04);
  border-radius: 8px;
}
.sys-metric strong {
  display: block;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: .25rem;
}
.sys-metric span { font-size: .7rem; color: rgba(255,255,255,.4); letter-spacing: .03em; }

/* ── Card fade transition ── */
.sys-card {
  transition: opacity .3s ease, transform .3s ease;
}
.sys-card.fading { opacity: 0; transform: translateY(8px) scale(0.98); }
.sys-card.entering { animation: cardEnter .4s var(--spring) forwards; }

@keyframes cardEnter {
  from { opacity: 0; transform: translateY(-8px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* ── Dot nav ── */
.sys-dots {
  display: flex;
  justify-content: center;
  gap: .5rem;
  margin-top: 1.25rem;
}
.sys-dot-btn {
  width: 6px; height: 6px;
  border-radius: 3px;
  background: rgba(255,255,255,.25);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: width .3s var(--spring), background .3s var(--spring);
}
.sys-dot-btn.active {
  width: 22px;
  background: var(--teal);
}
.sys-dot-btn:hover:not(.active) { background: rgba(255,255,255,.5); }

/* ── Floating badge ── */
.sys-badge {
  position: absolute;
  bottom: -16px;
  left: -20px;
  background: var(--white);
  border-radius: 12px;
  border-left: 3px solid var(--teal);
  padding: .75rem 1rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: .625rem;
  font-size: .8125rem;
}
.sys-badge__icon {
  width: 32px; height: 32px;
  background: var(--teal-soft);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--teal);
  flex-shrink: 0;
}
.sys-badge strong { display: block; font-size: .875rem; color: var(--dark); font-weight: 700; }
.sys-badge span   { font-size: .75rem; color: var(--muted); }

/* ========================
   Page Hero (interior pages)
   ======================== */
.page-hero {
  background-color: var(--dark);
  background-image:
    radial-gradient(ellipse at center, rgba(45,191,170,.12) 0%, transparent 55%),
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 80% 100%, 60px 60px, 60px 60px;
  background-position: 85% 50%, 0 0, 0 0;
  background-repeat: no-repeat, repeat, repeat;
  animation: heroWave 10s ease-in-out infinite;
  padding: calc(var(--nav-h) + 4rem) 1.5rem 5rem;
  overflow: hidden;
}
.page-hero__inner { max-width: var(--max); margin: 0 auto; }
.page-hero h1 { color: var(--white); margin-bottom: .875rem; }
.page-hero p  { color: rgba(255,255,255,.68); font-size: 1.125rem; max-width: 600px; line-height: 1.7; }

/* Optional hero illustration (only when a visual is present) */
.page-hero__inner:has(.page-hero__visual) {
  display: grid;
  grid-template-columns: 1fr minmax(0, 500px);
  gap: 2.25rem;
  align-items: center;
}
.page-hero__visual { position: relative; }
.page-hero__visual svg { transform: scale(1.2); transform-origin: center; }
.page-hero__visual img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 24px 48px rgba(0,0,0,.28));
}
@media (max-width: 1024px) {
  .page-hero__inner:has(.page-hero__visual) { grid-template-columns: 1fr; }
  .page-hero__visual { display: none; }
}

/* ========================
   Problem Section
   ======================== */
.problem-section { text-align: center; }

.problem-quote {
  font-size: clamp(1.3rem, 2.5vw, 1.75rem);
  font-weight: 800;
  color: var(--dark);
  line-height: 1.3;
  max-width: 720px;
  margin: 0 auto 1rem;
  letter-spacing: -.02em;
}
.problem-quote::before {
  content: '';
  display: block;
  width: 48px; height: 4px;
  background: var(--grad);
  margin: 0 auto 1.75rem;
  border-radius: 2px;
}

.problem-lead { max-width: 560px; margin: 0 auto 3.5rem; }

.pain-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  text-align: left;
}
.pain-cards--2col { grid-template-columns: repeat(2, 1fr); }

.pain-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.875rem;
  box-shadow: var(--shadow);
  transition: transform var(--normal) var(--spring), box-shadow var(--normal) var(--spring);
  position: relative;
  overflow: hidden;
}

.pain-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--normal) var(--spring);
}
.pain-card:hover::before { transform: scaleX(1); }
.pain-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.pain-card__icon {
  width: 42px; height: 42px;
  background: var(--teal-soft);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--teal);
  margin-bottom: 1.125rem;
  transition: transform var(--normal) var(--spring);
}
.pain-card:hover .pain-card__icon { transform: scale(1.1); }

.pain-card h3 { margin-bottom: .4rem; font-size: 1.0625rem; }
.pain-card p  { font-size: .9375rem; }

/* ========================
   How It Works
   ======================== */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  position: relative;
}

/* Connecting line */
.steps::before {
  content: '';
  position: absolute;
  top: 2.5rem;
  left: calc(33.33% - .75rem);
  right: calc(33.33% - .75rem);
  height: 2px;
  background: linear-gradient(90deg, var(--teal), rgba(45,191,170,.2));
  z-index: 0;
}

.step {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow);
  position: relative;
  z-index: 1;
  transition: transform var(--normal) var(--spring), box-shadow var(--normal) var(--spring), border-color var(--normal);
}
.step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(45,191,170,.35);
}

.step__num {
  font-size: 2.75rem;
  font-weight: 800;
  color: rgba(45,191,170,.15);
  line-height: 1;
  margin-bottom: 1rem;
  letter-spacing: -.04em;
}

.step__label {
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: .4rem;
  display: flex;
  align-items: center;
  gap: .375rem;
}
.step__label::before {
  content: '';
  display: block;
  width: 16px; height: 2px;
  background: var(--teal);
  border-radius: 2px;
  flex-shrink: 0;
}

.step h3 { margin-bottom: .5rem; }
.step p  { font-size: .9375rem; }

/* ========================
   Services Grid
   ======================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.objection-quote {
  font-style: italic;
  color: var(--muted);
  margin-bottom: .5rem;
  font-size: .95rem;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition:
    transform var(--normal) var(--spring),
    box-shadow var(--normal) var(--spring),
    border-color var(--normal);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--normal) var(--spring);
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(45,191,170,.25);
}

.service-card__icon {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, rgba(45,191,170,.15), rgba(30,58,76,.07));
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: var(--teal);
  margin-bottom: 1.25rem;
  transition: transform var(--normal) var(--spring);
}
.service-card:hover .service-card__icon { transform: scale(1.1) rotate(-3deg); }

.service-card h3 { margin-bottom: .45rem; }
.service-card p  { font-size: .9375rem; }

.card-link {
  display: inline-flex;
  align-items: center;
  gap: .375rem;
  margin-top: 1.125rem;
  font-size: .875rem;
  font-weight: 700;
  color: var(--teal);
  transition: gap var(--normal) var(--spring);
}
.card-link svg { width: 14px; height: 14px; transition: transform var(--normal) var(--spring); }
.card-link:hover { gap: .625rem; }
.card-link:hover svg { transform: translateX(2px); }

/* ========================
   Case Study Preview Cards
   ======================== */
.cs-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.cs-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: transform var(--normal) var(--spring), box-shadow var(--normal) var(--spring);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.cs-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }

.cs-card__tag {
  display: inline-block;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--teal);
  background: var(--teal-soft);
  border: 1px solid rgba(45,191,170,.2);
  border-radius: 20px;
  padding: .25rem .7rem;
  margin-bottom: 1rem;
  width: fit-content;
}

.cs-card h3 { margin-bottom: .6rem; }
.cs-card p  { font-size: .9375rem; flex: 1; }

.cs-card__result {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  font-size: .875rem;
  font-weight: 700;
  color: var(--dark);
  display: flex;
  gap: .375rem;
  align-items: flex-start;
}
.cs-card__result::before { content: '→'; color: var(--teal); flex-shrink: 0; }

.cs-card__more {
  display: inline-flex;
  align-items: center;
  gap: .375rem;
  margin-top: 1rem;
  font-size: .875rem;
  font-weight: 700;
  color: var(--teal);
  transition: gap var(--normal) var(--spring);
}
.cs-card__more:hover { gap: .625rem; }

/* ========================
   CTA Band
   ======================== */

/* ── Fee Comparison Table ── */
.fee-table {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  margin-top: 2.5rem;
  background: var(--white);
  box-shadow: 0 4px 24px rgba(30,58,76,.06);
}

.fee-table__header {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  padding: .75rem 1.5rem;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.fee-table__header span {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--muted);
}

.fee-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  align-items: center;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border);
  transition: background var(--fast);
}
.fee-row:last-child { border-bottom: none; }

.fee-row__name {
  font-size: .9375rem;
  font-weight: 600;
  color: var(--dark);
}

.fee-row__platform,
.fee-row__total {
  font-size: .9375rem;
  color: var(--muted);
  font-weight: 500;
}

.fee-row__total { font-weight: 700; color: var(--dark); }

.fee-row__note {
  font-size: .8rem;
  color: var(--muted);
  line-height: 1.4;
}

.fee-row--highlight {
  background: rgba(45,191,170,.05);
  border-left: 3px solid var(--teal);
}

.fee-row--highlight .fee-row__name { color: var(--teal); }
.fee-row--highlight .fee-row__total { color: var(--teal); font-size: 1.0625rem; }

.fee-badge {
  display: inline-block;
  background: var(--teal);
  color: #fff;
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .04em;
  padding: .2rem .6rem;
  border-radius: 20px;
  white-space: nowrap;
}

.fee-note {
  margin-top: 1rem;
  font-size: .8125rem;
  color: var(--muted);
  line-height: 1.6;
  padding: 1rem 1.25rem;
  background: var(--surface);
  border-radius: 8px;
  border-left: 3px solid var(--border);
}

.fee-tip {
  margin-top: .75rem;
  font-size: .875rem;
  color: var(--dark);
  font-weight: 500;
}

.fee-callout {
  margin-top: 1.75rem;
  padding: 1.25rem 1.5rem;
  background: rgba(45,191,170,.06);
  border-left: 3px solid var(--teal);
  border-radius: 8px;
}

.fee-callout__lead {
  margin: 0 0 .4rem;
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--dark);
}

.fee-callout__body {
  margin: 0;
  font-size: .9375rem;
  line-height: 1.6;
  color: var(--muted);
}

@media (max-width: 640px) {
  /* Keep the real table layout (like desktop), just 3 columns + tighter.
     The Note becomes a small line under each row instead of a 4th column. */
  .fee-table__header {
    grid-template-columns: 1.5fr 1fr 1fr;
    padding: .6rem .8rem;
  }
  .fee-table__header span { font-size: .625rem; letter-spacing: .04em; }
  .fee-table__header span:nth-child(2),
  .fee-table__header span:nth-child(3) { text-align: right; }
  .fee-table__header span:last-child { display: none; }

  .fee-row {
    grid-template-columns: 1.5fr 1fr 1fr;
    column-gap: .5rem;
    align-items: baseline;
    padding: .7rem .8rem;
  }
  .fee-row__name { font-size: .8125rem; }
  .fee-row__platform { font-size: .8125rem; text-align: right; }
  .fee-row__total { font-size: .875rem; text-align: right; }
  .fee-row--highlight .fee-row__total { font-size: .9375rem; }
  .fee-row__note {
    grid-column: 1 / -1;
    margin-top: .35rem;
    font-size: .6875rem;
    line-height: 1.4;
  }

  /* Processly highlight row: stack the badge under the name so columns stay aligned */
  .fee-row--highlight .fee-row__name {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: .3rem;
  }
  .fee-badge { font-size: .5625rem; padding: .15rem .4rem; }
}

/* ── Donation Form Product ── */
.donation-form-product { margin-top: 3rem; }

.dfp-card {
  display: flex;
  gap: 3rem;
  align-items: stretch;
}
.dfp-card > * { flex: 1; min-width: 0; }
.dfp-details-wrap {
  display: flex;
  flex-direction: column;
  padding-top: 12px;   /* match the embedded form's 12px top padding */
  padding-bottom: 20px;
}

.dfp-preview {
  display: flex;
  flex-direction: column;
}

.dfp-live-demo {
  position: relative;
  background: white;
}
.dfp-live-demo iframe {
  display: block;
  /* Render the form at 85% scale: lay out oversized, scale down from the top-left
     corner so the visual width is exactly 100%. The resize handler compensates the
     flow height (negative margin-bottom). Keep width and scale in sync: 100/0.85. */
  width: 117.6471%;
  transform: scale(0.85);
  transform-origin: top left;
  /* Starting height only; the form posts its real height on load. Keep this BELOW
     the form's natural height: the embed's grow-only sizing treats the iframe
     viewport as a floor, so a too-tall start leaves permanent white space. */
  height: 520px;
  border: none;
  visibility: hidden;            /* preloaded in the background, but kept hidden */
}
.dfp-live-demo.is-live iframe { visibility: visible; }  /* revealed on launch */

/* Click-to-launch cover over the live demo form, makes it obvious the
   embedded form is interactive, without overlapping the form's own UI. */
.dfp-launch {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;   /* keep the prompt near the top of the panel, not centered */
  gap: .8rem;
  text-align: center;
  padding: 2.25rem 1.75rem;
  border: none;
  cursor: pointer;
  color: #fff;
  font-family: inherit;
  background:
    radial-gradient(120% 120% at 50% 0%, rgba(45,191,170,.22), transparent 60%),
    linear-gradient(160deg, #244a5e 0%, #1e3a4c 60%, #162c39 100%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.06);
  transition: opacity .45s ease;
}
.dfp-launch::after {                 /* faint grid texture */
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 34px 34px;
  pointer-events: none;
}
.dfp-launch > * { position: relative; }   /* sit above the grain */
/* Keep the CTA pinned in view while the cover is on screen, so the "try it"
   prompt stays visible as the visitor scrolls (most noticeable on shorter
   viewports where the cover is taller than the screen). */
.dfp-launch__inner {
  position: sticky;
  top: calc(var(--nav-h) + 1rem);   /* pin the prompt near the top, just below the fixed nav */
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .8rem;
  width: 100%;
}

.dfp-launch__badge {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: rgba(255,255,255,.72);
  padding: .35rem .7rem;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
}
.dfp-launch__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 0 rgba(45,191,170,.6);
  animation: dfpTryPulse 1.8s ease-out infinite;
}
.dfp-launch__icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.12);
  color: #fff;
  transition: transform .25s ease, background .25s ease;
}
.dfp-launch__title {
  font-size: 1.375rem;
  font-weight: 800;
  letter-spacing: -.01em;
}
.dfp-launch__sub {
  font-size: .9375rem;
  color: rgba(255,255,255,.66);
  line-height: 1.55;
  max-width: 32ch;
}
.dfp-launch__cta {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-top: .55rem;
  background: var(--teal);
  color: #0f2a23;
  font-weight: 700;
  font-size: .9375rem;
  padding: .7rem 1.3rem;
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(45,191,170,.32);
  transition: transform .2s ease, box-shadow .2s ease;
}
.dfp-launch:hover .dfp-launch__icon { transform: scale(1.06); background: rgba(255,255,255,.18); }
.dfp-launch:hover .dfp-launch__cta  { transform: translateY(-1px); box-shadow: 0 14px 30px rgba(45,191,170,.42); }
.dfp-launch:focus-visible { outline: 3px solid rgba(45,191,170,.6); outline-offset: 3px; }
.dfp-launch--gone { opacity: 0; pointer-events: none; }

@keyframes dfpTryPulse {
  0%   { box-shadow: 0 0 0 0 rgba(45,191,170,.55); }
  70%  { box-shadow: 0 0 0 9px rgba(45,191,170,0); }
  100% { box-shadow: 0 0 0 0 rgba(45,191,170,0); }
}
@media (prefers-reduced-motion: reduce) {
  .dfp-launch__dot { animation: none; }
  .dfp-launch { transition: none; }
}

/* ── Form photo carousel ── */
.dfp-carousel {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.dfp-carousel__track {
  position: relative;
  flex: 1;
  min-height: 420px;
}
.dfp-carousel__slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center top;
  opacity: 0;
  transition: opacity .35s ease;
  padding: 1.25rem 1.5rem 2.5rem;
}
.dfp-carousel__slide.active { opacity: 1; }

.dfp-carousel__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--dark);
  box-shadow: var(--shadow);
  transition: background var(--fast), color var(--fast), border-color var(--fast);
  z-index: 2;
}
.dfp-carousel__btn:hover { background: var(--teal); border-color: var(--teal); color: #fff; }
.dfp-carousel__btn svg { width: 16px; height: 16px; }
.dfp-carousel__btn--prev { left: .75rem; }
.dfp-carousel__btn--next { right: .75rem; }

.dfp-carousel__dots {
  position: absolute;
  bottom: .875rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: .4rem;
  z-index: 2;
}
.dfp-carousel__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--border);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background var(--fast), transform var(--fast);
}
.dfp-carousel__dot.active { background: var(--teal); transform: scale(1.25); }

.dfp-mock {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.5rem;
  width: 100%;
  max-width: 280px;
  box-shadow: 0 2px 12px rgba(30,58,76,.08);
}

.dfp-mock__org {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1rem;
}

.dfp-mock__label {
  font-size: .8125rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: .625rem;
}

.dfp-mock__presets {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .375rem;
  margin-bottom: .875rem;
}

.dfp-preset {
  display: block;
  text-align: center;
  padding: .375rem 0;
  border: 1.5px solid var(--border);
  border-radius: 6px;
  font-size: .8rem;
  font-weight: 600;
  color: var(--dark);
  cursor: default;
}

.dfp-preset--active {
  border-color: var(--teal);
  color: var(--teal);
  background: rgba(45,191,170,.06);
}

.dfp-mock__toggle {
  display: flex;
  gap: .375rem;
  margin-bottom: .875rem;
}

.dfp-toggle {
  flex: 1;
  text-align: center;
  padding: .3rem 0;
  border-radius: 6px;
  font-size: .75rem;
  font-weight: 600;
  color: var(--muted);
  background: var(--surface);
  cursor: default;
}

.dfp-toggle--active {
  background: var(--dark);
  color: #fff;
}

.dfp-mock__btn {
  background: var(--grad);
  color: #fff;
  text-align: center;
  padding: .625rem;
  border-radius: 7px;
  font-size: .875rem;
  font-weight: 700;
  margin-bottom: .5rem;
}

.dfp-mock__fee {
  font-size: .6875rem;
  color: var(--muted);
  text-align: center;
}

.dfp-details {
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
  gap: .5rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px 20px 16px;
  box-shadow: 0 4px 24px rgba(30,58,76,.06);
}

.dfp-cta {
  border-top: 1px solid var(--border);
  padding-top: 1.25rem;
}
.dfp-cta__heading { font-weight: 700; color: var(--dark); margin-bottom: .35rem; }
.dfp-cta__sub { font-size: .9375rem; color: var(--muted); margin-bottom: 1rem; }

.dfp-feature {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.dfp-feature__icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(45,191,170,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  flex-shrink: 0;
}

.dfp-feature strong { display: block; font-size: .9375rem; font-weight: 700; color: var(--dark); margin-bottom: .2rem; }
.dfp-feature span { font-size: .875rem; color: var(--muted); line-height: 1.55; }

.dfp-pricing {
  /* center the pricing box in the space between the features and the CTA
     (auto top+bottom margins split the free space evenly on desktop; they
     collapse to 0 in the stacked mobile layout) */
  margin-top: auto;
  margin-bottom: auto;
  padding: 1.25rem;
  background: var(--surface);
  border-radius: 10px;
  border: 1px solid var(--border);
}

.dfp-pricing__label { font-size: .7rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); margin-bottom: .25rem; }
.dfp-pricing__value { font-size: 1.5rem; font-weight: 800; color: var(--teal); margin-bottom: .5rem; }
.dfp-pricing__note { font-size: .8125rem; color: var(--muted); line-height: 1.55; }

@keyframes ctaNudge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
@media (max-width: 768px) {
  .dfp-card { flex-direction: column; gap: 2rem; padding: 0; }
  .dfp-details-wrap { padding-top: 0; }
  /* Shorter placeholder so the cover isn't a huge empty panel before the form
     loads; the form resizes to its real height after it's launched. */
  .dfp-live-demo iframe { height: 460px; }
  /* Stacked layout: cover the full form area; the sticky inner keeps the CTA
     centered in view as the visitor scrolls. */
  .dfp-launch { top: 0; bottom: 0; }
  .dfp-launch__cta { animation: ctaNudge 1.8s ease-in-out infinite; }
}

/* Let wide content (donation form, fee table) use more of the viewport on phones,
   while keeping the centered section header text comfortably inset.
   Doubled-up class selector to win over the `.section` padding override below. */
@media (max-width: 600px) {
  .section.section--tight-mobile { padding-left: .5rem; padding-right: .5rem; }
  .section--tight-mobile > .container { padding-left: .5rem; padding-right: .5rem; }
  .section--tight-mobile .section-header { padding-left: .75rem; padding-right: .75rem; }
}

.cta-band {
  background: linear-gradient(135deg, #2dbfaa 0%, #1e3a4c 50%, #2dbfaa 100%);
  background-size: 200% 200%;
  animation: gradientShift 8s ease infinite;
  padding: 5.5rem 1.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}
.cta-band__inner { max-width: 640px; margin: 0 auto; position: relative; }
.cta-band h2 { color: var(--white); margin-bottom: .875rem; }
.cta-band p  { color: rgba(255,255,255,.78); font-size: 1.0625rem; margin-bottom: 2rem; }

/* ========================
   Services Page, Buckets
   ======================== */
.bucket { padding: 5.5rem 1.5rem; scroll-margin-top: 90px; }
.bucket:nth-child(even) {
  background: var(--surface);
  background-image: radial-gradient(circle, rgba(30,58,76,.06) 1px, transparent 1px);
  background-size: 28px 28px;
}
.bucket--surface {
  background: var(--surface) !important;
  background-image: radial-gradient(circle, rgba(30,58,76,.06) 1px, transparent 1px) !important;
  background-size: 28px 28px !important;
  position: relative;
}
.bucket--surface::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 100px;
  background: linear-gradient(to bottom, rgba(45,191,170,.05), transparent);
  pointer-events: none;
}
.bucket--dark {
  background-color: var(--dark) !important;
  background-image:
    radial-gradient(ellipse at 100% 0%, rgba(45,191,170,.15) 0%, transparent 50%),
    radial-gradient(ellipse at 0% 100%, rgba(45,191,170,.08) 0%, transparent 45%),
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px) !important;
  background-size: auto, auto, 60px 60px, 60px 60px !important;
}
.bucket--dark h2 { color: var(--white); text-shadow: 0 0 40px rgba(45,191,170,.25); }
.bucket--dark p, .bucket--dark .bucket__content > p { color: rgba(255,255,255,.65) !important; }
.bucket--dark .bucket-list li { color: rgba(255,255,255,.8); }
.bucket--dark .v-stat { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.08); }
.bucket--dark .v-stat strong { color: var(--white); }
.bucket--dark .v-stat span { color: rgba(255,255,255,.6); }
.bucket--dark .section-label { color: var(--teal); }
.bucket--dark .badge { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.12); color: rgba(255,255,255,.7); }

.bucket__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.bucket:nth-child(even) .bucket__inner { direction: rtl; }
.bucket:nth-child(even) .bucket__content,
.bucket:nth-child(even) .bucket__visual  { direction: ltr; }

.bucket__content .section-label { margin-bottom: .75rem; }
.bucket__content h2  { margin-bottom: 1rem; }
.bucket__content > p { margin-bottom: 2rem; color: var(--muted); font-size: 1rem; }

.bucket-list { display: flex; flex-direction: column; gap: .75rem; margin-bottom: 2rem; }
.bucket-list li {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  font-size: .9375rem;
  color: var(--text);
}
.bucket-list li .check { color: var(--teal); flex-shrink: 0; margin-top: 1px; }

.tool-badges { display: flex; flex-wrap: wrap; gap: .5rem; }
.badge {
  font-size: .75rem;
  font-weight: 600;
  color: var(--dark);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: .3rem .7rem;
  transition: border-color var(--fast), color var(--fast);
}
.badge:hover { border-color: var(--teal); color: var(--teal); }
.bucket:nth-child(even) .badge { background: var(--white); }

.bucket__visual {
  background: linear-gradient(145deg, rgba(45,191,170,.06), rgba(30,58,76,.04));
  border: 1px solid rgba(45,191,170,.15);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.v-stat {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--white);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: transform var(--normal) var(--spring), box-shadow var(--normal) var(--spring);
}
.v-stat:hover { transform: translateX(4px); box-shadow: var(--shadow-md); }
.v-stat__icon {
  width: 40px; height: 40px;
  background: var(--teal-soft);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--teal);
  flex-shrink: 0;
}
.v-stat strong { display: block; font-size: .9375rem; font-weight: 700; color: var(--dark); }
.v-stat span   { font-size: .8125rem; color: var(--muted); }

/* ========================
   Case Studies Full Page
   ======================== */
.cs-full { padding: 5.5rem 1.5rem; border-bottom: 1px solid var(--border); scroll-margin-top: 90px; }
.cs-full:nth-child(even) {
  background: var(--surface);
  background-image: radial-gradient(circle, rgba(30,58,76,.06) 1px, transparent 1px);
  background-size: 28px 28px;
}
.cs-full:last-child { border-bottom: none; }
.cs-full--surface {
  background: var(--surface) !important;
  background-image: radial-gradient(circle, rgba(30,58,76,.06) 1px, transparent 1px) !important;
  background-size: 28px 28px !important;
  position: relative;
}
.cs-full--surface::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 100px;
  background: linear-gradient(to bottom, rgba(45,191,170,.05), transparent);
  pointer-events: none;
}
.cs-full--dark {
  background-color: var(--dark) !important;
  background-image:
    radial-gradient(ellipse at 100% 0%, rgba(45,191,170,.15) 0%, transparent 50%),
    radial-gradient(ellipse at 0% 100%, rgba(45,191,170,.08) 0%, transparent 45%),
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px) !important;
  background-size: auto, auto, 60px 60px, 60px 60px !important;
  border-bottom-color: rgba(255,255,255,.06) !important;
}
.cs-full--dark h2, .cs-full--dark h3 { color: var(--white); }
.cs-full--dark h2 { text-shadow: 0 0 40px rgba(45,191,170,.25); }
.cs-full--dark p, .cs-full--dark .cs-section p { color: rgba(255,255,255,.72); }
.cs-full--dark strong { color: var(--white); }
.cs-full--dark .cs-full__tag { background: rgba(45,191,170,.15); color: var(--teal); border-color: rgba(45,191,170,.25); }
.cs-full--dark .result-box { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.1); }
.cs-full--dark .result-box__label { color: rgba(255,255,255,.45); }
.cs-full--dark .result-box p { color: rgba(255,255,255,.85); }
.cs-full--dark .badge { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.12); color: rgba(255,255,255,.7); }

.cs-full__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 5rem;
  align-items: start;
}

.cs-full__meta { position: sticky; top: calc(var(--nav-h) + 2rem); }

.cs-full__tag {
  display: inline-block;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--teal);
  background: var(--teal-soft);
  border: 1px solid rgba(45,191,170,.2);
  border-radius: 20px;
  padding: .3rem .8rem;
  margin-bottom: 1rem;
}
.cs-full__meta h2 { font-size: 1.75rem; margin-bottom: .875rem; }
.cs-full__meta > p { font-size: .9375rem; margin-bottom: 2rem; }

.result-box {
  background: var(--grad);
  border-radius: var(--radius);
  padding: 1.5rem;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.result-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 24px 24px;
}
.result-box__label { font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; opacity: .7; margin-bottom: .5rem; position: relative; }
.result-box p { color: var(--white); font-size: 1rem; font-weight: 700; position: relative; }

.cs-full__body { display: flex; flex-direction: column; gap: 2rem; }
.cs-section__label { font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--teal); margin-bottom: .625rem; }
.cs-section h3 { font-size: 1.25rem; margin-bottom: .625rem; }
.cs-section p  { font-size: 1rem; color: var(--text); line-height: 1.75; }
.cs-section p + p { margin-top: .875rem; }
.stack-badges { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .875rem; }

/* ========================
   About Page
   ======================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 5rem;
  align-items: center;
  max-width: var(--max);
  margin: 0 auto;
}

.about-photo {
  background: linear-gradient(160deg, rgba(45,191,170,.18) 0%, rgba(30,58,76,.55) 100%);
  border: 1px solid rgba(45,191,170,.2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex; align-items: flex-end; justify-content: center;
}
.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.about-photo-stack {
  display: flex;
  flex-direction: column;
  gap: .625rem;
}
.about-photo-stack__main {
  background: linear-gradient(160deg, rgba(45,191,170,.18) 0%, rgba(30,58,76,.55) 100%);
  border: 1px solid rgba(45,191,170,.2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3/4;
  position: relative;
}
.about-photo-stack__main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* Desktop: let the founder portrait stretch to the full height of the bio
   column so there's no empty space beside the text. Mobile (≤900px, single
   column) keeps the balanced 3:4 crop from the base rule above. */
@media (min-width: 901px) {
  .about-grid { align-items: stretch; }
  .about-photo-stack { height: 100%; }
  .about-photo-stack__main { aspect-ratio: auto; flex: 1; min-height: 0; }
}

.about-photo-caption {
  position: absolute;
  top: 0;
  left: 0;
  display: inline-flex;
  flex-direction: row;
  align-items: baseline;
  gap: 0;
  width: fit-content;
  max-width: calc(100% - .5rem);
  white-space: nowrap;
  /* frosted panel flush in the top-left corner; the name and title sit on a
     single line separated by a dot, on mobile and desktop alike. Photo
     overflow:hidden rounds the outer corner */
  padding: 1.1rem 1.4rem;
  border-right: 1px solid rgba(255,255,255,.1);
  border-bottom: 1px solid rgba(255,255,255,.1);
  border-radius: 0 0 12px 0;
  background: rgba(15,30,40,.38);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: #fff;
  pointer-events: none;
  text-shadow: 0 1px 3px rgba(8,20,28,.4);
}
.about-photo-caption strong { font-weight: 700; color: #fff; font-size: 1.05rem; letter-spacing: -.01em; line-height: 1.25; }
.about-photo-caption span    { color: rgba(255,255,255,.85); font-size: .82rem; }
.about-photo-caption span::before {
  content: "·";
  margin: 0 .5rem;
  color: rgba(255,255,255,.5);
  font-weight: 400;
}

/* Desktop: a touch more horizontal padding on the wider portrait. */
@media (min-width: 901px) {
  .about-photo-caption { padding: 1.1rem 1.6rem; }
}

.about-photo__icon {
  width: 64px; height: 64px;
  background: var(--teal-soft);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--teal);
}

.about-content .section-label { margin-bottom: .75rem; }
.about-content h2 { margin-bottom: 1.125rem; }
.about-content p  { margin-bottom: 1rem; font-size: 1rem; }

.differentiators { display: flex; flex-direction: column; gap: 1.25rem; margin-top: 2.25rem; }
.diff { display: flex; gap: 1rem; align-items: flex-start; }
.diff__icon {
  width: 40px; height: 40px;
  min-width: 40px;
  background: var(--teal-soft);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--teal);
  transition: transform var(--normal) var(--spring);
}
.diff:hover .diff__icon { transform: scale(1.1); }
.diff strong { display: block; font-size: .9375rem; font-weight: 700; color: var(--dark); margin-bottom: .2rem; }
.diff span   { font-size: .875rem; color: var(--muted); }

.philosophy-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.phil-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.875rem;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  transition: transform var(--normal) var(--spring), box-shadow var(--normal) var(--spring);
}
.phil-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--normal) var(--spring);
}
.phil-card:hover::before { transform: scaleX(1); }
.phil-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.phil-card h3 { font-size: 1rem; margin-bottom: .5rem; }
.phil-card p  { font-size: .9375rem; }

/* ========================
   Contact Page
   ======================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 5rem;
  max-width: var(--max);
  margin: 0 auto;
}

.contact-info h2     { margin-bottom: .875rem; }
.contact-info > p    { margin-bottom: 2.25rem; font-size: 1rem; }

.contact-detail {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.contact-detail__icon {
  width: 42px; height: 42px;
  background: var(--teal-soft);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--teal);
  flex-shrink: 0;
}
.contact-detail strong { display: block; font-size: .8125rem; font-weight: 700; color: var(--dark); }
.contact-detail span   { font-size: .9375rem; color: var(--muted); }

.contact-expect {
  margin-top: 2.5rem;
  padding: 1.5rem;
  background: var(--surface);
  border-radius: var(--radius);
  border-left: 3px solid var(--teal);
}
.contact-expect h4 { font-size: .875rem; font-weight: 700; color: var(--dark); margin-bottom: .875rem; }
.contact-expect ul { display: flex; flex-direction: column; gap: .5rem; }
.contact-expect li {
  font-size: .875rem; color: var(--muted);
  display: flex; gap: .625rem; align-items: flex-start;
}
.contact-expect li::before { content: '✓'; color: var(--teal); font-weight: 700; flex-shrink: 0; }

.contact-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
}

.form-group { margin-bottom: 1.25rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

label {
  display: block;
  font-size: .875rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: .4rem;
}

input, textarea {
  width: 100%;
  padding: .8125rem 1rem;
  font-family: var(--font);
  font-size: .9375rem;
  color: var(--text);
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 8px;
  transition: border-color var(--fast), box-shadow var(--fast);
  outline: none;
}
input:focus, textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(45,191,170,.12);
}
input:hover:not(:focus), textarea:hover:not(:focus) { border-color: #b5ced8; }
::placeholder { color: #aac4cf; }

textarea { resize: vertical; min-height: 140px; line-height: 1.65; }
.form-submit { width: 100%; justify-content: center; font-size: 1rem; padding: 1rem; margin-top: .25rem; }
.form-note { font-size: .8125rem; color: var(--muted); text-align: center; margin-top: 1rem; }

/* ========================
   Form Validation & Feedback
   ======================== */
.form-group--error input,
.form-group--error textarea {
  border-color: #e05252;
  box-shadow: 0 0 0 3px rgba(224,82,82,.1);
}
.form-error-msg {
  font-size: .8125rem;
  color: #c94141;
  font-weight: 500;
  margin-top: .375rem;
  display: none;
}
.form-group--error .form-error-msg { display: block; }

.form-submit-error {
  display: none;
  font-size: .875rem;
  color: #c94141;
  text-align: center;
  margin-top: .75rem;
  padding: .75rem 1rem;
  background: rgba(224,82,82,.06);
  border: 1px solid rgba(224,82,82,.15);
  border-radius: 8px;
}
.form-submit-error.visible { display: block; }

.btn-spinner {
  width: 16px; height: 16px;
  border: 2px solid rgba(255,255,255,.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .7s linear infinite;
  display: none;
}
.btn--loading .btn-spinner { display: block; }
.btn--loading .btn-label   { display: none; }
.btn--loading { opacity: .8; pointer-events: none; }

.form-success-banner {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 380px;
  gap: 1.25rem;
}
.form-success-banner.visible { display: flex; }
.form-success-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: rgba(45,191,170,.1);
  border: 2px solid rgba(45,191,170,.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
}
.form-success-banner h3 { font-size: 1.5rem; color: var(--dark); margin: 0; }
.form-success-banner p  { font-size: 1.0625rem; max-width: 340px; margin: 0; }
.form-success-banner .card-link { margin-top: .5rem; }

/* ========================
   Testimonials
   ======================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 2rem 1.75rem;
  box-shadow: var(--shadow);
  position: relative;
  transition: box-shadow var(--normal) var(--spring), transform var(--normal) var(--spring);
}
.testimonial-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: .4rem; right: 1.5rem;
  font-size: 4rem;
  line-height: 1;
  color: var(--teal);
  opacity: .12;
  font-weight: 800;
  pointer-events: none;
}
.testimonial-card blockquote {
  font-size: 1rem;
  color: var(--text);
  line-height: 1.75;
  margin-bottom: 1.5rem;
  /* clear the decorative quote mark so a long quote never runs under it */
  padding-top: 1.5rem;
  font-style: italic;
  font-weight: 500;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: .875rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}
.testimonial-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9375rem;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
}
.testimonial-author-info strong { display: block; font-size: .9rem; font-weight: 700; color: var(--dark); }
.testimonial-author-info span   { font-size: .8125rem; color: var(--muted); }
.testimonials-grid .fade-up:nth-child(2) { transition-delay: .1s; }
.testimonials-grid--single { grid-template-columns: minmax(0, 640px); justify-content: center; }

/* ========================
   Footer
   ======================== */
.footer {
  background: var(--dark);
  padding: 5rem 1.5rem 2.5rem;
  border-top: 2px solid var(--teal);
}
.footer__inner { max-width: var(--max); margin: 0 auto; }

.footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
  margin-bottom: 2rem;
}

.footer__logo { height: 42px; margin-bottom: 1.25rem; opacity: .95; }
.footer__tagline { color: rgba(255,255,255,.5); font-size: .9375rem; max-width: 240px; line-height: 1.6; }

.footer__col h4 {
  color: rgba(255,255,255,.7);
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  padding-bottom: .5rem;
  border-bottom: 1px solid rgba(45,191,170,.35);
  display: inline-block;
}
.footer__col ul  { display: flex; flex-direction: column; gap: .875rem; }
.footer__col li a { color: rgba(255,255,255,.55); font-size: .9375rem; transition: color var(--fast); }
.footer__col li a:hover { color: var(--teal); }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: .5rem 1.25rem;
  font-size: .8125rem;
  color: rgba(255,255,255,.25);
}
.footer__legal { display: flex; gap: 1.25rem; }
.footer__bottom a { color: rgba(255,255,255,.4); transition: color var(--fast); }
.footer__bottom a:hover { color: var(--teal); }
@media (max-width: 560px) {
  .footer__bottom { flex-direction: column; text-align: center; justify-content: center; }
}

/* ========================
   Legal pages (privacy / terms)
   ======================== */
.legal { max-width: 760px; margin: 0 auto; }
.legal__meta {
  color: var(--muted);
  font-size: .875rem;
  padding-bottom: 1.5rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}
.legal h2 {
  font-size: 1.3125rem;
  color: var(--dark);
  margin: 2.5rem 0 .75rem;
}
.legal p { color: var(--muted); line-height: 1.75; margin-bottom: 1rem; }
.legal ul { margin: 0 0 1.25rem 1.25rem; display: flex; flex-direction: column; gap: .5rem; }
.legal li { color: var(--muted); line-height: 1.65; }
.legal a { color: var(--teal); text-decoration: underline; text-underline-offset: 2px; }
.legal strong { color: var(--dark); font-weight: 700; }

/* ========================
   Scroll Animations
   ======================== */
.fade-up {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity var(--slow) var(--spring),
    transform var(--slow) var(--spring);
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* Grid stagger */
.pain-cards    .fade-up:nth-child(2),
.services-grid .fade-up:nth-child(2),
.cs-cards      .fade-up:nth-child(2),
.steps         .fade-up:nth-child(2),
.philosophy-cards .fade-up:nth-child(2) { transition-delay: .08s; }

.pain-cards    .fade-up:nth-child(3),
.services-grid .fade-up:nth-child(3),
.cs-cards      .fade-up:nth-child(3),
.steps         .fade-up:nth-child(3),
.philosophy-cards .fade-up:nth-child(3) { transition-delay: .16s; }

.services-grid .fade-up:nth-child(4)    { transition-delay: .08s; }
.services-grid .fade-up:nth-child(5)    { transition-delay: .16s; }
.services-grid .fade-up:nth-child(6)    { transition-delay: .24s; }
.philosophy-cards .fade-up:nth-child(4) { transition-delay: .1s; }
.philosophy-cards .fade-up:nth-child(5) { transition-delay: .18s; }
.philosophy-cards .fade-up:nth-child(6) { transition-delay: .26s; }

/* ========================
   Responsive
   ======================== */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; gap: 3rem; }
  .hero__visual { display: none; }
  .hero { min-height: auto; padding-bottom: 5rem; }
}

@media (max-width: 900px) {
  .nav__links, .nav__cta { display: none; }
  .nav__hamburger { display: flex; }
  .nav__brand { flex-shrink: 0; }
  .nav__logo { height: 44px; width: auto; max-width: 180px; }

  .pain-cards,
  .services-grid,
  .cs-cards,
  .steps,
  .philosophy-cards { grid-template-columns: 1fr 1fr; }

  .bucket__inner,
  .about-grid,
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .bucket:nth-child(even) .bucket__inner { direction: ltr; }

  .cs-full__inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .cs-full__meta  { position: static; }

  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__bottom { flex-direction: column; gap: .5rem; text-align: center; }
  .footer__top > div:first-child { grid-column: 1 / -1; }

  .steps::before { display: none; }
}

@media (max-width: 600px) {
  .section { padding: 4rem 1.25rem; }
  .bucket  { padding: 4rem 1.25rem; }

  .pain-cards,
  .services-grid,
  .cs-cards,
  .steps,
  .philosophy-cards { grid-template-columns: 1fr; }

  .form-row { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; gap: 2rem; }
  .footer__top > div:first-child { grid-column: 1; }
  .hero__proof { flex-wrap: wrap; gap: 1.25rem; }
  .testimonials-grid { grid-template-columns: 1fr; }

  /* Tighten internal padding of visual containers so content isn't squeezed */
  .bucket__visual { padding: 1rem; }
  .cs-full { padding: 3.5rem 1rem; }
  .result-box { padding: 1rem; }
}

/* ========================
   Tool strip ("the stack")
   ======================== */
.tool-strip { padding-top: 3.75rem; padding-bottom: 3.75rem; border-top: 1px solid var(--border); }
.tool-strip__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.5rem;
  text-align: center;
}
.tool-strip__lead {
  margin: .5rem auto 2.5rem;
  max-width: 46ch;
  color: var(--muted);
  font-size: 1.05rem;
}
.tool-strip__logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2rem 2.75rem;
  max-width: 880px;
  margin: 0 auto;
}
.tool-strip__logo {
  display: inline-flex;
  align-items: center;
  color: var(--dark);
  opacity: .48;
  transition: opacity var(--fast) var(--ease-out), color var(--fast) var(--ease-out);
}
.tool-strip__logo svg { height: 30px; width: auto; display: block; }
.tool-strip__logo:hover { opacity: 1; color: var(--teal); }
.tool-strip__logo--word {
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: -.02em;
  line-height: 1;
}
.tool-strip__logo--word .tool-strip__tld { opacity: .55; font-weight: 600; }
@media (max-width: 600px) {
  .tool-strip__logos { gap: 1.75rem 2.25rem; }
  .tool-strip__logo svg { height: 26px; }
  .tool-strip__logo--word { font-size: 1.3rem; }
}

/* ========================
   Stripe screenshots carousel
   ======================== */
.stripe-shots { max-width: 760px; margin: 3rem auto 0; }
.stripe-shots__frame {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.stripe-shots__bar {
  display: flex;
  gap: 6px;
  align-items: center;
  padding: 10px 14px;
  background: #f6f8fa;
  border-bottom: 1px solid var(--border);
}
.stripe-shots__bar span { width: 10px; height: 10px; border-radius: 50%; background: #d6dde2; }
.stripe-shots__stage { position: relative; aspect-ratio: 3 / 2; background: var(--white); }
.stripe-shots__slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transition: opacity .6s ease;
}
.stripe-shots__slide.active { opacity: 1; }
.stripe-shots__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: rgba(255,255,255,.9);
  color: var(--dark);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(30,58,76,.12);
  transition: background .2s, color .2s, transform .2s;
  z-index: 2;
}
.stripe-shots__arrow:hover { background: #fff; color: var(--teal); transform: translateY(-50%) scale(1.08); }
.stripe-shots__arrow--prev { left: 12px; }
.stripe-shots__arrow--next { right: 12px; }
.stripe-shots__dots { display: flex; justify-content: center; gap: .5rem; margin-top: 1rem; }
.stripe-shots__dot {
  width: 8px; height: 8px; border-radius: 50%;
  border: none; background: var(--border); cursor: pointer; padding: 0;
  transition: background .2s, transform .2s;
}
.stripe-shots__dot.active { background: var(--teal); transform: scale(1.25); }
.stripe-shots__caption { text-align: center; color: var(--muted); font-size: .9rem; margin-top: .85rem; }

/* ========================
   Accessibility
   ======================== */
/* Visible keyboard focus for all interactive elements */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid rgba(45,191,170,.75);
  outline-offset: 2px;
  border-radius: 3px;
}
/* The <main> wrapper is focused via the skip link; don't show a ring on it */
#main:focus,
#main:focus-visible { outline: none; }

/* Skip-to-content link, hidden until keyboard-focused */
.skip-link {
  position: fixed;
  left: .5rem; top: .5rem;
  z-index: 1000;
  background: var(--dark);
  color: #fff;
  padding: .75rem 1.25rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transform: translateY(-200%);
  transition: transform .15s ease;
}
.skip-link:focus { transform: translateY(0); }

/* Screen-reader-only utility */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ========================
   Reduced Motion
   ======================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  html { scroll-behavior: auto; }
  .hero, .page-hero, .cta-band { animation: none !important; }
  .sys-dot, .sys-step--active .sys-icon, .btn::after { animation: none !important; }
  .fade-up { opacity: 1 !important; transform: none !important; }
}

/* ========================
   Blog
   ======================== */
.article { max-width: 760px; margin: 0 auto; }
.article__hero {
  width: 100%;
  height: auto;
  border-radius: 12px;
  margin-bottom: 1.75rem;
  display: block;
}
.article__meta {
  color: var(--muted);
  font-size: .875rem;
  padding-bottom: 1.25rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}
.article > p { color: var(--muted); line-height: 1.75; font-size: 1.0625rem; margin-bottom: 1.15rem; }
.article h2 { font-size: 1.5rem; color: var(--dark); margin: 2.75rem 0 1rem; }
.article h3 { font-size: 1.1875rem; margin: 1.75rem 0 .6rem; }
.article a { color: var(--teal); text-decoration: underline; text-underline-offset: 2px; }
.article strong { color: var(--dark); font-weight: 700; }
.article em { font-style: italic; }

.article ul, .article ol { margin: 0 0 1.25rem; padding: 0; display: flex; flex-direction: column; gap: .6rem; }
.article ol { counter-reset: blog-item; }
.article li { color: var(--muted); line-height: 1.7; position: relative; padding-left: 1.7rem; }
.article ul li::before { content: "\2022"; color: var(--teal); font-weight: 700; position: absolute; left: .4rem; }
.article ul.arrows li::before { content: "\2192"; left: .15rem; }
.article ol li { counter-increment: blog-item; }
.article ol li::before { content: counter(blog-item); color: var(--teal); font-weight: 800; position: absolute; left: 0; }

.article table { width: 100%; border-collapse: collapse; margin: 1.25rem 0 1.75rem; font-size: .9375rem; }
.article th, .article td { text-align: left; padding: .75rem .85rem; border-bottom: 1px solid var(--border); vertical-align: top; }
.article thead th { color: var(--dark); font-weight: 700; border-bottom: 2px solid var(--border); background: var(--surface); }
.article tbody tr:last-child td { border-bottom: none; }

.article blockquote {
  margin: 1.5rem 0;
  padding: 1rem 1.25rem;
  background: var(--surface);
  border-left: 3px solid var(--teal);
  border-radius: 8px;
  color: var(--muted);
  line-height: 1.7;
}
.article__cta {
  margin-top: 2.5rem;
  padding: 1.75rem;
  background: rgba(45,191,170,.06);
  border: 1px solid rgba(45,191,170,.2);
  border-radius: 12px;
  text-align: center;
}
.article__cta p { color: var(--dark); font-size: 1.0625rem; margin-bottom: 1.1rem; }
/* Buttons inside article prose must keep their own colors, not the .article a link style */
.article .btn { text-decoration: none; }
.article .btn-primary { color: var(--white); }
.article .btn-primary:hover { color: var(--white); }

.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1.75rem; }
.blog-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition: transform var(--fast) var(--spring), box-shadow var(--fast) var(--spring);
}
.blog-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(30,58,76,.12); }
.blog-card img { width: 100%; aspect-ratio: 1200 / 630; object-fit: cover; display: block; }
.blog-card__body { padding: 1.5rem; display: flex; flex-direction: column; gap: .55rem; flex: 1; }
.blog-card__tag { font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--teal); }
.blog-card__body h3 { font-size: 1.1875rem; color: var(--dark); line-height: 1.3; }
.blog-card__body p { color: var(--muted); font-size: .9375rem; line-height: 1.6; flex: 1; }
.blog-card__more { color: var(--teal); font-weight: 700; font-size: .9375rem; margin-top: .25rem; }

/* ========================
   Nonprofit v2
   ======================== */

/* ── Hero logo entrance ── */
@keyframes npcLogoIn {
  from { opacity: 0; transform: scale(.92) translateY(10px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
@keyframes npcFadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

.npc-hero-logo {
  display: block;
  width: 152px;
  height: auto;
  margin-bottom: 1.5rem;
  animation: npcLogoIn .6s var(--spring) .05s both;
}
.npc-hero-label  { animation: npcFadeUp .5s var(--spring) .28s both; }
.npc-hero-h1     { animation: npcFadeUp .5s var(--spring) .44s both; }
.npc-hero-sub    { animation: npcFadeUp .5s var(--spring) .58s both; }
.npc-hero-actions { animation: npcFadeUp .5s var(--spring) .72s both; }

.npc-hero-h1 { color: var(--white); }
.npc-hero-h1 em { font-style: normal; color: var(--teal); }
.npc-hero-strike {
  color: rgba(255,255,255,.45);
  text-decoration: line-through;
  text-decoration-color: rgba(45,191,170,.7);
  text-decoration-thickness: 4px;
}

.npc-hero-sub {
  color: rgba(255,255,255,.82);
  font-size: 1.125rem;
  max-width: 500px;
  margin-top: .875rem;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.npc-hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

/* ── Animated hero stage ── */
.gp-hero-stage {
  position: relative;
  isolation: isolate;
}
.gp-hero-glow {
  position: absolute;
  inset: -12% -6%;
  z-index: 0;
  background:
    radial-gradient(ellipse at 60% 45%, rgba(45,191,170,.32) 0%, transparent 62%);
  filter: blur(8px);
  animation: gpGlowPulse 9s ease-in-out infinite;
  pointer-events: none;
}

/* Floating "No redirect" chip */
.gp-hero-chip {
  position: absolute;
  top: 6%;
  left: -4%;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .5rem .8rem;
  background: rgba(15,28,38,.82);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(45,191,170,.32);
  border-radius: 999px;
  color: #fff;
  font-size: .8rem;
  font-weight: 700;
  box-shadow: 0 10px 30px rgba(0,0,0,.4);
  animation:
    gpChipIn .6s var(--spring) .95s both,
    gpChipFloat 5.5s ease-in-out 1.6s infinite;
}
.gp-hero-chip svg {
  color: var(--teal);
  background: rgba(45,191,170,.16);
  border-radius: 50%;
  padding: 2px;
  width: 16px;
  height: 16px;
}

/* Periodic success state over the form */
.gp-hero-success {
  position: absolute;
  inset: .625rem;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  text-align: center;
  border-radius: 6px;
  background: linear-gradient(160deg, rgba(255,255,255,.97), rgba(244,248,250,.97));
  box-shadow: inset 0 0 0 1px rgba(45,191,170,.2);
  opacity: 0;
  pointer-events: none;
  animation: gpSuccessCycle 7s ease-in-out 1.4s infinite;
}
.gp-hero-success__check {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2dbfaa, #1e3a4c);
  color: #fff;
  box-shadow: 0 8px 20px rgba(45,191,170,.4);
}
.gp-hero-success__title {
  font-size: .8rem;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -.01em;
}
.gp-hero-success__sub {
  font-size: .56rem;
  color: #5a7a8a;
  font-weight: 600;
}

/* CTA shimmer sweep, synced to the success cycle */
.gp-hero-cta {
  position: relative;
  overflow: hidden;
}
.gp-hero-cta::after {
  content: '';
  position: absolute;
  top: 0;
  left: -60%;
  width: 45%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.55), transparent);
  transform: skewX(-18deg);
  animation: gpCtaSweep 7s ease-in-out 1.4s infinite;
}

/* Selected-amount pulse ring at the start of each cycle */
.gp-hero-amt-pulse {
  animation: gpAmtPulse 7s ease-in-out 1.4s infinite;
}

@keyframes gpGlowPulse {
  0%, 100% { opacity: .65; transform: scale(1); }
  50%      { opacity: 1;   transform: scale(1.06); }
}
@keyframes gpChipIn {
  from { opacity: 0; transform: translateY(10px) scale(.9); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes gpChipFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-7px); }
}
@keyframes gpSuccessCycle {
  0%, 58%   { opacity: 0; transform: scale(.98); }
  64%, 86%  { opacity: 1; transform: scale(1); }
  94%, 100% { opacity: 0; transform: scale(1); }
}
@keyframes gpCtaSweep {
  0%, 40%   { left: -60%; }
  52%       { left: 130%; }
  100%      { left: 130%; }
}
@keyframes gpAmtPulse {
  0%, 12%, 40%, 100% { box-shadow: 0 0 0 0 rgba(45,191,170,0); }
  20%                { box-shadow: 0 0 0 4px rgba(45,191,170,.28); }
}

/* ── CSS device mockup ── */
.npc-devices {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  gap: .875rem;
  animation:
    gpDeviceIn .85s var(--spring) .35s both,
    gpFloat 6.5s ease-in-out 1.3s infinite;
}
@keyframes gpDeviceIn {
  from { opacity: 0; transform: translateY(26px) scale(.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes gpFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}

.npc-device {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,.36), inset 0 1px 0 rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(15,28,38,.7);
}

.npc-device--desktop { flex: 1; border-radius: 10px; }

.npc-device--phone {
  width: 116px;
  flex-shrink: 0;
  border-radius: 20px;
  padding-top: 22px;
  padding-bottom: 10px;
  border-width: 2px;
  position: relative;
}

.npc-device__chrome {
  display: flex;
  align-items: center;
  gap: .4rem;
  padding: .45rem .75rem;
  background: rgba(255,255,255,.05);
  border-bottom: 1px solid rgba(255,255,255,.07);
}

.npc-device__dots { display: flex; gap: 4px; }
.npc-device__dots span {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.18);
}

.npc-device__url {
  font-size: .5rem;
  color: rgba(255,255,255,.3);
  font-family: monospace;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
  text-align: center;
}

.npc-device__notch {
  width: 36px; height: 4px;
  background: rgba(255,255,255,.18);
  border-radius: 2px;
  position: absolute;
  top: 9px;
  left: 50%;
  transform: translateX(-50%);
}

.npc-device__screen {
  padding: .625rem;
  background: rgba(255,255,255,.02);
  position: relative;
}

/* Two-column form inside desktop frame */
.npc-form-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .5rem;
  background: white;
  border-radius: 6px;
  padding: .625rem;
}

.npc-form-2col__info {
  display: flex;
  flex-direction: column;
  gap: .25rem;
  padding: .5rem;
  border-radius: 5px;
  background: linear-gradient(165deg, rgba(45,191,170,.1) 0%, rgba(30,58,76,.04) 100%);
}

.npc-form-2col__logo {
  width: 56px; height: 9px;
  background: linear-gradient(90deg, #2dbfaa, #1e3a4c);
  border-radius: 3px;
  opacity: .7;
  margin-bottom: .2rem;
}

.npc-form-2col__headline {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: .78rem;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.01em;
  color: #16303f;
  margin: .15rem 0 .1rem;
}

.npc-form-2col__mission {
  font-size: .46rem;
  color: #5a7a8a;
  line-height: 1.45;
  font-family: var(--font);
}

.npc-impact-panel {
  margin-top: auto;
  background: rgba(255,255,255,.85);
  border: 1px solid rgba(30,58,76,.07);
  border-radius: 4px;
  padding: .35rem .4rem;
  display: flex;
  flex-direction: column;
  gap: .18rem;
}
.npc-impact-panel__label {
  font-size: .36rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #2dbfaa;
  font-family: var(--font);
  margin-bottom: .05rem;
}

.npc-impact-row {
  display: flex;
  align-items: center;
  gap: .2rem;
  font-size: .44rem;
  color: #5a7a8a;
  font-family: var(--font);
}

.npc-dot {
  width: 3px; height: 3px;
  border-radius: 50%;
  background: #2dbfaa;
  flex-shrink: 0;
}

.npc-form-2col__form {
  display: flex;
  flex-direction: column;
  gap: .3rem;
}

.npc-form-toggle {
  display: flex;
  gap: .2rem;
  background: rgba(30,58,76,.06);
  border-radius: 999px;
  padding: 2px;
}
.npc-form-toggle span {
  flex: 1;
  text-align: center;
  font-size: .44rem;
  font-weight: 600;
  padding: .2rem;
  border-radius: 999px;
  font-family: var(--font);
  color: #5a7a8a;
}
.npc-toggle--active {
  background: #1e3a4c !important;
  color: white !important;
  border-radius: 999px;
}

.npc-form-label {
  font-size: .38rem;
  font-weight: 700;
  color: #7d97a3;
  font-family: var(--font);
  margin-bottom: -.15rem;
}

.npc-form-amounts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .22rem;
}
.npc-form-amounts span {
  text-align: center;
  padding: .24rem .1rem;
  border: 1px solid #dce8ed;
  border-radius: 999px;
  font-size: .44rem;
  font-weight: 600;
  color: #1a2f3d;
  font-family: var(--font);
  background: white;
}
.npc-amt--active {
  border-color: #2dbfaa !important;
  color: white !important;
  background: linear-gradient(135deg, #2dbfaa, #1e3a4c) !important;
}

.npc-form-field {
  padding: .28rem .35rem;
  border: 1px solid #dce8ed;
  border-radius: 4px;
  font-size: .42rem;
  color: #aac4cf;
  font-family: var(--font);
  background: white;
}
.npc-form-field--select {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #1a2f3d;
}
.npc-caret { color: #8aa4b0; font-size: .5rem; line-height: 1; }

.npc-form-check {
  display: flex;
  align-items: center;
  gap: .25rem;
  font-size: .4rem;
  color: #5a7a8a;
  font-family: var(--font);
}
.npc-form-check i {
  width: .5rem;
  height: .5rem;
  border: 1px solid #c6d6dd;
  border-radius: 2px;
  background: white;
  flex-shrink: 0;
}

.npc-form-cta {
  background: linear-gradient(135deg, #2dbfaa, #1e3a4c);
  color: white;
  text-align: center;
  padding: .3rem;
  border-radius: 3px;
  font-size: .48rem;
  font-weight: 700;
  margin-top: auto;
  font-family: var(--font);
}

/* Mobile form preview */
.npc-form-mobile {
  display: flex;
  flex-direction: column;
  gap: .3rem;
  background: white;
  border-radius: 5px;
  padding: .5rem;
}
.npc-form-mobile__logo {
  width: 44px; height: 7px;
  background: linear-gradient(90deg, #2dbfaa, #1e3a4c);
  border-radius: 2px;
  opacity: .7;
  margin-bottom: .1rem;
}
.npc-form-mobile__toggle {
  display: flex;
  gap: .18rem;
  background: rgba(30,58,76,.06);
  border-radius: 3px;
  padding: 1.5px;
}
.npc-form-mobile__toggle span {
  flex: 1;
  text-align: center;
  font-size: .42rem;
  padding: .16rem;
  border-radius: 2px;
  font-family: var(--font);
  color: #5a7a8a;
}
.npc-form-mobile__amounts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .15rem;
}
.npc-form-mobile__amounts span {
  text-align: center;
  padding: .2rem;
  border: 1px solid #dce8ed;
  border-radius: 3px;
  font-size: .42rem;
  color: #1a2f3d;
  font-family: var(--font);
}
.npc-form-mobile__cta {
  background: linear-gradient(135deg, #2dbfaa, #1e3a4c);
  color: white;
  text-align: center;
  padding: .28rem;
  border-radius: 3px;
  font-size: .46rem;
  font-weight: 700;
  font-family: var(--font);
}

/* Floating badges on device group */
.npc-devices__badge {
  position: absolute;
  bottom: -14px;
  left: -18px;
  background: var(--white);
  border-radius: 10px;
  border-left: 3px solid var(--teal);
  padding: .6rem .875rem;
  box-shadow: 0 8px 32px rgba(0,0,0,.22);
  display: flex;
  align-items: center;
  gap: .6rem;
}
.npc-devices__badge strong { display: block; font-size: .75rem; font-weight: 700; color: var(--dark); }
.npc-devices__badge span   { font-size: .6875rem; color: var(--muted); }

.npc-qr-mini {
  width: 36px; height: 36px;
  background: rgba(45,191,170,.09);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.npc-float-badge {
  position: absolute;
  top: 16px;
  right: -14px;
  background: var(--white);
  border-radius: 10px;
  border-right: 3px solid var(--teal);
  padding: .5rem .75rem;
  box-shadow: 0 4px 20px rgba(0,0,0,.18);
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .75rem;
  font-weight: 700;
  color: var(--dark);
}

.npc-float-btn {
  width: 24px; height: 24px;
  background: var(--teal);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: white;
  flex-shrink: 0;
}

/* ── Savings callout ── */
.npc-savings-callout {
  margin-top: 1.5rem;
  padding: 1.125rem 1.5rem;
  background: var(--dark);
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.npc-savings-callout__num {
  font-size: 1.875rem;
  font-weight: 800;
  color: var(--teal);
  line-height: 1;
  white-space: nowrap;
  flex-shrink: 0;
}
.npc-savings-callout__text {
  font-size: .9375rem;
  color: rgba(255,255,255,.72);
  line-height: 1.55;
  margin: 0;
}

/* ── Feature grid ── */
.npc-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 3rem;
}

.npc-feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.625rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transition:
    transform var(--normal) var(--spring),
    box-shadow var(--normal) var(--spring),
    border-color var(--normal);
  position: relative;
  overflow: hidden;
}
.npc-feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--normal) var(--spring);
}
.npc-feature-card:hover::before { transform: scaleX(1); }
.npc-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(45,191,170,.25);
}

.npc-feature-card__mockup {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: .875rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 104px;
  overflow: hidden;
}

.npc-feature-card h3 { font-size: 1rem; margin-bottom: .25rem; }
.npc-feature-card p  { font-size: .875rem; line-height: 1.6; margin: 0; }

/* Mockup — two-column */
.npc-mock-2col {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .4rem;
}
.npc-mock-2col__side { display: flex; flex-direction: column; gap: .28rem; }
.npc-mock-line {
  height: 6px;
  background: rgba(30,58,76,.1);
  border-radius: 3px;
}
.npc-mock-line--teal  { background: rgba(45,191,170,.4); width: 55%; }
.npc-mock-line--short { width: 65%; }
.npc-mock-field {
  height: 15px;
  background: rgba(30,58,76,.05);
  border: 1px solid rgba(30,58,76,.1);
  border-radius: 3px;
}
.npc-mock-btn-sm {
  height: 17px;
  background: linear-gradient(135deg, #2dbfaa, #1e3a4c);
  border-radius: 3px;
  opacity: .8;
  margin-top: .1rem;
}

/* Mockup — phone */
.npc-mock-phone {
  width: 58px;
  border: 2px solid rgba(30,58,76,.18);
  border-radius: 11px;
  padding: 6px 5px 8px;
  background: white;
  box-shadow: 0 4px 14px rgba(30,58,76,.12);
  position: relative;
}
.npc-mock-phone::before {
  content: '';
  width: 18px; height: 3px;
  background: rgba(30,58,76,.15);
  border-radius: 2px;
  display: block;
  margin: 0 auto 4px;
}
.npc-mock-phone__content { display: flex; flex-direction: column; gap: 3px; }
.npc-mock-phone__toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: rgba(30,58,76,.08);
  border-radius: 3px;
  padding: 2px;
}
.npc-mock-phone__toggle span { height: 7px; border-radius: 2px; }
.npc-mock-phone__toggle span:first-child { background: #1e3a4c; }
.npc-mock-phone__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.npc-mock-phone__grid span {
  height: 12px;
  border: 1px solid rgba(30,58,76,.12);
  border-radius: 2px;
  background: white;
}
.npc-mock-phone__grid span.npc-active {
  border-color: #2dbfaa;
  background: rgba(45,191,170,.08);
}
.npc-mock-phone__cta {
  height: 15px;
  background: linear-gradient(135deg, #2dbfaa, #1e3a4c);
  border-radius: 3px;
  opacity: .85;
}

/* Mockup — floating button */
.npc-mock-float {
  width: 100%;
  height: 82px;
  background: white;
  border: 1px solid rgba(30,58,76,.1);
  border-radius: 6px;
  position: relative;
  overflow: hidden;
}
.npc-mock-float__page {
  position: absolute;
  inset: 0;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.npc-mock-float__nav {
  height: 8px;
  background: rgba(30,58,76,.08);
  border-radius: 3px;
}
.npc-mock-float__content { display: flex; flex-direction: column; gap: 3px; flex: 1; }
.npc-mock-float__content span {
  height: 4px;
  background: rgba(30,58,76,.06);
  border-radius: 2px;
}
.npc-mock-float__content span:nth-child(2) { width: 72%; }
.npc-mock-float__content span:nth-child(3) { width: 50%; }

.npc-mock-float__btn {
  position: absolute;
  bottom: 8px; right: 8px;
  width: 28px; height: 28px;
  background: #2dbfaa;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px rgba(45,191,170,.4);
  color: white;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
}
.npc-mock-float__label {
  position: absolute;
  bottom: 15px; right: 40px;
  background: var(--dark);
  color: white;
  font-size: 5px;
  font-family: var(--font);
  font-weight: 700;
  padding: 2px 5px;
  border-radius: 3px;
  white-space: nowrap;
}

/* Mockup — QR code */
.npc-mock-qr {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
}
.npc-mock-qr__bulletin {
  width: 78px;
  background: white;
  border: 1px solid rgba(30,58,76,.1);
  border-radius: 4px;
  padding: 6px;
  box-shadow: 0 2px 8px rgba(30,58,76,.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}
.npc-mock-qr__title {
  height: 5px; width: 56px;
  background: rgba(30,58,76,.14);
  border-radius: 2px;
}
.npc-mock-qr__url {
  height: 4px; width: 48px;
  background: rgba(45,191,170,.3);
  border-radius: 2px;
}

/* Mockup — monthly prompt */
.npc-mock-monthly {
  width: 100%;
  background: white;
  border: 1px solid rgba(30,58,76,.1);
  border-radius: 6px;
  padding: 8px;
  box-shadow: 0 2px 8px rgba(30,58,76,.06);
}
.npc-mock-monthly__badge {
  background: rgba(45,191,170,.1);
  border: 1px solid rgba(45,191,170,.22);
  border-radius: 4px;
  padding: 2px 5px;
  font-size: 5.5px;
  color: #2dbfaa;
  font-family: var(--font);
  font-weight: 700;
  display: inline-block;
  margin-bottom: 4px;
}
.npc-mock-monthly__headline {
  height: 5px;
  background: rgba(30,58,76,.14);
  border-radius: 2px;
  width: 88%;
  margin-bottom: 5px;
}
.npc-mock-monthly__options { display: flex; flex-direction: column; gap: 3px; margin-bottom: 5px; }
.npc-mock-monthly__opt {
  height: 15px;
  border: 1px solid rgba(30,58,76,.1);
  border-radius: 3px;
  background: white;
}
.npc-mock-monthly__opt--active {
  border-color: #2dbfaa;
  background: rgba(45,191,170,.06);
}
.npc-mock-monthly__cta {
  height: 14px;
  background: linear-gradient(135deg, #2dbfaa, #1e3a4c);
  border-radius: 3px;
  opacity: .85;
}

/* Mockup — designation dropdown */
.npc-mock-desg { width: 100%; display: flex; flex-direction: column; gap: 4px; }
.npc-mock-desg__label {
  height: 5px; width: 52px;
  background: rgba(30,58,76,.18);
  border-radius: 2px;
}
.npc-mock-desg__select {
  height: 20px;
  background: white;
  border: 1.5px solid rgba(45,191,170,.5);
  border-radius: 4px;
  display: flex;
  align-items: center;
  padding: 0 6px;
  gap: 4px;
  box-shadow: 0 0 0 3px rgba(45,191,170,.1);
}
.npc-mock-desg__value {
  height: 4px; flex: 1;
  background: rgba(30,58,76,.18);
  border-radius: 2px;
}
.npc-mock-desg__arrow {
  width: 7px; height: 7px;
  border-right: 1.5px solid rgba(30,58,76,.3);
  border-bottom: 1.5px solid rgba(30,58,76,.3);
  transform: rotate(45deg) translateY(-2px);
  flex-shrink: 0;
}
.npc-mock-desg__options {
  background: white;
  border: 1px solid rgba(30,58,76,.1);
  border-radius: 4px;
  padding: 3px;
  box-shadow: 0 4px 12px rgba(30,58,76,.1);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.npc-mock-desg__opt {
  height: 10px;
  background: rgba(30,58,76,.05);
  border-radius: 2px;
}
.npc-mock-desg__opt--active {
  background: rgba(45,191,170,.12);
  border-left: 2px solid #2dbfaa;
}

/* ── Feature grid stagger ── */
.npc-feature-grid .npc-feature-card:nth-child(2) { transition-delay: .06s; }
.npc-feature-grid .npc-feature-card:nth-child(3) { transition-delay: .12s; }
.npc-feature-grid .npc-feature-card:nth-child(4) { transition-delay: .06s; }
.npc-feature-grid .npc-feature-card:nth-child(5) { transition-delay: .12s; }
.npc-feature-grid .npc-feature-card:nth-child(6) { transition-delay: .18s; }

/* ── Override svg scale from page-hero__visual ── */
.npc-devices svg { transform: none !important; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .npc-feature-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .npc-feature-grid { grid-template-columns: 1fr; }
  .npc-savings-callout { flex-direction: column; align-items: flex-start; gap: .75rem; }
  .npc-savings-callout__num { font-size: 1.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  .npc-hero-logo,
  .npc-hero-label,
  .npc-hero-h1,
  .npc-hero-sub,
  .npc-hero-actions,
  .np-ops-card,
  .np-ops-items .np-ops-item,
  .np-ops-card__foot,
  .np-ops-float {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  /* npcCardIn uses transform-only; restore to final position */
  .np-ops-card { transform: none !important; }

  /* Hero stage: hold still, keep form visible (success hidden) */
  .npc-devices,
  .gp-hero-glow,
  .gp-hero-chip,
  .gp-hero-success,
  .gp-hero-cta::after,
  .gp-hero-amt-pulse {
    animation: none !important;
    transform: none !important;
  }
  .gp-hero-chip { opacity: 1 !important; }
  .gp-hero-glow { opacity: .7 !important; }
  .gp-hero-success { opacity: 0 !important; }
  .gp-demo-frame { transition: none !important; }
}

/* ========================
   Giving Platform page
   ======================== */

/* ── Dark capability grid ── */
.gp-cap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.125rem;
  margin-top: 3rem;
}

.gp-cap-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .875rem;
  position: relative;
  overflow: hidden;
  transition: background var(--normal), border-color var(--normal), box-shadow var(--normal);
}
.gp-cap-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, rgba(45,191,170,.65) 0%, rgba(45,191,170,.05) 100%);
  opacity: 0;
  transition: opacity .3s;
}
.gp-cap-card:hover {
  background: rgba(255,255,255,.085);
  border-color: rgba(45,191,170,.28);
  box-shadow: 0 12px 40px rgba(0,0,0,.35), 0 0 0 1px rgba(45,191,170,.1);
}
.gp-cap-card:hover::before { opacity: 1; }

.gp-cap-icon {
  width: 40px; height: 40px;
  background: linear-gradient(135deg, rgba(45,191,170,.9) 0%, rgba(30,58,76,.8) 100%);
  border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  color: white;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(45,191,170,.25);
}
.gp-cap-icon svg { width: 18px; height: 18px; }

.gp-cap-card h3 {
  font-size: .9375rem;
  color: white;
  margin: 0;
  display: flex;
  align-items: center;
  gap: .5rem;
  flex-wrap: wrap;
  line-height: 1.3;
}
.gp-cap-card p {
  font-size: .8125rem;
  line-height: 1.65;
  color: rgba(255,255,255,.58);
  margin: 0;
}

.gp-cap-optional {
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255,255,255,.36);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 4px;
  padding: 1px 5px;
  white-space: nowrap;
}

.gp-tagline-strip {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: .5rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
  color: rgba(255,255,255,.38);
  font-size: .875rem;
}
.gp-tagline-strip strong { color: rgba(255,255,255,.65); font-weight: 600; }
.gp-tagline-strip .sep { opacity: .25; }

/* ── Cap grid on light (section--surface) background ── */
.section--surface .gp-cap-card {
  background: white;
  border-color: rgba(30,58,76,.1);
  box-shadow: 0 2px 12px rgba(30,58,76,.06);
}
.section--surface .gp-cap-card:hover {
  background: white;
  border-color: rgba(45,191,170,.4);
  box-shadow: 0 8px 30px rgba(30,58,76,.1), 0 0 0 1px rgba(45,191,170,.12);
}
.section--surface .gp-cap-card h3 { color: var(--dark); }
.section--surface .gp-cap-card p  { color: rgba(30,58,76,.62); }
.section--surface .gp-cap-optional {
  color: rgba(30,58,76,.45);
  border-color: rgba(30,58,76,.2);
}
.section--surface .gp-tagline-strip { color: rgba(30,58,76,.5); }
.section--surface .gp-tagline-strip strong { color: var(--dark); }
.section--surface .gp-tagline-strip .sep { opacity: .2; }

/* ── Floating-button live toggle ── */
.gp-floater-toggle {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-top: .875rem;
  font-size: .8125rem;
  font-weight: 600;
  color: var(--dark);
  cursor: pointer;
  user-select: none;
}
.gp-floater-toggle input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.gp-floater-toggle__track {
  width: 34px;
  height: 20px;
  border-radius: 999px;
  background: rgba(30,58,76,.18);
  position: relative;
  transition: background .2s;
  flex-shrink: 0;
}
.gp-floater-toggle__track::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: white;
  box-shadow: 0 1px 3px rgba(0,0,0,.25);
  transition: transform .2s;
}
.gp-floater-toggle input:checked + .gp-floater-toggle__track { background: var(--teal); }
.gp-floater-toggle input:checked + .gp-floater-toggle__track::after { transform: translateX(14px); }
.gp-floater-toggle input:focus-visible + .gp-floater-toggle__track {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

/* ── Demo view tabs ── */
.gp-demo-tabs {
  display: flex;
  gap: .5rem;
  margin-bottom: 1.25rem;
}
.gp-demo-tab {
  padding: .4375rem 1.125rem;
  border-radius: 999px;
  border: 1.5px solid var(--border);
  background: white;
  font-family: inherit;
  font-size: .8125rem;
  font-weight: 600;
  color: rgba(30,58,76,.5);
  cursor: pointer;
  transition: background .18s, color .18s, border-color .18s;
}
.gp-demo-tab--active {
  background: var(--dark);
  color: white;
  border-color: var(--dark);
}
/* ── Demo device frame (desktop browser <-> phone bezel) ── */
.gp-demo-frame {
  position: relative;
  max-width: 960px;
  margin: 0 auto;
  background: #16303f;
  border-radius: 14px;
  box-shadow: 0 24px 64px rgba(30,58,76,.18);
  overflow: hidden;
  transition-property: max-width, border-radius, padding;
  transition-duration: .55s;
  transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
}
.gp-demo-frame__chrome {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .55rem .9rem;
}
.gp-demo-frame__dots { display: flex; gap: 5px; }
.gp-demo-frame__dots i {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: rgba(255,255,255,.22);
}
.gp-demo-frame__url {
  flex: 1;
  text-align: center;
  font-family: monospace;
  font-size: .72rem;
  color: rgba(255,255,255,.5);
  background: rgba(255,255,255,.08);
  border-radius: 6px;
  padding: .28rem .75rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.gp-demo-frame__notch { display: none; }

/* Phone mode */
.gp-demo-frame.is-mobile {
  max-width: 420px;
  border-radius: 44px;
  padding: 10px;
  background: #10222e;
  box-shadow: 0 24px 64px rgba(30,58,76,.28), inset 0 0 0 2px rgba(255,255,255,.06);
}
.gp-demo-frame.is-mobile .gp-demo-frame__chrome { display: none; }
.gp-demo-frame.is-mobile .gp-demo-frame__notch {
  display: block;
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 112px;
  height: 22px;
  background: #10222e;
  border-radius: 0 0 14px 14px;
  z-index: 6;
}
.gp-demo-frame.is-mobile .dfp-live-demo {
  border-radius: 34px;
  overflow: hidden;
  padding-top: 30px;   /* status-bar zone under the notch */
}
.gp-demo-frame.is-mobile .dfp-live-demo iframe {
  /* Phone view renders at 70%: keep width and scale in sync (100/0.70). */
  width: 142.8571%;
  transform: scale(0.7);
}

@media (max-width: 720px) {
  /* Below tablet width the form is effectively mobile either way; drop the toggle
     and the phone bezel, keep the simple browser card. */
  .gp-demo-tabs { display: none; }
  .gp-demo-frame,
  .gp-demo-frame.is-mobile {
    max-width: 100%;
    border-radius: 14px;
    padding: 0;
    background: #16303f;
  }
  .gp-demo-frame.is-mobile .gp-demo-frame__chrome { display: flex; }
  .gp-demo-frame.is-mobile .gp-demo-frame__notch { display: none; }
  .gp-demo-frame.is-mobile .dfp-live-demo { padding-top: 0; border-radius: 0; }
}

/* ── Placement grid ── */
.gp-placement-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 3rem;
}

.gp-placement-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: var(--shadow);
  transition: transform var(--normal) var(--spring), box-shadow var(--normal) var(--spring), border-color var(--normal);
}
.gp-placement-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(45,191,170,.22);
}

.gp-placement-card__preview {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: .875rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 88px;
  overflow: hidden;
}

.gp-placement-card h3 { font-size: .9375rem; margin-bottom: .2rem; }
.gp-placement-card p  { font-size: .8125rem; line-height: 1.6; margin: 0; color: var(--muted); }

/* Popup button preview */
.gp-mock-popup-btn {
  background: var(--teal);
  color: white;
  font-size: .6875rem;
  font-weight: 700;
  font-family: var(--font);
  padding: .5rem 1.125rem;
  border-radius: 7px;
  box-shadow: 0 8px 24px rgba(45,191,170,.35);
  letter-spacing: .01em;
}

/* Quick-give amounts preview */
.gp-mock-quickgive { display: flex; gap: .4rem; }
.gp-mock-quickgive span {
  border: 1.5px solid rgba(45,191,170,.4);
  border-radius: 6px;
  padding: .3rem .7rem;
  font-size: .625rem;
  font-weight: 700;
  color: var(--teal);
  font-family: var(--font);
  background: rgba(45,191,170,.06);
}

/* Custom amount preview */
.gp-mock-customamt { display: flex; align-items: center; gap: .4rem; }
.gp-mock-customamt__field {
  display: flex;
  align-items: center;
  border: 1.5px solid rgba(30,58,76,.18);
  border-radius: 6px;
  padding: .35rem .6rem;
  gap: .25rem;
  background: white;
}
.gp-mock-customamt__prefix { font-size: .625rem; font-weight: 700; color: var(--muted); font-family: var(--font); }
.gp-mock-customamt__val   { font-size: .9rem; font-weight: 800; color: var(--dark); font-family: var(--font); }
.gp-mock-customamt__btn {
  background: var(--teal);
  color: white;
  font-size: .625rem;
  font-weight: 700;
  font-family: var(--font);
  padding: .35rem .7rem;
  border-radius: 6px;
}

/* Hosted page preview */
.gp-mock-hosted {
  display: flex;
  align-items: center;
  gap: .75rem;
}
.gp-mock-hosted__browser {
  width: 72px;
  background: white;
  border: 1px solid rgba(30,58,76,.12);
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(30,58,76,.1);
}
.gp-mock-hosted__chrome {
  height: 10px;
  background: rgba(30,58,76,.05);
  border-bottom: 1px solid rgba(30,58,76,.07);
  display: flex;
  align-items: center;
  padding: 0 4px;
  gap: 2.5px;
}
.gp-mock-hosted__dot {
  width: 3px; height: 3px;
  border-radius: 50%;
  background: rgba(30,58,76,.18);
}
.gp-mock-hosted__content { padding: 5px; display: flex; flex-direction: column; gap: 2.5px; }
.gp-mock-hosted__line { height: 4px; background: rgba(30,58,76,.09); border-radius: 2px; }
.gp-mock-hosted__line:nth-child(2) { width: 72%; }
.gp-mock-hosted__cta { height: 9px; background: linear-gradient(135deg, #2dbfaa, #1e3a4c); border-radius: 2px; margin-top: 2px; opacity: .85; }
.gp-mock-hosted__arrow { font-size: 1.25rem; color: var(--muted); opacity: .5; }

/* ── GP responsive ── */
@media (max-width: 900px) {
  .gp-cap-grid       { grid-template-columns: repeat(2, 1fr); }
  .gp-placement-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .gp-cap-grid       { grid-template-columns: 1fr; }
  .gp-placement-grid { grid-template-columns: 1fr; }
}

/* ========================
   Nonprofit partnership page
   ======================== */

.np-what-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.np-what-card {
  padding: 1.75rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 4px solid var(--teal);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.np-what-card h3 { font-size: 1.0625rem; margin-bottom: .5rem; }
.np-what-card p  { font-size: .9rem; line-height: 1.65; color: var(--muted); margin: 0; }

.np-platform-teaser {
  background-color: var(--dark);
  background-image:
    radial-gradient(ellipse at 90% 10%, rgba(45,191,170,.18) 0%, transparent 50%),
    radial-gradient(ellipse at 10% 90%, rgba(45,191,170,.1) 0%, transparent 45%),
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: auto, auto, 52px 52px, 52px 52px;
  border-radius: var(--radius-xl);
  padding: 3rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-top: 0;
}

.np-platform-teaser__text h2 { color: white; margin-bottom: .75rem; }
.np-platform-teaser__text p  { color: rgba(255,255,255,.7); font-size: 1rem; line-height: 1.65; margin-bottom: 1.5rem; }
.np-platform-teaser__text .section-label { color: var(--teal); opacity: .9; }

.np-platform-teaser__stats { display: flex; flex-direction: column; gap: 1rem; }

.np-stat {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-left: 3px solid var(--teal);
  border-radius: 6px;
  padding: 1rem 1.25rem;
}
.np-stat__num {
  font-size: 1.875rem;
  font-weight: 800;
  color: var(--teal);
  line-height: 1;
  margin-bottom: .375rem;
  font-variant-numeric: tabular-nums;
}
.np-stat__label {
  font-size: .8125rem;
  color: rgba(255,255,255,.58);
  line-height: 1.55;
}

.np-services-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: 1.5rem;
}
.np-tag {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 999px;
  padding: .4rem 1rem;
  font-size: .8125rem;
  font-weight: 600;
  color: rgba(255,255,255,.75);
}

.np-why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.np-why-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow);
}
.np-why-card__num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--teal);
  line-height: 1;
  margin-bottom: .625rem;
  font-variant-numeric: tabular-nums;
}
.np-why-card h3 { font-size: 1rem; margin-bottom: .375rem; }
.np-why-card p  { font-size: .875rem; line-height: 1.6; color: var(--muted); margin: 0; }

/* ── NP responsive ── */
@media (max-width: 900px) {
  .np-what-grid { grid-template-columns: 1fr 1fr; }
  .np-why-grid  { grid-template-columns: 1fr 1fr; }
  .np-platform-teaser { grid-template-columns: 1fr; gap: 2rem; padding: 2rem; }
}
@media (max-width: 600px) {
  .np-what-grid { grid-template-columns: 1fr; }
  .np-why-grid  { grid-template-columns: 1fr; }
  .np-platform-teaser { padding: 1.5rem; }
}

/* ========================
   /nonprofit hero ops card
   ======================== */

.np-ops-card {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 20px;
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
  width: 100%;
  /* slide in from below; card stays opaque so fill-mode:both never hides it */
  animation-name: npcCardIn;
  animation-duration: .7s;
  animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
  animation-delay: .3s;
  animation-fill-mode: both;
}
@keyframes npcCardIn {
  from { transform: translateY(18px); }
  to   { transform: translateY(0); }
}
/* stagger each checklist row — fade+rise, small delays after card */
.np-ops-items .np-ops-item {
  opacity: 0;
  animation-name: npcFadeUp;
  animation-duration: .35s;
  animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
  animation-fill-mode: forwards;
}
.np-ops-items .np-ops-item:nth-child(1) { animation-delay: .55s; }
.np-ops-items .np-ops-item:nth-child(2) { animation-delay: .65s; }
.np-ops-items .np-ops-item:nth-child(3) { animation-delay: .75s; }
.np-ops-items .np-ops-item:nth-child(4) { animation-delay: .85s; }
.np-ops-items .np-ops-item:nth-child(5) { animation-delay: .95s; }
.np-ops-items .np-ops-item:nth-child(6) { animation-delay: 1.05s; }
.np-ops-card__foot {
  opacity: 0;
  animation-name: npcFadeUp;
  animation-duration: .4s;
  animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
  animation-delay: 1.15s;
  animation-fill-mode: forwards;
}
.np-ops-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--teal) 0%, rgba(45,191,170,.1) 100%);
}

.np-ops-card__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.125rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.np-ops-status {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .75rem;
  font-weight: 700;
  color: rgba(255,255,255,.88);
}
.np-ops-dot {
  width: 7px; height: 7px;
  background: #4ade80;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(74,222,128,.2);
  animation: npDotPulse 2.2s ease-in-out infinite;
}
@keyframes npDotPulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(74,222,128,.2); }
  50% { box-shadow: 0 0 0 6px rgba(74,222,128,.06); }
}

.np-ops-org {
  font-size: .6875rem;
  color: rgba(255,255,255,.32);
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.np-ops-items {
  display: flex;
  flex-direction: column;
  gap: .625rem;
  margin-bottom: 1.25rem;
}

.np-ops-item {
  display: flex;
  align-items: center;
  gap: .75rem;
}
.np-ops-item__check {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: rgba(45,191,170,.12);
  border: 1px solid rgba(45,191,170,.28);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--teal);
}
.np-ops-item__check svg { width: 10px; height: 10px; stroke-width: 3; }
.np-ops-item__label {
  font-size: .8125rem;
  color: rgba(255,255,255,.75);
  flex: 1;
  font-weight: 500;
}
.np-ops-item__badge {
  font-size: .6875rem;
  font-weight: 700;
  padding: .175rem .55rem;
  border-radius: 999px;
  white-space: nowrap;
}
.np-ops-item__badge--live {
  background: rgba(74,222,128,.1);
  color: #4ade80;
  border: 1px solid rgba(74,222,128,.2);
}
.np-ops-item__badge--info {
  background: rgba(45,191,170,.12);
  color: var(--teal);
  border: 1px solid rgba(45,191,170,.22);
}
.np-ops-item__badge--neutral {
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.45);
  border: 1px solid rgba(255,255,255,.1);
}

.np-ops-card__foot {
  display: flex;
  gap: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,.08);
}
.np-ops-metric__num {
  display: block;
  font-size: 1.25rem;
  font-weight: 800;
  color: white;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.np-ops-metric__label {
  display: block;
  font-size: .6875rem;
  color: rgba(255,255,255,.38);
  margin-top: .3rem;
}

.np-ops-float {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(45,191,170,.1);
  border: 1px solid rgba(45,191,170,.22);
  border-radius: 999px;
  padding: .45rem 1rem .45rem .6rem;
  font-size: .75rem;
  font-weight: 700;
  color: var(--teal);
  margin-top: 1.125rem;
  animation: npcFadeUp .6s var(--spring) .75s both;
  width: fit-content;
}
.np-ops-float__icon {
  width: 20px; height: 20px;
  background: rgba(45,191,170,.18);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.np-ops-float__icon svg { width: 11px; height: 11px; }

/* ========================
   Compliance section
   ======================== */

.np-compliance-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.125rem;
  margin-top: 2.5rem;
}
.np-compliance-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.np-compliance-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), rgba(45,191,170,.2));
}
.np-compliance-card__icon {
  width: 38px; height: 38px;
  background: var(--teal-soft);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--teal);
  margin-bottom: .875rem;
}
.np-compliance-card__icon svg { width: 18px; height: 18px; }
.np-compliance-card h3 { font-size: .9375rem; margin-bottom: .375rem; }
.np-compliance-card p  { font-size: .8125rem; line-height: 1.6; color: var(--muted); margin: 0; }

@media (max-width: 1024px) {
  .np-compliance-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .np-compliance-grid { grid-template-columns: 1fr; }
  .np-ops-card { max-width: 100%; }
}
