/* PARAM site — clean white, light display type, thin rules */
:root {
  --ink: #1C2A3A; --navy: #0B2A6F; --blue: #1D6CF2; --muted: #5B6676;
  --line: #E2E6EC; --bg: #FFFFFF; --bg-alt: #F5F6F8; --tint: #E8EEFB;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: Inter, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; font-weight: 400; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { max-width: 100%; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .wrap { padding: 0 16px; } }

/* announcement bar */
.announce { background: var(--tint); color: var(--navy); font-size: 14px; }
.announce .wrap { display: flex; align-items: center; justify-content: center; gap: 16px; min-height: 44px; flex-wrap: wrap; padding-top: 6px; padding-bottom: 6px; text-align: center; }
.announce a { text-decoration: none; font-weight: 600; font-size: 13px; border: 1px solid var(--navy); padding: 4px 12px; border-radius: 2px; white-space: nowrap; }
.announce a:hover { background: var(--navy); color: #fff; }

/* header */
header { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.97); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
header .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.logo { text-decoration: none; display: flex; align-items: baseline; gap: 8px; white-space: nowrap; }
.logo b { font-size: 22px; font-weight: 700; color: var(--navy); letter-spacing: .14em; }
.logo small { font-size: 12px; font-weight: 500; color: var(--muted); letter-spacing: .22em; text-transform: uppercase; }
nav { display: flex; gap: 28px; font-size: 15px; }
nav a { text-decoration: none; color: var(--ink); padding: 4px 0; border-bottom: 1px solid transparent; }
nav a:hover { border-bottom-color: var(--ink); }
@media (max-width: 1060px) { nav { display: none; } }
@media (max-width: 420px) { .logo small { display: none; } }

/* buttons */
.btn { display: inline-block; padding: 13px 26px; border-radius: 2px; font-weight: 500; text-decoration: none; font-size: 15px; white-space: nowrap; border: 1px solid var(--navy); transition: background .2s, color .2s; cursor: pointer; font-family: inherit; }
.btn.primary { background: var(--navy); color: #fff; }
.btn.primary:hover { background: #071d4f; }
.btn.line { background: transparent; color: var(--navy); }
.btn.line:hover { background: var(--navy); color: #fff; }
.btn.small { padding: 8px 16px; font-size: 14px; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; }

/* type */
.eyebrow { font-size: 13px; letter-spacing: .24em; text-transform: uppercase; font-weight: 500; color: var(--muted); margin: 0 0 22px; }
h1 { font-size: clamp(34px, 5.4vw, 68px); line-height: 1.06; font-weight: 300; text-transform: uppercase; letter-spacing: .01em; color: var(--ink); margin: 0 0 28px; }
h1 strong { font-weight: 600; color: var(--navy); }
h2 { font-size: clamp(28px, 3.4vw, 42px); line-height: 1.15; font-weight: 300; color: var(--ink); margin: 0 0 16px; letter-spacing: -.005em; }
h3 { font-size: 19px; font-weight: 500; color: var(--ink); margin: 0 0 10px; line-height: 1.3; }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); max-width: 560px; margin: 0 0 36px; font-weight: 300; }
.sub { color: var(--muted); margin: 0 0 48px; max-width: 680px; font-size: 17px; font-weight: 300; }

/* section label with rule */
.label { display: flex; align-items: center; gap: 18px; font-size: 13px; letter-spacing: .24em; text-transform: uppercase; font-weight: 500; color: var(--muted); margin: 0 0 22px; }
.label::after { content: ""; flex: 1; height: 1px; background: var(--line); }

section { padding: 96px 0; }
section.alt { background: var(--bg-alt); }
@media (max-width: 700px) { section { padding: 64px 0; } }

/* hero */
.hero { padding: 72px 0 88px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
.hero-media { margin: 0; aspect-ratio: 4 / 3.2; overflow: hidden; background: var(--bg-alt); }
.hero-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; gap: 40px; } .hero { padding: 48px 0 64px; } }

.facts { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: 72px; }
.facts div { padding: 22px 20px 22px 0; font-size: 15px; font-weight: 500; color: var(--ink); }
.facts div + div { padding-left: 20px; border-left: 1px solid var(--line); }
.facts span { display: block; font-size: 13.5px; color: var(--muted); font-weight: 300; }
@media (max-width: 800px) { .facts { grid-template-columns: 1fr 1fr; } .facts div:nth-child(3) { border-left: 0; padding-left: 0; } .facts div:nth-child(n+3) { border-top: 1px solid var(--line); } }

/* columns of items separated by rules */
.cols { display: grid; gap: 0 48px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
@media (min-width: 900px) { .cols.three { grid-template-columns: repeat(3, 1fr); } }
.item { border-top: 1px solid var(--ink); padding: 22px 0 36px; }
.item p { margin: 0; color: var(--muted); font-size: 15.5px; font-weight: 300; }
.item ul { margin: 14px 0 0; padding: 0; list-style: none; font-size: 15px; }
.item li { padding: 7px 0; border-bottom: 1px solid var(--line); color: var(--ink); font-weight: 300; }
.item li:last-child { border-bottom: 0; }
.idx { display: block; font-size: 13px; color: var(--muted); letter-spacing: .14em; margin-bottom: 14px; font-weight: 500; }
.item a.more { display: inline-block; margin-top: 12px; color: var(--navy); font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--navy); }

.tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.tags span { border: 1px solid var(--line); padding: 7px 14px; font-size: 14px; color: var(--ink); background: #fff; }

/* problem / approach */
.pa { display: grid; grid-template-columns: 90px 1fr; gap: 6px 12px; margin-top: 14px; font-size: 15px; }
.pa b { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; color: var(--muted); padding-top: 3px; }
.pa b.ok { color: var(--navy); }
.pa span { color: var(--ink); font-weight: 300; }

/* images */
.shots { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); margin-top: 56px; }
.shot { margin: 0; }
.shot div { aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-alt); }
.shot img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease; }
.shot:hover img { transform: scale(1.03); }
.shot figcaption { padding-top: 14px; font-size: 15px; color: var(--ink); border-bottom: 1px solid var(--line); padding-bottom: 14px; }
.wide-shot { margin: 0 0 72px; aspect-ratio: 21 / 8; overflow: hidden; }
.wide-shot img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* demo */
.demo-grid { display: grid; gap: 64px; grid-template-columns: 1fr 1.3fr; align-items: center; }
@media (max-width: 900px) { .demo-grid { grid-template-columns: 1fr; gap: 36px; } }
.live { display: inline-flex; align-items: center; gap: 10px; }
.live i { width: 8px; height: 8px; border-radius: 50%; background: #16a34a; box-shadow: 0 0 0 0 rgba(22,163,74,.6); animation: pulse 1.8s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(22,163,74,0); } 100% { box-shadow: 0 0 0 0 rgba(22,163,74,0); } }
.checks { list-style: none; padding: 0; margin: 0 0 36px; border-top: 1px solid var(--line); }
.checks li { padding: 12px 0; border-bottom: 1px solid var(--line); font-weight: 300; }
.player { position: relative; overflow: hidden; background: #000; aspect-ratio: 16 / 9; cursor: pointer; }
.player video { width: 100%; height: 100%; object-fit: cover; display: block; }
.player .play { position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: flex-start; padding: 20px; background: linear-gradient(transparent 60%, rgba(0,0,0,.55)); border: 0; cursor: pointer; font: inherit; }
.player .play span { background: #fff; color: var(--navy); padding: 12px 20px; font-weight: 500; font-size: 15px; border-radius: 2px; transition: background .2s, color .2s; }
.player:hover .play span { background: var(--navy); color: #fff; }
.player .tag { position: absolute; left: 20px; top: 18px; color: #fff; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; text-shadow: 0 1px 6px rgba(0,0,0,.6); }
dialog.vid { padding: 0; border: 0; background: #000; width: min(1100px, 94vw); max-height: 90vh; }
dialog.vid::backdrop { background: rgba(10,16,28,.88); }
dialog.vid video { width: 100%; display: block; max-height: 90vh; }
dialog.vid .x { position: absolute; right: 10px; top: 10px; z-index: 2; width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); font-size: 20px; cursor: pointer; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0 32px; }
.step { border-top: 1px solid var(--ink); padding: 20px 0 28px; }
.step .idx { margin-bottom: 10px; }
.step b { display: block; font-size: 20px; font-weight: 400; }
.step em { display: block; font-style: normal; color: var(--navy); font-size: 14px; margin: 2px 0 10px; }
.step p { margin: 0; font-size: 15px; color: var(--muted); font-weight: 300; }
.note { margin-top: 32px; padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 17px; font-weight: 300; }

/* call to action band */
.band { background: var(--navy); color: #fff; }
.band h2, .band .label, .band .sub { color: #fff; }
.band .sub { color: #C9D4EE; }
.band .label::after { background: rgba(255,255,255,.2); }
.band .step { border-top-color: rgba(255,255,255,.7); }
.band .step p, .band .idx { color: #C9D4EE; }
.band .step em { color: #9EC2FF; }
.band .btn.primary { background: #fff; color: var(--navy); border-color: #fff; }
.band .btn.primary:hover { background: var(--tint); }
.band .btn.line { color: #fff; border-color: rgba(255,255,255,.7); }
.band .btn.line:hover { background: #fff; color: var(--navy); }

/* contact list */
.links { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0 48px; }
@media (min-width: 900px) { .links { grid-template-columns: repeat(3, 1fr); } }
.links div { border-top: 1px solid var(--line); padding: 18px 0 22px; }
.links small { display: block; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.links a, .links p { font-size: 18px; font-weight: 300; text-decoration: none; color: var(--navy); margin: 0; }
.links a:hover { text-decoration: underline; }

/* footer */
footer { border-top: 1px solid var(--line); padding: 56px 0 32px; font-size: 14px; color: var(--muted); }
.foot { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 48px; }
.foot h4 { margin: 0 0 14px; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; font-weight: 500; color: var(--ink); }
.foot a { display: block; text-decoration: none; padding: 3px 0; }
.foot a:hover { color: var(--ink); }
.foot p { margin: 8px 0 0; font-weight: 300; max-width: 300px; }
.legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); padding-top: 24px; font-size: 13px; }
@media (max-width: 800px) { .foot { grid-template-columns: 1fr 1fr; } }

/* clients */
.clients { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 56px; padding: 28px 0 0; }
.clients small { font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
.clients b { font-size: 26px; font-weight: 600; letter-spacing: .12em; color: #8892A2; text-transform: uppercase; }

/* demo library */
.lib { display: grid; gap: 40px 28px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); align-items: start; }
@media (min-width: 900px) { .lib { grid-template-columns: repeat(3, 1fr); } }
.tile { all: unset; cursor: pointer; display: block; }
.tile .pic { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #e9ecf1; }
.tile img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.tile:hover img { transform: scale(1.03); }
.tile .pic span { position: absolute; left: 12px; bottom: 12px; background: #fff; color: var(--navy); font-size: 13px; font-weight: 500; padding: 7px 12px; border-radius: 2px; }
.tile .pic span::before { content: "\1F512\00a0"; }
.demo-open .tile .pic span::before { content: "\25B6\00a0"; }
.tile h3 { margin: 14px 0 4px; }
.tile p { margin: 0; color: var(--muted); font-size: 15px; font-weight: 300; }
.tile .meta { display: block; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-top: 14px; }
.tile:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
.vid-cap { color: #fff; margin: 0; padding: 10px 14px; font-size: 14px; }

/* ways to engage */
.ways { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0 32px; }
.way { border-top: 1px solid var(--ink); padding: 20px 0 28px; display: flex; flex-direction: column; gap: 8px; }
.way h3 { margin: 0; }
.way p { margin: 0 0 8px; color: var(--muted); font-size: 15px; font-weight: 300; flex: 1; }
.way a { align-self: flex-start; color: var(--navy); font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--navy); }

/* forms */
.lead-form label, #meetingForm label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.lead-form input, .lead-form select, .lead-form textarea,
#meetingForm input, #meetingForm select, #meetingForm textarea { display: block; width: 100%; margin-top: 6px; padding: 11px 12px; border: 1px solid #C9D0DA; border-radius: 2px; font: inherit; font-size: 15px; color: var(--ink); background: #fff; }
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus,
#meetingForm input:focus, #meetingForm select:focus, #meetingForm textarea:focus { outline: 2px solid var(--blue); outline-offset: -1px; border-color: transparent; }
.f2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
@media (max-width: 560px) { .f2 { grid-template-columns: 1fr; } }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.err { color: #B42318; font-size: 14px; margin: 10px 0 0; min-height: 1em; }
.fine { font-size: 12.5px; color: var(--muted); margin: 6px 0 0; }
.small { color: var(--muted); font-size: 15px; font-weight: 300; margin: 0 0 22px; }
dialog.lead-modal { border: 0; padding: 36px 32px 28px; width: min(620px, 94vw); max-height: 92vh; overflow: auto; border-radius: 2px; }
dialog.lead-modal::backdrop { background: rgba(10,16,28,.7); }
dialog.lead-modal h3 { font-size: 26px; font-weight: 300; margin-bottom: 8px; }
dialog.lead-modal .x { position: absolute; right: 12px; top: 10px; border: 0; background: none; font-size: 28px; cursor: pointer; color: var(--muted); }
@media (max-width: 560px) { dialog.lead-modal { padding: 28px 18px 20px; } }

/* meeting */
.meet-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; align-items: start; }
@media (max-width: 900px) { .meet-grid { grid-template-columns: 1fr; gap: 32px; } }
.meet-box { background: #fff; border: 1px solid var(--line); padding: 32px; }
@media (max-width: 560px) { .meet-box { padding: 20px 16px; } }
.slots { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 14px; }
.slots label { margin: 0; position: relative; }
#meetingForm .slots input { position: absolute; left: 0; top: 0; opacity: 0; width: 1px; height: 1px; margin: 0; padding: 0; }
.slots span { display: inline-block; border: 1px solid #C9D0DA; padding: 8px 14px; font-size: 14px; cursor: pointer; color: var(--ink); }
.slots input:checked + span { background: var(--navy); color: #fff; border-color: var(--navy); }
.slots input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }

/* certifications */
.cert { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: center; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 40px 0; }
@media (max-width: 800px) { .cert { grid-template-columns: 1fr; gap: 20px; } }
.cert h2 { margin-bottom: 8px; }
.cert p { margin: 0; color: var(--muted); font-weight: 300; }

/* floating CTA */
.float-cta { position: fixed; right: 18px; bottom: 18px; z-index: 20; box-shadow: 0 8px 24px rgba(11,42,111,.25); }
@media (max-width: 560px) { .float-cta { right: 12px; bottom: 12px; } }

/* robot cells */
.cells .shot div { aspect-ratio: 16 / 9; }
.cells .meta, .tile .meta { display: block; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-top: 16px; }
.cells h3 { margin: 6px 0 4px; }
.cells p { margin: 0; color: var(--muted); font-size: 15px; font-weight: 300; }
.cells .shot img[src*="cell-line"] { object-fit: contain; background: #fff; }
@media (min-width: 900px) { .shots.cells { grid-template-columns: repeat(3, 1fr); } }

/* mega menu */
nav .dd { position: relative; }
nav .dd > a::after { content: " \25BE"; font-size: 11px; color: var(--muted); }
nav .mega { display: none; position: absolute; left: -24px; top: 100%; padding-top: 22px; }
nav .dd:hover .mega, nav .dd:focus-within .mega { display: block; }
nav .mega div { background: #fff; border: 1px solid var(--line); box-shadow: 0 18px 40px rgba(16,24,40,.12); padding: 22px 24px; display: grid; grid-template-columns: repeat(2, 250px); gap: 2px 24px; }
nav .mega a { border: 0; padding: 8px 0; font-size: 14.5px; display: block; }
nav .mega a small { display: block; font-size: 12.5px; color: var(--muted); font-weight: 300; }
nav .mega a:hover { color: var(--navy); }
nav .mega .all { grid-column: 1 / -1; border-top: 1px solid var(--line); margin-top: 8px; padding-top: 12px; color: var(--navy); font-weight: 500; }

/* mobile menu */
.mnav { display: none; }
@media (max-width: 1060px) {
  .mnav { display: block; position: static; }
  .mnav summary { list-style: none; cursor: pointer; padding: 8px 12px; border: 1px solid var(--navy); color: var(--navy); font-size: 14px; font-weight: 500; }
  .mnav summary::-webkit-details-marker { display: none; }
  .mnav[open] summary { background: var(--navy); color: #fff; }
  .mnav .panel { position: absolute; left: 0; right: 0; top: 100%; max-height: calc(100vh - 72px); max-height: calc(100dvh - 72px); background: #fff; overflow: auto; padding: 8px 16px 40px; border-top: 1px solid var(--line); box-shadow: 0 20px 30px rgba(16,24,40,.12); z-index: 30; }
  .mnav .panel p { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin: 22px 0 4px; }
  .mnav .panel a { display: block; padding: 11px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-size: 16px; }
  .head-cta { display: none; }
}
.head-right { display: flex; gap: 10px; align-items: center; }

/* category & sector index cards */
.catgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 0 40px; }
@media (min-width: 900px) { .catgrid { grid-template-columns: repeat(3, 1fr); } }
.cat { display: block; text-decoration: none; border-top: 1px solid var(--ink); padding: 20px 0 30px; }
.cat .idx { margin-bottom: 10px; }
.cat h3 { display: flex; justify-content: space-between; gap: 12px; }
.cat h3::after { content: "\2192"; color: var(--navy); transition: transform .2s; }
.cat:hover h3::after { transform: translateX(4px); }
.cat:hover h3 { color: var(--navy); }
.cat p { margin: 0; color: var(--muted); font-size: 15px; font-weight: 300; }

/* hub pages */
.page-hero { padding: 64px 0 40px; }
.page-hero h1 { font-size: clamp(34px, 5vw, 60px); }
.jump { position: sticky; top: 72px; z-index: 5; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); }
.jump .wrap { display: flex; gap: 8px; overflow-x: auto; padding-top: 12px; padding-bottom: 12px; scrollbar-width: thin; }
.jump a { white-space: nowrap; text-decoration: none; font-size: 14px; border: 1px solid var(--line); padding: 6px 12px; color: var(--ink); }
.jump a:hover { border-color: var(--navy); color: var(--navy); }
.block { display: grid; grid-template-columns: 1fr 1.6fr; gap: 56px; padding: 64px 0; border-top: 1px solid var(--line); scroll-margin-top: 140px; }
.block:first-child { border-top: 0; }
@media (max-width: 900px) { .block { grid-template-columns: 1fr; gap: 24px; padding: 48px 0; } }
.block h2 { margin-bottom: 12px; }
.block .intro { color: var(--muted); font-weight: 300; font-size: 17px; margin: 0 0 24px; }
.block figure { margin: 0 0 8px; aspect-ratio: 16 / 9; overflow: hidden; background: var(--bg-alt); }
.block figure img { width: 100%; height: 100%; object-fit: cover; display: block; }
.block h4 { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; font-weight: 500; color: var(--muted); margin: 0 0 8px; }
.offer { list-style: none; padding: 0; margin: 0 0 28px; columns: 2 260px; column-gap: 32px; }
.offer li { padding: 9px 0; border-bottom: 1px solid var(--line); font-weight: 300; break-inside: avoid; }
.block .tags { margin: 0 0 28px; }
.block .tags a { border: 1px solid var(--line); padding: 7px 14px; font-size: 14px; text-decoration: none; background: #fff; }
.block .tags a:hover { border-color: var(--navy); color: var(--navy); }

/* ROI calculator */
.roi-top { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: end; justify-content: space-between; }
.pick { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--muted); min-width: min(100%, 360px); }
.pick select, .fields select { padding: 11px 12px; border: 1px solid #C9D0DA; font: inherit; font-size: 16px; color: var(--ink); background: #fff; border-radius: 2px; }
.scen { display: inline-flex; border: 1px solid var(--navy); }
.scen button { border: 0; background: #fff; color: var(--navy); padding: 10px 16px; font: inherit; font-size: 14px; cursor: pointer; }
.scen button + button { border-left: 1px solid var(--navy); }
.scen button.on { background: var(--navy); color: #fff; }
.roi-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 40px; align-items: start; }
@media (max-width: 1000px) { .roi-grid { grid-template-columns: 1fr; } }
.roi-out { position: sticky; top: 92px; background: #fff; border: 1px solid var(--line); padding: 24px; }
@media (max-width: 1000px) { .roi-out { position: static; } }
@media (max-width: 560px) { .roi-out { padding: 16px; } }
.roi-out h4, #roiApp > .wrap > h4, #dwsim h4 { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; font-weight: 500; color: var(--muted); margin: 26px 0 10px; }
.grp { background: #fff; border: 1px solid var(--line); margin-bottom: 10px; }
.grp summary { cursor: pointer; padding: 14px 18px; font-weight: 500; list-style: none; display: flex; justify-content: space-between; }
.grp summary::-webkit-details-marker { display: none; }
.grp summary::after { content: "+"; color: var(--muted); font-weight: 300; font-size: 20px; line-height: 1; }
.grp[open] summary::after { content: "\2212"; }
.grp .hint { margin: -4px 18px 10px; }
.grp .fields { padding: 0 18px 14px; }
.hint { font-size: 13.5px; color: var(--muted); font-weight: 300; margin: 0; }
.fields label { display: grid; grid-template-columns: 1fr 190px; gap: 12px; align-items: center; padding: 7px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.fields label:last-child { border-bottom: 0; }
@media (max-width: 560px) { .fields label { grid-template-columns: 1fr; gap: 4px; } }
.fields .in { display: flex; align-items: center; border: 1px solid #C9D0DA; background: #fff; }
.fields .in:focus-within { outline: 2px solid var(--blue); outline-offset: -1px; }
.fields input[type=number] { width: 100%; min-width: 0; border: 0; padding: 8px 10px; font: inherit; font-size: 15px; color: var(--ink); background: transparent; outline: none; }
.fields .in em { font-style: normal; font-size: 12px; color: var(--muted); padding: 0 10px; white-space: nowrap; }
.fields label.chk { display: flex; gap: 10px; grid-template-columns: none; }
.est { margin: 4px 18px 18px; padding: 16px; background: var(--bg-alt); }
.est h4 { margin: 0 0 6px; font-size: 14px; font-weight: 500; }
.est .fields { padding: 8px 0 0; }
.estout table, .tbl table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 10px 0; }
.estout td, .tbl td, .tbl th { padding: 7px 8px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.estout td:last-child, .tbl td:not(:first-child), .tbl th:not(:first-child) { text-align: right; white-space: nowrap; }
.tbl th { font-size: 12px; font-weight: 500; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.tbl { overflow-x: auto; background: #fff; }
.tot td { font-weight: 600; border-top: 1px solid var(--ink); }
.neg { color: #B42318; } .pos { color: #067647; }
.kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.kpi { border-top: 1px solid var(--line); padding: 12px 0; }
.kpi small { display: block; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.kpi b { display: block; font-size: 26px; font-weight: 400; color: var(--ink); line-height: 1.25; margin: 2px 0; }
.kpi span { font-size: 13px; color: var(--muted); font-weight: 300; }
.kpi.hi b { color: var(--navy); font-weight: 600; }
@media (max-width: 420px) { .kpis { grid-template-columns: 1fr; } }
.chart svg { width: 100%; height: auto; display: block; }
.chart text { font-size: 11px; fill: #5B6676; font-family: inherit; }
.chart .grid { stroke: #E2E6EC; } .chart .zero { stroke: #1C2A3A; stroke-width: 1; }
.chart .la { fill: none; stroke: #0B2A6F; stroke-width: 2.5; } .chart .lb { fill: none; stroke: #9AA3B2; stroke-width: 2; stroke-dasharray: 6 4; }
.chart .pay { stroke: #067647; stroke-dasharray: 3 3; } .chart .paylbl { fill: #067647; font-weight: 600; }
.chart .gl { stroke: #C9D0DA; } .chart .gllbl { fill: #8892A2; }
.chart .lq { fill: none; stroke: #1D6CF2; stroke-width: 2.5; } .chart .dq { fill: #1D6CF2; }
.chart .lp { fill: none; stroke: #9AA3B2; stroke-width: 2; } .chart .pur { fill: #8892A2; }
.chart .spec { stroke: #067647; stroke-dasharray: 4 3; } .chart .speclbl { fill: #067647; }
.chart .ax { fill: #8892A2; font-size: 11px; }
.legend { display: flex; gap: 18px; font-size: 13px; color: var(--muted); margin-bottom: 4px; flex-wrap: wrap; }
.legend span::before { content: ""; display: inline-block; width: 18px; height: 0; border-top: 3px solid #0B2A6F; vertical-align: middle; margin-right: 6px; }
.legend .lb::before { border-top: 2px dashed #9AA3B2; }
.bars .bar { display: grid; grid-template-columns: 170px 1fr 92px; gap: 10px; align-items: center; padding: 5px 0; font-size: 14px; }
.bars i { display: block; height: 10px; background: var(--bg-alt); }
.bars em { display: block; height: 100%; background: var(--navy); }
.bars b { font-weight: 500; text-align: right; }
@media (max-width: 560px) { .bars .bar { grid-template-columns: 1fr 80px; } .bars i { grid-column: 1 / -1; grid-row: 2; } }
.dw-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: start; }
@media (max-width: 900px) { .dw-grid { grid-template-columns: 1fr; } }
figure.pfd { margin: 0 0 16px; border: 1px solid var(--line); background: #fff; }
figure.pfd img { width: 100%; height: auto; display: block; }
.block figure img[src*="pfd-"] { object-fit: contain; background: #fff; }
.block figure:has(img[src*="pfd-"]) { border: 1px solid var(--line); background: #fff; }
.warn { color: #B42318; font-size: 14px; }
.formulas { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 0 40px; }
.formulas > div { border-top: 1px solid var(--ink); padding: 18px 0 24px; }
.formulas ul { list-style: none; padding: 0; margin: 0; }
.formulas li { padding: 7px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; font-weight: 300; }
.formulas code { font-family: "SFMono-Regular", Consolas, monospace; font-size: 13px; background: #fff; padding: 1px 5px; color: var(--navy); }
@media print {
  header, .announce, .float-cta, .band, footer, .page-hero .ctas, .roi-inputs, #dwsim .btn, .ctas { display: none !important; }
  .roi-grid { grid-template-columns: 1fr; } .roi-out { position: static; border: 0; }
  section { padding: 16px 0; } .alt { background: #fff; }
}

/* engineering drawings */
.block figure.drawing { aspect-ratio: auto; background: #fff; border: 1px solid var(--line); }
.block figure.drawing img { height: auto; object-fit: contain; }
figure.sheet { margin: 0 0 40px; background: #fff; border: 1px solid var(--line); }
figure.sheet img { width: 100%; height: auto; display: block; }
figure.sheet figcaption { padding: 14px 18px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); font-weight: 300; }
.sheet-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: start; }
@media (max-width: 900px) { .sheet-grid { grid-template-columns: 1fr; gap: 24px; } }
.sheet-grid h3 { margin-bottom: 14px; }

/* software */
nav .mega.sw > div { grid-template-columns: repeat(2, 280px); }
nav .mega .swcol { display: flex; flex-direction: column; }
nav .mega .swcol a { padding: 5px 0; }
nav .mega .swcol a.sh { font-weight: 600; color: var(--navy); border-bottom: 1px solid var(--line); margin-bottom: 4px; padding-bottom: 8px; }
.swgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 0 40px; }
@media (min-width: 1000px) { .swgrid { grid-template-columns: repeat(3, 1fr); } }
.swcard { border-top: 1px solid var(--ink); padding: 20px 0 36px; display: flex; flex-direction: column; scroll-margin-top: 140px; }
.swcard .swtag { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 8px; font-weight: 500; }
.swcard h3 { font-size: 22px; font-weight: 400; margin-bottom: 8px; }
.swcard h3 small { font-size: 13px; letter-spacing: .16em; color: var(--navy); font-weight: 600; }
.swcard > p { margin: 0 0 12px; color: var(--muted); font-size: 15px; font-weight: 300; }
.swcard ul { list-style: none; padding: 0; margin: 0 0 14px; font-size: 14.5px; flex: 1; }
.swcard li { padding: 7px 0; border-bottom: 1px solid var(--line); font-weight: 300; }
.swcard .for { font-size: 13.5px; color: var(--muted); margin: 0 0 10px; }
.swcard .tags { margin: 0 0 16px; }
.swcard .tags a { border: 1px solid var(--line); padding: 5px 10px; font-size: 13px; text-decoration: none; background: #fff; }
.swcard .btn { align-self: flex-start; }
.tags.sw a { border-color: #BFD3F7; color: var(--navy); background: #F3F7FE; }
.item .tags.sw a { text-decoration: none; padding: 6px 11px; font-size: 13.5px; border: 1px solid #BFD3F7; }

/* header fit with Software menu */
nav { gap: 22px; font-size: 14.5px; }
nav > a, nav .dd > a { white-space: nowrap; }
@media (max-width: 1180px) { nav { display: none; } .mnav { display: block; position: static; } .head-cta { display: none; } }
@media (max-width: 1180px) and (min-width: 1061px) {
  .mnav summary { list-style: none; cursor: pointer; padding: 8px 12px; border: 1px solid var(--navy); color: var(--navy); font-size: 14px; font-weight: 500; }
  .mnav summary::-webkit-details-marker { display: none; }
  .mnav[open] summary { background: var(--navy); color: #fff; }
  .mnav .panel { position: absolute; left: 0; right: 0; top: 100%; max-height: calc(100vh - 72px); background: #fff; overflow: auto; padding: 8px 24px 40px; border-top: 1px solid var(--line); box-shadow: 0 20px 30px rgba(16,24,40,.12); z-index: 30; columns: 3; }
  .mnav .panel p { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin: 22px 0 4px; }
  .mnav .panel a { display: block; padding: 9px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-size: 15px; break-inside: avoid; }
}
nav { align-items: center; } nav .dd > a { display: inline-block; padding: 4px 0; }
.block > div, .swcard, .item, .cat { min-width: 0; } .block h2, .swcard h3 { overflow-wrap: break-word; hyphens: auto; }
@media (max-width: 560px) { .btn { white-space: normal; text-align: center; } .float-cta { white-space: nowrap; } } .fields select { max-width: 100%; min-width: 0; } .fields label > span, .est { min-width: 0; }
.dw-grid > div, .roi-grid > div, .sheet-grid > div, .meet-grid > div, .demo-grid > div, .hero-grid > div { min-width: 0; }

/* PLC / DCS vendor cards */
.refplat { margin-top: 88px; }
.vgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
@media (min-width: 1000px) { .vgrid { grid-template-columns: repeat(3, 1fr); } }
.vcard { background: #fff; border: 1px solid var(--line); padding: 0 0 18px; min-width: 0; }
.vcard figure { margin: 0 0 16px; border-bottom: 1px solid var(--line); position: relative; }
.vcard figure img { width: 100%; height: auto; display: block; }
.vcard figcaption.credit { position: absolute; right: 8px; bottom: 6px; font-size: 11px; color: var(--muted); background: rgba(255,255,255,.85); padding: 1px 6px; }
.vcard .idx, .vcard h3, .vcard ul { margin-left: 20px; margin-right: 20px; }
.vcard .idx { color: var(--navy); font-weight: 600; }
.vcard h3 { margin-top: 4px; }
.vcard ul { list-style: none; padding: 0; margin-top: 10px; margin-bottom: 0; font-size: 14.5px; }
.vcard li { padding: 7px 0; border-bottom: 1px solid var(--line); font-weight: 300; }
.vcard li:last-child { border-bottom: 0; }

/* robot offline programming page */
.olpsteps { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
@media (min-width: 1100px) { .olpsteps { grid-template-columns: repeat(7, 1fr); } }
.olpsteps .step b { font-size: 18px; }

/* rounded image corners, site-wide */
:root { --img-r: 10px; }
.hero-media, .shot > div, .tile .pic, .wide-shot, .block figure, figure.sheet, figure.pfd,
.player, .vcard, dialog.vid, .roi-out, .meet-box { border-radius: var(--img-r); overflow: hidden; }
.hero-media img, .shot img, .tile .pic img, .wide-shot img, .block figure img, figure.sheet img, figure.pfd img { border-radius: 0; }
.vcard figure { border-radius: 0; }
