/* /assets/site.css */
:root{
  --ink:#0b1220;
  --muted:#5b6476;
  --stroke: rgba(2, 6, 23, 0.10);
  --card: rgba(255,255,255,.88);
  --shadow: 0 18px 60px rgba(2, 6, 23, .10);
  --shadow-soft: 0 10px 30px rgba(2, 6, 23, .08);

  /* accents */
  --a1:#22c55e;
  --a2:#38bdf8;
  --a3:#6366f1;
  --a4:#fb7185;

  /* nav colors (final) */
  --nav: rgb(16, 149, 193);
  --nav-hover: rgb(8, 118, 155);
}

html{ scroll-behavior:smooth; }

body{
  background:
    radial-gradient(1000px 420px at 12% -140px, rgba(56,189,248,.22), transparent 60%),
    radial-gradient(900px 380px at 60% -160px, rgba(99,102,241,.18), transparent 60%),
    radial-gradient(900px 380px at 86% -160px, rgba(34,197,94,.16), transparent 60%),
    radial-gradient(1100px 520px at 40% 120%, rgba(251,113,133,.08), transparent 55%),
    linear-gradient(180deg, #fbfcff 0%, #ffffff 35%, #fbfcff 100%);
}



/* ---------------- NAV (desktop) ---------------- */
nav.container-fluid{
  position: relative;
  z-index: 1;
  backdrop-filter: blur(10px);
  background: rgba(255,255,255,.72);
  border-bottom: 1px solid var(--stroke);
}

/* Make sure logo/title row stays aligned */
nav.container-fluid ul{ align-items:center; }
nav.container-fluid ul:first-child{ gap: .6rem; }


nav a{ font-weight: 700; }
nav a[role="button"]{
  background: var(--ink);
  border-color: var(--ink);
  border-radius: 999px;
  padding-inline: 1.05rem;
  box-shadow: 0 10px 24px rgba(2,6,23,.14);
}
nav a[role="button"]:hover{ background:#121c33; border-color:#121c33; }

nav.container-fluid ul:last-child{ gap: .2rem; }

/* Top-level links color */
nav.container-fluid ul[aria-label="Primary"]{ color: var(--nav); }
nav.container-fluid ul[aria-label="Primary"] > li > a:not([role="button"]){
  color: inherit !important;
  text-decoration: none;
}
nav.container-fluid ul[aria-label="Primary"] > li > a:not([role="button"]):hover,
nav.container-fluid ul[aria-label="Primary"] > li > a:not([role="button"]):focus{
  color: var(--nav-hover) !important;
  text-decoration:none;
}

.nav-link{
  display:inline-flex;
  align-items:center;
  gap:.35rem;
  border-radius: 12px;
  padding: .55rem .75rem;
}
.caret{ width: 16px; height: 16px; color: currentColor; opacity: .95; }

/* Dropdown */
.dropdown{ position: relative; }
.dropdown::after{ content:""; position:absolute; left:0; right:0; top:100%; height:10px; background:transparent; }

.dropdown-panel{
  position:absolute;
  left:0;
  top:100%;
  width:360px;
  display:none;
  padding:.5rem;
  border-radius:20px;
  border:1px solid var(--stroke);
  background: rgba(255,255,255,.96);
  box-shadow: 0 18px 60px rgba(2,6,23,.14);
  backdrop-filter: blur(12px);
  z-index:80;
  margin-top:8px;
}
.dropdown-panel.w-320{ width:320px; }

.dropdown:hover > .dropdown-panel,
.dropdown:focus-within > .dropdown-panel{ display:block; }

.dropdown-panel a{
  display:block;
  padding:.65rem .75rem;
  border-radius:16px;
  text-decoration:none;
  color: rgba(15,23,42,.92);
}
.dropdown-panel a:hover,
.dropdown-panel a:focus{ background: rgba(2,6,23,.04); }

.dropdown-title{ font-weight:600; color: var(--nav); line-height:1.2; }
.dropdown-desc{ font-size:.78rem; font-weight:500; color: var(--muted); margin-top:.2rem; }
.dropdown-panel a:hover .dropdown-title,
.dropdown-panel a:focus .dropdown-title{ color: var(--nav-hover); }

.dropdown-divider{ margin:.5rem .25rem; border-top: 1px solid rgba(2,6,23,.10); }

/* ---------------- Responsive NAV (mobile burger + drawer) ---------------- */
/* IMPORTANT: apply desktop-only/mobile-only to <li> elements */
.mobile-only{ display:none !important; }
.desktop-only{ display:list-item; }
.mobile-drawer[hidden]{ display:none !important; }

@media (max-width: 992px){
  .desktop-only{ display:none !important; }
  .mobile-only{ display:flex !important; align-items:center; }

  nav.container-fluid ul{ flex-wrap: nowrap; }
  nav.container-fluid ul:last-child{ gap: .15rem; }
  .nav-link{ padding: .5rem .6rem; }

  .kpi{ grid-template-columns: repeat(2, minmax(0,1fr)); }
  .cards{ grid-template-columns: repeat(2, minmax(0,1fr)); }
  .two-col{ grid-template-columns: 1fr; } 

}

/* Burger button */
.burger-btn{
  appearance:none;
  border:1px solid var(--stroke);
  background: rgba(255,255,255,.85);
  border-radius:999px;
  padding:.45rem .6rem;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  box-shadow: var(--shadow-soft);
}
.burger-btn svg{ width:20px; height:20px; color: var(--nav); }
.burger-btn:hover svg{ color: var(--nav-hover); }

/* Drawer overlay */
.mobile-drawer{
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(2,6,23,.35);
  backdrop-filter: blur(8px);
  display:flex;
  justify-content:flex-end;
}

/* Slide panel */
.mobile-panel{
  width: min(420px, 92vw);
  height: 100%;
  background: rgba(255,255,255,.96);
  border-left: 1px solid var(--stroke);
  box-shadow: 0 18px 60px rgba(2,6,23,.22);
  padding: 1rem;
  overflow: auto;
}

.mobile-panel-header{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  margin-bottom:.9rem;
  padding:0 0 .35rem;
}

.mobile-close{
  appearance:none;
  width:2.75rem;
  height:2.75rem;
  padding:0;
  border:1px solid rgba(14,165,233,.18);
  background: rgba(255,255,255,.82);
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  color: var(--nav);
  box-shadow: 0 10px 24px rgba(2,6,23,.08);
  backdrop-filter: blur(10px);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, color .18s ease;
}

.mobile-close:hover{
  transform: translateY(-1px);
  color: var(--nav-hover);
  border-color: rgba(14,165,233,.28);
  box-shadow: 0 14px 30px rgba(2,6,23,.12);
}

.mobile-close svg{
  width:18px;
  height:18px;
  color: currentColor;
}

.mobile-panel a{
  display:block;
  padding:.65rem .75rem;
  border-radius:14px;
  text-decoration:none;
  color: var(--nav);
  font-weight: 700;
}

.mobile-panel a:hover{
  color: var(--nav-hover);
  background: rgba(2,6,23,.04);
}

.mobile-panel details{
  border:1px solid var(--stroke);
  border-radius:16px;
  background: rgba(255,255,255,.85);
  box-shadow: var(--shadow-soft);
  padding:.2rem;
  margin:.6rem 0;
}

.mobile-panel summary{
  cursor: pointer;
  appearance: none;
  list-style: none;
  position: relative;
  display: block;
  padding: .7rem 2.9rem .7rem .8rem;
  border-radius: 14px;
  font-weight: 800;
  color: var(--nav);
}

.mobile-panel summary:hover{
  color: var(--nav-hover);
  background: rgba(2,6,23,.04);
}

/* kill native/browser markers */
.mobile-panel details > summary::-webkit-details-marker{
  display: none !important;
}

.mobile-panel details > summary::marker{
  content: "" !important;
}

/* kill Pico's default summary arrow */
.mobile-panel details > summary::after{
  display: none !important;
  content: none !important;
}

/* safety: hide any leftover inline caret */
.mobile-panel .summary-caret{
  display: none !important;
}

/* create the only caret we want */
.mobile-panel summary::before{
  content: "›";
  position: absolute;
  right: .95rem;
  top: 50%;
  transform: translateY(-52%);
  font-size: 1.8rem;
  font-weight: 600;
  line-height: 1;
  color: var(--cta-blue, var(--nav));
  transition: transform .18s ease, color .18s ease;
}

.mobile-panel details[open] > summary::before{
  transform: translateY(-52%) rotate(90deg);
  color: var(--cta-green, var(--nav-hover));
}

.mobile-panel summary::after{
  content:"›";
  position:absolute;
  right:.95rem;
  top:50%;
  transform: translateY(-52%);
  font-size:1.2rem;
  font-weight:800;
  line-height:1;
  color: var(--cta-blue, var(--nav));
  transition: transform .18s ease, color .18s ease;
}

.mobile-panel details[open] > summary::after{
  transform: translateY(-52%) rotate(90deg);
  color: var(--cta-green, var(--nav-hover));
}

.mobile-sub{
  padding: .35rem .25rem .5rem;
}

.mobile-sub .sub-desc{
  font-size:.78rem;
  font-weight:500;
  color: var(--muted);
  margin-top:.15rem;
}

.mobile-sub a{
  color: rgba(15,23,42,.92);
  font-weight:600;
}

.mobile-sub a .sub-title{
  color: var(--nav);
  font-weight:600;
}

.mobile-sub a:hover .sub-title{
  color: var(--nav-hover);
}

.mobile-cta{
  display:block;
  margin-top:1rem;
  padding:.9rem 1.15rem !important;
  border-radius:999px !important;
  text-align:center;
  font-weight:800 !important;
  border:0 !important;
  box-shadow: 0 16px 34px rgba(2,6,23,.16);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.mobile-cta:hover{
  transform: translateY(-1px);
  box-shadow: 0 18px 38px rgba(2,6,23,.20);
  filter: brightness(.98);
}



/* ---------------- Shared components ---------------- */

/* ===== Home hero should sit right under sticky nav ===== */
main.container{ padding-top: 0 !important; }
main.container > .grid:first-child,
main.container > section:first-child{
  margin-top: 0 !important;
}

/* If your hero banner is the first element in main */
main.container .hero-banner{ margin-top: 0 !important; }

/* ===== Bigger hero banner height ===== */
.hero-banner > img{
  height: clamp(520px, 68vh, 760px) !important; /* bigger */
}

/* Give the text area more breathing room */
.hero-copy.saas{
  padding: clamp(1.2rem, 3.6vw, 3.2rem) !important;
  max-width: 62ch; /* keep readable */
}

/* @media (max-width: 768px){ */
  /* .hero-banner > img{ */
    /* height: clamp(520px, 72vh, 820px) !important; */
  /* } */
/* } */

/* Hero controlled line break */
.hero-br{ display: inline; }
@media (max-width: 520px){
  .hero-br{ display: none; } /* on very small screens, let it wrap naturally */
}

.subhead{ color: var(--muted); max-width: 78ch; }

.badge{
  display:inline-flex;
  align-items:center;
  gap:.55rem;
  padding:.45rem .85rem;
  border-radius:999px;
  border:1px solid var(--stroke);
  background: rgba(255,255,255,.85);
  box-shadow: var(--shadow-soft);
  color: var(--ink);
  font-weight: 750;
}
.spark{
  width:.7rem;
  height:.7rem;
  border-radius:999px;
  background: conic-gradient(from 180deg, var(--a1), var(--a2), var(--a3), var(--a4), var(--a1));
  box-shadow: 0 0 0 6px rgba(56,189,248,.12);
}

.cta-row{ display:flex; flex-wrap:wrap; gap:.6rem; margin-top: 1rem; }
.cta-row a{ border-radius:999px; }

.kpi{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap:.8rem;
  margin-top: 1.25rem;
}

.chip{
  background: rgba(255,255,255,.92);
  border: 1px solid var(--stroke);
  border-radius: 16px;
  padding: .9rem 1rem;
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

.chip:before{
  content:"";
  position:absolute;
  inset:-2px;
  opacity:.25;
  background:
    radial-gradient(180px 90px at 15% 10%, rgba(56,189,248,.35), transparent 65%),
    radial-gradient(180px 90px at 85% 15%, rgba(34,197,94,.28), transparent 65%),
    radial-gradient(220px 110px at 60% 120%, rgba(99,102,241,.25), transparent 65%);
}

.chip > *{ position: relative; }
.chip strong{ display:block; color: var(--ink); }
.chip small{ color: var(--muted); }

figure.hero-figure{
  margin-top: 1.2rem;
  border-radius: 26px;
  background: rgba(255,255,255,.9);
  border: 1px solid var(--stroke);
  padding: .9rem;
  box-shadow: var(--shadow);
}

figure img {
  border-radius: 18px;
  width: 100%;
  height: auto; /* Let the width dictate the height naturally */
  aspect-ratio: 1200 / 800; /* Matches your uploaded image dimensions */
  display: block;
  object-fit: cover; /* 'cover' fills the 18px radius box perfectly without gaps */
}


.cards{ display:grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap:.9rem; margin-top: .9rem; }
.card{
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: 20px;
  padding: 1rem;
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow:hidden;
}
.card:after{
  content:"";
  position:absolute;
  inset:-2px;
  background:
    radial-gradient(240px 120px at 20% 0%, rgba(56,189,248,.14), transparent 65%),
    radial-gradient(240px 120px at 80% 0%, rgba(251,113,133,.10), transparent 65%);
  opacity:.7;
  pointer-events:none;
}
.card > *{ position:relative; }
.card h4{ margin:.25rem 0 .35rem; }
.card p{ margin:0; color: var(--muted); }

@media (max-width: 992px){
  .cards{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px){
  .cards{ grid-template-columns: 1fr; }
}

/* Breadcrumbs */
.breadcrumbs-wrapper { margin-top: 1rem; margin-bottom: 0.5rem; }
.breadcrumbs-wrapper nav[aria-label="breadcrumb"]{ padding:0; background:transparent; border:none; backdrop-filter:none; position: static; z-index:auto; }
.breadcrumbs-wrapper ul{ margin:0; padding:0; list-style:none; display:flex; gap:.5rem; font-size:.85rem; color: var(--muted); flex-wrap:wrap; }
.breadcrumbs-wrapper li{ display:flex; align-items:center; gap:.5rem; }
.breadcrumbs-wrapper li:not(:last-child):after{ content:"/"; opacity:.5; }
.breadcrumbs-wrapper a{ color: var(--nav); text-decoration:none; font-weight:600; }
.breadcrumbs-wrapper a:hover{ color: var(--nav-hover); }

/* hero */
.hero{ padding: 2.2rem 0 1.2rem; }

/* Subscribe section card */
section[aria-label="Subscribe example"]{ margin-top: 1.35rem; padding: 1.7rem 0 2.2rem; }
section[aria-label="Subscribe example"] article{
  border-radius: 26px;
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow);
  background:
    radial-gradient(720px 260px at 20% 0%, rgba(56,189,248,.16), transparent 60%),
    radial-gradient(720px 260px at 80% 0%, rgba(34,197,94,.14), transparent 60%),
    rgba(255,255,255,.92);
}

.callout{
   background: linear-gradient(135deg, rgba(15,23,42,1), rgba(31,42,68,1));
   color:#fff;
   border-radius: 22px;
   padding: 1.25rem;
   border: 1px solid rgba(255,255,255,.14);
   box-shadow: var(--shadow);
   position: relative;
   overflow:hidden;
}

.two-col{
   display:grid;
   grid-template-columns: 1.2fr .8fr;
   gap: 1rem;
   margin-top: 1.2rem;
 }

/* --- NAV list reset (removes bullets) --- */
nav.container-fluid ul,
nav.container-fluid li{
  list-style: none !important;
  padding-left: 0 !important;
  margin: 0 !important;
}

/* Keep brand row tight + aligned */
nav.container-fluid ul.nav-brand{
  display:flex !important;
  align-items:center !important;
  gap:.6rem;
}

/* Remove Pico padding ONLY for the logo link */
nav.container-fluid li.brand a{
  display:flex !important;
  align-items:center !important;
  padding: 0 !important;
  margin: 0 !important;
  line-height: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

/* ✅ Set the logo size here (single source of truth) */
nav.container-fluid li.brand img{
  height: 85px !important;   /* <-- make bigger here */
  width: auto !important;
  display:block !important;
}

/* Make the navbar shorter by reducing padding around the logo */
nav.container-fluid ul.nav-brand{ gap: .5rem !important; }

nav.container-fluid li.brand{
  padding: 0 !important;
  margin: 0 !important;
}

nav.container-fluid li.brand a{
  padding: 0 !important;       /* already important; keep */
  margin: 0 !important;
  line-height: 0 !important;
}

/* Optional: reduce nav bar vertical padding so it doesn’t look tall */
nav.container-fluid{
  padding-top: .0rem !important;
  padding-bottom: .0rem !important;
}

/* Mobile */
@media (max-width: 992px){
  nav.container-fluid li.brand img{ height: 40px !important; }
}

/* Demo form layout: 2 rows x 2 columns, button bottom aligned */
.demo-form{ grid-template-columns: 1fr 1fr; align-items: stretch; }
.demo-form textarea{ min-height: 140px; resize: vertical; border-radius: 16px; }
.demo-form button{ height:auto; align-self:end; justify-self:stretch; border-radius: 16px; }
@media (max-width: 640px){
  .demo-form{ grid-template-columns: 1fr; }
}

/*------   --*/
/* ===== Hero banner (SaaS style like screenshot) ===== */
.hero-banner{
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow);
  background: rgba(255,255,255,.9);
}

/* screenshot-like: more rounding on right side */
.hero-banner.saas{
  border-radius: 26px 160px 160px 26px;
}

/* image fills banner */
/* .hero-banner > img{ */
  /* width: 100%; */
  /* height: clamp(380px, 56vh, 620px); */
  /* object-fit: cover; */
  /* display: block; */
/* } */

/* strong left fade for text readability */
.hero-banner.saas::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    linear-gradient(90deg,
      rgba(255,255,255,.96) 0%,
      rgba(255,255,255,.88) 40%,
      rgba(255,255,255,.55) 58%,
      rgba(255,255,255,0) 76%),
    radial-gradient(900px 520px at 18% 45%, rgba(56,189,248,.12), transparent 62%);
}

/* overlay layout */
.hero-overlay{
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
}

/* left content block */
.hero-copy.saas{
  padding: clamp(1rem, 3.2vw, 2.8rem);
  max-width: 60ch;
}

/* eyebrow like screenshot */
.hero-eyebrow{
  margin: 0 0 .6rem 0;
  font-weight: 800;
  letter-spacing: .02em;
  color: rgba(15,23,42,.85);
}

/* big headline */
.hero-title{
  margin: 0;
  font-size: clamp(1.85rem, 3.2vw, 3.05rem); /* ↓ smaller than before */
  line-height: 1.08;
  letter-spacing: -0.028em;
  color: var(--ink);
}

/* gradient accents */
.hero-accent{
  font-weight: 900;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-accent-a{
  background-image: linear-gradient(90deg, #009fb3 0%, #5fbf3a 55%, #a6cf2a 100%);
}

.hero-accent-b{
  background-image: linear-gradient(90deg, #2563eb, #7c3aed);
}

.hero-sub{
  margin: .9rem 0 0 0;
  font-size: 1.08rem;
  color: rgba(15,23,42,.75);
  max-width: 58ch;
}

/* buttons row */
.hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap:.75rem;
  margin-top: 1.2rem;
}

/* primary gradient button like screenshot */
.hero-cta{
  border-radius: 999px !important;
  padding: .85rem 1.25rem !important;
  font-weight: 800 !important;
  border: 0 !important;
  background: linear-gradient(90deg, #00b7c3, #6d28d9) !important;
  color: #fff !important;
  box-shadow: 0 14px 30px rgba(2,6,23,.18);
}
.hero-cta:hover{
  filter: brightness(.97);
}

/* secondary */
.hero-cta.secondary{
  background: rgba(255,255,255,.75) !important;
  color: var(--ink) !important;
  border: 1px solid var(--stroke) !important;
  box-shadow: var(--shadow-soft);
}

/* Mobile: text moves lower + radius normal */
@media (max-width: 768px){
  .hero-banner.saas{ border-radius: 26px; }

  .hero-banner.saas::before{
    background: linear-gradient(180deg,
      rgba(255,255,255,0) 0%,
      rgba(255,255,255,.25) 35%,
      rgba(255,255,255,.92) 82%);
  }

  .hero-overlay{ align-items:flex-end; }

  .hero-copy.saas{
    max-width: 100%;
    margin: 0.9rem;
    border-radius: 18px;
    background: rgba(255,255,255,.78);
    border: 1px solid var(--stroke);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(10px);
  }
}

/* ===== Reusable CTA gradient (DocPro-style) ===== */
:root{
  --cta-a: #0aa6b4;  /* teal */
  --cta-b: #6a5cff;  /* soft indigo */
  --cta-c: #9bd23a;  /* green */
}

/* Generic class you can apply anywhere */
.cta-gradient{
  border-radius: 999px !important;
  padding: .85rem 1.25rem !important;
  font-weight: 800 !important;
  border: 0 !important;
  color: #fff !important;
  background: linear-gradient(90deg, var(--cta-a) 0%, var(--cta-b) 55%, var(--cta-c) 100%) !important;
  box-shadow: 0 14px 30px rgba(2,6,23,.18);
}

.cta-gradient:hover{
  filter: brightness(.97);
}

.cta-gradient:focus{
  outline: none;
  box-shadow: 0 0 0 4px rgba(10,166,180,.20), 0 14px 30px rgba(2,6,23,.18);
}
 
/*------   --*/


/* Footer links */
footer.container small a{ color: var(--nav); font-weight: 500; text-decoration:none; }
footer.container small a:hover{ color: var(--nav-hover); }


/* =========================================================
   GLOBAL OVERRIDES — chips/cards spacing + 4-card 2x2
   Paste at the VERY END of /assets/site.css
========================================================= */

/* --- CTA gradient (blue -> green, no purple) --- */
:root{
  --cta-blue: #0ea5e9;
  --cta-green: #9bd23a;
  --cta-grad: linear-gradient(90deg, var(--cta-blue) 0%, var(--cta-green) 100%);
}

/* Ensure all primary CTA styles use the new gradient */
.cta-gradient{ background: var(--cta-grad) !important; }

/* Some pages still use .hero-cta (older rule includes purple) — override it globally */
.hero-cta{ background: var(--cta-grad) !important; }

/* --- CHIP: top strip gradient matches CTA (very light) --- */
/* Override the older .chip:before radial background:contentReference[oaicite:5]{index=5} */
.chip{ position: relative; overflow: hidden; }
.chip::before{
  content:"";
  position:absolute;
  left:0; right:0; top:0;
  height: 10px;                 /* top strip */
  opacity: .20;                 /* very light */
  background: var(--cta-grad);
  pointer-events:none;
}

/* Keep subtle “glow” inside (light, no purple/pink) */
.chip::after{
  content:"";
  position:absolute;
  inset:-2px;
  opacity:.10;
  background:
    radial-gradient(240px 120px at 18% 12%, rgba(14,165,233,.55), transparent 65%),
    radial-gradient(240px 120px at 82% 12%, rgba(155,210,58,.45), transparent 65%);
  pointer-events:none;
}
.chip > *{ position: relative; }

/* --- CARD: glow matches CTA direction (remove pink/purple) --- */
/* Override the older .card:after which includes pink:contentReference[oaicite:6]{index=6} */
.card::after{
  content:"";
  position:absolute;
  inset:-2px;
  background:
    radial-gradient(280px 140px at 18% 0%, rgba(14,165,233,.14), transparent 65%),
    radial-gradient(280px 140px at 82% 0%, rgba(155,210,58,.12), transparent 65%);
  opacity:.9;
  pointer-events:none;
}
.card > *{ position: relative; }

/* --- 4 cards => 2 columns (2x2) on desktop --- */
@supports(selector(.cards:has(> *))){
  .cards:has(> :nth-child(4)):not(:has(> :nth-child(5))){
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

/* --- Global spacing tightening (vertical rhythm) --- */
.kpi{ margin-top: .95rem !important; gap: .75rem !important; }
.cards{ margin-top: .6rem !important; gap: .85rem !important; }
.cta-row{ margin-top: .85rem !important; }

/* Reduce heading + subhead spacing (applies throughout main content) */
main h3{ margin-top: 1.05rem !important; margin-bottom: .25rem !important; }
main h3 + p{ margin-top: 0 !important; }
main p.subhead{ margin-top: 0 !important; margin-bottom: .6rem !important; }

/* Reduce section padding a bit (site-wide) */
section[aria-label="Subscribe example"]{
  margin-top: 1.05rem !important;
  padding: 1.2rem 0 1.6rem !important;
}

/* Slightly tighter cards/callouts if present */
.section-card, .callout{ padding: 1.05rem !important; }
.two-col{ margin-top: 1rem !important; }

/* ===== Cards spacing (tighter) ===== */

/* Less space above cards + tighter gaps between cards */
.cards {
  margin-top: 0.25rem !important;
  column-gap: 0.85rem !important;
  row-gap: 0.45rem !important;
}

/* If a subhead/paragraph is right above cards, tighten that gap too */
.subhead + .cards,
main p + .cards {
  margin-top: 0.25rem !important;
}

/* Slightly reduce subhead bottom spacing */
main p.subhead {
  margin-bottom: 0.4rem !important;
}

/* ===== Card top strip + glow starting below strip ===== */

.card {
  position: relative;
  overflow: hidden;
}

/* 5px blue strip */
.card::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;

  height: 5px;
  background: var(--cta-blue, #0ea5e9);
  opacity: 0.95;

  border-radius: 20px 20px 0 0;
  pointer-events: none;
  z-index: 2;
}

/* Glow starts below strip (top: 5px) */
.card::after {
  content: "";
  position: absolute;
  left: -2px;
  right: -2px;
  bottom: -2px;
  top: 5px;

  background:
    radial-gradient(280px 140px at 18% 0%, rgba(14, 165, 233, 0.14), transparent 65%),
    radial-gradient(280px 140px at 82% 0%, rgba(155, 210, 58, 0.12), transparent 65%);
  opacity: 0.9;

  pointer-events: none;
  z-index: 1;
}

/* Keep card content above the overlays */
.card > * {
  position: relative;
  z-index: 3;
}
/* ===== Remove default margins on cards inside a cards grid ===== */
.cards > .card,
.cards > article.card {
  margin: 0.75rem !important;
}
/* ===== Force row/column gap for the cards grid ===== */
.cards {
  gap: 0.75rem 0.85rem !important;  row-gap | column-gap
  margin-top: 0.45rem !important;   tighten space above the grid
}

/* Callout text */
.callout,
.callout h3,
.callout p,
.callout li,
.callout strong {
  color: rgba(255, 255, 255, 0.92);
}

/* Callout form fields */
.callout input,
.callout textarea,
.callout select {
  color: #fff !important;
  background: rgba(255, 255, 255, 0.10) !important;
  border: 1px solid rgba(255, 255, 255, 0.26) !important;
}

.callout input::placeholder,
.callout textarea::placeholder {
  color: rgba(255, 255, 255, 0.65) !important;
}

.callout input:focus,
.callout textarea:focus,
.callout select:focus {
  border-color: rgba(255, 255, 255, 0.55) !important;
  box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.22) !important;
}

/* Optional textarea tweaks */
.callout textarea {
  border-radius: 16px;
  min-height: 130px;
}

/* Button rounding */
.callout button {
  border-radius: 999px;
}

.icon-badge{
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(90deg, var(--cta-blue), var(--cta-green));
  box-shadow: 0 10px 24px rgba(2,6,23,.12);
}
.icon-badge .module-icon{
  width: 22px;
  height: 22px;
  color: white;
}

.card-head{
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: .4rem;
}

.card-head h4{
  margin: 0;           /* remove default margins */
  line-height: 1.2;
}

.feature-rows { 
  margin-top: 0.35rem; 
  display: flex; 
  flex-direction: column; 
  gap: 0.55rem; 
} 

.feature-row { 
  display: grid; 
  grid-template-columns: 54px 1fr; 
  gap: 0.9rem; 
  padding: 0.85rem 0.9rem; 
  border: 1px solid var(--stroke); 
  border-radius: 18px; 
  background: rgba(255, 255, 255, 0.92); 
  box-shadow: var(--shadow-soft); } 

.feature-row:hover { 
background: rgba(255, 255, 255, 0.98); 
} 

.feature-icon { 
  width: 48px; 
  height: 48px; 
  border-radius: 14px; 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  background: linear-gradient(90deg, var(--cta-blue), var(--cta-green)); 
  color: #fff; 
  align-self: start; 
} 

.feature-icon .module-icon { 
  width: 26px; 
  height: 26px; 
} 

.feature-copy h4 { 
  margin: 0 1.0rem 0.25rem 8.0rem; 
} 

.feature-line { 
  margin: 0.15rem 8.0rem; 
  color: rgba(15, 23, 42, 0.78); 
  line-height: 1.35; 
} 

.feature-muted { 
  color: var(--muted); 
} 

@media (max-width: 640px) { 

.feature-row { 
  grid-template-columns: 46px 1fr; 
  padding: 0.75rem; 
} 

.feature-icon { 
  width: 40px; 
  height: 40px; 
  border-radius: 12px; 
} 
}

/* Feature-row icons only: larger, blue-only, no background */
.feature-icon--row{
  width: 80px;
  height: 80px;
  margin: 0.25rem 1.0rem;
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;

  display: flex;
  align-items: flex-start;
  justify-content: center;

  color: var(--cta-blue, #0ea5e9) !important; /* blue icon */
  padding-top: 0.1rem; /* aligns icon with heading */
}

/* Larger SVG inside feature rows */
.feature-icon--row .module-icon{
  width: 150px;
  height: 150px;
}

/* Mobile scaling */
@media (max-width: 640px){
  .feature-icon--row{
    width: 52px;
    height: 52px;
  }
  .feature-icon--row .module-icon{
    width: 36px;
    height: 36px;
  }
}
/* Feature rows: top-right blue accent strip */
.feature-row{
  position: relative;
  overflow: hidden; /* ensures the strip clips to rounded corners */
}

.feature-row::before{
  content: "";
  position: absolute;
  top: 0;
  right: 0;

  height: 5px;
  width: 330px; /* 3× of 110px */

  /* soft -> strong */
  background: linear-gradient(
    90deg,
    rgba(14, 165, 233, 0.12) 0%,
    rgba(14, 165, 233, 0.45) 45%,
    rgba(14, 165, 233, 0.95) 100%
  );

  border-radius: 0 18px 0 14px;
  pointer-events: none;
}


/* Push feature-row copy to the right */
.feature-row{
  grid-template-columns: 100px 1fr; /* wider left column */
  gap: 5rem;                     /* more space between icon and text */
}

.feature-copy{
  padding-left: 0.25rem;            /* tiny extra nudge (optional) */
}

.feature-rows {
  max-width: min(880px, 100%);
  width: 100%;
  margin: 0.5rem auto 0;
}

.feature-rows{
  display:flex;
  flex-direction:column;
  align-items:center;        /* centers children */
}

.feature-row{
  width: min(780px, 100%);   /* reduces row width */
}

/* Target only that section-card’s cards block */
.section-card .cards{
  max-width: 1080px;
  margin: 0.5rem auto 0;
}

.feature-rows {
  max-width: 880px;
  width: 100%;
  margin: 0.6rem auto 0; /* centers the whole stack */
}

.feature-row {
  width: 100%;
  margin-left: auto;
  margin-right: auto;   /* ensures each row stays centered */
}

.section-card .subhead {
  max-width: none;
}

.marker-highlight{
  /* works even if the sentence wraps to next line */
  padding: 0 .14em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;

  /* marker-like highlight (two slightly offset strokes) */
  background-image:
    linear-gradient(transparent 62%, rgba(255, 235, 59, 0.70) 62%, rgba(255, 235, 59, 0.70) 92%, transparent 92%),
    linear-gradient(transparent 66%, rgba(255, 235, 59, 0.35) 66%, rgba(255, 235, 59, 0.35) 95%, transparent 95%);
  background-repeat: repeat-y;
  background-size: 100% 1.25em, 100% 1.25em;
  background-position: 0 0.06em, 0 0.12em;
  border-radius: .25em;
}

/* ===== Client logo marquee ===== */
.logo-marquee{
  margin-top: 1.1rem;
}

.logo-marquee-card{
  border-radius: 22px;
  border: 1px solid var(--stroke);
  background:
    radial-gradient(720px 260px at 15% 0%, rgba(14,165,233,.10), transparent 60%),
    radial-gradient(720px 260px at 85% 0%, rgba(155,210,58,.10), transparent 60%),
    rgba(255,255,255,.92);
  box-shadow: var(--shadow-soft);
  padding: 1rem 1.05rem;
}

.logo-marquee-title{
  margin: 0 0 .2rem 0;
}

.logo-marquee-sub{
  margin: 0 0 .75rem 0;
  color: var(--muted);
}

/* viewport */
.marquee{
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(2,6,23,.08);
  background: rgba(255,255,255,.75);
  padding: .65rem .4rem;
}

/* edge fade (nice, modern) */
.marquee::before,
.marquee::after{
  content:"";
  position:absolute;
  top:0; bottom:0;
  width: 90px;
  z-index: 2;
  pointer-events:none;
}
.marquee::before{
  left:0;
  background: linear-gradient(90deg, rgba(255,255,255,.95), rgba(255,255,255,0));
}
.marquee::after{
  right:0;
  background: linear-gradient(270deg, rgba(255,255,255,.95), rgba(255,255,255,0));
}

.marquee-track{
  display: flex;
  width: max-content;
  gap: 1.2rem;
  animation: marqueeScroll 26s linear infinite;
}

.marquee-row{
  display: flex;
  align-items: center;
  gap: 1.8rem;
  padding: 0 .4rem;
}

/* logo styling */
.marquee img{
  height: 80px;
  width: auto;
  display:block;
  filter: grayscale(5%);
  opacity: .9;
  transition: opacity .2s ease, filter .2s ease;
}
.marquee img:hover{
  opacity: 1;
  filter: grayscale(0%);
}

/* animation */
@keyframes marqueeScroll{
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* responsive */
@media (max-width: 640px){
  .marquee img{ height: 28px; }
  .marquee::before, .marquee::after{ width: 55px; }
}

/* accessibility */
@media (prefers-reduced-motion: reduce){
  .marquee-track{ animation: none; }
}

/* Reduce gap between end of main content and the Request a demo section */
main + section[aria-label="Subscribe example"]{
  margin-top: 0.0rem !important;     /* was larger */
  padding-top: 0.0rem !important;     /* reduce top padding */
  padding-bottom: 0.0rem !important;  /* slightly reduce bottom padding */
}

/* More space: Hero -> Key outcomes */
figure.hero-banner + .kpi {
  margin-top: 4.0rem !important;  /* increase as needed */
}

/* More space: Key outcomes -> Logo marquee */
.kpi + .logo-marquee {
  margin-top: 4.0rem !important;  /* increase as needed */
}

/* Footer */
.site-footer{
  background: #f3f4f6;
  border-top: 1px solid rgba(2,6,23,.10);
  margin-top: 1.4rem;
}

.site-footer a{
  display:block;
  text-decoration:none;
  color: rgba(15,23,42,.78);
  font-weight:650;
  padding:.22rem 0;
}

.site-footer a:hover{ color: var(--nav-hover); }

.footer-top{
  padding: 1.2rem 0 1rem;
  display:grid;
  font-size: 0.85rem;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 1.1rem;
  align-items:start;
}

.footer-brand strong{
  display:inline-block;
  color: rgba(15,23,42,.92);
  font-size: 1.05rem;
}

.footer-note{
  margin:.35rem 0 0;
  color: rgba(15,23,42,.65);
  max-width: 46ch;
}

.footer-title{
  margin: 0 0 .35rem;
  font-size: 1.00rem;
  color: rgba(15,23,42,.90);
}

.footer-bottom{
  padding: .75rem 0 1rem;
  border-top: 1px solid rgba(2,6,23,.08);
}

.footer-legal{ color: rgba(15,23,42,.65); }

.footer-legal a{
  display:inline;
  font-weight:700;
  color: rgba(15,23,42,.72);
}

.footer-legal a:hover{ color: var(--nav-hover); }

.footer-legal .dot{
  margin: 0 .35rem;
  color: rgba(15,23,42,.35);
}

@media (max-width: 960px){
  .footer-top{ grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px){
  .footer-top{ grid-template-columns: 1fr; }
}

/* Footer headings (Platform / Solutions / Company) -> Blue */
.site-footer .footer-title{
  color: var(--cta-blue, #0ea5e9);
}

/* Footer column links thinner (but keep hover behavior the same) */
.site-footer .footer-top a{
  font-weight: 400; /* was too bold */
}

/* Demo form spacing + gradient card background */
.demo_form{
  margin-top: 1rem;
  margin-bottom: 1.2rem;
}

.demo_form > article{
  border-radius: 26px;
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow);
  padding: 1.05rem 1.1rem;

  /* Purple -> Green glow on the card (NOT the button) */
  background:
    radial-gradient(760px 260px at 18% 0%, rgba(190,150,250,.30), transparent 60%),
    radial-gradient(760px 260px at 82% 0%, rgba(155,210,58,.16), transparent 60%),
    rgba(255,255,255,.92);
}

/* Tighten header spacing inside the demo form */
.demo_form hgroup{
  margin-bottom: .75rem;
}

.demo_form hgroup h2{
  margin: 0 0 .25rem 0;
}

.demo_form hgroup h3{
  margin: 0;
  color: var(--muted);
}

/* Tighten header spacing inside the demo form */
.demo_form hgroup{
  margin-bottom: .75rem;
}

.demo_form hgroup h2{
  margin: 0 0 .25rem 0;
}

.demo_form hgroup h3{
  margin: 0;
  color: var(--muted);
}
/* Reduce gap before the demo form (common cases) */
.demo_form{
  margin-top: .6rem !important;   /* was 1rem */
}

/* If demo_form sits right after </main> */
main + .demo_form{
  margin-top: .6rem !important;
}

/* If demo_form sits right after a cards block or marquee */
.cards + .demo_form,
.logo-marquee + .demo_form,
.section-card + .demo_form{
  margin-top: .6rem !important;
}

/* Reduce bottom space of the section just above the form */
.cards{
  margin-bottom: .6rem !important;
}

/* workflow diagram */
.workflow-diagram { width: 100%; height: auto; display: block; }

/* You can override these from your site CSS */
.workflow-diagram{
  --wf-box: var(--nav, #1095c1);
  --wf-icon: var(--nav, #1095c1);
  --wf-title: #121c33;
  --wf-body: var(--muted, #5b6476);
}

@media (max-width: 960px){
  .footer-top{
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
}

@media (max-width: 560px){

  /* Fix: footer hugging the left edge */
  .site-footer .container{
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  /* Stack sections + tighten spacing */
  .footer-top{
    grid-template-columns: 1fr;
    gap: .75rem;
    padding: 1rem 0 .85rem;
  }

  /* Mobile-friendly look: each column becomes a “card” */
  .footer-top > div{
    background: rgba(255,255,255,.75);
    border: 1px solid rgba(2,6,23,.08);
    border-radius: 16px;
    padding: .85rem .9rem;
    box-shadow: 0 10px 26px rgba(2,6,23,.06);
  }

  /* Headings stay bold, just make spacing nicer */
  .footer-title{
    margin: 0 0 .35rem 0;
  }

  /* Links thinner (hover color behavior remains unchanged) */
  .site-footer .footer-top a{
    font-weight: 500;
  }

  /* Legal row: centered and wraps nicely */
  .footer-bottom{
    padding: .75rem 0 1rem;
  }
  .footer-legal{
    display: block;
    text-align: center;
    line-height: 1.6;
  }
}

/* Make the injected nav wrapper sticky */
#site-nav{
  position: sticky;
  top: 0;
  z-index: 1100;
}

/* Let the actual nav behave normally inside the sticky wrapper */
#site-nav > nav.container-fluid{
  position: relative !important;
  top: auto !important;
  z-index: 1;
}

/* Keep the mobile drawer above everything when open */
#site-nav .mobile-drawer{
  z-index: 1200;
}

/* ===== Fix Access control / feature rows on mobile ===== */
.section-card .feature-row{
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 0.9rem;
  align-items: start;
  width: 100%;
  padding: 0.9rem 1rem;
  margin: 0.65rem 0;
}

.section-card .feature-copy{
  min-width: 0;
  padding-left: 0;
}

.section-card .feature-copy h4{
  margin: 0 0 0.35rem 0;
  line-height: 1.25;
}

.section-card .feature-line{
  margin: 0;
  line-height: 1.55;
  color: rgba(15, 23, 42, 0.78);
}

.section-card .feature-icon,
.section-card .feature-icon--row{
  width: 52px;
  height: 52px;
  min-width: 52px;
  margin: 0;
  padding: 0;
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  color: var(--cta-blue, #0ea5e9) !important;
}

.section-card .feature-icon--row .module-icon,
.section-card .feature-icon .module-icon{
  width: 34px;
  height: 34px;
}

@media (max-width: 640px){
  .section-card .feature-row{
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 0.75rem;
    padding: 0.8rem 0.85rem;
  }

  .section-card .feature-icon,
  .section-card .feature-icon--row{
    width: 40px;
    height: 40px;
    min-width: 40px;
  }

  .section-card .feature-icon--row .module-icon,
  .section-card .feature-icon .module-icon{
    width: 24px;
    height: 24px;
  }

  .section-card .feature-copy h4{
    font-size: 1rem;
  }

  .section-card .feature-line{
    font-size: 0.95rem;
    line-height: 1.5;
  }
}

/* Reset strong tags back to normal text flow for legal/text documents */
.legal-doc strong {
  display: inline !important;
  margin: 0 !important;
}

/* === background color gradient for article etc === */
.section-surface--premium{
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  padding: 1.25rem 1.25rem;
  border: 1px solid rgba(15,23,42,.08);
  background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(255,255,255,.92));
  box-shadow:
    0 18px 50px rgba(15,23,42,.08),
    0 6px 18px rgba(15,23,42,.05);
}

.section-surface--premium::before{
  content:"";
  position:absolute;
  left:-8%;
  right:-8%;
  top:-70px;
  height:180px;
  pointer-events:none;
  background:
    radial-gradient(circle at 15% 100%, rgba(14,165,233,.04) 0, rgba(14,165,233,.08) 18%, transparent 40%),
    radial-gradient(circle at 84% 100%, rgba(132,204,22,.06) 0, rgba(132,204,22,.08) 18%, transparent 40%);
  filter: blur(18px);
  z-index: 0;
}

.section-surface--premium > *{
  position: relative;
  z-index: 1;
}

.section-surface--premium h2,
.section-surface--premium h3{
  margin-top: 0;
}

@media (max-width: 640px){
  .section-surface--premium{
    padding: 1rem;
    border-radius: 20px;
  }

  .section-surface--premium::before{
    top:-60px;
    height:150px;
    filter: blur(16px);
  }
}

/* --- Fix: Reduce gap above the footer --- */

/* 1. Reduce the default bottom padding of the main container */
main.container {
  padding-bottom: 1.5rem !important; 
}

/* 2. Strip the bottom margin off the very last article or div inside your main section */
main.container section > *:last-child {
  margin-bottom: 0 !important;
}

/* 3. (Optional) Ensure the footer itself isn't pushing down */
.site-footer {
  margin-top: 0 !important;
}