/* Esfita — site styles
   Palette: cobalt (brand), ink, paper, rule. Type: Sora (headings), IBM Plex Sans (text). */

@font-face { font-family: "Sora"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/sora-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Sora"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/sora-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Sora"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/sora-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Plex"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/ibm-plex-sans-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Plex"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/ibm-plex-sans-latin-ext-400-normal.woff2") format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1E00-1E9F,U+20A0-20AB,U+20AD-20C0,U+2113,U+A720-A7FF; }
@font-face { font-family: "Plex"; font-weight: 400; font-style: italic; font-display: swap; src: url("../fonts/ibm-plex-sans-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Plex"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/ibm-plex-sans-latin-500-normal.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Plex"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/ibm-plex-sans-latin-ext-500-normal.woff2") format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1E00-1E9F,U+20A0-20AB,U+20AD-20C0,U+2113,U+A720-A7FF; }
@font-face { font-family: "Plex"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/ibm-plex-sans-latin-600-normal.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Plex"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/ibm-plex-sans-latin-ext-600-normal.woff2") format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1E00-1E9F,U+20A0-20AB,U+20AD-20C0,U+2113,U+A720-A7FF; }

:root {
  --cobalt: #0626B8;
  --cobalt-deep: #041B8C;
  --cobalt-tint: #E7EBFC;
  --ink: #0E1430;
  --ink-2: #3D4466;
  --ink-3: #5E6587;
  --paper: #F3F5FA;
  --rule: #D7DCEA;
  --white: #FFFFFF;
  --pass: #137248;
  --pass-bg: #E3F4EB;
  --flag: #9A4A06;
  --flag-bg: #FDF0DC;

  --font-head: "Sora", "Segoe UI", system-ui, sans-serif;
  --font-text: "Plex", "Segoe UI", system-ui, sans-serif;

  --step--1: 0.875rem;  /* 14 */
  --step-0: 1.0625rem;  /* 17 */
  --step-1: 1.3125rem;  /* 21 */
  --step-2: 1.625rem;   /* 26 */
  --step-3: 2.0625rem;  /* 33 */
  --step-4: clamp(2.125rem, 1.4rem + 2.6vw, 3.25rem);  /* 34 → 52 */

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --space-section: clamp(64px, 9vw, 120px);
  --radius-doc: 6px;
  --radius-ctl: 4px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body {
  margin: 0; background: var(--white); color: var(--ink);
  font-family: var(--font-text); font-size: var(--step-0); line-height: 1.6;
  font-feature-settings: "tnum" 0; text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--cobalt); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--cobalt-deep); }
:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); margin: 0; font-weight: 600; letter-spacing: -0.015em; }
h1 { font-size: var(--step-4); line-height: 1.08; letter-spacing: -0.03em; }
h2 { font-size: var(--step-3); line-height: 1.15; letter-spacing: -0.02em; }
h3 { font-size: var(--step-1); line-height: 1.3; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--radius-ctl); }
.skip-link:focus { top: 12px; color: #fff; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.measure { max-width: 64ch; }
.lede { font-size: var(--step-1); line-height: 1.5; color: var(--ink-2); }
.muted { color: var(--ink-3); }
.small { font-size: var(--step--1); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px; justify-content: center;
  font-family: var(--font-text); font-weight: 600; font-size: 1rem; line-height: 1;
  padding: 14px 22px; border-radius: var(--radius-ctl); border: 1.5px solid transparent;
  text-decoration: none; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s;
}
.btn-primary { background: var(--cobalt); color: #fff; }
.btn-primary:hover { background: var(--cobalt-deep); color: #fff; }
.btn-secondary { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-secondary:hover { background: var(--ink); color: #fff; }
.btn-light { background: #fff; color: var(--cobalt); }
.btn-light:hover { background: var(--cobalt-tint); color: var(--cobalt-deep); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.is-scrolled { border-bottom-color: var(--rule); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.brand img { width: 118px; height: auto; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.nav-list { list-style: none; display: flex; align-items: center; gap: 4px; }
.nav-link {
  display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px;
  font: 500 1rem/1 var(--font-text); color: var(--ink); text-decoration: none;
  background: none; border: 0; cursor: pointer; border-radius: var(--radius-ctl);
}
.nav-link:hover { color: var(--cobalt); }
.nav-link[aria-current="page"], .nav-link.is-active { color: var(--cobalt); box-shadow: inset 0 -2px 0 var(--cobalt); border-radius: 0; }
.nav-link svg { transition: transform .2s; }
.panel-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav-toggle { display: none; }

.has-panel { position: static; }
.nav-panel {
  position: absolute; left: 0; right: 0; top: 100%;
  background: #fff; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
  box-shadow: 0 24px 40px -24px rgba(14,20,48,.25);
  display: none;
}
.nav-panel.is-open { display: block; }
.panel-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; padding: 32px 0 24px; }
.panel-head { display: block; font: 600 var(--step-0)/1.3 var(--font-head); color: var(--ink); text-decoration: none; padding-bottom: 4px; }
.panel-head:hover { color: var(--cobalt); }
.panel-who { display: block; font-size: var(--step--1); color: var(--ink-3); margin-bottom: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--rule); }
.panel-col ul { list-style: none; display: grid; gap: 4px; }
.panel-col li a { display: block; padding: 8px 10px; margin: 0 -10px; border-radius: var(--radius-ctl); text-decoration: none; }
.panel-col li a:hover { background: var(--paper); }
.panel-col li strong { display: block; color: var(--ink); font-weight: 600; font-size: 1rem; }
.panel-col li span { display: block; color: var(--ink-3); font-size: var(--step--1); line-height: 1.4; }
.panel-foot { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0 24px; border-top: 1px solid var(--rule); font-size: var(--step--1); }
.panel-foot a { font-weight: 600; }

/* ---------- sections ---------- */
.section { padding: var(--space-section) 0; }
.section-paper { background: var(--paper); }
.section-tight { padding-top: 0; }
.section-head { max-width: 760px; margin-bottom: 48px; }
.section-head p { margin-top: 16px; font-size: var(--step-1); line-height: 1.5; color: var(--ink-2); }

/* ---------- hero ---------- */
.hero { padding: clamp(48px, 7vw, 96px) 0 clamp(64px, 8vw, 112px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { max-width: 15ch; }
.hero .lede { margin-top: 24px; max-width: 46ch; }
.hero-industries { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--rule); font-size: var(--step--1); color: var(--ink-3); }
.hero-industries a { color: var(--ink-2); font-weight: 500; text-decoration: none; }
.hero-industries a:hover { color: var(--cobalt); text-decoration: underline; }

.page-hero { padding: clamp(40px, 6vw, 80px) 0 clamp(48px, 6vw, 88px); border-bottom: 1px solid var(--rule); }
.page-hero h1 { max-width: 20ch; }
.page-hero .lede { margin-top: 20px; max-width: 60ch; }
.page-hero.has-figure .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.product-name { font: 600 var(--step-0)/1.3 var(--font-head); color: var(--cobalt); margin-bottom: 14px; }
.product-name span { color: var(--ink-3); font-family: var(--font-text); font-weight: 400; }

.crumbs { font-size: var(--step--1); color: var(--ink-3); margin-bottom: 28px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--rule); }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { color: var(--cobalt); text-decoration: underline; }

/* ---------- artefact: document in, decision out ---------- */
.artefact { margin: 0; position: relative; }
.doc {
  background: #fff; border: 1px solid var(--rule); border-radius: var(--radius-doc);
  box-shadow: 0 1px 0 var(--rule), 0 18px 36px -20px rgba(14,20,48,.28);
  font-size: 0.8125rem; line-height: 1.35; overflow: hidden; padding-bottom: 30px;
}
.doc-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 14px 18px 12px; border-bottom: 1px solid var(--rule); }
.doc-title { font: 600 0.875rem/1.3 var(--font-head); color: var(--ink); }
.doc-meta { color: var(--ink-3); white-space: nowrap; }
.doc-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.doc-table th { text-align: left; font-weight: 500; color: var(--ink-3); padding: 8px 18px 6px; border-bottom: 1px solid var(--rule); white-space: nowrap; }
.doc-table td { padding: 7px 18px; border-bottom: 1px solid #EDF0F7; color: var(--ink-2); }
.doc-table tr:last-child td { border-bottom: 0; }
.doc-table .num { text-align: right; white-space: nowrap; }
.doc-table tr.is-flag td { background: var(--flag-bg); color: var(--flag); }
.doc-table tr.is-pass td { background: var(--pass-bg); color: var(--pass); }
.doc-table tr.is-key td { color: var(--ink); font-weight: 600; }
.tag { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; font-size: 0.75rem; white-space: nowrap; }
.tag svg { flex: none; }
.tag-pass { color: var(--pass); }
.tag-flag { color: var(--flag); }

.result {
  position: relative; background: var(--cobalt); color: #fff; border-radius: var(--radius-doc);
  padding: 20px 22px 18px; margin: -28px 0 0 auto; width: min(88%, 380px);
  box-shadow: 0 18px 36px -18px rgba(6,38,184,.55);
}
.result::before { /* the crossbar of the Esfita "e" */
  content: ""; position: absolute; left: 22px; top: 0; width: 44px; height: 5px; background: #fff; border-radius: 0 0 2px 2px;
}
.result-label { font-size: 0.8125rem; color: #C9D1F7; margin: 6px 0 2px; }
.result-value { font: 600 1.375rem/1.25 var(--font-head); letter-spacing: -0.01em; }
.result-lines { list-style: none; margin-top: 12px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.22); display: grid; gap: 6px; font-size: 0.8125rem; font-variant-numeric: tabular-nums; }
.result-lines li { display: flex; justify-content: space-between; gap: 16px; }
.result-lines li span:first-child { color: #C9D1F7; }
.artefact figcaption { margin-top: 12px; font-size: 0.75rem; color: var(--ink-3); text-align: right; }

/* single orchestrated moment: the hero statement is read, flags light up, the decision lands */
@media (prefers-reduced-motion: no-preference) {
  .is-animated .doc-table tbody tr { animation: rowRead .5s ease-out both; }
  .is-animated .doc-table tbody tr.is-flag td { animation: rowFlag .6s ease-out both; animation-delay: inherit; }
  .is-animated .doc-table tbody tr:nth-child(1) { animation-delay: .25s; }
  .is-animated .doc-table tbody tr:nth-child(2) { animation-delay: .4s; }
  .is-animated .doc-table tbody tr:nth-child(3) { animation-delay: .55s; }
  .is-animated .doc-table tbody tr:nth-child(4) { animation-delay: .7s; }
  .is-animated .doc-table tbody tr:nth-child(5) { animation-delay: .85s; }
  .is-animated .doc-table tbody tr:nth-child(6) { animation-delay: 1s; }
  .is-animated .doc-table tbody tr:nth-child(7) { animation-delay: 1.15s; }
  .is-animated .doc-table tbody tr:nth-child(8) { animation-delay: 1.3s; }
  .is-animated .result { animation: resultIn .7s cubic-bezier(.2,.8,.2,1) 1.7s both; }
  .is-animated .result::before { animation: barIn .4s ease-out 2.25s both; transform-origin: left; }
}
@keyframes rowRead { from { opacity: .25; } to { opacity: 1; } }
@keyframes rowFlag { from { background: #fff; color: var(--ink-2); } to { background: var(--flag-bg); color: var(--flag); } }
@keyframes resultIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes barIn { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* ---------- industries (home + solutions) ---------- */
.industry-list { border-top: 1px solid var(--ink); }
.industry-row { display: grid; grid-template-columns: 1.1fr 1.4fr 1.3fr; gap: 32px; padding: 36px 0; border-bottom: 1px solid var(--rule); align-items: start; }
.industry-row h3 { font-size: var(--step-2); }
.industry-row h3 a { color: var(--ink); text-decoration: none; }
.industry-row h3 a:hover { color: var(--cobalt); }
.industry-who { color: var(--ink-3); font-size: var(--step--1); margin-top: 6px; }
.industry-row > p { color: var(--ink-2); margin: 0; }
.product-links { list-style: none; display: grid; gap: 2px; }
.product-links a { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid #EDF0F7; text-decoration: none; color: var(--ink); font-weight: 600; }
.product-links a span { color: var(--ink-3); font-weight: 400; font-size: var(--step--1); text-align: right; }
.product-links a:hover { color: var(--cobalt); }
.product-links li:last-child a { border-bottom: 0; }

/* ---------- split: copy beside artefact ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.split.reverse > :first-child { order: 2; }
.checklist { list-style: none; display: grid; gap: 14px; margin-top: 24px; }
.checklist li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; color: var(--ink-2); }
.checklist li svg { margin-top: 4px; color: var(--cobalt); }
.checklist strong { color: var(--ink); font-weight: 600; }

/* ---------- steps (real sequences only) ---------- */
.steps { list-style: none; counter-reset: step; display: grid; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--ink); }
.steps li { counter-increment: step; padding: 24px 24px 8px 0; position: relative; }
.steps li + li { padding-left: 24px; border-left: 1px solid var(--rule); }
.steps li::before { content: counter(step); display: block; font: 600 var(--step-2)/1 var(--font-head); color: var(--cobalt); margin-bottom: 16px; }
.steps h3 { font-size: var(--step-0); margin-bottom: 8px; }
.steps p { color: var(--ink-2); font-size: 0.9375rem; }

/* ---------- features ---------- */
.features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; }
.feature { padding: 24px 0; border-top: 1px solid var(--rule); }
.feature h3 { font-size: var(--step-0); margin-bottom: 8px; }
.feature p { color: var(--ink-2); margin: 0; }

.benefits { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: 32px 40px; }
.benefit h3 { font-size: var(--step-0); margin-bottom: 6px; padding-top: 14px; border-top: 3px solid var(--cobalt); display: inline-block; }
.benefit p { color: var(--ink-2); margin: 0; }

.also { margin-top: 48px; padding: 24px 28px; border-left: 3px solid var(--cobalt); background: #fff; }
.section-paper .also { background: #fff; }
.also p { margin: 0; color: var(--ink-2); }

/* ---------- product cards (industry pages) ---------- */
.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.product-card { display: flex; flex-direction: column; padding: 28px; background: #fff; border: 1px solid var(--rule); border-radius: var(--radius-doc); text-decoration: none; color: var(--ink); transition: border-color .15s; }
.product-card:hover { border-color: var(--cobalt); color: var(--ink); }
.product-card h3 { font-size: var(--step-1); }
.product-card .full { font-size: var(--step--1); color: var(--ink-3); margin-top: 4px; }
.product-card p { color: var(--ink-2); margin: 14px 0 18px; }
.product-card .go { margin-top: auto; font-weight: 600; color: var(--cobalt); }

/* ---------- facts ---------- */
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.fact { padding: 24px 24px 0 0; }
.fact + .fact { padding-left: 24px; border-left: 1px solid var(--rule); }
.fact strong { display: block; font: 600 var(--step-3)/1.1 var(--font-head); color: var(--cobalt); letter-spacing: -0.02em; }
.fact span { display: block; margin-top: 8px; color: var(--ink-2); font-size: 0.9375rem; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--ink); max-width: 820px; }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative; font: 600 var(--step-0)/1.4 var(--font-head); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; margin-top: -9px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -3px; }
.faq details p { color: var(--ink-2); padding-bottom: 20px; margin: 0; max-width: 68ch; }

/* ---------- trust band ---------- */
.trust { display: grid; grid-template-columns: 1fr 1.6fr; gap: 56px; align-items: start; }
.trust-points { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 40px; }
.trust-points h3 { font-size: var(--step-0); margin-bottom: 6px; }
.trust-points p { color: var(--ink-2); margin: 0; font-size: 0.9375rem; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--cobalt); color: #fff; padding: clamp(56px, 8vw, 96px) 0; position: relative; overflow: hidden; }
.cta-band .wrap { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: end; }
.cta-band h2 { color: #fff; max-width: 18ch; }
.cta-band p { color: #D3DAF8; font-size: var(--step-1); line-height: 1.5; margin: 18px 0 0; max-width: 46ch; }
.cta-band .btn-row { margin-top: 0; justify-content: flex-end; }
.cta-band .btn-secondary { color: #fff; border-color: rgba(255,255,255,.7); }
.cta-band .btn-secondary:hover { background: #fff; color: var(--cobalt); }

/* ---------- prose (about, legal) ---------- */
.prose { max-width: 70ch; }
.prose h2 { font-size: var(--step-2); margin: 48px 0 14px; }
.prose h3 { font-size: var(--step-1); margin: 32px 0 10px; }
.prose p, .prose li { color: var(--ink-2); }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1em; }
.prose li { margin-bottom: .5em; }
.prose > :first-child { margin-top: 0; }
.doc-updated { font-size: var(--step--1); color: var(--ink-3); margin-top: 16px; }

/* timeline (About) */
.timeline { list-style: none; border-left: 2px solid var(--rule); margin-left: 6px; }
.timeline li { position: relative; padding: 0 0 32px 32px; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: 6px; width: 12px; height: 12px; background: #fff; border: 2px solid var(--cobalt); border-radius: 50%; }
.timeline li:last-child { padding-bottom: 0; }
.timeline strong { display: block; font: 600 var(--step-1)/1.2 var(--font-head); color: var(--cobalt); margin-bottom: 6px; }
.timeline p { color: var(--ink-2); margin: 0; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 20px; }
.field { display: grid; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: 0.9375rem; }
.field .opt { font-weight: 400; color: var(--ink-3); }
.field input, .field select, .field textarea {
  font: 400 1rem/1.4 var(--font-text); color: var(--ink); background: #fff;
  border: 1.5px solid #BFC6DB; border-radius: var(--radius-ctl); padding: 12px 14px; width: 100%;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--cobalt); box-shadow: 0 0 0 3px var(--cobalt-tint); }
.field input:user-invalid, .field textarea:user-invalid { border-color: #B42318; }
.consent { display: grid; grid-template-columns: 20px 1fr; gap: 12px; align-items: start; font-size: 0.9375rem; color: var(--ink-2); }
.consent input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--cobalt); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-alert { display: none; padding: 14px 16px; border-radius: var(--radius-ctl); background: #FEECEB; color: #8A1C12; margin-bottom: 24px; font-weight: 500; }
.form-alert.is-visible { display: block; }
.contact-side { background: var(--paper); border-radius: var(--radius-doc); padding: 32px; }
.contact-side h2 { font-size: var(--step-1); margin-bottom: 12px; }
.contact-side address { font-style: normal; color: var(--ink-2); line-height: 1.7; }
.contact-side hr { border: 0; border-top: 1px solid var(--rule); margin: 24px 0; }
.contact-side ol { padding-left: 1.2em; color: var(--ink-2); }
.contact-side li { margin-bottom: 8px; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: #B9BFD6; padding: 72px 0 32px; font-size: 0.9375rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand img { width: 118px; }
.footer-brand p { margin-top: 18px; max-width: 32ch; color: #B9BFD6; }
.site-footer h2 { font: 600 0.9375rem/1.3 var(--font-head); color: #fff; margin-bottom: 14px; letter-spacing: 0; }
.site-footer ul { list-style: none; display: grid; gap: 8px; }
.site-footer a { color: #DDE1EF; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer address { font-style: normal; line-height: 1.7; }
.footer-sub { margin-top: 16px; color: #8C93AF; font-size: var(--step--1); }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; margin-top: 56px; padding-top: 24px; border-top: 1px solid #2A3155; font-size: var(--step--1); color: #8C93AF; }
.footer-base ul { display: flex; flex-wrap: wrap; gap: 20px; }

/* ---------- simple pages ---------- */
.center-page { min-height: 52vh; display: flex; align-items: center; padding: 80px 0; }
.center-page h1 { max-width: 18ch; }
.center-page .lede { margin-top: 18px; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .industry-row { grid-template-columns: 1fr 1.3fr; }
  .industry-row .product-links { grid-column: 1 / -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .steps { --cols: 2 !important; }
  .steps li:nth-child(3) { padding-left: 0; border-left: 0; }
  .steps li:nth-child(n+3) { border-top: 1px solid var(--rule); }
}
@media (max-width: 920px) {
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
  .nav-toggle {
    display: inline-flex; align-items: center; gap: 8px; background: none; border: 1.5px solid var(--ink);
    border-radius: var(--radius-ctl); padding: 9px 14px; font: 600 0.9375rem/1 var(--font-text); color: var(--ink); cursor: pointer;
  }
  .site-nav {
    display: none; position: fixed; inset: 76px 0 0 0; background: #fff; overflow-y: auto;
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 32px;
  }
  .site-nav.is-open { display: flex; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list > li { border-bottom: 1px solid var(--rule); }
  .nav-link { width: 100%; justify-content: space-between; padding: 18px 0; font-size: var(--step-1); font-family: var(--font-head); }
  .nav-link[aria-current="page"], .nav-link.is-active { box-shadow: none; }
  .nav-panel { position: static; box-shadow: none; border: 0; }
  .nav-panel > .wrap { padding: 0; }
  .panel-grid { grid-template-columns: 1fr; gap: 20px; padding: 0 0 20px; }
  .panel-foot { flex-direction: column; border-top: 0; padding-top: 0; }
  .nav-cta { margin-top: 24px; padding: 18px; font-size: 1.0625rem; }
  body.nav-open { overflow: hidden; }
  .hero-grid, .page-hero.has-figure .wrap, .split, .trust, .contact-grid, .cta-band .wrap { grid-template-columns: 1fr; }
  .split.reverse > :first-child { order: 0; }
  .cta-band .btn-row { justify-content: flex-start; }
  .features, .product-grid { grid-template-columns: 1fr; }
  .benefits { --cols: 2 !important; }
  .facts { grid-template-columns: 1fr 1fr; }
  .fact:nth-child(3) { padding-left: 0; border-left: 0; }
  .fact:nth-child(n+3) { margin-top: 24px; }
}
@media (max-width: 640px) {
  .industry-row { grid-template-columns: 1fr; gap: 16px; padding: 28px 0; }
  .steps { --cols: 1 !important; }
  .steps li, .steps li + li { padding: 20px 0 4px; border-left: 0; }
  .steps li + li { border-top: 1px solid var(--rule); }
  .benefits, .trust-points, .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .doc-table th, .doc-table td { padding-left: 12px; padding-right: 12px; }
  .doc-head { padding: 12px; flex-direction: column; gap: 2px; }
  .doc-table .hide-sm { display: none; }
  .result { width: 92%; }
  .contact-side { padding: 24px; }
}
@media print {
  .site-header, .site-footer, .cta-band, .nav-toggle { display: none; }
}

/* refinements */
.page-hero.has-figure h1 { font-size: clamp(2rem, 1.3rem + 1.9vw, 2.75rem); max-width: none; }
.product-grid.related { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

/* ---------- imagery ---------- */
.hero-bg { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }

.on-dark { position: relative; isolation: isolate; background: #0A0F48; color: #fff; border-bottom: 0; }
.on-dark::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(8,12,60,.94) 0%, rgba(8,12,60,.8) 40%, rgba(8,12,60,.3) 100%); }
.on-dark h1 { color: #fff; }
.on-dark .lede { color: #D3D9F6; }
.on-dark .crumbs, .on-dark .crumbs a { color: #BAC3EE; }
.on-dark .crumbs a:hover { color: #fff; }
.on-dark .crumbs li + li::before { color: #5C66AE; }
.on-dark .product-name { color: #A9B8FF; }
.on-dark .product-name span { color: #BAC3EE; }
.on-dark .btn-primary { background: #fff; color: var(--cobalt); }
.on-dark .btn-primary:hover { background: var(--cobalt-tint); color: var(--cobalt-deep); }
.on-dark .btn-secondary { color: #fff; border-color: rgba(255,255,255,.6); }
.on-dark .btn-secondary:hover { background: #fff; color: var(--ink); border-color: #fff; }
.on-dark .hero-industries { border-top-color: rgba(255,255,255,.18); color: #BAC3EE; }
.on-dark .hero-industries a { color: #fff; }
.on-dark .artefact figcaption { color: #AEB8E6; }
.on-dark .doc { border-color: transparent; box-shadow: 0 30px 60px -24px rgba(0,0,0,.6); }
.on-dark .result { box-shadow: 0 0 0 1px rgba(255,255,255,.28), 0 24px 48px -20px rgba(0,0,0,.6); }
.on-dark :focus-visible { outline-color: #fff; }
.hero.on-dark { padding-top: clamp(56px, 8vw, 112px); }
.page-hero.on-dark { padding-bottom: clamp(56px, 7vw, 104px); }

.cta-band { isolation: isolate; }
.cta-band .hero-bg img { opacity: .55; mix-blend-mode: screen; }
.cta-band .hero-bg { background: var(--cobalt); }

/* product images */
.media-frame { margin: 0; border-radius: var(--radius-doc); overflow: hidden; aspect-ratio: 4 / 3; background: var(--paper); }
.media-frame img { width: 100%; height: 100%; object-fit: cover; }
.media-frame.illus { background: #fff; border: 1px solid var(--rule); }
.media-frame.illus img { object-fit: contain; padding: 6%; }

.card-media { margin: -28px -28px 22px; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--radius-doc) var(--radius-doc) 0 0; background: var(--paper); border-bottom: 1px solid var(--rule); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.card-media.illus { background: #fff; }
.card-media.illus img { object-fit: contain; padding: 14px; }
.product-card { overflow: hidden; }
@media (prefers-reduced-motion: no-preference) { .product-card:hover .card-media img { transform: scale(1.04); } }

.industry-row.has-media { grid-template-columns: 180px 0.9fr 1.1fr 1.5fr; gap: 28px; }
.row-media { display: block; aspect-ratio: 4 / 3; border-radius: var(--radius-doc); overflow: hidden; background: #fff; border: 1px solid var(--rule); }
.row-media img { width: 100%; height: 100%; object-fit: cover; }
.row-media.illus img { object-fit: contain; padding: 8px; }

@media (max-width: 1080px) {
  .industry-row.has-media { grid-template-columns: 160px 1fr; }
  .industry-row.has-media > p, .industry-row.has-media .product-links { grid-column: 2; }
}
@media (max-width: 920px) {
  .on-dark::before { background: linear-gradient(180deg, rgba(8,12,60,.9) 0%, rgba(8,12,60,.72) 100%); }
}
@media (max-width: 640px) {
  .industry-row.has-media { grid-template-columns: 1fr; }
  .industry-row.has-media > p, .industry-row.has-media .product-links { grid-column: 1; }
  .row-media { aspect-ratio: 16 / 9; }
}
