/* ============================================================
   Surereach — clean, light, professional theme
   ============================================================ */

:root {
  --bg: #ffffff;
  --bg-soft: #f4f6fb;
  --bg-tint: #e6ecf9;
  --ink: #0b1020;
  --ink-2: #1c2436;
  --text: #494f63;
  --muted: #6b7186;
  --faint: #9aa0b3;
  --line: #ecebf4;
  --line-2: #dedcec;

  --brand: #2f5ae6;
  --brand-2: #6d92ea;
  --brand-dark: #1f47c4;
  --brand-soft: #e7edfc;
  --violet: #6d92ea;
  --pink: #4a72ea;
  --green: #16a34a;

  /* signature gradients (Fillout-style, keeps indigo→violet lineage) */
  --grad-brand: linear-gradient(135deg, #2f5ae6 0%, #4a72ea 48%, #7aa0ec 100%);
  --grad-brand-soft: linear-gradient(135deg, #3f66e8 0%, #7aa0ec 100%);
  --grad-sheen: linear-gradient(180deg, rgba(255,255,255,.22), rgba(255,255,255,0));

  --radius: 16px;
  --radius-lg: 22px;
  --radius-xl: 28px;
  --wrap: 1180px;
  --nav-h: 74px;

  /* fluid type scale (award skill, ~1.25 modular) */
  --fs-h1: clamp(1.6rem, 0.56rem + 4.27vw, 4.4rem);
  --fs-h2: clamp(1.55rem, 0.7rem + 3.4vw, 3.1rem);
  --fs-h3: clamp(1.3rem, 1.05rem + 1vw, 1.7rem);
  --fs-lead: clamp(1.02rem, 0.95rem + 0.4vw, 1.25rem);

  --shadow-sm: 0 1px 2px rgba(16,18,48,.05), 0 2px 6px rgba(16,18,48,.04);
  --shadow-md: 0 8px 24px -8px rgba(16,18,48,.12), 0 3px 10px -4px rgba(16,18,48,.07);
  --shadow-lg: 0 28px 60px -24px rgba(28,26,84,.22), 0 8px 22px -12px rgba(28,26,84,.12);
  --shadow-brand: 0 12px 30px -10px rgba(47,90,230,.42);
  --ease: cubic-bezier(.22,.61,.36,1);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
/* Lenis smooth-scroll (script.js drives it via GSAP ticker) */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg); color: var(--text); line-height: 1.65;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  font-feature-settings: 'cv02','cv03','cv04','ss01'; overflow-x: hidden;
}
h1,h2,h3,h4 { font-family: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif; color: var(--ink); line-height: 1.1; letter-spacing: -.028em; font-weight: 800; text-wrap: balance; }
a { text-decoration: none; color: inherit; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.accent { position: relative; background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
::selection { background: color-mix(in srgb, var(--brand) 24%, transparent); color: var(--ink); }

/* ---------------- Buttons ---------------- */
.btn {
  --bd: transparent;
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 650; font-size: 15px; padding: 11px 22px; border-radius: 12px;
  border: 1px solid var(--bd); cursor: pointer; white-space: nowrap;
  transition: transform .2s var(--ease), box-shadow .25s var(--ease), background .2s, color .2s, border-color .2s;
}
/* uniform, simple hover for every button: a gentle pop — no jumpy lift/slide */
.btn:hover { transform: scale(1.03); }
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--grad-brand); color: #fff; box-shadow: var(--shadow-brand); background-size: 140% 140%; }
.btn-primary::before { content: ''; position: absolute; inset: 0; background: var(--grad-sheen); opacity: .8; pointer-events: none; }
.btn-primary:hover { box-shadow: 0 12px 26px -14px rgba(47,90,230,.45); }
.btn-outline { background: #fff; color: var(--ink); --bd: var(--line-2); }
.btn-outline:hover { --bd: var(--brand); color: var(--brand); box-shadow: 0 7px 18px -14px rgba(47,90,230,.3); }
.btn-ghost { background: transparent; color: var(--ink); --bd: var(--line-2); }
.btn-ghost:hover { --bd: var(--brand); color: var(--brand); }
.btn-soft { background: var(--brand-soft); color: var(--brand); }
.btn-soft:hover { background: #dde6fb; }
.btn-white { background: #fff; color: var(--brand); box-shadow: var(--shadow-md); }
.btn-white:hover { box-shadow: var(--shadow-lg); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #05070f; }
.btn-lg { padding: 14px 28px; font-size: 15.5px; }
.btn-xl { padding: 16px 40px; font-size: 17px; border-radius: 13px; }
.btn-block { width: 100%; }

/* ---------------- Nav (floating pill) ---------------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 18px 0; background: transparent; transition: padding .4s var(--ease); }
/* At the top: full-width, flat, no card. On scroll it condenses into a floating pill. */
.nav-inner { position: relative; height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 0 24px; border-radius: 22px; border: 1px solid transparent;
  background: transparent; box-shadow: none;
  transition: max-width .45s var(--ease), height .4s var(--ease), padding .45s var(--ease),
    background .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease),
    backdrop-filter .35s var(--ease); }
.nav.scrolled { padding: 12px 0; }
.nav.scrolled .nav-inner { max-width: 980px; height: 62px; padding: 0 14px 0 20px;
  background: rgba(255,255,255,.9); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-color: var(--line-2);
  box-shadow: 0 14px 40px rgba(12,18,34,.12), 0 3px 8px rgba(12,18,34,.05); }

.brand { display: flex; align-items: center; gap: 11px; }
.brand-logo { height: 40px; width: auto; display: block; }
.brand-mark { width: 38px; height: 38px; border-radius: 10px; background: var(--ink); color: #fff; font-weight: 700; font-size: 16px; display: grid; place-items: center; }
.brand-name { font-weight: 600; font-size: 22px; color: var(--ink); letter-spacing: -.5px; }
.footer-brand .brand-logo { height: 40px; }

.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links > a, .nav-item > a { color: var(--text); font-weight: 500; font-size: 15px; position: relative; padding: 4px 0; transition: color .2s; display: inline-flex; align-items: center; gap: 5px; }
.nav-links > a::after, .nav-item > a::after { content:''; position:absolute; left:0; bottom:-2px; height:2px; width:0; background: var(--brand); transition: width .25s var(--ease); }
/* Invisible hover bridge: lets the cursor travel from the link down into its panel
   without leaving the .nav-item (the item is only as tall as the link). */
.nav-item > a::before { content: ''; position: absolute; left: -18px; right: -18px; top: 100%; height: 34px; }
.nav-links > a:hover, .nav-item > a:hover { color: var(--ink); }
.nav-links > a:hover::after, .nav-item:hover > a::after { width: 100%; }
.nav-links a.active { color: var(--brand); font-weight: 600; }
.nav-links a.active::after { width: 100%; }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-actions .btn { padding: 8px 17px; font-size: 14px; border-radius: 10px; }
.nav-actions .btn-primary { box-shadow: 0 6px 16px -6px rgba(47,90,230,.5); }
.nav-actions .btn-primary:hover { box-shadow: 0 10px 22px -8px rgba(47,90,230,.55); }

/* ---- Mega-menu (Features hover) ---- */
.nav-item { position: relative; }
.nav-item.has-mega { position: static; }
.nav-caret { display: inline-flex; align-items: center; margin-left: 3px; transition: transform .25s var(--ease); opacity: .55; }
.nav-caret svg { width: 14px; height: 14px; }
.nav-item:hover .nav-caret, .nav-item:focus-within .nav-caret { transform: rotate(180deg); opacity: .85; }
.mega { position: absolute; top: 100%; left: 50%; transform: translate(-50%, 12px);
  padding-top: 12px; width: min(1060px, calc(100vw - 32px)); opacity: 0; visibility: hidden; z-index: 120;
  /* closing: wait .25s (hover intent), then fade; stay interactive until the fade ends */
  transition: opacity .22s var(--ease) .25s, transform .22s var(--ease) .25s, visibility 0s linear .47s; }
.nav-item:hover .mega, .nav-item:focus-within .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0);
  transition: opacity .22s var(--ease), transform .22s var(--ease), visibility 0s; }
.mega-inner { position: relative; background:
    radial-gradient(520px 220px at 0% 0%, rgba(47,90,230,.07) 0%, rgba(47,90,230,0) 70%),
    radial-gradient(420px 200px at 100% 100%, rgba(109,146,234,.08) 0%, rgba(109,146,234,0) 70%),
    #fff;
  border: 1px solid #e3e8f5; border-radius: 22px;
  box-shadow: 0 2px 6px rgba(12,18,34,.04), 0 40px 80px -28px rgba(28,34,92,.34); padding: 14px;
  overflow: hidden; }
.mega-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 6px; row-gap: 2px; }
.nav-item.has-mega.has-resource-grid .mega { width: min(680px, calc(100vw - 32px)); }
.nav-item.has-mega.has-resource-grid .mega-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mega-card { --ic-cut: #fff; position: relative; display: flex; gap: 14px; align-items: center; min-height: 60px; padding: 12px 14px;
  border-radius: 14px;
  transition: background .2s var(--ease), box-shadow .2s var(--ease); }
.mega-card:hover, .mega-card:focus-visible { --ic-cut: #eef3ff; background: #eef3ff;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--brand) 14%, transparent); }
/* Icons sit straight on the panel: solid brand blue, no tile or box behind them. */
.mega-ic { flex: 0 0 auto; width: 30px; height: 30px; display: grid; place-items: center;
  color: var(--brand); transition: transform .25s var(--ease); }
.mega-ic svg, .mega-ic img { width: 100%; height: 100%; display: block; }
.mega-ic img { object-fit: contain; }
.mega-card:hover .mega-ic { transform: scale(1.1) rotate(-4deg); }
.mega-tx { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.mega-tx b { font-size: 14.5px; font-weight: 600; color: var(--ink); line-height: 1.25; letter-spacing: -.01em;
  transition: color .2s var(--ease); }
.mega-card:hover .mega-tx b { color: var(--brand-dark); }
.mega-tx small { font-size: 12px; color: var(--muted); line-height: 1.35; }
.mega-arrow { flex: 0 0 auto; margin-left: auto; color: var(--brand); display: grid; place-items: center;
  opacity: 0; transform: translateX(-8px); transition: opacity .2s var(--ease), transform .2s var(--ease); }
.mega-arrow svg { width: 16px; height: 16px; }
.mega-card:hover .mega-arrow { opacity: 1; transform: translateX(0); }
.mega-foot { display: flex; justify-content: flex-end; margin-top: 10px; padding: 12px 14px 4px;
  border-top: 1px solid #e9edf7; }
.mega-foot-link { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 600;
  color: var(--brand); transition: gap .2s var(--ease), color .2s var(--ease); }
.mega-foot-link svg { width: 15px; height: 15px; }
.mega-foot-link:hover { gap: 11px; color: var(--brand-dark); }
.mega-all { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 14px;
  padding: 13px; border-radius: 14px; background: linear-gradient(135deg, var(--brand) 0%, #2f5ae6 100%);
  color: #fff; font-weight: 650; font-size: 14px; box-shadow: 0 10px 22px -10px rgba(47,90,230,.6);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.mega-all svg { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.mega-all:hover { transform: scale(1.03); box-shadow: 0 14px 28px -10px rgba(47,90,230,.68); }
.mega-all:hover svg { transform: translateX(4px); }

/* ---- Nav dropdown (Resources / Contact) — hover opens smoothly ---- */
.nav-item.has-dropdown > a { cursor: pointer; }
.dropdown { position: absolute; top: 100%; left: 50%; transform: translate(-50%, 12px);
  padding-top: 16px; width: 330px; opacity: 0; visibility: hidden; z-index: 120;
  transition: opacity .22s var(--ease) .25s, transform .22s var(--ease) .25s, visibility 0s linear .47s; }
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown {
  opacity: 1; visibility: visible; transform: translate(-50%, 0);
  transition: opacity .22s var(--ease), transform .22s var(--ease), visibility 0s; }
.dropdown-inner { position: relative; background: linear-gradient(180deg, #fbfbff 0%, #ffffff 30%);
  border: 1px solid var(--line); border-radius: 20px;
  box-shadow: 0 2px 4px rgba(12,18,34,.04), 0 28px 64px -22px rgba(28,34,92,.3); padding: 10px; overflow: hidden; }
.dropdown-inner::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--grad-brand); opacity: .95; }
.drop-card { position: relative; display: flex; gap: 12px; align-items: center; padding: 11px 12px;
  border-radius: 13px; border: 1px solid transparent; overflow: hidden;
  transition: background .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease); }
.drop-card + .drop-card { margin-top: 2px; }
.drop-card:hover { background: #fff; border-color: color-mix(in srgb, var(--brand) 20%, var(--line));
  transform: translateY(-1px); box-shadow: 0 12px 24px -14px rgba(40,48,120,.28); }
.drop-card { --ic-cut: #fff; }
.drop-ic { flex: 0 0 auto; width: 30px; height: 30px; display: grid; place-items: center;
  color: var(--brand); transition: transform .25s var(--ease); }
.drop-ic svg, .drop-ic img { width: 100%; height: 100%; display: block; }
.drop-ic img { object-fit: contain; }
.drop-card:hover .drop-ic { transform: scale(1.1) rotate(-4deg); }
.drop-tx { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.drop-tx b { font-size: 14.5px; font-weight: 650; color: var(--ink); line-height: 1.2; letter-spacing: -.005em; }
.drop-tx small { font-size: 12.5px; color: var(--muted); line-height: 1.35; }
.drop-arrow { flex: 0 0 auto; margin-left: auto; color: var(--brand); display: grid; place-items: center;
  opacity: 0; transform: translateX(-6px); transition: opacity .2s var(--ease), transform .2s var(--ease); }
.drop-arrow svg { width: 17px; height: 17px; }
.drop-card:hover .drop-arrow { opacity: 1; transform: none; }
/* Mobile: grouped resources heading */
.mobile-nav .m-group { margin-top: 6px; font-size: 11.5px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--faint); padding: 12px 8px 4px; border-bottom: none; }
.mobile-nav .m-menu-group { border-bottom: 1px solid var(--line); }
.mobile-nav .m-group-toggle { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 13px 8px; border: 0; background: transparent; color: var(--text); font-weight: 600; text-align: left;
  cursor: pointer; }
.mobile-nav .m-group-toggle:hover, .mobile-nav .m-group-toggle:focus-visible { color: var(--brand); }
.mobile-nav .m-group-toggle:focus-visible { outline: 2px solid color-mix(in srgb, var(--brand) 55%, transparent); outline-offset: -2px; border-radius: 8px; }
.mobile-nav .m-group-caret { flex: 0 0 auto; display: grid; place-items: center; transition: transform .25s var(--ease); }
.mobile-nav .m-group-caret svg { width: 16px; height: 16px; }
.mobile-nav .m-group-toggle[aria-expanded="true"] .m-group-caret { transform: rotate(180deg); }
.mobile-nav .m-submenu { display: grid; max-height: 0; opacity: 0; visibility: hidden; overflow: hidden;
  transition: max-height .35s var(--ease), opacity .2s var(--ease), visibility 0s linear .35s; }
.mobile-nav .m-submenu.open { max-height: 1600px; opacity: 1; visibility: visible;
  transition: max-height .45s var(--ease), opacity .25s var(--ease), visibility 0s; }
.mobile-nav .m-sub { display: flex; flex-direction: column; gap: 3px; padding-left: 22px; }
.mobile-nav .m-submenu .m-sub { padding-left: 22px; background: var(--bg-soft); }
.mobile-nav .m-submenu .m-sub:last-child { border-bottom: 0; }
.mobile-nav .m-sub small { color: var(--muted); font-size: 11.5px; font-weight: 400; line-height: 1.35; }

.burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.burger span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: .3s var(--ease); }
.burger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav { position: fixed; top: var(--nav-h); left: 0; right: 0; z-index: 99;
  background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md);
  padding: 14px 24px; display: flex; flex-direction: column; gap: 2px;
  transform: translateY(-130%); transition: transform .35s var(--ease); }
.mobile-nav.open { transform: none; }
.mobile-nav a { padding: 13px 8px; color: var(--text); font-weight: 500; border-bottom: 1px solid var(--line); }
.mobile-nav-cta { display: flex; gap: 10px; margin-top: 12px; }
.mobile-nav-cta .btn { flex: 1; }

/* ---------------- Hero ---------------- */

/* ---------------- Thank-you page ---------------- */
.thank-you-hero {
  position: relative;
  overflow: hidden;
  min-height: 680px;
  padding: calc(var(--nav-h) + 94px) 0 96px;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, #f5f8ff 0%, #fff 88%);
  text-align: center;
}
.thank-you-hero::before,
.thank-you-hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(2px);
}
.thank-you-hero::before { width: 430px; height: 430px; top: 90px; left: -250px; background: rgba(47,90,230,.075); }
.thank-you-hero::after { width: 360px; height: 360px; right: -205px; bottom: -80px; background: rgba(109,146,234,.1); }
.thank-you-hero-inner { position: relative; z-index: 1; max-width: 780px; }
.thank-you-icon {
  width: 84px;
  height: 84px;
  margin: 0 auto 30px;
  padding: 12px;
  border-radius: 50%;
  background: #fff;
  color: var(--brand);
  box-shadow: 0 18px 48px -18px rgba(47,90,230,.5);
}
.thank-you-icon svg { display: block; width: 100%; height: 100%; }
.thank-you-icon circle { fill: var(--brand-soft); stroke: currentColor; stroke-width: 2.5; }
.thank-you-icon path { stroke: currentColor; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.thank-you-hero h1 { font-size: clamp(3rem, 7vw, 5.6rem); letter-spacing: -.055em; }
.thank-you-hero p { max-width: 600px; margin: 22px auto 0; color: var(--muted); font-size: clamp(1.05rem, 1.6vw, 1.22rem); line-height: 1.7; }
.thank-you-hero .btn { margin-top: 34px; }
.thank-you-page > .trusted { padding-top: 56px; }
@media (max-width: 680px) {
  .thank-you-hero { min-height: 590px; padding: calc(var(--nav-h) + 64px) 0 72px; }
  .thank-you-icon { width: 72px; height: 72px; margin-bottom: 24px; }
  .thank-you-hero h1 { font-size: clamp(2.7rem, 14vw, 4rem); }
  .thank-you-page > .trusted { padding-top: 38px; }
}
.hero { position: relative; padding: calc(var(--nav-h) + 54px) 0 86px; overflow: hidden; background:
  radial-gradient(62% 58% at -2% -8%, rgba(47,90,230,.36) 0%, rgba(47,90,230,0) 58%),
  radial-gradient(40% 42% at 18% 2%, rgba(120,104,232,.26) 0%, rgba(120,104,232,0) 60%),
  radial-gradient(30% 34% at 34% -6%, rgba(90,150,240,.2) 0%, rgba(90,150,240,0) 62%),
  radial-gradient(44% 44% at 99% 0%, rgba(109,146,234,.16) 0%, rgba(109,146,234,0) 60%),
  radial-gradient(70% 54% at 50% 122%, rgba(74,114,234,.13) 0%, rgba(74,114,234,0) 62%),
  linear-gradient(180deg, #e8edf8 0%, #f2f6fd 46%, #ffffff 100%); }
/* subtle dotted grid texture behind the hero for depth */
.hero::before { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: radial-gradient(circle, rgba(47,90,230,.09) 1px, transparent 1.4px);
  background-size: 30px 30px;
  -webkit-mask-image: radial-gradient(70% 60% at 50% 12%, #000 0%, transparent 78%);
  mask-image: radial-gradient(70% 60% at 50% 12%, #000 0%, transparent 78%); }
.hero-center { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero-center > * { max-width: 100%; }

.pill { display: inline-flex; align-items: center; gap: 9px; font-size: 13.5px; font-weight: 500; color: var(--ink); background: #fff; border: 1px solid var(--line); padding: 7px 15px; border-radius: 100px; box-shadow: var(--shadow-sm); }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(22,163,74,.5); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(22,163,74,.45); } 70% { box-shadow: 0 0 0 9px rgba(22,163,74,0); } 100% { box-shadow: 0 0 0 0 rgba(22,163,74,0); } }

.hero-copy { max-width: min(1000px, 100%); }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 26px;
  padding: 8px 18px; border-radius: 100px; background: rgba(255,255,255,.75); border: 1px solid var(--line);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 16px -6px rgba(47,90,230,.2); font-size: 13.5px; font-weight: 600; color: var(--ink); }
.hero-eyebrow .he-stars { color: #f5a623; letter-spacing: 1px; font-size: 12.5px; }
.hero-h { font-family: 'Plus Jakarta Sans','Inter',sans-serif; font-size: clamp(1.6rem, 0.62rem + 3vw, 3.1rem); font-weight: 800; letter-spacing: -.028em; line-height: 1.18; }
.hero-h br { display: block; }
.hero-line1, .hero-line2 { display: block; }
.hero-line2 { color: var(--ink-2); font-weight: 750; }
/* keep each headline row on a single line from tablet up; wraps naturally on phones */
@media (min-width: 700px) { .hero-line1, .hero-line2 { white-space: nowrap; } }

/* Animated flowing-gradient headline text */
.accent-anim { background: linear-gradient(100deg, #2f5ae6 0%, #6d92ea 26%, #4a72ea 50%, #6d92ea 74%, #2f5ae6 100%);
  background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
  animation: accentFlow 5.5s linear infinite; }
@keyframes accentFlow { to { background-position: 220% 0; } }
.hero-p { margin-top: 26px; font-size: clamp(1.05rem, 0.98rem + 0.55vw, 1.28rem); color: var(--muted); }
.hero-p strong { color: var(--ink); }
.hero-center .hero-p { margin-left: auto; margin-right: auto; max-width: 620px; }

.hero-rating { display: inline-flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 9px; margin-top: 22px; font-size: 15px; color: #3b4254; }
.hero-rating .hr-stars { color: #f5a623; letter-spacing: 2px; font-size: 16px; }
.hero-rating .hr-text strong { color: var(--ink); font-weight: 700; }
.hero-rating .hr-sep { color: var(--line-2); margin: 0 3px; }

.hero-ctas-c { display: flex; justify-content: center; gap: 14px; margin-top: 36px; flex-wrap: wrap; }

.hero-stats { display: flex; justify-content: center; gap: 0; margin-top: 56px; flex-wrap: wrap; }
.stat { text-align: center; padding: 0 42px; position: relative; }
.stat + .stat::before { content: ''; position: absolute; left: 0; top: 10%; height: 80%; width: 1px;
  background: linear-gradient(180deg, transparent, var(--line-2), transparent); }
.stat b { display: flex; align-items: baseline; justify-content: center; gap: 2px; font-family: 'Plus Jakarta Sans', 'Inter', sans-serif; }
.stat .num { font-size: clamp(2.3rem, 1.9rem + 1.3vw, 3rem); font-weight: 800; color: var(--ink); letter-spacing: -.03em; line-height: 1; }
.stat .unit { font-size: clamp(1.6rem, 1.35rem + 0.9vw, 2.05rem); font-weight: 800; letter-spacing: -.02em; line-height: 1;
  background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-label { display: block; margin-top: 12px; font-size: 15.5px; color: var(--muted); font-weight: 500; letter-spacing: .005em; }

/* ===== Hero scatter cluster (Attio-style scroll reveal) ===== */
.hero-scatter { position: relative; width: 100%; max-width: 1060px; height: 620px; margin: 62px auto 0; }
.scw { position: absolute; background: #fff; border: 1px solid var(--line); border-radius: 16px;
  box-shadow: 0 24px 50px -22px rgba(20,28,64,.32), 0 4px 12px rgba(20,28,64,.08); will-change: transform, opacity; }

/* main dashboard window */
.scw-dash { left: 50%; margin-left: -370px; top: 26px; width: 740px; overflow: hidden; z-index: 2; }
.dash-bar { display: flex; align-items: center; gap: 7px; padding: 10px 14px; background: #f4f6fb; border-bottom: 1px solid var(--line); }
.dash-dot { width: 10px; height: 10px; border-radius: 50%; background: #d5d9e4; }
.dash-dot:nth-child(1) { background: #ff5f57; }
.dash-dot:nth-child(2) { background: #febc2e; }
.dash-dot:nth-child(3) { background: #28c840; }
.dash-url { margin: 0 auto; font-size: 11.5px; color: var(--faint); background: #fff; border: 1px solid var(--line);
  padding: 3px 14px; border-radius: 100px; }
.dash-img { display: block; width: 100%; height: auto; }

/* satellites hidden until the scatter animation reveals them */
.scw-contact, .scw-phone, .scw-mail, .scw-search, .scw-lookup { opacity: 0; }

/* contact / phone / mail chip windows */
.scw-contact, .scw-phone, .scw-mail { display: flex; align-items: center; gap: 9px; padding: 11px 14px; z-index: 5; }
.scw-contact { left: 1%; top: 4px; }
.scw-phone { left: 4%; bottom: 46px; }
.scw-mail { right: 1%; bottom: 104px; }
.chip-av { width: 34px; height: 34px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 700; font-size: 12px; display: grid; place-items: center; flex: 0 0 auto; }
.chip-av.av-sm { width: 28px; height: 28px; font-size: 11px; }
.chip-av.av-2 { background: #6d92ea; }
.chip-name { font-weight: 600; font-size: 13px; color: var(--ink); line-height: 1.25; text-align: left; }
.chip-role { font-size: 11px; color: var(--faint); text-align: left; }
.chip-ok { margin-left: 2px; width: 18px; height: 18px; border-radius: 50%; background: var(--green); color: #fff; font-size: 11px; display: grid; place-items: center; flex: 0 0 auto; }
.chip-ico { width: 30px; height: 30px; border-radius: 8px; background: var(--brand-soft); display: grid; place-items: center; font-size: 14px; flex: 0 0 auto; }
.chip-l { font-size: 10.5px; color: var(--faint); text-align: left; }
.chip-v { font-size: 12.5px; font-weight: 600; color: var(--ink); text-align: left; }

/* search results window */
.scw-search { right: 0; top: -8px; width: 306px; padding: 12px; z-index: 6; }
.mw-search { display: flex; align-items: center; gap: 8px; padding: 9px 11px; border: 1px solid var(--line); border-radius: 10px; color: var(--muted); font-size: 12.5px; background: var(--bg-soft); }
.mw-search svg { width: 15px; height: 15px; flex: 0 0 auto; }
.mw-row { display: flex; align-items: center; gap: 9px; padding: 10px 4px 0; }
.mw-row .chip-name { font-size: 12.5px; }

/* lookup mini stat */
.scw-lookup { left: 0; bottom: 138px; padding: 14px 18px; text-align: left; z-index: 5; }
.lk-num { font-family: 'Plus Jakarta Sans','Inter',sans-serif; font-size: 26px; font-weight: 800; color: var(--brand); line-height: 1; }
.lk-label { font-size: 11.5px; color: var(--muted); margin-top: 4px; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* ---------------- Trusted ---------------- */
.trusted { padding: 20px 0 56px; }
.trusted-label { text-align: center; color: var(--ink-2); font-size: 19px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; margin-bottom: 40px; }
.logo-img { height: 60px; width: auto; object-fit: contain; transition: transform .2s, filter .2s; filter: saturate(1); }
.logo-img:hover { transform: translateY(-2px) scale(1.03); }
.logos { display: flex; justify-content: center; align-items: center; gap: 56px; flex-wrap: wrap; }
.logos span { font-weight: 700; font-size: 26px; color: #94a0b8; letter-spacing: -.5px; transition: color .25s; }
.logos span:hover { color: var(--ink); }

/* ---------------- Section heads ---------------- */
.section { padding: 102px 0; }
/* first section of the plain page / archive templates: clear the fixed header */
.section.page-top { padding-top: calc(var(--nav-h) + 64px); }
.sec-head { text-align: center; max-width: 740px; margin: 0 auto 58px; }
.sec-head.left { text-align: left; margin: 0 0 34px; }
.tag { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--brand); margin-bottom: 20px; padding: 6px 14px 6px 12px; border-radius: 100px; background: color-mix(in srgb, var(--brand) 8%, #fff); border: 1px solid color-mix(in srgb, var(--brand) 16%, transparent); }
.tag::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--grad-brand); flex-shrink: 0; box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 16%, transparent); }
.sec-head h2 { font-family: 'Plus Jakarta Sans','Inter',sans-serif; font-size: var(--fs-h2); font-weight: 800; letter-spacing: -.032em; line-height: 1.06; color: var(--ink); }
.sec-head p { margin-top: 18px; font-size: var(--fs-lead); color: var(--muted); line-height: 1.6; }

/* ---------------- Features ---------------- */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; perspective: 1200px; }
/* 3-card variant fills the row evenly (no empty 4th column) */
.feature-grid--3 { grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature-grid--3 .f-card { padding: 30px 28px; }
.f-card { --ac: var(--brand); position: relative; display: flex; flex-direction: column; align-items: flex-start;
  background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 24px 22px 22px;
  text-decoration: none; color: inherit; overflow: hidden; transform-style: preserve-3d; will-change: transform, opacity;
  transition: transform .18s var(--ease), border-color .24s var(--ease), box-shadow .24s var(--ease); }
/* cursor-follow spotlight, tinted by the card's category colour */
.f-card > * { position: relative; z-index: 1; }
.f-card[data-cat="find"]   { --ac: #2f5ae6; }
.f-card[data-cat="verify"] { --ac: #16a34a; }
.f-card[data-cat="extract"]{ --ac: #e0851f; }
.f-card[data-cat="data"]   { --ac: #6d92ea; }
.f-card:hover { transform: translateY(-5px); border-color: color-mix(in srgb, var(--ac) 44%, var(--line));
  box-shadow: 0 26px 46px -24px color-mix(in srgb, var(--ac) 52%, rgba(28,34,92,.4)); }
.f-ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; color: var(--ac);
  background: color-mix(in srgb, var(--ac) 11%, #fff); border: 1px solid color-mix(in srgb, var(--ac) 18%, transparent);
  margin-bottom: 18px; transition: background .28s var(--ease), color .28s var(--ease), transform .35s var(--ease); }
.f-ico svg { width: 22px; height: 22px; transition: transform .35s var(--ease); }
.f-card:hover .f-ico { background: var(--ac); color: #fff; border-color: transparent; transform: scale(1.08) rotate(-5deg); }
.f-card:hover .f-ico svg { transform: rotate(5deg); }
/* about "principles" cards use image icons — bigger tile & glyph, kept light on hover (no brand fill/rotate) */
.feature-grid--3 .f-ico { width: 62px; height: 62px; border-radius: 17px; padding: 13px; margin-bottom: 22px; }
.feature-grid--3 .f-card:hover .f-ico { background: color-mix(in srgb, var(--ac) 13%, #fff); color: inherit;
  border-color: color-mix(in srgb, var(--ac) 26%, transparent); transform: scale(1.06); }
.f-card h3 { font-size: 15.5px; font-weight: 700; color: var(--ink); letter-spacing: -.012em; margin-bottom: 6px; }
.f-card p { font-size: 13px; color: var(--muted); line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.f-arrow { position: absolute; top: 24px; right: 20px; color: var(--ac); opacity: 0; transform: translateX(-5px);
  transition: opacity .22s var(--ease), transform .22s var(--ease); z-index: 2; }
.f-arrow svg { width: 18px; height: 18px; }
.f-card:hover .f-arrow { opacity: 1; transform: none; }
.feature-grid.collapsed .f-card:nth-child(n+9) { display: none; }
.feature-more { text-align: center; margin-top: 34px; }
.ft-caret { display: inline-block; margin-left: 7px; font-size: 12px; transition: transform .2s var(--ease); }
.feature-more.open .ft-caret { transform: rotate(180deg); }

/* ============================================================
   Feature marquee — two rows auto-scroll in opposite directions
   (top drifts right, bottom drifts left). Hovering a row pauses
   just that row. Seamless loop: script.js clones each track once,
   so translateX(-50%) lands exactly one copy over. ~5 cards shown.
   ============================================================ */
.mq { --card-w: clamp(262px, calc((100vw - 120px) / 4), 342px); --mq-gap: 20px;
  position: relative; width: 100vw; margin-left: calc(50% - 50vw); margin-top: 46px;
  display: flex; flex-direction: column; gap: 16px; overflow: hidden; padding: 16px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%); }
.mq-row { display: flex; overflow: hidden; }
.mq-track { display: flex; width: max-content; will-change: transform;
  animation-duration: 42s; animation-timing-function: linear; animation-iteration-count: infinite; }
.mq-track--right { animation-name: mq-right; }
.mq-track--left  { animation-name: mq-left; }
.mq-row:hover .mq-track { animation-play-state: paused; }
@keyframes mq-left  { from { transform: translateX(0); }    to { transform: translateX(-50%); } }
@keyframes mq-right { from { transform: translateX(-50%); } to { transform: translateX(0); } }

/* roomier marquee cards for readability, with real product icons */
.mq-track .f-card { width: var(--card-w); flex: 0 0 var(--card-w); margin-right: var(--mq-gap); padding: 26px 24px 24px; border-radius: 20px; }
/* neutral tile that holds the transparent colour icon, perfectly centred */
.f-ico img { width: 100%; height: 100%; object-fit: contain; display: block; }
.mq-track .f-ico { width: 60px; height: 60px; border-radius: 16px; margin-bottom: 18px; padding: 9px;
  background: #f2f5fc; border: 1px solid var(--line); }
/* icons are full-colour images, so keep the tile light on hover (no brand fill / rotate) */
.mq-track .f-card:hover .f-ico { background: #eaeffb; color: inherit; transform: scale(1.06);
  border-color: color-mix(in srgb, var(--ac) 28%, var(--line)); }
.mq-track .f-card h3 { font-size: 16.5px; margin-bottom: 7px; }
.mq-track .f-card p { font-size: 13.5px; line-height: 1.55; }
.mq-track .f-arrow { top: 24px; right: 22px; }

@media (prefers-reduced-motion: reduce) {
  .mq-track { animation: none; }
  .mq-row { overflow-x: auto; scrollbar-width: none; }
  .mq-row::-webkit-scrollbar { display: none; }
}
@media (max-width: 700px) {
  .mq { --card-w: 76vw; --mq-gap: 14px; }
}

/* ============================================================
   Product showcase (Fillout-style tabbed demo)
   ============================================================ */
.showcase { background: var(--bg-soft); }
/* Tinted gradient tab bar (Fillout-style) */
.sc-tabs { display: flex; align-items: center; gap: 6px; max-width: 940px; margin: 0 auto 36px; padding: 9px;
  background: linear-gradient(115deg, #d9e6ff 0%, #e9f1ff 28%, #e6f7ee 63%, #fdf0e6 100%);
  border: 1px solid rgba(255,255,255,.75); border-radius: 18px;
  box-shadow: 0 16px 36px -18px rgba(28,34,92,.3), inset 0 1px 0 rgba(255,255,255,.6); }
.sc-tab { flex: 1 1 0; display: inline-flex; align-items: center; justify-content: center; gap: 9px; border: none; cursor: pointer;
  font-family: inherit; font-weight: 600; font-size: 14.5px; color: #56607a; background: transparent;
  padding: 11px 8px; border-radius: 12px; white-space: nowrap; transition: color .2s, background .2s, box-shadow .2s; }
.sc-tab svg { width: 18px; height: 18px; }
.sc-tab:hover:not(.active) { color: var(--ink); background: rgba(255,255,255,.45); }
.sc-tab.active { color: var(--brand); background: #fff; box-shadow: 0 7px 16px -8px rgba(28,34,92,.32); }

.hero-showcase { margin-top: 46px; }
/* Fixed-size stage: panels are stacked absolutely so the card NEVER changes size between tabs */
.sc-stage { position: relative; height: 600px; }
.sc-panel { position: absolute; inset: 0; opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .45s var(--ease), visibility .45s var(--ease); }
.sc-panel.active { opacity: 1; visibility: visible; pointer-events: auto; }
@keyframes scIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.sc-copy h3 { font-family: 'Plus Jakarta Sans','Inter',sans-serif; font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.15; color: var(--ink); }
.sc-list { list-style: none; margin: 24px 0 30px; display: flex; flex-direction: column; gap: 16px; }
.sc-list li { display: flex; align-items: center; gap: 13px; font-size: 15.5px; font-weight: 500; color: var(--ink); line-height: 1.45; }
.sc-bic { flex: 0 0 auto; width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center;
  background: color-mix(in srgb, var(--brand) 12%, #fff); color: var(--brand); }
.sc-bic svg { width: 15px; height: 15px; }
.sc-dot { margin-top: 6px; width: 8px; height: 8px; border-radius: 2px; background: var(--brand); flex: 0 0 auto; transform: rotate(45deg); }
.sc-btn { background: var(--ink); color: #fff; border: none; box-shadow: 0 8px 20px -10px rgba(12,18,34,.5); }
.sc-btn:hover { background: #1a2333; transform: scale(1.03); }

/* Tinted frame + floating cards (Fillout-style) — every tab keeps the same size */
.sc-frame { position: relative; border-radius: 24px; padding: 40px; max-width: 1000px; margin: 0 auto;
  height: 100%; display: flex; align-items: stretch; justify-content: center; }
.sc-frame .mock { width: 100%; display: flex; flex-direction: column; }
.sc-frame.f-dash { background: linear-gradient(155deg, #eaf0ff 0%, #f4f7ff 100%); }
.mock-dash { height: 100%; }
.mock-dash .dash-img { display: block; width: 100%; flex: 1 1 auto; min-height: 0; object-fit: cover; object-position: top center; }
.sc-frame.f-people { background: linear-gradient(155deg, #e9f2fd 0%, #f6f7ff 100%); }
.sc-frame.f-din { background: linear-gradient(155deg, #f1ecff 0%, #f9f6ff 100%); }
.sc-frame.f-gst { background: linear-gradient(155deg, #e7f8ee 0%, #f3fbf6 100%); }
.sc-frame.f-teams { background: linear-gradient(155deg, #fdefe2 0%, #fff8f1 100%); }
.sc-frame .mock { position: relative; z-index: 2; }
.sc-float { position: absolute; z-index: 4; background: #fff; border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 16px 34px -14px rgba(20,28,64,.28), 0 3px 8px rgba(20,28,64,.07); padding: 11px 14px;
  display: flex; align-items: center; gap: 10px; animation: floaty 7s ease-in-out infinite; }
.sc-float.sf-tl { top: 16px; left: -22px; }
.sc-float.sf-tr { top: 22px; right: -24px; animation-delay: 1s; }
.sc-float.sf-bl { bottom: 28px; left: -26px; animation-delay: .6s; }
.sc-float.sf-br { bottom: 22px; right: -22px; animation-delay: 1.4s; }
.sf-contact b { font-size: 13px; color: var(--ink); display: block; line-height: 1.25; }
.sf-contact span { font-size: 11px; color: var(--faint); }
.sf-ok { width: 18px; height: 18px; border-radius: 50%; background: var(--green); color: #fff; font-size: 11px; display: grid; place-items: center; flex: 0 0 auto; }
.sf-ic { width: 36px; height: 36px; border-radius: 11px; background: linear-gradient(160deg, #eef3ff, #e0eafd);
  border: 1px solid color-mix(in srgb, var(--brand) 16%, transparent); color: var(--brand);
  display: grid; place-items: center; font-size: 14px; flex: 0 0 auto; }
.sf-ic svg { width: 19px; height: 19px; }
.sf-ic.ok { background: color-mix(in srgb, var(--green) 15%, #fff); color: var(--green); }
.sf-l { font-size: 11px; color: var(--muted); font-weight: 600; display: block; letter-spacing: .01em; }
.sf-v { font-size: 12.5px; font-weight: 700; color: var(--ink); }
/* shared: avatar tile that holds a transparent illustration (floats + popups) */
.av-img { overflow: hidden; background: linear-gradient(180deg, #eef2fb, #e2e8f6);
  border: 1px solid var(--line); box-shadow: 0 2px 6px rgba(20,28,64,.12); }
.av-img img { width: 100%; height: 100%; object-fit: cover; object-position: center 12%; display: block; }
.sf-stat { flex-direction: column; align-items: flex-start; gap: 2px; padding: 13px 16px; }
.sf-num { font-family: 'Plus Jakarta Sans','Inter',sans-serif; font-size: 22px; font-weight: 800; color: var(--brand); line-height: 1; }
.sf-lab { font-size: 11px; color: var(--muted); }
/* ---- Full app-page mock (matches the dashboard chrome) ---- */
.sc-frame .app { width: 100%; display: flex; background: #fff; border: 1px solid var(--line); border-radius: 14px;
  overflow: hidden; box-shadow: 0 34px 64px -32px rgba(28,34,92,.36), 0 6px 16px -10px rgba(28,34,92,.14);
  font-size: 11px; line-height: 1.4; color: var(--ink); }
.app-side { flex: 0 0 178px; padding: 14px 11px; border-right: 1px solid var(--line); display: flex; flex-direction: column; overflow: hidden; }
.app-logo { padding: 2px 4px 10px; }
.app-logo img { height: 19px; width: auto; display: block; }
.app-sec { font-size: 8px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--faint); margin: 10px 7px 4px; }
.app-nav { display: flex; align-items: center; gap: 9px; padding: 6px 8px; border-radius: 7px; color: #56607a; font-weight: 500; margin-bottom: 1px; }
.app-nav-ic { display: grid; place-items: center; }
.app-nav-ic svg { width: 14px; height: 14px; }
.app-nav.active { background: var(--brand-soft); color: var(--brand); font-weight: 600; }
.app-mainwrap { flex: 1; min-width: 0; display: flex; flex-direction: column; background: #fbfbfd; }
.app-top { display: flex; align-items: center; gap: 8px; padding: 9px 14px; background: #fff; border-bottom: 1px solid var(--line); }
.app-search { flex: 1; display: flex; align-items: center; gap: 7px; background: #fbfbfd; border: 1px solid var(--line); border-radius: 8px; padding: 6px 10px; color: var(--faint); min-width: 0; }
.app-search svg { width: 13px; height: 13px; flex: 0 0 auto; }
.app-search span:first-of-type { flex: 1; }
.app-kbd { font-size: 9px; border: 1px solid var(--line); border-radius: 4px; padding: 1px 5px; }
.app-pill { font-size: 9.5px; font-weight: 600; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 100px; padding: 5px 9px; white-space: nowrap; }
.app-userpill { display: flex; align-items: center; gap: 6px; font-size: 10.5px; font-weight: 600; white-space: nowrap; }
.app-uav { width: 22px; height: 22px; border-radius: 6px; background: var(--brand); color: #fff; display: grid; place-items: center; font-size: 10px; font-weight: 700; }
.app-content { flex: 1; min-width: 0; padding: 16px; overflow: hidden; display: flex; flex-direction: column; gap: 14px; }
.pg-head { display: flex; align-items: center; gap: 11px; }
.pg-head.between { justify-content: space-between; }
.pg-ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex: 0 0 auto; }
.pg-ic svg { width: 18px; height: 18px; }
.ic-p, .ic-d { background: #e9edff; color: var(--brand); }
.ic-g { background: #e6f7ee; color: #16a34a; }
.ic-t { background: #e9f2fd; color: var(--brand); }
.app-h { font-size: 15px; font-weight: 700; color: var(--ink); }
.app-sub { font-size: 10.5px; color: var(--muted); margin-top: 1px; }
.pg-2col { flex: 1; display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 12px; min-height: 0; }
.pg-2col:has(.pg-searchcard) { grid-template-columns: 236px minmax(0, 1fr); }
.pg-filters, .pg-searchcard, .pg-details, .pg-results, .pg-teamcard { background: #fff; border: 1px solid var(--line); border-radius: 12px; min-width: 0; }
.app .mr-cell, .app .mr-top > div, .app .mp-info, .app .mt-row .mp-info { min-width: 0; }
.app .mr-top b { white-space: normal; }
.pg-filters { padding: 13px; display: flex; flex-direction: column; }
.pf-top { display: flex; justify-content: space-between; font-size: 12px; margin-bottom: 6px; }
.pf-top b { color: var(--ink); } .pf-top span { color: var(--brand); font-weight: 600; }
.pf-l { font-size: 8.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--faint); margin: 9px 0 4px; }
.pf-in { font-size: 11px; color: var(--ink); border: 1px solid var(--line); border-radius: 7px; padding: 7px 10px; display: flex; align-items: center; }
.pf-in.ph { color: var(--faint); }
.pf-in.filled { background: var(--bg-soft); }
.pf-in .pf-x, .pf-in .pf-cv { margin-left: auto; color: var(--faint); }
.pf-in.mono { font-family: 'Plus Jakarta Sans', ui-monospace, monospace; letter-spacing: .05em; }
.pf-hint { font-size: 9.5px; color: var(--faint); margin-top: 5px; }
.pf-btn { margin-top: 12px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; background: var(--brand); color: #fff; font-weight: 600; font-size: 12px; padding: 9px; border-radius: 8px; }
.pf-btn svg { width: 13px; height: 13px; }
.pf-btn.sm { margin: 0; padding: 8px 14px; font-size: 11.5px; }
.pg-searchcard { padding: 13px; align-self: start; }
.ps-tabs { display: flex; gap: 4px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 8px; padding: 3px; margin-bottom: 6px; }
.ps-tabs span { flex: 1; text-align: center; font-size: 10.5px; font-weight: 600; color: var(--muted); padding: 6px; border-radius: 6px; }
.ps-tabs span.active { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.ps-title { font-size: 12px; font-weight: 700; color: var(--ink); display: flex; align-items: center; gap: 7px; margin-bottom: 8px; }
.ps-title svg { width: 14px; height: 14px; }
.pg-results { display: flex; flex-direction: column; overflow: hidden; }
.pr-head { display: flex; justify-content: space-between; align-items: center; font-size: 11px; color: var(--muted); padding: 11px 14px; border-bottom: 1px solid var(--line); }
.pr-head b { color: var(--ink); }
.pr-list { padding: 2px 14px; overflow: hidden; }
.pg-details, .pg-teamcard { padding: 16px; overflow: hidden; }
.pg-detail-head { font-size: 8.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); margin-bottom: 12px; }
/* compact the reused result content inside the app chrome */
.app .mp-row { padding: 9px 2px; gap: 9px; }
.app .mp-av { width: 32px; height: 32px; font-size: 11px; }
.app .mp-info b, .app .mt-row .mp-info b { font-size: 12.5px; }
.app .mp-info span, .app .mt-row .mp-info span { font-size: 10.5px; }
.app .mp-badge { font-size: 10px; padding: 2px 7px; }
.app .mp-btn { font-size: 10.5px; padding: 5px 9px; }
.app .mr-av { width: 38px; height: 38px; font-size: 12px; }
.app .mr-top b { font-size: 13px; }
.app .mr-grid { margin: 12px 0; }
.app .mr-cell { padding: 9px 11px; }
.app .mr-k { font-size: 9px; }
.app .mr-v { font-size: 12.5px; }
.app .mr-contact { padding: 8px 0; }
.app .mr-cv { font-size: 12px; }
.app .mt-head b { font-size: 13px; }
.app .mt-row { padding: 8px 0; gap: 9px; }
.app .mt-role { font-size: 10px; padding: 3px 9px; }
.app .mt-add { margin-top: 10px; font-size: 11.5px; }

/* ---- Hero dashboard visual (clean, with floating tooltip cards) ---- */
.hero-dash { margin-top: 68px; }
.hd-frame { position: relative; max-width: 1000px; margin: 0 auto; padding: 46px 44px; }
.hd-window { position: relative; z-index: 2; background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
  box-shadow: 0 40px 80px -36px rgba(28,34,92,.4), 0 8px 20px -12px rgba(28,34,92,.16);
  animation: hdIn .8s var(--ease) both; }
.hd-img { display: block; width: 100%; height: auto; }
@keyframes hdIn { from { opacity: 0; transform: translateY(18px) scale(.985); } to { opacity: 1; transform: none; } }
.hero-dash .sc-float { opacity: 0; animation: sfFade .6s var(--ease) forwards, floaty 7s ease-in-out infinite; }
.hero-dash .sf-tl { animation-delay: .25s; }
.hero-dash .sf-tr { animation-delay: .4s; }
.hero-dash .sf-bl { animation-delay: .55s; }
.hero-dash .sf-br { animation-delay: .7s; }
@keyframes sfFade { to { opacity: 1; } }
/* When JS scroll-assembly is active, GSAP owns the entrance transforms */
.js-scatter .hd-window { animation: none; }
.js-scatter .hero-dash .sc-float { animation: none; opacity: 0; will-change: transform, opacity; }
.js-scatter .hd-window { will-change: transform; }

/* Small screens (≤900px) can't run the scroll-assembly animation, so swap the
   interactive dashboard for a looping capture of it — same visual, no "broken"
   static state. Desktop never downloads the clip (preload="none" + display:none). */
.hero-dash-video { display: none; }
@media (max-width: 900px) {
  .hero-dash { margin-top: 40px; }
  .hero-dash .hd-frame { display: none; }
  .hero-dash-video { display: block; width: 100%; max-width: 560px; height: auto; margin: 0 auto;
    border-radius: 18px; box-shadow: 0 30px 70px -34px rgba(47,90,230,.45); }
}

/* ===== Scripted dashboard demo (cursor → People / DIN / GST → result popup) ===== */
.demo-layer { position: absolute; inset: 0; z-index: 8; pointer-events: none; }
.demo-cursor { position: absolute; top: 0; left: 0; width: 22px; height: 22px; z-index: 12; opacity: 0;
  filter: drop-shadow(0 3px 5px rgba(15,20,50,.4)); will-change: transform, left, top, opacity; }
.demo-cursor svg { width: 100%; height: 100%; display: block; fill: #1b2233; }
.demo-cursor svg path { stroke: #fff; stroke-width: 1.3; stroke-linejoin: round; }
/* matches the dashboard's baked-in "Dashboard" active pill (#DAE1F5 over the sidebar) */
.demo-hl { position: absolute; z-index: 9; border-radius: 6px; opacity: 0;
  background: rgba(120,140,235,.16); will-change: transform, opacity, top; }

.demo-popup { position: absolute; z-index: 11; width: 40%; max-width: 340px; min-width: 244px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 26px 54px -18px rgba(20,28,64,.42), 0 6px 16px -8px rgba(20,28,64,.2);
  padding: 15px; opacity: 0; overflow: hidden; will-change: transform, opacity; }
.demo-popup .dp-eyebrow { display: flex; align-items: center; gap: 6px; font-size: 9px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; color: var(--brand); margin-bottom: 10px; }
.demo-popup .dp-eyebrow::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--grad-brand); }
.dp-head { display: flex; align-items: center; gap: 7px; font-size: 11.5px; color: var(--muted); margin-bottom: 11px;
  padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.dp-head b { color: var(--ink); font-family: 'Plus Jakarta Sans', ui-monospace, monospace; letter-spacing: .03em; }
.dp-badge { margin-left: auto; font-size: 9px; font-weight: 700; color: var(--green);
  background: color-mix(in srgb, var(--green) 13%, #fff); padding: 2px 8px; border-radius: 100px;
  text-transform: uppercase; letter-spacing: .05em; }
.dp-top { display: flex; align-items: center; gap: 10px; }
.dp-av { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; color: #fff;
  font-weight: 700; font-size: 12px; flex: 0 0 auto; }
/* company (GST) tile — building glyph instead of initials */
.dp-co { background: linear-gradient(160deg, #eaf0ff, #dae5fb); color: var(--brand);
  border: 1px solid color-mix(in srgb, var(--brand) 20%, transparent); box-shadow: 0 2px 6px rgba(20,28,64,.12); }
.dp-co svg { width: 21px; height: 21px; }
.dp-id { display: flex; flex-direction: column; min-width: 0; }
.dp-id b { font-size: 13px; color: var(--ink); line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dp-id span { font-size: 10.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dp-ok { margin-left: auto; width: 20px; height: 20px; border-radius: 50%; background: var(--green); color: #fff;
  font-size: 10px; display: grid; place-items: center; flex: 0 0 auto;
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--green) 13%, transparent); }
.dp-id b { font-size: 13.5px; }
.dp-id span { font-size: 11px; }
.dp-rows { margin-top: 12px; display: flex; flex-direction: column; gap: 8px; }
.dp-row { display: flex; align-items: center; gap: 9px; background: var(--bg-soft); border: 1px solid var(--line);
  border-radius: 9px; padding: 7px 10px; }
.dp-ic { width: 28px; height: 28px; border-radius: 8px; background: linear-gradient(160deg, #eef3ff, #e1ebfd);
  border: 1px solid color-mix(in srgb, var(--brand) 14%, transparent); color: var(--brand);
  display: grid; place-items: center; font-size: 12px; flex: 0 0 auto; }
.dp-k { font-size: 10.5px; color: var(--muted); font-weight: 500; }
.dp-v { margin-left: auto; font-size: 12px; font-weight: 650; color: var(--ink); letter-spacing: .02em; font-variant-numeric: tabular-nums; }
/* The scripted demo is desktop-only; hide its layer below 900px so a stale popup
   (e.g. after resizing down from desktop) can never overflow the small dashboard. */
@media (max-width: 900px) { .demo-layer { display: none !important; } }

.sf-search { flex-direction: column; align-items: stretch; gap: 9px; width: 290px; padding: 12px; }
.sf-searchbar { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); border: 1px solid var(--line); border-radius: 9px; padding: 8px 11px; background: var(--bg-soft); }
.sf-searchbar svg { width: 14px; height: 14px; flex: 0 0 auto; }
.sf-sr { display: flex; align-items: center; gap: 9px; }
.sf-srtx { display: flex; flex-direction: column; min-width: 0; }
.sf-srtx b { font-size: 12.5px; color: var(--ink); line-height: 1.25; }
.sf-srtx span { font-size: 10.5px; color: var(--faint); }
.sf-sr .sf-ok { margin-left: auto; }

/* Mock browser frame */
.mock { background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden;
  box-shadow: 0 34px 64px -32px rgba(28,34,92,.36), 0 6px 16px -10px rgba(28,34,92,.14); }
.mock-bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.md { width: 10px; height: 10px; border-radius: 50%; background: #d5d9e4; }
.md:nth-child(1) { background: #ff5f57; } .md:nth-child(2) { background: #febc2e; } .md:nth-child(3) { background: #28c840; }
.mock-url { margin: 0 auto; font-size: 11.5px; color: var(--faint); background: #fff; border: 1px solid var(--line); padding: 3px 14px; border-radius: 100px; }
.mock-body { padding: 18px 20px; flex: 1 1 auto; }

/* avatars */
.mp-av, .mr-av { display: grid; place-items: center; color: #fff; font-weight: 700; flex: 0 0 auto; }
.mp-av { width: 38px; height: 38px; border-radius: 50%; font-size: 12px; }
.a1 { background: #2f5ae6; } .a2 { background: #6d92ea; } .a3 { background: #0ea5e9; } .a4 { background: #16a34a; } .gst { background: #16a34a; }

/* People results */
.mp-head { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); padding: 2px 2px 13px; border-bottom: 1px solid var(--line); }
.mp-head b { color: var(--ink); }
.mp-clear { margin-left: auto; color: var(--brand); font-weight: 600; }
.mp-row { display: flex; align-items: center; gap: 12px; padding: 13px 2px; border-bottom: 1px solid var(--line); }
.mp-row:last-child { border-bottom: none; }
.mp-info { display: flex; flex-direction: column; min-width: 0; }
.mp-info b { font-size: 14px; color: var(--ink); line-height: 1.3; }
.mp-info span { font-size: 12px; color: var(--muted); }
.mp-badge { font-size: 11.5px; font-weight: 600; color: #16a34a; background: color-mix(in srgb, #16a34a 12%, #fff); padding: 3px 9px; border-radius: 100px; flex: 0 0 auto; }
.mp-acts { margin-left: auto; display: flex; gap: 8px; flex: 0 0 auto; }
.mp-btn { font-size: 12px; font-weight: 600; color: #fff; background: var(--brand); padding: 6px 11px; border-radius: 8px; }
.mp-btn.ghost { color: var(--brand); background: #fff; border: 1px solid color-mix(in srgb, var(--brand) 30%, var(--line)); }

/* DIN / GST result cards */
.mr-top { display: flex; align-items: center; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.mr-av { width: 44px; height: 44px; border-radius: 12px; font-size: 13px; }
.mr-top b { font-size: 15px; color: var(--ink); display: block; line-height: 1.3; }
.mr-sub { font-size: 12.5px; color: var(--muted); }
.mr-top .mp-badge { margin-left: auto; }
.mr-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; margin: 16px 0; }
.mr-cell { background: #fff; padding: 12px 14px; display: flex; flex-direction: column; gap: 3px; }
.mr-k { font-size: 10.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--faint); font-weight: 700; }
.mr-v { font-size: 14px; color: var(--ink); font-weight: 600; }
.mr-v.ok { color: #16a34a; }
.mr-contact { display: flex; align-items: center; gap: 11px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.mr-contact:last-child { border-bottom: none; }
.mr-ic { width: 32px; height: 32px; border-radius: 9px; background: var(--brand-soft); display: grid; place-items: center; font-size: 14px; flex: 0 0 auto; }
.mr-cl { font-size: 11px; color: var(--faint); display: block; }
.mr-cv { font-size: 13.5px; color: var(--ink); font-weight: 600; letter-spacing: .01em; }
.mr-reveal { margin-left: auto; font-size: 12px; font-weight: 600; color: var(--brand); border: 1px solid color-mix(in srgb, var(--brand) 30%, var(--line)); padding: 5px 12px; border-radius: 8px; }

/* Teams */
.mt-head { display: flex; align-items: center; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.mt-head b { font-size: 15px; color: var(--ink); display: block; }
.mt-manage { margin-left: auto; font-size: 12px; font-weight: 600; color: var(--brand); border: 1px solid color-mix(in srgb, var(--brand) 30%, var(--line)); padding: 5px 12px; border-radius: 8px; }
.mt-row { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.mt-role { margin-left: auto; font-size: 11.5px; font-weight: 600; color: var(--muted); background: var(--bg-soft); border: 1px solid var(--line); padding: 4px 11px; border-radius: 100px; }
.mt-role.admin { color: var(--brand); background: var(--brand-soft); border-color: transparent; }
.mt-add { margin-top: 14px; display: flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 600; color: var(--brand); }
.mt-add-ic { width: 24px; height: 24px; border-radius: 7px; border: 1px dashed color-mix(in srgb, var(--brand) 40%, var(--line)); display: grid; place-items: center; }

@media (max-width: 1160px) {
  .sc-float.sf-tl, .sc-float.sf-bl { left: -8px; }
  .sc-float.sf-tr, .sc-float.sf-br { right: -8px; }
}
@media (max-width: 900px) {
  .sc-tabs { gap: 4px; overflow-x: auto; flex-wrap: nowrap; padding: 7px; border-radius: 14px; }
  .sc-tabs::-webkit-scrollbar { display: none; }
  .sc-tab { padding: 10px 13px; font-size: 13.5px; flex: 0 0 auto; }
  .sc-stage { height: auto; }
  .sc-panel { position: relative; inset: auto; opacity: 1; visibility: visible; pointer-events: auto; display: none; }
  .sc-panel.active { display: block; }
  .sc-frame { padding: 18px 14px; height: auto; }
  .hd-frame { padding: 18px 14px; }
  .sc-float { display: none; }
  .app-side { display: none; }
  .pg-2col { grid-template-columns: 1fr; }
  .app-top .app-pill { display: none; }
}
@media (max-width: 560px) {
  .mp-acts { display: none; }
  .mock-body { padding: 14px; }
  .mr-grid { grid-template-columns: 1fr; }
}
.btn-sm { padding: 9px 14px; font-size: 13px; border-radius: 10px; }

/* ---------------- How it works ---------------- */
.how { background: var(--bg-soft); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; transition: transform .22s var(--ease), box-shadow .22s; }
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.step-n { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; background: var(--grad-brand); color: #fff; font-weight: 700; font-size: 17px; margin-bottom: 18px; box-shadow: var(--shadow-brand); }
.step h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.step p { font-size: 15px; color: var(--muted); }

/* ---------------- Split ---------------- */
.split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split-copy h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); font-weight: 700; margin: 6px 0 16px; }
.split-copy p { font-size: 17px; color: var(--muted); max-width: 500px; }
.split-copy p strong { color: var(--ink); }
.ticks { list-style: none; margin: 22px 0 28px; display: flex; flex-direction: column; gap: 11px; }
.ticks li { position: relative; padding-left: 30px; color: var(--ink); font-size: 15px; }
.ticks li::before { content: '✓'; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%; background: var(--brand); color: #fff; font-size: 12px; font-weight: 700; display: grid; place-items: center; }

.split-visual { display: flex; justify-content: center; align-items: center; }
/* Illustration visuals for the stacked feature cards */
.split-illus { display: flex; justify-content: center; align-items: center; width: 100%; }
/* Cap illustrations by HEIGHT so portrait & landscape art occupy the same
   vertical space — keeps all three stacked cards the same size. */
.split-illus--single { width: 100%; }
.split-illus--single img { max-width: 100%; max-height: 400px; width: auto; height: auto; display: block; margin: 0 auto; }
/* gentle float for illustrations that opt in */
.split-illus--float img { animation: floaty 6s ease-in-out infinite; will-change: transform; }
@media (prefers-reduced-motion: reduce) { .split-illus--float img { animation: none; } }
.split-illus--stack { position: relative; width: 100%; max-width: 430px; }
.split-illus--stack .si-base { width: 100%; height: auto; display: block; }
/* the contact card floats on its own — gentle up/down, nothing else */
.split-illus--stack .si-float { position: absolute; height: auto; will-change: transform;
  filter: drop-shadow(0 14px 26px rgba(20,28,64,.14)); animation: floaty 6.5s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) {
  .split-illus--stack .si-float { animation: none; }
}
.panel { width: 100%; max-width: 440px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow-md); }
.panel-row { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.dot.g { background: var(--green); } .dot.r { background: #ef4444; } .dot.y { background: #f59e0b; }
.panel-card { display: flex; align-items: center; gap: 12px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 12px; padding: 14px; margin-bottom: 20px; }
.pc-av { width: 42px; height: 42px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 700; display: grid; place-items: center; }
.pc-name { font-weight: 700; color: var(--ink); }
.pc-role { font-size: 12.5px; color: var(--faint); }
.pc-badge { margin-left: auto; font-size: 12px; font-weight: 600; color: var(--green); background: #e9f8ef; padding: 5px 11px; border-radius: 100px; }
.bar { margin-bottom: 16px; }
.bar label { display: block; font-size: 12.5px; color: var(--muted); margin-bottom: 7px; }
.bar i { display: block; height: 8px; border-radius: 6px; background: var(--brand); width: 0; transition: width 1.1s var(--ease); }
.bar.run i { width: var(--w); }

.kanban { display: flex; gap: 12px; }
.kb-col { flex: 1; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 12px; padding: 12px; }
.kb-h { font-size: 12px; color: var(--faint); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 10px; }
.kb-lead { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; font-size: 13px; color: var(--ink); margin-bottom: 8px; box-shadow: var(--shadow-sm); }
.kb-lead.win { border-color: #bbf0cd; background: #f0fbf4; color: var(--green); font-weight: 600; }

.code { background: #0f172a; border-color: #0f172a; }
.code-top { display: flex; align-items: center; gap: 7px; font-size: 12.5px; color: #94a3b8; padding-bottom: 14px; border-bottom: 1px solid #1e293b; margin-bottom: 14px; }
.code-top .dot:last-of-type { margin-right: 8px; }
.code pre { font-family: 'SF Mono', ui-monospace, monospace; font-size: 13px; line-height: 1.8; color: #cbd5e1; overflow-x: auto; }
.code .k { color: #c4b5fd; } .code .fn { color: #7dd3fc; } .code .s { color: #86efac; } .code .kw { color: #fdba74; } .code .cm { color: #64748b; }

/* Real-data spec panel (replaces mock UI) */
.spec-panel { width: 100%; max-width: 440px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px 28px; box-shadow: var(--shadow-md); }
.sp-head { display: flex; align-items: center; gap: 10px; padding-bottom: 16px; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.sp-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(23,163,74,.12); }
.sp-title { font-weight: 700; color: var(--ink); font-size: 15px; }
.sp-title span { color: var(--faint); font-weight: 500; margin-left: auto; font-size: 12px; }
.sp-row { display: flex; align-items: flex-start; gap: 13px; padding: 15px 0; border-bottom: 1px solid var(--bg-soft); }
.sp-row:last-child { border-bottom: none; padding-bottom: 0; }
.sp-ic { width: 28px; height: 28px; border-radius: 9px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; font-size: 14px; flex-shrink: 0; }
.sp-row b { display: block; color: var(--ink); font-size: 14.5px; font-weight: 600; }
.sp-row p { color: var(--muted); font-size: 13px; margin-top: 2px; }
.sp-tag { margin-left: auto; align-self: center; font-size: 11px; font-weight: 700; letter-spacing: .04em; color: var(--green); background: #e9f8ef; padding: 4px 10px; border-radius: 100px; text-transform: uppercase; }

/* ---------------- Plans ---------------- */
.plans { background: var(--bg-soft); }
/* divider between the free-trial band and the plans — a soft, brand-tinted hairline that fades at both ends */
.plan-sep { height: 1px; width: 100%; max-width: 720px; margin: 46px auto 54px;
  background: linear-gradient(90deg, transparent 0%, color-mix(in srgb, var(--brand) 34%, var(--line-2)) 50%, transparent 100%); }
.toggle { position: relative; display: inline-flex; gap: 4px; padding: 5px; background: #fff; border: 1px solid var(--line); border-radius: 100px; margin: 0 auto 44px; left: 50%; transform: translateX(-50%); box-shadow: var(--shadow-sm); }
.toggle-btn { position: relative; z-index: 1; border: none; background: none; cursor: pointer; font-weight: 600; font-size: 15px; color: var(--muted); padding: 9px 30px; border-radius: 100px; transition: color .3s; }
.toggle-btn.active { color: #fff; }
.toggle-pill { position: absolute; top: 5px; left: 5px; height: calc(100% - 10px); width: calc(50% - 5px); background: var(--grad-brand); border-radius: 100px; z-index: 0; box-shadow: var(--shadow-brand); transition: transform .35s var(--ease); }
.toggle-pill.right { transform: translateX(100%); }

.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
/* equal-height cards; Subscribe button sits at the bottom with clear spacing above */
.plan-grid .p-card { display: flex; flex-direction: column; }
.plan-grid .p-card .p-feat { margin-bottom: 28px; }
.plan-grid .p-card > .btn-block { margin-top: auto; }
.plan-grid.hidden { display: none; }
.plan-grid.fade-swap { animation: swapIn .4s var(--ease); }
@keyframes swapIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

.p-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px 26px; box-shadow: var(--shadow-sm); transition: transform .22s var(--ease), box-shadow .22s; }
.p-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.p-card.popular { border-color: color-mix(in srgb, var(--brand) 55%, var(--line)); box-shadow: 0 24px 50px -20px rgba(47,90,230,.28); }
.p-badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); white-space: nowrap; background: var(--grad-brand); color: #fff; font-weight: 650; font-size: 13px; padding: 5px 16px; border-radius: 100px; box-shadow: var(--shadow-brand); }
.p-name { font-size: 22px; font-weight: 700; }
.p-price { margin: 14px 0 4px; display: flex; align-items: baseline; gap: 10px; }
.p-price .old { color: var(--faint); text-decoration: line-through; font-size: 17px; }
.p-price strong { font-size: 36px; color: var(--ink); font-weight: 700; letter-spacing: -.02em; }
.p-gst { font-size: 13px; color: var(--faint); }
.p-meta { display: flex; gap: 10px; margin: 20px 0; }
.p-meta div { flex: 1; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 11px; padding: 12px; text-align: center; }
.p-meta span { display: block; font-size: 12px; color: var(--faint); margin-bottom: 4px; }
.p-meta b { font-size: 19px; color: var(--ink); font-weight: 700; }
.p-feat { list-style: none; margin-top: 22px; display: flex; flex-direction: column; gap: 11px; }
.p-feat li { position: relative; padding-left: 26px; font-size: 14.5px; color: var(--text); }
.p-feat li::before { content: '✓'; position: absolute; left: 0; top: 1px; width: 18px; height: 18px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); font-size: 11px; font-weight: 700; display: grid; place-items: center; }
.p-feat li.no { color: var(--faint); }
.p-feat li.no::before { content: '×'; background: #f1f5f9; color: var(--faint); }

.demo-cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-top: 52px; padding: 32px 40px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.demo-cta h3 { font-size: 24px; font-weight: 700; }
.demo-cta p { color: var(--muted); margin-top: 4px; }

/* ---------------- FAQ ---------------- */
.faq-wrap { max-width: 780px; margin: 0 auto; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 13px; overflow: hidden; transition: border-color .25s, box-shadow .25s; }
.faq-item.open { border-color: var(--brand); box-shadow: var(--shadow-sm); }
.faq-q { width: 100%; text-align: left; background: none; border: none; cursor: pointer; font-weight: 600; font-size: 16.5px; color: var(--ink); padding: 18px 20px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
/* plus / minus indicator drawn with two bars so it stays crisp and centred in every font */
.faq-x { position: relative; flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); transition: background .25s, color .25s; }
.faq-x::before, .faq-x::after { content: ''; position: absolute; left: 50%; top: 50%; background: currentColor; border-radius: 2px; transition: transform .3s var(--ease), opacity .3s; }
.faq-x::before { width: 12px; height: 2px; transform: translate(-50%, -50%); }
.faq-x::after { width: 2px; height: 12px; transform: translate(-50%, -50%); }
.faq-q:hover .faq-x { background: color-mix(in srgb, var(--brand) 16%, #fff); }
.faq-item.open .faq-x { background: var(--brand); color: #fff; }
.faq-item.open .faq-x::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.faq-a p { padding: 0 20px 18px; color: var(--muted); font-size: 15px; }
/* JS sets the exact height inline; this only covers the no-JS case */
.faq-item.open .faq-a { max-height: 100vh; }

/* ---------------- CTA ---------------- */
.cta { padding: 20px 0 90px; }
/* Light, airy CTA — brand accents instead of a heavy solid-blue block */
.cta-panel { position: relative; overflow: hidden; padding: 48px 48px; border-radius: 24px; color: var(--ink);
  background: linear-gradient(155deg, #f6f9ff 0%, #eaf1fe 100%);
  border: 1px solid color-mix(in srgb, var(--brand) 13%, var(--line));
  box-shadow: 0 24px 56px -38px rgba(47,90,230,.24); }
/* very faint brand dot texture for a touch of depth */
.cta-panel::before { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .6; z-index: 0;
  background-image: radial-gradient(circle, rgba(47,90,230,.09) 1px, transparent 1.7px); background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(85% 75% at 16% 6%, #000, transparent 74%);
          mask-image: radial-gradient(85% 75% at 16% 6%, #000, transparent 74%); }
.cta-panel::after { content: ''; position: absolute; inset: 0; opacity: .9; pointer-events: none; z-index: 0;
  background: radial-gradient(48% 62% at 4% -12%, rgba(47,90,230,.10), transparent 62%),
    radial-gradient(44% 56% at 104% 114%, rgba(122,160,236,.16), transparent 60%); }
.cta-orbs span { position: absolute; border-radius: 50%; filter: blur(12px); }
.cta-orbs span:nth-child(1) { display: none; }
.cta-orbs span:nth-child(2) { width: 360px; height: 360px; bottom: -180px; right: -110px; background: radial-gradient(circle, rgba(120,150,240,.20), transparent 70%); }
.cta-panel > * { position: relative; z-index: 1; }
.cta-split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 46px; align-items: center; }

.cta-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 11.5px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--brand); background: var(--brand-soft);
  border: 1px solid color-mix(in srgb, var(--brand) 18%, transparent);
  padding: 7px 15px; border-radius: 100px; margin-bottom: 20px; }
.cta-eyebrow::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 18%, transparent); }
.cta-panel h2 { color: var(--ink); font-size: clamp(1.85rem, 3.4vw, 2.5rem); font-weight: 800; letter-spacing: -.022em; line-height: 1.08; }
.cta-copy > p { margin: 16px 0 0; max-width: 470px; font-size: 16px; line-height: 1.66; color: var(--muted); }
.cta-btns { margin-top: 28px; display: flex; gap: 14px; flex-wrap: wrap; }
/* primary = brand, secondary = outline (light background now) */
.cta-panel .btn-white { background: var(--grad-brand); color: #fff; box-shadow: var(--shadow-brand); }
.cta-panel .btn-white:hover { box-shadow: 0 12px 26px -14px rgba(47,90,230,.45); }
.cta-panel .btn-glass { background: #fff; color: var(--ink); border: 1px solid var(--line-2); }
.cta-panel .btn-glass:hover { background: #fff; color: var(--brand); border-color: var(--brand); }
.btn-glass { background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.4); }
.btn-glass:hover { background: rgba(255,255,255,.22); color: #fff; }

/* feature checklist */
.cta-feats { margin-top: 26px; display: grid; grid-template-columns: 1fr 1fr; gap: 13px 24px; max-width: 500px; list-style: none; }
.cta-feat { display: flex; align-items: center; gap: 11px; font-size: 14.5px; color: var(--ink-2); }
.cta-feat svg { width: 22px; height: 22px; flex: 0 0 auto; padding: 4px; border-radius: 50%; background: var(--brand-soft);
  stroke: var(--brand); stroke-width: 2.6; fill: none; stroke-linecap: round; stroke-linejoin: round; }

/* CTA form card (right column) */
.cta-form-card { background: #fff; border-radius: 20px; padding: 30px 30px 26px; border: 1px solid var(--line); box-shadow: 0 22px 48px -30px rgba(28,34,92,.2); }
.cta-form-card h3 { color: var(--ink); font-size: 21px; font-weight: 700; letter-spacing: -.012em; }
.cta-form-intro { color: var(--muted); font-size: 14px; margin: 9px 0 20px; line-height: 1.55; }
.cta-form { display: flex; flex-direction: column; gap: 14px; }
.cta-frow { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.cta-field { display: flex; flex-direction: column; gap: 6px; }
.cta-field > span { font-size: 12px; font-weight: 600; color: var(--ink-2); }
.cta-field input, .cta-field textarea { width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line-2);
  background: var(--bg-soft); color: var(--ink); font-size: 14.5px; font-family: inherit;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease); }
.cta-field textarea { resize: vertical; min-height: 90px; }
.cta-field input::placeholder, .cta-field textarea::placeholder { color: var(--faint); }
.cta-field input:focus, .cta-field textarea:focus { outline: none; background: #fff; border-color: var(--brand);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 15%, transparent); }
.cta-form .btn-block { margin-top: 4px; }
.cta-form-note { display: flex; align-items: center; justify-content: center; gap: 7px; font-size: 12px; color: var(--faint); margin-top: 6px; }
.cta-form-note svg { width: 13px; height: 13px; stroke: currentColor; stroke-width: 1.8; fill: none; stroke-linecap: round; stroke-linejoin: round; }

/* Contact Form 7 uses its own wrappers. Keep its rendered form visually identical
   to the hand-written CTA forms in index.html/about.html, without leaking these rules elsewhere. */
.cta-form .wpcf7 { width: 100%; }
.cta-form .wpcf7-form { display: flex; flex-direction: column; gap: 12px; }
.cta-form .wpcf7-form p { margin: 0; }
.cta-form .wpcf7-form br { display: none; }
.cta-form .wpcf7-form label { display: flex; flex-direction: column; gap: 6px;
  margin: 0; color: var(--ink-2); font-size: 12px; font-weight: 600; line-height: 1.35; }
.cta-form .wpcf7-form .cta-frow { width: 100%; }
.cta-form .wpcf7-form-control-wrap { display: block; width: 100%; }
.cta-form .wpcf7-form-control:not(.wpcf7-submit):not(.wpcf7-acceptance) {
  width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line-2);
  background: var(--bg-soft); color: var(--ink); font-family: inherit; font-size: 14.5px; font-weight: 400; line-height: 1.4;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease); }
.cta-form textarea.wpcf7-form-control { height: 96px; min-height: 96px; resize: vertical; }
.cta-form .wpcf7-form-control::placeholder { color: var(--faint); }
.cta-form .wpcf7-form-control:focus { outline: none; background: #fff; border-color: var(--brand);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 15%, transparent); }
.cta-form .wpcf7-submit { position: relative; overflow: hidden; display: inline-flex; width: 100%;
  align-items: center; justify-content: center; margin-top: 4px; padding: 12px 22px; border: 0;
  border-radius: 12px; cursor: pointer; background: var(--grad-brand); color: #fff;
  box-shadow: var(--shadow-brand); font-family: inherit; font-size: 15px; font-weight: 650; line-height: 1.4;
  transition: transform .2s var(--ease), box-shadow .25s var(--ease); }
.cta-form .wpcf7-submit:hover { transform: scale(1.03); box-shadow: 0 12px 26px -14px rgba(47,90,230,.45); }
.cta-form .wpcf7-submit:active { transform: scale(.98); }
.cta-form .wpcf7-not-valid { border-color: #ef4444 !important; }
.cta-form .wpcf7-not-valid-tip { margin-top: 5px; color: #dc2626; font-size: 12px; font-weight: 600; }
.cta-form .wpcf7-response-output { margin: 0 !important; padding: 11px 13px !important;
  border-radius: 10px; font-size: 12.5px; line-height: 1.45; }
.cta-form .wpcf7-spinner { display: block; margin: 8px auto 0; }

/* Reviews */
/* static 3-up grid (used on the Features page) */
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review-grid .review-card:hover { transform: translateY(-4px); box-shadow: 0 22px 40px -24px rgba(28,34,92,.3); border-color: color-mix(in srgb, var(--brand) 26%, var(--line)); }

/* ---- Reviews: center-focused auto-rotating carousel (landing page) ---- */
.rv-carousel { position: relative; margin-top: 46px; }
/* the carousel positions preview cards far off-centre (±720px); clip at the section
   (viewport width) so they never push the page wider than the screen on mobile */
.reviews { overflow-x: clip; }
.rv-stage { position: relative; height: 424px; }
.rv-slide { position: absolute; top: 50%; left: 50%; width: min(430px, 86vw);
  transform: translate(-50%, -50%) scale(.66); opacity: 0; z-index: 1; pointer-events: none;
  will-change: transform, opacity;
  transition: transform .5s var(--ease-out), opacity .5s var(--ease-out); }
.rv-slide .review-card { margin: 0; width: 100%; min-height: 300px; }
.rv-slide.is-center { transform: translate(-50%, -50%) scale(1); opacity: 1; z-index: 30; pointer-events: auto; }
.rv-slide.is-l1 { transform: translate(calc(-50% - 310px), -50%) scale(.85); opacity: .62; z-index: 20; cursor: pointer; pointer-events: auto; }
.rv-slide.is-r1 { transform: translate(calc(-50% + 310px), -50%) scale(.85); opacity: .62; z-index: 20; cursor: pointer; pointer-events: auto; }
.rv-slide.is-l2 { transform: translate(calc(-50% - 545px), -50%) scale(.72); opacity: .28; z-index: 10; cursor: pointer; pointer-events: auto; }
.rv-slide.is-r2 { transform: translate(calc(-50% + 545px), -50%) scale(.72); opacity: .28; z-index: 10; cursor: pointer; pointer-events: auto; }
.rv-slide.is-hl { transform: translate(calc(-50% - 720px), -50%) scale(.66); opacity: 0; }
.rv-slide.is-hr { transform: translate(calc(-50% + 720px), -50%) scale(.66); opacity: 0; }

.review-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 30px 28px;
  box-shadow: 0 1px 2px rgba(12,18,34,.04); display: flex; flex-direction: column; transition: box-shadow .4s var(--ease), border-color .4s var(--ease); }
.rv-slide.is-center .review-card { box-shadow: 0 40px 80px -34px rgba(28,34,92,.34); border-color: color-mix(in srgb, var(--brand) 22%, var(--line)); }
.rv-dots { display: flex; justify-content: center; gap: 8px; margin-top: 30px; }
.rv-dot { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%; background: var(--line-2);
  cursor: pointer; transition: background .3s var(--ease), width .3s var(--ease); }
.rv-dot.on { background: var(--brand); width: 22px; border-radius: 5px; }
@media (max-width: 760px) {
  .rv-slide.is-l1, .rv-slide.is-r1 { opacity: 0; }   /* on small screens show just the centre card */
  .rv-slide.is-l2, .rv-slide.is-r2 { opacity: 0; }
}
/* star rating removed (every card was 5★ — looked fake); a quote mark takes its
   place and the testimonial text scales up to fill the space */
.rv-stars { display: none; }
/* company brand logo header on each testimonial card */
.rv-brand { display: flex; align-items: center; min-height: 38px; margin-bottom: 20px;
  padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.rv-brand img { max-height: 38px; max-width: 172px; width: auto; height: auto; object-fit: contain; display: block; }
.rv-text { margin-top: 2px; font-size: 18px; line-height: 1.62; color: var(--ink-2); flex: 1; font-weight: 500; }
.rv-text::before { content: '\201C'; display: block; font-family: Georgia, 'Times New Roman', serif;
  font-size: 54px; line-height: .55; color: color-mix(in srgb, var(--brand) 60%, transparent); margin-bottom: 12px; }
.rv-user { display: flex; align-items: center; gap: 13px; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.rv-av { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; overflow: hidden;
  background: linear-gradient(180deg, #eef2fb, #e4e9f6); border: 1px solid var(--line);
  color: var(--brand); font-weight: 700; font-size: 14px; flex: 0 0 auto; }
.rv-av img { width: 100%; height: 100%; object-fit: cover; object-position: center 12%; display: block; }
.rv-user b { display: block; font-size: 15px; color: var(--ink); }
.rv-user span { font-size: 13px; color: var(--muted); }

/* ---------------- Contact methods (contact.html) ---------------- */
.contact-methods { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 28px; }
.contact-method { display: flex; align-items: center; gap: 13px; padding: 15px 16px; border: 1px solid var(--line);
  border-radius: 15px; background: #fff; transition: transform .2s var(--ease), border-color .2s, box-shadow .2s; }
a.contact-method:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--brand) 28%, var(--line)); box-shadow: var(--shadow-md); }
.cm-ic { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; font-size: 19px;
  background: var(--brand-soft); color: var(--brand); flex: 0 0 auto; }
.contact-method b { display: block; font-size: 14.5px; color: var(--ink); line-height: 1.3; }
.contact-method span { font-size: 13px; color: var(--muted); }
@media (max-width: 560px) { .contact-methods { grid-template-columns: 1fr; } }

/* ============================================================
   Contact page — Get in touch, FAQ, CTA
   ============================================================ */
.ct-hero { padding: calc(var(--nav-h) + 58px) 0 74px; }
.ct-grid { display: grid; grid-template-columns: 1fr 1.04fr; gap: 58px; align-items: start; position: relative; z-index: 1; }
.ct-info { text-align: left; }
.ct-info .tag { margin-bottom: 16px; }
.ct-title { font-size: clamp(2.2rem, 4.4vw, 3.3rem); line-height: 1.04; letter-spacing: -.03em; margin: 6px 0 18px; }
.ct-lead { font-size: 16.5px; color: var(--muted); line-height: 1.72; max-width: 500px; }
.ct-methods { display: flex; flex-direction: column; gap: 13px; margin-top: 34px; }
.ct-method { display: flex; align-items: center; gap: 15px; padding: 15px 18px; border: 1px solid var(--line);
  border-radius: 16px; background: #fff; box-shadow: var(--shadow-sm); transition: transform .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease); }
a.ct-method:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--brand) 32%, var(--line)); box-shadow: var(--shadow-md); }
.ct-ic { width: 48px; height: 48px; border-radius: 14px; flex: 0 0 auto; display: grid; place-items: center;
  color: var(--brand); background: var(--brand-soft); border: 1px solid color-mix(in srgb, var(--brand) 14%, transparent); }
.ct-ic svg { width: 22px; height: 22px; stroke: currentColor; stroke-width: 1.9; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.ct-ic-wa { color: #16a34a; background: #e9f8ef; border-color: color-mix(in srgb, #16a34a 16%, transparent); }
.ct-mtx b { display: block; font-size: 15.5px; color: var(--ink); font-weight: 650; }
.ct-mtx span { font-size: 14px; color: var(--muted); }
.ct-hours { display: inline-flex; align-items: center; gap: 9px; margin-top: 22px; font-size: 14px; color: var(--muted); }
.ct-hours svg { width: 17px; height: 17px; stroke: var(--brand); stroke-width: 1.9; fill: none; stroke-linecap: round; stroke-linejoin: round; }

/* form card */
.ct-card { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 34px 34px 30px;
  box-shadow: 0 44px 96px -44px rgba(28,34,92,.36); }
.ct-card-head h2 { font-size: 24px; font-weight: 700; letter-spacing: -.02em; }
.ct-card-head p { color: var(--muted); font-size: 14.5px; margin: 9px 0 22px; line-height: 1.6; }
.ct-form { display: flex; flex-direction: column; gap: 16px; }
.ct-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ct-field { display: flex; flex-direction: column; gap: 7px; }
.ct-field > span { font-size: 12.5px; font-weight: 600; color: var(--ink-2); letter-spacing: .01em; }
.ct-field input, .ct-field textarea { width: 100%; padding: 13px 15px; border-radius: 12px; border: 1px solid var(--line-2);
  background: var(--bg-soft); color: var(--ink); font-family: inherit; font-size: 14.5px;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease); }
.ct-field input::placeholder, .ct-field textarea::placeholder { color: var(--faint); }
.ct-field input:focus, .ct-field textarea:focus { outline: none; background: #fff; border-color: var(--brand);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 15%, transparent); }
.ct-field textarea { resize: vertical; min-height: 112px; }
.ct-submit { margin-top: 6px; }
.ct-privacy { text-align: center; font-size: 12.5px; color: var(--faint); margin-top: 4px; }

/* FAQ two-column */
.ct-faq-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 56px; align-items: start; }
.ct-faq-side { position: sticky; top: 100px; }
.ct-faq-side .tag { margin-bottom: 14px; }
.ct-faq-side h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1.08; letter-spacing: -.02em; margin: 4px 0 12px; }
.ct-faq-side > p { color: var(--muted); font-size: 15.5px; line-height: 1.62; max-width: 340px; }
.ct-faq-help { margin-top: 28px; padding: 24px; border-radius: 18px; background: var(--brand-soft);
  border: 1px solid color-mix(in srgb, var(--brand) 15%, var(--line)); display: flex; flex-direction: column; align-items: flex-start; }
.ct-faq-help b { font-size: 16px; color: var(--ink); }
.ct-faq-help span { font-size: 14px; color: var(--muted); margin: 5px 0 16px; }

/* CTA band */
.ct-cta-sec { padding-top: 0; }
.ct-cta { text-align: center; padding: 62px 40px; }
.ct-cta-in { position: relative; z-index: 1; max-width: 640px; margin: 0 auto; }
.ct-cta h2 { color: #fff; font-size: clamp(1.8rem, 3.4vw, 2.5rem); font-weight: 700; letter-spacing: -.02em; }
.ct-cta p { color: rgba(255,255,255,.86); font-size: 16px; margin: 14px 0 28px; }
.ct-cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

@media (max-width: 900px) {
  .ct-grid { grid-template-columns: 1fr; gap: 36px; }
  .ct-faq-grid { grid-template-columns: 1fr; gap: 30px; }
  .ct-faq-side { position: static; }
  .ct-faq-side > p { max-width: none; }
}
@media (max-width: 560px) {
  .ct-row2 { grid-template-columns: 1fr; }
  .ct-card { padding: 26px 22px; }
}

/* ---------------- Footer ---------------- */
.footer { border-top: 1px solid var(--line); padding: 60px 0 30px; background: var(--bg-soft); }
.footer-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
.footer-brand p { color: var(--muted); font-size: 15px; max-width: 340px; margin: 18px 0 22px; line-height: 1.7; }
.footer-col h4 { font-size: 16px; font-weight: 700; margin-bottom: 16px; color: var(--ink); }
.footer-col a { display: block; color: var(--muted); font-size: 14.5px; margin-bottom: 12px; transition: color .2s; }
.footer-col a:hover { color: var(--brand); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-top: 26px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.footer-bottom p { font-size: 14px; color: var(--faint); }
.footer-bottom a { color: var(--brand); }
.socials { display: flex; gap: 10px; }
.socials a { width: 38px; height: 38px; border-radius: 10px; background: #fff; border: 1px solid var(--line); color: var(--text); display: grid; place-items: center; font-weight: 700; transition: .2s; }
.socials a:hover { background: var(--brand); color: #fff; border-color: transparent; transform: translateY(-2px); }

/* ---------------- Back to top ---------------- */
.to-top { position: fixed; bottom: 28px; right: 28px; z-index: 90; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); cursor: pointer; background: #fff; color: var(--ink); font-size: 18px; box-shadow: var(--shadow-md); opacity: 0; visibility: hidden; transform: translateY(10px); transition: .3s var(--ease); }
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--brand); color: #fff; border-color: transparent; }

/* ---------------- Reveal ---------------- */
.fade-up { opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.fade-up.in { opacity: 1; transform: none; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1100px) {
  .hero-scatter { max-width: 880px; height: 560px; }
  .scw-dash { width: 620px; margin-left: -310px; }
  .scw-search { width: 270px; }
}
@media (max-width: 1080px) {
  .feature-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 820px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1024px) {
  .faq-wrap { grid-template-columns: 1fr; gap: 28px; }
  .sec-head.left { text-align: center; margin: 0 auto 40px; }
}
@media (max-width: 900px) {
  /* stack the hero visual on small screens — show the dashboard, drop the scatter */
  .hero-scatter { height: auto; max-width: 560px; margin-top: 44px; }
  .scw-dash { position: static; width: 100%; margin: 0; }
  .scw-contact, .scw-phone, .scw-mail, .scw-search, .scw-lookup { display: none; }
}
@media (max-width: 860px) {
  .nav-links, .nav-actions { display: none; }
  .burger { display: flex; }
  .split-grid { grid-template-columns: 1fr; gap: 40px; }
  .split-alt .split-visual { order: -1; }
  .steps { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 18px; }
  .section { padding: 60px 0; }
  .feature-grid, .plan-grid { grid-template-columns: 1fr; }
  .hero-ctas-c { width: 100%; }
  .hero-ctas-c .btn { flex: 1; }
  .hero-stats { gap: 0; }
  .stat { padding: 0 18px; }
  .hero-h, .sec-head h2 { overflow-wrap: break-word; }
  .demo-cta { flex-direction: column; align-items: flex-start; padding: 26px; }
  .footer-bottom { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .cta-panel { padding: 40px 24px; }
  .cta-split { grid-template-columns: 1fr; gap: 32px; }
  .cta-copy { text-align: center; }
  .cta-copy > p { margin-left: auto; margin-right: auto; }
  .cta-btns { justify-content: center; }
  .cta-feats { max-width: 420px; margin-left: auto; margin-right: auto; text-align: left; }
}
@media (max-width: 900px) {
  .review-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .cta-frow { grid-template-columns: 1fr; }
  .cta-feats { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .fade-up { opacity: 1; transform: none; }
}

/* ============================================================
   Features page + Subscription page components
   ============================================================ */

/* Quick-links list in the features hero */
.quick-links { list-style: none; margin: 26px 0 6px; display: flex; flex-direction: column; gap: 12px; }
.quick-links li { position: relative; padding-left: 26px; font-size: 16px; font-weight: 500; }
.quick-links li::before { content: ''; position: absolute; left: 0; top: 8px; width: 8px; height: 8px; border-radius: 3px; background: var(--brand); }
.quick-links a { color: var(--brand); transition: color .2s, padding .2s; }
.quick-links li.plain a, .quick-links li.plain { color: var(--ink); }
.quick-links a:hover { color: var(--brand-dark); padding-left: 4px; }

/* Data Extracted From */
.extracted-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.ex-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 30px 28px 32px;
  box-shadow: var(--shadow-sm); overflow: hidden;
  transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s var(--ease); }
/* gradient accent bar that draws in on hover */
.ex-card::after { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--grad-brand); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.ex-card:hover { transform: translateY(-6px); border-color: color-mix(in srgb, var(--brand) 24%, var(--line));
  box-shadow: 0 28px 52px -26px rgba(28,34,92,.28); }
.ex-card:hover::after { transform: scaleX(1); }
.ex-logo { height: 74px; display: grid; place-items: center; margin-bottom: 22px; font-weight: 700; font-size: 28px; letter-spacing: -.5px;
  background: linear-gradient(180deg, var(--bg-soft) 0%, #fff 100%); border: 1px solid var(--line); border-radius: 14px;
  transition: border-color .28s var(--ease), transform .28s var(--ease); }
.ex-card:hover .ex-logo { border-color: color-mix(in srgb, var(--brand) 20%, var(--line)); transform: scale(1.02); }
.ex-logo .in { color: #0a66c2; }
.ex-logo .in b { background: #0a66c2; color: #fff; padding: 0 6px; border-radius: 4px; margin-left: 2px; }
.ex-logo .zauba { color: #2b3a8c; } .ex-logo .zauba b { color: #35b6e5; }
.ex-logo .tofler { color: #111; } .ex-logo .tofler b { color: #e23b2e; }
.ex-card p { font-size: 14.5px; color: var(--muted); line-height: 1.7; }

/* Detailed alternating feature blocks reuse .split — illustration tiles */
.illus { width: 100%; max-width: 440px; aspect-ratio: 4 / 3; border-radius: var(--radius-lg); display: grid; place-items: center; font-size: 76px; box-shadow: var(--shadow-sm); }
.illus-a { background: linear-gradient(135deg,#eaf1ff,#d9e4fb); }
.illus-b { background: linear-gradient(135deg,#ffeede,#ffe2c9); }
.illus-c { background: linear-gradient(135deg,#e6f7ee,#d2f0e0); }
.illus-d { background: linear-gradient(135deg,#f0eaff,#e4dbff); }

/* Book a free demo band (centered) */
.demo-band { text-align: left; background: linear-gradient(180deg, #d3ddf4, #e9f0fb); padding: 76px 0; }
.demo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.demo-illus { position: relative; width: 100%; max-width: 440px; margin: 0 auto; }
.demo-illus .di-base { width: 100%; height: auto; display: block; }
.demo-illus .di-window { position: absolute; height: auto; will-change: transform;
  filter: drop-shadow(0 16px 28px rgba(20,28,64,.18)); animation: floaty 6s ease-in-out infinite; }
.demo-band h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); font-weight: 700; letter-spacing: -.02em; }
.demo-band p { margin-top: 14px; font-size: 17px; color: var(--muted); max-width: 440px; }
.demo-band .btn { margin-top: 30px; }
.demo-band .demo-note { margin-top: 16px; font-size: 14px; color: var(--faint); }
@media (prefers-reduced-motion: reduce) { .demo-illus .di-window { animation: none; } }
@media (max-width: 820px) {
  .demo-grid { grid-template-columns: 1fr; gap: 30px; text-align: center; }
  .demo-illus { order: -1; max-width: 340px; }
  .demo-band p { margin-left: auto; margin-right: auto; }
}

/* Subscription hero */
.sub-hero { text-align: center; padding: calc(var(--nav-h) + 70px) 0 72px; background:
  radial-gradient(120% 90% at 50% 0%, #e8eefb 0%, transparent 60%), linear-gradient(180deg,#f7f9ff,#fff); }
.sub-hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); font-weight: 700; }
.sub-hero p { margin-top: 16px; font-size: 18px; color: var(--muted); }
.sub-hero .btn { margin-top: 44px; }

/* 4-column plan grid */
.plan-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: start; }
.plan-grid-4 .p-card { padding: 28px 22px; }
.plan-grid-4 .p-price strong { font-size: 30px; }
.p-per { font-size: 13px; color: var(--faint); margin-top: 2px; }
.p-lets { font-size: 30px; font-weight: 700; color: var(--brand); }
.p-product { text-align: center; background: var(--brand-soft); color: var(--ink); border: 1px solid var(--line); border-radius: 11px; padding: 11px; font-weight: 600; font-size: 14px; margin: 18px 0 12px; }
.p-card.popular .p-product { background: rgba(255,255,255,.22); color: #fff; border-color: transparent; }
/* Full-width Enterprise plan below the 3-plan grid */
.p-enterprise { margin-top: 22px; display: grid; grid-template-columns: 330px 1fr; gap: 46px; align-items: start;
  padding: 38px 40px; border-color: color-mix(in srgb, var(--brand) 26%, var(--line));
  background: linear-gradient(120deg, #ffffff 0%, #f4f7ff 100%); }
.pe-left { max-width: 340px; }
.pe-tag { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--brand); background: var(--brand-soft); padding: 5px 12px; border-radius: 100px; margin-bottom: 14px; }
.pe-left .p-lets { margin-top: 4px; }
.pe-sub { font-size: 14.5px; color: var(--muted); line-height: 1.62; margin: 14px 0 18px; }
.pe-left .p-product { margin: 0 0 18px; }
.pe-feat { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 32px; margin-top: 6px; align-content: start; }
.pe-feat li:first-child { grid-column: 1 / -1; }
@media (max-width: 900px) {
  .p-enterprise { grid-template-columns: 1fr; gap: 26px; padding: 30px 26px; }
  .pe-left { max-width: none; }
  .pe-feat { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .pe-feat { grid-template-columns: 1fr; }
}

/* Every plan includes */
.includes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px 40px; max-width: 900px; }
.includes-grid li { list-style: none; position: relative; padding-left: 34px; font-size: 16px; font-weight: 500; color: var(--ink); }
.includes-grid li::before { content: '✓'; position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 50%; background: #e9f8ef; color: var(--green); font-size: 12px; font-weight: 700; display: grid; place-items: center; }

/* Value band */
.value-band { background: linear-gradient(135deg, var(--brand), #4b6bff); color: #fff; text-align: center; padding: 76px 0; }
.value-band h2 { color: #fff; font-size: clamp(1.8rem, 3.8vw, 2.8rem); font-weight: 700; }
.value-band p { margin: 22px auto 0; max-width: 820px; font-size: 17px; color: rgba(255,255,255,.92); }
.value-band .btn { margin-top: 32px; }

@media (max-width: 1024px) {
  .extracted-grid, .includes-grid { grid-template-columns: repeat(2, 1fr); }
  .plan-grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .extracted-grid, .includes-grid, .plan-grid-4 { grid-template-columns: 1fr; }
  .illus { max-width: 100%; aspect-ratio: 16 / 10; font-size: 60px; }
}

/* ============================================================
   Reach page — company lookup
   ============================================================ */
.reach-main { min-height: calc(100vh - var(--nav-h) - 90px); display: grid; place-items: center;
  padding: calc(var(--nav-h) + 40px) 0 60px;
  background: radial-gradient(120% 80% at 50% 0%, #eef3ff 0%, transparent 60%), var(--bg); }
.reach-box { width: 100%; max-width: 760px; text-align: center; padding: 0 24px; }
.reach-logo { display: inline-flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.reach-logo .r-mark { width: 60px; height: 60px; border-radius: 16px; background: var(--brand); color: #fff; font-family: inherit; font-weight: 700; font-size: 30px; display: grid; place-items: center; box-shadow: 0 10px 26px rgba(47,92,255,.35); }
.reach-logo .r-name { font-size: 44px; font-weight: 700; color: var(--ink); letter-spacing: -.03em; }
.reach-sub { font-size: 18px; color: var(--muted); margin-bottom: 34px; }

.reach-search { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line-2); border-radius: 16px; padding: 8px 8px 8px 20px; box-shadow: var(--shadow-md); transition: border-color .2s, box-shadow .2s; }
.reach-search:focus-within { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(47,92,255,.12); }
.reach-search .s-ico { color: var(--faint); font-size: 20px; flex-shrink: 0; }
.reach-search input { flex: 1; border: none; outline: none; font-size: 17px; font-family: inherit; color: var(--ink); background: transparent; padding: 12px 0; }
.reach-search input::placeholder { color: var(--faint); }
.reach-search button { width: 46px; height: 46px; border-radius: 12px; border: none; cursor: pointer; background: var(--brand); color: #fff; font-size: 18px; display: grid; place-items: center; transition: background .2s, transform .2s; flex-shrink: 0; }
.reach-search button:hover { background: var(--brand-dark); transform: translateX(2px); }

.reach-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 24px; }
.reach-chip { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line-2); border-radius: 12px; padding: 11px 18px; font-size: 15px; font-weight: 500; color: var(--ink); cursor: pointer; transition: border-color .2s, transform .2s, box-shadow .2s; }
.reach-chip:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.reach-stats { display: flex; flex-wrap: wrap; justify-content: center; gap: 34px; margin-top: 40px; }
.reach-stats span { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; color: var(--muted); }
.reach-stats b { color: var(--ink); }

.reach-footer { border-top: 1px solid var(--line); padding: 22px 0; }
.reach-footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.reach-footer p { font-size: 13.5px; color: var(--faint); }
.reach-footer a { color: var(--muted); }
.reach-footer a:hover { color: var(--brand); }

/* ============================================================
   Blogs page
   ============================================================ */
/* --- Hero --- */
.blog-hero { position: relative; overflow: hidden; background: linear-gradient(180deg,#eef2ff 0%, #f4f6fb 100%);
  padding: calc(var(--nav-h) + 66px) 0 62px; border-bottom: 1px solid var(--line); }
.blog-hero::before { content: ''; position: absolute; top: -140px; right: -120px; width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(47,90,230,.16), transparent 68%); pointer-events: none; }
.blog-hero-grid { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; align-items: end; gap: 40px; }
.blog-eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 12px; border-radius: 100px;
  background: #fff; border: 1px solid color-mix(in srgb, var(--brand) 20%, var(--line));
  color: var(--brand); font-size: 12.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  box-shadow: 0 4px 12px -6px rgba(47,90,230,.25); }
.blog-eyebrow svg { width: 15px; height: 15px; }
.blog-hero h1 { margin-top: 18px; font-family: 'Plus Jakarta Sans','Inter',sans-serif; font-size: clamp(2rem, 4.2vw, 3rem);
  font-weight: 800; letter-spacing: -.025em; line-height: 1.1; color: var(--ink); }
.blog-hero h1 .accent { color: var(--brand); }
.blog-hero-sub { margin-top: 16px; max-width: 520px; font-size: 16px; line-height: 1.6; color: var(--muted); }
.blog-search { position: relative; }
.blog-search-ic { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); width: 19px; height: 19px; color: var(--muted); pointer-events: none; }
.blog-search input { width: 100%; height: 56px; padding: 0 18px 0 46px; border-radius: 15px; border: 1px solid var(--line);
  background: #fff; font-family: inherit; font-size: 15px; color: var(--ink); box-shadow: 0 8px 24px -14px rgba(20,28,64,.22);
  transition: border-color .2s, box-shadow .2s; }
.blog-search input::placeholder { color: #9aa2b4; }
.blog-search input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 14%, transparent); }

/* --- Tabs --- */
.blog-tabs-wrap { position: sticky; top: var(--nav-h); z-index: 40; background: rgba(255,255,255,.86);
  backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid var(--line); }
.blog-tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.blog-tabs::-webkit-scrollbar { display: none; }
.tab-btn { position: relative; flex: 0 0 auto; border: none; cursor: pointer; font-family: inherit; font-weight: 600;
  font-size: 14.5px; padding: 18px 6px; margin: 0 14px; background: none; color: var(--muted);
  border-bottom: 2px solid transparent; transition: color .2s; }
.tab-btn:first-child { margin-left: 0; }
.tab-btn:hover { color: var(--ink); }
.tab-btn.active { color: var(--brand); border-bottom-color: var(--brand); }

/* --- Section eyebrow / list head --- */
.sec-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
  padding-bottom: 12px; margin-bottom: 22px; border-bottom: 1px solid var(--line); }
.blog-featured-sec { padding-top: 56px; padding-bottom: 0; }
.blog-list-sec { padding-top: 56px; padding-bottom: 84px; }
.blog-list-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.blog-list-head h2 { font-family: 'Plus Jakarta Sans','Inter',sans-serif; font-size: 24px; font-weight: 800; letter-spacing: -.02em; color: var(--ink); }
.blog-count { font-size: 14px; color: var(--muted); font-weight: 500; }

/* --- Featured card --- */
.blog-feature { display: grid; grid-template-columns: 1fr 1.1fr; background: #fff; border: 1px solid var(--line);
  border-radius: 24px; overflow: hidden; box-shadow: 0 2px 4px rgba(12,18,34,.04), 0 26px 56px -30px rgba(28,34,92,.3);
  transition: transform .24s var(--ease), box-shadow .24s var(--ease); }
.blog-feature:hover { transform: translateY(-4px); box-shadow: 0 4px 8px rgba(12,18,34,.06), 0 34px 64px -28px rgba(28,34,92,.36); }
.blog-feature-media { position: relative; min-height: 320px; display: grid; place-items: center; }
.blog-feature-media::after { width: 76px; height: 76px; }
.blog-feature-body { padding: 40px 44px; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.feat-pill { display: inline-flex; align-items: center; gap: 7px; padding: 6px 13px; border-radius: 100px;
  background: color-mix(in srgb, var(--brand) 12%, transparent); color: var(--brand); font-size: 12px; font-weight: 700;
  letter-spacing: .04em; text-transform: uppercase; }
.feat-pill::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }
.blog-feature-body h2 { font-family: 'Plus Jakarta Sans','Inter',sans-serif; font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 800; letter-spacing: -.02em; line-height: 1.2; color: var(--ink); }
.blog-feature-body .blog-tags { margin: 0; }
.blog-feature-btn { margin-top: 6px; }

/* --- Grid --- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.blog-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 20px;
  overflow: hidden; box-shadow: 0 1px 2px rgba(12,18,34,.04); transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s; }
.blog-card:hover { transform: translateY(-6px); border-color: color-mix(in srgb, var(--brand) 20%, var(--line));
  box-shadow: 0 20px 40px -22px rgba(28,34,92,.32); }
.blog-thumb { height: 172px; display: grid; place-items: center; position: relative; overflow: hidden; }
/* real cover image sits on top of the placeholder glyph/watermark */
.blog-cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; z-index: 2; display: block; }
/* the featured card is large, so show the whole banner (no crop) on a clean bg */
.blog-feature .blog-feature-media { background: #fff; }
.blog-feature-media .blog-cover { object-fit: contain; }
/* Emojis hidden for now — clean placeholder glyph until real illustrations are added */
.bt-emoji { display: none; }
.blog-thumb::after, .blog-feature-media::after { content: ''; width: 46px; height: 46px;
  background: rgba(20,28,64,.18); transition: transform .3s var(--ease), background .3s;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='16' rx='2.5'/%3E%3Ccircle cx='8.5' cy='9.5' r='1.6'/%3E%3Cpath d='M20.5 15.5l-4.5-4.5-7 7'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='16' rx='2.5'/%3E%3Ccircle cx='8.5' cy='9.5' r='1.6'/%3E%3Cpath d='M20.5 15.5l-4.5-4.5-7 7'/%3E%3C/svg%3E") center/contain no-repeat; }
.blog-card:hover .blog-thumb::after { transform: scale(1.08); background: rgba(20,28,64,.26); }
.blog-thumb .wm { position: absolute; top: 11px; right: 13px; font-size: 11px; font-weight: 700; color: rgba(15,23,42,.42); display: flex; align-items: center; gap: 4px; }
.blog-thumb .wm i { width: 13px; height: 13px; background: var(--ink); border-radius: 3px; display: inline-block; opacity: .55; }
.bt-1 { background: linear-gradient(135deg,#e8f0ff,#d9e4fb); } .bt-2 { background: linear-gradient(135deg,#eafaf1,#d6f3e3); }
.bt-3 { background: linear-gradient(135deg,#fff1e6,#ffe3cf); } .bt-4 { background: linear-gradient(135deg,#f3ecff,#e6dbff); }
.bt-5 { background: linear-gradient(135deg,#fdeaf1,#fbd9e6); } .bt-6 { background: linear-gradient(135deg,#e6f7fb,#d0eef7); }
.blog-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.blog-tags { display: flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 500; color: var(--muted); margin-bottom: 11px; }
.blog-tags .tag-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--brand); flex: 0 0 auto; }
.blog-card h3 { font-size: 17px; font-weight: 700; color: var(--ink); line-height: 1.4; letter-spacing: -.01em; }
.blog-card:hover h3 { color: var(--brand); }
.blog-more { margin-top: auto; padding-top: 16px; display: inline-flex; align-items: center; gap: 6px; color: var(--brand);
  font-size: 13.5px; font-weight: 650; }
.blog-more svg { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.blog-card:hover .blog-more svg { transform: translateX(4px); }
.blog-card.hide { display: none; }
.blog-empty { text-align: center; padding: 60px 20px; color: var(--muted); font-size: 16px; }

/* --- Bottom CTA --- */
.blog-cta { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap;
  padding: 40px 48px; border-radius: 24px; background: linear-gradient(135deg, #e9f2fd 0%, #f4f6fb 100%);
  border: 1px solid color-mix(in srgb, var(--brand) 14%, var(--line)); }
.blog-cta-copy h2 { font-family: 'Plus Jakarta Sans','Inter',sans-serif; font-size: clamp(1.4rem, 2.2vw, 1.85rem); font-weight: 800; letter-spacing: -.02em; color: var(--ink); }
.blog-cta-copy p { margin-top: 8px; font-size: 15.5px; color: var(--muted); max-width: 560px; }

@media (max-width: 1024px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-hero-grid { grid-template-columns: 1fr; align-items: start; }
  .blog-search { max-width: 460px; }
  .blog-feature { grid-template-columns: 1fr; }
  .blog-feature-media { min-height: 200px; }
  .blog-feature-body { padding: 30px 32px; }
}
@media (max-width: 640px) {
  .blog-grid { grid-template-columns: 1fr; }
  .blog-cta { padding: 30px 26px; }
	.blogs-page .blog-list-head { align-items: flex-start; flex-direction: column; gap: 6px; }
	.blogs-page .blog-feature-body { padding: 26px 22px; }
  .reach-logo .r-name { font-size: 34px; }
  .reach-logo .r-mark { width: 50px; height: 50px; font-size: 24px; }
}

/* ============================================================
   Article (single blog post) page
   ============================================================ */
.art-hero { background: linear-gradient(180deg, #e9eeff 0%, #f4f6ff 100%); border-bottom: 1px solid var(--line);
  padding: calc(var(--nav-h) + 46px) 0 52px; }
.art-hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.art-tags { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; font-size: 14px; font-weight: 600; color: var(--brand); }
.art-tags .tag-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--brand); margin-right: 4px; }
.art-tags .tag-sep { color: var(--muted); font-weight: 500; margin-left: -4px; }
.art-hero h1 { margin-top: 16px; font-family: 'Plus Jakarta Sans','Inter',sans-serif; font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  font-weight: 800; line-height: 1.16; letter-spacing: -.02em; color: var(--ink); }
.art-pub { margin-top: 16px; font-size: 14.5px; color: var(--muted); }
.art-author-row { display: flex; align-items: center; gap: 12px; margin-top: 22px; }
.art-avatar { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(145deg, var(--brand), #6d92ea); color: #fff; font-weight: 700; font-size: 15px; }
.art-author-name { font-weight: 600; color: var(--ink); font-size: 15px; }
.art-read { color: var(--muted); font-size: 14px; position: relative; padding-left: 18px; }
.art-read::before { content: ''; position: absolute; left: 6px; top: 50%; width: 4px; height: 4px; border-radius: 50%;
  background: #c3c8d6; transform: translateY(-50%); }
.art-hero-media { position: relative; min-height: 260px; border-radius: 20px; display: grid; place-items: center;
  box-shadow: 0 20px 50px -26px rgba(28,34,92,.34); }
/* single-column hero: title + lead on top, picture as a full-width banner below */
.art-hero-single { display: block; }
.art-hero-single .art-hero-copy { max-width: 860px; }
.art-lead { margin-top: 18px; max-width: 780px; font-size: 17px; line-height: 1.7; color: #46506a; }
.art-hero-single .art-hero-media { width: 100%; min-height: 300px; margin-top: 40px; }
.art-cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: inherit; display: block; }
/* content column holds body → author card → share, all left-aligned */
.art-main { min-width: 0; }
.art-hero-media .wm { position: absolute; top: 14px; right: 16px; font-size: 12px; font-weight: 700; color: rgba(15,23,42,.42);
  z-index: 2; display: flex; align-items: center; gap: 5px; padding: 4px 7px; border-radius: 7px; background: rgba(255,255,255,.84); backdrop-filter: blur(5px); }
.art-hero-media .wm img { width: 14px; height: 14px; object-fit: contain; opacity: .62; }
.art-hero-media .wm i { width: 14px; height: 14px; background: var(--ink); border-radius: 3px; opacity: .55; }

/* Body + Table of Contents layout */
.art-layout { max-width: 1180px; margin: 0 auto; padding: 48px 24px 40px;
  display: grid; grid-template-columns: minmax(0, 1fr) 250px; gap: 60px; align-items: start; }
.art-layout .art-body { max-width: none; margin: 0; padding: 0; }
/* No headings → single readable column, no sidebar */
.art-layout.no-toc { grid-template-columns: minmax(0, 760px); justify-content: center; }
.art-layout.no-toc .art-toc { display: none; }

.art-toc { position: sticky; top: 100px; align-self: start; }
.art-toc-title { font-family: 'Plus Jakarta Sans','Inter',sans-serif; font-size: 13px; font-weight: 800;
  letter-spacing: .04em; text-transform: uppercase; color: var(--ink); margin-bottom: 14px; }
.art-toc-nav { display: flex; flex-direction: column; border-left: 2px solid var(--line);
  max-height: calc(100vh - 150px); overflow-y: auto; }
.toc-link { display: block; padding: 7px 4px 7px 16px; margin-left: -2px; border-left: 2px solid transparent;
  font-size: 13.5px; line-height: 1.45; color: var(--muted); text-decoration: none;
  transition: color .18s var(--ease), border-color .18s var(--ease); }
.toc-link:hover { color: var(--ink); }
.toc-l3 { padding-left: 30px; font-size: 13px; }
.toc-link.active { color: var(--brand); border-left-color: var(--brand); font-weight: 600; }

.art-body { max-width: 720px; margin: 0 auto; padding: 56px 24px 40px; }
.art-body > p { font-size: 17px; line-height: 1.78; color: #3b4254; margin-bottom: 22px; }
.art-body h2 { font-family: 'Plus Jakarta Sans','Inter',sans-serif; font-size: 1.6rem; font-weight: 800; letter-spacing: -.02em;
  color: var(--ink); margin: 40px 0 16px; }
.art-body h3 { font-size: 1.22rem; font-weight: 700; color: var(--ink); margin: 30px 0 12px; }
.art-body ul { margin: 0 0 22px; padding-left: 24px; display: flex; flex-direction: column; gap: 10px; }
.art-body li { font-size: 16.5px; line-height: 1.7; color: #3b4254; position: relative; padding-left: 18px; list-style: none; }
.art-body li::before { content: ''; position: absolute; left: 0; top: 11px; width: 7px; height: 7px; border-radius: 50%;
  background: var(--brand); }
.art-body li b { color: var(--ink); }
.art-body a { color: var(--brand); font-weight: 600; }
.art-body a:hover { text-decoration: underline; }
.art-body > :first-child { margin-top: 0; }
.art-body p, .art-body .wp-block-paragraph { font-size: 17px; line-height: 1.78; color: #3b4254; margin-bottom: 22px; }
.art-body ol { margin: 0 0 22px; padding-left: 26px; }
.art-body ol li { list-style: decimal; padding-left: 6px; }
.art-body ol li::before { display: none; }
.art-body img { max-width: 100%; height: auto; border-radius: 14px; }
.art-body figure { max-width: 100%; margin: 28px 0; }
.art-body figcaption { margin-top: 8px; text-align: center; font-size: 13px; color: var(--muted); }
.art-body blockquote { margin: 28px 0; padding: 20px 24px; border-left: 4px solid var(--brand); background: var(--bg-soft); border-radius: 0 12px 12px 0; }
.art-body blockquote p { margin-bottom: 0; }

/* Image placeholder */
.art-img { margin: 26px 0; border: 1px solid var(--line); border-radius: 16px; background: var(--bg-soft);
  aspect-ratio: 16 / 8; display: grid; place-items: center; gap: 10px; text-align: center; padding: 24px; }
.art-img-ic { color: #aab1c4; }
.art-img-ic svg { width: 46px; height: 46px; }
.art-img figcaption { font-size: 13.5px; color: var(--muted); max-width: 80%; }

/* Inline CTA */
.art-cta { margin: 34px 0; background: linear-gradient(135deg, #e9f2fd, #f4f6fb); border: 1px solid color-mix(in srgb, var(--brand) 14%, var(--line));
  border-radius: 20px; padding: 34px; text-align: center; }
.art-cta h3 { font-family: 'Plus Jakarta Sans','Inter',sans-serif; font-size: 1.4rem; font-weight: 800; color: var(--ink); }
.art-cta p { margin: 10px 0 20px; font-size: 15.5px; color: var(--muted); }

/* FAQs */
.art-faqs { display: flex; flex-direction: column; gap: 4px; }
.art-faq { padding: 18px 0; border-bottom: 1px solid var(--line); }
.art-faq:last-child { border-bottom: none; }
.art-faq h4 { font-size: 17px; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.art-faq p { font-size: 16px; line-height: 1.7; color: #3b4254; }

/* Coming soon fallback */
.art-soon { text-align: center; padding: 40px 0 30px; }
.art-soon h2 { border: none; }
.art-soon p { max-width: 520px; margin: 12px auto 24px; color: var(--muted); font-size: 16.5px; line-height: 1.7; }
.art-soon .btn { margin: 0 6px; }

/* Share */
.art-share { margin: 30px 0 0; padding: 22px 0 0; border-top: 1px solid var(--line); display: flex; align-items: center; gap: 16px; }
.art-share-label { font-size: 14px; color: var(--muted); }
.art-share-btns { display: flex; gap: 10px; }
.art-share-btn { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: #fff;
  transition: transform .2s var(--ease); }
.art-share-btn:hover { transform: scale(1.06); }
.art-share-btn svg { width: 18px; height: 18px; }
.sh-fb { background: #3b5998; }
.sh-tw { background: #1d1d1f; }

/* Author card */
.art-authorcard { margin: 44px 0 0; display: flex; gap: 24px; align-items: flex-start;
  background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 30px 32px; box-shadow: var(--shadow-sm); }
.art-authorcard .ac-avatar { flex: 0 0 auto; width: 72px; height: 72px; border-radius: 18px; display: grid; place-items: center;
  background: linear-gradient(145deg, var(--brand), #6d92ea); color: #fff; font-weight: 700; font-size: 24px; }
.art-authorcard h3 { font-size: 19px; font-weight: 700; color: var(--ink); }
.art-authorcard p { margin: 8px 0 10px; font-size: 15px; line-height: 1.65; color: var(--muted); }
.ac-more { font-size: 14px; color: var(--muted); }
.ac-more a { color: var(--brand); font-weight: 600; }

/* Comments */
.art-comments-sec { background: var(--bg-soft); margin-top: 56px; padding: 56px 0; }
.art-comments { max-width: 860px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 36px 40px; }
.art-comments h3 { font-family: 'Plus Jakarta Sans','Inter',sans-serif; font-size: 22px; font-weight: 800; color: var(--ink); margin-bottom: 22px; }
.art-comments label { display: block; font-size: 13.5px; color: var(--muted); font-weight: 500; margin-bottom: 22px; }
.art-comments textarea, .art-comments input { width: 100%; margin-top: 8px; padding: 12px 14px; border: 1px solid var(--line);
  border-radius: 12px; font-family: inherit; font-size: 15px; color: var(--ink); background: #fff; resize: vertical; }
.art-comments textarea:focus, .art-comments input:focus { outline: none; border-color: var(--brand);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 12%, transparent); }
.art-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.art-submit { border: none; cursor: pointer; background: var(--ink); color: #fff; font-family: inherit; font-weight: 600;
  font-size: 15px; padding: 14px 24px; border-radius: 12px; width: 100%; transition: background .2s; }
.art-submit:hover { background: #1a2333; }

/* More articles */
.art-more-title { text-align: center; font-family: 'Plus Jakarta Sans','Inter',sans-serif; font-size: 1.8rem; font-weight: 800;
  letter-spacing: -.02em; color: var(--ink); margin-bottom: 30px; }

@media (max-width: 980px) {
  /* Stack: TOC becomes a static card above the article */
  .art-layout { grid-template-columns: 1fr; gap: 24px; padding-top: 32px; }
  .art-toc { position: static; order: -1; background: var(--bg-soft);
    border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; }
  .art-toc-nav { border-left: none; max-height: none; overflow: visible; }
  .toc-link { border-left: none; margin-left: 0; padding: 6px 0; }
  .toc-l3 { padding-left: 16px; }
  .toc-link.active { border-left: none; }
}
@media (max-width: 900px) {
  .art-hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .art-hero-media { min-height: 200px; order: -1; }
}
@media (max-width: 640px) {
	.blog-detail-page .art-hero { padding-top: calc(var(--nav-h) + 34px); padding-bottom: 38px; }
	.blog-detail-page .art-hero-single .art-hero-media { min-height: 190px; margin-top: 28px; }
	.blog-detail-page .art-layout { padding: 28px 16px 34px; }
	.blog-detail-page .art-body h2 { font-size: 1.4rem; }
	.blog-detail-page .art-share { align-items: flex-start; flex-direction: column; }
  .art-form-row { grid-template-columns: 1fr; }
  .art-authorcard { flex-direction: column; gap: 16px; padding: 24px; }
  .art-comments { padding: 26px 22px; }
}

/* ============================================================
   Lenis smooth scroll
   ============================================================ */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

/* ============================================================
   Scroll-spy Features (sticky index + panels)
   ============================================================ */
.spy { display: grid; grid-template-columns: 288px 1fr; gap: 32px; align-items: start; margin-top: 48px; }
.spy-index { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 2px; }
.spy-item { position: relative; display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 12px; cursor: pointer; color: var(--muted); border: 0; background: none; font-family: inherit; text-align: left; transition: background .22s var(--ease), color .22s var(--ease); }
/* slim rounded accent rail that fades in on the active item */
.spy-item::before { content: ''; position: absolute; left: 4px; top: 50%; width: 3px; height: 0; border-radius: 3px; background: var(--ac, var(--brand)); transform: translateY(-50%); transition: height .28s var(--ease); }
.spy-item .sp-n { font-size: 11.5px; color: var(--faint); width: 20px; flex-shrink: 0; font-variant-numeric: tabular-nums; font-weight: 600; letter-spacing: .02em; transition: color .22s var(--ease); }
.spy-item .sp-ic2 { width: 34px; height: 34px; border-radius: 9px; background: var(--bg-soft); display: grid; place-items: center; flex-shrink: 0; color: var(--faint); transition: background .22s var(--ease), color .22s var(--ease); }
.spy-item .sp-ic2 svg { width: 17px; height: 17px; stroke: currentColor; stroke-width: 1.9; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.spy-item .sp-ic2 img, .spy-top .pic img { width: 22px; height: 22px; object-fit: contain; }
.spy-top .pic svg { width: 22px; height: 22px; stroke: currentColor; stroke-width: 1.9; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.spy-item .sp-nm { font-size: 14px; font-weight: 550; line-height: 1.3; transition: color .22s var(--ease); }
.spy-item:hover { color: var(--ink-2); background: var(--bg-soft); }
.spy-item:hover .sp-ic2 { color: var(--ink-2); }
.spy-item.active { color: var(--ink); background: color-mix(in srgb, var(--ac, var(--brand)) 6%, #fff); }
.spy-item.active::before { height: 20px; }
.spy-item.active .sp-nm { font-weight: 650; }
.spy-item.active .sp-ic2 { background: color-mix(in srgb, var(--ac, var(--brand)) 13%, #fff); color: var(--ac, var(--brand)); }
.spy-item.active .sp-n { color: var(--ac, var(--brand)); }

.spy-panels { display: flex; flex-direction: column; gap: 18px; }
.spy-panel { position: relative; scroll-margin-top: 100px; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 28px 30px; transition: box-shadow .4s var(--ease), border-color .4s var(--ease), transform .4s var(--ease); }
.spy-panel.active { border-color: color-mix(in srgb, var(--ac, var(--brand)) 32%, var(--line));
  box-shadow: 0 1px 2px rgba(16,18,48,.04), 0 18px 40px -22px color-mix(in srgb, var(--ac, var(--brand)) 50%, rgba(16,18,48,.5)); }
.spy-top { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.spy-top .pic { width: 44px; height: 44px; border-radius: 12px; background: color-mix(in srgb, var(--ac, var(--brand)) 11%, #fff);
  border: 1px solid color-mix(in srgb, var(--ac, var(--brand)) 16%, transparent); color: var(--ac, var(--brand)); display: grid; place-items: center; flex-shrink: 0; }
.spy-eyebrow { font-size: 11px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: var(--ac, var(--brand)); display: block; margin-bottom: 5px; }
.spy-panel h3 { font-size: 19px; font-weight: 700; letter-spacing: -.015em; }
.spy-panel > p { font-size: 14.5px; color: var(--muted); line-height: 1.62; max-width: 62ch; }
.spy-checks { margin-top: 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; }
.spy-check { display: flex; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 500; color: var(--ink-2); line-height: 1.35; }
.spy-check .ck { width: 18px; height: 18px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center;
  font-size: 10px; font-weight: 700; color: var(--ac, var(--brand)); background: color-mix(in srgb, var(--ac, var(--brand)) 13%, #fff); }
.spy-more { display: inline-flex; align-items: center; gap: 7px; margin-top: 22px; font-size: 14px; font-weight: 600; color: var(--ac, var(--brand)); transition: gap .22s var(--ease); }
.spy-more::after { content: '→'; font-weight: 500; transition: transform .22s var(--ease); }
.spy-more:hover { gap: 11px; }
.spy-more:hover::after { transform: translateX(2px); }

/* ============================================================
   Progress-line step timeline
   ============================================================ */
.timeline { position: relative; max-width: 720px; margin: 52px auto 0; padding-left: 64px; }
.tl-line { position: absolute; left: 24px; top: 6px; bottom: 6px; width: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.tl-fill { position: absolute; left: 0; top: 0; width: 100%; height: 0; background: var(--brand); border-radius: 2px; }
.tl-step { position: relative; padding-bottom: 42px; }
.tl-step:last-child { padding-bottom: 0; }
.tl-node { position: absolute; left: -56px; top: -4px; width: 34px; height: 34px; border-radius: 50%; background: #fff; border: 2px solid var(--line-2); color: var(--faint); display: grid; place-items: center; font-size: 14px; font-weight: 700; z-index: 1; transition: border-color .35s, color .35s, background .35s; }
.tl-step.active .tl-node { border-color: var(--brand); color: #fff; background: var(--brand); }
.tl-step h3 { font-size: 20px; font-weight: 700; margin-bottom: 6px; }
.tl-step p { font-size: 15px; color: var(--muted); }

@media (max-width: 900px) {
  .spy { grid-template-columns: 1fr; gap: 16px; }
  .spy-index { position: static; flex-direction: row; overflow-x: auto; gap: 8px; padding-bottom: 8px; }
  .spy-item { flex-direction: column; min-width: 118px; text-align: center; gap: 8px; }
  .spy-item .sp-n { display: none; }
  .spy-checks { grid-template-columns: 1fr; }
  .spy-panel { padding: 24px 22px; }
}
@media (max-width: 640px) {
  .timeline { padding-left: 52px; }
  .tl-line { left: 18px; }
  .tl-node { left: -50px; width: 30px; height: 30px; }
}

/* ============================================================
   Stacked scroll sections (Coresignal-style cards scrolling)
   ============================================================ */
.stack-sec { padding: 80px 0 100px; background: var(--bg-soft); }
.stack { display: flex; flex-direction: column; gap: 34px; }
.stack-card {
  position: sticky;
  min-height: 460px; display: flex; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: 28px;
  padding: 48px 54px; box-shadow: var(--shadow-md);
  transform-origin: 50% 12%; will-change: transform;
}
.stack-card:nth-child(1) { top: calc(var(--nav-h) + 22px); }
.stack-card:nth-child(2) { top: calc(var(--nav-h) + 40px); }
.stack-card:nth-child(3) { top: calc(var(--nav-h) + 58px); }
.stack-card .split-grid { gap: 56px; width: 100%; }
.stack-card .split-grid.rev .split-copy { order: 2; }
.stack-card .split-grid.rev .split-visual { order: 1; }
.stack-card .spec-panel { max-width: 460px; }

@media (max-width: 860px) {
  .stack-card { position: static; min-height: 0; display: block; padding: 32px 26px; border-radius: 22px; }
  .stack { gap: 22px; }
  .stack-card .split-grid.rev .split-copy { order: 1; }
  .stack-card .split-grid.rev .split-visual { order: 2; }
}

/* ============================================================
   FEATURE DETAIL PAGE
   ============================================================ */
.feat-hero { position: relative; padding: calc(var(--nav-h) + 56px) 0 72px; background:
    radial-gradient(1100px 460px at 78% -8%, #eef4fd 0%, rgba(238,241,255,0) 60%),
    linear-gradient(180deg, #fbfcff 0%, #ffffff 70%); overflow: hidden; }
.feat-hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: center; }
.feat-hero-copy .tag { margin-bottom: 16px; }
.back-link { display: inline-block; font-size: 14px; font-weight: 600; color: var(--muted); margin-bottom: 22px; transition: color .2s; }
.back-link:hover { color: var(--brand); }
.min-feature-page .feat-hero-copy .back-link { display: block; width: max-content; margin-bottom: 18px; }
.min-feature-page .feat-hero-copy > .tag { display: inline-flex; margin-bottom: 22px; }
.feat-hero .hero-h { font-size: clamp(2rem, 4vw, 3rem); }
.feat-hero .hero-p { margin-top: 20px; max-width: 560px; }
.hero-rating { margin-top: 22px; font-size: 15px; color: var(--ink-2); }
.hero-rating .stars { color: #f5a623; letter-spacing: 2px; margin-right: 8px; }
.feat-hero .hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; }

/* Hero visual panel */
.feat-hero-visual { position: relative; display: flex; justify-content: center; }
.fv-glow { position: absolute; inset: -8% 6% auto; height: 78%; border-radius: 40px;
  background: radial-gradient(60% 60% at 60% 30%, rgba(47,90,230,.18), rgba(47,90,230,0) 70%); filter: blur(6px); z-index: 0; }
.feat-hero-visual .spec-panel { position: relative; z-index: 1; width: 100%; max-width: 420px; }
.sp-ico-lg { width: 44px; height: 44px; display: grid; place-items: center; font-size: 22px;
  background: var(--brand-soft); border-radius: 13px; }
.sp-ico-lg img { width: 26px; height: 26px; object-fit: contain; }
.sp-check { color: var(--green); font-weight: 800; }
.fv-foot { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
.fv-chip { font-size: 12px; font-weight: 600; color: var(--muted); background: var(--bg-soft);
  border: 1px solid var(--line); padding: 5px 11px; border-radius: 999px; }

/* Prose (introduction / how it works) */
.feat-prose.alt { background: var(--bg-soft); }
.prose-wrap { max-width: 820px; }
.prose { margin-top: 8px; }
.prose p { font-size: 17px; line-height: 1.75; color: var(--ink-2); margin-top: 18px; text-align: center; }
.prose p:first-child { margin-top: 0; }

/* Mini steps under how-it-works */
.mini-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.mini-step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; box-shadow: var(--shadow-sm); }
.mini-step > span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px;
  background: var(--brand); color: #fff; font-weight: 700; font-size: 15px; margin-bottom: 16px; }
.mini-step > span img { width: 22px; height: 22px; object-fit: contain; }
.mini-step b { font-size: 16px; }
.mini-step p { margin-top: 8px; font-size: 14.5px; color: var(--muted); line-height: 1.6; }

@media (max-width: 640px) {
	.min-feature-page .wrap { padding-left: 16px; padding-right: 16px; }
	.min-feature-page .feat-hero { padding-top: calc(var(--nav-h) + 36px); }
	.min-feature-page .feat-hero-copy .back-link { margin-bottom: 14px; }
	.min-feature-page .feat-hero-copy > .tag { margin-bottom: 18px; }
	.min-feature-page .hero-ctas { flex-direction: column; }
	.min-feature-page .hero-ctas .btn, .min-feature-page .blog-cta .btn { width: 100%; }
	.min-feature-page .cta-form-card { padding: 24px 20px; }
}

/* ============================================================
   404 — lost lead error state
   ============================================================ */
.error-404-page{background:#fff;overflow:hidden}
.error-404{position:relative;min-height:calc(100vh - var(--nav-h));padding:calc(var(--nav-h) + 70px) 0 88px;background:radial-gradient(760px 380px at 78% 36%,#eef4ff 0%,rgba(238,244,255,0) 72%)}
.error-404-grid{display:grid;grid-template-columns:.86fr 1.14fr;align-items:center;gap:clamp(44px,6vw,92px)}
.error-404-copy{position:relative;z-index:2;max-width:550px}
.error-404-code{margin:0;font-family:'Plus Jakarta Sans','Inter',sans-serif;font-size:clamp(7rem,14vw,12rem);font-weight:800;line-height:.76;letter-spacing:-.075em;color:var(--ink)}
.error-404-copy h1{margin-top:42px;font-size:clamp(2.1rem,4vw,3.35rem);line-height:1.04;letter-spacing:-.04em}
.error-404-message{max-width:500px;margin-top:22px;color:var(--muted);font-size:18px;line-height:1.7}
.error-404-actions{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-top:34px}
.error-404-actions .btn{min-width:168px}
.error-404-art{position:relative;min-height:480px;isolation:isolate}
.error-404-glow{position:absolute;inset:6% 0 2%;z-index:-2;border-radius:48% 52% 46% 54%;background:linear-gradient(145deg,rgba(231,237,252,.42),rgba(238,244,255,.95));filter:blur(1px);transform:rotate(-5deg)}
.error-404-route{position:absolute;inset:3% -2% 0;width:104%;height:94%;z-index:-1}
.error-404-route path{stroke:#4f82f4;stroke-width:3;stroke-linecap:round;stroke-dasharray:7 11;animation:errorRoute 24s linear infinite}
.error-404-pin{position:absolute;left:9%;top:33%;display:grid;place-items:center;width:50px;height:50px;color:var(--brand);filter:drop-shadow(0 10px 9px rgba(47,90,230,.2))}
.error-404-pin svg{width:46px;height:46px;fill:#fff}
.error-404-search{position:absolute;left:50%;top:49%;width:200px;height:200px;border:18px solid var(--brand);border-radius:50%;background:rgba(255,255,255,.8);box-shadow:0 28px 55px -25px rgba(47,90,230,.65),inset 0 0 0 8px rgba(255,255,255,.8);transform:translate(-50%,-50%)}
.error-404-search:after{content:"";position:absolute;width:105px;height:24px;right:-82px;bottom:-46px;border-radius:20px;background:linear-gradient(90deg,var(--brand),var(--brand-2));transform:rotate(43deg);transform-origin:left center;box-shadow:0 12px 24px -12px rgba(47,90,230,.55)}
.error-404-person{position:absolute;inset:0;display:grid;place-items:center}
.error-404-person:before{content:"";position:absolute;top:37px;width:54px;height:54px;border-radius:50%;background:linear-gradient(145deg,#d9e6ff,#9ebcf8)}
.error-404-person span{position:absolute;bottom:28px;width:110px;height:66px;border-radius:60px 60px 28px 28px;background:linear-gradient(145deg,#cfe0ff,#8eaff5)}
.error-404-contact{position:absolute;display:flex;align-items:center;gap:13px;width:248px;padding:16px 18px;border:1px solid var(--line);border-radius:17px;background:rgba(255,255,255,.96);box-shadow:0 24px 48px -28px rgba(28,34,92,.34);animation:errorFloat 5s ease-in-out infinite}
.error-404-contact-one{right:1%;top:7%}
.error-404-contact-two{left:1%;bottom:8%;animation-delay:-2.3s}
.error-404-avatar{position:relative;width:45px;height:45px;flex:none;border-radius:50%;background:#edf3ff;overflow:hidden}
.error-404-avatar:before{content:"";position:absolute;top:8px;left:15px;width:15px;height:15px;border-radius:50%;background:#9dbaf6}
.error-404-avatar i{position:absolute;left:9px;bottom:5px;width:28px;height:18px;border-radius:18px 18px 8px 8px;background:#9dbaf6}
.error-404-lines{display:flex;flex:1;flex-direction:column;gap:7px}
.error-404-lines i{display:block;width:74px;height:6px;border-radius:10px;background:#d8deeb}
.error-404-lines i:last-child{width:52px}
.error-404-contact-icon{display:grid;place-items:center;width:34px;height:34px;flex:none;border-radius:50%;background:var(--brand-soft);color:var(--brand)}
.error-404-contact-icon svg{width:17px;height:17px}
@keyframes errorRoute{to{stroke-dashoffset:-180}}
@keyframes errorFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-10px)}}
@media(max-width:900px){.error-404{padding-top:calc(var(--nav-h) + 48px)}.error-404-grid{grid-template-columns:1fr;text-align:center}.error-404-copy{margin:0 auto}.error-404-message{margin-left:auto;margin-right:auto}.error-404-actions{justify-content:center}.error-404-art{min-height:430px;max-width:620px;width:100%;margin:-12px auto 0}}
@media(max-width:560px){.error-404{padding:calc(var(--nav-h) + 36px) 0 60px}.error-404-code{font-size:clamp(6.5rem,38vw,9rem)}.error-404-copy h1{margin-top:30px;font-size:clamp(2rem,10vw,2.65rem)}.error-404-message{font-size:16px}.error-404-actions{flex-direction:column;align-items:stretch}.error-404-actions .btn{width:100%}.error-404-art{min-height:350px;margin-top:4px}.error-404-search{width:145px;height:145px;border-width:14px}.error-404-search:after{width:76px;height:19px;right:-61px;bottom:-35px}.error-404-person:before{top:28px;width:40px;height:40px}.error-404-person span{bottom:21px;width:82px;height:50px}.error-404-contact{width:188px;padding:11px 12px}.error-404-contact-one{right:0}.error-404-contact-two{left:0}.error-404-avatar{width:36px;height:36px}.error-404-avatar:before{top:7px;left:12px;width:12px;height:12px}.error-404-avatar i{left:7px;width:23px;height:15px}.error-404-contact-icon{width:28px;height:28px}.error-404-lines i{width:48px;height:5px}.error-404-lines i:last-child{width:36px}}
@media(prefers-reduced-motion:reduce){.error-404-route path,.error-404-contact{animation:none}}

/* Mini-feature capabilities: editor-supplied image replaces the generated card. */
.min-capabilities .fx-alt.no-image{grid-template-columns:minmax(0,680px);justify-content:center}
.min-capabilities .fx-alt.no-image .fx-alt-copy p{max-width:none}
.min-capabilities .fx-alt-visual{min-width:0}
.min-capabilities .fx-alt-image{display:block;width:100%;height:auto;object-fit:contain}
.min-capabilities .fx-alt-video{display:block;width:100%;height:auto;border-radius:18px;border:1px solid var(--line);background:var(--bg-soft);box-shadow:0 30px 68px -34px rgba(28,34,92,.42)}
.min-capabilities .fx-alt-rows{gap:40px}
@media (max-width:940px){.min-capabilities .fx-alt-rows{gap:36px}}
@media (min-width:941px){
	.min-capabilities .fx-alt:nth-child(2) .fx-alt-visual{grid-column:1;grid-row:1}
	.min-capabilities .fx-alt:nth-child(2) .fx-alt-copy{grid-column:2;grid-row:1}
}
.min-use-cases .fx-uc-ic img{display:block;width:28px;height:28px;object-fit:contain}
.min-use-cases .fx-uc-ic svg{display:block;width:23px;height:23px}
/* use-case cards stay centred when a row has fewer than four */
.min-use-cases .fx-uc-grid{display:flex;flex-wrap:wrap;justify-content:center}
.min-use-cases .fx-uc{flex:0 0 calc((100% - 54px)/4)}
@media(max-width:940px){.min-use-cases .fx-uc{flex-basis:calc((100% - 18px)/2)}}
@media(max-width:560px){.min-use-cases .fx-uc{flex-basis:100%}}
.min-feature-page .feat-hero-grid.no-image{grid-template-columns:minmax(0,760px);justify-content:center}
.min-feature-page .feat-hero-grid.no-image .feat-hero-copy{text-align:center}
.min-feature-page .feat-hero-grid.no-image .hero-ctas{justify-content:center}
.min-feature-page .feat-hero-image{display:block;width:100%;height:auto;object-fit:contain}
.min-feature-page .feat-hero-video{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;border:1px solid var(--line);border-radius:18px;background:var(--ink);box-shadow:0 30px 68px -34px rgba(28,34,92,.42)}

/* Plans "see all" link + free-trial strip */
.plans-more { text-align: center; margin-top: 34px; font-size: 15px; color: var(--muted); }
.plans-more a { color: var(--brand); font-weight: 600; }
.trial-strip { background: var(--bg-soft); }
.trial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.trial-item { display: flex; gap: 16px; align-items: flex-start; }
.trial-ic { flex: 0 0 auto; width: 44px; height: 44px; display: grid; place-items: center; font-size: 20px;
  background: #fff; border: 1px solid var(--line); border-radius: 13px; box-shadow: var(--shadow-sm); }
.trial-item b { font-size: 16.5px; }
.trial-item p { margin-top: 6px; font-size: 14.5px; color: var(--muted); line-height: 1.6; }

/* More tools grid */
.more-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.more-card { display: flex; flex-direction: column; gap: 6px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px 22px; box-shadow: var(--shadow-sm); transition: transform .18s, box-shadow .18s, border-color .18s; }
.more-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--line-2); }
.mc-ico { font-size: 24px; }
.mc-title { font-weight: 600; font-size: 15.5px; color: var(--ink); }
.mc-cat { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); font-weight: 600; }

/* Home: "Know the plans" CTA (replaces inline plans) */
.know-plans { background: #ffffff; }
.know-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: 56px; align-items: center; }
.know-inner { text-align: left; }
.know-inner .tag { margin-bottom: 14px; }
.know-inner h2 { font-family: 'Plus Jakarta Sans','Inter',sans-serif; font-size: clamp(1.95rem, 3.6vw, 2.65rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.know-inner p { margin-top: 14px; font-size: 17px; color: var(--muted); max-width: 460px; }
.know-cta { margin-top: 30px; display: flex; gap: 14px; flex-wrap: wrap; }
.know-visual { display: flex; justify-content: center; }
.know-visual img { width: 100%; max-width: 440px; height: auto; }

/* Zoom-in-on-scroll reveal (fires once per page load) */
.zoom-in { opacity: 0; transform: scale(.82); transition: opacity .7s var(--ease), transform .7s var(--ease); will-change: opacity, transform; }
.zoom-in.in { opacity: 1; transform: scale(1); }
.know-visual.zoom-in { transition-delay: .08s; }

/* Feature cards clickable (home compact toolkit) */
a.f-card { text-decoration: none; color: inherit; }

@media (max-width: 900px) {
  .feat-hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .feat-hero-visual { order: -1; }
  .mini-steps, .trial-grid, .more-grid { grid-template-columns: 1fr; }
  .know-grid { grid-template-columns: 1fr; gap: 30px; }
  .know-inner { text-align: center; }
  .know-inner p { margin-left: auto; margin-right: auto; }
  .know-cta { justify-content: center; }
  .know-visual { order: -1; }
  .know-visual img { max-width: 300px; }
}

.f-more { display: inline-block; margin-top: 14px; font-size: 13.5px; font-weight: 600; color: var(--brand);
  opacity: 0; transform: translateX(-4px); transition: opacity .2s, transform .2s; }
a.f-card:hover .f-more { opacity: 1; transform: translateX(0); }
@media (hover: none) { .f-more { opacity: 1; transform: none; } }

/* ============================================================
   SERPENTINE STEPPER (how-it-works)
   ============================================================ */
.stepper { position: relative; width: 760px; max-width: 100%; height: 570px; margin: 4px auto 0; }
.stepper-line { position: absolute; inset: 0; width: 760px; max-width: 100%; height: 570px; overflow: visible; z-index: 1; }
.sp-track { stroke: var(--line-2); stroke-width: 3; stroke-linecap: round; }
.sp-progress { stroke: url(#spGrad); stroke-width: 4; stroke-linecap: round;
  stroke-dasharray: 1; stroke-dashoffset: 1; }
.step { position: absolute; left: var(--x); top: var(--y); width: 0; height: 0; z-index: 2; }
.step-node { position: absolute; transform: translate(-50%, -50%); width: 54px; height: 54px; border-radius: 50%;
  display: grid; place-items: center; background: #fff; border: 2px solid var(--line-2);
  color: var(--muted); font-weight: 700; font-size: 18px; box-shadow: var(--shadow-sm);
  transition: background .4s var(--ease), color .4s, border-color .4s, box-shadow .4s, transform .4s; }
.step.active .step-node { background: linear-gradient(145deg, var(--brand), #6d92ea); border-color: transparent;
  color: #fff; box-shadow: 0 10px 26px rgba(47,90,230,.42); transform: translate(-50%, -50%) scale(1.08); }
.step-card { position: absolute; top: 0; width: 300px; transform: translateY(-50%);
  opacity: .5; transition: opacity .4s var(--ease); }
.step.active .step-card { opacity: 1; }
.s-left .step-card { left: 46px; text-align: left; }
.s-right .step-card { right: 46px; text-align: right; }
.step-card h3 { font-size: 19px; font-weight: 700; color: var(--ink); }
.step-card p { margin-top: 8px; font-size: 15px; color: var(--muted); line-height: 1.6; }

@media (max-width: 820px) {
  .stepper { width: 100%; height: auto; display: flex; flex-direction: column; gap: 30px; padding-left: 4px; }
  .stepper::before { content: ''; position: absolute; left: 26px; top: 14px; bottom: 14px; width: 2px; background: var(--line-2); }
  .stepper-line { display: none; }
  .step { position: relative; left: auto; top: auto; width: auto; height: auto; padding-left: 66px; min-height: 54px; }
  .step-node { position: absolute; left: 26px; top: 0; transform: translateX(-50%); }
  .step.active .step-node { transform: translateX(-50%) scale(1.06); }
  .step-card { position: static; transform: none; width: auto; opacity: 1; text-align: left !important; }
}

/* ---- Trusted logos: running brand-colored marquee ---- */
.logo-marquee { 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); }
.logo-track { display: flex; align-items: center; gap: 80px; width: max-content; animation: logoRun 30s linear infinite; }
.logo-marquee:hover .logo-track { animation-play-state: paused; }
.logo { font-family: 'Plus Jakarta Sans', 'Inter', sans-serif; font-weight: 800; font-size: 23px;
  letter-spacing: -.4px; color: var(--c); white-space: nowrap; opacity: .9; transition: opacity .2s, transform .2s; }
.logo:hover { opacity: 1; transform: translateY(-2px); }
@keyframes logoRun { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============================================================
   HORIZONTAL BOX STEPPER (how-it-works)
   ============================================================ */
/* ---- Curved route milestone stepper ---- */
.route-stepper { position: relative; max-width: 960px; margin: 20px auto 0; padding-top: 80px; }
.route-curve { position: relative; width: 100%; }
.route-svg { display: block; width: 100%; height: auto; overflow: visible; }
.route-track { stroke: var(--line-2); stroke-width: 2.5; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.route-fill { stroke: url(#rtGrad); stroke-width: 4; stroke-linecap: round; vector-effect: non-scaling-stroke;
  stroke-dasharray: 1; stroke-dashoffset: 1;
  filter: drop-shadow(0 3px 8px rgba(47,90,230,.4)); }
.route-dot { fill: #fff; stroke: url(#rtGrad); stroke-width: 4; vector-effect: non-scaling-stroke; opacity: 0;
  filter: drop-shadow(0 2px 8px rgba(47,90,230,.55)); transition: opacity .3s; }
.route-dot.on { opacity: 1; }

.route-node { position: absolute; transform: translate(-50%, -50%); z-index: 2;
  width: 54px; height: 54px; border-radius: 17px; display: grid; place-items: center;
  background: #fff; border: 2px solid var(--line-2); color: var(--muted);
  font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; font-size: 21px;
  box-shadow: 0 6px 16px rgba(20,28,64,.1);
  transition: background .5s var(--ease), color .5s, border-color .5s, box-shadow .5s, transform .45s var(--ease); }
.route-node img { width: 32px; height: 32px; object-fit: contain; display: block; }
.route-node.active { background: linear-gradient(160deg, #eff4ff, #dee9fb); border-color: color-mix(in srgb, var(--brand) 46%, transparent);
  box-shadow: 0 14px 30px rgba(47,90,230,.26); transform: translate(-50%, -50%) scale(1.12); }
.route-node::after { content: ''; position: absolute; inset: -6px; border-radius: 22px;
  border: 2px solid var(--brand); opacity: 0; transform: scale(.85); transition: opacity .5s, transform .5s; }
.route-node.active::after { opacity: .28; transform: scale(1); }

.route-captions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 30px; }
.route-cap { text-align: center; padding: 0 12px; }
.route-cap .cap-num { display: none; }
.route-cap h3 { font-size: 19px; font-weight: 700; color: var(--ink); letter-spacing: -.01em;
  transition: color .4s; }
.route-cap p { margin-top: 9px; font-size: 14.5px; color: var(--muted); line-height: 1.62; }
/* middle step (peak) caption floats above its icon; steps 1 & 3 stay below.
   Value scales with the curve height (curve ≈ 20% of its width) and caps on wide screens. */
.route-captions .route-cap:nth-child(2) { position: relative; z-index: 3; transform: none; }

@media (max-width: 760px) {
  .route-stepper { max-width: 420px; padding-top: 0; }
  .route-captions .route-cap:nth-child(2) { transform: none; z-index: auto; }
  .route-curve { display: none; }
  .route-captions { grid-template-columns: 1fr; gap: 14px; margin-top: 8px; }
  .route-cap { text-align: left; padding: 22px 22px 22px 76px; position: relative;
    background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-sm); }
  .route-cap .cap-num { display: grid; place-items: center; position: absolute; left: 20px; top: 22px;
    width: 46px; height: 46px; border-radius: 13px; background: linear-gradient(160deg, #eff4ff, #dfe9fb);
    border: 1px solid color-mix(in srgb, var(--brand) 18%, transparent); box-shadow: 0 6px 16px rgba(47,90,230,.18); }
  .route-cap .cap-num img { width: 28px; height: 28px; object-fit: contain; display: block; }
}

/* ---- Home blog CTA (top 3 blogs) ---- */
.blogcta-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.bc-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden;
  box-shadow: 0 1px 2px rgba(12,18,34,.04); display: flex; flex-direction: column;
  transition: transform .24s var(--ease), box-shadow .24s, border-color .24s; }
.bc-card:hover { transform: translateY(-5px); box-shadow: 0 22px 42px -24px rgba(28,34,92,.3); border-color: color-mix(in srgb, var(--brand) 26%, var(--line)); }
.bc-card .blog-thumb { height: 150px; border-bottom: 1px solid var(--line); }
.bc-card .blog-body { padding: 20px 22px 24px; }
.bc-card h3 { font-size: 16.5px; font-weight: 700; color: var(--ink); line-height: 1.4; margin-bottom: 18px; }
.bc-more { align-self: flex-start; margin-top: auto; }
.blogcta-foot { text-align: center; margin-top: 38px; }
@media (max-width: 900px) { .blogcta-grid { grid-template-columns: 1fr; } }

/* ============================================================
   LEGAL PAGES (Privacy Policy / Terms)
   ============================================================ */
.legal-hero { padding: calc(var(--nav-h) + 56px) 0 60px; text-align: center; background:
  radial-gradient(50% 60% at 15% -10%, rgba(47,90,230,.16), transparent 60%),
  radial-gradient(46% 60% at 92% -10%, rgba(139,92,246,.14), transparent 62%),
  linear-gradient(180deg, #eef4fd 0%, #f6f8ff 60%, #ffffff 100%); }
.legal-hero .tag { justify-content: center; }
.legal-hero h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.legal-updated { margin-top: 16px; display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 500;
  color: var(--muted); background: #fff; border: 1px solid var(--line); padding: 7px 16px; border-radius: 999px; box-shadow: var(--shadow-sm); }
.legal-wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px 90px; }
.legal { background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-md); padding: 52px 64px; margin-top: -28px; position: relative; z-index: 1; }
.legal > p { color: var(--ink-2); font-size: 15.5px; line-height: 1.8; margin-bottom: 16px; max-width: 960px; }
.legal ul, .legal h2, .legal h3, .legal h4 { max-width: 960px; }
.legal h2 { font-size: 23px; font-weight: 700; margin: 40px 0 14px; padding-top: 26px; border-top: 1px solid var(--line); }
.legal h2:first-of-type { border-top: none; padding-top: 0; margin-top: 4px; }
.legal h3 { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--brand); margin: 26px 0 10px; }
.legal h4 { font-size: 16px; font-weight: 700; margin: 22px 0 10px; color: var(--ink); }
.legal ul { margin: 0 0 16px; padding-left: 22px; }
.legal li { color: var(--ink-2); font-size: 15px; line-height: 1.75; margin-bottom: 9px; }
.legal ul ul { margin-top: 9px; margin-bottom: 4px; }
.legal a { color: var(--brand); font-weight: 500; }
@media (max-width: 640px) { .legal { padding: 32px 22px; } }

/* ---- Features top hero (2-col: copy left, video right) ---- */
.feat-hero-band { padding-top: calc(var(--nav-h) + 88px); padding-bottom: 92px; }
.feat-hero-grid { display: grid; grid-template-columns: 1fr 1.08fr; gap: 54px; align-items: center; }
.feat-hero-copy { text-align: left; }
.feat-hero-copy .tag { justify-content: flex-start; }
.feat-hero-copy .hero-h { margin-top: 8px; font-size: clamp(1.95rem, 3.1vw, 2.55rem); line-height: 1.16; letter-spacing: -.02em; }
.feat-hero-copy .hero-p { margin-top: 20px; max-width: 500px; }
.feat-hero-copy .hero-ctas { justify-content: flex-start; margin-top: 28px; }

/* Auto-rotating word in the heading */
.rotator { display: inline-block; overflow: hidden; height: 1.28em; line-height: 1.28em; vertical-align: bottom; }
.rot-track { display: flex; flex-direction: column; animation: rotate 9s cubic-bezier(.7,0,.28,1) infinite; }
.rot-track span { display: block; height: 1.28em; line-height: 1.28em; color: var(--brand); white-space: nowrap; }
@keyframes rotate {
  0%, 18%   { transform: translateY(0); }
  25%, 43%  { transform: translateY(-1.28em); }
  50%, 68%  { transform: translateY(-2.56em); }
  75%, 93%  { transform: translateY(-3.84em); }
  100%      { transform: translateY(-5.12em); }
}

/* Demo video frame with 3D shadow */
.feat-hero-vid { position: relative; }
.vid-frame { position: relative; border-radius: 16px; overflow: hidden; background: #0b1020; border: 1px solid var(--line);
  box-shadow: 0 20px 44px -18px rgba(20,28,64,.28), 0 4px 12px rgba(20,28,64,.08); }
.vid-frame::before { content: ''; display: block; padding-top: 56.25%; }
.vid-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vid-play { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; cursor: pointer; background: #0b1020; display: block; }
.vid-thumb { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vid-btn { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 72px; height: 50px; border-radius: 13px;
  background: rgba(229,9,20,.92); display: grid; place-items: center; box-shadow: 0 10px 26px rgba(0,0,0,.4); transition: transform .2s var(--ease), background .2s; }
.vid-play:hover .vid-btn { transform: translate(-50%, -50%) scale(1.09); background: #ff0000; }
.vid-btn svg { width: 26px; height: 26px; fill: #fff; margin-left: 2px; }

.spy-more { display: inline-flex; margin-top: 22px; }

@media (max-width: 900px) {
  .feat-hero-grid { grid-template-columns: 1fr; gap: 34px; }
  .feat-hero-vid { order: -1; perspective: none; }
  .vid-frame { transform: none; }
  .feat-hero-vid:hover .vid-frame { transform: none; }
}

/* ===== Features-page hero (.feat-hero-band.gr): Granola-style scroll-expand.
   The copy sticks on the left while the muted video moves down and grows to the
   content width, scrubbed by scroll (script.js). Scoped to features.html. ===== */
.gr.feat-hero-band { padding: 0; overflow: visible; }
.gr-copy { position: relative; z-index: 2; max-width: 520px; text-align: left; }
.gr-copy .tag { margin-bottom: 14px; }
.gr-copy .hero-h { font-size: clamp(1.7rem, 2.5vw, 2.15rem); line-height: 1.12; }
.gr-copy .hero-p { margin-top: 16px; max-width: 470px; font-size: 15px; }
.gr-copy .hero-ctas { margin-top: 22px; display: flex; gap: 12px; flex-wrap: wrap; }
/* premium social proof + stats to fill the hero's left column */
.hero-social { display: flex; align-items: center; gap: 14px; margin-top: 30px; }
.hs-avatars { display: flex; }
.hs-avatars img { width: 40px; height: 40px; border-radius: 50%; border: 2.5px solid #fff; margin-left: -12px;
  object-fit: cover; object-position: center 12%; background: linear-gradient(180deg, #eef2fb, #e4e9f6);
  box-shadow: 0 2px 7px rgba(20,28,64,.16); }
.hs-avatars img:first-child { margin-left: 0; }
.hs-copy { display: flex; flex-direction: column; gap: 3px; }
.hs-stars { color: #f5a623; font-size: 13px; letter-spacing: 2px; line-height: 1; }
.hs-text { font-size: 13.5px; color: var(--muted); line-height: 1.2; }
.hs-text strong { color: var(--ink); font-weight: 700; }
.hero-mini-stats { display: flex; flex-wrap: wrap; row-gap: 14px; margin-top: 30px; }
.hero-mini-stats > div { padding: 0 24px; position: relative; }
.hero-mini-stats > div:first-child { padding-left: 0; }
.hero-mini-stats > div + div::before { content: ''; position: absolute; left: 0; top: 4px; bottom: 4px;
  width: 1px; background: var(--line-2); }
.hero-mini-stats b { display: block; font-family: 'Plus Jakarta Sans','Inter',sans-serif; font-size: 23px;
  font-weight: 800; letter-spacing: -.025em; line-height: 1; color: var(--ink); }
.hero-mini-stats span { display: block; margin-top: 6px; font-size: 12.5px; color: var(--muted); }
.gr-frame { position: relative; z-index: 1; width: 100%; aspect-ratio: 16 / 9; margin-top: 34px;
  border-radius: 18px; overflow: hidden; background: #0b1020; border: 1px solid var(--line);
  box-shadow: 0 54px 100px -44px rgba(28,34,92,.5); transform-origin: top left; will-change: transform; }
.gr-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; border: 0; }
/* CTA under the video — tracks the video's live bottom as it zooms (JS positions it) */
.gr-cta { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 12px 20px;
  margin-top: 22px; z-index: 2; }
.gr-cta-line { width: 48px; height: 2px; border-radius: 2px; background: var(--grad-brand); flex: 0 0 auto; }
.gr-cta-text { font-size: 16.5px; font-weight: 500; color: var(--ink-2); letter-spacing: -.01em; }
.gr-cta-btn { flex: 0 0 auto; padding: 12px 26px; font-size: 15px; box-shadow: var(--shadow-sm); }

/* desktop: pin the stage for the scroll-scrub; JS drives the frame transform */
@media (min-width: 861px) {
  .gr { height: 200vh; }
  .gr-pin { position: sticky; top: 0; height: 100vh; }
  .gr-inner { position: relative; height: 100%; padding-top: calc(var(--nav-h) + 24px); }
  .gr-frame { position: absolute; margin: 0; aspect-ratio: auto; }   /* size/position set inline by JS */
  .gr-cta { position: absolute; margin: 0; transition: opacity .2s var(--ease); }   /* JS sets left/top/width */
}
/* mobile / reduced-motion: plain stacked layout, no pin or scrub */
@media (max-width: 860px) {
  .gr.feat-hero-band { padding: calc(var(--nav-h) + 40px) 0 52px; }
  .gr-copy { max-width: none; }
  .gr-frame { transform: none; }
}

/* ============================================================
   Case Studies — listing cards + detail page
   ============================================================ */
.cs-hero .wrap { position: relative; }
.cs-hero .blog-eyebrow img { width: 20px; height: 20px; object-fit: contain; }

/* ---- Listing cards ---- */
.cs-grid { align-items: stretch; }
.cs-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
  border-radius: 20px; overflow: hidden; text-decoration: none; box-shadow: var(--shadow-sm);
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s var(--ease); }
.cs-card:hover { transform: translateY(-6px); border-color: color-mix(in srgb, var(--brand) 22%, var(--line));
  box-shadow: 0 26px 48px -28px rgba(28,34,92,.4); }
.cs-card-banner { position: relative; padding: 22px 22px 20px; min-height: 190px; display: flex; flex-direction: column;
  justify-content: flex-start; gap: 12px; overflow: hidden; }
.cs-card-pill { align-self: flex-start; font-size: 10.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  color: #fff; background: var(--brand); padding: 5px 11px; border-radius: 6px; }
.cs-card-bannertitle { font-family: 'Plus Jakarta Sans','Inter',sans-serif; font-weight: 800; font-size: 18px;
  line-height: 1.3; color: var(--ink); letter-spacing: -.01em; max-width: 88%;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.cs-card-banner .wm { position: absolute; bottom: 14px; left: 22px; display: flex; align-items: center; gap: 5px;
  font-size: 11px; font-weight: 700; color: rgba(15,23,42,.4); }
.cs-card-banner .wm img { width: 14px; height: 14px; object-fit: contain; opacity: .62; }
.cs-card-banner .wm i { width: 13px; height: 13px; background: var(--ink); border-radius: 3px; opacity: .5; }
.cs-card-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.cs-cat { align-self: flex-start; font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  color: var(--brand); background: var(--brand-soft); padding: 5px 10px; border-radius: 7px; margin-bottom: 13px; }
.cs-card h3 { font-family: 'Plus Jakarta Sans','Inter',sans-serif; font-size: 17.5px; font-weight: 800; line-height: 1.35;
  letter-spacing: -.01em; color: var(--ink); }
.cs-card:hover h3 { color: var(--brand); }
.cs-card-ex { margin-top: 11px; font-size: 14.5px; line-height: 1.62; color: var(--muted);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.cs-card-foot { margin-top: auto; padding-top: 20px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cs-date { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; color: var(--muted); }
.cs-date svg, .cs-more svg { width: 15px; height: 15px; }
.cs-more { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 700; color: var(--brand);
  background: var(--brand-soft); padding: 8px 14px; border-radius: 9px; transition: gap .18s var(--ease), background .18s var(--ease); }
.cs-card:hover .cs-more { gap: 10px; background: #dde6fb; }

/* ---- Detail hero ---- */
.cs-dhero { background: linear-gradient(180deg, #e9eeff 0%, #f4f6ff 100%); border-bottom: 1px solid var(--line);
  padding: calc(var(--nav-h) + 40px) 0 46px; }
.cs-crumb { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 13.5px; color: var(--muted); }
.cs-crumb a { color: var(--muted); text-decoration: none; }
.cs-crumb a:hover { color: var(--brand); }
.cs-crumb span:last-child { color: var(--brand); font-weight: 600; }
.cs-dtag { display: inline-block; margin-top: 18px; font-size: 12px; font-weight: 700; letter-spacing: .03em;
  text-transform: uppercase; color: var(--brand); background: var(--brand-soft); padding: 6px 12px; border-radius: 8px; }
.cs-dhero h1 { margin-top: 16px; max-width: 820px; font-family: 'Plus Jakarta Sans','Inter',sans-serif;
  font-size: clamp(1.9rem, 3.6vw, 2.9rem); font-weight: 800; line-height: 1.14; letter-spacing: -.02em; color: var(--ink); }
.cs-dlead { margin-top: 18px; max-width: 720px; font-size: 16.5px; line-height: 1.7; color: #46506a; }
.cs-dmeta { margin-top: 22px; display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.cs-mchip { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 500; color: var(--muted); }
.cs-mchip svg { width: 15px; height: 15px; color: var(--brand); }

/* ---- Detail banner ---- */
.cs-banner { position: relative; margin: 40px 0 8px; border-radius: 20px; border: 1px solid var(--line);
  padding: 40px 44px; min-height: 240px; display: flex; flex-direction: column; gap: 16px; overflow: hidden; }
.cs-banner-pill { align-self: flex-start; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  color: #fff; background: var(--brand); padding: 6px 13px; border-radius: 7px; }
.cs-banner-title { max-width: 560px; font-family: 'Plus Jakarta Sans','Inter',sans-serif; font-weight: 800;
  font-size: clamp(1.5rem, 2.8vw, 2.1rem); line-height: 1.2; letter-spacing: -.02em; color: var(--ink); }
.cs-banner .wm { position: absolute; bottom: 20px; left: 44px; display: flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 700; color: rgba(15,23,42,.42); }
.cs-banner .wm img { width: 14px; height: 14px; object-fit: contain; opacity: .62; }
.cs-banner .wm i { width: 14px; height: 14px; background: var(--ink); border-radius: 3px; opacity: .5; }

/* ---- Detail body sections ---- */
/* body spans the same wrap as the hero; sections are a readable column, left-aligned to the title */
.cs-body { max-width: var(--wrap); margin: 0 auto; padding: 44px 24px 24px; }
.cs-sec { margin-bottom: 46px; max-width: 840px; }
.cs-sec-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.cs-sec-head h2 { font-family: 'Plus Jakarta Sans','Inter',sans-serif; font-size: 1.5rem; font-weight: 800;
  letter-spacing: -.02em; color: var(--ink); }
.cs-sec-ic { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; }
.cs-sec-ic svg { width: 21px; height: 21px; }
.cs-sec-ic img { width: 21px; height: 21px; object-fit: contain; }
.ic-red { background: #fdecec; color: #e0483a; }
.ic-blue { background: #e8f0ff; color: var(--brand); }
.ic-amber { background: #fdf1dc; color: #d9930b; }
.ic-green { background: #e5f7ec; color: #16a34a; }
.cs-sec > p { font-size: 16.5px; line-height: 1.78; color: #3b4254; margin-bottom: 18px; }
.cs-richtext p, .cs-summary p { font-size: 16.5px; line-height: 1.78; color: #3b4254; margin-bottom: 18px; }
.cs-richtext ul, .cs-richtext ol, .cs-summary ul, .cs-summary ol { margin: 0 0 20px 22px; color: #3b4254; }
.cs-richtext li, .cs-summary li { margin-bottom: 8px; }

.cs-pain { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.cs-pain li { position: relative; padding-left: 26px; font-size: 16px; line-height: 1.62; color: #3b4254; }
.cs-pain li::before { content: ''; position: absolute; left: 4px; top: 8px; width: 8px; height: 8px; border-radius: 50%; background: #e0483a; }

.cs-cardgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cs-scard { border: 1px solid var(--line); border-radius: 14px; background: var(--bg-soft); padding: 18px 20px;
  font-size: 15px; line-height: 1.6; color: #46506a; }

.cs-steps { display: flex; flex-direction: column; gap: 12px; }
.cs-step { display: flex; align-items: flex-start; gap: 16px; border: 1px solid var(--line); border-radius: 14px;
  background: #fff; padding: 16px 20px; }
.cs-step-n { flex: 0 0 auto; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center;
  font-weight: 800; font-size: 14px; color: #fff; background: var(--brand); }
.cs-step p { font-size: 15.5px; line-height: 1.6; color: #3b4254; padding-top: 3px; }

.cs-resultgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cs-rcard { border: 1px solid var(--line); border-radius: 14px; background: var(--bg-soft); padding: 22px 20px; text-align: center; }
.cs-rstat { display: block; font-family: 'Plus Jakarta Sans','Inter',sans-serif; font-size: 2rem; font-weight: 800;
  letter-spacing: -.02em; color: var(--brand); margin-bottom: 8px; }
.cs-rcard p { font-size: 14px; line-height: 1.55; color: var(--muted); }

.cs-summary hr { border: none; border-top: 1px solid var(--line); margin: 0 0 26px; }
.cs-summary p { font-size: 16px; line-height: 1.78; color: #46506a; }

.cs-notfound { text-align: center; padding: 40px 0 20px; }
.cs-notfound h2 { font-family: 'Plus Jakarta Sans','Inter',sans-serif; font-size: 1.7rem; font-weight: 800; color: var(--ink); }
.cs-notfound p { max-width: 520px; margin: 12px auto 22px; color: var(--muted); font-size: 16px; line-height: 1.7; }

/* ---- Detail CTA band ---- */
.cs-cta { background: linear-gradient(180deg, #eef2ff, #f5f7ff); border-top: 1px solid var(--line);
  text-align: center; padding: 72px 0; margin-top: 20px; }
.cs-cta h2 { font-family: 'Plus Jakarta Sans','Inter',sans-serif; font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800;
  letter-spacing: -.02em; color: var(--ink); }
.cs-cta p { margin: 14px auto 0; max-width: 540px; font-size: 16px; color: var(--muted); }
.cs-cta-btns { margin-top: 28px; display: inline-flex; gap: 14px; flex-wrap: wrap; justify-content: center; }

@media (max-width: 760px) {
	.case-studies-page .blog-hero { padding-top: calc(var(--nav-h) + 38px); padding-bottom: 46px; }
	.case-studies-page .section { padding-top: 54px; padding-bottom: 54px; }
	.case-studies-page .blog-list-head { align-items: flex-start; flex-direction: column; gap: 6px; }
	.case-studies-page .cs-card-foot { align-items: flex-start; flex-direction: column; }
	.case-studies-page .cs-more { width: 100%; justify-content: center; }
  .cs-cardgrid, .cs-resultgrid { grid-template-columns: 1fr; }
  .cs-banner { padding: 28px 24px; min-height: 180px; }
  .cs-banner .wm { left: 24px; }
  .cs-sec-head h2 { font-size: 1.3rem; }
}

@media (max-width: 640px) {
	.features-page .wrap { padding-left: 16px; padding-right: 16px; }
	.features-page .gr-copy .hero-ctas { flex-direction: column; align-items: stretch; }
	.features-page .gr-copy .hero-ctas .btn { width: 100%; }
	.features-page .hero-mini-stats { gap: 0; justify-content: space-between; }
	.features-page .hero-mini-stats > div { padding: 0 10px; }
	.features-page .cta-form-card { padding: 24px 20px; }
}

@media (max-width: 420px) {
	.blogs-page .wrap { padding-left: 16px; padding-right: 16px; }
	.blogs-page .blog-hero { padding-top: calc(var(--nav-h) + 36px); }
	.blogs-page .blog-search { width: 100%; }
	.blogs-page .blog-cta .btn { width: 100%; }
}

/* Feature-detail sections ported from mobile number finder.html */
.fx-metrics{padding:8px 0 4px}.fx-band{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;background:linear-gradient(135deg,#e8f0ff,#f2f6ff 50%,#ecf3ff);border:1px solid var(--line-2);border-radius:var(--radius-xl);padding:48px 34px;box-shadow:0 28px 58px -32px rgba(28,34,92,.34),inset 0 1px 0 rgba(255,255,255,.85)}.fx-metric{text-align:center;position:relative;padding:0 8px}.fx-metric+.fx-metric:before{content:"";position:absolute;left:-10px;top:8%;height:84%;width:1px;background:linear-gradient(transparent,var(--line-2),transparent)}.fx-metric b{display:block;font-family:'Plus Jakarta Sans','Inter',sans-serif;font-size:clamp(2.8rem,2rem + 2.7vw,4rem);font-weight:800;letter-spacing:-.05em;color:var(--ink);line-height:1;white-space:nowrap}.fx-metric b .u{font-size:.56em;margin-left:2px;background:var(--grad-brand);-webkit-background-clip:text;background-clip:text;color:transparent}.fx-metric>span{display:block;margin-top:16px;font-size:15px;color:var(--muted);font-weight:500}.fx-metric b .num{font-size:1em}.min-capabilities{padding-top:78px}.fx-alt-rows{display:flex;flex-direction:column;gap:88px;margin-top:16px}.fx-alt{display:grid;grid-template-columns:1fr 1fr;gap:64px;align-items:center}.fx-alt-copy .tag{margin-bottom:18px}.fx-alt-copy h3{font-size:clamp(1.5rem,1.05rem + 1.6vw,2.15rem);font-weight:800;letter-spacing:-.032em;line-height:1.12}.fx-alt-copy p{margin-top:18px;font-size:16px;line-height:1.72;color:var(--muted);max-width:490px}.fx-alt-copy .hl{color:var(--brand);font-weight:600}.fx-stack-wrap{position:relative;padding:32px;border-radius:26px;background:linear-gradient(150deg,#e7eeff,#f2f6ff 58%,#edf3ff);border:1px solid rgba(255,255,255,.85);box-shadow:0 32px 68px -36px rgba(28,34,92,.36)}.fx-stack{background:#fff;border:1px solid var(--line);border-radius:18px;overflow:hidden;box-shadow:0 22px 46px -26px rgba(20,28,64,.32)}.fx-stack-head{display:flex;align-items:center;padding:15px 18px;border-bottom:1px solid var(--line);font-size:13px;color:var(--muted)}.fx-stack-brand{margin-left:auto;font-family:'Plus Jakarta Sans','Inter',sans-serif;font-weight:800;font-size:12.5px;color:var(--ink)}.fx-stack-list{padding:6px 18px 18px}.fx-stack-row{display:flex;align-items:center;gap:12px;padding:11px 0;font-size:14.5px;font-weight:600;color:var(--ink);border-bottom:1px solid var(--line)}.fx-stack-row:last-child{border:0}.fx-stack-row .chk,.fx-stack-row .pls{width:22px;height:22px;border-radius:7px;display:grid;place-items:center;flex:none}.fx-stack-row .chk{background:#22c55e;color:#fff;font-size:12px}.fx-stack-row.done{color:var(--brand)}.fx-stack-row .pls{color:var(--brand);background:#f2f5ff;border:1.5px solid #aab9ee}.fx-stack-row.add{color:var(--ink-2);font-weight:550}.fx-stack-row.faint{opacity:.48}.fx-stack-tip{position:absolute;top:38%;right:-16px;z-index:4;background:#1c2333;color:#fff;font-size:12.5px;font-weight:650;padding:8px 14px;border-radius:10px;white-space:nowrap}.fx-stack-tip:after{content:"";position:absolute;left:-5px;top:50%;transform:translateY(-50%) rotate(45deg);width:10px;height:10px;background:#1c2333}.fx-stack-cursor{position:absolute;z-index:5;width:22px;height:22px;left:44px;top:60%}.fx-stack-cursor path{fill:#ff5a5f;stroke:#fff;stroke-width:1.3}.min-use-cases{padding-top:96px;background:var(--bg-soft)}.fx-uc-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.fx-uc{background:linear-gradient(#fff,#fbfcff);border:1px solid var(--line);border-radius:18px;padding:28px 24px;transition:.25s}.fx-uc:hover,.fx-rel:hover{transform:translateY(-5px);box-shadow:0 24px 46px -26px rgba(28,34,92,.34)}.fx-uc-ic{width:46px;height:46px;border-radius:13px;display:grid;place-items:center;background:var(--grad-brand);color:#fff;margin-bottom:18px;font-size:23px}.fx-uc h3{font-size:16px;margin-bottom:8px}.fx-uc p,.fx-rel p{font-size:13.5px;color:var(--muted);line-height:1.58}.fx-rel-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.fx-rel{display:flex;flex-direction:column;align-items:flex-start;background:#fff;border:1px solid var(--line);border-radius:18px;padding:26px 24px;position:relative;overflow:hidden;transition:.25s}.fx-rel:after{content:"";position:absolute;inset:0 0 auto;height:3px;background:var(--grad-brand);opacity:0}.fx-rel:hover:after{opacity:1}.fx-rel-ic{width:52px;height:52px;border-radius:14px;display:grid;place-items:center;background:linear-gradient(150deg,#eef4fd,#dfe9fb);margin-bottom:16px}.fx-rel-ic img{width:27px;height:27px;object-fit:contain}.fx-rel-cat{font-size:11.5px;font-weight:700;letter-spacing:.09em;text-transform:uppercase;color:var(--brand);margin-bottom:8px}.fx-rel h3{font-size:16.5px;margin-bottom:8px}.fx-rel-more{margin-top:16px;font-size:13.5px;font-weight:650;color:var(--brand)}
.fx-rel-ic.fx-rel-ic-full{background:transparent;border:0;overflow:hidden}.fx-rel-ic.fx-rel-ic-full img{display:block;width:100%;height:100%;object-fit:contain}
@media(max-width:940px){.fx-band{grid-template-columns:repeat(2,1fr);gap:30px 18px}.fx-metric+.fx-metric:before{display:none}.fx-alt{grid-template-columns:1fr;gap:34px}.fx-alt-rows{gap:60px}.fx-alt-copy p{max-width:none}.fx-stack-wrap{max-width:520px}.fx-uc-grid{grid-template-columns:repeat(2,1fr)}.fx-rel-grid{grid-template-columns:1fr;max-width:560px;margin:0 auto}}@media(max-width:560px){.fx-band{grid-template-columns:1fr 1fr;padding:30px 20px}.fx-metric b{font-size:clamp(2rem,12vw,3rem)}.fx-uc-grid{grid-template-columns:1fr}.fx-stack-wrap{padding:20px 14px}.fx-stack-tip{right:-6px}}

@media (max-width: 420px) {
	.case-studies-page .wrap { padding-left: 16px; padding-right: 16px; }
	.case-studies-page .cs-card-banner { min-height: 175px; padding-left: 18px; padding-right: 18px; }
	.case-studies-page .cs-card-body { padding: 18px; }
	.case-studies-page .cs-card-banner .wm { left: 18px; }
}

/* ============================================================
   Contact page  Â·  template-contact.php  (matches contact.html)
   Get-in-touch hero (info + contact methods + form card) and FAQ.
   Also styles Contact Form 7 output inside the form card.
   ============================================================ */
.ct-hero { padding: calc(var(--nav-h) + 58px) 0 74px; }
.ct-grid { display: grid; grid-template-columns: 1fr 1.04fr; gap: 58px; align-items: start; position: relative; z-index: 1; }
.ct-info { text-align: left; }
.ct-info .tag { margin-bottom: 16px; }
.ct-title { font-size: clamp(2.2rem, 4.4vw, 3.3rem); line-height: 1.04; letter-spacing: -.03em; margin: 6px 0 18px; }
.ct-lead { font-size: 16.5px; color: var(--muted); line-height: 1.72; max-width: 500px; }
.ct-methods { display: flex; flex-direction: column; gap: 13px; margin-top: 34px; }
.ct-method { display: flex; align-items: center; gap: 15px; padding: 15px 18px; border: 1px solid var(--line);
  border-radius: 16px; background: #fff; box-shadow: var(--shadow-sm); transition: transform .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease); }
a.ct-method:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--brand) 32%, var(--line)); box-shadow: var(--shadow-md); }
.ct-ic { width: 48px; height: 48px; border-radius: 14px; flex: 0 0 auto; display: grid; place-items: center;
  color: var(--brand); background: var(--brand-soft); border: 1px solid color-mix(in srgb, var(--brand) 14%, transparent); }
.ct-ic svg { width: 22px; height: 22px; stroke: currentColor; stroke-width: 1.9; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.ct-ic-wa { color: #16a34a; background: #e9f8ef; border-color: color-mix(in srgb, #16a34a 16%, transparent); }
.ct-mtx b { display: block; font-size: 15.5px; color: var(--ink); font-weight: 650; }
.ct-mtx span { font-size: 14px; color: var(--muted); }
.ct-hours { display: inline-flex; align-items: center; gap: 9px; margin-top: 22px; font-size: 14px; color: var(--muted); }
.ct-hours svg { width: 17px; height: 17px; stroke: var(--brand); stroke-width: 1.9; fill: none; stroke-linecap: round; stroke-linejoin: round; }

/* form card */
.ct-card { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 34px 34px 30px;
  box-shadow: 0 44px 96px -44px rgba(28,34,92,.36); }
.ct-card-head h2 { font-size: 24px; font-weight: 700; letter-spacing: -.02em; color: var(--ink); }
.ct-card-head p { color: var(--muted); font-size: 14.5px; margin: 9px 0 22px; line-height: 1.6; }
.ct-form { display: flex; flex-direction: column; gap: 16px; }
.ct-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ct-field { display: flex; flex-direction: column; gap: 7px; }
.ct-field > span { font-size: 12.5px; font-weight: 600; color: var(--ink-2); letter-spacing: .01em; }
.ct-field input, .ct-field textarea,
.ct-form .wpcf7-form-control.wpcf7-text, .ct-form .wpcf7-form-control.wpcf7-email,
.ct-form .wpcf7-form-control.wpcf7-tel, .ct-form .wpcf7-form-control.wpcf7-number,
.ct-form .wpcf7-form-control.wpcf7-textarea {
  width: 100%; padding: 13px 15px; border-radius: 12px; border: 1px solid var(--line-2);
  background: var(--bg-soft); color: var(--ink); font-family: inherit; font-size: 14.5px;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease); }
.ct-field input::placeholder, .ct-field textarea::placeholder,
.ct-form input::placeholder, .ct-form textarea::placeholder { color: var(--faint); }
.ct-field input:focus, .ct-field textarea:focus,
.ct-form .wpcf7-form-control:focus { outline: none; background: #fff; border-color: var(--brand);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 15%, transparent); }
.ct-field textarea { resize: vertical; min-height: 112px; }
.ct-form .wpcf7-textarea { height: 112px; min-height: 112px; resize: vertical; }
.ct-submit { margin-top: 6px; }
.ct-privacy { text-align: center; font-size: 12.5px; color: var(--faint); margin-top: 4px; }
/* Contact Form 7 plumbing inside the card */
.ct-form .wpcf7 { width: 100%; }
.ct-form .wpcf7-form { display: flex; flex-direction: column; gap: 16px; }
.ct-form .wpcf7-form p { margin: 0; }
.ct-form .wpcf7-form br { display: none; }
.ct-form .wpcf7-form label { display: flex; flex-direction: column; gap: 7px;
  margin: 0; color: var(--ink-2); font-size: 12.5px; font-weight: 600; line-height: 1.35; letter-spacing: .01em; }
.ct-form .wpcf7-form .ct-row2 { width: 100%; }
.ct-form .wpcf7-form-control-wrap { display: block; width: 100%; }
.ct-card .wpcf7 .wpcf7-form p { margin: 0; }
.ct-form .wpcf7-submit { position: relative; overflow: hidden; display: inline-flex; width: 100%;
  align-items: center; justify-content: center; margin-top: 6px; padding: 12px 22px; border: 0;
  border-radius: 12px; cursor: pointer; background: var(--grad-brand); color: #fff;
  box-shadow: var(--shadow-brand); font-family: inherit; font-size: 15px; font-weight: 650; line-height: 1.4;
  transition: transform .2s var(--ease), box-shadow .25s var(--ease); }
.ct-form .wpcf7-submit:hover { transform: scale(1.03); box-shadow: 0 12px 26px -14px rgba(47,90,230,.45); }
.ct-form .wpcf7-submit:active { transform: scale(.98); }
.ct-card .wpcf7-not-valid-tip { color: #dc2626; font-size: 12px; font-weight: 600; margin-top: 5px; }
.ct-card .wpcf7-form-control.wpcf7-not-valid { border-color: #ef4444; }
.ct-card .wpcf7-response-output { margin: 16px 0 0 !important; padding: 12px 14px !important; border-radius: 10px; font-size: 13.5px; }
.ct-card .wpcf7-spinner { margin: 0 auto; }
.ct-empty { font-size: 13.5px; color: var(--muted); background: var(--bg-soft); border: 1px dashed var(--line-2);
  border-radius: 12px; padding: 18px; line-height: 1.55; }

/* FAQ two-column */
.ct-faq-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 56px; align-items: start; }
.ct-faq-side { position: sticky; top: 100px; }
.ct-faq-side .tag { margin-bottom: 14px; }
.ct-faq-side h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1.08; letter-spacing: -.02em; margin: 4px 0 12px; }
.ct-faq-side > p { color: var(--muted); font-size: 15.5px; line-height: 1.62; max-width: 340px; }
.ct-faq-help { margin-top: 28px; padding: 24px; border-radius: 18px; background: var(--brand-soft);
  border: 1px solid color-mix(in srgb, var(--brand) 15%, var(--line)); display: flex; flex-direction: column; align-items: flex-start; }
.ct-faq-help b { font-size: 16px; color: var(--ink); }
.ct-faq-help span { font-size: 14px; color: var(--muted); margin: 5px 0 16px; }

@media (max-width: 900px) {
  .ct-grid { grid-template-columns: 1fr; gap: 36px; }
  .ct-faq-grid { grid-template-columns: 1fr; gap: 30px; }
  .ct-faq-side { position: static; }
  .ct-faq-side > p { max-width: none; }
}
@media (max-width: 560px) {
  .ct-row2 { grid-template-columns: 1fr; }
  .ct-card { padding: 26px 22px; }
}

/* ============================================================
   Author archive and linked author details
   ============================================================ */
.surereach-author-avatar { display: grid; place-items: center; overflow: hidden; flex: 0 0 auto; background: var(--brand-soft); }
.surereach-author-avatar img { display: block; width: 100%; height: 100%; object-fit: cover; }
.art-author-link { display: inline-flex; align-items: center; gap: 10px; color: inherit; }
.art-author-link:hover .art-author-name, .ac-body h3 a:hover { color: var(--brand); }
.art-avatar.surereach-author-avatar { width: 38px; height: 38px; padding: 0; border-radius: 50%; }
.ac-avatar.surereach-author-avatar { width: 76px; height: 76px; padding: 0; border-radius: 18px; }
.ac-body h3 a { color: inherit; transition: color .2s ease; }
.ac-linkedin { display: inline-flex; margin: 10px 0 0 16px; color: #0a66c2; font-size: 13px; font-weight: 700; }

.author-page { background: #fff; }
.author-hero { padding: calc(var(--nav-h) + 72px) 0 82px; background: radial-gradient(circle at 8% 10%, #dce5ff 0, transparent 32%), linear-gradient(135deg, #f7f9ff, #eef3ff); }
.author-profile-card { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: clamp(36px, 6vw, 84px); align-items: center; width: 100%; }
.author-profile-image .surereach-author-avatar { width: 100%; aspect-ratio: 1; border-radius: 24px; box-shadow: none; }
.author-profile-copy .tag { margin-bottom: 18px; }
.author-profile-copy h1 { margin: 0; font-size: clamp(2.35rem, 5vw, 4.25rem); line-height: 1.02; letter-spacing: -.045em; color: var(--ink); }
.author-role { margin-top: 12px; color: var(--brand); font-size: 17px; font-weight: 700; }
.author-bio { max-width: 650px; margin-top: 20px; color: var(--muted); font-size: 16.5px; line-height: 1.75; }
.author-linkedin { margin-top: 26px; gap: 10px; }
.author-linkedin > span { display: grid; place-items: center; width: 23px; height: 23px; border-radius: 4px; background: #fff; color: #0a66c2; font-size: 13px; font-weight: 900; }
.author-posts .blog-list-head { margin-bottom: 34px; }
.author-posts .blog-list-head h2 { margin-top: 12px; font-size: clamp(1.8rem, 3vw, 2.6rem); }
.author-posts .blog-card .blog-body > p { color: var(--muted); font-size: 14px; line-height: 1.6; }
.author-pagination { margin-top: 44px; }
.author-pagination .nav-links { display: flex; justify-content: center; gap: 8px; }
.author-pagination .page-numbers { min-width: 42px; height: 42px; display: inline-grid; place-items: center; padding: 0 13px; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); font-weight: 650; }
.author-pagination .page-numbers.current, .author-pagination a.page-numbers:hover { border-color: var(--brand); background: var(--brand); color: #fff; }
.other-authors { background: var(--bg-soft); border-top: 1px solid var(--line); }
.other-authors .section-head { text-align: center; margin-bottom: 38px; }
.other-authors .section-head h2 { margin-top: 12px; font-size: clamp(1.8rem, 3vw, 2.5rem); }
.other-authors-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.other-author-card { display: flex; flex-direction: column; align-items: center; padding: 32px 24px; border: 1px solid var(--line); border-radius: 20px; background: #fff; text-align: center; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.other-author-card:hover { transform: translateY(-4px); border-color: rgba(47,90,230,.32); box-shadow: var(--shadow-md); }
.other-author-avatar { width: 96px; height: 96px; border-radius: 50%; margin-bottom: 18px; }
.other-author-card h3 { color: var(--ink); font-size: 18px; }
.other-author-card p { margin-top: 5px; color: var(--muted); font-size: 14px; }
.other-author-card > span:last-child { margin-top: 16px; color: var(--brand); font-size: 13px; font-weight: 700; }
.author-empty { padding: 30px; border: 1px dashed var(--line-2); border-radius: 16px; color: var(--muted); text-align: center; }

@media (max-width: 900px) {
  .author-profile-card { grid-template-columns: 220px minmax(0, 1fr); gap: 36px; }
  .other-authors-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .author-hero { padding: calc(var(--nav-h) + 38px) 0 54px; }
  .author-profile-card { grid-template-columns: 1fr; }
  .author-profile-image { max-width: 220px; }
  .author-profile-copy h1 { font-size: 2.35rem; }
  .other-authors-grid { grid-template-columns: 1fr; }
  .art-author-row { flex-wrap: wrap; }
  .art-authorcard { align-items: flex-start; }
}

/* ============================================================
   Legal page · template-legal-page.php
   ============================================================ */
.sr-legal-page { background: #fff; }
.sr-legal-hero {
  position: relative;
  overflow: hidden;
  padding: calc(var(--nav-h) + 70px) 0 72px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 82% 12%, rgba(109,146,234,.22), transparent 30%),
    linear-gradient(180deg, #eef2ff 0%, #f7f9ff 100%);
}
.sr-legal-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: .45;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(47,90,230,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(47,90,230,.055) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 90%);
  mask-image: linear-gradient(180deg, #000, transparent 90%);
}
.sr-legal-hero-copy {
  position: relative;
  z-index: 1;
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}
.sr-legal-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 13px;
  border: 1px solid color-mix(in srgb, var(--brand) 20%, var(--line));
  border-radius: 100px;
  background: rgba(255,255,255,.82);
  box-shadow: 0 6px 18px -12px rgba(47,90,230,.45);
  color: var(--brand);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.sr-legal-label svg { width: 16px; height: 16px; }
.sr-legal-hero h1 {
  margin-top: 20px;
  font-size: clamp(2.35rem, 5vw, 4rem);
  line-height: 1.05;
  letter-spacing: -.04em;
}
.sr-legal-hero p {
  max-width: 620px;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.1rem);
  line-height: 1.72;
}
.sr-legal-content-section {
  padding: 54px 0 100px;
  background: linear-gradient(180deg, #fff 0%, var(--bg-soft) 100%);
}
.sr-legal-article { max-width: 880px; margin: 0 auto; }
.sr-legal-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 34px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}
.sr-legal-meta span {
  color: var(--ink-2);
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.sr-legal-meta span::after {
  content: '';
  display: inline-block;
  width: 4px;
  height: 4px;
  margin-left: 10px;
  border-radius: 50%;
  background: var(--brand-2);
  vertical-align: middle;
}
.sr-legal-content { color: var(--text); font-size: 16px; line-height: 1.85; }
.sr-legal-content > *:first-child { margin-top: 0; }
.sr-legal-content > *:last-child { margin-bottom: 0; }
.sr-legal-content p,
.sr-legal-content ul,
.sr-legal-content ol,
.sr-legal-content blockquote,
.sr-legal-content table,
.sr-legal-content figure,
.sr-legal-content .wp-block-group,
.sr-legal-content .wp-block-columns { margin: 0 0 24px; }
.sr-legal-content h2,
.sr-legal-content h3,
.sr-legal-content h4,
.sr-legal-content h5,
.sr-legal-content h6 {
  margin: 42px 0 15px;
  color: var(--ink);
  line-height: 1.22;
  letter-spacing: -.025em;
}
.sr-legal-content h2 { font-size: clamp(1.65rem, 3vw, 2.1rem); }
.sr-legal-content h3 { font-size: clamp(1.3rem, 2vw, 1.55rem); }
.sr-legal-content h4 { font-size: 1.12rem; }
.sr-legal-content strong { color: var(--ink-2); font-weight: 700; }
.sr-legal-content a {
  color: var(--brand);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.sr-legal-content a:hover { color: var(--brand-dark); }
.sr-legal-content ul,
.sr-legal-content ol { padding-left: 1.45rem; }
.sr-legal-content li { padding-left: .25rem; }
.sr-legal-content li + li { margin-top: 9px; }
.sr-legal-content li::marker { color: var(--brand); font-weight: 700; }
.sr-legal-content blockquote {
  padding: 20px 22px;
  border-left: 4px solid var(--brand);
  border-radius: 0 16px 16px 0;
  background: var(--brand-soft);
  color: var(--ink-2);
}
.sr-legal-content hr { margin: 34px 0; border: 0; border-top: 1px solid var(--line-2); }
.sr-legal-content table {
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--line-2);
  border-radius: 16px;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
}
.sr-legal-content th,
.sr-legal-content td {
  padding: 14px 16px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.sr-legal-content th:last-child,
.sr-legal-content td:last-child { border-right: 0; }
.sr-legal-content tr:last-child td { border-bottom: 0; }
.sr-legal-content th { background: var(--bg-soft); color: var(--ink-2); font-size: 14px; font-weight: 700; }
.sr-legal-content td { font-size: 14px; }
.sr-legal-content .wp-block-button__link {
  padding: 12px 22px;
  border-radius: 12px;
  background: var(--grad-brand);
  box-shadow: var(--shadow-brand);
  color: #fff;
  text-decoration: none;
}
.sr-legal-page-links { margin-top: 34px; color: var(--muted); }

@media (max-width: 760px) {
  .sr-legal-hero { padding: calc(var(--nav-h) + 42px) 0 52px; }
  .sr-legal-content-section { padding: 40px 0 72px; }
  .sr-legal-content { font-size: 15px; line-height: 1.78; }
  .sr-legal-content h2,
  .sr-legal-content h3,
  .sr-legal-content h4 { margin-top: 34px; }
  .sr-legal-content table { display: block; overflow-x: auto; white-space: nowrap; }
}
@media (max-width: 420px) {
  .sr-legal-page .wrap { padding-left: 16px; padding-right: 16px; }
  .sr-legal-meta { align-items: flex-start; flex-direction: column; gap: 4px; }
  .sr-legal-meta span::after { display: none; }
}

/* ========================================================================
   Theme-wide responsive hardening
   Applies to every WordPress template and block/content surface.
   ===================================================================== */
html,body{max-width:100%;overflow-x:clip}
main,section,.wrap,.nav-inner,.footer-grid{min-width:0}
img,svg,video,canvas,iframe{max-width:100%}
img,video{height:auto}
iframe{border:0}
input,select,textarea,button{max-width:100%;font:inherit}
.wp-block-image img,.wp-block-video video,.wp-block-embed iframe,.art-body img,.prose img{display:block;max-width:100%;height:auto}
.wp-block-table,.art-body table,.prose table{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
.wp-block-table table,.art-body table,.prose table{min-width:560px}
.art-body,.prose,.legal,.sr-legal-content{overflow-wrap:anywhere;word-break:normal}
.art-body pre,.prose pre,.legal pre,.sr-legal-content pre{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
.art-body code,.prose code,.legal code,.sr-legal-content code{overflow-wrap:anywhere}
.btn{max-width:100%;text-align:center}

@media (max-width:1200px){
  .wrap{max-width:100%;padding-left:clamp(20px,3vw,32px);padding-right:clamp(20px,3vw,32px)}
  .nav-inner{margin-left:auto;margin-right:auto}
  .plan-grid-4{gap:16px}
  .p-card{padding-left:20px;padding-right:20px}
}

@media (max-width:900px){
  :root{--nav-h:68px}
  .section{padding-top:72px;padding-bottom:72px}
  .section.page-top{padding-top:calc(var(--nav-h) + 40px)}
  .sec-head{margin-bottom:40px}
  .nav{padding:10px 0}
  .nav-inner{height:var(--nav-h);padding-left:20px;padding-right:14px}
  .nav-links,.nav-actions{display:none}
  .burger{display:flex}
  .mobile-nav{top:calc(var(--nav-h) + 20px);max-height:calc(100dvh - var(--nav-h) - 20px);overflow-y:auto;overscroll-behavior:contain}
  .mobile-nav.open{transform:translateY(0)}
  .brand-logo{max-width:min(180px,48vw);height:auto;max-height:38px}
  .hero,.feat-hero,.blog-hero,.art-hero,.ct-hero,.about-hero,.pricing-hero{padding-top:calc(var(--nav-h) + 52px)}
  .hero-h,.blog-hero h1,.art-hero h1{max-width:100%}
  .hero-h br{display:none}
  .hero-ctas,.cta-btns{flex-wrap:wrap}
  .cta-panel{padding:42px 32px}
  .cta-copy{text-align:center}
  .cta-copy>p{margin-left:auto;margin-right:auto}
  .footer{padding-top:64px}
  .blog-cta{align-items:flex-start;gap:22px}
  .art-comments{padding:30px}
  .route-stepper{max-width:100%}
}

@media (max-width:640px){
  :root{--nav-h:62px}
  .wrap{padding-left:18px;padding-right:18px}
  .section{padding-top:56px;padding-bottom:56px}
  .section.page-top{padding-top:calc(var(--nav-h) + 40px)}
  .sec-head{margin-bottom:32px}
  .sec-head h2{font-size:clamp(1.65rem,8vw,2.25rem)}
  .sec-head p{font-size:15px}
  .nav{padding:8px 0}
  .nav-inner{height:var(--nav-h);padding-left:16px;padding-right:8px}
  .mobile-nav{top:calc(var(--nav-h) + 16px);padding:10px 18px;max-height:calc(100dvh - var(--nav-h) - 16px)}
  .mobile-nav-cta{flex-direction:column}
  .brand-logo{max-width:150px;max-height:34px}
  .hero,.feat-hero,.blog-hero,.art-hero,.ct-hero,.about-hero,.pricing-hero{padding-top:calc(var(--nav-h) + 38px)}
  .hero-h{font-size:clamp(2rem,10vw,3rem);line-height:1.12}
  .hero-p,.feat-hero .hero-p{font-size:16px;line-height:1.65}
  .hero-ctas,.cta-btns,.blog-cta{flex-direction:column;align-items:stretch}
  .hero-ctas .btn,.cta-btns .btn,.blog-cta .btn,.ct-form .btn{width:100%}
  .btn-lg,.btn-xl{padding:13px 20px;font-size:15px}
  .tag{max-width:100%;white-space:normal;text-align:center}
  .trusted{padding-left:0;padding-right:0}
  .logo-track{gap:36px}
  .logo-img{max-width:120px;max-height:34px}
  .panel,.spec-panel,.p-card,.ct-form-card,.cta-form-card{padding:22px 18px}
  .cta{padding-top:56px;padding-bottom:56px}
  .cta-panel{padding:32px 18px;border-radius:20px}
  .cta-copy h2{font-size:clamp(1.75rem,9vw,2.35rem)}
  .cta-feats{grid-template-columns:1fr}
  .footer-grid{text-align:left}
  .footer-bottom{align-items:flex-start;flex-direction:column;gap:14px}
  .to-top{right:16px;bottom:16px;width:42px;height:42px}
  .blog-feature,.blog-card,.fx-rel,.fx-uc{min-width:0}
  .blog-cta{padding:26px 20px}
  .art-layout,.art-body{padding-left:18px;padding-right:18px}
  .art-body{font-size:16px}
  .art-body h2{font-size:clamp(1.55rem,7vw,2rem)}
  .art-comments{padding:24px 18px;border-radius:16px}
  .ct-main,.ct-faq{padding-top:56px;padding-bottom:56px}
  .ct-form-card{border-radius:18px}
  .faq-q{gap:16px;font-size:15px;padding:18px 20px}
  .faq-a p{font-size:14px}
  .demo-band{padding:56px 0}
  .demo-band h2{font-size:clamp(1.8rem,9vw,2.5rem)}
  .value-band{padding:50px 18px}
  .p-enterprise{padding:26px 20px}
  .sr-legal-content table{max-width:100%}
}

@media (max-width:420px){
  .wrap{padding-left:15px;padding-right:15px}
  .section{padding-top:48px;padding-bottom:48px}
  .section.page-top{padding-top:calc(var(--nav-h) + 40px)}
  .hero-h{font-size:clamp(1.8rem,10.5vw,2.45rem)}
  .hero-rating{align-items:flex-start;line-height:1.5}
  .hero-stats{grid-template-columns:1fr;gap:18px}
  .stat+.stat:before{display:none}
  .feature-grid,.blog-grid,.plan-grid,.plan-grid-4,.extracted-grid,.includes-grid,.trial-grid,.more-grid{grid-template-columns:minmax(0,1fr)}
  .fx-band{grid-template-columns:1fr;padding:28px 18px}
  .fx-metric{padding:8px}
  .fx-stack-tip{position:static;display:table;margin:14px auto 0}
  .fx-stack-tip:after{display:none}
  .fx-stack-cursor{display:none}
  .cta-panel{padding:28px 15px}
  .cta-form-card{padding:20px 15px}
  .footer-grid{gap:22px}
  .mobile-nav a{padding:11px 6px}
  .mobile-nav-cta .btn{width:100%}
  .toggle-wrap{max-width:100%}
  .toggle-btn{padding-left:15px;padding-right:15px}
  .art-meta{align-items:flex-start;flex-direction:column;gap:8px}
  .art-share{flex-wrap:wrap}
}
