/* ==========================================================================
   Customer Connect — by Wholesale Payments
   Design system  ·  v2.0
   --------------------------------------------------------------------------
   1.  Tokens
   2.  Reset & base
   3.  Typography
   4.  Layout primitives
   5.  Buttons & pills
   6.  Header / navigation
   7.  Hero
   8.  Motion & reveal
   9.  Sections & components
   10. Pricing
   11. Editorial (blog / legal)
   12. Forms
   13. Footer
   14. Utilities
   15. Responsive
   ========================================================================== */

/* ==========================================================================
   1. TOKENS
   ========================================================================== */

:root {
  /* ------------------------------------------------------------------
     Brand — sampled directly from assets/logo.png (Wholesale Payments).
     Measured source colours:
       navy  #00115b   wordmark        17.06:1 on white
       blue  #0091ea   bar, upper       3.37:1  (large text / UI only)
       green #00c16e   bar, middle      2.37:1  (decorative only)
       mint  #51ed80   bar, lower       1.52:1  (decorative only)
       gray  #a3acb3   "payments"       2.31:1  (decorative only)
     Only the navy is legible as body text, so --wp-600 is a darkened
     blue tuned to clear 4.5:1 on white and on both tint washes.
     ------------------------------------------------------------------ */
  --wp-900: #000a2e;
  --wp-850: #000e42;
  --wp-800: #00115b; /* logo navy */
  --wp-750: #04206e;
  --wp-700: #005b95;
  --wp-600: #006eb3; /* AA-safe blue — links, eyebrows, icon text */
  --wp-500: #0091ea; /* logo blue */
  --wp-400: #35abf0;
  --wp-300: #8ccdf7;
  --wp-200: #c2e3fb;
  --wp-100: #e0f1fd;
  --wp-50:  #f1f8fe;

  /* The mark's green half */
  --gr-700: #007542; /* AA-safe green */
  --gr-600: #00a35d;
  --gr-500: #00c16e; /* logo emerald */
  --gr-400: #2ad989;
  --gr-300: #51ed80; /* logo mint */
  --gr-100: #d6f9e4;
  --gr-50:  #edfcf3;

  /* Star ratings keep a warm accent — a rating convention, not brand chrome */
  --gold-600: #d99414;
  --gold-500: #f2b233;
  --gold-100: #fdf3dd;

  /* Neutrals — cooled to sit under the navy */
  --ink:        #0b1220;
  --ink-soft:   #26324a;
  --muted:      #525f76;
  --muted-soft: #626f85; /* 4.50:1 even on --surface-3, so dates and notes pass AA */
  --line:       #dfe6ef;
  --line-soft:  #edf2f8;
  --surface:    #ffffff;
  --surface-2:  #f5f9fd;
  --surface-3:  #eaf2fa;

  /* Brand gradients — the run of the logo's own bar glyph, blue into green */
  --grad-brand:  linear-gradient(135deg, #0091ea 0%, #00c16e 58%, #51ed80 100%);
  --grad-brand-r:linear-gradient(135deg, #51ed80 0%, #00c16e 42%, #0091ea 100%);
  --grad-deep:   linear-gradient(160deg, #000a2e 0%, #00115b 50%, #063a7a 100%);
  --grad-text:   linear-gradient(96deg, #0091ea 0%, #00a35d 100%);
  --grad-sheen:  linear-gradient(115deg, rgba(255,255,255,0) 24%, rgba(255,255,255,.5) 50%, rgba(255,255,255,0) 74%);

  /* Typography — Apple system stack */
  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
               "Helvetica Neue", "Segoe UI Variable", "Segoe UI", Inter, Roboto,
               "Noto Sans", Ubuntu, Cantarell, "Open Sans", Arial, sans-serif;
  --font-mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Monaco,
               "Cascadia Mono", "Roboto Mono", Consolas, monospace;

  /* Radii */
  --r-xs: 8px;
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-2xl: 44px;
  --r-pill: 999px;

  /* Elevation — soft, tinted with brand green */
  --sh-xs: 0 1px 2px rgba(0, 17, 91, .06);
  --sh-sm: 0 2px 8px rgba(0, 17, 91, .07), 0 1px 2px rgba(0, 17, 91, .05);
  --sh-md: 0 10px 30px -12px rgba(0, 17, 91, .16), 0 2px 8px rgba(0, 17, 91, .06);
  --sh-lg: 0 28px 60px -24px rgba(0, 17, 91, .24), 0 8px 20px -12px rgba(0, 17, 91, .10);
  --sh-xl: 0 48px 100px -36px rgba(0, 17, 91, .30), 0 16px 40px -24px rgba(0, 17, 91, .16);
  --sh-brand: 0 14px 34px -12px rgba(0, 145, 234, .42);
  --sh-brand-lg: 0 22px 52px -16px rgba(0, 145, 234, .48);

  /* Motion — Apple-flavoured easings */
  --ease-out-expo:  cubic-bezier(.16, 1, .3, 1);
  --ease-out-quart: cubic-bezier(.25, 1, .5, 1);
  --ease-in-out:    cubic-bezier(.65, 0, .35, 1);
  --ease-spring:    cubic-bezier(.34, 1.56, .64, 1);
  --t-fast: 180ms;
  --t-base: 280ms;
  --t-slow: 620ms;
  --t-xslow: 900ms;

  /* Metrics */
  --shell: 1200px;
  --shell-wide: 1360px;
  --shell-narrow: 760px;
  --gutter: 24px;
  --header-h: 74px;
  --bar-h: 38px;
}

/* ==========================================================================
   2. RESET & BASE
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "kern" 1, "liga" 1, "cv11" 1;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.nav-locked { overflow: hidden; }

img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--wp-600); text-decoration: none; transition: color var(--t-fast) var(--ease-out-quart); }
a:hover { color: var(--wp-700); }
button { font: inherit; color: inherit; }
ul, ol { margin: 0; padding: 0; }
hr { border: 0; border-top: 1px solid var(--line); margin: 40px 0; }

::selection { background: var(--wp-200); color: var(--wp-800); }

:focus-visible {
  outline: 2px solid var(--wp-600);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Skip link */
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 999;
  background: var(--wp-900); color: #fff; padding: 12px 20px;
  border-radius: var(--r-pill); font-size: 14px; font-weight: 590;
  transition: top var(--t-base) var(--ease-out-expo);
}
.skip-link:focus { top: 16px; color: #fff; }

/* Scrollbar (WebKit) */
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: var(--surface-2); }
::-webkit-scrollbar-thumb {
  background: var(--wp-300); border-radius: var(--r-pill);
  border: 3px solid var(--surface-2);
}
::-webkit-scrollbar-thumb:hover { background: var(--wp-500); }

/* ==========================================================================
   3. TYPOGRAPHY
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-weight: 640;
  line-height: 1.08;
  letter-spacing: -0.028em;
  color: var(--ink);
  text-wrap: balance;
}

.t-display {
  font-size: clamp(2.65rem, 6.1vw, 4.55rem);
  line-height: 1.02;
  letter-spacing: -0.042em;
  font-weight: 660;
}
.t-h1 {
  font-size: clamp(2.25rem, 4.6vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: -0.036em;
}
.t-h2 {
  font-size: clamp(1.85rem, 3.3vw, 2.75rem);
  line-height: 1.09;
  letter-spacing: -0.031em;
}
.t-h3 {
  font-size: clamp(1.3rem, 1.9vw, 1.6rem);
  line-height: 1.2;
  letter-spacing: -0.024em;
}
.t-h4 { font-size: 1.16rem; line-height: 1.3; letter-spacing: -0.018em; }

.lede {
  font-size: clamp(1.06rem, 1.5vw, 1.28rem);
  line-height: 1.58;
  color: var(--muted);
  font-weight: 400;
  letter-spacing: -0.014em;
  text-wrap: pretty;
}
.body-lg { font-size: 1.06rem; line-height: 1.65; color: var(--muted); }
.body-sm { font-size: .94rem; line-height: 1.6; color: var(--muted); }
.micro {
  font-size: .74rem; font-weight: 640; letter-spacing: .1em;
  text-transform: uppercase; color: var(--wp-600);
}

.grad-text {
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ==========================================================================
   4. LAYOUT PRIMITIVES
   ========================================================================== */

.shell { width: 100%; max-width: var(--shell); margin-inline: auto; padding-inline: var(--gutter); }
.shell-wide { max-width: var(--shell-wide); }
.shell-narrow { max-width: var(--shell-narrow); }

.section { position: relative; padding: clamp(64px, 8.5vw, 120px) 0; }
.section-sm { padding: clamp(48px, 6vw, 80px) 0; }
.section-tight { padding: clamp(36px, 4vw, 56px) 0; }

.section-tint { background: var(--surface-2); }
.section-tint-2 { background: linear-gradient(180deg, var(--surface) 0%, var(--surface-3) 100%); }
.section-dark { background: var(--grad-deep); color: #fff; }
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 { color: #fff; }
.section-dark .lede, .section-dark .body-lg, .section-dark .body-sm { color: rgba(255,255,255,.72); }
.section-dark .micro { color: var(--wp-300); }

.section-head { max-width: 720px; margin: 0 auto clamp(40px, 5vw, 64px); text-align: center; }
.section-head.left { margin-inline: 0; text-align: left; }
.section-head .micro { display: block; margin-bottom: 14px; }
.section-head .lede { margin-top: 18px; }

.grid { display: grid; gap: 24px; }
.g-1 { grid-template-columns: minmax(0, 1fr); }
.g-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.g-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 5vw, 76px);
  align-items: center;
}
.split.tilt { grid-template-columns: 1.02fr .98fr; }

.stack-sm > * + * { margin-top: 10px; }
.stack > * + * { margin-top: 18px; }
.stack-lg > * + * { margin-top: 28px; }

/* Decorative background layers */
.bg-orbs { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.orb {
  position: absolute; border-radius: 50%;
  filter: blur(72px); opacity: .5;
  will-change: transform;
}
.orb-a { width: 560px; height: 560px; background: radial-gradient(circle, rgba(0,145,234,.55), transparent 66%); top: -6%; right: -4%; }
.orb-b { width: 460px; height: 460px; background: radial-gradient(circle, rgba(0,193,110,.45), transparent 66%); bottom: 2%; left: -4%; }
.orb-c { width: 340px; height: 340px; background: radial-gradient(circle, rgba(81,237,128,.30), transparent 66%); top: 38%; left: 44%; }

.bg-grid {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(10,21,18,.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(10,21,18,.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 78% 62% at 50% 34%, #000 32%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 78% 62% at 50% 34%, #000 32%, transparent 78%);
}
.section-dark .bg-grid {
  background-image:
    linear-gradient(to right, rgba(255,255,255,.055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.055) 1px, transparent 1px);
}
.section > .shell { position: relative; z-index: 1; }

/* ==========================================================================
   5. BUTTONS & PILLS
   ========================================================================== */

.btn {
  --btn-y: 14px;
  --btn-x: 26px;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: var(--btn-y) var(--btn-x);
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  font-size: .96rem; font-weight: 590; letter-spacing: -0.012em;
  line-height: 1; white-space: nowrap;
  cursor: pointer; overflow: hidden;
  isolation: isolate;
  transition: transform var(--t-base) var(--ease-out-expo),
              box-shadow var(--t-base) var(--ease-out-expo),
              background-color var(--t-base) var(--ease-out-quart),
              border-color var(--t-base) var(--ease-out-quart),
              color var(--t-base) var(--ease-out-quart);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.985); transition-duration: 90ms; }
.btn .ico { flex: 0 0 auto; width: 17px; height: 17px; transition: transform var(--t-base) var(--ease-out-expo); }
.btn:hover .ico-arrow { transform: translateX(4px); }

/* Primary — brand gradient with animated sheen */
.btn-primary {
  color: #fff;
  background: var(--grad-brand);
  background-size: 160% 160%;
  box-shadow: var(--sh-brand);
}
.btn-primary::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--grad-sheen);
  transform: translateX(-120%);
  transition: transform 780ms var(--ease-out-expo);
}
.btn-primary:hover { color: #fff; box-shadow: var(--sh-brand-lg); background-position: 100% 50%; }
.btn-primary:hover::after { transform: translateX(120%); }

/* Secondary — glassy outline */
.btn-ghost {
  color: var(--ink);
  background: rgba(255,255,255,.7);
  border-color: var(--line);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  box-shadow: var(--sh-xs);
}
.btn-ghost:hover { color: var(--wp-700); border-color: var(--wp-300); background: #fff; box-shadow: var(--sh-md); }

.btn-on-dark {
  color: #fff;
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.24);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.btn-on-dark:hover { color: var(--wp-900); background: #fff; border-color: #fff; }

.btn-solid-light { color: var(--wp-800); background: #fff; box-shadow: var(--sh-md); }
.btn-solid-light:hover { color: var(--wp-900); box-shadow: var(--sh-lg); }

.btn-quiet { color: var(--ink); background: transparent; padding-inline: 14px; }
.btn-quiet:hover { color: var(--wp-600); background: var(--wp-50); }

.btn-lg { --btn-y: 17px; --btn-x: 34px; font-size: 1.02rem; }
.btn-sm { --btn-y: 10px; --btn-x: 18px; font-size: .875rem; }
.btn-block { width: 100%; }

/* Text link with sliding underline */
.link-arrow {
  display: inline-flex; align-items: center; gap: 7px; min-height: 26px;
  font-weight: 590; font-size: .95rem; color: var(--wp-600);
  letter-spacing: -0.012em;
}
.link-arrow .ico { width: 15px; height: 15px; transition: transform var(--t-base) var(--ease-out-expo); }
.link-arrow:hover .ico { transform: translateX(5px); }

.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 15px 7px 11px;
  border-radius: var(--r-pill);
  background: var(--wp-50);
  border: 1px solid var(--wp-100);
  color: var(--wp-700);
  font-size: .8rem; font-weight: 590; letter-spacing: -0.006em;
}
.pill-dark {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.16);
  color: rgba(255,255,255,.9);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.pill .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--wp-500);
  box-shadow: 0 0 0 3px rgba(0,193,110,.28);
  animation: pulse-dot 2.4s var(--ease-in-out) infinite;
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 3px rgba(0,193,110,.28); }
  50%      { box-shadow: 0 0 0 7px rgba(0,193,110,0); }
}

.tag {
  display: inline-flex; align-items: center;
  padding: 5px 11px; border-radius: var(--r-xs);
  background: var(--wp-50); color: var(--wp-700);
  font-size: .72rem; font-weight: 620; letter-spacing: .02em;
  text-transform: uppercase;
}

/* ==========================================================================
   6. HEADER / NAVIGATION
   ========================================================================== */

.topbar {
  position: relative; z-index: 60;
  height: var(--bar-h);
  background: var(--wp-900);
  color: rgba(255,255,255,.78);
  font-size: .8rem;
  display: flex; align-items: center;
  overflow: hidden;
}
.topbar .shell { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.topbar a {
  color: rgba(255,255,255,.86); font-weight: 500;
  display: inline-flex; align-items: center; gap: 7px; white-space: nowrap;
}
.topbar a svg { width: 14px; height: 14px; opacity: .7; }
.topbar a:hover { color: #fff; }
.topbar-items { display: flex; align-items: center; gap: 22px; }
.topbar-items span { display: inline-flex; align-items: center; gap: 7px; }
.topbar-items svg { width: 14px; height: 14px; opacity: .7; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.72);
  backdrop-filter: saturate(180%) blur(22px);
  -webkit-backdrop-filter: saturate(180%) blur(22px);
  border-bottom: 1px solid transparent;
  transition: background var(--t-base) var(--ease-out-quart),
              border-color var(--t-base) var(--ease-out-quart),
              box-shadow var(--t-base) var(--ease-out-quart),
              height var(--t-base) var(--ease-out-expo);
}
.site-header.is-stuck {
  background: rgba(255,255,255,.9);
  border-bottom-color: var(--line-soft);
  box-shadow: 0 6px 26px -18px rgba(0,17,91,.28);
}
.header-inner {
  height: var(--header-h);
  display: flex; align-items: center; gap: 28px;
  transition: height var(--t-base) var(--ease-out-expo);
}
.site-header.is-stuck .header-inner { height: 64px; }

/* Brand lockup */
.brand { display: inline-flex; align-items: center; gap: 11px; flex: 0 0 auto; }
.brand:hover { color: inherit; }

/* Header: the supplied Wholesale Payments lockup, sized by height so the
   4.037:1 artwork keeps its aspect on every breakpoint. */
.brand-logo {
  height: 32px; width: auto; flex: 0 0 auto;
  transition: height var(--t-base) var(--ease-out-expo), opacity var(--t-fast);
}
.site-header.is-stuck .brand-logo { height: 28px; }
.brand:hover .brand-logo { opacity: .82; }
.brand-rule {
  width: 1px; height: 26px; flex: 0 0 auto;
  background: var(--line);
}
.brand-product {
  font-size: 1.02rem; font-weight: 640; letter-spacing: -0.028em;
  color: var(--wp-800); white-space: nowrap;
}

/* Footer / auth: the bar glyph alone — the navy wordmark cannot read on dark */
.brand-mark {
  height: 38px; width: auto; flex: 0 0 auto;
  transition: transform 520ms var(--ease-spring);
}
.brand:hover .brand-mark { transform: rotate(-6deg) scale(1.06); }
.brand-type { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name {
  font-size: 1.06rem; font-weight: 640; letter-spacing: -0.028em; color: var(--ink);
}
.brand-by {
  font-size: .585rem; font-weight: 620; letter-spacing: .105em;
  text-transform: uppercase; color: var(--wp-600); margin-top: 3px;
}
.brand-light .brand-name { color: #fff; }
.brand-light .brand-by { color: var(--wp-300); }

/* Primary nav */
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-item { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 14px; border-radius: var(--r-pill);
  font-size: .945rem; font-weight: 520; letter-spacing: -0.014em;
  color: var(--ink-soft); cursor: pointer;
  background: none; border: 0;
  transition: color var(--t-fast) var(--ease-out-quart), background var(--t-fast) var(--ease-out-quart);
}
.nav-link:hover, .nav-item.open > .nav-link { color: var(--wp-700); background: var(--wp-50); }
.nav-link[aria-current="page"] { color: var(--wp-600); font-weight: 590; }
.nav-link .chev {
  width: 11px; height: 11px; opacity: .55;
  transition: transform var(--t-base) var(--ease-out-expo);
}
.nav-item.open > .nav-link .chev { transform: rotate(180deg); opacity: .9; }

/* Mega panel */
.mega {
  position: absolute; top: calc(100% + 12px); left: 50%;
  transform: translate(-50%, 8px) scale(.985);
  width: min(860px, calc(100vw - 48px));
  padding: 26px;
  background: rgba(255,255,255,.94);
  backdrop-filter: saturate(180%) blur(26px);
  -webkit-backdrop-filter: saturate(180%) blur(26px);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-xl);
  opacity: 0; visibility: hidden;
  transition: opacity var(--t-base) var(--ease-out-quart),
              transform 420ms var(--ease-out-expo),
              visibility var(--t-base);
}
.nav-item.open > .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0) scale(1); }
.mega-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 26px 34px; }
.mega-col > .micro { display: block; padding-left: 12px; margin-bottom: 10px; }
.mega-link {
  display: flex; gap: 13px; align-items: flex-start;
  padding: 11px 12px; border-radius: var(--r-sm);
  transition: background var(--t-fast) var(--ease-out-quart), transform var(--t-fast) var(--ease-out-quart);
}
.mega-link:hover { background: var(--wp-50); transform: translateX(3px); }
.mega-ico {
  flex: 0 0 auto; width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 10px;
  background: var(--grad-brand); color: #fff;
  box-shadow: 0 6px 14px -8px rgba(0,145,234,.55);
}
.mega-ico svg { width: 18px; height: 18px; }
.mega-copy strong {
  display: block; font-size: .93rem; font-weight: 600;
  color: var(--ink); letter-spacing: -0.016em; margin-bottom: 2px;
}
.mega-copy span { display: block; font-size: .8rem; line-height: 1.45; color: var(--muted); }
.mega-foot {
  margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line-soft);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-size: .86rem; color: var(--muted);
}

.nav-actions { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }

/* Burger */
.burger {
  display: none; position: relative;
  width: 44px; height: 44px;
  border: 1px solid var(--line); border-radius: 12px;
  background: #fff; cursor: pointer; padding: 0;
  transition: border-color var(--t-fast), background var(--t-fast);
}
.burger:hover { border-color: var(--wp-300); }
.burger i {
  position: absolute; left: 50%; top: 50%;
  width: 18px; height: 2px; margin: -1px 0 0 -9px;
  border-radius: 2px; background: var(--ink);
  transition: transform 380ms var(--ease-out-expo), opacity 200ms;
}
.burger i:nth-child(1) { transform: translateY(-6px); }
.burger i:nth-child(3) { transform: translateY(6px); }
.burger.open i:nth-child(1) { transform: rotate(45deg); }
.burger.open i:nth-child(2) { opacity: 0; transform: scaleX(.3); }
.burger.open i:nth-child(3) { transform: rotate(-45deg); }

/* Mobile drawer */
.drawer {
  position: fixed; inset: 0; z-index: 45;
  background: #fff;
  padding: calc(var(--bar-h) + var(--header-h) + 22px) var(--gutter) 48px;
  overflow-y: auto;
  opacity: 0; visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 300ms var(--ease-out-quart), transform 420ms var(--ease-out-expo), visibility 300ms;
}
.drawer.open { opacity: 1; visibility: visible; transform: none; }
.drawer-group + .drawer-group { margin-top: 8px; border-top: 1px solid var(--line-soft); padding-top: 8px; }
.drawer-toggle {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 15px 4px; background: none; border: 0; cursor: pointer;
  font-size: 1.06rem; font-weight: 590; letter-spacing: -0.02em; color: var(--ink);
}
.drawer-toggle .chev { width: 14px; height: 14px; opacity: .5; transition: transform var(--t-base) var(--ease-out-expo); }
.drawer-group.open .drawer-toggle .chev { transform: rotate(180deg); }
.drawer-panel {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows 420ms var(--ease-out-expo);
}
.drawer-group.open .drawer-panel { grid-template-rows: 1fr; }
.drawer-panel > div { overflow: hidden; }
.drawer-panel a {
  display: block; padding: 11px 4px 11px 16px;
  font-size: .96rem; color: var(--muted); font-weight: 500;
  border-left: 2px solid var(--line);
}
.drawer-panel a:hover { color: var(--wp-600); border-left-color: var(--wp-400); }
.drawer-link {
  display: block; padding: 15px 4px;
  font-size: 1.06rem; font-weight: 590; letter-spacing: -0.02em; color: var(--ink);
}
.drawer-cta { margin-top: 26px; display: grid; gap: 12px; }

/* Scroll progress bar */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 100%;
  transform-origin: 0 50%; transform: scaleX(0);
  background: var(--grad-brand);
  z-index: 70; pointer-events: none;
}

/* ==========================================================================
   7. HERO
   ========================================================================== */

.hero {
  position: relative; overflow: hidden;
  padding: clamp(56px, 7vw, 96px) 0 clamp(64px, 8vw, 108px);
  background: linear-gradient(180deg, var(--wp-50) 0%, #fff 62%);
}
.hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.04fr .96fr;
  gap: clamp(32px, 4.5vw, 64px); align-items: center;
}
.hero-copy { max-width: 690px; } /* fits the longest rotator word; the lede keeps its own 540px measure */
.hero-title { margin: 22px 0 0; }
.hero .lede { margin-top: 22px; max-width: 540px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 34px; }

/* Rotating headline word.

   The gradient lives on each word, never on the container. `background-clip:
   text` builds its clip mask from every glyph in the subtree, so a gradient on
   the container paints through all four words at once — and a child's
   `opacity: 0` does not suppress it once Chrome promotes these transitioning
   children onto their own compositing layers. Software rasterisation hides the
   fault, GPU rasterisation shows every word stacked. Per-word clipping removes
   the shared mask entirely, and `visibility` keeps inactive words out of paint
   no matter which raster path runs. */
.rotator {
  display: inline-grid; vertical-align: bottom;
  max-width: 100%;
  overflow: hidden;
}
.rotator > span {
  grid-area: 1 / 1;
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  opacity: 0; visibility: hidden;
  transform: translateY(105%) rotate(3deg);
  transition: opacity 520ms var(--ease-out-quart), transform 720ms var(--ease-out-expo);
  white-space: nowrap;
}
.rotator > span.in { opacity: 1; visibility: visible; transform: none; }
.rotator > span.out {
  opacity: 0; visibility: visible;
  transform: translateY(-105%) rotate(-3deg);
}

/* Trust row */
.trust-row {
  display: flex; align-items: center; gap: 18px;
  margin-top: 36px; padding-top: 26px;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}
.avatars { display: flex; }
.avatars i {
  width: 36px; height: 36px; border-radius: 50%;
  border: 2.5px solid #fff; margin-left: -7px;
  display: grid; place-items: center;
  font-size: .7rem; font-weight: 680; color: #fff;
  font-style: normal; letter-spacing: -.02em;
  box-shadow: var(--sh-xs);
}
.avatars i:first-child { margin-left: 0; }
.avatars i:nth-child(1) { background: linear-gradient(140deg,#0091ea,#00c16e); }
.avatars i:nth-child(2) { background: linear-gradient(140deg,#005b95,#0091ea); }
.avatars i:nth-child(3) { background: linear-gradient(140deg,#51ed80,#005b95); }
.avatars i:nth-child(4) { background: linear-gradient(140deg,#00c16e,#51ed80); }
.trust-copy { font-size: .88rem; color: var(--muted); line-height: 1.45; }
.trust-copy strong { color: var(--ink); font-weight: 620; }
.stars { display: inline-flex; gap: 2px; color: var(--gold-500); }
.stars svg { width: 14px; height: 14px; }

/* Phone mockup */
.hero-visual { position: relative; display: grid; place-items: center; }
.phone {
  position: relative; z-index: 2;
  width: min(298px, 74vw); aspect-ratio: 298 / 596;
  border-radius: 46px;
  padding: 11px;
  background: linear-gradient(155deg, #1d2740 0%, #0a1024 48%, #243050 100%);
  box-shadow: var(--sh-xl), 0 0 0 1px rgba(255,255,255,.09) inset;
  animation: float-y 7.5s var(--ease-in-out) infinite;
}
@keyframes float-y {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50%      { transform: translateY(-16px) rotate(1deg); }
}
.phone-screen {
  position: relative; height: 100%; border-radius: 36px; overflow: hidden;
  background: linear-gradient(180deg, #f4f9fe 0%, #e8f1fb 100%);
  display: flex; flex-direction: column;
}
.phone-notch {
  position: absolute; top: 9px; left: 50%; transform: translateX(-50%);
  width: 86px; height: 24px; border-radius: var(--r-pill);
  background: #0a1024; z-index: 3;
}
.phone-bar {
  padding: 42px 16px 12px;
  background: rgba(255,255,255,.78);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
  display: flex; align-items: center; gap: 10px;
}
.phone-bar .pav {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--grad-brand); display: grid; place-items: center;
  color: #fff; font-size: .7rem; font-weight: 700;
}
.phone-bar > span > b { display: block; font-size: .8rem; font-weight: 620; letter-spacing: -.014em; }
.phone-bar > span > span { display: block; font-size: .66rem; color: var(--wp-600); font-weight: 560; }
.phone-thread {
  flex: 1; padding: 16px 14px; display: flex; flex-direction: column; gap: 10px;
  overflow: hidden;
}
.bubble {
  max-width: 84%; padding: 10px 14px;
  font-size: .78rem; line-height: 1.45; letter-spacing: -.01em;
  opacity: 0; transform: translateY(14px) scale(.94);
  animation: bubble-in 620ms var(--ease-out-expo) forwards;
}
.bubble.them {
  align-self: flex-start; background: #fff; color: var(--ink);
  border-radius: 18px 18px 18px 5px; box-shadow: var(--sh-sm);
}
.bubble.me {
  align-self: flex-end; color: #fff;
  background: var(--grad-brand);
  border-radius: 18px 18px 5px 18px;
  box-shadow: 0 6px 16px -8px rgba(0,145,234,.5);
}
.bubble b { font-weight: 640; }
@keyframes bubble-in { to { opacity: 1; transform: none; } }
.phone-thread .bubble:nth-child(1) { animation-delay: .35s; }
.phone-thread .bubble:nth-child(2) { animation-delay: .75s; }
.phone-thread .bubble:nth-child(3) { animation-delay: 1.15s; }
.phone-thread .bubble:nth-child(4) { animation-delay: 1.55s; }
.phone-thread .bubble:nth-child(5) { animation-delay: 1.95s; }
.typing {
  align-self: flex-start; display: flex; gap: 4px;
  padding: 12px 15px; background: #fff; border-radius: 18px 18px 18px 5px;
  box-shadow: var(--sh-sm);
  opacity: 0; animation: bubble-in 500ms var(--ease-out-expo) 2.4s forwards;
}
.typing i {
  width: 6px; height: 6px; border-radius: 50%; background: var(--wp-300);
  animation: typing-bounce 1.25s var(--ease-in-out) infinite;
}
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typing-bounce {
  0%, 60%, 100% { transform: translateY(0); opacity: .5; }
  30%           { transform: translateY(-5px); opacity: 1; }
}

/* Floating metric chips around the phone */
.chip {
  position: absolute; z-index: 3;
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px;
  background: rgba(255,255,255,.86);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border: 1px solid rgba(255,255,255,.7);
  border-radius: var(--r-md);
  box-shadow: var(--sh-lg);
  animation: float-y 6.4s var(--ease-in-out) infinite;
}
.chip-ico {
  width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center;
  background: var(--wp-50); color: var(--wp-600);
}
.chip-ico svg { width: 16px; height: 16px; }
.chip > span > b { display: block; font-size: .95rem; font-weight: 660; letter-spacing: -.024em; line-height: 1.1; }
.chip > span > span { display: block; font-size: .67rem; color: var(--muted); font-weight: 520; }
.chip-1 { top: 9%; left: -9%; animation-delay: .4s; }
.chip-2 { bottom: 13%; right: -11%; animation-delay: 1.4s; }
.chip-3 { top: 46%; right: -7%; animation-delay: 2.2s; }

/* Compact page hero (interior pages) */
.page-hero {
  position: relative; overflow: hidden;
  padding: clamp(52px, 6.5vw, 92px) 0 clamp(44px, 5.5vw, 72px);
  background: linear-gradient(180deg, var(--wp-50) 0%, #fff 100%);
  text-align: center;
}
.page-hero .lede { margin: 20px auto 0; max-width: 660px; }
.page-hero-cta { display: flex; justify-content: center; flex-wrap: wrap; gap: 13px; margin-top: 30px; }
.page-hero.left { text-align: left; }
.page-hero .orb, .article-hero .orb { opacity: .3; }
/* keep the glow boxes fully inside the section: overflow:hidden would otherwise
   slice the blurred halo into a visible straight edge */
.page-hero .orb-a, .article-hero .orb-a { width: 460px; height: 460px; top: -4%; right: -2%; }
.page-hero .orb-b, .article-hero .orb-b { width: 380px; height: 380px; bottom: 4%; left: -2%; }
.page-hero.left .lede { margin-inline: 0; }
.page-hero.left .page-hero-cta { justify-content: flex-start; }

/* ==========================================================================
   8. MOTION & REVEAL
   ========================================================================== */

[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity var(--t-slow) var(--ease-out-quart),
              transform var(--t-xslow) var(--ease-out-expo);
  transition-delay: var(--d, 0ms);
  will-change: opacity, transform;
}
[data-reveal="left"]  { transform: translateX(-32px); }
[data-reveal="right"] { transform: translateX(32px); }
[data-reveal="scale"] { transform: scale(.955); }
[data-reveal="blur"]  { filter: blur(10px); transform: translateY(18px); }
[data-reveal].in {
  opacity: 1; transform: none; filter: none;
}

/* Hero entrance choreography */
.anim-up { opacity: 0; transform: translateY(24px); animation: anim-up 900ms var(--ease-out-expo) forwards; }
@keyframes anim-up { to { opacity: 1; transform: none; } }
.d1 { animation-delay: 80ms; }
.d2 { animation-delay: 180ms; }
.d3 { animation-delay: 280ms; }
.d4 { animation-delay: 380ms; }
.d5 { animation-delay: 480ms; }
.d6 { animation-delay: 600ms; }

/* Page transition veil */
.page-veil {
  position: fixed; inset: 0; z-index: 200; pointer-events: none;
  background: var(--surface);
  opacity: 1;
  transition: opacity 520ms var(--ease-out-quart);
}
body.ready .page-veil { opacity: 0; }
body.leaving .page-veil { opacity: 1; pointer-events: all; transition-duration: 260ms; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  [data-reveal] { opacity: 1 !important; transform: none !important; filter: none !important; }
  .page-veil { display: none; }
}

/* ==========================================================================
   9. SECTIONS & COMPONENTS
   ========================================================================== */

/* --- Card base ------------------------------------------------------------ */
.card {
  position: relative;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-sm);
  transition: transform 420ms var(--ease-out-expo),
              box-shadow 420ms var(--ease-out-expo),
              border-color 420ms var(--ease-out-quart);
  overflow: hidden;
}
.card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  padding: 1px; opacity: 0;
  background: linear-gradient(140deg, var(--wp-400), transparent 42%, transparent 58%, var(--wp-700));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  transition: opacity 420ms var(--ease-out-quart);
  pointer-events: none;
}
.card-hover:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); border-color: transparent; }
.card-hover:hover::before { opacity: 1; }

/* Cursor-tracked glow */
.card-glow::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 0%), rgba(0,145,234,.12), transparent 62%);
  opacity: 0; transition: opacity 320ms var(--ease-out-quart);
  pointer-events: none;
}
.card-glow:hover::after { opacity: 1; }

/* --- Feature grid -------------------------------------------------------- */
.feature-card { padding: 30px 28px; }
.feature-ico {
  width: 50px; height: 50px; border-radius: 15px;
  display: grid; place-items: center; margin-bottom: 20px;
  background: linear-gradient(150deg, var(--wp-50), var(--wp-100));
  color: var(--wp-600);
  border: 1px solid var(--wp-100);
  transition: transform 480ms var(--ease-spring), background 380ms var(--ease-out-quart), color 380ms;
}
.feature-ico svg { width: 23px; height: 23px; }
.card-hover:hover .feature-ico {
  transform: scale(1.08) rotate(-5deg);
  background: var(--grad-brand); color: #fff; border-color: transparent;
}
.feature-card h3 { font-size: 1.1rem; letter-spacing: -.022em; margin-bottom: 9px; }
.feature-card p { margin: 0; font-size: .93rem; line-height: 1.6; color: var(--muted); }
.feature-num {
  position: absolute; top: 20px; right: 24px;
  font-size: 2.6rem; font-weight: 700; letter-spacing: -.05em;
  color: var(--wp-50); line-height: 1; z-index: 0;
  transition: color 420ms var(--ease-out-quart);
}
.card-hover:hover .feature-num { color: var(--wp-100); }

/* --- Pillars (What You Get) ---------------------------------------------- */
.pillar { padding: 32px 30px; display: flex; flex-direction: column; }
.pillar-badge {
  width: 46px; height: 46px; border-radius: 14px;
  background: var(--grad-brand); color: #fff;
  display: grid; place-items: center; margin-bottom: 20px;
  box-shadow: 0 10px 22px -12px rgba(0,145,234,.6);
  transition: transform 480ms var(--ease-spring);
}
.pillar-badge svg { width: 21px; height: 21px; }
.card-hover:hover .pillar-badge { transform: translateY(-3px) scale(1.06); }
.pillar h3 { font-size: 1.22rem; letter-spacing: -.026em; }
.pillar > p { margin: 10px 0 0; color: var(--muted); font-size: .96rem; }
.check-list { list-style: none; margin: 20px 0 0; display: grid; gap: 11px; }
.check-list li {
  display: flex; gap: 11px; align-items: flex-start;
  font-size: .93rem; line-height: 1.52; color: var(--ink-soft);
}
.check-list svg { flex: 0 0 auto; width: 18px; height: 18px; margin-top: 2px; color: var(--gr-700); }

/* --- Stats --------------------------------------------------------------- */
.stat-band { display: grid; gap: 20px; }
.stat {
  text-align: center; padding: 32px 22px;
  border-radius: var(--r-lg);
  background: rgba(255,255,255,.055);
  border: 1px solid rgba(255,255,255,.11);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  transition: transform 420ms var(--ease-out-expo), background 420ms;
}
.stat:hover { transform: translateY(-5px); background: rgba(255,255,255,.09); }
.stat > b {
  display: block;
  font-size: clamp(2.1rem, 4vw, 3.05rem);
  font-weight: 680; letter-spacing: -.045em; line-height: 1;
  background: linear-gradient(120deg, #fff 10%, var(--gr-300) 96%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat > b span { font: inherit; letter-spacing: inherit; color: inherit; }
.stat > span {
  display: block; margin-top: 11px;
  font-size: .88rem; font-weight: 540; letter-spacing: .008em;
  color: rgba(255,255,255,.68);
}
.stat > small { display: block; margin-top: 9px; font-size: .77rem; color: rgba(255,255,255,.44); line-height: 1.5; }

.stat-light { background: #fff; border: 1px solid var(--line-soft); box-shadow: var(--sh-sm); }
.stat-light > b { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat-light > span { color: var(--muted); }
.stat-light > small { color: var(--muted-soft); }

/* --- Marquee ------------------------------------------------------------- */
.marquee {
  position: relative; overflow: hidden;
  padding: 26px 0;
  mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}
.marquee-track { display: flex; width: max-content; animation: marquee 34s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee-item {
  display: flex; align-items: center; gap: 10px;
  padding: 0 34px;
  font-size: 1.02rem; font-weight: 620; letter-spacing: -.024em;
  color: var(--muted); white-space: nowrap;
  transition: color var(--t-base) var(--ease-out-quart);
}
.marquee-item:hover { color: var(--wp-700); }
.marquee-item svg { width: 20px; height: 20px; color: var(--wp-500); opacity: .9; }

/* --- Tabs (use cases) ---------------------------------------------------- */
.tabs { display: grid; grid-template-columns: 300px 1fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.tab-rail { position: relative; display: grid; gap: 4px; }
.tab-btn {
  position: relative; z-index: 1;
  display: flex; align-items: center; gap: 13px;
  width: 100%; padding: 15px 18px;
  background: none; border: 0; border-radius: var(--r-md);
  text-align: left; cursor: pointer;
  font-size: 1rem; font-weight: 560; letter-spacing: -.018em; color: var(--muted);
  transition: color var(--t-base) var(--ease-out-quart);
}
.tab-btn .t-ico {
  width: 34px; height: 34px; flex: 0 0 auto; border-radius: 10px;
  display: grid; place-items: center;
  background: var(--surface-3); color: var(--wp-600);
  transition: background var(--t-base), color var(--t-base), transform 480ms var(--ease-spring);
}
.tab-btn .t-ico svg { width: 17px; height: 17px; }
.tab-btn:hover { color: var(--ink); }
.tab-btn[aria-selected="true"] { color: var(--wp-800); font-weight: 620; }
.tab-btn[aria-selected="true"] .t-ico { background: var(--grad-brand); color: #fff; transform: scale(1.05); }
.tab-ind {
  position: absolute; left: 0; z-index: 0;
  width: 100%; border-radius: var(--r-md);
  background: #fff; box-shadow: var(--sh-md);
  border: 1px solid var(--line-soft);
  transition: transform 520ms var(--ease-out-expo), height 520ms var(--ease-out-expo);
}
.tab-panels { position: relative; }
.tab-panel {
  display: none;
  padding: clamp(28px, 3.4vw, 44px);
  background: #fff; border: 1px solid var(--line-soft);
  border-radius: var(--r-xl); box-shadow: var(--sh-md);
}
.tab-panel.active { display: block; animation: panel-in 620ms var(--ease-out-expo); }
@keyframes panel-in { from { opacity: 0; transform: translateY(14px) scale(.99); } }
.tab-panel h3 { font-size: clamp(1.35rem, 2.2vw, 1.85rem); letter-spacing: -.03em; }
.tab-panel > p { margin: 14px 0 0; font-size: 1.04rem; line-height: 1.62; color: var(--muted); }
.tab-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }

/* --- Showcase (alternating split rows) ----------------------------------- */
.showcase + .showcase { margin-top: clamp(56px, 7vw, 100px); }
.showcase.flip .showcase-visual { order: -1; }
.showcase-copy h2 { margin-bottom: 18px; }
.showcase-copy .link-arrow { margin-top: 24px; }
.showcase-visual { position: relative; }

/* Faux dashboard panel */
.panel-mock {
  position: relative;
  padding: 18px;
  background: linear-gradient(160deg, #fff, var(--surface-2));
  border: 1px solid var(--line-soft);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-lg);
  transition: transform 620ms var(--ease-out-expo);
}
.panel-mock:hover { transform: translateY(-6px) rotateX(2deg); }
.panel-bar { display: flex; align-items: center; gap: 6px; padding: 0 4px 14px; }
.panel-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.panel-bar i:nth-child(1) { background: #ff6058; }
.panel-bar i:nth-child(2) { background: #ffbe2f; }
.panel-bar i:nth-child(3) { background: #2aca41; }
.panel-bar span { margin-left: auto; font-size: .7rem; color: var(--muted-soft); font-weight: 560; }
.panel-body { background: #fff; border-radius: var(--r-md); border: 1px solid var(--line-soft); padding: 20px; }
.panel-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.panel-row + .panel-row { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line-soft); }
.panel-row .pl { display: flex; align-items: center; gap: 11px; }
.panel-row .pl i {
  width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center;
  background: var(--wp-50); color: var(--wp-600);
}
.panel-row .pl i svg { width: 15px; height: 15px; }
.panel-row .pl > span > b { display: block; font-size: .86rem; font-weight: 600; letter-spacing: -.014em; }
.panel-row .pl > span > span { display: block; font-size: .72rem; color: var(--muted); }
.panel-row .pv { font-size: .92rem; font-weight: 660; letter-spacing: -.022em; color: var(--wp-700); }

/* Animated bar chart */
.chart { display: flex; align-items: flex-end; gap: 9px; height: 132px; margin-top: 18px; }
.chart i {
  flex: 1; border-radius: 6px 6px 3px 3px;
  background: linear-gradient(180deg, var(--wp-400), var(--wp-600));
  transform: scaleY(0); transform-origin: bottom;
  transition: transform 900ms var(--ease-out-expo);
  transition-delay: var(--d, 0ms);
  opacity: .35;
}
.chart i.tall { background: linear-gradient(180deg, var(--wp-500), var(--wp-700)); opacity: 1; }
.in .chart i, .chart.in i { transform: scaleY(1); }

/* Ring progress */
.ring { display: grid; place-items: center; position: relative; }
.ring svg { width: 100%; max-width: 190px; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 11; stroke-linecap: round; }
.ring .track { stroke: var(--surface-3); }
.ring .bar {
  stroke: url(#ringGrad);
  stroke-dasharray: var(--circ, 440);
  stroke-dashoffset: var(--circ, 440);
  transition: stroke-dashoffset 1500ms var(--ease-out-expo);
}
.ring.in .bar { stroke-dashoffset: var(--off, 88); }
.ring-label { position: absolute; text-align: center; }
.ring-label b { display: block; font-size: 1.9rem; font-weight: 680; letter-spacing: -.04em; color: var(--wp-700); }
.ring-label span { font-size: .76rem; color: var(--muted); font-weight: 560; }

/* --- Steps --------------------------------------------------------------- */
.steps { position: relative; display: grid; gap: 24px; }
.steps.g-3::before {
  content: ""; position: absolute; top: 33px; left: 12%; right: 12%; height: 2px;
  background: repeating-linear-gradient(90deg, var(--wp-200) 0 8px, transparent 8px 16px);
  z-index: 0;
}
.step { position: relative; z-index: 1; text-align: center; padding: 0 12px; }
.step-num {
  width: 66px; height: 66px; margin: 0 auto 22px;
  border-radius: 22px; display: grid; place-items: center;
  font-size: 1.4rem; font-weight: 680; letter-spacing: -.04em; color: #fff;
  background: var(--grad-brand);
  box-shadow: var(--sh-brand);
  position: relative;
  transition: transform 520ms var(--ease-spring);
}
.step-num::after {
  content: ""; position: absolute; inset: -7px; border-radius: 28px;
  border: 1.5px solid var(--wp-200);
  opacity: 0; transform: scale(.9);
  transition: opacity 420ms, transform 520ms var(--ease-out-expo);
}
.step:hover .step-num { transform: translateY(-4px) scale(1.04); }
.step:hover .step-num::after { opacity: 1; transform: scale(1); }
.step h3 { font-size: 1.1rem; letter-spacing: -.022em; margin-bottom: 9px; }
.step p { margin: 0; font-size: .93rem; color: var(--muted); line-height: 1.58; }

/* --- Industry chips ------------------------------------------------------ */
.industry {
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  padding: 26px 16px; text-align: center;
  background: #fff; border: 1px solid var(--line-soft);
  border-radius: var(--r-md); box-shadow: var(--sh-xs);
  transition: transform 400ms var(--ease-out-expo), box-shadow 400ms, border-color 400ms;
}
.industry:hover { transform: translateY(-5px); box-shadow: var(--sh-md); border-color: var(--wp-200); }
.industry i {
  width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center;
  background: var(--wp-50); color: var(--wp-600);
  transition: background 380ms, color 380ms, transform 480ms var(--ease-spring);
}
.industry i svg { width: 22px; height: 22px; }
.industry:hover i { background: var(--grad-brand); color: #fff; transform: rotate(-6deg) scale(1.06); }
.industry b { font-size: .93rem; font-weight: 600; letter-spacing: -.016em; }

/* --- Testimonials -------------------------------------------------------- */
.quotes {
  display: grid; grid-auto-flow: column;
  grid-auto-columns: minmax(min(340px, 84vw), 1fr);
  gap: 22px;
  overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 6px 4px 26px;
  scrollbar-width: none;
}
.quotes::-webkit-scrollbar { display: none; }
.quote {
  scroll-snap-align: start;
  display: flex; flex-direction: column;
  padding: 34px 32px;
  background: #fff; border: 1px solid var(--line-soft);
  border-radius: var(--r-xl); box-shadow: var(--sh-sm);
  transition: transform 420ms var(--ease-out-expo), box-shadow 420ms;
}
.quote:hover { transform: translateY(-5px); box-shadow: var(--sh-lg); }
.quote-mark { font-size: 3.2rem; line-height: .7; color: var(--wp-200); font-weight: 700; margin-bottom: 14px; }
.quote blockquote {
  margin: 0; flex: 1;
  font-size: 1rem; line-height: 1.68; color: var(--ink-soft);
  letter-spacing: -.012em;
}
.quote-by { display: flex; align-items: center; gap: 13px; margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line-soft); }
.quote-by .qav {
  width: 44px; height: 44px; border-radius: 50%; flex: 0 0 auto;
  display: grid; place-items: center; color: #fff;
  font-size: .92rem; font-weight: 680; letter-spacing: -.02em;
  background: var(--grad-brand);
}
.quote-by > span > b { display: block; font-size: .95rem; font-weight: 620; letter-spacing: -.018em; }
.quote-by > span > span { display: block; font-size: .82rem; color: var(--muted); }
.quotes-nav { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 6px; }
.quotes-nav[hidden] { display: none; }
.qnav {
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--line); background: #fff; cursor: pointer;
  display: grid; place-items: center; color: var(--ink);
  transition: transform var(--t-base) var(--ease-out-expo), border-color var(--t-base), box-shadow var(--t-base), color var(--t-base);
}
.qnav svg { width: 17px; height: 17px; }
.qnav:hover { transform: scale(1.07); border-color: var(--wp-400); color: var(--wp-600); box-shadow: var(--sh-md); }
.qnav:disabled { opacity: .35; cursor: default; transform: none; }
.qdots { display: flex; gap: 7px; }
.qdots i {
  width: 7px; height: 7px; border-radius: 50%; background: var(--line);
  transition: width var(--t-base) var(--ease-out-expo), background var(--t-base);
}
.qdots i.on { width: 26px; border-radius: var(--r-pill); background: var(--wp-500); }

/* --- FAQ / accordion ----------------------------------------------------- */
.faq { display: grid; gap: 12px; }
.faq-item {
  background: #fff; border: 1px solid var(--line-soft);
  border-radius: var(--r-md); overflow: hidden;
  transition: border-color var(--t-base), box-shadow var(--t-base), background var(--t-base);
}
.faq-item.open { border-color: var(--wp-200); box-shadow: var(--sh-md); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 21px 24px; background: none; border: 0; cursor: pointer; text-align: left;
  font-size: 1.04rem; font-weight: 590; letter-spacing: -.02em; color: var(--ink);
}
.faq-q:hover { color: var(--wp-700); }
.faq-ico {
  flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--wp-50); color: var(--wp-600);
  transition: transform 420ms var(--ease-out-expo), background var(--t-base), color var(--t-base);
}
.faq-ico svg { width: 14px; height: 14px; }
.faq-item.open .faq-ico { transform: rotate(45deg); background: var(--grad-brand); color: #fff; }
.faq-a {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows 460ms var(--ease-out-expo);
}
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; }
.faq-a .inner { padding: 0 24px 24px; color: var(--muted); font-size: .98rem; line-height: 1.68; }
.faq-a .inner p { margin: 0 0 12px; }
.faq-a .inner p:last-child { margin-bottom: 0; }
.faq-a .inner strong { color: var(--ink); font-weight: 620; }
.faq-a .inner ul { list-style: none; display: grid; gap: 10px; margin-top: 4px; }
.faq-a .inner ul li { display: flex; gap: 10px; }
.faq-a .inner ul li::before { content: ""; flex: 0 0 auto; width: 6px; height: 6px; margin-top: 9px; border-radius: 50%; background: var(--wp-400); }

/* --- Resource / blog cards ---------------------------------------------- */
.post-card {
  display: flex; flex-direction: column; overflow: hidden;
  background: #fff; border: 1px solid var(--line-soft);
  border-radius: var(--r-lg); box-shadow: var(--sh-sm);
  transition: transform 420ms var(--ease-out-expo), box-shadow 420ms, border-color 420ms;
}
.post-card:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); border-color: var(--wp-200); }
.post-thumb {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden;
  background: var(--grad-brand);
  display: grid; place-items: center;
}
.post-thumb::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 78% 22%, rgba(255,255,255,.3), transparent 46%),
    linear-gradient(150deg, rgba(255,255,255,.14), transparent 58%);
}
.post-thumb svg { width: 54px; height: 54px; color: rgba(255,255,255,.9); position: relative; z-index: 1; transition: transform 620ms var(--ease-out-expo); }
.post-card:hover .post-thumb svg { transform: scale(1.12) rotate(-6deg); }
.post-thumb .post-cat {
  position: absolute; z-index: 2; top: 14px; left: 14px;
  padding: 5px 11px; border-radius: var(--r-pill);
  background: rgba(255,255,255,.92);
  font-size: .69rem; font-weight: 640; letter-spacing: .04em; text-transform: uppercase;
  color: var(--wp-700);
}
.post-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.post-body time { font-size: .78rem; color: var(--muted-soft); font-weight: 540; letter-spacing: .01em; }
.post-body h3 { margin: 10px 0 0; font-size: 1.13rem; line-height: 1.32; letter-spacing: -.022em; }
.post-card:hover .post-body h3 { color: var(--wp-700); }
.post-body p { margin: 12px 0 0; font-size: .92rem; line-height: 1.6; color: var(--muted); }
.post-body .link-arrow { margin-top: 20px; }

/* Featured post (wide) */
.post-feature { display: grid; grid-template-columns: 1.1fr 1fr; }
.post-feature .post-thumb { aspect-ratio: auto; height: 100%; min-height: 300px; }
.post-feature .post-body { padding: clamp(28px, 3.4vw, 44px); justify-content: center; }
.post-feature h3 { font-size: clamp(1.4rem, 2.4vw, 2rem); line-height: 1.16; }

/* --- CTA band ------------------------------------------------------------ */
.cta-band { position: relative; overflow: hidden; padding: clamp(64px, 8vw, 108px) 0; background: var(--grad-deep); }
.cta-band .shell { position: relative; z-index: 1; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band h2 em { font-style: normal; display: block; }
.cta-band .lede { color: rgba(255,255,255,.7); margin: 20px auto 0; max-width: 560px; }
.cta-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.cta-note { margin-top: 22px; font-size: .84rem; color: rgba(255,255,255,.5); }
.cta-glow {
  position: absolute; z-index: 0; inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 50% 108%, rgba(0,193,110,.38), transparent 62%),
    radial-gradient(ellipse 44% 44% at 12% -8%, rgba(0,193,110,.45), transparent 60%);
}

/* --- Contact strip ------------------------------------------------------- */
.contact-cards { display: grid; gap: 18px; }
.contact-card {
  display: flex; align-items: center; gap: 16px;
  padding: 22px 24px;
  background: #fff; border: 1px solid var(--line-soft);
  border-radius: var(--r-md); box-shadow: var(--sh-xs);
  transition: transform 400ms var(--ease-out-expo), box-shadow 400ms, border-color 400ms;
}
.contact-card:hover { transform: translateY(-4px); box-shadow: var(--sh-md); border-color: var(--wp-200); }
.contact-card i {
  width: 46px; height: 46px; flex: 0 0 auto; border-radius: 14px;
  display: grid; place-items: center; background: var(--wp-50); color: var(--wp-600);
  transition: background 380ms, color 380ms;
}
.contact-card:hover i { background: var(--grad-brand); color: #fff; }
.contact-card i svg { width: 21px; height: 21px; }
.contact-card > span > b { display: block; font-size: .96rem; font-weight: 620; letter-spacing: -.018em; }
.contact-card > span > span { display: block; font-size: .86rem; color: var(--muted); margin-top: 2px; }

/* ==========================================================================
   10. PRICING
   ========================================================================== */

.bill-toggle {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px; margin: 0 auto;
  background: var(--surface-3); border-radius: var(--r-pill);
  border: 1px solid var(--line-soft);
  position: relative;
}
.bill-toggle button {
  position: relative; z-index: 1;
  padding: 10px 22px; border: 0; background: none; cursor: pointer;
  border-radius: var(--r-pill);
  font-size: .9rem; font-weight: 590; letter-spacing: -.014em; color: var(--muted);
  transition: color var(--t-base) var(--ease-out-quart);
}
.bill-toggle button[aria-pressed="true"] { color: var(--wp-800); }
.bill-toggle .knob {
  position: absolute; z-index: 0; top: 5px; bottom: 5px; left: 5px;
  border-radius: var(--r-pill); background: #fff; box-shadow: var(--sh-sm);
  transition: transform 520ms var(--ease-out-expo), width 520ms var(--ease-out-expo);
}
.save-badge {
  margin-left: 6px; padding: 3px 8px; border-radius: var(--r-pill);
  background: var(--wp-100); color: var(--wp-700);
  font-size: .68rem; font-weight: 660; letter-spacing: .01em;
}

.plans { display: grid; gap: 22px; align-items: start; }
.plan {
  position: relative; padding: 32px 28px;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-xl); box-shadow: var(--sh-sm);
  display: flex; flex-direction: column;
  transition: transform 440ms var(--ease-out-expo), box-shadow 440ms, border-color 440ms;
}
.plan:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); border-color: var(--wp-200); }
.plan.featured {
  border-color: transparent;
  box-shadow: var(--sh-lg);
  background:
    linear-gradient(#fff, #fff) padding-box,
    var(--grad-brand) border-box;
  border: 2px solid transparent;
}
.plan.featured::before {
  content: "Most popular";
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  padding: 6px 16px; border-radius: var(--r-pill);
  background: var(--grad-brand); color: #fff;
  font-size: .71rem; font-weight: 660; letter-spacing: .05em; text-transform: uppercase;
  box-shadow: var(--sh-brand); white-space: nowrap;
}
.plan-name { font-size: .78rem; font-weight: 680; letter-spacing: .11em; text-transform: uppercase; color: var(--wp-600); }
.plan-price { display: flex; align-items: baseline; gap: 5px; margin-top: 16px; }
.plan-price .amt {
  font-size: clamp(2.3rem, 3.6vw, 2.95rem); font-weight: 680;
  letter-spacing: -.048em; line-height: 1; color: var(--ink);
}
.plan-price .amt span.flash { animation: price-flash 520ms var(--ease-out-expo); }
@keyframes price-flash {
  0%   { opacity: 0; transform: translateY(-40%) scale(.94); filter: blur(4px); }
  100% { opacity: 1; transform: none; filter: none; }
}
.plan-price .amt span { display: inline-block; }
.plan-price .per { font-size: .93rem; color: var(--muted); font-weight: 540; }
.plan-was { margin-top: 8px; font-size: .84rem; color: var(--muted-soft); }
.plan-was s { text-decoration-thickness: 1.5px; }
.plan-was em { font-style: normal; color: var(--wp-600); font-weight: 620; }
.plan-credits {
  margin-top: 20px; padding: 16px 18px;
  background: var(--surface-2); border-radius: var(--r-sm);
  border: 1px solid var(--line-soft);
}
.plan-credits b { display: block; font-size: 1.16rem; font-weight: 660; letter-spacing: -.028em; }
.plan-credits span { display: block; font-size: .8rem; color: var(--muted); margin-top: 2px; }
.plan-credits .rate { margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--line); font-size: .8rem; color: var(--muted); }
.plan-credits .rate strong { color: var(--ink-soft); font-weight: 620; }
.plan .btn { margin-top: 24px; }
.plan-note { margin-top: 14px; font-size: .78rem; color: var(--muted-soft); text-align: center; }

/* Comparison table */
.compare-wrap {
  border: 1px solid var(--line-soft); border-radius: var(--r-lg);
  background: #fff; box-shadow: var(--sh-sm);
  overflow-x: auto;
}
table.compare { width: 100%; border-collapse: collapse; min-width: 660px; font-size: .92rem; }
table.compare th, table.compare td { padding: 15px 20px; text-align: left; vertical-align: middle; }
table.compare thead th {
  background: var(--surface-2);
  border-bottom: 1px solid var(--line);
  font-size: .8rem; font-weight: 680; letter-spacing: .08em; text-transform: uppercase; color: var(--wp-600);
}
table.compare thead th:not(:first-child) { text-align: center; }
table.compare tbody td:not(:first-child) { text-align: center; }
table.compare tr.group td {
  background: var(--surface-2);
  font-size: .76rem; font-weight: 680; letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
  border-block: 1px solid var(--line-soft);
}
table.compare tbody tr:not(.group) { border-bottom: 1px solid var(--line-soft); transition: background var(--t-fast); }
table.compare tbody tr:not(.group):hover { background: var(--wp-50); }
table.compare tbody tr:last-child { border-bottom: 0; }
table.compare td:first-child { font-weight: 500; color: var(--ink-soft); }
.tick { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--gr-100); color: var(--gr-700); }
.tick svg { width: 13px; height: 13px; }
.dash { color: var(--muted-soft); }
.cell-note { display: block; font-size: .78rem; color: var(--muted); margin-top: 3px; }

/* ==========================================================================
   11. EDITORIAL (blog / legal / docs)
   ========================================================================== */

.article-hero {
  padding: clamp(44px, 5.5vw, 76px) 0 clamp(28px, 3vw, 40px);
  background: linear-gradient(180deg, var(--wp-50), #fff);
  position: relative; overflow: hidden;
}
.crumbs { display: flex; align-items: center; gap: 9px; font-size: .82rem; color: var(--muted-soft); flex-wrap: wrap; }
.crumbs a { color: var(--muted); font-weight: 520; }
.crumbs a:hover { color: var(--wp-600); }
.crumbs svg { width: 12px; height: 12px; opacity: .5; }
.article-meta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 22px; font-size: .87rem; color: var(--muted); }
.article-meta .sep { width: 4px; height: 4px; border-radius: 50%; background: var(--line); }

.article-layout {
  display: grid; grid-template-columns: minmax(0, 1fr) 300px;
  gap: clamp(36px, 5vw, 68px);
  align-items: start;
}

.prose { font-size: 1.06rem; line-height: 1.76; color: var(--ink-soft); max-width: 72ch; }
/* reset first, then re-space: a later `.prose p` rule would otherwise out-specify
   the sibling selector and collapse every paragraph gap */
.prose > * { margin-block: 0; }
.prose > * + * { margin-top: 1.15em; }
.prose h2 {
  font-size: clamp(1.45rem, 2.3vw, 1.85rem); letter-spacing: -.028em;
  margin-top: 2em; margin-bottom: .55em; scroll-margin-top: calc(var(--header-h) + 24px);
}
.prose h3 {
  font-size: clamp(1.16rem, 1.7vw, 1.35rem); letter-spacing: -.022em;
  margin-top: 1.7em; margin-bottom: .5em; scroll-margin-top: calc(var(--header-h) + 24px);
}
.prose h4 { font-size: 1.06rem; margin-top: 1.5em; margin-bottom: .4em; }
.prose strong { color: var(--ink); font-weight: 620; }
.prose a { font-weight: 540; text-decoration: underline; text-decoration-color: var(--wp-200); text-underline-offset: 3px; text-decoration-thickness: 2px; }
.prose a:hover { text-decoration-color: var(--wp-500); }
.prose ul, .prose ol { padding-left: 0; list-style: none; display: grid; gap: 12px; }
.prose ol { counter-reset: li; }
.prose li { display: flex; gap: 13px; }
.prose ul > li::before {
  content: ""; flex: 0 0 auto; width: 7px; height: 7px; margin-top: 12px;
  border-radius: 50%; background: var(--wp-400);
}
.prose ol > li { counter-increment: li; }
.prose ol > li::before {
  content: counter(li); flex: 0 0 auto;
  width: 25px; height: 25px; margin-top: 3px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--wp-50); color: var(--wp-700);
  font-size: .78rem; font-weight: 680;
}
.prose blockquote {
  margin: 1.8em 0; padding: 24px 28px;
  background: var(--wp-50); border-left: 3px solid var(--wp-500);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  font-size: 1.08rem; line-height: 1.66; color: var(--wp-900); font-style: normal;
}
.prose blockquote p { margin: 0; }
.prose img { border-radius: var(--r-md); box-shadow: var(--sh-md); margin-block: 1.8em; }
.prose hr { margin-block: 2.2em; }
.prose table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.prose table th, .prose table td { padding: 12px 14px; border: 1px solid var(--line-soft); text-align: left; }
.prose table th { background: var(--surface-2); font-weight: 640; }
.prose code {
  font-family: var(--font-mono); font-size: .88em;
  background: var(--surface-3); padding: 2px 6px; border-radius: 5px;
}
.prose > section { display: contents; }
.prose .container, .prose .row { display: contents; }

/* Sidebar */
.side { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 20px; }
.side-card {
  padding: 24px; background: #fff;
  border: 1px solid var(--line-soft); border-radius: var(--r-lg);
  box-shadow: var(--sh-sm);
}
.side-card h4 { font-size: .8rem; font-weight: 680; letter-spacing: .1em; text-transform: uppercase; color: var(--wp-600); margin-bottom: 16px; }
.side-list { list-style: none; display: grid; gap: 3px; }
.side-list a {
  display: block; padding: 9px 12px; border-radius: var(--r-xs);
  font-size: .91rem; line-height: 1.45; color: var(--ink-soft); font-weight: 500;
  transition: background var(--t-fast), color var(--t-fast), transform var(--t-fast);
}
.side-list a:hover { background: var(--wp-50); color: var(--wp-700); transform: translateX(3px); }
.side-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.side-tags a {
  padding: 7px 13px; border-radius: var(--r-pill);
  background: var(--surface-3); font-size: .82rem; font-weight: 540; color: var(--ink-soft);
  transition: background var(--t-fast), color var(--t-fast);
}
.side-tags a:hover { background: var(--grad-brand); color: #fff; }
.side-cta {
  padding: 28px 24px; border-radius: var(--r-lg);
  background: var(--grad-deep); color: #fff;
  position: relative; overflow: hidden;
}
.side-cta h4 { color: var(--wp-300); }
.side-cta p { margin: 0 0 20px; font-size: .93rem; line-height: 1.6; color: rgba(255,255,255,.74); }
.side-cta strong { display: block; font-size: 1.16rem; font-weight: 640; letter-spacing: -.024em; color: #fff; margin-bottom: 10px; }

.search-field { position: relative; }
.search-field input {
  width: 100%; padding: 13px 16px 13px 42px;
  border: 1px solid var(--line); border-radius: var(--r-pill);
  background: var(--surface-2); font-size: .93rem; font-family: inherit; color: var(--ink);
  transition: border-color var(--t-base), background var(--t-base), box-shadow var(--t-base);
}
.search-field input:focus { outline: none; border-color: var(--wp-400); background: #fff; box-shadow: 0 0 0 4px rgba(0,145,234,.16); }
.search-field svg { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; color: var(--muted-soft); }

/* Doc TOC (legal pages) */
.toc-card { padding: 22px 24px; }
.toc-list { list-style: none; display: grid; gap: 2px; counter-reset: toc; }
.toc-list a {
  display: block; padding: 8px 12px; border-radius: var(--r-xs);
  font-size: .88rem; line-height: 1.42; color: var(--muted); font-weight: 500;
  border-left: 2px solid transparent;
  transition: color var(--t-fast), background var(--t-fast), border-color var(--t-fast);
}
.toc-list a:hover { color: var(--wp-700); background: var(--wp-50); }
.toc-list a.active { color: var(--wp-700); font-weight: 600; border-left-color: var(--wp-500); background: var(--wp-50); }

/* Pagination */
.pager { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 52px; }
.pager a, .pager span {
  min-width: 44px; height: 44px; padding: 0 14px;
  display: grid; place-items: center; border-radius: 12px;
  font-size: .93rem; font-weight: 580; color: var(--ink-soft);
  border: 1px solid var(--line-soft); background: #fff;
  transition: transform var(--t-base) var(--ease-out-expo), border-color var(--t-base), color var(--t-base), box-shadow var(--t-base);
}
.pager a:hover { transform: translateY(-2px); border-color: var(--wp-300); color: var(--wp-700); box-shadow: var(--sh-sm); }
.pager .current { background: var(--grad-brand); color: #fff; border-color: transparent; box-shadow: var(--sh-brand); }

/* Article footer nav */
.article-nav { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; margin-top: 56px; }
.article-nav a {
  padding: 22px 24px; border-radius: var(--r-md);
  border: 1px solid var(--line-soft); background: #fff;
  transition: transform 400ms var(--ease-out-expo), box-shadow 400ms, border-color 400ms;
}
.article-nav a:hover { transform: translateY(-4px); box-shadow: var(--sh-md); border-color: var(--wp-200); }
.article-nav small { display: block; font-size: .74rem; font-weight: 660; letter-spacing: .09em; text-transform: uppercase; color: var(--wp-600); margin-bottom: 8px; }
.article-nav b { font-size: 1rem; font-weight: 600; letter-spacing: -.02em; color: var(--ink); line-height: 1.35; }
.article-nav a.next { text-align: right; }

/* Share row */
.share { display: flex; align-items: center; gap: 10px; margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--line-soft); }
.share span { font-size: .84rem; font-weight: 600; color: var(--muted); margin-right: 4px; }
.share a {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--line-soft); background: #fff; color: var(--ink-soft);
  transition: transform var(--t-base) var(--ease-out-expo), background var(--t-base), color var(--t-base), border-color var(--t-base);
}
.share a svg { width: 16px; height: 16px; }
.share a:hover { transform: translateY(-3px); background: var(--grad-brand); color: #fff; border-color: transparent; }

/* ==========================================================================
   12. FORMS
   ========================================================================== */

.form-card {
  padding: clamp(28px, 3.4vw, 44px);
  background: #fff; border: 1px solid var(--line-soft);
  border-radius: var(--r-xl); box-shadow: var(--sh-lg);
}
.field { display: grid; gap: 7px; }
.field + .field, .field-row + .field, .field + .field-row { margin-top: 18px; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
.field label { font-size: .86rem; font-weight: 590; letter-spacing: -.01em; color: var(--ink-soft); }
.field label .req { color: var(--wp-600); }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px;
  font-family: inherit; font-size: .97rem; color: var(--ink);
  background: var(--surface-2);
  border: 1px solid var(--line); border-radius: var(--r-sm);
  transition: border-color var(--t-base), background var(--t-base), box-shadow var(--t-base);
  appearance: none; -webkit-appearance: none;
}
.field textarea { min-height: 128px; resize: vertical; line-height: 1.6; }
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235c6b66' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 15px center; background-size: 16px;
  padding-right: 44px;
}
.field input::placeholder, .field textarea::placeholder { color: var(--muted-soft); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--wp-400); background: #fff;
  box-shadow: 0 0 0 4px rgba(0,145,234,.16);
}
.field-hint { font-size: .78rem; color: var(--muted-soft); line-height: 1.5; }
.check-row { display: flex; gap: 11px; align-items: flex-start; margin-top: 20px; }
.check-row input[type="checkbox"] {
  flex: 0 0 auto; width: 20px; height: 20px; margin-top: 2px;
  border: 1.5px solid var(--line); border-radius: 6px; background: #fff;
  appearance: none; -webkit-appearance: none; cursor: pointer;
  transition: background var(--t-fast), border-color var(--t-fast);
  position: relative;
}
.check-row input[type="checkbox"]:checked { background: var(--grad-brand); border-color: transparent; }
.check-row input[type="checkbox"]:checked::after {
  content: ""; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.check-row label { font-size: .84rem; line-height: 1.55; color: var(--muted); }
.check-row a { font-weight: 560; }
.form-foot { margin-top: 26px; }
.form-note { margin-top: 16px; font-size: .78rem; color: var(--muted-soft); line-height: 1.55; text-align: center; }

.form-status {
  display: none; margin-top: 18px; padding: 15px 18px;
  border-radius: var(--r-sm); font-size: .92rem; line-height: 1.55;
  background: var(--wp-50); border: 1px solid var(--wp-200); color: var(--wp-800);
}
.form-status.show { display: block; animation: anim-up 480ms var(--ease-out-expo); }

/* Sign-in specific */
.auth-wrap { display: grid; place-items: center; min-height: calc(100vh - var(--header-h) - var(--bar-h)); padding: clamp(40px, 6vw, 80px) 0; }
.auth-card { width: min(460px, 100%); }
.auth-head { text-align: center; margin-bottom: 30px; }
.auth-head .brand-mark { height: 54px; width: auto; margin: 0 auto 18px; }
.auth-alt { margin-top: 22px; text-align: center; font-size: .9rem; color: var(--muted); }
.auth-divider { display: flex; align-items: center; gap: 14px; margin: 24px 0; color: var(--muted-soft); font-size: .8rem; }
.auth-divider::before, .auth-divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* ==========================================================================
   13. FOOTER
   ========================================================================== */

.site-footer {
  position: relative; overflow: hidden;
  background: #00081f;
  color: rgba(255,255,255,.62);
  border-top: 1px solid rgba(255,255,255,.08);
}
.site-footer::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse 46% 40% at 6% 0%, rgba(0,145,234,.14), transparent 64%);
  pointer-events: none;
}
.footer-main { position: relative; z-index: 1; padding: clamp(52px, 6.5vw, 84px) 0 44px; }
.footer-grid {
  display: grid; grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: clamp(28px, 4vw, 56px);
}
.footer-brand { max-width: 340px; }
.footer-brand p { margin: 20px 0 0; font-size: .92rem; line-height: 1.66; color: rgba(255,255,255,.56); }
.footer-social { display: flex; gap: 10px; margin-top: 24px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255,255,255,.07); color: rgba(255,255,255,.72);
  border: 1px solid rgba(255,255,255,.1);
  transition: transform var(--t-base) var(--ease-out-expo), background var(--t-base), color var(--t-base);
}
.footer-social a svg { width: 16px; height: 16px; }
.footer-social a:hover { transform: translateY(-3px); background: var(--grad-brand); color: #fff; border-color: transparent; }
.footer-col h5 {
  font-size: .76rem; font-weight: 680; letter-spacing: .11em; text-transform: uppercase;
  color: #fff; margin-bottom: 18px;
}
.footer-col ul { list-style: none; display: grid; gap: 11px; }
.footer-col a {
  font-size: .92rem; color: rgba(255,255,255,.6); font-weight: 450;
  display: inline-flex; align-items: center; gap: 7px;
  min-height: 26px; /* comfortable target size on touch */
  transition: color var(--t-fast), transform var(--t-fast) var(--ease-out-quart);
}
.footer-col a:hover { color: #fff; transform: translateX(3px); }
.footer-contact { display: grid; gap: 16px; }
.footer-contact div { display: flex; gap: 12px; align-items: flex-start; font-size: .91rem; line-height: 1.55; }
.footer-contact svg { flex: 0 0 auto; width: 17px; height: 17px; margin-top: 3px; color: var(--wp-400); }
.footer-contact a { color: rgba(255,255,255,.78); font-weight: 520; }
.footer-contact a:hover { color: #fff; }
.footer-bar {
  position: relative; z-index: 1;
  padding: 22px 0; border-top: 1px solid rgba(255,255,255,.09);
  display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  font-size: .84rem; color: rgba(255,255,255,.44);
}
.footer-bar a { color: rgba(255,255,255,.62); }
.footer-bar a:hover { color: #fff; }
.footer-legal { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer-compliance {
  margin-top: 26px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.08);
  font-size: .78rem; line-height: 1.65; color: rgba(255,255,255,.38);
}

/* Back to top */
.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 40;
  width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid var(--line); background: rgba(255,255,255,.9);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  display: grid; place-items: center; cursor: pointer; color: var(--ink);
  box-shadow: var(--sh-md);
  opacity: 0; visibility: hidden; transform: translateY(14px) scale(.9);
  transition: opacity var(--t-base) var(--ease-out-quart), transform 460ms var(--ease-out-expo),
              visibility var(--t-base), color var(--t-base), border-color var(--t-base);
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { color: var(--wp-600); border-color: var(--wp-300); transform: translateY(-3px); }
.to-top svg { width: 18px; height: 18px; }

/* ==========================================================================
   14. UTILITIES
   ========================================================================== */

.center { text-align: center; }
.mx-auto { margin-inline: auto; }
.mt-0 { margin-top: 0; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mt-5 { margin-top: 44px; }
.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;
}
.nowrap { white-space: nowrap; }
.rule { height: 1px; background: var(--line-soft); }

/* ==========================================================================
   15. RESPONSIVE
   ========================================================================== */

@media (max-width: 1080px) {
  :root { --shell: 100%; }
  .nav, .nav-actions .btn-quiet { display: none; }
  .burger { display: block; }
  .nav-actions { margin-left: auto; }
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-copy { max-width: 640px; margin-inline: auto; }
  .hero .lede { margin-inline: auto; }
  .hero-cta, .trust-row { justify-content: center; }
  .hero-visual { min-height: 0; margin-top: 44px; }
  .chip-1 { left: 2%; } .chip-2 { right: 0; } .chip-3 { right: 2%; }
  .tabs { grid-template-columns: 1fr; }
  .tab-rail { grid-auto-flow: column; grid-auto-columns: max-content; overflow-x: auto; gap: 8px; padding-bottom: 8px; scrollbar-width: none; }
  .tab-rail::-webkit-scrollbar { display: none; }
  .tab-ind { display: none; }
  .tab-btn { border: 1px solid var(--line-soft); background: #fff; white-space: nowrap; }
  .tab-btn[aria-selected="true"] { border-color: var(--wp-300); box-shadow: var(--sh-sm); }
  .article-layout { grid-template-columns: 1fr; }
  .side { position: static; }
  .g-4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .g-6 { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; max-width: none; }
}

@media (max-width: 900px) {
  /* a pre-reveal translateX would push content past the viewport edge */
  [data-reveal="left"], [data-reveal="right"] { transform: translateY(26px); }
  .split, .g-3, .post-feature { grid-template-columns: 1fr; }
  .steps.g-3::before { display: none; }
  .split.tilt { grid-template-columns: 1fr; }
  .showcase.flip .showcase-visual { order: 0; }
  .post-feature .post-thumb { min-height: 200px; }
  .plans { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .article-nav { grid-template-columns: 1fr; }
  .article-nav a.next { text-align: left; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .rotator > span { white-space: normal; }
  :root { --gutter: 18px; --header-h: 66px; }
  .brand-logo { height: 26px; }
  .site-header.is-stuck .brand-logo { height: 24px; }
  .topbar { font-size: .76rem; }
  .topbar .shell { justify-content: center; }
  .topbar-items { gap: 14px; }
  .topbar-items span.hide-sm, .topbar-items.tagline { display: none; }
  /* keep the longest rotator word on one line so the stacked box adds no blank row */
  .t-display { font-size: clamp(1.95rem, 8vw, 2.6rem); }
  .g-2, .g-4, .g-6, .plans, .stat-band, .field-row { grid-template-columns: 1fr; }
  .g-6.industries { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .card, .feature-card, .pillar { padding: 24px 22px; }
  .quote { padding: 28px 24px; }
  .btn { --btn-x: 22px; }
  .btn-lg { --btn-y: 15px; --btn-x: 26px; font-size: .97rem; }
  .hero-cta .btn, .cta-actions .btn, .page-hero-cta .btn { width: 100%; }
  .plan.featured { transform: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .to-top { right: 14px; bottom: 14px; }
  .prose { font-size: 1rem; }
}

@media (max-width: 480px) {
  .g-6.industries { grid-template-columns: 1fr; }
  .brand-rule, .brand-product { display: none; }
  .brand-type { display: none; }
  .quotes { grid-auto-columns: minmax(88vw, 1fr); }
}

/* Print */
@media print {
  .site-header, .topbar, .site-footer, .cta-band, .to-top, .scroll-progress, .drawer, .page-veil, .side { display: none !important; }
  body { font-size: 11pt; }
  .prose { max-width: none; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
}
