/* ============================================================
   Jeevees Financial Services — Stripe-inspired design system
   ============================================================ */

/* ---- Tokens ---- */
:root {
  /* Purple family */
  --purple: #533afd;
  --purple-hover: #4032c8;
  --purple-soft: #7f7dfc;
  --purple-bg: #f5f5ff;
  --purple-border: #d6d9fc;
  --purple-subdued: #e2e4ff;

  /* Ink */
  --ink: #061b31;
  --navy-dark: #0d1738;

  /* Text */
  --text-soft: #46536b;
  --text-subdued: #5b6a84;
  --text-quiet: #7d8ba4;

  /* Surfaces */
  --white: #ffffff;
  --surface-1: #f8fafd;
  --surface-2: #e5edf5;
  --border-1: #d4dee9;
  --border-2: #e5edf5;

  /* Shadows (soft blue) */
  --shadow-card: 0 6px 22px rgba(0, 55, 112, 0.10), 0 4px 8px rgba(0, 59, 137, 0.02);
  --shadow-lift: 0 18px 40px rgba(0, 55, 112, 0.16), 0 6px 14px rgba(0, 59, 137, 0.05);
  --shadow-nav: 0 1px 2px rgba(0, 55, 112, 0.08), 0 4px 20px rgba(0, 55, 112, 0.06);
  --shadow-sm: 0 2px 6px rgba(0, 55, 112, 0.08);

  /* Radii */
  --r-btn: 4px;
  --r-card: 12px;
  --r-card-lg: 16px;

  /* Layout */
  --maxw: 1080px;
  --maxw-wide: 1200px;
  --gutter: 24px;

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in: cubic-bezier(0.4, 0, 1, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
  --t-interactive: 180ms var(--ease-out);

  /* Hero gradients */
  --hero-purple: radial-gradient(1653px 1092px at 50% calc(100% + 28px), rgb(93,124,250) 0px, rgb(143,143,244) 8.5%, rgb(206,163,255) 18%, rgb(227,205,255) 30%, rgb(240,231,255) 42%, rgb(250,248,255) 56%, rgb(248,250,253) 100%);
  --hero-warm: radial-gradient(1653px 1055px at 50% 104.6%, rgb(203,131,255) 0, rgb(255,144,185) 15.77%, rgb(255,201,119) 30.62%, rgb(255,215,155) 38.04%, rgb(255,241,220) 50.11%, #fff 63.1%, #f8fafd 100%);
  --hero-teal: radial-gradient(1653px 1055px at 50% 104.6%, rgb(59,178,214) 0, rgb(120,196,255) 15.77%, rgb(170,205,255) 30.62%, rgb(203,224,255) 40.04%, rgb(230,240,255) 52.11%, #fff 64.1%, #f8fafd 100%);
  --hero-green: radial-gradient(1653px 1055px at 50% 104.6%, rgb(90,190,150) 0, rgb(140,214,180) 15.77%, rgb(185,228,205) 30.62%, rgb(212,238,225) 40.04%, rgb(234,246,240) 52.11%, #fff 64.1%, #f8fafd 100%);
  --hero-amber: radial-gradient(1653px 1055px at 50% 104.6%, rgb(255,183,94) 0, rgb(255,205,140) 15.77%, rgb(255,222,175) 30.62%, rgb(255,235,205) 40.04%, rgb(255,245,228) 52.11%, #fff 64.1%, #f8fafd 100%);
}

/* ---- Reset / base ---- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: "Switzer", system-ui, -apple-system, sans-serif;
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text-soft);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--purple); text-decoration: none; transition: color var(--t-interactive); }
a:hover { color: var(--purple-hover); }

/* ---- Headings (Stripe: optically medium-bold + tight) ---- */
h1, h2, h3, h4 {
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.06;
  text-wrap: balance;
}
h1 { font-size: clamp(2.5rem, 4.4vw, 3.5rem); font-weight: 600; letter-spacing: -0.035em; line-height: 1.04; }
h2 { font-size: clamp(1.85rem, 3.2vw, 2.45rem); font-weight: 600; }
h3 { font-size: clamp(1.15rem, 2vw, 1.35rem); font-weight: 600; letter-spacing: -0.02em; line-height: 1.25; }
h4 { font-size: 1.0625rem; font-weight: 600; letter-spacing: -0.015em; line-height: 1.3; }
.grad-text {
  background: linear-gradient(92deg, #4630e0 0%, #7d3deb 55%, #cb1f9c 115%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
p { color: var(--text-soft); }
strong { color: var(--ink); font-weight: 500; }

.section-lead { font-size: 1.15rem; color: var(--text-soft); max-width: 640px; }

/* ---- Layout ---- */
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.container-wide { max-width: var(--maxw-wide); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  height: 44px; padding: 0 22px;
  border-radius: 999px;
  font-size: 1rem; font-weight: 500; font-family: inherit;
  cursor: pointer; border: 1px solid transparent;
  transition: background var(--t-interactive), color var(--t-interactive),
    box-shadow var(--t-interactive), transform var(--t-interactive), border-color var(--t-interactive);
  white-space: nowrap;
}
.btn .arrow { transition: transform var(--t-interactive); display: inline-block; }
.btn:hover .arrow { transform: translateX(4px); }
.btn-primary { background: var(--purple); color: #fff; box-shadow: 0 2px 5px rgba(83,58,253,.25); }
.btn-primary:hover { background: var(--purple-hover); color: #fff; transform: translateY(-1px); box-shadow: 0 6px 16px rgba(83,58,253,.32); }
.btn-primary:active { transform: translateY(0); }
.btn-secondary { background: rgba(255,255,255,.65); color: var(--purple); border-color: #b9b9f9; }
.btn-secondary:hover { background: #fff; color: var(--purple-hover); transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.btn-ghost { background: transparent; border-color: transparent; color: var(--purple); padding-left: 10px; padding-right: 10px; }
.btn-ghost:hover { color: var(--purple-hover); background: rgba(83,58,253,.06); transform: none; }
.btn-ghost .arrow { transition: transform var(--t-interactive); }
.btn-ghost:hover .arrow { transform: translateX(3px); }
.btn-white { background: #fff; color: var(--purple); }
.btn-white:hover { background: var(--surface-1); color: var(--purple-hover); transform: translateY(-1px); }
.btn-lg { height: 52px; padding: 0 30px; font-size: 1.0625rem; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 500; color: var(--purple);
}
.link-arrow .arrow { transition: transform var(--t-interactive); }
.link-arrow:hover .arrow { transform: translateX(4px); }

/* ---- Cards ---- */
.card {
  background: #fff; border-radius: var(--r-card);
  border: 1px solid var(--border-2);
  box-shadow: var(--shadow-card);
  padding: 28px;
  transition: box-shadow var(--t-interactive), transform var(--t-interactive), border-color var(--t-interactive);
}
a.card, .card[href] { display: block; color: inherit; }
a.card:hover, .card.hoverable:hover {
  transform: translateY(-4px); box-shadow: var(--shadow-lift); border-color: var(--purple-border);
}

/* ============================================================
   Navbar
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background var(--t-interactive), box-shadow var(--t-interactive), border-color var(--t-interactive);
  border-bottom: 1px solid transparent;
}
.nav.solid { background: rgba(255,255,255,.92); backdrop-filter: saturate(160%) blur(12px); box-shadow: var(--shadow-nav); border-bottom-color: var(--border-2); }
.nav-inner { max-width: var(--maxw-wide); margin: 0 auto; padding: 0 var(--gutter);
  height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand .brand-mark {
  width: 36px;
  height: 36px;
  object-fit: contain;
  flex: 0 0 auto;
  image-rendering: auto;
}
.nav .brand .brand-mark {
  width: 48px;
  height: 48px;
  filter: none;
}
.brand .wordmark { font-size: 1.32rem; font-weight: 600; color: var(--ink); letter-spacing: -0.02em; }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-links > li { position: relative; }
.nav-links a, .nav-links .navbtn {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 8px 14px; border-radius: 6px;
  color: var(--ink); font-weight: 500; font-size: 0.98rem;
  background: none; border: none; cursor: pointer; font-family: inherit;
  transition: color var(--t-interactive), background var(--t-interactive);
}
.nav-links a:hover, .nav-links .navbtn:hover { color: var(--purple); background: var(--purple-bg); }
.nav-links .caret { width: 10px; height: 10px; transition: transform var(--t-interactive); }
.dropdown { position: relative; }
.dropdown-menu {
  position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%) translateY(6px);
  min-width: 260px; background: #fff; border-radius: 12px; border: 1px solid var(--border-2);
  box-shadow: var(--shadow-lift); padding: 8px; opacity: 0; visibility: hidden;
  transition: opacity var(--t-interactive), transform var(--t-interactive), visibility var(--t-interactive);
}
.dropdown:hover .dropdown-menu, .dropdown:focus-within .dropdown-menu {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}
.dropdown:hover .caret { transform: rotate(180deg); }
.dropdown-menu a {
  display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: 8px; width: 100%;
}
.dropdown-menu a strong { color: var(--ink); font-weight: 500; font-size: .95rem; }
.dropdown-menu a span { color: var(--text-quiet); font-size: .82rem; font-weight: 400; }
.dropdown-menu a:hover { background: var(--purple-bg); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.hamburger { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.hamburger svg { width: 24px; height: 24px; stroke: var(--ink); }

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: 68px 0 0 0; z-index: 99; background: #fff;
  padding: 20px var(--gutter) 40px; overflow-y: auto;
  transform: translateX(100%); transition: transform 300ms var(--ease-out);
  visibility: hidden;
}
.mobile-menu.open { transform: translateX(0); visibility: visible; }
.mobile-menu a, .mobile-menu .m-group-title {
  display: block; padding: 12px 4px; font-size: 1.1rem; font-weight: 500; color: var(--ink);
  border-bottom: 1px solid var(--border-2);
}
.mobile-menu .m-sub a { padding-left: 16px; font-size: 1rem; font-weight: 400; color: var(--text-soft); }
.mobile-menu .m-group-title { color: var(--text-quiet); font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; border: none; padding-bottom: 4px; }
.mobile-menu .btn {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-top: 24px;
}

/* ============================================================
   Hero
   ============================================================ */
.hero { position: relative; padding: 148px 0 96px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-bg.purple { background: var(--hero-purple); }
.hero-bg.warm { background: var(--hero-warm); }
.hero-bg.teal { background: var(--hero-teal); }
.hero-bg.green { background: var(--hero-green); }
.hero-bg.amber { background: var(--hero-amber); }
.hero h1 { max-width: 15ch; }
.hero h1 .h1-line { display: block; padding: 0 0.08em 0.1em 0; margin: 0 -0.08em -0.1em 0; }
.hero .hero-sub { font-size: 1.22rem; color: #425466; max-width: 46ch; margin-top: 24px; line-height: 1.6; }
.hero .hero-cta { display: flex; gap: 14px; margin-top: 36px; flex-wrap: wrap; }
.hero-cta { display: flex; gap: 20px; flex-wrap: wrap; }

/* Home hero split */
.hero-home { padding: 150px 0 120px; }
.hero-grid { display: grid; grid-template-columns: 1.08fr 1fr; gap: 64px; align-items: center; }
.hero-visual { position: relative; min-height: 440px; display: grid; place-items: center; }
.hero-visual-illustration { min-height: 0; }
.hero-asset-wrap {
  width: min(680px, 100%);
  display: grid;
  place-items: center;
}
.hero-asset-image {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 24px 45px rgba(66, 41, 194, 0.18));
}


/* Plan dashboard card (hero visual anchor) */
.plan-wrap { position: relative; width: min(430px, 100%); }
.plan-card {
  width: 100%;
  background: #fff; border-radius: 16px; border: 1px solid var(--border-2);
  box-shadow: 0 20px 60px -12px rgba(0,55,112,.22), 0 6px 22px rgba(0,55,112,.08);
  overflow: hidden;
}
.plan-head { display: flex; align-items: center; gap: 12px; padding: 18px 20px; border-bottom: 1px solid var(--border-2); }
.plan-avatar {
  width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0;
  display: grid; place-items: center; color: #fff; font-weight: 600; font-size: 1rem;
  background: linear-gradient(135deg, #7f7dfc, #533afd);
}
.plan-head > div { flex-grow: 1; min-width: 0; }
.plan-head strong { display: block; font-size: .95rem; color: var(--ink); font-weight: 600; letter-spacing: -0.01em; }
.plan-head span { font-size: .8rem; color: var(--text-quiet); }
.plan-badge {
  flex-shrink: 0; font-size: .75rem; font-weight: 600; color: #16794a; background: #e5f6ee;
  padding: 4px 10px; border-radius: 999px;
}
.plan-rows { padding: 6px 0; }
.plan-row { display: flex; align-items: center; gap: 12px; padding: 13px 20px; }
.plan-row + .plan-row { border-top: 1px solid var(--surface-2); }
.pr-ic {
  width: 30px; height: 30px; border-radius: 8px; flex-shrink: 0;
  display: grid; place-items: center; font-size: .85rem; font-weight: 600;
}
.pr-ic.ok { background: #e5f6ee; color: #16794a; }
.pr-ic.grow { background: var(--purple-subdued); color: var(--purple); }
.pr-ic.warn { background: #fdf0dd; color: #b5771a; }
.pr-body { flex-grow: 1; min-width: 0; line-height: 1.3; }
.pr-body strong { display: block; font-size: .9rem; color: var(--ink); font-weight: 550; letter-spacing: -0.01em; }
.pr-body span { font-size: .78rem; color: var(--text-quiet); }
.pr-state { flex-shrink: 0; font-size: .76rem; font-weight: 500; color: var(--text-subdued); }
.pr-state.warn { color: #b5771a; }
.plan-foot {
  display: flex; align-items: center; gap: 14px; padding: 16px 20px;
  background: var(--surface-1); border-top: 1px solid var(--border-2);
  font-size: .82rem; color: var(--text-subdued);
}
.plan-foot strong { color: var(--ink); font-weight: 600; font-size: .9rem; }
.plan-meter { flex-grow: 1; height: 6px; border-radius: 999px; background: var(--border-2); overflow: hidden; }
.plan-meter i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, #7f7dfc, #533afd); }

/* Floating proof cards */
.proof-card {
  position: absolute; background: #fff; border-radius: 12px; box-shadow: var(--shadow-lift);
  padding: 14px 18px; display: flex; align-items: center; gap: 12px; border: 1px solid var(--border-2);
  will-change: transform;
}
.proof-card .pc-icon {
  width: 38px; height: 38px; border-radius: 9px; display: grid; place-items: center; flex-shrink: 0;
  font-size: 1.1rem;
}
.pc-green { background: #e5f6ee; color: #16794a; }
.pc-purple { background: var(--purple-subdued); color: var(--purple); }
.pc-amber { background: #fdf0dd; color: #b5771a; }
.proof-card .pc-text { line-height: 1.25; }
.proof-card .pc-text strong { display: block; font-size: .92rem; color: var(--ink); font-weight: 500; }
.proof-card .pc-text span { font-size: .8rem; color: var(--text-quiet); }
.pc1 { top: -44px; right: -26px; z-index: 2; }
.pc2 { bottom: -74px; left: -58px; z-index: 2; }
.pc3 { bottom: 8%; left: 10%; }
.pc4 { top: 20%; right: 20%; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.bob { animation: bob 7s var(--ease-in-out) infinite; }
.bob.d1 { animation-delay: -1.2s; animation-duration: 7.5s; }
.bob.d2 { animation-delay: -2.8s; animation-duration: 6.4s; }
.bob.d3 { animation-delay: -4s; animation-duration: 8s; }

.hero-illus-wrap { position: absolute; inset: 0; display: grid; place-items: center; }
.hero-illus-wrap img { width: 92%; max-width: 460px; }

/* ============================================================
   Partner marquee
   ============================================================ */
.marquee-section { padding: 40px 0 8px; }
.marquee-title { text-align: center; color: var(--text-quiet); font-size: .9rem; font-weight: 500; margin-bottom: 28px; }
.marquee { position: relative; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 60px; width: max-content; animation: marquee 42s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track img { height: 38px; width: auto; opacity: .55; transition: opacity var(--t-interactive); }
.marquee-track img:hover { opacity: 1; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Static partner row (service pages) */
.partner-row { display: flex; flex-wrap: wrap; gap: 44px; align-items: center; justify-content: center; }
.partner-row img { height: 34px; width: auto; opacity: .55; transition: opacity var(--t-interactive); }
.partner-row img:hover { opacity: 1; }

/* ============================================================
   Services grid
   ============================================================ */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.service-card { display: flex; flex-direction: column; gap: 14px; height: 100%; }
.service-card .sc-illus { height: 132px; display: grid; place-items: center; margin-bottom: 16px; background-color: transparent; }
.service-card .sc-illus img { height: 122px; width: auto; max-width: 100%; object-fit: contain; margin: 0; }
.service-card .sc-ic {
  width: 54px; height: 54px; border-radius: 15px; display: grid; place-items: center;
  background: linear-gradient(135deg, #eef0ff, #f7ecfe); color: var(--purple);
  border: 1px solid var(--purple-border); margin-bottom: 20px;
  transition: transform var(--t-interactive);
}
.service-card .sc-ic svg { width: 26px; height: 26px; }
.service-card:hover .sc-ic { transform: scale(1.06); }
.service-card h3 { color: var(--ink); }
.service-card p { font-size: .98rem; flex-grow: 1; }

/* ============================================================
   How it works (steps)
   ============================================================ */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step-card {
  position: relative; background: #fff; border: 1px solid var(--border-2); border-radius: 16px;
  padding: 26px 24px 28px; box-shadow: 0 10px 32px -18px rgba(6, 27, 49, .14);
  transition: transform var(--t-interactive), box-shadow var(--t-interactive);
}
.step-card:hover { transform: translateY(-4px); box-shadow: 0 22px 44px -20px rgba(6, 27, 49, .2); }
.step-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.step-ic {
  width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center;
  background: linear-gradient(135deg, #eef0ff, #f7ecfe); color: var(--purple);
  border: 1px solid var(--purple-border);
}
.step-ic svg { width: 22px; height: 22px; }
.step-tag {
  font-size: .7rem; font-weight: 600; text-transform: uppercase; letter-spacing: .09em;
  color: var(--purple); background: var(--purple-bg); border: 1px solid var(--purple-border);
  border-radius: 999px; padding: 5px 11px;
}
.step-card h3 { font-size: 1.14rem; color: var(--ink); margin-bottom: 8px; }
.step-card p { font-size: .95rem; }

/* ============================================================
   Stats band
   ============================================================ */
.stats-band { background: var(--navy-dark); color: #fff; padding: 76px 0; position: relative; overflow: hidden; }
.stats-band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(900px 500px at 80% -10%, rgba(83,58,253,.4), transparent 60%),
              radial-gradient(700px 500px at 10% 120%, rgba(127,125,252,.28), transparent 60%);
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; position: relative; }
.stat { text-align: center; }
.stat .stat-num { font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 600; color: #fff; letter-spacing: -0.03em; line-height: 1; }
.stat .stat-label { color: #a9b6cc; font-size: .98rem; margin-top: 10px; }

/* ============================================================
   Testimonials carousel
   ============================================================ */
.tm-marquee { position: relative; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.tm-track { display: flex; gap: 20px; width: max-content; padding: 6px 0 14px; animation: marquee 55s linear infinite; }
.tm-marquee:hover .tm-track { animation-play-state: paused; }
.tm-card {
  width: 350px; flex-shrink: 0; margin: 0; padding: 26px 26px 24px;
  border: 1px solid var(--border-2); border-radius: 14px;
  background: linear-gradient(180deg, var(--surface-1), #fff 75%);
  box-shadow: 0 10px 30px -22px rgba(6, 27, 49, .18);
}
.tm-head { display: flex; align-items: center; gap: 12px; }
.t-avatar {
  width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center;
  background: linear-gradient(135deg, #7f7dfc, #533afd); color: #fff; font-weight: 600; font-size: .88rem;
  letter-spacing: .02em;
}
.tm-card .t-author { font-size: .98rem; color: var(--ink); font-weight: 600; }
.tm-card .t-author span { display: block; color: var(--text-quiet); font-weight: 400; font-size: .85rem; margin-top: 2px; }
.tm-card blockquote { margin-top: 16px; font-size: .98rem; color: var(--text-soft); line-height: 1.6; text-wrap: pretty; }
@media (prefers-reduced-motion: reduce) { .tm-track, .marquee-track { animation: none; flex-wrap: wrap; } }

/* Product index sections */
.prod-intro { max-width: 640px; }
.prod-group { margin-top: 44px; }
.prod-group > h3 { font-size: .82rem; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: var(--text-quiet); padding-bottom: 12px; border-bottom: 1px solid var(--border-2); margin-bottom: 0; }
.prod-list { margin: 0; }
.prod-row { display: grid; grid-template-columns: 250px 1fr; gap: 8px 40px; padding: 16px 0; border-bottom: 1px solid var(--border-2); }
.prod-row dt { font-weight: 600; color: var(--ink); font-size: .98rem; }
.prod-row dd { margin: 0; color: var(--text-soft); font-size: .95rem; line-height: 1.6; }
.prod-note { margin-top: 22px; font-size: .95rem; color: var(--text-soft); }
.prod-note a { color: var(--purple, #533afd); font-weight: 500; }

/* ============================================================
   FAQ accordion
   ============================================================ */
.faq { max-width: 720px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border-1); }
.faq-q {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer; font-family: inherit;
  padding: 22px 0; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  font-size: 1.12rem; font-weight: 500; color: var(--ink); letter-spacing: -0.01em;
  transition: color var(--t-interactive);
}
.faq-q:hover { color: var(--purple); }
.faq-q .faq-icon { flex-shrink: 0; width: 22px; height: 22px; position: relative; transition: transform var(--t-interactive); }
.faq-q .faq-icon::before, .faq-q .faq-icon::after { content: ""; position: absolute; background: var(--purple); border-radius: 2px; }
.faq-q .faq-icon::before { top: 50%; left: 3px; right: 3px; height: 2px; transform: translateY(-50%); }
.faq-q .faq-icon::after { left: 50%; top: 3px; bottom: 3px; width: 2px; transform: translateX(-50%); transition: opacity var(--t-interactive); }
.faq-item.open .faq-q .faq-icon::after { opacity: 0; }
.faq-a { overflow: hidden; height: 0; transition: height 300ms var(--ease-in-out); }
.faq-a-inner { padding: 0 0 24px; color: var(--text-soft); font-size: 1.02rem; max-width: 62ch; }

/* ============================================================
   CTA band
   ============================================================ */
.cta-band { position: relative; overflow: hidden; padding: 100px 0; text-align: center; }
.cta-band .hero-bg { z-index: 0; }
.cta-band .container { position: relative; z-index: 1; }
.cta-band h2 { margin-bottom: 18px; }
.cta-band p { max-width: 520px; margin: 0 auto 30px; font-size: 1.15rem; }
.cta-band .hero-cta { justify-content: center; gap: 20px; }

/* ============================================================
   Feature / content sections
   ============================================================ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split.reverse .split-visual { order: -1; }
.split-visual { display: grid; place-items: center; }
.split-visual img { max-width: 420px; width: 100%; }
.split-visual,
.split-visual.tinted {
  background-color: transparent;
}
.split-visual.tinted {
  border-radius: 0;
  padding: 0;
}

.check-list { list-style: none; display: grid; gap: 14px; margin-top: 8px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--text-soft); }
.check-list li::before {
  content: ""; flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%;
  background: var(--purple-subdued) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23533afd' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center no-repeat;
  margin-top: 2px;
}
.check-list li strong { display: block; color: var(--ink); font-weight: 500; margin-bottom: 1px; }

/* Feature cards with icon */
.feature-card { display: flex; flex-direction: column; gap: 12px; height: 100%; }
.feature-card .fc-icon {
  width: 46px; height: 46px; border-radius: 11px; background: var(--purple-bg);
  display: grid; place-items: center; color: var(--purple); margin-bottom: 4px;
}
.feature-card .fc-icon svg { width: 24px; height: 24px; }
.feature-card h3 { color: var(--ink); }
.feature-card p { font-size: .98rem; flex-grow: 1; }
.feature-card .detail { font-size: .88rem; color: var(--text-quiet); border-top: 1px solid var(--border-2); padding-top: 12px; margin-top: 4px; }

/* Angled section (Stripe skew) */
.skew-section { position: relative; padding: 104px 0; }
.skew-bg { position: absolute; inset: 0; z-index: 0; }
.skew-bg.navy { background: var(--navy-dark); }
.skew-bg.surface { background: var(--surface-1); border-top: 1px solid var(--border-2); border-bottom: 1px solid var(--border-2); }
.skew-section .container, .skew-section .container-wide { position: relative; z-index: 1; }

/* Simple table */
.covered-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--r-card); overflow: hidden; box-shadow: var(--shadow-card); }
.covered-table th, .covered-table td { text-align: left; padding: 16px 20px; border-bottom: 1px solid var(--border-2); }
.covered-table th { background: var(--surface-1); color: var(--ink); font-weight: 500; font-size: .9rem; letter-spacing: .01em; }
.covered-table td { color: var(--text-soft); font-size: .98rem; }
.covered-table tr:last-child td { border-bottom: none; }
.covered-table td:first-child { color: var(--ink); font-weight: 500; }

/* Section header block */
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; }
.section-head h2 { margin: 14px 0 16px; }

/* pill badge */
.pill { display: inline-block; background: var(--purple-bg); color: var(--purple); border: 1px solid var(--purple-border); border-radius: 100px; padding: 5px 14px; font-size: .82rem; font-weight: 500; }

/* Single testimonial (service pages) */
.quote-block { background: var(--surface-1); border-left: 3px solid var(--purple); border-radius: 0 var(--r-card) var(--r-card) 0; padding: 32px 36px; max-width: 720px; }
.quote-block blockquote { font-size: 1.25rem; font-weight: 450; color: var(--ink); line-height: 1.5; letter-spacing: -0.01em; }
.quote-block .q-author { margin-top: 18px; font-weight: 500; color: var(--text-subdued); font-size: .95rem; }
.quote-block .q-author span { color: var(--text-quiet); font-weight: 400; }

/* ============================================================
   Article / editorial
   ============================================================ */
.article-hero { padding: 130px 0 40px; }
.article-hero .breadcrumb { color: var(--text-quiet); font-size: .9rem; margin-bottom: 20px; }
.article-hero .breadcrumb a { color: var(--text-subdued); }
.article-hero h1 { max-width: 18ch; font-size: clamp(2rem, 4vw, 3rem); }
.article-meta { color: var(--text-quiet); font-size: .92rem; margin-top: 20px; display: flex; gap: 16px; flex-wrap: wrap; }
.article-body { max-width: 680px; margin: 0 auto; padding: 40px 0 20px; font-size: 1.12rem; line-height: 1.75; }
.article-body h2 { font-size: 1.7rem; margin: 44px 0 16px; }
.article-body h3 { margin: 32px 0 12px; }
.article-body p { margin-bottom: 22px; color: #3d4a5c; }
.article-body ul { margin: 0 0 22px 0; padding-left: 0; list-style: none; display: grid; gap: 12px; }
.article-body ul li { position: relative; padding-left: 22px; }
.article-body ul li::before { content: ""; position: absolute; left: 2px; top: 12px; width: 6px; height: 6px; border-radius: 50%; background: var(--purple); }
.article-body .callout { background: var(--purple-bg); border: 1px solid var(--purple-border); border-radius: var(--r-card); padding: 22px 26px; margin: 30px 0; }
.article-body .callout p { margin: 0; color: var(--ink); }
.article-card .ac-tag { color: var(--purple); font-size: .82rem; font-weight: 500; margin-bottom: 10px; }
.article-card h3 { color: var(--ink); margin-bottom: 10px; }
.article-card p { font-size: .96rem; margin-bottom: 16px; }
.article-card.soon { background: var(--surface-1); border-style: dashed; display: grid; place-items: center; text-align: center; color: var(--text-quiet); box-shadow: none; }

/* ============================================================
   Contact form
   ============================================================ */
.form-grid { display: grid; gap: 18px; }
.field label { display: block; font-size: .92rem; font-weight: 500; color: var(--ink); margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--border-1); border-radius: 8px;
  font-family: inherit; font-size: 1rem; color: var(--ink); background: #fff;
  transition: border-color var(--t-interactive), box-shadow var(--t-interactive);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--purple); box-shadow: 0 0 0 3px var(--purple-subdued);
}
.field textarea { resize: vertical; min-height: 120px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-success {
  display: none; text-align: center; padding: 40px 20px;
}
.form-success.show { display: block; }
.form-submit-error {
  margin: 4px 0 0;
  padding: 12px 14px;
  border: 1px solid #f0b8b4;
  border-radius: 10px;
  background: #fff5f4;
  color: #8c2019;
  font-size: .88rem;
  line-height: 1.45;
}
.hp-field {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.form-success .fs-check {
  width: 64px; height: 64px; border-radius: 50%; background: #e5f6ee; color: #16794a;
  display: grid; place-items: center; margin: 0 auto 20px;
}
.contact-detail { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 22px; }
.contact-detail .cd-icon { width: 42px; height: 42px; border-radius: 10px; background: var(--purple-bg); color: var(--purple); display: grid; place-items: center; flex-shrink: 0; }
.contact-detail .cd-text strong { display: block; color: var(--ink); font-weight: 500; }
.contact-detail .cd-text a, .contact-detail .cd-text span { color: var(--text-soft); }

/* ============================================================
   Footer
   ============================================================ */
.footer { background: var(--navy-dark); color: #a9b6cc; padding: 72px 0 36px; }
.footer-top { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 40px; margin-bottom: 48px; }
.footer .brand .wordmark { color: #fff; }
.footer .brand .brand-mark {
  filter: none;
  background: #fff;
  border-radius: 50%;
  padding: 2px;
}
.footer-blurb { margin-top: 16px; font-size: .95rem; color: #8697b1; max-width: 30ch; }
.footer-contact { list-style: none; display: grid; gap: 8px; margin-top: 20px; font-size: .95rem; color: #8697b1; }
.footer-contact a { color: #a9b6cc; }
.footer-contact a:hover { color: #fff; }
.footer-col h4 { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .05em; font-weight: 500; margin-bottom: 16px; }
.footer-col ul { list-style: none; display: grid; gap: 10px; }
.footer-col a { color: #a9b6cc; font-size: .95rem; }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 28px; display: flex; flex-direction: column; gap: 16px; }
.footer-disclosure { font-size: .82rem; color: #75859e; line-height: 1.6; max-width: 900px; }
.footer-legal { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: .85rem; color: #75859e; }
.footer .wa-link { color: #a9b6cc; }

/* ============================================================
   Scroll reveal (opacity-only, no CLS)
   ============================================================ */
.reveal { opacity: 0; transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out); transform: translateY(16px); }
.reveal.in { opacity: 1; transform: none; }
.reveal-stagger > * { opacity: 0; transform: translateY(16px); transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out); }
.reveal-stagger.in > * { opacity: 1; transform: none; }
.reveal-stagger.in > *:nth-child(1) { transition-delay: 0ms; }
.reveal-stagger.in > *:nth-child(2) { transition-delay: 60ms; }
.reveal-stagger.in > *:nth-child(3) { transition-delay: 120ms; }
.reveal-stagger.in > *:nth-child(4) { transition-delay: 180ms; }
.reveal-stagger.in > *:nth-child(5) { transition-delay: 240ms; }
.reveal-stagger.in > *:nth-child(6) { transition-delay: 300ms; }

/* ============================================================
   Utilities
   ============================================================ */
.mt-8 { margin-top: 8px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; } .mt-32 { margin-top: 32px; } .mt-40 { margin-top: 40px; }
.mb-0 { margin-bottom: 0; }
.text-center { text-align: center; }
.maxw-560 { max-width: 560px; } .maxw-640 { max-width: 640px; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { min-height: 0; margin-top: 34px; }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .split.reverse .split-visual { order: 0; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 40px 24px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav-links, .nav-cta .btn { display: none; }
  .hamburger { display: block; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .section { padding: 68px 0; }
  .section-sm { padding: 48px 0; }
  .hero { padding: 120px 0 72px; }
  .hero-home { padding: 118px 0 80px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .tm-card { width: 300px; }
  .prod-row { grid-template-columns: 1fr; gap: 4px; }
  .skew-section { padding: 90px 0; }
  .marquee-track { gap: 40px; }
  .partner-row { gap: 30px; }
  .proof-card { padding: 11px 14px; }
  .proof-card .pc-text strong { font-size: .82rem; }
  .proof-card .pc-text span { font-size: .72rem; }
  .hero-visual { margin-top: 26px; }
  .hero-asset-wrap { width: min(580px, 100%); }
  .plan-wrap { display: flex; flex-direction: column; }
  .plan-card { order: 1; }
  .proof-card { position: static; width: fit-content; }
  .pc1 { order: 2; align-self: flex-end; margin-top: -12px; margin-right: -4px; }
  .pc2 { order: 3; align-self: flex-start; margin-top: 12px; margin-left: -4px; }
}
@media (max-width: 380px) {
  .stats-grid { grid-template-columns: 1fr; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; }
  .bob { animation: none !important; }
  .marquee-track { animation: none !important; }
  .reveal, .reveal-stagger > * { opacity: 1 !important; transform: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ---- QA fix: coverage table on small screens ---- */
@media (max-width: 480px) {
  .covered-table th, .covered-table td { padding: 10px 10px; font-size: .85rem; }
  .covered-table td { font-size: .88rem; }
}
.mobile-menu a.btn-primary, .mobile-menu a.btn-primary:hover { color: #fff; }

/* Legal and compliance pages */
.legal-page { background: var(--surface-1); }
.legal-hero {
  padding: 160px 0 72px;
  background:
    radial-gradient(circle at 78% 18%, rgba(124,58,237,.16), transparent 30%),
    linear-gradient(145deg, #fff 0%, #f5f2ff 100%);
  border-bottom: 1px solid var(--border-2);
}
.legal-hero h1 { max-width: 16ch; font-size: clamp(2.8rem, 6vw, 5.4rem); }
.legal-hero > .container > p:not(.legal-updated) { max-width: 680px; margin-top: 18px; font-size: 1.15rem; }
.legal-updated { margin-top: 24px; color: var(--text-quiet); font-size: .86rem; }
.legal-main { padding: 76px 0 110px; }
.legal-layout { display: grid; grid-template-columns: 220px minmax(0, 800px); gap: 72px; align-items: start; }
.legal-toc {
  position: sticky; top: 112px; display: grid; gap: 9px;
  padding: 20px; border: 1px solid var(--border-2); border-radius: 16px; background: #fff;
}
.legal-toc strong { margin-bottom: 7px; color: var(--ink); font-size: .86rem; text-transform: uppercase; letter-spacing: .08em; }
.legal-toc a { color: var(--text-subdued); font-size: .9rem; line-height: 1.35; }
.legal-toc a:hover { color: var(--purple); }
.legal-content { min-width: 0; }
.legal-content-wide { grid-column: 2; }
.legal-content section {
  padding: 0 0 38px; margin: 0 0 38px; border-bottom: 1px solid var(--border-1);
  scroll-margin-top: 110px;
}
.legal-content section:last-child { margin-bottom: 0; border-bottom: 0; }
.legal-content h2 { margin-bottom: 16px; font-size: clamp(1.55rem, 3vw, 2.1rem); letter-spacing: -.025em; }
.legal-content p, .legal-content li { color: var(--text-soft); font-size: 1rem; line-height: 1.78; }
.legal-content p + p { margin-top: 14px; }
.legal-content ul, .legal-content ol { display: grid; gap: 9px; margin: 14px 0 0 22px; }
.legal-content a { color: var(--purple); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.legal-details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.legal-details p, .legal-callout {
  margin: 0; padding: 16px 18px; border: 1px solid var(--border-2); border-radius: 13px; background: #fff;
}
.legal-callout { margin-bottom: 18px; border-color: var(--purple-border); background: var(--purple-bg); }
.legal-table-wrap { margin-top: 16px; overflow-x: auto; border: 1px solid var(--border-2); border-radius: 13px; background: #fff; }
.legal-table { width: 100%; min-width: 440px; border-collapse: collapse; }
.legal-table th, .legal-table td { text-align: left; vertical-align: top; padding: 13px 16px; border-bottom: 1px solid var(--border-2); font-size: .95rem; line-height: 1.62; }
.legal-table th { background: var(--surface-1); color: var(--ink); font-weight: 500; font-size: .86rem; letter-spacing: .01em; }
.legal-table td { color: var(--text-soft); }
.legal-table tr:last-child td { border-bottom: none; }
.legal-content .legal-table ul { margin: 0 0 0 17px; gap: 5px; }
.legal-content .legal-table li { font-size: .95rem; line-height: 1.62; }
@media (max-width: 860px) {
  .legal-hero { padding: 128px 0 58px; }
  .legal-main { padding: 54px 0 84px; }
  .legal-layout { grid-template-columns: 1fr; gap: 34px; }
  .legal-toc { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .legal-toc strong { grid-column: 1 / -1; }
  .legal-content-wide { grid-column: 1; }
}
@media (max-width: 520px) {
  .legal-hero h1 { font-size: 2.65rem; }
  .legal-table th, .legal-table td { padding: 11px 12px; font-size: .88rem; }
  .legal-content .legal-table li { font-size: .88rem; }
  .legal-toc, .legal-details { grid-template-columns: 1fr; }
  .legal-toc strong { grid-column: 1; }
}
