/* ============================================================
   BOSSTEK — premium design system
   Built to the Premium Web Design brain: dark-luxury depth,
   Cabinet Grotesk + DM Sans, one accent, cinematic motion.
   ============================================================ */
:root {
  /* base — tinted off-black, never #000 */
  --bg:        #070B12;
  --bg-2:      #0E141C;
  --panel:     #111820;
  --panel-2:   #161E27;
  --border:    rgba(255,255,255,0.08);
  --border-2:  rgba(255,255,255,0.04);
  --border-3:  rgba(255,255,255,0.16);
  --text:      #F5F6F8;
  --text-2:    #B6BCC6;
  --text-3:    #6E7682;
  /* Bosstek brand accents */
  --teal:      #12B0C4;
  --accent:    #3B8EE0;   /* primary action blue */
  --accent-2:  #2647CF;   /* cobalt */
  --sky:       #6FB9EE;
  --grad:      linear-gradient(120deg, var(--teal), var(--accent) 52%, var(--accent-2));
  --shadow-md: 0 12px 40px rgba(0,0,0,0.4);
  --shadow-lg: 0 24px 64px rgba(0,0,0,0.55), 0 0 0 1px rgba(255,255,255,0.04);
  /* legacy aliases so older markup stays coherent in the dark theme */
  --paper: var(--bg-2);
  --white: var(--panel);
  --ink:   var(--bg);
  --navy:  var(--panel);
  --blue:  var(--sky);
  --cobalt: var(--accent-2);
  --slate: var(--text-2);
  --line:  var(--border);
  /* type scale (Major Second, fluid) */
  --fs-display: clamp(2.75rem, 1.4rem + 6vw, 5.5rem);
  --fs-h1:      clamp(2.25rem, 1.25rem + 4vw, 4rem);
  --fs-h2:      clamp(1.75rem, 1rem + 3vw, 2.9rem);
  --fs-h3:      clamp(1.375rem, 1rem + 1.5vw, 1.85rem);
  --fs-h4:      clamp(1.125rem, 0.95rem + 0.7vw, 1.35rem);
  --fs-body:    clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  --fs-small:   0.875rem;
  --fs-eyebrow: 0.75rem;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'DM Sans', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text-2);
  font-size: var(--fs-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1,h2,h3,h4,.display,.brand { font-family: 'Cabinet Grotesk','DM Sans',sans-serif; color: var(--text); }
h1,h2,h3,h4,[class*="title"] { text-wrap: balance; }
p,li,blockquote,figcaption { text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container,.wrap { width: min(1200px, 92vw); margin: 0 auto; }
.num { font-variant-numeric: tabular-nums; }

.eyebrow {
  display: inline-block; font-weight: 700; font-size: var(--fs-eyebrow);
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--teal);
  font-family: 'DM Sans',sans-serif;
}
.display { font-weight: 900; font-size: var(--fs-display); line-height: 0.98; letter-spacing: -0.02em; }
h1 { font-weight: 800; font-size: var(--fs-h1); line-height: 1.02; letter-spacing: -0.02em; }
h2 { font-weight: 800; font-size: var(--fs-h2); line-height: 1.05; letter-spacing: -0.015em; }
h3 { font-weight: 700; font-size: var(--fs-h3); line-height: 1.15; letter-spacing: -0.01em; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55rem; cursor: pointer;
  font-family: 'DM Sans',sans-serif; font-weight: 600; font-size: 1rem;
  padding: 1rem 1.6rem; border-radius: 999px; border: 1px solid transparent;
  transition: transform .18s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}
.btn svg { width: 20px; height: 20px; }
.btn--primary { color: #fff; background: var(--grad); box-shadow: 0 8px 30px -8px rgba(59,142,224,.55), inset 0 1px 0 rgba(255,255,255,.18); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -10px rgba(59,142,224,.7), inset 0 1px 0 rgba(255,255,255,.18); }
.btn--ghost { color: var(--text); border-color: var(--border-3); background: rgba(255,255,255,.03); }
.btn--ghost:hover { transform: translateY(-2px); background: rgba(255,255,255,.08); }
.btn--lg { padding: 1.15rem 2rem; font-size: 1.08rem; }
.link-arrow { color: var(--sky); font-weight: 600; font-size: var(--fs-small); display: inline-flex; align-items: center; gap: .4rem; transition: gap .2s ease; }
.link-arrow:hover { gap: .7rem; }
.link-arrow svg { width: 16px; height: 16px; }

/* ---------- reveal motion ---------- */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.16,1,.3,1), transform .8s cubic-bezier(.16,1,.3,1); transition-delay: var(--d, 0ms); }
[data-reveal].is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { [data-reveal] { opacity: 1; transform: none; transition: none; } }

/* ---------- glow blobs ---------- */
.glow { position: absolute; pointer-events: none; z-index: 0; width: 640px; height: 640px; border-radius: 50%; filter: blur(150px); opacity: .28; background: radial-gradient(circle at center, var(--accent) 0%, transparent 65%); }
.glow--teal { background: radial-gradient(circle at center, var(--teal) 0%, transparent 65%); }
.glow--tr { top: -220px; right: -180px; }
.glow--bl { bottom: -240px; left: -200px; opacity: .2; }
.section { position: relative; isolation: isolate; }
.section > .container { position: relative; z-index: 1; }

/* ---------- nav ---------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: 18px 0; border-bottom: 1px solid transparent; transition: background .35s ease, backdrop-filter .35s ease, border-color .35s ease, padding .35s ease; }
.nav.is-scrolled { background: rgba(7,11,18,.72); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); border-bottom-color: var(--border); padding: 10px 0; }
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; transition: opacity .15s ease; }
.brand:hover { opacity: .85; }
.logo-img { height: 38px; width: auto; }
.nav__links { display: flex; align-items: center; gap: 30px; }
.nav__links a:not(.btn) { color: var(--text-2); font-weight: 500; font-size: .96rem; transition: color .2s; }
.nav__links a:not(.btn):hover { color: var(--text); }
.nav .btn { padding: .65rem 1.2rem; font-size: .92rem; }
.nav__burger { display: none; position: relative; z-index: 101; background: none; border: 0; cursor: pointer; width: 44px; height: 44px; flex-direction: column; gap: 6px; align-items: center; justify-content: center; }
.nav__burger span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .3s cubic-bezier(.16,1,.3,1), opacity .2s; }
.nav__burger[aria-expanded="true"] span:nth-child(1){ transform: translateY(4px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2){ transform: translateY(-4px) rotate(-45deg); }
.nav__overlay { position: fixed; inset: 0; z-index: 99; background: rgba(7,11,18,.97); backdrop-filter: blur(22px); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 26px; opacity: 0; pointer-events: none; transition: opacity .4s ease; }
.nav__overlay.is-open { opacity: 1; pointer-events: auto; }
.nav__overlay a:not(.btn) { font-family: 'Cabinet Grotesk',sans-serif; font-weight: 800; font-size: clamp(1.8rem,7vw,2.8rem); color: var(--text); opacity: 0; transform: translateY(20px); transition: opacity .5s ease, transform .5s cubic-bezier(.16,1,.3,1); transition-delay: calc(var(--i) * 70ms); }
.nav__overlay.is-open a:not(.btn) { opacity: 1; transform: none; }
@media (max-width: 900px){ .nav__links { display: none; } .nav__burger { display: inline-flex; } }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100dvh; display: flex; align-items: flex-end; padding: 0 0 clamp(64px,10vh,110px); overflow: hidden; }
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,11,18,.55) 0%, rgba(7,11,18,.35) 35%, rgba(7,11,18,.82) 78%, var(--bg) 100%), linear-gradient(90deg, rgba(7,11,18,.8) 0%, rgba(7,11,18,.15) 60%); }
.hero__content { position: relative; z-index: 2; max-width: 46rem; }
.hero__content > * + * { margin-top: 18px; }
.hero .display { margin-top: 20px; }
.hero__sub { font-size: 1.2rem; color: var(--text-2); max-width: 36rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero__note { font-size: .95rem; color: var(--text-3); margin-top: 20px; }
.hero__note strong { color: var(--sky); font-weight: 600; }
.hero__cue { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); color: var(--text-3); z-index: 2; animation: bob 2.4s ease-in-out infinite; }
.hero__cue svg { width: 26px; height: 26px; }
@keyframes bob { 0%,100%{ transform: translate(-50%,0);} 50%{ transform: translate(-50%,8px);} }

/* ---------- trust strip ---------- */
.trust { padding: 40px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg-2); }
.trust__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px,1fr)); gap: 28px; }
.trust__item { display: flex; flex-direction: column; gap: 5px; border-left: 1px solid var(--border); padding-left: 20px; }
.trust__item:first-child { border-left: none; padding-left: 0; }
.trust__num { font-family: 'Cabinet Grotesk',sans-serif; font-weight: 800; font-size: clamp(1.7rem,1rem+2.4vw,2.6rem); color: var(--text); line-height: 1; }
.trust__label { font-size: var(--fs-eyebrow); letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); }
@media (max-width: 620px){ .trust__item { border-left: none; padding-left: 0; } }

/* ---------- generic section ---------- */
.block { padding: clamp(72px, 10vw, 128px) 0; }
.section-head { max-width: 44rem; margin: 0 auto clamp(40px,6vw,64px); text-align: center; }
.section-head .eyebrow { margin-bottom: 14px; }
.section-head p { color: var(--text-2); font-size: 1.12rem; margin-top: 14px; }

/* problems */
.prob-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
@media (max-width: 820px){ .prob-grid { grid-template-columns: 1fr; } }
.prob { background: var(--panel); border: 1px solid var(--border); border-radius: 18px; padding: 30px; box-shadow: var(--shadow-md); }
.prob h3 { margin-bottom: 8px; }
.prob p { color: var(--text-2); font-size: .98rem; }
.ic-badge { width: 50px; height: 50px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 18px; background: linear-gradient(135deg, rgba(18,176,196,.16), rgba(38,71,207,.16)); border: 1px solid var(--border); color: var(--sky); }
.ic-badge svg { width: 26px; height: 26px; }

/* services — asymmetric bento (no three-equal row) */
.svc-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; grid-auto-rows: 1fr; gap: 18px; }
.svc { position: relative; display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--border); border-radius: 20px; padding: 28px; overflow: hidden; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.svc:hover { transform: translateY(-5px); border-color: var(--border-3); box-shadow: var(--shadow-lg); }
.svc__ic { width: 46px; height: 46px; color: var(--sky); margin-bottom: 16px; }
.svc__ic svg { width: 46px; height: 46px; }
.svc h3 { margin-bottom: 8px; }
.svc p { color: var(--text-2); font-size: .97rem; flex: 1; }
.svc .link-arrow { margin-top: 16px; }
.svc--feature { grid-row: span 2; background: linear-gradient(160deg, var(--panel-2), var(--panel)); }
.svc--feature::after { content:""; position: absolute; inset: 0; background: radial-gradient(600px 300px at 80% 0%, rgba(59,142,224,.18), transparent 60%); pointer-events: none; }
@media (max-width: 900px){ .svc-grid { grid-template-columns: 1fr 1fr; } .svc--feature { grid-row: auto; grid-column: 1 / -1; } }
@media (max-width: 600px){ .svc-grid { grid-template-columns: 1fr; } .svc--feature { grid-column: auto; } }

/* split / image-led rows */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px,5vw,72px); align-items: center; }
.split--rev .split__media { order: 2; }
@media (max-width: 900px){ .split { grid-template-columns: 1fr; gap: 32px; } .split--rev .split__media { order: 0; } }
.split__media { position: relative; border-radius: 22px; overflow: hidden; aspect-ratio: 4/3; border: 1px solid var(--border); box-shadow: var(--shadow-lg); }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split__body .eyebrow { margin-bottom: 14px; }
.split__body h2 { margin-bottom: 16px; }
.split__body p { color: var(--text-2); margin-bottom: 14px; }
.quote-line { border-left: 3px solid var(--teal); padding-left: 20px; margin: 20px 0; font-family: 'Cabinet Grotesk',sans-serif; font-weight: 700; font-size: 1.3rem; line-height: 1.35; color: var(--text); }

/* steps */
.steps { display: flex; flex-direction: column; gap: 14px; }
.step { display: flex; gap: 16px; align-items: flex-start; background: var(--panel); border: 1px solid var(--border); border-radius: 14px; padding: 18px 20px; }
.step .n { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-family: 'Cabinet Grotesk',sans-serif; font-weight: 800; color: #fff; background: var(--grad); }
.step h4 { margin-bottom: 2px; }
.step p { font-size: .94rem; color: var(--text-3); margin: 0; }

/* stat row */
.stat-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; margin: 28px 0; }
@media (max-width: 640px){ .stat-row { grid-template-columns: 1fr; } }
.stat { text-align: center; background: var(--panel); border: 1px solid var(--border); border-radius: 16px; padding: 26px 18px; box-shadow: var(--shadow-md); }
.stat .num, .stat .snum { font-family: 'Cabinet Grotesk',sans-serif; font-weight: 800; font-size: 2rem; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat .lbl { color: var(--text-3); font-size: .9rem; margin-top: 6px; }

/* final CTA */
.cta { position: relative; padding: clamp(90px,14vw,160px) 0; text-align: center; overflow: hidden; }
.cta__inner { max-width: 44rem; margin: 0 auto; position: relative; z-index: 1; }
.cta p { color: var(--text-2); font-size: 1.15rem; margin: 18px auto 32px; }
.cta__row { display: inline-flex; gap: 14px; flex-wrap: wrap; justify-content: center; }

/* footer */
.site-footer { padding: 72px 0 96px; border-top: 1px solid var(--border); background: var(--bg-2); }
.footer__grid { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 32px; padding-bottom: 28px; border-bottom: 1px solid var(--border-2); }
.footer__brand { max-width: 24rem; }
.footer__brand p { margin-top: 14px; font-size: .95rem; color: var(--text-3); }
.footer__contact { display: flex; flex-direction: column; gap: 8px; }
.footer__contact .eyebrow { margin-bottom: 4px; }
.footer__contact a { color: var(--text); font-weight: 500; }
.footer__contact a:hover { color: var(--sky); }
.footer__legal { padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: var(--fs-small); color: var(--text-3); }

/* sticky mobile tap-to-call */
.callbar { position: fixed; bottom: 0; left: 0; right: 0; z-index: 90; display: none; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: rgba(7,11,18,.9); backdrop-filter: blur(14px); border-top: 1px solid var(--border); }
.callbar a { display: flex; align-items: center; justify-content: center; gap: .5rem; width: 100%; padding: 14px; border-radius: 12px; background: var(--grad); color: #fff; font-family: 'DM Sans',sans-serif; font-weight: 700; }
.callbar svg { width: 20px; height: 20px; }
@media (max-width: 768px){ .callbar { display: block; } body { padding-bottom: 76px; } }

/* =========================================================
   DETAIL PAGES (voice-ai, webchat, etc.) — upgraded
   ========================================================= */
.detail-hero { position: relative; overflow: hidden; padding-top: 120px;
  background: radial-gradient(900px 460px at 82% 0%, rgba(59,142,224,.22), transparent 60%),
              radial-gradient(700px 420px at 6% 20%, rgba(18,176,196,.16), transparent 60%),
              linear-gradient(180deg, var(--bg), var(--bg-2)); }
.detail-hero .wrap { padding: 40px 0 64px; max-width: 54rem; position: relative; z-index: 1; }
.breadcrumb { display: inline-flex; align-items: center; gap: .5rem; font-size: .9rem; color: var(--text-3); margin-bottom: 20px; }
.breadcrumb a { color: var(--sky); }
.detail-hero .eyebrow { margin-bottom: 14px; }
.detail-hero h1 { margin-bottom: 18px; }
.detail-hero p.lead { font-size: 1.2rem; color: var(--text-2); margin-bottom: 28px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }
.detail-body { padding: clamp(48px,7vw,80px) 0; }
.detail-grid { max-width: 54rem; margin: 0 auto; }
.detail-body h2 { margin-bottom: 16px; }
.detail-body p.body { color: var(--text-2); font-size: 1.08rem; margin-bottom: 16px; }
.detail-body strong { color: var(--text); }
.pain-callout { background: var(--panel); border: 1px solid var(--border); border-left: 4px solid var(--teal); border-radius: 14px; padding: 24px 26px; margin: 22px 0; font-size: 1.08rem; color: var(--text-2); }
.pain-callout .big { display: block; font-family: 'Cabinet Grotesk',sans-serif; font-weight: 800; color: var(--text); font-size: 1.2rem; margin-bottom: 6px; }
.feature-list { display: grid; gap: 14px; margin: 22px 0; }
.feature-list .f { display: flex; gap: 16px; align-items: flex-start; background: var(--panel); border: 1px solid var(--border); border-radius: 14px; padding: 20px 22px; }
.feature-list .f .fi { flex: none; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; color: var(--sky); background: linear-gradient(135deg, rgba(18,176,196,.16), rgba(38,71,207,.16)); border: 1px solid var(--border); }
.feature-list .f .fi svg { width: 24px; height: 24px; }
.feature-list .f h4 { margin-bottom: 4px; }
.feature-list .f p { color: var(--text-2); font-size: .98rem; }

/* work / case cards */
.work-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 820px){ .work-grid { grid-template-columns: 1fr; } }
.case { border-radius: 20px; padding: 32px; position: relative; overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow-lg); }
.case.a { background: linear-gradient(150deg, #12233f, #1c2f5e); }
.case.b { background: linear-gradient(150deg, #0d3b45, #10505c); }
.case .tagline { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--sky); }
.case h3 { color: #fff; margin: 8px 0 10px; }
.case p { color: rgba(255,255,255,.85); }
.case ul { list-style: none; margin-top: 16px; display: flex; flex-direction: column; gap: 8px; }
.case li { display: flex; gap: .6rem; align-items: flex-start; color: rgba(255,255,255,.92); font-size: .96rem; }
.case li svg { flex: none; width: 18px; height: 18px; margin-top: 3px; color: var(--sky); }

/* ROI calculator */
.calc-section { background: var(--bg-2); padding: clamp(64px,9vw,110px) 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.calc { max-width: 62rem; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 820px){ .calc { grid-template-columns: 1fr; } }
.calc-inputs, .calc-output { border-radius: 20px; padding: 30px; }
.calc-inputs { background: var(--panel); border: 1px solid var(--border); }
.calc-inputs h3 { margin-bottom: 20px; }
.field { margin-bottom: 22px; }
.field label { display: block; font-family: 'DM Sans',sans-serif; font-weight: 600; font-size: .92rem; margin-bottom: 10px; color: var(--text); }
.field .hint { font-weight: 400; color: var(--text-3); font-size: .82rem; }
.input-money { position: relative; }
.input-money span { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--sky); font-weight: 600; }
.field input[type=number] { width: 100%; padding: .85rem 1rem; border-radius: 12px; border: 1px solid var(--border-3); background: rgba(255,255,255,.05); color: var(--text); font-size: 1.05rem; font-family: 'DM Sans',sans-serif; }
.input-money input { padding-left: 30px; }
.field input:focus { outline: none; border-color: var(--accent); background: rgba(255,255,255,.09); }
.seg { display: flex; gap: .5rem; }
.seg button { flex: 1; padding: .7rem; border-radius: 10px; border: 1px solid var(--border-3); background: rgba(255,255,255,.04); color: var(--text-2); cursor: pointer; font-family: 'DM Sans',sans-serif; font-weight: 600; font-size: .9rem; transition: all .15s ease; }
.seg button.active { background: var(--grad); color: #fff; border-color: transparent; }
.range-row { display: flex; align-items: center; gap: 1rem; }
.range-row input[type=range]{ flex: 1; accent-color: var(--teal); }
.range-row .rv { font-family: 'Cabinet Grotesk',sans-serif; font-weight: 800; color: var(--sky); min-width: 48px; text-align: right; }
.calc-output { background: linear-gradient(150deg, #12233f, #1f347f); border: 1px solid var(--border); display: flex; flex-direction: column; justify-content: center; }
.calc-output .oh { font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.7); }
.calc-output .lost { font-family: 'Cabinet Grotesk',sans-serif; font-weight: 900; font-size: clamp(2.4rem,6vw,3.4rem); line-height: 1.04; color: #fff; margin: 6px 0 4px; }
.calc-output .sub { color: rgba(255,255,255,.8); margin-bottom: 22px; }
.calc-output .recapture { background: rgba(255,255,255,.1); border-radius: 14px; padding: 18px 20px; }
.calc-output .recapture .rl { font-size: .85rem; color: rgba(255,255,255,.8); }
.calc-output .recapture .rv2 { font-family: 'Cabinet Grotesk',sans-serif; font-weight: 900; font-size: 1.7rem; color: #7ff0e0; }
.calc-disclaimer { text-align: center; color: var(--text-3); font-size: .82rem; margin: 24px auto 0; max-width: 48rem; }

/* FAQ */
.faq { max-width: 48rem; margin: 0 auto; }
.faq details { border: 1px solid var(--border); border-radius: 14px; padding: 0 22px; margin-bottom: 12px; background: var(--panel); }
.faq summary { cursor: pointer; font-family: 'Cabinet Grotesk',sans-serif; font-weight: 700; font-size: 1.05rem; color: var(--text); padding: 20px 0; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--sky); font-size: 1.5rem; font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--text-2); padding-bottom: 20px; margin-top: -4px; }

/* mini CTA + demo slots */
.mini-cta { text-align: center; max-width: 46rem; margin: 0 auto; }
.mini-cta p { color: var(--text-2); font-size: 1.1rem; margin: 14px 0 28px; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.other-services { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 40px; }
.other-services a { font-size: .9rem; font-weight: 600; color: var(--text-2); border: 1px solid var(--border); padding: .6rem 1.15rem; border-radius: 999px; transition: all .15s ease; }
.other-services a:hover { color: var(--text); border-color: var(--border-3); background: rgba(255,255,255,.04); }

.demo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 62rem; margin: 0 auto; }
@media (max-width: 760px){ .demo-grid { grid-template-columns: 1fr; } }
.demo-card { background: var(--panel); border: 1px solid var(--border); border-radius: 20px; padding: 30px; text-align: center; display: flex; flex-direction: column; box-shadow: var(--shadow-md); }
.demo-card .svc__ic { margin: 0 auto 12px; }
.demo-card h3 { margin-bottom: 6px; }
.demo-card p { color: var(--text-2); font-size: .96rem; margin-bottom: 22px; flex: 1; }
.demo-slot { border: 2px dashed var(--border-3); border-radius: 14px; background: rgba(255,255,255,.03); min-height: 200px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 24px; color: var(--text-3); }
.demo-slot .badge { font-weight: 700; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--sky); background: rgba(59,142,224,.12); padding: .3rem .7rem; border-radius: 999px; }
.demo-slot .pulse { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--grad); }
.demo-slot .pulse svg { width: 26px; height: 26px; }
.demo-slot small { font-size: .85rem; max-width: 20rem; }

/* ---- legacy class aliases (detail pages) ---- */
.btn-primary { color:#fff; background:var(--grad); box-shadow:0 8px 30px -8px rgba(59,142,224,.55), inset 0 1px 0 rgba(255,255,255,.18); }
.btn-primary:hover { transform:translateY(-2px); box-shadow:0 16px 40px -10px rgba(59,142,224,.7), inset 0 1px 0 rgba(255,255,255,.18); }
.btn-ghost { color:var(--text); border-color:var(--border-3); background:rgba(255,255,255,.03); }
.btn-ghost:hover { transform:translateY(-2px); background:rgba(255,255,255,.08); }
.btn-dark { color:#fff; background:var(--panel-2); border-color:var(--border-3); }
.btn-dark:hover { transform:translateY(-2px); background:var(--panel); }
.kicker { display:inline-block; font-weight:700; font-size:var(--fs-eyebrow); letter-spacing:.2em; text-transform:uppercase; color:var(--teal); font-family:'DM Sans',sans-serif; }
.section-head .kicker { margin-bottom:14px; }
