/* =========================================================
   ZenHR — Draft B. Private, unlinked, not part of the build.
   Layout modelled on a classic enterprise-HR marketing page:
   white static header + mega menu, split hero, pill buttons,
   tabbed module explorer, tinted feature bands, navy footer.
   Content and palette are ZenHR's own.
   ========================================================= */
:root{
  --navy:#0F172A;          /* slate ink for headings + footer (Zentrio) */
  --navy-2:#1E293B;
  --ink:#334155;           /* body text */
  --muted:#64748B;
  --line:#E2E8F0;
  --bg:#FFFFFF;
  --bg-soft:#F8FAFC;
  --bg-grey:#F1F5F9;
  --blue:#3C68D8;          /* ZenHR logo blue (sampled from the mark) */
  --blue-strong:#2F55C4;
  --blue-tint:#EBF0FB;
  --teal:#2FC7AC;          /* ZenHR logo teal — the SECONDARY colour */
  --teal-deep:#0E9C88;     /* readable teal for text on white */
  --teal-tint:#E6F8F4;
  --amber:#B45309;         /* warnings only, never a button */
  --amber-tint:#FEF3E2;
  --radius:24px;
  --pill:999px;
  --shadow:0 20px 60px -30px rgba(11,31,58,.35);
  --ease:cubic-bezier(.2,.7,.2,1);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
html,body{overflow-x:clip}
body{margin:0;font-family:'Inter',ui-sans-serif,system-ui,sans-serif;font-size:16px;line-height:1.55;color:var(--ink);background:var(--bg);-webkit-font-smoothing:antialiased}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
button{font:inherit;cursor:pointer}
h1,h2,h3,h4{font-family:'Outfit',ui-sans-serif,system-ui,sans-serif;color:var(--navy);margin:0;letter-spacing:-.02em;line-height:1.08}
h1{font-size:54px;font-weight:700}
h2{font-size:44px;font-weight:700}
h3{font-size:22px;font-weight:600;line-height:1.25}
p{margin:0}
.wrap{max-width:1180px;margin:0 auto;padding:0 24px}
.section{padding:88px 0}
.eyebrow{display:inline-block;font-size:12px;font-weight:600;letter-spacing:.16em;text-transform:uppercase;color:var(--teal-deep);margin-bottom:14px}
.lead{font-size:18px;color:var(--muted);line-height:1.6}
.center{text-align:center}
.mt-16{margin-top:16px}.mt-24{margin-top:24px}.mt-32{margin-top:32px}.mt-48{margin-top:48px}
:focus-visible{outline:3px solid var(--blue);outline-offset:3px;border-radius:6px}

/* Buttons — pill, like the reference */
.btn{font-family:'Outfit',ui-sans-serif,system-ui,sans-serif;display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:12px 22px;border-radius:var(--pill);font-weight:600;font-size:14px;border:1px solid transparent;transition:background .2s var(--ease),color .2s var(--ease),transform .2s var(--ease),box-shadow .2s var(--ease);cursor:pointer;white-space:nowrap}
.btn svg{width:16px;height:16px;flex:none}
.btn:hover{transform:translateY(-1px)}
.btn-blue{background:var(--blue);color:#fff}
.btn-blue:hover{background:var(--blue-strong);box-shadow:0 10px 24px -12px rgba(60,104,216,.6)}
.btn-dark{background:var(--navy);color:#fff}
.btn-dark:hover{background:var(--navy-2);box-shadow:0 10px 24px -12px rgba(15,23,42,.5)}
.btn-outline{background:#fff;color:var(--navy);border-color:var(--navy)}
.btn-outline:hover{background:var(--navy);color:#fff}
.btn-teal{background:var(--teal-deep);color:#fff}
.btn-teal:hover{background:#0B8272;box-shadow:0 10px 24px -12px rgba(14,156,136,.6)}
.btn-ghost{background:transparent;color:var(--navy)}
.btn-ghost:hover{background:var(--bg-soft)}
.btn-white{background:#fff;color:var(--navy)}
.btn-white:hover{background:#EEF2F7}
.link{display:inline-flex;align-items:center;gap:6px;color:var(--blue-strong);font-weight:600;font-size:14px}
.link svg{width:16px;height:16px;transition:transform .2s var(--ease)}
.link:hover svg{transform:translateX(3px)}

/* ---------- Header ---------- */
.site-header{position:sticky;top:0;z-index:60;background:rgba(255,255,255,.92);backdrop-filter:blur(14px);border-bottom:1px solid transparent;transition:border-color .2s}
.site-header.is-scrolled{border-bottom-color:var(--line)}
.site-header .wrap{display:flex;align-items:center;gap:28px;height:86px}
.brand{font-family:'Outfit',sans-serif;display:flex;align-items:center;gap:10px;font-weight:700;font-size:21px;color:var(--navy)}
.brand img{width:36px;height:36px}
.nav{display:flex;align-items:center;gap:2px;flex:1}
.nav > li{list-style:none;position:relative}
.nav{padding:0;margin:0}
.nav-btn{display:inline-flex;align-items:center;gap:6px;min-height:44px;padding:8px 12px;border-radius:10px;background:none;border:0;color:var(--navy);font-weight:500;font-size:14.5px;transition:background .15s}
.nav-btn svg{width:14px;height:14px;transition:transform .2s var(--ease);color:var(--muted)}
.nav-btn:hover,.nav-btn[aria-expanded="true"]{background:var(--bg-soft)}
.nav-btn[aria-expanded="true"] svg{transform:rotate(180deg)}
.header-right{margin-left:auto;display:flex;align-items:center;gap:10px}
.region{display:inline-flex;align-items:center;gap:6px;min-height:44px;padding:8px 10px;border-radius:10px;font-size:14px;font-weight:500;color:var(--navy);background:none;border:0}
.region svg{width:14px;height:14px;color:var(--muted)}
.region:hover{background:var(--bg-soft)}
.burger{display:none;width:44px;height:44px;border-radius:10px;border:1px solid var(--line);background:#fff;align-items:center;justify-content:center}
.burger svg{width:20px;height:20px}

/* Mega menu panel */
.mega{position:absolute;left:0;top:calc(100% + 10px);width:min(1040px,calc(100vw - 48px));background:#fff;border:1px solid var(--line);border-radius:20px;box-shadow:0 30px 80px -30px rgba(11,31,58,.35);padding:14px;display:none;grid-template-columns:1.1fr 1.1fr .8fr;gap:12px}
.mega.is-open{display:grid}
.mega-col{border-radius:14px;padding:22px}
.mega-col.lilac{background:var(--blue-tint)}
.mega-col.rose{background:var(--teal-tint)}
.mega-col.rose .mega-item .ico{background:var(--teal-deep)}
.mega-col.teal{background:var(--blue-tint)}
.mega-col h4{font-size:15px;font-weight:700;margin-bottom:14px;color:var(--navy)}
.mega-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px 14px}
.mega-item{display:flex;gap:11px;padding:8px;border-radius:10px;transition:background .15s;min-height:44px}
.mega-item:hover{background:rgba(255,255,255,.7)}
.mega-item .ico{flex:none;width:34px;height:34px;border-radius:8px;background:var(--blue);color:#fff;display:flex;align-items:center;justify-content:center}
.mega-item .ico svg{width:17px;height:17px}
.mega-item b{display:block;font-size:13.5px;font-weight:600;color:var(--navy);line-height:1.25}
.mega-item span{display:block;font-size:12px;color:var(--muted);line-height:1.35;margin-top:2px}
.mega-feature{display:flex;flex-direction:column;justify-content:space-between}
.mega-feature .tag{font-size:11px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--blue-strong)}
.mega-feature h5{font-size:16px;font-weight:700;color:var(--navy);margin:8px 0 6px;line-height:1.3}
.mega-feature p{font-size:13px;color:var(--muted)}
.dropdown{position:absolute;left:0;top:calc(100% + 10px);min-width:300px;background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:0 30px 80px -30px rgba(11,31,58,.35);padding:8px;display:none}
.dropdown.is-open{display:block}
.dropdown a{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:10px;font-size:14px;color:var(--navy);min-height:44px;white-space:nowrap}
.dropdown a:hover{background:var(--bg-soft)}
.dropdown a small{margin-left:auto;color:var(--muted);font-size:12px}
.header-right .dropdown{left:auto;right:0}

/* Mobile nav */
.mobile-nav{display:none;position:fixed;inset:86px 0 0 0;background:#fff;z-index:55;overflow:auto;padding:16px 24px 40px}
.mobile-nav.is-open{display:block}
.mobile-nav details{border-bottom:1px solid var(--line)}
.mobile-nav summary{list-style:none;display:flex;justify-content:space-between;align-items:center;padding:16px 0;font-weight:600;font-size:18px;color:var(--navy);cursor:pointer}
.mobile-nav summary::-webkit-details-marker{display:none}
.mobile-nav summary svg{width:18px;height:18px;transition:transform .2s}
.mobile-nav details[open] summary svg{transform:rotate(180deg)}
.mobile-nav .m-links{padding:0 0 12px}
.mobile-nav .m-links a{display:block;padding:10px 0;color:var(--ink);font-size:15px}
.mobile-nav > a.plain{display:block;padding:16px 0;border-bottom:1px solid var(--line);font-weight:600;font-size:18px;color:var(--navy)}
.mobile-nav .m-cta{margin-top:20px;display:flex;flex-direction:column;gap:10px}

/* ---------- Hero (free-flowing) ---------- */
.hero{padding:40px 0 20px;overflow:visible}
.hero-flow{display:grid;grid-template-columns:1.05fr 1fr;gap:32px;align-items:center;min-height:620px}
.hero h1{font-size:58px}
.hero h1 .accent{color:var(--blue)}
.hero-proof{display:flex;gap:28px;flex-wrap:wrap;padding-top:24px;border-top:1px solid var(--line)}
.hero-proof b{display:block;font-family:'Outfit',sans-serif;font-size:20px;color:var(--teal-deep);letter-spacing:-.02em}
.hero-proof span{font-size:12.5px;color:var(--muted)}
.hero-art{position:relative;height:620px;margin:0 -24px}
.hero-art .glow{position:absolute;left:50%;top:58%;width:520px;height:520px;transform:translate(-50%,-50%);border-radius:50%;background:rgba(60,104,216,.10);filter:blur(70px);pointer-events:none}
.hero-art .net{position:absolute;inset:0;width:100%;height:100%;z-index:0}
.hero-art .person{z-index:1}
.node{z-index:2}
.hero-art .person{position:absolute;left:50%;bottom:-6px;transform:translateX(-50%);height:96%;width:auto;max-width:none;filter:drop-shadow(0 30px 40px rgba(15,23,42,.22))}
.node{position:absolute;display:flex;align-items:center;gap:10px;background:#fff;border:1px solid var(--line);border-radius:14px;padding:10px 14px 10px 10px;box-shadow:0 20px 40px -20px rgba(15,23,42,.35);white-space:nowrap;animation:float 6s ease-in-out infinite}
.node .ico{flex:none;width:32px;height:32px;border-radius:9px;background:var(--blue);color:#fff;display:flex;align-items:center;justify-content:center}
.node .ico svg{width:16px;height:16px}
.node b{display:block;font-size:13px;color:var(--navy);line-height:1.2}
.node span{display:block;font-size:11.5px;color:var(--muted);margin-top:1px}
.node.n1{left:-8%;top:3%;animation-delay:0s}
.node.n2{right:-4%;top:14%;animation-delay:-1.5s}
.node.n2 .ico,.node.n4 .ico{background:var(--teal-deep)}
.node.n3{left:-8%;top:47%;animation-delay:-3s}
.node.n4{right:-6%;top:44%;animation-delay:-4.5s}
.node.n5{right:2%;bottom:6%;animation-delay:-2.2s}
@keyframes float{0%,100%{transform:translateY(0)}50%{transform:translateY(-8px)}}
.card{background:#fff;border:1px solid var(--line);border-radius:16px;padding:16px 18px;box-shadow:var(--shadow)}
.card .k{font-size:11px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:var(--muted)}
.card .v{font-family:'Outfit',sans-serif;font-size:26px;font-weight:700;color:var(--navy);margin-top:4px;letter-spacing:-.02em}
.card .s{font-size:12.5px;color:var(--muted);margin-top:4px}
.card .row{display:flex;justify-content:space-between;align-items:center;gap:12px}
.pill{display:inline-flex;align-items:center;gap:6px;font-size:11.5px;font-weight:600;padding:4px 10px;border-radius:var(--pill);background:var(--teal-tint);color:var(--teal-deep);white-space:nowrap}
.pill.blue{background:var(--blue-tint);color:var(--blue-strong)}
.pill.amber{background:var(--amber-tint);color:var(--amber)}
.bar{height:8px;border-radius:6px;background:var(--bg-grey);overflow:hidden;margin-top:10px}
.bar i{display:block;height:100%;background:var(--blue);border-radius:6px}
.avatar{width:32px;height:32px;border-radius:50%;object-fit:cover;flex:none}
.avatar.ini{display:inline-flex;align-items:center;justify-content:center;font-family:'Outfit',sans-serif;font-size:11px;font-weight:700;color:#fff;background:var(--blue);letter-spacing:.02em}

/* ---------- Sector strip (replaces logo strip; no fake customers) ---------- */
.strip{padding:44px 0 36px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);background:var(--bg-soft)}
.strip .eyebrow{color:var(--muted);display:block;text-align:center;margin-bottom:22px}
.marquee{overflow:hidden;-webkit-mask-image:linear-gradient(90deg,transparent,#000 10%,#000 90%,transparent);mask-image:linear-gradient(90deg,transparent,#000 10%,#000 90%,transparent)}
.marquee-track{display:flex;gap:44px;width:max-content;animation:marquee 46s linear infinite}
.marquee:hover .marquee-track{animation-play-state:paused}
.sector{display:inline-flex;align-items:center;gap:10px;font-weight:600;color:var(--navy);font-size:16px;white-space:nowrap}
.sector svg{width:20px;height:20px;color:var(--teal-deep)}
@keyframes marquee{to{transform:translateX(-50%)}}

/* ---------- Tabs: All HR functions ---------- */
.tabs{display:flex;flex-wrap:wrap;gap:10px;justify-content:center;margin-top:34px}
.tab{font-family:'Outfit',sans-serif;flex:none;white-space:nowrap;min-height:44px;padding:9px 18px;border-radius:var(--pill);border:1px solid var(--navy);background:#fff;color:var(--navy);font-weight:600;font-size:14.5px;transition:background .18s,color .18s,border-color .18s}
.tab:hover{background:var(--bg-soft)}
.tab[aria-selected="true"]{background:var(--navy);border-color:var(--navy);color:#fff}
.panel{display:none;margin-top:44px}
.panel.is-active{display:grid;grid-template-columns:1fr 1.1fr;gap:56px;align-items:center;animation:fade .35s var(--ease)}
@keyframes fade{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
.panel .kicker{font-size:13px;font-weight:700;color:var(--teal-deep);margin-bottom:12px;letter-spacing:.06em;text-transform:uppercase}
.panel h3{font-size:34px;font-weight:700;line-height:1.12}
.panel .lead{margin-top:16px;font-size:16.5px}
.checks{list-style:none;padding:0;margin:20px 0 0;display:grid;gap:10px}
.checks li{display:flex;gap:10px;align-items:flex-start;font-size:15px;color:var(--ink)}
.checks svg{width:18px;height:18px;flex:none;margin-top:2px;color:var(--teal-deep)}
.panel-visual{min-height:380px;display:flex;align-items:center;justify-content:center}
.panel-visual .card{width:100%;max-width:440px;box-shadow:0 40px 80px -30px rgba(15,23,42,.35)}
.table{width:100%;border-collapse:collapse;margin-top:12px;font-size:13px}
.table td{padding:9px 0;border-top:1px solid var(--line)}
.table td:last-child{text-align:right;font-weight:600;color:var(--navy)}
.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:12px}
.stat{background:var(--bg-soft);border-radius:10px;padding:10px 12px}
.stat .k{font-size:10px}
.stat .v{font-size:18px}
.chips{display:flex;flex-wrap:wrap;gap:6px;margin-top:12px}
.stage-list{display:flex;gap:8px;margin-top:12px}
.stage-list div{flex:1;background:var(--bg-soft);border-radius:10px;padding:10px;text-align:center}
.stage-list b{display:block;font-size:20px;color:var(--navy)}
.stage-list span{font-size:10px;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.phone{width:250px;background:#fff;border:1px solid var(--line);border-radius:28px;padding:14px;box-shadow:var(--shadow)}
.phone .notch{width:80px;height:6px;border-radius:6px;background:var(--bg-grey);margin:0 auto 12px}
.phone .card{box-shadow:none;padding:12px 14px;margin-top:10px}
.phone .top{display:flex;align-items:center;gap:10px}
.phone .top b{display:block;font-size:13px;color:var(--navy)}
.phone .top span{font-size:11px;color:var(--muted)}

/* ---------- All modules ---------- */
.mods{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:32px}
.mod{display:flex;gap:10px;align-items:flex-start;background:#fff;border:1px solid var(--line);border-radius:12px;padding:12px 14px;min-height:44px;transition:border-color .2s}
.mod:hover{border-color:#C9D3E0}
.mods-6{grid-template-columns:repeat(3,1fr);gap:14px}
.mod-link{padding:18px 18px 18px 16px;align-items:center;transition:border-color .2s,transform .2s var(--ease),box-shadow .2s}
.mod-link:hover{transform:translateY(-3px);box-shadow:var(--shadow)}
.mod-link .ico{width:38px;height:38px}
.mod-link .ico svg{width:18px;height:18px}
.mod-link > div{flex:1}
.mod-link b{font-size:15px}
.mod-link span{font-size:13px;margin-top:3px}
.mod-link .go{width:16px;height:16px;flex:none;color:var(--muted);transition:transform .2s var(--ease),color .2s}
.mod-link:hover .go{color:var(--blue);transform:translateX(3px)}
@media (max-width:1100px){.mods-6{grid-template-columns:repeat(2,1fr)}}
@media (max-width:560px){.mods-6{grid-template-columns:1fr}}
.mod:nth-child(3n) .ico{background:var(--teal-tint);color:var(--teal-deep)}
.mod .ico{flex:none;width:30px;height:30px;border-radius:8px;background:var(--blue-tint);color:var(--blue);display:flex;align-items:center;justify-content:center}
.mod .ico svg{width:15px;height:15px}
.mod b{display:block;font-size:13.5px;color:var(--navy);line-height:1.25}
.mod span{display:block;font-size:12px;color:var(--muted);margin-top:2px}

/* ---------- Pricing ---------- */
.band-soft{background:var(--bg-soft)}
.price-card{display:grid;grid-template-columns:1fr 1.2fr 1fr;gap:0;margin-top:40px;background:#fff;border:1px solid var(--line);border-radius:24px;overflow:hidden;box-shadow:var(--shadow)}
.price-col{padding:32px 30px}
.price-col + .price-col{border-left:1px solid var(--line)}
.price-col h3{font-size:18px}
.price-col p{font-size:14.5px;color:var(--muted);margin-top:8px}
.price-col .checks{margin-top:14px}
.price-hint{margin-top:22px;padding:14px 16px;border-radius:12px;background:var(--blue-tint)}
.price-hint b{display:block;font-family:'Outfit',sans-serif;font-size:17px;color:var(--navy)}
.price-hint span{font-size:12.5px;color:var(--muted)}
.price-cta{background:var(--navy);color:#fff}
.price-cta h3{color:#fff}.price-cta p{color:rgba(255,255,255,.65)}
.price-cta .btn{margin-top:22px}
.price-cta .link{color:#fff;display:flex;margin-top:14px}

/* ---------- FAQ ---------- */
.faq-wrap{display:grid;grid-template-columns:1fr 1.4fr;gap:56px;align-items:start}
.faq details{border:1px solid var(--line);border-radius:14px;background:#fff;padding:0 20px;margin-bottom:10px}
.faq summary{list-style:none;display:flex;justify-content:space-between;align-items:center;gap:16px;padding:16px 0;font-family:'Outfit',sans-serif;font-weight:600;font-size:16px;color:var(--navy);cursor:pointer;min-height:44px}
.faq summary::-webkit-details-marker{display:none}
.faq summary svg{width:16px;height:16px;flex:none;color:var(--muted);transition:transform .2s}
.faq details[open] summary svg{transform:rotate(180deg)}
.faq p{font-size:14.5px;color:var(--muted);padding:0 0 18px;max-width:60ch}

/* ---------- Photo blocks ---------- */
.photo{margin:0;border-radius:24px;overflow:hidden;box-shadow:var(--shadow);background:#E2E8F0}
.photo img{width:100%;height:100%;object-fit:cover;object-position:center 25%;display:block}
.photo.tall{aspect-ratio:4/5}
.photo.wide{aspect-ratio:4/3}
.photo.arch{border-radius:200px 200px 24px 24px}
.frontline-split{display:grid;grid-template-columns:1fr 1.25fr;gap:32px;align-items:stretch;margin-top:44px}
.frontline-split .cutout{min-height:0;align-items:flex-end}
.frontline-split .cutout img{max-height:520px}
.ind-head{display:grid;grid-template-columns:1.3fr .7fr;gap:32px;align-items:end}
.ind-head .cutout{min-height:0;margin-bottom:-24px}
.ind-head .cutout img{max-height:340px}
@media (max-width:900px){.ind-head{grid-template-columns:1fr}.ind-head .cutout{display:none}}
.frontline-split .cards4{grid-template-columns:1fr 1fr;margin-top:0}
.page-hero.split-hero .wrap{display:grid;grid-template-columns:1.2fr 1fr;gap:48px;align-items:center}
.page-hero.split-hero .photo{max-height:420px}
.page-hero.split-hero .photo img{height:420px;object-position:center 12%}
@media (max-width:900px){.frontline-split{grid-template-columns:1fr}.frontline-split .photo{aspect-ratio:16/10}.page-hero.split-hero .wrap{grid-template-columns:1fr}.page-hero.split-hero .photo img{height:300px}}
@media (max-width:560px){.frontline-split .cards4{grid-template-columns:1fr}}

/* ---------- Cutout people ---------- */
.cutout{margin:0;position:relative;display:flex;align-items:flex-end;justify-content:center;min-height:380px}
.cutout::before{content:"";position:absolute;left:50%;bottom:8%;width:78%;aspect-ratio:1;transform:translateX(-50%);border-radius:50%;background:rgba(60,104,216,.12);filter:blur(60px);pointer-events:none}
.cutout img{position:relative;width:auto;max-width:100%;height:100%;max-height:460px;object-fit:contain;filter:drop-shadow(0 28px 36px rgba(15,23,42,.2))}
.page-hero.split-hero .cutout{align-self:end;margin-bottom:-36px}
.page-hero.split-hero .cutout img{max-height:440px}
@media (max-width:900px){.page-hero.split-hero .cutout{margin-bottom:-24px;min-height:0}.page-hero.split-hero .cutout img{max-height:340px}}

/* ---------- Frontline cards ---------- */
.cards4{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin-top:44px}
.fcard{background:#fff;border:1px solid var(--line);border-radius:20px;padding:26px;transition:transform .25s var(--ease),box-shadow .25s var(--ease),border-color .25s}
.fcard:hover{transform:translateY(-4px);box-shadow:var(--shadow);border-color:#D3DBE6}
.fcard .ico{width:44px;height:44px;border-radius:12px;background:var(--teal-tint);color:var(--teal-deep);display:flex;align-items:center;justify-content:center;margin-bottom:18px}
.fcard .ico svg{width:22px;height:22px}
.fcard h3{font-size:19px}
.fcard p{font-size:14.5px;color:var(--muted);margin-top:8px}
.fcard .link{margin-top:16px}

/* ---------- Shared split + icon bullets ---------- */
.split{display:grid;grid-template-columns:1fr 1fr;gap:56px;align-items:center}
.bullets{list-style:none;padding:0;margin:24px 0 0;display:grid;gap:14px}
.bullets li{display:flex;gap:14px;align-items:flex-start}
.bullets .n{flex:none;width:34px;height:34px;border-radius:10px;background:var(--teal-tint);color:var(--teal-deep);display:flex;align-items:center;justify-content:center;font-weight:700;font-size:13px}
.bullets .n svg{width:16px;height:16px}
.bullets b{display:block;color:var(--navy);font-size:16px}
.bullets span{font-size:14.5px;color:var(--muted)}
.dot{width:8px;height:8px;border-radius:50%;flex:none}

/* ---------- Integrations ---------- */
.logos{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-top:40px}
.logos-2{grid-template-columns:1fr 1fr;margin-top:0}
.logo-card{display:flex;align-items:center;gap:14px;background:#fff;border:1px solid var(--line);border-radius:16px;padding:14px 16px;min-height:76px;transition:border-color .2s,transform .2s var(--ease)}
.logo-card:hover{border-color:#C9D3E0;transform:translateY(-2px)}
.logo-card .badge{flex:none;width:48px;height:48px;border-radius:50%;background:#fff;border:1px solid var(--line);display:flex;align-items:center;justify-content:center;overflow:hidden}
.logo-card .badge img{max-width:30px;max-height:22px;object-fit:contain}
.logo-card .badge span{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-weight:700;color:var(--blue);font-size:15px}
.logo-card b{display:block;font-size:14px;color:var(--navy)}
.logo-card small{font-size:12px;color:var(--muted)}

/* ---------- Grey band ---------- */
.band-grey{background:var(--bg-grey)}
.builtin{max-width:480px;margin-left:auto;padding:20px 22px}
.setting-list{list-style:none;padding:0;margin:12px 0 0}
.setting-list li{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:11px 0;border-top:1px solid var(--line)}
.setting-list b{display:block;font-size:13.5px;color:var(--navy)}
.setting-list span{display:block;font-size:12px;color:var(--muted);margin-top:1px}
.sw{flex:none;width:36px;height:20px;border-radius:20px;background:#CBD5E1;position:relative;display:block}
.sw::after{content:"";position:absolute;top:2px;left:2px;width:16px;height:16px;border-radius:50%;background:#fff;transition:left .2s}
.sw.on{background:var(--blue)}.sw.on::after{left:18px}

/* ---------- Security ---------- */
.sec-grid{display:grid;grid-template-columns:1fr 1fr;gap:56px;align-items:center}
.shield{background:var(--navy);border-radius:var(--radius);padding:36px;color:#fff;position:relative;overflow:hidden}
.shield::after{content:"";position:absolute;inset:auto -20% -50% auto;width:70%;aspect-ratio:1;border-radius:50%;background:rgba(60,104,216,.28);filter:blur(60px)}
.shield .k{color:rgba(255,255,255,.6)}
.hash{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12px;color:rgba(255,255,255,.85);word-break:break-all;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.12);border-radius:10px;padding:10px 12px;margin-top:8px}
.hash + .hash{margin-top:8px}
.shield .ok{display:inline-flex;align-items:center;gap:6px;margin-top:14px;color:var(--teal);font-weight:600;font-size:13px}
.shield .ok svg{width:16px;height:16px}

/* ---------- Industries carousel ---------- */
.scroller{display:flex;gap:16px;overflow-x:auto;scroll-snap-type:x mandatory;padding:6px 6px 22px;margin:34px -6px 0;scrollbar-width:thin}
.icard{flex:0 0 300px;scroll-snap-align:start;background:#fff;border-radius:18px;border:1px solid var(--line);padding:24px;min-height:210px;display:flex;flex-direction:column}
.icard .ico{width:42px;height:42px;border-radius:12px;display:flex;align-items:center;justify-content:center;margin-bottom:auto}
.icard .ico svg{width:20px;height:20px}
.icard h3{font-size:20px;margin-top:22px}
.icard p{font-size:13.5px;color:var(--muted);margin-top:6px}

/* ---------- Demo CTA + form ---------- */
.cta{padding:96px 0 0}
.cta .wrap{max-width:820px}
.cta h2{font-size:48px}
.demo{padding:56px 0 96px}
.demo-card{display:grid;grid-template-columns:1fr 1fr;gap:0;background:#fff;border:1px solid var(--line);border-radius:28px;overflow:hidden;box-shadow:var(--shadow)}
.demo-left{background:var(--navy);color:#fff;padding:44px}
.demo-left h3{color:#fff;font-size:28px}
.demo-left p{color:rgba(255,255,255,.7);margin-top:12px;font-size:15px}
.steps{list-style:none;padding:0;margin:26px 0 0;display:grid;gap:0;position:relative}
.steps li{display:flex;gap:14px;align-items:flex-start;padding:12px 0;position:relative}
.steps li + li::before{content:"";position:absolute;left:15px;top:-10px;height:22px;width:2px;background:rgba(255,255,255,.14)}
.steps .num{flex:none;width:32px;height:32px;border-radius:50%;background:var(--blue);color:#fff;font-family:'Outfit',sans-serif;font-weight:700;font-size:14px;display:flex;align-items:center;justify-content:center}
.steps b{display:block;font-size:15px;color:#fff}
.steps span{display:block;font-size:13px;color:rgba(255,255,255,.62);margin-top:2px}
.direct{margin-top:26px;padding-top:20px;border-top:1px solid rgba(255,255,255,.12);display:grid;gap:6px}
.direct .k{font-size:11px;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:rgba(255,255,255,.5)}
.direct a{font-family:'Outfit',sans-serif;font-size:17px;font-weight:600;color:#fff;transition:color .15s}
.direct a:hover{color:#B9C9F1}
form.f{padding:36px 40px;display:grid;grid-template-columns:1fr 1fr;gap:14px}
.field{display:flex;flex-direction:column;gap:6px}
.field.full{grid-column:1/-1}
.field label{font-size:12.5px;font-weight:600;color:var(--navy)}
.field textarea{min-height:96px;border:1px solid var(--line);border-radius:12px;padding:12px 14px;font:inherit;font-size:14px;color:var(--ink);background:#fff;resize:vertical;transition:border-color .15s,box-shadow .15s}
.field textarea:focus{outline:none;border-color:var(--blue);box-shadow:0 0 0 3px rgba(60,104,216,.18)}
.partner-types .fcard h3{font-size:22px}
.partner-types .fcard .checks{margin-top:14px}
.partner-types .fcard .checks li{font-size:14px}
@media (max-width:1100px){.partner-types{grid-template-columns:1fr!important}}
.field input,.field select{min-height:46px;border:1px solid var(--line);border-radius:12px;padding:0 14px;font:inherit;font-size:14px;color:var(--ink);background:#fff;transition:border-color .15s,box-shadow .15s}
.field input:focus,.field select:focus{outline:none;border-color:var(--blue);box-shadow:0 0 0 3px rgba(61,124,209,.18)}
.field .err{font-size:12px;color:#B91C1C;min-height:14px}
.field.invalid input{border-color:#DC2626}
.f .btn{grid-column:1/-1;justify-content:center;min-height:50px;font-size:15px}
.f .fine{grid-column:1/-1;font-size:12px;color:var(--muted);text-align:center}
.f .status{grid-column:1/-1;font-size:13.5px;text-align:center;min-height:18px}
.f .status.ok{color:var(--teal);font-weight:600}
.f .status.bad{color:#B91C1C}
.hp{position:absolute;left:-9999px;width:1px;height:1px;opacity:0}

/* ---------- Footer ---------- */
.footer{background:var(--navy);color:#fff;padding:72px 0 28px}
.foot-grid{display:grid;grid-template-columns:1.6fr 1fr 1fr 1.2fr;gap:36px}
.foot-grid h4{color:#fff;font-size:12px;letter-spacing:.16em;text-transform:uppercase;margin-bottom:16px;font-weight:700}
.foot-grid ul{list-style:none;padding:0;margin:0;display:grid;gap:10px}
.foot-grid a{font-size:14px;color:rgba(255,255,255,.72);transition:color .15s}
.foot-grid a:hover{color:#fff}
.foot-brand{font-family:'Outfit',sans-serif;display:flex;align-items:center;gap:10px;font-weight:700;font-size:20px}
.foot-brand img{width:36px;height:36px;border-radius:8px;background:#fff;padding:3px}
.foot-desc{font-size:14px;color:rgba(255,255,255,.65);margin-top:14px;max-width:320px}
.news{margin-top:20px;display:flex;gap:8px;max-width:360px}
.news input{flex:1;min-width:0;min-height:44px;border-radius:var(--pill);border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.06);color:#fff;padding:0 16px;font:inherit;font-size:14px}
.news input::placeholder{color:rgba(255,255,255,.45)}
.socials{display:flex;gap:8px;margin-top:18px}
.socials a{width:40px;height:40px;border-radius:50%;background:rgba(255,255,255,.08);display:flex;align-items:center;justify-content:center;color:#fff}
.socials svg{width:16px;height:16px}
.office{margin-top:22px;font-size:13px;color:rgba(255,255,255,.7);line-height:1.6}
.office b{display:block;color:#fff;letter-spacing:.12em;font-size:11px;text-transform:uppercase;margin-bottom:6px}
.foot-bottom{margin-top:52px;padding-top:22px;border-top:1px solid rgba(255,255,255,.12);display:flex;flex-wrap:wrap;gap:12px;justify-content:space-between;font-size:12.5px;color:rgba(255,255,255,.5)}

/* ---------- Reveal ---------- */
.reveal{opacity:0;transform:translateY(18px);transition:opacity .6s var(--ease),transform .6s var(--ease)}
.reveal.in{opacity:1;transform:none}
@media (prefers-reduced-motion:reduce){
  .reveal{opacity:1;transform:none;transition:none}
  .marquee-track{animation:none}
  .node{animation:none}
  .panel.is-active{animation:none}
  html{scroll-behavior:auto}
}

/* ---------- Responsive ---------- */
@media (max-width:1100px){
  .mega{grid-template-columns:1fr 1fr}
  .mega-feature{grid-column:1/-1;flex-direction:row;align-items:center;gap:20px}
  .cards4{grid-template-columns:repeat(2,1fr)}
  .logos{grid-template-columns:repeat(2,1fr)}
  .mods{grid-template-columns:repeat(2,1fr)}
  .price-card{grid-template-columns:1fr}.price-col + .price-col{border-left:0;border-top:1px solid var(--line)}
  .faq-wrap{grid-template-columns:1fr;gap:28px}
  .foot-grid{grid-template-columns:1fr 1fr 1fr}
  .foot-grid > :first-child{grid-column:1/-1}
}
@media (max-width:900px){
  h1{font-size:42px}h2{font-size:34px}.cta h2{font-size:36px}
  .nav{display:none}
  .burger{display:inline-flex}
  .hero-flow,.split,.sec-grid,.demo-card,.panel.is-active{grid-template-columns:1fr;gap:28px}
  .hero-flow{min-height:0}.hero-art{height:520px}.node.n1{left:0}.node.n3{left:0}.node.n2,.node.n4,.node.n5{right:0}
  .builtin{margin-left:0;max-width:none}
  form.f{grid-template-columns:1fr;padding:28px 24px}
  .section{padding:64px 0}
}
@media (max-width:560px){
  h1{font-size:34px}h2{font-size:28px}.cta h2{font-size:30px}
  .site-header .wrap{height:72px;gap:12px}
  .mobile-nav{inset:72px 0 0 0}
  .header-right .btn-blue{padding:10px 14px;font-size:13px}
  .hero{padding-top:24px}.hero h1{font-size:36px}.hero-art{height:440px}.hero-art .person{height:92%}.node span{display:none}.node{padding:8px 12px 8px 8px}.node .ico{width:26px;height:26px}
  .cards4,.logos,.logos-2,.mods{grid-template-columns:1fr}
  .hero-proof{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
  .hero-proof b{font-size:17px}.hero-proof span{font-size:11.5px}
  .node.n5{display:none}
  .frontline-split .cutout img{max-height:300px}
  .cutout img{max-height:340px}
  .page-hero.split-hero .cutout{margin-bottom:-16px}
  .section{padding:56px 0}

  .tabs{justify-content:flex-start;overflow-x:auto;flex-wrap:nowrap;padding-bottom:6px}
  .panel-visual{padding:20px}
  .foot-grid{grid-template-columns:1fr 1fr}
  .demo-left{padding:28px 24px}
}

/* ---------- Inner pages ---------- */
.page-hero{padding:56px 0 36px}
.page-hero h1{font-size:52px;max-width:760px}
.page-hero.center h1{margin:0 auto}
.tier-mini{display:grid;gap:10px;max-width:460px;margin-left:auto}
.tier-mini a{display:block;background:#fff;border:1px solid var(--line);border-radius:14px;padding:14px 18px;transition:border-color .2s,transform .2s var(--ease)}
.tier-mini a:hover{border-color:#C9D3E0;transform:translateX(4px)}
.tier-mini b{display:block;font-family:'Outfit',sans-serif;font-size:16px;color:var(--navy)}
.tier-mini span{font-size:13px;color:var(--muted)}
.mod-group{margin:44px 0 6px;padding-top:24px;border-top:1px solid var(--line)}
.mod-group:first-child{border-top:0;margin-top:0;padding-top:0}
.mod-row{display:grid;grid-template-columns:1.2fr 1fr;gap:40px;align-items:start;padding:28px 0;border-top:1px solid var(--line);scroll-margin-top:110px}
.mod-row .ico{width:44px;height:44px;border-radius:12px;background:var(--blue-tint);color:var(--blue);display:flex;align-items:center;justify-content:center;margin-bottom:14px}
.mod-row .ico svg{width:22px;height:22px}
.mod-row h3{font-size:26px}
.mod-row .short{font-family:'Outfit',sans-serif;font-weight:600;color:var(--blue-strong);margin-top:6px;font-size:15px}
.mod-row .blurb{color:var(--muted);margin-top:10px;font-size:15px;max-width:52ch}
.mod-facts{background:var(--bg-soft);border:1px solid var(--line);border-radius:18px;padding:20px 22px}
.mod-facts .k{font-size:11px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:var(--muted)}
.mod-facts .checks{margin-top:10px}
.tiers{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-top:24px}
.tier{position:relative;background:#fff;border:1px solid var(--line);border-radius:22px;padding:26px 24px;display:flex;flex-direction:column;scroll-margin-top:110px}
.tier h2{font-size:26px}
.tier-tag{color:var(--muted);font-size:14px;margin-top:6px;min-height:42px}
.tier-price{margin:18px 0;padding:14px 16px;border-radius:12px;background:var(--bg-soft)}
.tier-price b{display:block;font-family:'Outfit',sans-serif;font-size:16px;color:var(--navy)}
.tier-price span{font-size:12.5px;color:var(--muted)}
.tier-prev{font-size:13px;font-weight:600;color:var(--navy);margin-bottom:4px}
.tier .checks{margin-bottom:22px;flex:1}
.tier .checks li{font-size:14px}
.tier .btn{justify-content:center}
.tier-featured{border-color:var(--blue);box-shadow:0 30px 60px -30px rgba(60,104,216,.45)}
.tier-badge{position:absolute;top:-12px;left:24px;background:var(--teal-deep);color:#fff;font-size:11.5px;font-weight:600;padding:5px 12px;border-radius:var(--pill)}
.matrix-wrap{overflow-x:auto;margin-top:28px;background:#fff;border:1px solid var(--line);border-radius:18px}
.matrix{width:100%;border-collapse:collapse;font-size:14px;min-width:640px}
.matrix th{font-family:'Outfit',sans-serif;font-size:14px;text-align:left;padding:16px 18px;border-bottom:1px solid var(--line);color:var(--navy)}
.matrix th:not(:first-child),.matrix td:not(:first-child){text-align:center;width:150px}
.matrix td{padding:13px 18px;border-bottom:1px solid var(--line);color:var(--ink)}
.matrix tr:last-child td{border-bottom:0}
.matrix .tick{width:18px;height:18px;color:var(--blue)}
.matrix .dash{color:#CBD5E1}
@media (max-width:1100px){.tiers{grid-template-columns:repeat(2,1fr)}}
@media (max-width:900px){.page-hero h1{font-size:36px}.mod-row{grid-template-columns:1fr;gap:18px}}
@media (max-width:560px){.tiers{grid-template-columns:1fr}.page-hero h1{font-size:30px}}

/* ---------- Phone: comparison matrix as stacked cards (must come last to beat the desktop table rules) ---------- */
@media (max-width:560px){
  .matrix-wrap{overflow:visible;border:0;background:none}
  .matrix{min-width:0;width:100%}
  .matrix thead{display:none}
  .matrix tr{display:block;background:#fff;border:1px solid var(--line);border-radius:14px;padding:12px 14px;margin-bottom:10px}
  .matrix td{display:block;padding:0;border:0;width:auto!important;text-align:left!important}
  .matrix td:first-child{font-weight:600;color:var(--navy);margin-bottom:8px}
  .matrix td:not(:first-child){display:inline-flex;align-items:center;gap:6px;width:33%!important;font-size:12px;color:var(--muted)}
  .matrix td:nth-child(2)::before{content:"Essentials"}.matrix td:nth-child(3)::before{content:"Operations"}.matrix td:nth-child(4)::before{content:"Complete"}
  .matrix .tick{width:16px;height:16px;flex:none}
  .matrix .dash{flex:none}
  .matrix td:not(:first-child){font-size:11.5px;gap:5px}
}

/* ---------- Phone hero: person on a glow, four short pills underneath ---------- */
@media (max-width:560px){
  .hero{padding-bottom:0}
  .hero-flow{gap:16px}
  .hero-art{height:auto;margin:0;display:flex;flex-wrap:wrap;justify-content:center;gap:8px;padding-top:4px}
  .hero-art .net{display:none}
  .hero-art .glow{top:40%;width:86%;height:auto;aspect-ratio:1;background:rgba(60,104,216,.13)}
  .hero-art .person{position:relative;left:auto;bottom:auto;transform:none;flex:0 0 100%;width:auto;height:290px;max-height:none;object-fit:contain;margin:0 auto 8px;order:-1}
  .hero-art .node{position:static;display:inline-flex;align-items:center;gap:8px;animation:none;white-space:nowrap;padding:7px 12px 7px 7px;border-radius:999px;box-shadow:0 10px 24px -14px rgba(15,23,42,.35)}
  .hero-art .node .ico{width:24px;height:24px;border-radius:50%}
  .hero-art .node .ico svg{width:13px;height:13px}
  .hero-art .node b{font-size:12.5px;line-height:1}
  .hero-art .node > div > span{display:none}
  .node.n5{display:none}
  .hero-proof{margin-top:28px}
  .foot-grid{grid-template-columns:1fr 1fr}
  .foot-grid > :first-child{grid-column:1/-1}
  .tabs{gap:8px}
  .strip{padding:32px 0 26px}
  .fcard{padding:20px}
  .icard{flex-basis:78vw}
  .demo-card{border-radius:20px}
  form.f{padding:22px 18px}
}

/* ---------- Pricing page (reference-style layout) ---------- */
.price-hero{background:var(--blue-tint);padding:72px 0 80px}
.price-hero h1{font-size:52px;max-width:720px;margin:0 auto}
.price-hero .lead{max-width:none}
.tiers-plain{margin-top:44px}
.tiers-plain .tier{padding:30px 26px 34px;border-radius:20px;box-shadow:none;border-color:var(--line)}
.tiers-plain .tier h2{font-size:28px}
.tiers-plain .tier-tag{min-height:0;font-size:15px;color:var(--ink);margin-bottom:18px}
.tiers-plain .tier-prev{font-size:14px;color:var(--ink);font-weight:500;margin-bottom:10px}
.tiers-plain .tier-prev em{font-style:normal;font-weight:700;color:var(--teal-deep)}
.tiers-plain .checks{margin-bottom:0;gap:12px;align-content:start;flex:0 0 auto}
.tiers-plain .checks li{font-size:13.5px}
@media (max-width:900px){.price-hero h1{font-size:36px}.cmp-table th:not(:first-child),.cmp-table td:not(:first-child){width:96px}.plan-chip{padding:6px 10px;font-size:12px}.plan-chip small{display:none}}
@media (max-width:560px){.price-hero{padding:48px 0 56px}.price-hero h1{font-size:30px}.cmp-card{background:none;border:0;box-shadow:none}.cmp-tabs{justify-content:flex-start}.cmp-legend{justify-content:flex-start}}

/* ---------- Plan comparison: pills + one card ---------- */
.cmp-tabs{margin-top:30px}
.cmp-card{margin-top:22px;background:#fff;border:1px solid var(--line);border-radius:22px;box-shadow:var(--shadow);overflow:hidden}
.cmp-table{min-width:0;width:100%}
.cmp-table thead th{padding:18px 22px;background:var(--bg-soft);border-bottom:1px solid var(--line);font-size:15px;color:var(--navy);vertical-align:middle}
.cmp-table th:not(:first-child),.cmp-table td:not(:first-child){width:170px;text-align:center}
.cmp-table td{padding:13px 22px;font-size:14.5px;color:var(--ink);border-bottom:1px solid var(--line)}
.cmp-table tbody tr:last-child td{border-bottom:0}
.cmp-table tbody tr:hover td{background:#FBFCFE}
.cmp-table .hi{background:var(--blue-tint)}
.cmp-table thead th.hi{background:#DEE7FA}
.plan-chip{display:inline-flex;flex-direction:column;align-items:center;gap:2px;padding:8px 16px;border-radius:var(--pill);background:#fff;border:1px solid var(--line);font-family:'Outfit',sans-serif;font-weight:700;font-size:14px;color:var(--navy);line-height:1.1}
.plan-chip small{font-family:'Inter',sans-serif;font-weight:600;font-size:10px;letter-spacing:.06em;text-transform:uppercase;color:var(--teal-deep)}
.chip-hi{background:var(--navy);border-color:var(--navy);color:#fff}
.chip-hi small{color:var(--teal)}
.inc{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;border-radius:50%;background:var(--teal-tint);color:var(--teal-deep);vertical-align:middle}
.inc svg{width:13px;height:13px}
.exc{display:inline-block;width:12px;height:12px;border-radius:50%;border:2px solid #D5DCE6;vertical-align:middle}
.cmp-legend{display:flex;flex-wrap:wrap;gap:22px;justify-content:center;margin-top:18px;font-size:13px;color:var(--muted)}
.cmp-legend span{display:inline-flex;align-items:center;gap:8px}
@media (max-width:560px){
  .cmp-table thead{display:none}
  .cmp-table tr{display:block;background:#fff;border:1px solid var(--line);border-radius:14px;padding:12px 14px;margin-bottom:10px}
  .cmp-table td{display:block;padding:0;border:0;width:auto!important;text-align:left!important;background:none!important}
  .cmp-table td:first-child{font-weight:600;color:var(--navy);margin-bottom:8px}
  .cmp-table td:not(:first-child){display:inline-flex;align-items:center;gap:6px;width:33%!important;font-size:11.5px;color:var(--muted)}
  .cmp-table td:nth-child(2)::before{content:"Essentials"}.cmp-table td:nth-child(3)::before{content:"Operations"}.cmp-table td:nth-child(4)::before{content:"Complete"}
  .cmp-table .inc{width:20px;height:20px;flex:none}.cmp-table .inc svg{width:11px;height:11px}.cmp-table .exc{flex:none}
}

/* ---------- Phone: smaller pills everywhere (tab rows, hero pills, plan/legend chips) ---------- */
@media (max-width:560px){
  .tab{min-height:36px;padding:7px 13px;font-size:13px;border-width:1px}
  .tabs{gap:6px;margin-top:22px}
  .hero-art .node{padding:6px 10px 6px 6px;gap:6px}
  .hero-art .node .ico{width:22px;height:22px}
  .hero-art .node .ico svg{width:12px;height:12px}
  .hero-art .node b{font-size:12px}
  .pill{font-size:10.5px;padding:3px 8px}
  .plan-chip{padding:5px 10px;font-size:12px}
  .cmp-legend{gap:14px;font-size:12px}
  .tier-badge{font-size:10.5px;padding:4px 10px}
  .sector{font-size:14px;gap:8px}.sector svg{width:16px;height:16px}
}
