/* Blueprint theme for the Godrix site. Load last (replaces skin-datasheet-v1.css).
   Cyanotype drafting sheet: deep blue paper, light grid, one orange pen colour.
   Fonts (linked in each page head): Barlow Condensed (headings), IBM Plex Sans (body), IBM Plex Mono (labels).
   To retune the look, edit the variables in :root only. */
:root,html:root{
  --bg:#0A2342; --bg2:#0C2748; --fg:#EAF2FF; --muted:#A6BCDC;
  --line:rgba(150,195,255,.26); --line-strong:rgba(190,220,255,.62);
  --card:#0E2D52; --card2:#0B284A;
  --accent:#FF6B2C; --accent-fg:#0A1A30; --accent2:#FF6B2C; --link:#FFB48F;
  --brand:#FF6B2C; --brand-dark:#E2551A; --brand-soft:#6F93C4; --brand-tint:#123A66;
  --ink-deep:#061A33; --hot:#FF6B2C; --mark:rgba(255,107,44,.28); --ok:#7FE3B0; --pen2:#FFB48F;
  --r:2px; --r-lg:2px; --r-btn:2px; --r-img:2px; --r-input:2px; --bw:1px;
  --shadow:0 24px 40px -24px rgba(0,0,0,.65);
  --nav-bg:rgba(10,35,66,.94); --nav-r:0;
  --font-d:'Barlow Condensed','Arial Narrow',system-ui,sans-serif;
  --font-b:'IBM Plex Sans',system-ui,-apple-system,'Segoe UI',sans-serif;
  --font-m:'IBM Plex Mono',ui-monospace,'SFMono-Regular',Menlo,monospace;
  --num-font:'Barlow Condensed','Arial Narrow',sans-serif;
  --hw:700; --ht:.005em; --hl:.95;
  --btn-sh:none; --btn-bd:1px solid #FF6B2C;
  color-scheme:dark;
}
/* paper and grid */
html:root body{background-color:var(--bg);color:var(--fg);font-family:var(--font-b);
  background-image:linear-gradient(rgba(150,195,255,.07) 1px,transparent 1px),linear-gradient(90deg,rgba(150,195,255,.07) 1px,transparent 1px),linear-gradient(rgba(150,195,255,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(150,195,255,.035) 1px,transparent 1px);
  background-size:120px 120px,120px 120px,24px 24px,24px 24px}
html:root ::selection{background:var(--accent);color:var(--accent-fg)}
html:root :focus-visible{outline:2px solid var(--accent);outline-offset:3px}
html:root a{color:inherit}
html:root .article a,html:root .prose a,html:root main p a{color:var(--link)}

/* type */
html:root h1,html:root h2,html:root h3,html:root h4{font-family:var(--font-d);font-weight:700 !important;letter-spacing:var(--ht);color:var(--fg)}
html:root h1,html:root h2{text-transform:uppercase;line-height:.95}
html:root h1{font-size:clamp(2.8rem,6vw,5.2rem)}
html:root .sec-h h2,html:root h2{font-size:clamp(2.1rem,4.4vw,3.6rem)}
html:root h3{font-size:1.35rem;line-height:1.1;text-transform:uppercase;letter-spacing:.02em}
html:root h4{letter-spacing:.02em}
html:root h1 em,html:root h2 em,html:root h3 em{font-style:normal;color:var(--accent);box-shadow:none;background:none}
html:root .lead,html:root .sec-h p,html:root p{color:inherit}
html:root .lead,html:root .sec-h p,html:root .muted,html:root .o-note,html:root .note{color:var(--muted)}
html:root .uf-eyebrow,html:root .eyebrow,html:root .h-kicker,html:root .xp-eyebrow,html:root .cat-pill,html:root .o-pill,html:root .tag{font-family:var(--font-m);font-weight:500;letter-spacing:.08em;text-transform:uppercase;color:var(--accent);background:transparent}
html:root .cat-pill,html:root .o-pill{border:1px solid var(--line-strong);border-radius:2px;padding:4px 8px;color:var(--pen2)}

/* drawing-sheet numbering on every page (decorative, headings stay the real text) */
html:root main{counter-reset:sheet}
html:root main > section{counter-increment:sheet;border-bottom:1px solid var(--line)}
html:root main > section .sec-h::before,html:root main > section.page-hero .wrap > div:first-child::before{content:"SHEET " counter(sheet,decimal-leading-zero);display:flex;align-items:center;gap:.8rem;font:500 .72rem/1 var(--font-m);letter-spacing:.1em;color:var(--accent);margin-bottom:4px}
html:root .sec,html:root .sec.alt,html:root .hero,html:root .page-hero,html:root .blog-hero{background:transparent}
html:root .sec.alt{background:rgba(6,26,51,.35)}

/* buttons */
html:root .btn{border-radius:2px;box-shadow:none !important;font-family:var(--font-m);font-weight:500;font-size:.88rem;letter-spacing:.02em}
html:root .btn.pri{background:var(--accent);color:var(--accent-fg);border:var(--btn-bd)}
html:root .btn.pri:hover{background:var(--fg);color:var(--bg);border-color:var(--fg)}
html:root .btn.ghost{background:transparent;color:var(--fg);border:1px solid var(--line-strong)}
html:root .btn.ghost:hover{border-color:var(--accent);color:var(--accent)}

/* nav as a drawing title block */
html:root .nav,html:root .nav-pill{background:var(--nav-bg) !important;border-bottom:1px solid var(--line-strong) !important;backdrop-filter:blur(8px)}
html:root .nav-pill .nav-in{background:transparent;border:0;box-shadow:none !important;border-radius:0}
html:root .nav nav a{color:var(--muted);font-family:var(--font-m);font-size:.8rem;letter-spacing:.04em;text-transform:uppercase}
html:root .nav nav a:hover,html:root .nav nav a[aria-current]{color:var(--fg)}
html:root .nav nav a[aria-current]{box-shadow:inset 0 -2px 0 var(--accent)}
html:root .nav .btn{padding:9px 14px}
html:root .brand img,html:root .logo img{filter:brightness(0) invert(1)}
html:root .menu-btn{color:var(--fg);border-color:var(--line-strong);background:transparent}
html:root .mega{background:var(--card);border:1px solid var(--line-strong);border-radius:2px;box-shadow:0 30px 50px -20px rgba(0,0,0,.7)}
html:root .mega h6{color:var(--accent);font-family:var(--font-m);letter-spacing:.08em}
html:root .mega-col a{color:var(--fg)}
html:root .mega-col a:hover{background:rgba(255,107,44,.12);color:var(--fg)}
html:root .mega-feat{background:var(--bg2);border:1px solid var(--line)}
html:root .mega-feat .mega-sub,html:root .mega-sub{color:var(--muted)}
html:root .has-mega .mega-t{color:var(--muted);background:transparent}
html:root .has-mega .mega-t:hover{color:var(--fg);background:transparent}

/* cards, tiles, panels: drawn frames, not floating cards */
html:root .card,html:root .tile,html:root .o-card,html:root .item,html:root .o-ex,html:root .person,html:root .v-cards > *,html:root .panel,html:root .pkg,html:root .o-scn,html:root .bk-band,html:root .cta-band,html:root .office,html:root .faq details,html:root details{background:rgba(14,45,82,.82);border:1px solid var(--line-strong);border-radius:2px;box-shadow:none;color:var(--fg)}
html:root .v-bento .item:nth-child(1){background:var(--accent);color:var(--accent-fg)}
html:root .v-bento .item:nth-child(1) *{color:var(--accent-fg)}
html:root .v-bento .item:nth-child(3){background:var(--brand-tint)}
html:root .cta-band{background:var(--accent);border-color:var(--accent);color:var(--accent-fg)}
html:root .cta-band h2,html:root .cta-band p,html:root .cta-band em{color:var(--accent-fg)}
html:root .cta-band .btn.pri{background:var(--accent-fg);color:var(--accent);border-color:var(--accent-fg)}
html:root .cta-band .btn.ghost{color:var(--accent-fg);border-color:rgba(10,26,48,.5)}
html:root input,html:root select,html:root textarea{background:var(--bg2);color:var(--fg);border:1px solid var(--line-strong);border-radius:2px}
html:root .chip,html:root .pills span,html:root .dchip{background:transparent;color:var(--fg);border:1px solid var(--line-strong);border-radius:2px;font-family:var(--font-m);font-size:.8rem}
html:root .dchip a{color:var(--fg)}
html:root .strip{background:rgba(6,26,51,.5);border-block:1px solid var(--line)}
html:root .strip *{color:var(--muted)}
html:root table{border-color:var(--line)}
html:root th{color:var(--accent);font-family:var(--font-m);font-weight:500;letter-spacing:.06em;text-transform:uppercase;font-size:.75rem}
html:root td,html:root th{border-color:var(--line)}

/* service-page steps drawn as a build sequence */
html:root .o-steps li{background:rgba(8,32,59,.75);border:1px solid var(--line-strong);border-radius:2px}
html:root .o-steps b{border-radius:2px;background:transparent;border:1px solid var(--accent);color:var(--accent);font-family:var(--font-d);font-size:1.2rem}
html:root .o-steps.fx-beam::before{background:var(--line-strong)}
html:root .o-list li,html:root .bl dt{color:var(--fg)}
html:root .bl dd,html:root .o-small{color:var(--muted)}

/* illustrations: keep light 'paper' cards readable on blue */
html:root .hcy,html:root .hero-art,html:root .gx{color:#0A2342}
html:root [stroke="#D98A1B"]{stroke:var(--accent)}html:root [fill="#D98A1B"]{fill:var(--accent)}
html:root [fill="#38288C"]{fill:#FF6B2C}html:root [stroke="#38288C"]{stroke:#FF6B2C}
html:root [fill="#B9B9F9"]{fill:#6F93C4}html:root [stroke="#B9B9F9"]{stroke:#6F93C4}
html:root [fill="#E7EFFF"]{fill:var(--bg)}html:root [fill="#F5F8FF"]{fill:var(--bg2)}

/* footer */
html:root .foot{background:var(--ink-deep);color:var(--muted);border-top:1px solid var(--line-strong)}
html:root .foot h3{color:var(--accent);font-family:var(--font-m);font-size:.78rem;letter-spacing:.1em;text-transform:uppercase}
html:root .foot a{color:var(--fg)}
html:root .foot a:hover{color:var(--accent)}

/* blog */
html:root .blog-tabs a{border-radius:2px;font-family:var(--font-m);font-size:.82rem}
html:root .blog-tabs a[aria-current]{background:var(--accent);color:var(--accent-fg);border-color:var(--accent)}
html:root .read-bar{background:var(--accent)}
html:root .article,html:root .prose{color:var(--fg)}
html:root .article h2,html:root .prose h2{font-size:clamp(1.7rem,3vw,2.4rem)}
html:root blockquote{border-left:3px solid var(--accent);color:var(--muted)}
html:root code,html:root pre{background:#08203B;color:#DBE9FF;border-radius:2px}
html:root .bk-card{background:rgba(14,45,82,.82);border:1px solid var(--line-strong);border-radius:2px}
html:root .bk-cv{background:radial-gradient(120% 80% at 50% 0,#163E6E 0,#0B284A 100%)}

/* booking dialog */
html:root .bk-dlg{background:var(--card);color:var(--fg);border:1px solid var(--line-strong);border-radius:2px}
html:root .bk-day,html:root .bk-slot{background:transparent;color:var(--fg);border:1px solid var(--line-strong);border-radius:2px}
html:root .bk-day[aria-selected=true],html:root .bk-slot[aria-pressed=true]{background:var(--accent);color:var(--accent-fg);border-color:var(--accent)}
html:root .bk-day.off,html:root .bk-slot.off{opacity:.35}
html:root .bk-x:hover{background:rgba(255,255,255,.08)}
html:root .bk-msg a{color:var(--link)}

/* ---------- Homepage additions (agent demo, exploded layers, parts list, sequence) ---------- */
.bp-spec{display:grid;grid-template-columns:repeat(3,auto);border:1px solid var(--line-strong);font:500 .74rem/1.3 var(--font-m);color:var(--muted);width:fit-content;max-width:100%;margin-top:22px}
.bp-spec > div{padding:.6rem 1rem;border-right:1px solid var(--line)}
.bp-spec > div:last-child{border-right:0}
.bp-spec b{display:block;color:var(--fg);font:700 1.7rem/1.1 var(--font-d)}

.ad{background:var(--card);border:1px solid var(--line-strong);box-shadow:0 30px 50px -20px rgba(0,0,0,.6);min-width:0}
.ad-top{display:flex;gap:8px;flex-wrap:wrap;padding:12px;border-bottom:1px solid var(--line);align-items:center}
.ad-top > span{font:500 .72rem/1 var(--font-m);letter-spacing:.1em;color:var(--muted);margin-right:4px}
.ad-chip{font:500 .8rem/1 var(--font-m);padding:8px 11px;border:1px solid var(--line);color:var(--muted);background:transparent;cursor:pointer;border-radius:2px}
.ad-chip[aria-pressed="true"]{background:var(--accent);color:var(--accent-fg);border-color:var(--accent)}
.ad-stage{position:relative;height:300px;background:radial-gradient(circle at 1px 1px,rgba(150,195,255,.25) 1px,transparent 0) 0 0/24px 24px}
.ad-stage svg{position:absolute;inset:0;width:100%;height:100%}
.ad-stage line{stroke:var(--line-strong);stroke-width:1.5}
.ad-stage line.on{stroke:var(--accent);stroke-width:2;stroke-dasharray:6 6;animation:adflow .6s linear infinite}
@keyframes adflow{to{stroke-dashoffset:-12}}
.ad-node{position:absolute;transform:translate(-50%,-50%);display:flex;flex-direction:column;align-items:center;gap:5px;width:92px;text-align:center;font:500 .7rem/1.15 var(--font-b);color:var(--muted)}
.ad-node .ic{width:40px;height:40px;display:grid;place-items:center;border:1px solid var(--line-strong);background:var(--bg);color:var(--fg);font:600 .7rem/1 var(--font-m);position:relative;transition:all .25s}
.ad-node .ic::after{content:"";position:absolute;right:-4px;top:-4px;width:8px;height:8px;border-radius:50%;background:var(--muted);opacity:.45;border:2px solid var(--card)}
.ad-node.used .ic::after{background:var(--ok);opacity:1}
.ad-node.on{color:var(--fg)}
.ad-node.on .ic{border-color:var(--accent);box-shadow:0 0 0 5px rgba(255,107,44,.18);transform:scale(1.08)}
.ad-hub{width:110px}
.ad-hub .ic{width:70px;height:70px;border-radius:50%;background:var(--accent);color:var(--accent-fg);border:0;font-size:.82rem}
.ad-hub .ic::after{display:none}
.ad-hub .lb{font:500 .64rem/1 var(--font-m);color:var(--muted);border:1px solid var(--line);padding:3px 6px;background:var(--card)}
.ad-hub.busy .ic{animation:adpulse 1.2s ease-in-out infinite}
@keyframes adpulse{50%{box-shadow:0 0 0 12px rgba(255,107,44,.2)}}
.ad-log{font:12.5px/1.55 var(--font-m);padding:12px 14px;border-top:1px solid var(--line);height:200px;overflow:auto;display:flex;flex-direction:column;gap:3px}
.ad-log div{display:grid;grid-template-columns:60px 96px minmax(0,1fr);gap:8px}
.ad-log time{color:var(--muted);font-variant-numeric:tabular-nums}
.ad-log b{font-weight:500;color:var(--accent)}
.ad-ap{display:flex;gap:12px;align-items:center;justify-content:space-between;flex-wrap:wrap;padding:12px 14px;border-top:1px solid var(--line);background:rgba(255,107,44,.12)}
.ad-ap p{font-size:.92rem;min-width:0;flex:1 1 240px;margin:0;color:var(--fg)}
.ad-ap p strong{display:block;font:500 .68rem/1 var(--font-m);letter-spacing:.1em;text-transform:uppercase;color:var(--pen2);margin-bottom:6px}
.ad-ap.done{background:rgba(127,227,176,.1)}
.ad-ap.done p strong{color:var(--ok)}
.ad-acts{display:flex;gap:8px}
.ad-acts .btn{padding:8px 13px;font-size:.82rem}
.ad-foot{display:flex;justify-content:space-between;gap:10px;padding:9px 14px;border-top:1px solid var(--line);font:.72rem/1.4 var(--font-m);color:var(--muted)}
.ad-foot button{all:unset;cursor:pointer;color:var(--accent)}
.ad [hidden]{display:none !important}
.hero-home .hero-in{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);gap:44px;align-items:center}
@media (max-width:960px){.hero-home .hero-in{grid-template-columns:1fr}}
@media (max-width:520px){.ad-stage{height:320px}.ad-node{width:70px;font-size:.6rem}.ad-node .ic{width:34px;height:34px;font-size:.62rem}.ad-hub .ic{width:56px;height:56px;font-size:.72rem}.ad-log div{grid-template-columns:52px 76px minmax(0,1fr);font-size:11.5px}.bp-spec{grid-template-columns:repeat(3,minmax(0,1fr));width:100%}.bp-spec > div{padding:.5rem .6rem}.bp-spec b{font-size:1.35rem}}

.bpx{position:relative;height:300vh}
.bpx-st{position:sticky;top:70px;height:calc(100vh - 70px);display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:1rem;align-items:center}
.bpx-read{display:flex;flex-direction:column;gap:12px;min-width:0}
.bpx-read .big{font:700 clamp(4rem,9vw,7.5rem)/.85 var(--font-d);color:var(--accent)}
.bpx-read h3{font-size:clamp(2rem,4vw,3rem);line-height:1}
.bpx-read p{color:var(--muted);max-width:30em;margin:0}
.bpx-read .q{font:500 .88rem/1.5 var(--font-m);color:var(--pen2)}
.bpx-dots{display:flex;gap:.4rem;margin-top:.6rem}
.bpx-dots i{width:2rem;height:4px;background:var(--line)}
.bpx-dots i.on{background:var(--accent)}
.bpx-scene{perspective:1500px;height:100%;display:grid;place-items:center;min-width:0}
.bpx-rig{position:relative;width:min(420px,74vw);aspect-ratio:3/2;transform-style:preserve-3d;transform:rotateX(58deg) rotateZ(-36deg)}
.bpx-plate{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:flex-end;border:1.5px solid var(--line-strong);background:rgba(14,45,82,.96);padding:.8rem 1rem;font:.74rem/1.45 var(--font-m);color:#CFE2FF;overflow:hidden;transition:border-color .3s,background .3s,transform .15s linear}
.bpx-plate b{display:block;font:700 1.4rem/1.1 var(--font-d);text-transform:uppercase;color:var(--fg);letter-spacing:.02em;margin-bottom:4px}
.bpx-plate.on{border-color:var(--accent);background:#3A2A2E}
.bpx-plate.on b{color:var(--accent)}
@media (max-width:860px){.bpx-st{grid-template-columns:1fr;grid-template-rows:auto 1fr;align-content:start;gap:0;padding-top:16px}}
@media (prefers-reduced-motion:reduce){.bpx{height:auto}.bpx-st{position:static;height:auto;padding-block:40px}.bpx-scene{height:380px}}

.bom-wrap{overflow-x:auto}
.bom{width:100%;border-collapse:collapse;font-size:.98rem;min-width:620px}
.bom th{text-align:left;padding:.7rem;border-bottom:1px solid var(--line-strong)}
.bom td{padding:.55rem .7rem;border-bottom:1px solid var(--line);vertical-align:top}
.bom td:first-child,.bom td:last-child{font:500 .82rem/1.5 var(--font-m);color:var(--muted);white-space:nowrap}
.bom td:nth-child(3){color:var(--muted)}
.bom tr.pt td{background:rgba(255,107,44,.1);font:700 1rem/1.2 var(--font-d);text-transform:uppercase;letter-spacing:.05em;color:var(--fg)}
.bom-note{color:var(--muted);font-size:.92rem;margin-top:18px;max-width:60em}

.seq{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border-top:1px solid var(--line-strong)}
.seq > div{padding:22px 22px 0 0;display:flex;flex-direction:column;gap:10px;min-width:0}
.seq time{font:500 .85rem/1 var(--font-m);color:var(--accent)}
.seq p{color:var(--muted);font-size:.96rem;margin:0}
.seq .you{font:500 .78rem/1.4 var(--font-m);color:var(--fg);border-left:3px solid var(--pen2);padding-left:10px}
@media (max-width:900px){.seq{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:24px}}
@media (max-width:520px){.seq{grid-template-columns:1fr}}

/* illustration panels stay light 'paper' laid on the blue sheet */
html:root .hcy{--bg:#F3F6FB;--bg2:#E9EFF8;--fg:#0A2342;--muted:#4A5E7E;--line:rgba(10,35,66,.16);--line-strong:rgba(10,35,66,.4);--card:#FFFFFF;--brand-tint:#E6EDF8;--brand-soft:#9DB3D3;--ink-deep:#0A2342;color:#0A2342}
html:root .hcy .chat-h b{color:#0A2342}
html:root .gx-ok rect{fill:#FFE6DA}
html:root .gx .bot{fill:#E6EDF8}
html:root .gx-cap{color:var(--muted)}
/* nav fits on one line */
html:root .nav nav{gap:4px 16px}
html:root .nav nav a{font-size:.72rem;letter-spacing:.03em}
html:root .nav .btn,html:root .nav-act .btn{white-space:nowrap}
@media (max-width:1180px){html:root .nav nav a{font-size:.68rem}html:root .nav nav{gap:4px 11px}}
html:root .hero-home h1 em{font-style:normal}
html:root .bom th{color:var(--accent);opacity:1;font:500 .72rem/1 var(--font-m);letter-spacing:.08em;text-transform:uppercase}
.ad-hub .lb{white-space:nowrap}
html:root th{color:var(--accent) !important}
html:root .tbl thead th{background:rgba(255,107,44,.1)}
html:root .tbl tbody th{color:var(--fg) !important}
html:root .cta-band h2 em,html:root .cta-band em{color:var(--accent-fg) !important;text-decoration:underline;text-decoration-thickness:3px;text-underline-offset:6px}
html:root .cat-pill{color:var(--pen2) !important}
html:root .gx{background:radial-gradient(circle,rgba(150,195,255,.2) 1px,transparent 1.4px) 0 0/18px 18px,rgba(8,32,59,.7)}
/* light leftovers from older stylesheets */
html:root .tech,html:root .tbl,html:root .prod{background:rgba(14,45,82,.82);border:1px solid var(--line-strong);border-radius:2px;box-shadow:none}
html:root .tech .what,html:root .prod .prod-sub{color:var(--pen2)}
html:root .prod-ic{background:transparent;border:1px solid var(--accent);color:var(--accent);border-radius:2px;font-family:var(--font-d)}
html:root .ui-win{--fg:#0A2342;--muted:#4A5E7E;--line:rgba(10,35,66,.16);color:#0A2342;border-radius:2px}
html:root .ui-win *{color:inherit}
html:root .ui-win h1,html:root .ui-win h2,html:root .ui-win h3,html:root .ui-win h4{color:#0A2342}
html:root .toc a,html:root .jump a{background:transparent;border:1px solid var(--line-strong);border-radius:2px;color:var(--fg);font-family:var(--font-m);font-size:.8rem}
html:root .toc a:hover,html:root .jump a:hover{background:var(--accent);color:var(--accent-fg);border-color:var(--accent)}
/* homepage delivery steps drawn as a build plan (Gantt bars) */
html:root .steps{grid-template-columns:1fr;gap:12px}
html:root .steps li{background:rgba(8,32,59,.75);border:1px solid var(--line-strong);border-radius:2px;box-shadow:none;padding:16px 20px;display:grid;grid-template-columns:auto 1fr;column-gap:18px;align-items:start}
html:root .steps li::before{content:"STAGE " counter(s);background:none;width:auto;height:auto;border-radius:0;display:block;font:500 .74rem/1.6 var(--font-m);color:var(--accent);margin:0;grid-row:span 2}
html:root .steps li h3,html:root .steps li p{grid-column:2;margin:0}
html:root .steps li p{margin-top:4px}
@media (min-width:900px){
 html:root .steps li{width:52%}
 html:root .steps li:nth-child(2){margin-left:16%}
 html:root .steps li:nth-child(3){margin-left:32%}
 html:root .steps li:nth-child(4){margin-left:48%}
}
/* mega menu text on the dark panel */
html:root .mega{color:var(--fg)}
html:root .mega-col a{color:var(--fg) !important;font-family:var(--font-b);text-transform:none;letter-spacing:0;font-size:.92rem}
html:root .mega-col a:hover{color:var(--accent) !important;background:transparent}
html:root .mega-feat{background:rgba(6,26,51,.6);border:1px solid var(--line-strong);border-radius:2px}
html:root .mega-feat b{color:var(--fg)}
html:root .mega-feat span{color:var(--muted)}
html:root .mega-feat .mega-sub{color:var(--accent) !important}
html:root .mega-feat h6,html:root .mega-feat small,html:root .mega-feat em{color:var(--accent)}
@media (max-width:980px){html:root .has-mega .mega-t{background:transparent;color:var(--fg);border:1px solid var(--line-strong);border-radius:2px}html:root .has-mega.open .mega{border-left-color:var(--accent)}}
/* industry solutions: padded sheets with space between */
html:root .stack{display:grid;gap:20px}
html:root .stack .item{padding:30px 32px}
html:root .stack .item .tagline{font:500 .72rem/1.3 var(--font-m);letter-spacing:.06em;text-transform:uppercase;color:var(--accent);margin-bottom:10px}
html:root .stack .item h2{margin-bottom:12px}
html:root .stack .item .d{color:var(--muted);margin-bottom:22px;max-width:48em}
html:root .stack .item .bl{gap:22px}
html:root .stack .item dt{color:var(--fg);font-weight:600;margin-bottom:6px}
html:root .stack .item dd{color:var(--muted);margin:0}
html:root .stack .item .link{margin-top:22px;display:inline-flex;color:var(--accent)}
@media (max-width:640px){html:root .stack .item{padding:22px 20px}}
html:root .toc{gap:8px}
/* buttons on the orange call-to-action band (beats the animated border style) */
html:root .cta-band .btn.pri{background:#0A1A30 !important;color:#FFFFFF !important;border:1px solid #0A1A30 !important}
html:root .cta-band .btn.pri:hover{background:#FFFFFF !important;color:#0A1A30 !important}
html:root .cta-band .btn.ghost{background:transparent !important;color:#0A1A30 !important;border:1px solid #0A1A30 !important}
html:root .cta-band .btn.ghost:hover{background:#0A1A30 !important;color:#FFFFFF !important}
html:root .cta-band p{color:rgba(10,26,48,.82)}
html:root .mega-feat span[style]{color:var(--accent) !important}
html:root .nav nav .mega-col a{font-family:var(--font-b);text-transform:none;letter-spacing:0;font-size:.92rem;color:var(--fg) !important}
html:root .nav nav .mega-col a:hover{color:var(--accent) !important;box-shadow:none}
html:root .nav nav .mega-feat a.mega-sub{text-transform:none;font-family:var(--font-b);letter-spacing:0;font-size:.86rem}
/* navbar aligned to the page content edges: logo starts and buttons end where the sections do */
html:root .nav-pill .nav-in{max-width:var(--maxw,1200px);width:100%;margin:0 auto;padding:12px max(20px,env(safe-area-inset-right,0px)) 12px max(20px,env(safe-area-inset-left,0px));gap:clamp(20px,2.6vw,40px)}
html:root .nav .brand{flex:0 0 auto;margin-right:clamp(4px,1.5vw,24px)}
html:root .nav nav{margin-inline:auto}
html:root .nav-pill{top:0}
@media (max-width:1240px) and (min-width:981px){html:root .nav nav{gap:4px 10px}html:root .nav nav a{font-size:.66rem;letter-spacing:.01em}html:root .nav-act .btn{padding:8px 11px;font-size:.78rem}}
.ad-node .ic svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.ad-node.on .ic{color:var(--accent)}
@media (max-width:520px){.ad-node .ic svg{width:17px;height:17px}}
.ad-node .ic{display:flex !important;align-items:center;justify-content:center;padding:0}.ad-node .ic svg{display:block;margin:auto;flex:0 0 auto}
.ad-node:not(.ad-hub) .lb{background:var(--card);padding:1px 5px;position:relative}
/* mobile menu */
@media (max-width:980px){
 html:root .nav-pill nav{border-top:1px solid var(--line-strong);gap:0;padding:6px 0 10px}
 html:root .nav-pill nav > a,html:root .nav-pill nav .has-mega > a{display:flex;align-items:center;min-height:48px;padding:0 12px;border-radius:0;border-bottom:1px solid var(--line);font:500 1rem/1.2 var(--font-b);text-transform:none;letter-spacing:0;color:var(--fg);background:transparent}
 html:root .nav-pill nav a[aria-current]{background:rgba(255,107,44,.12);color:var(--fg);box-shadow:inset 3px 0 0 var(--accent)}
 html:root .nav-pill nav .has-mega{display:flex;flex-wrap:wrap;align-items:center;border-bottom:1px solid var(--line)}
 html:root .nav-pill nav .has-mega > a{flex:1 1 auto;width:auto;border-bottom:0}
 html:root .has-mega .mega-t{float:none;width:44px;height:44px;margin:0 4px 0 0;flex:0 0 44px}
 html:root .has-mega.open .mega{flex:1 1 100%;margin:0 0 10px 12px;padding:6px 0 6px 14px;border-left:2px solid var(--accent);background:transparent;border-top:0;border-right:0;border-bottom:0;box-shadow:none}
 html:root .nav-pill nav .mega-col a{min-height:40px;display:flex;align-items:center;padding:0 4px;font-size:.95rem;border-bottom:0}
 html:root .mega-col h6{margin:12px 0 4px}
 html:root .mega-feat{margin:10px 0 4px;padding:16px}
}
html:root .ui-cap{color:var(--muted)}
/* agent demo: approve/edit are animated, not clickable */
html:root .ad-acts .btn{pointer-events:none;cursor:default;transition:transform .15s ease,box-shadow .2s ease}
html:root .ad-acts .btn.press{transform:scale(.92);box-shadow:0 0 0 4px rgba(255,107,44,.45)}
html:root .ad-acts .btn.ghost.press{box-shadow:0 0 0 4px rgba(255,255,255,.3)}

/* wider nav bar on large screens so every tab fits on one line */
@media (min-width:1241px){html:root .nav-pill .nav-in{max-width:1400px}html:root .nav nav{flex-wrap:nowrap}html:root .nav nav a{white-space:nowrap}}
