/* =====================================================================
   STORXIE NEXUS — HOMEPAGE v12
   Light-first hybrid: roughly 70% light, 30% dark.
   Brand blue #4570B7, deep navy #0F1729.
   No animation library. Everything degrades to a readable static state.
   ===================================================================== */

:root{
  --blue:#4570B7;
  --blue-deep:#355C9B;
  --navy:#0F1729;
  --navy-soft:#16213A;
  --ink:#0B0D10;
  --muted:#47505E;
  --soft:#F7F9FC;
  --line:#E3E9F2;
  --white:#fff;
  --green:#1E9E6A;
  --amber:#B87A15;
  --radius:16px;
  --max:1140px;
  --tab:62px;
}

*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{
  margin:0;background:var(--white);color:var(--ink);
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  font-size:17px;line-height:1.65;-webkit-font-smoothing:antialiased;
}
img,svg{max-width:100%}
a{color:var(--blue);text-decoration:none}
a:hover{text-decoration:underline}
h1,h2,h3,h4{margin:0;letter-spacing:-.02em;line-height:1.15;color:var(--ink);font-weight:700}
p{margin:0 0 1em}
.wrap{width:100%;max-width:var(--max);margin:0 auto;padding:0 20px}
.skip{position:absolute;left:-9999px}
.skip:focus{left:12px;top:12px;z-index:99;background:var(--white);padding:10px 14px;border-radius:8px;box-shadow:0 4px 14px rgba(0,0,0,.15)}
.eyebrow{display:inline-block;font-size:12px;letter-spacing:.14em;text-transform:uppercase;color:var(--blue);font-weight:700;margin-bottom:12px}
.lede{font-size:19px;color:var(--muted);max-width:62ch}
section{padding:64px 0}
section.soft{background:var(--soft)}
section.dark{background:var(--navy);color:#E9EFF8}
section.dark h2,section.dark h3{color:#F4F7FC}
section.dark p{color:#B9C6DA}
section.dark .eyebrow{color:#8FB0E8}

/* ---------------------------------------------------------------- buttons */
.btn{
  display:inline-flex;align-items:center;gap:8px;
  font:600 16px/1 inherit;padding:15px 26px;border-radius:10px;
  background:var(--blue);color:#fff;border:1px solid var(--blue);
  transition:background .16s ease,border-color .16s ease;
}
.btn:hover{background:var(--blue-deep);border-color:var(--blue-deep);text-decoration:none}
.btn.ghost{background:transparent;color:var(--blue);border-color:var(--blue)}
.btn.ghost:hover{background:rgba(69,112,183,.07);text-decoration:none}
.dark .btn.ghost{color:#CFE0FA;border-color:#4E6B97}
.dark .btn.ghost:hover{background:rgba(255,255,255,.06)}

/* ----------------------------------------------------------------- header */
.site-head{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.92);backdrop-filter:blur(10px);border-bottom:1px solid var(--line)}
.head-in{display:flex;align-items:center;gap:24px;height:70px}
.brand{display:flex;align-items:center;gap:10px;color:var(--ink);font-weight:700}
.brand img{height:34px;width:auto}
.nav{display:flex;gap:22px;margin-left:auto;align-items:center}
.nav a{color:var(--muted);font-size:15px;font-weight:500}
.nav a:hover{color:var(--ink);text-decoration:none}
.nav .btn{padding:11px 18px;font-size:15px}
/* .nav a (specificity 0,1,1) was overriding .btn (0,1,0), leaving dark text
   on the blue header button. These rules win, and cover hover and focus. */
.nav a.btn,
.nav a.btn:visited{color:#fff}
.nav a.btn:hover,
.nav a.btn:focus{color:#fff;text-decoration:none}
.nav a.btn:focus-visible{outline:3px solid #0B0D10;outline-offset:3px}
/* the reserved-width span now holds the full stop, so it sits beside the word */
.burger{display:none;margin-left:auto;background:none;border:1px solid var(--line);border-radius:10px;padding:11px 13px;cursor:pointer;min-width:44px;min-height:44px;align-items:center;justify-content:center}
.burger span{display:block;width:20px;height:2px;background:var(--ink);margin:4px 0;border-radius:2px}
.drawer{display:none}
body{overflow-x:clip}

/* ------------------------------------------------------------------- hero */
.hero{padding:56px 0 64px}
.hero-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:52px;align-items:center}
.hero h1{font-size:clamp(30px,4.1vw,50px);line-height:1.12;max-width:15ch}
.hero .lede{margin-top:18px;font-size:18px}
.hero-cta{display:flex;flex-wrap:wrap;gap:12px;margin-top:26px}
.hero-note{margin-top:16px;font-size:15px;color:var(--muted);max-width:46ch}

/* ------------------------------------------------------- hero badge */
.hero-badge{
  display:inline-flex;align-items:center;gap:9px;flex-wrap:wrap;
  font-size:11.5px;font-weight:700;letter-spacing:.13em;text-transform:uppercase;
  color:#35507F;background:#F2F6FC;border:1px solid #DCE5F2;border-radius:999px;
  padding:8px 15px;margin-bottom:20px;line-height:1;
}
.hero-badge .sep{color:#A9BAD4;font-size:13px;letter-spacing:0}
.hero-badge .dotsep{width:6px;height:6px;border-radius:50%;background:var(--blue);flex:none}

/* stronger hero hierarchy */
.hero h1{font-size:clamp(34px,5.4vw,66px);line-height:1.02;letter-spacing:-.034em;max-width:14ch;font-weight:800}
.hero .lede{margin-top:22px;font-size:18.5px;line-height:1.62}
.hero-cta{margin-top:30px;gap:12px}
.hero-note{margin-top:18px}

/* ---------------------------------------------------------- buttons */
.btn .arw{width:17px;height:17px;flex:none;stroke:currentColor;fill:none;stroke-width:2.2;
  stroke-linecap:round;stroke-linejoin:round;transition:transform .16s ease}
.btn:hover .arw{transform:translateX(3px)}
.btn:focus-visible{outline:3px solid #0B0D10;outline-offset:3px}
.btn.light{background:#fff;color:var(--ink);border:1px solid #D5DEEB}
.btn.light:hover{background:#F5F8FC;border-color:#BFCCDD;text-decoration:none}
.btn.light:focus-visible{outline:3px solid var(--blue);outline-offset:3px}

/* rotating phrase */
/* The phrase must always return to full opacity. The old ::after underline
   overlaid a translucent bar directly across the glyphs, which is what made
   the word look washed out. Removed, and the colour is deepened for contrast
   at large sizes. */
.phrase{display:inline-block;position:relative;color:#2C4E86;white-space:nowrap;
  opacity:1;transition:opacity .34s ease,transform .34s ease}
.phrase.out{opacity:0;transform:translateY(-5px)}
.phrase .ph{display:inline-block}

/* ---------------------------------------------------- hero audit simulation */
.sim{--card:#fff;background:var(--white);border:1px solid var(--line);border-radius:18px;box-shadow:0 18px 46px rgba(16,32,60,.10);overflow:hidden}
.sim-bar{display:flex;align-items:center;gap:8px;padding:11px 14px;border-bottom:1px solid var(--line);background:#FBFCFE}
.dot{width:9px;height:9px;border-radius:50%;background:#D8DFEA}
.sim-url{margin-left:8px;font-size:12px;color:var(--muted);background:#F1F4F9;border-radius:6px;padding:4px 10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sim-status{margin-left:auto;font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--blue)}

.sim-body{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr)}
.mini{position:relative;padding:16px 16px 18px;border-right:1px solid var(--line);overflow:hidden;background:#fff}
.mini-inner{transition:transform .9s cubic-bezier(.4,0,.2,1)}
.mini-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}
.mini-logo{width:64px;height:9px;border-radius:4px;background:var(--blue);opacity:.85}
.mini-nav{display:flex;gap:7px}
.mini-nav i{display:block;width:22px;height:6px;border-radius:3px;background:#DDE4EE}
.mini-h{height:13px;border-radius:4px;background:#E8EDF5;margin-bottom:7px}
.mini-h.w70{width:70%}
.mini-h.w50{width:50%}
.mini-p{height:7px;border-radius:3px;background:#EEF2F8;margin-bottom:6px}
.mini-p.w90{width:90%}
.mini-p.w80{width:80%}
.mini-p.w60{width:60%}
.mini-cards{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:12px 0}
.mini-card{border:1px solid var(--line);border-radius:8px;padding:9px}
.mini-btn{display:inline-block;margin-top:8px;width:78px;height:20px;border-radius:6px;background:var(--blue);opacity:.9}
.mini-contact{margin-top:14px;padding-top:12px;border-top:1px dashed var(--line);display:flex;gap:8px;align-items:center}
.mini-contact span{height:7px;border-radius:3px;background:#E6EBF3;flex:1}
.scan{position:absolute;left:0;right:0;top:-30px;height:30px;pointer-events:none;opacity:0;
  background:linear-gradient(180deg,rgba(69,112,183,0),rgba(69,112,183,.20),rgba(69,112,183,0));
  border-bottom:1px solid rgba(69,112,183,.55);transition:transform 1s cubic-bezier(.4,0,.5,1),opacity .2s ease}

.panel{padding:14px;background:#FBFCFE}
.panel-title{font-size:11px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--muted);margin-bottom:10px}
.row{display:flex;align-items:center;gap:8px;padding:7px 0;border-bottom:1px solid #EDF1F7;opacity:0;transform:translateX(-6px);transition:opacity .35s ease,transform .35s ease}
.row:last-child{border-bottom:0}
.row .nm{font-size:12.5px;color:var(--ink);flex:1;min-width:0}
.tag{font-size:10.5px;font-weight:700;padding:3px 8px;border-radius:99px;white-space:nowrap}
.tag.clear{background:rgba(30,158,106,.12);color:var(--green)}
.tag.review{background:rgba(69,112,183,.12);color:var(--blue)}
.tag.fix{background:rgba(184,122,21,.14);color:var(--amber)}

.report{margin:0 14px 14px;border:1px solid var(--line);border-radius:12px;padding:12px 13px;background:#fff;opacity:0;transform:translateY(8px);transition:opacity .4s ease,transform .4s ease}
.report-h{display:flex;align-items:center;gap:8px;margin-bottom:8px}
.report-h b{font-size:12.5px}
.report-bar{height:6px;border-radius:3px;background:#EDF1F7;overflow:hidden;margin-bottom:10px}
.report-bar i{display:block;height:100%;width:0;background:var(--blue);transition:width .9s ease}
.report-btn{display:block;width:100%;text-align:center;font-size:12.5px;font-weight:700;color:#fff;background:var(--blue);border-radius:8px;padding:9px}
.report-btn:hover{text-decoration:none;background:var(--blue-deep)}

/* --------------------------------------------------------------- sections */
.sec-head{max-width:70ch;margin-bottom:36px}
.sec-head h2{font-size:clamp(25px,3vw,36px)}
.sec-head p{color:var(--muted);margin-top:14px;font-size:17px}
.sec-head.center{margin-left:auto;margin-right:auto;text-align:center}

.three{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.tcard{border:1px solid var(--line);border-radius:var(--radius);padding:22px;background:#fff}
.tcard .num{font-size:12px;font-weight:700;color:var(--blue);letter-spacing:.1em;margin-bottom:10px}
.tcard h3{font-size:19px;margin-bottom:8px}
.tcard p{color:var(--muted);font-size:15.5px;margin:0}

/* three service cards with distinct illustrations */
.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.card{border:1px solid var(--line);border-radius:var(--radius);background:#fff;overflow:hidden;display:flex;flex-direction:column}
.card-art{height:190px;background:var(--soft);border-bottom:1px solid var(--line);position:relative;overflow:hidden;display:flex;align-items:center;justify-content:center}
.card-body{padding:20px 22px 22px;display:flex;flex-direction:column;gap:8px;flex:1}
.card-body h3{font-size:19px}
.card-body p{color:var(--muted);font-size:15px;margin:0}
.card-link{margin-top:auto;padding-top:12px;font-size:15px;font-weight:600}

/* art 1: browser adapting to mobile */
.art-web{display:flex;align-items:center;gap:14px;width:100%;padding:0 18px}
.bw{flex:1;background:#fff;border:1px solid var(--line);border-radius:8px;padding:9px;box-shadow:0 6px 16px rgba(16,32,60,.06)}
.bw-bar{display:flex;gap:4px;margin-bottom:7px}
.bw-bar i{width:5px;height:5px;border-radius:50%;background:#DDE4EE}
.bw-h{height:7px;border-radius:3px;background:#E8EDF5;margin-bottom:5px}
.bw-h.s{width:60%}
.bw-cols{display:grid;grid-template-columns:1fr 1fr;gap:5px;margin-top:7px}
.bw-cols i{display:block;height:16px;border-radius:4px;background:#EFF3F9}
.phone{width:52px;height:96px;border:2px solid #C9D4E4;border-radius:10px;background:#fff;padding:6px 5px;display:flex;flex-direction:column;gap:4px;box-shadow:0 8px 20px rgba(16,32,60,.10)}
.phone i{display:block;height:6px;border-radius:2px;background:#E8EDF5}
.phone i.s{width:65%}
.phone .pb{margin-top:auto;height:9px;border-radius:3px;background:var(--blue);opacity:.85}

/* art 2: sitemap + crawler + results */
.art-search{width:100%;padding:0 16px;position:relative;height:100%}
.smap{display:flex;flex-direction:column;gap:7px;align-items:center;padding-top:22px}
.smap .top{width:56px;height:14px;border-radius:4px;background:var(--blue);opacity:.9}
.smap .kids{display:flex;gap:8px}
.smap .kid{width:34px;height:10px;border-radius:3px;background:#DDE4EE}
.smap .kid.live{background:var(--blue);opacity:.6}
.crawl{position:absolute;width:8px;height:8px;border-radius:50%;background:var(--blue);box-shadow:0 0 0 3px rgba(69,112,183,.18);opacity:0;transition:left .45s ease,top .45s ease,opacity .2s ease}
.res{border:1px solid var(--line);border-radius:8px;background:#fff;padding:8px 9px;margin-top:14px;box-shadow:0 6px 16px rgba(16,32,60,.06);opacity:.35;transition:opacity .5s ease}
.res.on{opacity:1}
.res-q{height:6px;border-radius:3px;background:#E8EDF5;width:70%;margin-bottom:7px}
.res-t{display:flex;gap:6px;align-items:center}
.res-t i{width:12px;height:12px;border-radius:3px;background:var(--blue);opacity:.8}
.res-t span{height:7px;border-radius:3px;background:var(--blue);opacity:.55;flex:1}

/* art 3: agent connected to systems */
.art-agent{width:100%;padding:0 14px;height:100%;position:relative}
.hub{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:58px;height:58px;border-radius:16px;background:var(--navy);display:flex;align-items:center;justify-content:center;box-shadow:0 10px 24px rgba(15,23,41,.28);z-index:2}
.hub svg{width:26px;height:26px;stroke:#fff;fill:none;stroke-width:1.8}
.node{position:absolute;background:#fff;border:1px solid var(--line);border-radius:9px;padding:6px 8px;font-size:9.5px;font-weight:600;color:var(--muted);box-shadow:0 4px 12px rgba(16,32,60,.07);z-index:2}
.node.on{border-color:rgba(69,112,183,.5);color:var(--blue)}
.wire{position:absolute;inset:0;width:100%;height:100%;z-index:1}
.wire path{stroke:#CBD7E7;stroke-width:1.4;fill:none;stroke-dasharray:4 4}

/* ------------------------------------------------------- dark journey section */
.journey{margin-top:34px;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;position:relative}
.jstep{position:relative;background:var(--navy-soft);border:1px solid #24324E;border-radius:12px;padding:16px 14px}
.jstep .jn{font-size:11px;font-weight:700;letter-spacing:.1em;color:#7C9BD1;margin-bottom:8px}
.jstep h3{font-size:15px;margin-bottom:6px}
.jstep p{font-size:13px;margin:0;color:#9FB0C9}
.jstep::after{content:"";position:absolute;right:-9px;top:50%;width:6px;height:6px;border-radius:50%;background:#3C5480;transform:translateY(-50%)}
.jstep:last-child::after{display:none}
.jstep.lit{border-color:#3E5C90}
.jstep.lit .jn{color:#A8C4F0}
.jnote{margin-top:20px;font-size:14px;color:#8FA2BD}

/* --------------------------------------------------------- free check section */
.check-panel{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.92fr);gap:44px;align-items:center}
.check-ui{background:#fff;border:1px solid var(--line);border-radius:18px;box-shadow:0 18px 46px rgba(16,32,60,.10);padding:18px;position:relative;overflow:hidden}
.check-top{display:flex;align-items:center;gap:8px;margin-bottom:14px}
.check-top b{font-size:13px}
.check-top .sim-status{margin-left:auto}
.areas{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.area{display:flex;align-items:center;gap:8px;border:1px solid var(--line);border-radius:9px;padding:9px 10px;opacity:.45;transition:opacity .3s ease,border-color .3s ease,background .3s ease}
.area .nm{font-size:12.5px;flex:1;min-width:0;color:var(--ink)}
.area.done{opacity:1;background:#FBFCFE}
.area .mk{width:16px;height:16px;border-radius:50%;border:1.5px solid #D5DEEB;flex:none;position:relative}
.area.done .mk{border-color:var(--green);background:var(--green)}
.area.done .mk::after{content:"";position:absolute;left:4px;top:2px;width:5px;height:8px;border:2px solid #fff;border-top:0;border-left:0;transform:rotate(42deg)}
.check-foot{margin-top:14px;padding-top:13px;border-top:1px dashed var(--line);display:flex;align-items:center;gap:10px}
.check-foot .bar{flex:1;height:6px;border-radius:3px;background:#EDF1F7;overflow:hidden}
.check-foot .bar i{display:block;height:100%;width:0;background:var(--blue);transition:width .4s ease}
.check-foot .pc{font-size:12px;font-weight:700;color:var(--blue)}

/* ------------------------------------------------------------------- steps */
.steps{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.step{border:1px solid var(--line);border-radius:var(--radius);padding:20px;background:#fff;display:flex;gap:14px}
.step .n{flex:none;width:30px;height:30px;border-radius:9px;background:rgba(69,112,183,.1);color:var(--blue);font-weight:700;font-size:14px;display:flex;align-items:center;justify-content:center}
.step h3{font-size:17px;margin-bottom:6px}
.step p{font-size:15px;color:var(--muted);margin:0}

/* --------------------------------------------------------------------- faq */
.faq{max-width:840px;margin:0 auto}
.q{border-bottom:1px solid var(--line)}
.q summary{list-style:none;cursor:pointer;padding:18px 2px;font-weight:600;font-size:17px;display:flex;gap:14px;align-items:flex-start}
.q summary::-webkit-details-marker{display:none}
.q summary::after{content:"+";margin-left:auto;color:var(--blue);font-weight:700;font-size:20px;line-height:1}
.q[open] summary::after{content:"\2013"}
.q p{padding:0 2px 20px;color:var(--muted);margin:0;font-size:16px}

/* ------------------------------------------------------------------- final */
.final-cta{text-align:center}
.final-cta h2{font-size:clamp(26px,3.2vw,38px);max-width:20ch;margin:0 auto}
.final-cta p{color:#B9C6DA;margin:16px auto 26px;max-width:52ch}

/* ------------------------------------------------------------------ footer */
/* footer: identical rules to the live site, so it matches Insights and the
   service pages exactly */
.site-foot{background:#0B1220;color:#98A5BA;padding:46px 0 26px;font-size:14.5px}
.fgrid{display:grid;gap:28px}
@media(min-width:800px){.fgrid{grid-template-columns:1.6fr 1fr 1fr 1.25fr}}
.site-foot h4{color:#fff;font-size:13px;font-weight:750;margin-bottom:12px;letter-spacing:.05em;text-transform:uppercase}
.site-foot a{display:block;padding:5px 0;color:#98A5BA}
.site-foot a:hover{color:#fff;text-decoration:none}
.fbrand{display:flex;align-items:center;gap:11px;margin-bottom:12px}
.fbrand img{height:34px;width:auto;filter:brightness(0) invert(1);opacity:.95}
.fbrand-tag{font-size:11.5px;color:#71809A;font-weight:600}
.fcol p{color:#71809A;font-size:13.5px;line-height:1.55;margin:10px 0 0;max-width:34ch}
.fbot{border-top:1px solid #1C2739;margin-top:30px;padding-top:18px;display:flex;flex-wrap:wrap;gap:8px;justify-content:space-between;font-size:13px;color:#71809A}
.fbot a{display:inline;padding:0}
.fbot .fbot-links{display:flex;align-items:center;gap:0}

/* bottom tab bar removed: mobile keeps only the header menu */

/* ---------------------------------------------------------------- responsive */
/* ------------------------------------------- search illustration stages */
.stage-strip{position:absolute;left:8px;right:8px;bottom:7px;display:flex;gap:4px;justify-content:space-between;z-index:3}
.stage-strip i{
  flex:1;height:3px;border-radius:2px;background:#D8E1EE;transition:background .35s ease;
}
.stage-strip i.on{background:var(--blue)}
.stage-lbl{
  position:absolute;left:0;right:0;top:6px;text-align:center;font-size:9.5px;font-weight:700;
  letter-spacing:.08em;text-transform:uppercase;color:var(--blue);z-index:3;
}

/* --------------------------------------------- agent illustration activity */
.taskdot{
  position:absolute;width:9px;height:9px;border-radius:50%;background:var(--blue);
  box-shadow:0 0 0 3px rgba(69,112,183,.20);opacity:0;z-index:3;
  transition:left .5s ease,top .5s ease,opacity .25s ease;
}
.donebadge{
  position:absolute;left:50%;bottom:6px;transform:translateX(-50%) translateY(6px);
  background:#fff;border:1px solid rgba(30,158,106,.45);color:var(--green);
  font-size:9.5px;font-weight:700;border-radius:99px;padding:3px 9px;opacity:0;
  transition:opacity .3s ease,transform .3s ease;z-index:4;white-space:nowrap;
}
.donebadge.on{opacity:1;transform:translateX(-50%) translateY(0)}
.hub.beat{box-shadow:0 0 0 6px rgba(69,112,183,.14),0 10px 24px rgba(15,23,41,.28);transition:box-shadow .3s ease}

/* ------------------------------------------------- consolidated section */
.combo{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:34px}
.combo h3{font-size:17px;margin:0 0 14px}
.combo ul{list-style:none;margin:0;padding:0}
.combo li{display:flex;gap:12px;padding:11px 0;border-bottom:1px solid var(--line);font-size:15.5px;color:var(--muted)}
.combo li:last-child{border-bottom:0}
.combo li b{display:block;color:var(--ink);font-size:16px;margin-bottom:2px}
.combo .n{flex:none;width:26px;height:26px;border-radius:8px;background:rgba(69,112,183,.1);color:var(--blue);font-weight:700;font-size:13px;display:flex;align-items:center;justify-content:center}


/* =====================================================================
   V16 REFINEMENTS
   Compact button system, reusable section labels, tools grid, insights
   cards, refined mobile drawer.
   ===================================================================== */

/* -------------------------------------------------- compact buttons */
.btn{
  font-size:15px;padding:12px 20px;border-radius:9px;gap:7px;
  min-height:44px;line-height:1.15;
}
.btn .arw{width:15px;height:15px}
.btn svg{flex:none}
.hero-cta .btn{min-height:48px;padding:13px 22px}
.btn.sm{font-size:13.5px;padding:9px 15px;min-height:38px}
.nav .btn{padding:9px 15px;font-size:14px;min-height:38px}

/* --------------------------------------------------- section labels */
.sec-label{
  display:inline-flex;align-items:center;gap:8px;
  font-size:10.5px;font-weight:750;letter-spacing:.14em;text-transform:uppercase;
  color:var(--blue);background:#EEF3FB;border:1px solid #DEE7F4;
  border-radius:999px;padding:7px 14px;line-height:1;margin-bottom:16px;
}
.sec-label::before{content:"";width:5px;height:5px;border-radius:1px;background:var(--blue);
  transform:rotate(45deg);flex:none}
.sec-label.outline{background:transparent;border-color:#CBD8EA}
.dark .sec-label{background:rgba(255,255,255,.07);border-color:rgba(255,255,255,.16);color:#A8C4F0}
.dark .sec-label::before{background:#8FB0E8}

/* centred intros where used */
.sec-head.center{text-align:center;margin-left:auto;margin-right:auto}

/* ------------------------------------------------------- tools grid */
.tools{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-top:6px}
.tool{
  display:flex;align-items:center;gap:11px;
  border:1px solid var(--line);border-radius:12px;background:#fff;
  padding:14px 15px;transition:border-color .16s ease,box-shadow .16s ease,transform .16s ease;
}
.tool:hover{border-color:#C6D4E7;box-shadow:0 8px 20px rgba(16,32,60,.07);transform:translateY(-1px)}
.tool .ic{width:34px;height:34px;border-radius:9px;background:#F2F6FC;display:flex;align-items:center;justify-content:center;flex:none}
.tool .ic svg{width:18px;height:18px;stroke:var(--blue);fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.tool .nm{font-size:14px;font-weight:650;color:var(--ink);line-height:1.25}
.tool .ct{font-size:11.5px;color:#7A8699;line-height:1.3;margin-top:1px}
.tools-note{margin-top:16px;font-size:13.5px;color:#7A8699}

/* ---------------------------------------------------- insights cards */
.insights{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.icard{
  display:flex;flex-direction:column;border:1px solid var(--line);border-radius:14px;
  background:#fff;overflow:hidden;transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease;
}
.icard:hover{border-color:#C6D4E7;box-shadow:0 14px 30px rgba(16,32,60,.09);transform:translateY(-2px)}
.icard-img{position:relative;aspect-ratio:16/9;background:#F3F6FB;overflow:hidden;border-bottom:1px solid var(--line)}
.icard-img svg{display:block;width:100%;height:100%}
.icard-body{padding:16px 17px 18px;display:flex;flex-direction:column;gap:8px;flex:1}
.icat{font-size:10.5px;font-weight:750;letter-spacing:.11em;text-transform:uppercase;color:var(--blue)}
.icard h3{font-size:16.5px;line-height:1.32;letter-spacing:-.012em}
.icard p{font-size:13.5px;color:var(--muted);margin:0;line-height:1.5}
.icard .rd{margin-top:auto;padding-top:10px;font-size:13.5px;font-weight:650;color:var(--blue)}
.icard:hover .rd{text-decoration:underline}
.insights-foot{margin-top:26px;text-align:center}

/* ----------------------------------------------------------- FAQ */
.faq-foot{margin-top:20px;text-align:center}

/* --------------------------------------------- refined mobile drawer */
.drawer-panel{padding:0;display:flex;flex-direction:column}
.drawer-top{display:flex;align-items:center;justify-content:space-between;padding:16px 18px;border-bottom:1px solid var(--line)}
.drawer-top img{height:30px;width:auto}
.drawer-close{background:none;border:0;font-size:24px;line-height:1;cursor:pointer;color:var(--muted);
  width:40px;height:40px;display:flex;align-items:center;justify-content:center;border-radius:8px}
.drawer-close:hover{background:#F3F6FB}
.drawer-links{flex:1;overflow-y:auto;padding:6px 18px}
.drawer-links a{display:flex;align-items:center;justify-content:space-between;gap:10px;
  padding:15px 0;border-bottom:1px solid var(--line);color:var(--ink);font-size:15.5px;font-weight:600;text-decoration:none}
.drawer-links a:last-child{border-bottom:0}
.drawer-links a.on{color:var(--blue)}
.drawer-links a.on::after{content:"";width:6px;height:6px;border-radius:50%;background:var(--blue)}
.drawer-cta{padding:16px 18px calc(16px + env(safe-area-inset-bottom));border-top:1px solid var(--line);background:#FBFCFE}
.drawer-cta .btn{width:100%;justify-content:center;margin-bottom:10px}
.drawer-cta .wa{width:100%;justify-content:center;gap:8px;background:#fff;color:#0B0D10;border:1px solid #D5DEEB}
.drawer-cta .wa:hover{background:#F5F8FC;text-decoration:none}
.drawer-cta .wa svg{width:17px;height:17px;fill:#25D366;stroke:none;flex:none}

@media (max-width:1024px){
  .tools{grid-template-columns:repeat(2,minmax(0,1fr))}
  .insights{grid-template-columns:1fr}
}
@media (max-width:600px){
  .tools{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .tool{padding:11px 12px;gap:9px;min-width:0}
  .tool>span:last-child{min-width:0}
  .tool .ic{width:28px;height:28px;border-radius:7px}
  .tool .ic svg{width:15px;height:15px}
  .tool .nm{font-size:12.5px}
  .tool .ct{font-size:10px}
  .btn{font-size:14.5px;padding:11px 18px}
  .sec-label{font-size:9.5px;letter-spacing:.1em;padding:6px 11px}
}

@media (max-width:1024px){
  .hero-grid{grid-template-columns:1fr;gap:38px}
  .combo{grid-template-columns:1fr;gap:24px}
  .hero h1{max-width:none}
  .journey{grid-template-columns:repeat(2,minmax(0,1fr))}
  .jstep::after{display:none}
  .cards{grid-template-columns:1fr}
  .check-panel{grid-template-columns:1fr;gap:30px}
  .fgrid{grid-template-columns:1fr 1fr}
}
@media (max-width:860px){
  .nav{display:none}
  .burger{display:block}
  .site-head{position:sticky}
  .three{grid-template-columns:1fr}
  .steps{grid-template-columns:1fr}
  .sim-body{grid-template-columns:1fr}
  .mini{border-right:0;border-bottom:1px solid var(--line)}
  .drawer{display:block;position:fixed;inset:0;z-index:70;background:rgba(11,13,16,.45);opacity:0;pointer-events:none;transition:opacity .2s ease;overflow:hidden}
  .drawer.open{opacity:1;pointer-events:auto}
  .drawer-panel{position:absolute;right:0;top:0;bottom:0;width:min(84vw,320px);background:#fff;padding:20px;transform:translateX(100%);transition:transform .24s ease;overflow:auto}
  .drawer.open .drawer-panel{transform:none}
  .drawer a{display:block;padding:13px 2px;border-bottom:1px solid var(--line);color:var(--ink);font-weight:600}
  /* same specificity trap as the header: the drawer CTA must stay white on blue */
  .drawer a.btn,.drawer a.btn:visited{color:#fff;border-bottom:0;text-align:center}
  .drawer a.btn:hover,.drawer a.btn:focus{color:#fff;text-decoration:none}
  .drawer a.btn:focus-visible{outline:3px solid #0B0D10;outline-offset:3px}
  .drawer .btn{margin-top:18px;width:100%;justify-content:center}
  .drawer-close{background:none;border:0;font-size:26px;line-height:1;float:right;cursor:pointer;color:var(--muted)}
}
@media (max-width:600px){
  /* keep the badge on one line so it stays compact, as on the reference */
  .hero-badge{font-size:9.5px;letter-spacing:.07em;gap:6px;padding:7px 11px;margin-bottom:18px;flex-wrap:nowrap}
  .hero-badge .sep{font-size:11px}
  .hero-badge .dotsep{width:5px;height:5px}
  .hero h1{letter-spacing:-.022em}

  section{padding:46px 0}
  .hero{padding:34px 0 46px}
  .journey{grid-template-columns:1fr}
  .areas{grid-template-columns:1fr}
  .fgrid{grid-template-columns:1fr}
  .card-art{height:170px}
  .sim-url{max-width:120px}
}
@media (max-width:360px){
  .hero-badge{font-size:8.8px;letter-spacing:.04em;gap:5px;padding:6px 9px}
  .hero-badge .sep{font-size:10px}
  .hero h1{font-size:31px}
  .btn{padding:13px 20px;font-size:15px}
  .sim-url{max-width:80px}
  .mini{padding:12px}
  .panel{padding:11px}
}

@media (prefers-reduced-motion:reduce){
  *{animation-duration:.001ms !important;animation-iteration-count:1 !important;transition-duration:.001ms !important}
  .row,.report,.area{opacity:1 !important;transform:none !important}
  .report-bar i{width:100% !important}
  .check-foot .bar i{width:100% !important}
  .res{opacity:1 !important}
}

/* very narrow phones: keep two columns, stack the icon above the label */
@media (max-width:380px){
  .tool{flex-direction:column;align-items:flex-start;gap:7px;padding:10px}
  .tool .nm{font-size:11.5px;line-height:1.25}
  .tool .ct{font-size:9.5px}
  .tool .ic{width:26px;height:26px;border-radius:7px}
}

/* ================================================================
   V17: alternate buttons, card labels, drawer WhatsApp
   ----------------------------------------------------------------
   Every secondary action is white with a thick blue border and blue
   text. No white-and-black alternates anywhere.
   ================================================================ */

.btn.secondary,
.btn.secondary:visited,
.btn.light,
.btn.light:visited{
  background:#fff;
  color:var(--blue);
  border:2px solid var(--blue);
  font-weight:650;
  padding:10px 19px;          /* 2px border eats into the old padding */
}
.btn.secondary:hover,
.btn.light:hover{
  background:#EEF3FB;
  color:#33578F;
  border-color:#33578F;
  text-decoration:none;
}
.btn.secondary:focus-visible,
.btn.light:focus-visible{
  outline:3px solid rgba(69,112,183,.45);
  outline-offset:2px;
}
.btn.secondary .arw{color:var(--blue)}

/* nav header secondary, if used */
.nav a.btn.secondary{color:var(--blue)}

/* ------------------------------------------- small label inside cards */
.sec-label.sm{
  font-size:9.5px;letter-spacing:.11em;padding:5px 10px;margin-bottom:2px;gap:6px;
}
.sec-label.sm::before{width:4px;height:4px}
.icard .sec-label{background:#EEF3FB;border-color:#DEE7F4;color:var(--blue)}

/* the label must not stretch across the card */
.icard-body .sec-label{align-self:flex-start}

/* --------------------------------------------------- FAQ button spacing */
.faq-foot{margin-top:22px;text-align:center}
.faq-foot .btn{min-height:46px}

/* ------------------------------- drawer WhatsApp: readable, on-brand */
.drawer-cta .wa{
  background:#fff;
  color:var(--blue);
  border:2px solid var(--blue);
  font-weight:650;
  height:auto;
  line-height:1.2;
  padding:11px 16px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  white-space:nowrap;
  font-size:14.5px;
}
.drawer-cta .wa:hover{background:#EEF3FB;color:#33578F;border-color:#33578F}
.drawer-cta .wa svg{width:17px;height:17px;flex:none;fill:#25D366;stroke:none}

/* The drawer forces white text on every .btn link. These selectors carry an
   extra class so they match that specificity and actually win. */
.drawer .drawer-cta a.wa,
.drawer .drawer-cta a.wa:visited{
  color:var(--blue);
  background:#fff;
  border:2px solid var(--blue);
  white-space:normal;          /* was nowrap, which clipped at 320px */
  text-align:center;
  line-height:1.25;
  padding:11px 14px;
  min-height:46px;
}
.drawer .drawer-cta a.wa:hover,
.drawer .drawer-cta a.wa:focus-visible{
  color:#33578F;
  background:#EEF3FB;
  border-color:#33578F;
}
@media (max-width:360px){
  .drawer .drawer-cta a.wa{font-size:13.5px;padding:10px 12px}
}

/* article card photography: 16/9 to match the source files exactly, no crop */
.icard-img{aspect-ratio:16/9}
.icard-img img{display:block;width:100%;height:100%;object-fit:cover;object-position:center}
.icard:hover .icard-img img{transform:scale(1.015);transition:transform .35s ease}
@media (prefers-reduced-motion:reduce){.icard:hover .icard-img img{transform:none}}

/* tools: name and description must stack, not overlap.
   They were inline spans on one line, so the description box sat over the name. */
.tool{min-width:0}
.tool>span:last-child{display:flex;flex-direction:column;gap:2px;min-width:0}
.tool .nm{display:block;font-size:14px;font-weight:650;color:var(--ink);line-height:1.25;letter-spacing:-.005em}
.tool .ct{display:block;font-size:11.5px;color:#7A8699;line-height:1.35;margin-top:0}
@media (max-width:1024px){
  .tool .nm{font-size:13px}
  .tool .ct{font-size:11px}
}
@media (max-width:600px){
  .tool{gap:9px;padding:11px 12px}
  .tool .nm{font-size:12.5px;line-height:1.22}
  .tool .ct{font-size:10px;line-height:1.3}
}
@media (max-width:380px){
  .tool{gap:6px;padding:10px}
  .tool .nm{font-size:11.5px}
  .tool .ct{font-size:9.5px}
}
