/* ==========================================================================
   Trifokal Space — site styles
   ========================================================================== */

@font-face { font-family: "Poppins"; font-style: normal; font-weight: 300; font-display: swap; src: url("../fonts/poppins-300.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/poppins-400.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/poppins-500.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/poppins-600.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/poppins-700.woff2") format("woff2"); }

:root {
  --navy: #253163;
  --navy-700: #1b2550;
  --navy-900: #0d1329;
  --orange: #f58224;
  --orange-600: #e36d10;
  --orange-050: #fff6ee;
  --ink: #1b1b1b;
  --ink-soft: #4a5068;
  --line: #e3e6ef;
  --surface: #ffffff;
  --surface-alt: #f5f6fa;
  --on-dark: #ffffff;
  --on-dark-soft: rgba(255, 255, 255, 0.74);

  --font: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 10px 30px -12px rgba(13, 19, 41, 0.22);
  --shadow-lg: 0 24px 50px -20px rgba(13, 19, 41, 0.35);
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 76px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3 { margin: 0 0 0.5em; line-height: 1.2; font-weight: 600; color: var(--navy-900); letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
a { color: var(--navy); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--orange-600); }
ul { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; border-radius: 4px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--orange); color: var(--navy-900); font-weight: 600; border-radius: var(--radius-sm); }
.skip-link:focus { top: 12px; }

.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon .fill, .icon-fill { fill: currentColor; stroke: none; }
.icon-sm { width: 1em; height: 1em; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55em;
  min-height: 48px; padding: 0.75em 1.5em;
  border: 2px solid transparent; border-radius: 999px;
  font-weight: 600; font-size: 0.975rem; line-height: 1.2; text-decoration: none;
  cursor: pointer; transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ease), box-shadow .2s;
}
.btn .icon { transition: transform .2s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn-primary { background: var(--orange); color: var(--navy-900); box-shadow: 0 8px 22px -10px rgba(245, 130, 36, .8); }
.btn-primary:hover { background: #ff9640; color: var(--navy-900); transform: translateY(-1px); }
.btn-ghost { border-color: rgba(255, 255, 255, .45); color: var(--on-dark); }
.btn-ghost:hover { border-color: var(--on-dark); background: rgba(255, 255, 255, .08); color: var(--on-dark); }
.btn-outline { border-color: var(--navy); color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--on-dark); }
.btn-sm { min-height: 42px; padding: 0.55em 1.2em; font-size: .9rem; }
.btn-block { width: 100%; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6em; margin-bottom: .9em;
  font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--orange-600);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--navy);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  transition: box-shadow .2s;
}
.site-header.is-scrolled { box-shadow: 0 8px 24px -12px rgba(0, 0, 0, .5); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); }
.brand img { width: auto; height: 52px; }

.nav-toggle {
  display: none; align-items: center; justify-content: center;
  width: 46px; height: 46px; padding: 0; border: 1px solid rgba(255,255,255,.2); border-radius: 10px;
  background: transparent; color: var(--on-dark); cursor: pointer;
}
.nav-toggle .icon { width: 24px; height: 24px; }
.nav-toggle .icon-close, .nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

.site-nav { display: flex; align-items: center; gap: 28px; }
.nav-list { display: flex; align-items: center; gap: 4px; }
.nav-link {
  display: inline-flex; align-items: center; gap: .3em;
  padding: .55em .85em; border: 0; border-radius: 8px; background: none;
  color: var(--on-dark-soft); font-size: .95rem; font-weight: 500; text-decoration: none; cursor: pointer;
  transition: color .15s, background-color .15s;
}
.nav-link:hover, .nav-link[aria-current="page"] { color: var(--on-dark); }
.nav-link[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--orange); border-radius: 0; }
.sub-toggle .icon { transition: transform .2s; }

.has-sub { position: relative; }
.sub-menu {
  position: absolute; top: calc(100% + 10px); left: 50%; min-width: 260px; padding: 8px;
  background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translate(-50%, 6px);
  transition: opacity .18s, transform .18s var(--ease), visibility .18s;
}
.sub-menu::before { content: ""; position: absolute; inset: -12px 0 auto; height: 12px; }
.sub-menu a { display: block; padding: .6em .9em; border-radius: 8px; color: var(--ink); font-size: .93rem; font-weight: 500; text-decoration: none; }
.sub-menu a:hover { background: var(--orange-050); color: var(--orange-600); }
.has-sub.is-open .sub-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.has-sub.is-open .sub-toggle .icon { transform: rotate(180deg); }
@media (hover: hover) and (min-width: 961px) {
  .has-sub:hover .sub-menu, .has-sub:focus-within .sub-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
  .has-sub:hover .sub-toggle .icon { transform: rotate(180deg); }
}

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: fixed; inset: var(--header-h) 0 auto 0; max-height: calc(100dvh - var(--header-h));
    flex-direction: column; align-items: stretch; gap: 16px; padding: 16px var(--gutter) 28px;
    overflow-y: auto; background: var(--navy); border-top: 1px solid rgba(255,255,255,.08);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .2s, transform .2s var(--ease), visibility .2s;
  }
  .site-nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-link { width: 100%; justify-content: space-between; padding: .9em .25em; font-size: 1.05rem; border-bottom: 1px solid rgba(255,255,255,.07); border-radius: 0; }
  .nav-link[aria-current="page"] { box-shadow: none; color: var(--orange); }
  .sub-menu {
    position: static; min-width: 0; padding: 0 0 8px; background: transparent; box-shadow: none;
    opacity: 1; visibility: visible; transform: none; display: none;
  }
  .has-sub.is-open .sub-menu { display: block; transform: none; }
  .sub-menu a { color: var(--on-dark-soft); padding: .65em 1em; }
  .sub-menu a:hover { background: rgba(255,255,255,.06); color: var(--on-dark); }
  .nav-cta { width: 100%; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  padding: clamp(72px, 12vw, 140px) 0 clamp(40px, 6vw, 64px);
  background: var(--navy-900); color: var(--on-dark);
}
.hero-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 60% 60%; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 70% at 85% 20%, rgba(245, 130, 36, .18), transparent 60%),
    linear-gradient(100deg, rgba(13, 19, 41, .9) 0%, rgba(13, 19, 41, .7) 45%, rgba(37, 49, 99, .2) 100%);
}
/* Site rule: hero content is full-width (not held to the 1200px column) — applies to every page's .hero */
.hero > .container { max-width: none; padding-inline: clamp(16px, 5vw, 96px); }
.hero-particles { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; }
.hero-inner { max-width: 1000px; }
.hero-kicker {
  margin-bottom: .5em;
  font-size: clamp(1.05rem, 2vw, 1.75rem); font-weight: 300; line-height: 1.3;
  color: var(--on-dark); text-shadow: 2px 0 2px rgba(0, 0, 0, .4);
}
.hero-title {
  margin-bottom: .35em;
  font-family: "Helvetica Neue", Helvetica, Arial, "Liberation Sans", sans-serif;
  font-size: clamp(2.6rem, 11vw, 6.75rem); font-weight: 700; line-height: .95;
  letter-spacing: -0.025em; text-transform: uppercase;
  color: var(--on-dark); text-shadow: 2px 0 2px rgba(0, 0, 0, .4);
}
.hero-title .line { display: block; }
.hero-title .accent { color: var(--orange); }
.lead { font-size: clamp(1.02rem, 1.6vw, 1.2rem); color: var(--on-dark-soft); max-width: 640px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  margin-top: clamp(48px, 8vw, 96px);
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius); overflow: hidden;
}
.stat { display: flex; gap: 14px; padding: 24px 22px; background: rgba(13, 19, 41, .7); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.stat-icon { width: 28px; height: 28px; color: var(--orange); margin-top: 6px; }
.stat p { margin: 0; }
.stat-value { font-size: clamp(1.6rem, 2.6vw, 2.1rem); font-weight: 700; line-height: 1.1; }
.stat-label { font-weight: 600; font-size: .95rem; }
.stat-note { font-size: .84rem; color: var(--on-dark-soft); }
@media (max-width: 900px) { .stats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .stat { padding: 18px 14px; gap: 10px; } .stat-icon { width: 22px; height: 22px; } }

/* ---------- Industries marquee ---------- */
.industries { padding: 56px 0 8px; overflow: hidden; }
.section-kicker { margin-bottom: 22px; font-size: .82rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); text-align: center; }
.marquee {
  display: flex; width: max-content;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.marquee-track { display: flex; gap: 16px; padding-right: 16px; animation: marquee 50s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-100%); } }
.industry { position: relative; width: 168px; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--navy); }
.industry img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.industry:hover img { transform: scale(1.06); }
.industry::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(13, 19, 41, .88)); }
.industry span { position: absolute; left: 14px; right: 14px; bottom: 12px; z-index: 1; color: var(--on-dark); font-weight: 600; font-size: .92rem; line-height: 1.25; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee { width: auto; overflow-x: auto; -webkit-mask-image: none; mask-image: none; padding-inline: var(--gutter); }
  .marquee-track { animation: none; }
  .marquee-track[aria-hidden="true"] { display: none; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section-alt { background: var(--surface-alt); }
.section-head { max-width: 720px; margin: 0 auto clamp(36px, 5vw, 56px); text-align: center; }
.section-head .eyebrow { justify-content: center; }
.section-head p:last-child { color: var(--ink-soft); margin-bottom: 0; }
.section-cta { margin: 40px 0 0; text-align: center; }

/* Solutions */
.solution-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.solution-card {
  position: relative; isolation: isolate; display: flex; align-items: flex-end;
  min-height: 380px; border-radius: var(--radius); overflow: hidden; color: var(--on-dark); background: var(--navy);
  box-shadow: var(--shadow);
}
.solution-card img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.solution-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(13,19,41,.15) 0%, rgba(13,19,41,.55) 40%, rgba(13,19,41,.95) 100%); transition: background-color .3s; }
.solution-card:hover img { transform: scale(1.06); }
.solution-body { padding: 26px 24px; }
.solution-icon { width: 44px; height: 44px; padding: 10px; margin-bottom: 16px; border-radius: 12px; background: var(--orange); color: var(--navy-900); }
.solution-card h3 { color: var(--on-dark); margin-bottom: .35em; }
.solution-card p { margin: 0; font-size: .92rem; color: var(--on-dark-soft); }
@media (max-width: 1100px) { .solution-grid { grid-template-columns: repeat(2, 1fr); } .solution-card { min-height: 320px; } }
@media (max-width: 640px) { .solution-grid { grid-template-columns: 1fr; } .solution-card { min-height: 280px; } }

/* Products — always a single row: 6 across on wide screens, swipeable row below that */
.container-wide { max-width: 1680px; }
.product-grid {
  --cols: var(--count, 6); --gap: 20px;
  display: grid; grid-auto-flow: column; gap: var(--gap);
  grid-auto-columns: calc((100% - (var(--cols) - 1) * var(--gap)) / var(--cols));
}
@media (max-width: 1279px) {
  .product-grid {
    --cols: 3.15;
    overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
    margin-inline: calc(var(--gutter) * -1); padding: 6px var(--gutter) 18px; scroll-padding-inline: var(--gutter);
    scrollbar-width: thin; scrollbar-color: var(--line) transparent;
  }
  .product-grid > li { scroll-snap-align: start; }
}
@media (max-width: 1000px) { .product-grid { --cols: 2.2; } }
@media (max-width: 640px)  { .product-grid { --cols: 1.15; --gap: 14px; } }
.product-card {
  position: relative; display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: transform .25s var(--ease), box-shadow .25s, border-color .25s;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.product-media { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--surface-alt); }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.product-card:hover .product-media img { transform: scale(1.04); }
.product-body { display: flex; flex-direction: column; flex: 1; padding: 18px 20px 20px; }
.product-body h3 { font-size: 1.05rem; }
.product-body h3 a { color: var(--navy-900); text-decoration: none; }
.product-body h3 a::after { content: ""; position: absolute; inset: 0; } /* whole card clickable */
.product-body p { flex: 1; font-size: .88rem; line-height: 1.6; color: var(--ink-soft); }
.link-arrow { display: inline-flex; align-items: center; gap: .45em; font-weight: 600; font-size: .92rem; color: var(--orange-600); }
.link-arrow .icon { transition: transform .2s var(--ease); }
.product-card:hover .link-arrow .icon { transform: translateX(4px); }
.product-card:focus-within { outline: 3px solid var(--orange); outline-offset: 2px; }
.product-card:focus-within a:focus-visible { outline: none; }

/* Split (why us) */
.split { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split-media img { width: 100%; max-width: 480px; margin-inline: auto; filter: drop-shadow(0 30px 40px rgba(13, 19, 41, .18)); }
.split-body p:not(.eyebrow) { color: var(--ink-soft); }
.checklist { display: grid; gap: 12px; margin: 24px 0 32px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; }
.icon-check { width: 24px; height: 24px; padding: 4px; margin-top: 1px; border-radius: 50%; background: var(--orange-050); color: var(--orange-600); stroke-width: 3; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split-media img { max-width: 360px; } }

/* Partners */
.partner-list { display: grid; grid-template-columns: repeat(3, minmax(0, 260px)); justify-content: center; gap: 20px; }
.partner {
  display: grid; place-items: center; height: 140px; padding: 20px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none;
  transition: box-shadow .2s, transform .2s var(--ease);
}
.partner:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.partner img { max-height: 96px; width: auto; object-fit: contain; }
.partner-name { font-weight: 600; font-size: 1.1rem; color: var(--navy); text-align: center; }
@media (max-width: 700px) { .partner-list { grid-template-columns: 1fr 1fr; } .partner-list li:last-child { grid-column: 1 / -1; } }

/* ---------- Contact ---------- */
.contact { position: relative; isolation: isolate; overflow: hidden; padding: clamp(64px, 9vw, 112px) 0; color: var(--on-dark); background: var(--navy-900); }
.contact-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.contact::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, rgba(13,19,41,.97) 0%, rgba(27,37,80,.92) 55%, rgba(37,49,99,.8) 100%); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 72px); align-items: start; }
.contact h2 { color: var(--on-dark); }
.contact .eyebrow { color: var(--orange); }
.contact-intro > p { color: var(--on-dark-soft); max-width: 460px; }
.contact-methods { display: grid; gap: 14px; margin-top: 32px; }
.contact-methods a {
  display: inline-flex; align-items: center; gap: 16px; color: var(--on-dark); text-decoration: none; font-weight: 600;
}
.contact-methods .icon { width: 48px; height: 48px; padding: 13px; border-radius: 50%; background: rgba(245,130,36,.15); color: var(--orange); transition: background-color .2s, color .2s; }
.contact-methods a:hover .icon { background: var(--orange); color: var(--navy-900); }
.contact-methods small { display: block; font-size: .78rem; font-weight: 500; color: var(--on-dark-soft); text-transform: uppercase; letter-spacing: .1em; }
.contact-methods span { overflow-wrap: anywhere; }

.contact-form { padding: clamp(22px, 4vw, 36px); background: var(--surface); color: var(--ink); border-radius: calc(var(--radius) + 4px); box-shadow: var(--shadow-lg); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; margin-bottom: 6px; font-size: .88rem; font-weight: 500; color: var(--navy-900); }
.optional { font-weight: 400; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: .7em .9em;
  background: var(--surface-alt); border: 1px solid var(--line); border-radius: var(--radius-sm);
  transition: border-color .15s, box-shadow .15s, background-color .15s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background: var(--surface); border-color: var(--navy); box-shadow: 0 0 0 3px rgba(37, 49, 99, .15); }
.field.has-error input, .field.has-error textarea { border-color: #c62828; }
.field-error { margin: 6px 0 0; font-size: .82rem; color: #c62828; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-alert { padding: 12px 16px; margin-bottom: 18px; border-radius: var(--radius-sm); font-size: .92rem; font-weight: 500; }
.form-alert-ok { background: #e8f5ee; color: #1b5e3b; }
.form-alert-err { background: #fdecec; color: #8e1c1c; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; gap: 0; } }

/* ---------- Footer ---------- */
.site-footer { padding: 64px 0 0; background: var(--navy-900); color: var(--on-dark-soft); font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; }
.footer-brand img { height: 64px; width: auto; margin-bottom: 18px; }
.footer-brand p { max-width: 320px; }
.footer-title { margin-bottom: 18px; font-size: .82rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark); }
.footer-links { display: grid; gap: 10px; }
.site-footer a { color: var(--on-dark-soft); text-decoration: none; transition: color .15s; }
.site-footer a:hover { color: var(--orange); }
.footer-contact { display: grid; gap: 14px; }
.footer-contact li { display: flex; gap: 12px; align-items: center; overflow-wrap: anywhere; }
.footer-contact .icon { color: var(--orange); }
.social { display: flex; gap: 10px; margin-top: 20px; }
.social a { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.15); border-radius: 50%; }
.social a:hover { background: var(--orange); border-color: var(--orange); color: var(--navy-900); }
.social .icon { width: 18px; height: 18px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 22px; border-top: 1px solid rgba(255,255,255,.08); font-size: .85rem; }
.footer-bottom p { margin: 0; }
.to-top { display: inline-flex; align-items: center; gap: .4em; }
.icon-up { transform: rotate(-90deg); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- Reveal on scroll (enabled by JS only) ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }

/* ==========================================================================
   Inner pages
   ========================================================================== */
.h2 { font-size: clamp(1.45rem, 2.4vw, 2rem); }
.container-narrow { max-width: 880px; }
.note { padding: 14px 18px; border-left: 3px solid var(--orange); background: var(--orange-050); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-size: .94rem; }

/* Page hero: text + media, same typography as the homepage hero */
.hero-page { padding: clamp(40px, 7vw, 96px) 0 clamp(56px, 8vw, 104px); background: linear-gradient(120deg, var(--navy-900) 0%, var(--navy-700) 55%, var(--navy) 100%); }
.hero-page::before { background: radial-gradient(55% 70% at 80% 40%, rgba(245, 130, 36, .16), transparent 65%); }
.hero-split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.hero-title-page { font-size: clamp(2.6rem, 8vw, 6rem); }
.hero-title .line-sub { margin-top: .12em; font-size: .5em; letter-spacing: -0.01em; line-height: 1.05; }
.hero-media img { width: 100%; max-width: 640px; margin-inline: auto; filter: drop-shadow(0 30px 50px rgba(0, 0, 0, .45)); }
.partner-badge { display: inline-flex; align-items: center; gap: 12px; margin: 32px 0 0; padding: 8px 16px 8px 8px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); font-size: .85rem; color: var(--on-dark-soft); }
.partner-badge img { height: 30px; width: auto; padding: 3px 8px; background: #fff; border-radius: 999px; }
@media (max-width: 900px) {
  .hero-split { grid-template-columns: 1fr; }
  .hero-media img { max-width: 460px; }
}

.breadcrumb { margin-bottom: 28px; font-size: .85rem; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.breadcrumb li { display: flex; align-items: center; gap: 8px; color: var(--on-dark-soft); }
.breadcrumb li + li::before { content: "/"; opacity: .5; }
.breadcrumb a { color: var(--on-dark-soft); text-decoration: none; }
.breadcrumb a:hover { color: var(--orange); }
.breadcrumb [aria-current] { color: var(--on-dark); }

/* Alternating feature rows */
.split-feature + .split-feature { margin-top: clamp(56px, 8vw, 104px); }
.split-feature .split-media img { max-width: 520px; filter: drop-shadow(0 24px 36px rgba(13, 19, 41, .16)); }
.split-reverse .split-media { order: 2; }
.split-feature .checklist { margin-bottom: 28px; }
@media (max-width: 860px) { .split-reverse .split-media { order: 0; } }

/* Feature cards */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-card { padding: 28px 26px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); transition: transform .25s var(--ease), box-shadow .25s, border-color .25s; }
.feature-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.feature-icon { width: 52px; height: 52px; padding: 13px; margin-bottom: 18px; border-radius: 14px; background: var(--orange-050); color: var(--orange-600); }
.feature-card h3 { font-size: 1.1rem; }
.feature-card p { margin: 0; font-size: .93rem; color: var(--ink-soft); }
@media (max-width: 1000px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .feature-grid { grid-template-columns: 1fr; } }

/* Dark band */
.section-dark { background: var(--navy); color: var(--on-dark); }
.section-dark h2 { color: var(--on-dark); }
.section-dark .eyebrow { color: var(--orange); }
.section-dark p { color: var(--on-dark-soft); }
.summary { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.checklist-grid { margin: 0; }
.section-dark .icon-check { background: rgba(245, 130, 36, .18); color: var(--orange); }
@media (max-width: 860px) { .summary { grid-template-columns: 1fr; } }

/* Lone-worker type cards */
.type-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: clamp(56px, 8vw, 96px); }
.type-card { padding: 20px 20px 24px; text-align: center; background: var(--surface-alt); border-radius: var(--radius); }
.type-card img { width: 100%; max-width: 200px; margin: 0 auto 18px; border-radius: var(--radius-sm); }
.type-card h3 { font-size: 1.05rem; margin-bottom: .3em; }
.type-card p { margin: 0; font-size: .92rem; color: var(--ink-soft); }
@media (max-width: 700px) { .type-grid { grid-template-columns: 1fr; } .type-card { display: grid; grid-template-columns: 96px 1fr; gap: 0 16px; text-align: left; align-items: center; } .type-card img { grid-row: span 2; margin: 0; } }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .2s, box-shadow .2s; }
.faq details[open] { border-color: transparent; box-shadow: var(--shadow); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 22px; font-weight: 600; color: var(--navy-900); cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq-icon { color: var(--orange-600); transition: transform .2s; }
.faq details[open] .faq-icon { transform: rotate(180deg); }
.faq details p { margin: 0; padding: 0 22px 20px; color: var(--ink-soft); }
.split-feature .split-media img.media-phone { max-width: 340px; }

/* Spec chips under hero text */
.spec-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.spec-chips li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); font-size: .85rem; color: var(--on-dark-soft); }
.spec-chips .icon { color: var(--orange); }
.spec-chips strong { color: var(--on-dark); font-weight: 600; }

/* Hero photo with slow crossfade (replaces Elementor's background slideshow) */
.hero-photo .fade-stack { position: relative; max-width: 440px; margin-inline: auto; aspect-ratio: 4 / 5; border-radius: 24px; overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0,0,0,.6); outline: 1px solid rgba(255,255,255,.12); outline-offset: 10px; }
.hero-photo .fade-stack img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; filter: none; }
.hero-photo .fade-stack img + img { animation: crossfade 12s ease-in-out infinite; }
@keyframes crossfade { 0%, 40% { opacity: 0; } 50%, 90% { opacity: 1; } 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .hero-photo .fade-stack img + img { animation: none; opacity: 0; } }
@media (max-width: 900px) { .hero-photo .fade-stack { max-width: 360px; } }

/* Tag pills */
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; }
.tag-list li { padding: 6px 14px; border-radius: 999px; background: var(--surface-alt); border: 1px solid var(--line); font-size: .85rem; font-weight: 500; color: var(--navy); }
.tag-list-sm { gap: 6px; margin-top: 16px; }
.tag-list-sm li { padding: 3px 10px; font-size: .76rem; background: var(--orange-050); border-color: transparent; color: var(--ink-soft); }

/* Numbered steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: 0; padding: 0; list-style: none; counter-reset: none; }
.step { position: relative; padding: 28px 24px 26px; background: var(--surface); border-radius: var(--radius); border: 1px solid var(--line); }
.step:not(:last-child)::after { content: ""; position: absolute; top: 52px; right: -21px; width: 22px; height: 2px; background: var(--orange); opacity: .5; }
.step-num { position: absolute; top: 18px; right: 20px; font-size: 2.6rem; font-weight: 700; line-height: 1; color: var(--surface-alt); -webkit-text-stroke: 1px var(--line); }
.step-icon { width: 50px; height: 50px; padding: 12px; margin-bottom: 18px; border-radius: 50%; background: var(--navy); color: var(--on-dark); }
.step h3 { font-size: 1.05rem; }
.step p { margin: 0; font-size: .92rem; color: var(--ink-soft); }
@media (max-width: 1000px) { .steps { grid-template-columns: repeat(2, 1fr); } .step:nth-child(2)::after { display: none; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } .step::after { display: none; } }

/* Spec tiles on dark band */
.spec-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.spec-grid li { display: flex; flex-direction: column; gap: 4px; padding: 24px; border-radius: var(--radius); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); }
.spec-grid .icon { width: 28px; height: 28px; margin-bottom: 8px; color: var(--orange); }
.spec-grid strong { font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 700; line-height: 1.1; color: var(--on-dark); }
.spec-grid span { font-size: .9rem; color: var(--on-dark-soft); }
@media (max-width: 400px) { .spec-grid li { padding: 18px; } }

.wide-shot { width: 100%; border-radius: calc(var(--radius) + 6px); box-shadow: var(--shadow-lg); }
.split-feature .split-media img.media-flat { filter: none; }

/* Landscape hero image frame */
.hero-frame img { width: 100%; max-width: 640px; border-radius: 22px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.6); outline: 1px solid rgba(255,255,255,.12); outline-offset: 10px; filter: none; }
.split-feature .split-media img.media-rounded { border-radius: calc(var(--radius) + 4px); box-shadow: var(--shadow-lg); filter: none; }

/* Data-flow diagram */
.flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; margin: 0 0 clamp(40px, 6vw, 64px); padding: 0; list-style: none; counter-reset: flow; }
.flow-node { position: relative; display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 0 8px; text-align: center; font-weight: 600; font-size: .92rem; color: var(--navy-900); }
.flow-icon { position: relative; z-index: 1; width: 72px; height: 72px; padding: 20px; border-radius: 50%; background: var(--surface); border: 2px solid var(--line); color: var(--navy); box-shadow: var(--shadow); }
.flow-node:last-child .flow-icon { background: var(--orange); border-color: var(--orange); color: var(--navy-900); }
.flow-node:not(:last-child)::after { content: ""; position: absolute; top: 36px; left: calc(50% + 40px); right: calc(-50% + 40px); border-top: 2px dashed var(--orange); }
@media (max-width: 760px) {
  .flow { grid-template-columns: 1fr; gap: 18px; max-width: 320px; margin-inline: auto; }
  .flow-node { flex-direction: row; text-align: left; gap: 18px; }
  .flow-icon { width: 56px; height: 56px; padding: 15px; }
  .flow-node:not(:last-child)::after { top: 56px; left: 27px; right: auto; height: 18px; border-top: 0; border-left: 2px dashed var(--orange); }
}

.feature-card-accent { border-top: 3px solid var(--orange); }
.card-note { margin-top: 14px !important; padding-top: 12px; border-top: 1px dashed var(--line); font-size: .8rem !important; font-style: italic; }
.fineprint { margin: 18px 0 0; text-align: center; font-size: .82rem; color: var(--ink-soft); }

/* Vehicle cards on dark band */
.vehicle-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.vehicle-card { padding: 30px 28px; border-radius: var(--radius); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); transition: background-color .25s, transform .25s var(--ease); }
.vehicle-card:hover { background: rgba(255,255,255,.1); transform: translateY(-3px); }
.vehicle-icon { width: 56px; height: 56px; padding: 14px; margin-bottom: 18px; border-radius: 14px; background: var(--orange); color: var(--navy-900); }
.vehicle-card h3 { color: var(--on-dark); }
.vehicle-card p { font-size: .93rem; }
.tag-list-dark li { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.12); color: var(--on-dark); font-size: .78rem; padding: 4px 11px; }
@media (max-width: 900px) { .vehicle-grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; } }

/* Fleet sizes */
.summary-light p:not(.eyebrow) { color: var(--ink-soft); }
.note-icon { display: flex; gap: 14px; align-items: flex-start; margin-top: 24px; }
.note-icon .icon { width: 26px; height: 26px; margin-top: 2px; color: var(--orange-600); }
.note-icon p { margin: 0; color: var(--ink); }
.size-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.size-grid li { display: flex; flex-direction: column; gap: 4px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.size-icon { width: 44px; height: 44px; padding: 11px; margin-bottom: 10px; border-radius: 12px; background: var(--navy); color: var(--on-dark); }
.size-grid strong { color: var(--navy-900); }
.size-grid span { font-size: .88rem; color: var(--ink-soft); }
@media (max-width: 420px) { .size-grid { grid-template-columns: 1fr; } }

/* Five-up feature grid (compact) */
.feature-grid-5 { grid-template-columns: repeat(5, 1fr); gap: 16px; }
.feature-grid-5 .feature-card { padding: 24px 20px; }
.feature-grid-5 .feature-card h3 { font-size: 1rem; }
.feature-grid-5 .feature-card p { font-size: .88rem; }
@media (max-width: 1279px) { .feature-grid-5 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 1000px) { .feature-grid-5 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .feature-grid-5 { grid-template-columns: 1fr; } }

.steps-plain .step::after { display: none; }

/* Spec table on dark band */
.spec-table { margin: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid rgba(255,255,255,.12); }
.spec-table div { display: grid; grid-template-columns: 38% 1fr; gap: 16px; padding: 14px 20px; }
.spec-table div:nth-child(odd) { background: rgba(255,255,255,.05); }
.spec-table dt { font-size: .82rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--orange); }
.spec-table dd { margin: 0; font-size: .95rem; color: var(--on-dark); }
@media (max-width: 480px) { .spec-table div { grid-template-columns: 1fr; gap: 2px; } }

/* Click-to-play video */
.video { position: relative; aspect-ratio: 16 / 9; border-radius: calc(var(--radius) + 6px); overflow: hidden; background: var(--navy-900); box-shadow: var(--shadow-lg); }
.video a, .video iframe { display: block; width: 100%; height: 100%; border: 0; }
.video img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease), filter .3s; }
.video a:hover img { transform: scale(1.03); filter: brightness(.85); }
.video-play { position: absolute; top: 50%; left: 50%; display: grid; place-items: center; width: 84px; height: 84px; margin: -42px 0 0 -42px; border-radius: 50%; background: var(--orange); color: var(--navy-900); box-shadow: 0 0 0 10px rgba(245,130,36,.25); transition: transform .2s var(--ease), box-shadow .2s; }
.video-play .icon { width: 34px; height: 34px; margin-left: 4px; }
.video a:hover .video-play { transform: scale(1.08); box-shadow: 0 0 0 16px rgba(245,130,36,.2); }
.summary-top { align-items: start; }

/* ---------- UEM / MDM components ---------- */
.device-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.device-grid li { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 26px 14px; text-align: center; border-radius: var(--radius); background: var(--surface-alt); font-weight: 600; font-size: .92rem; color: var(--navy-900); transition: background-color .2s, transform .2s var(--ease); }
.device-grid li:hover { background: var(--orange-050); transform: translateY(-2px); }
.device-grid .icon { width: 40px; height: 40px; color: var(--orange-600); stroke-width: 1.6; }
@media (max-width: 420px) { .device-grid { grid-template-columns: 1fr 1fr; } }
.fineprint-left { text-align: left; }

.feature-grid-4 { grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feature-grid-4 .feature-card { padding: 26px 22px; }
.feature-grid-4 .feature-card h3 { font-size: 1.02rem; }
.feature-grid-4 .feature-card p { font-size: .9rem; }
@media (max-width: 1200px) { .feature-grid-4 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 900px)  { .feature-grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .feature-grid-4 { grid-template-columns: 1fr; } }

.wide-shot-narrow { max-width: 900px; margin-inline: auto; }
.steps-spaced { margin-top: clamp(40px, 6vw, 64px); }
.flow-lifecycle { margin-bottom: 0; }

.benefit-list { display: grid; gap: 12px; }
.benefit-list li { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: var(--radius); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); }
.benefit-list strong { display: block; color: var(--on-dark); }
.benefit-list span { font-size: .9rem; color: var(--on-dark-soft); }

.industry-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.industry-grid li { display: flex; flex-direction: column; gap: 4px; padding: 24px 22px; border: 1px solid var(--line); border-radius: var(--radius); transition: box-shadow .25s, border-color .25s, transform .25s var(--ease); }
.industry-grid li:hover { box-shadow: var(--shadow); border-color: transparent; transform: translateY(-3px); }
.industry-grid strong { color: var(--navy-900); }
.industry-grid span { font-size: .88rem; color: var(--ink-soft); }
@media (max-width: 1000px) { .industry-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px)  { .industry-grid { gap: 10px; } .industry-grid li { padding: 16px 14px; } .industry-grid span { font-size: .8rem; } }

.compare { border-radius: var(--radius); overflow: hidden; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.compare-row { display: grid; grid-template-columns: 1fr 1fr; }
.compare-row + .compare-row { border-top: 1px solid var(--line); }
.compare-row span { display: flex; align-items: center; gap: 10px; padding: 14px 20px; font-size: .93rem; }
.compare-row span + span { background: var(--orange-050); font-weight: 500; color: var(--navy-900); }
.compare-head span { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); background: var(--surface-alt); }
.compare-head span + span { background: var(--navy); color: var(--on-dark); }
.icon-no { color: #b0b6c8; }
.icon-yes { color: var(--orange-600); }
@media (max-width: 560px) { .compare-row span { padding: 12px 12px; font-size: .84rem; gap: 6px; } .compare-row .icon { display: none; } }

.note-dark { padding: 14px 18px; border-left: 3px solid var(--orange); background: rgba(255,255,255,.06); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-size: .93rem; }
.note-dark a { color: var(--orange); }
.vehicle-grid-2 { grid-template-columns: repeat(2, 1fr); max-width: 960px; margin-inline: auto; }
@media (max-width: 900px) { .vehicle-grid-2 { grid-template-columns: 1fr; } }
.industry-grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1000px) { .industry-grid-3 { grid-template-columns: repeat(2, 1fr); } }

.callout { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: clamp(28px, 4vw, 48px); border-radius: calc(var(--radius) + 6px); background: linear-gradient(120deg, var(--orange-050), #fff); border: 1px solid #fbe0c8; }
.callout p:last-child { margin: 0; color: var(--ink-soft); max-width: 640px; }
.callout .btn { flex: none; }
@media (max-width: 760px) { .callout { flex-direction: column; align-items: flex-start; } }
/* Wide banner images: keep a usable height on small screens */
.banner-shot { margin-bottom: clamp(36px, 5vw, 56px); }
.banner-shot.steps-spaced { margin-bottom: 0; }
@media (max-width: 700px) { .banner-shot { aspect-ratio: 16 / 9; object-fit: cover; object-position: 55% center; } }
.callout-media { display: grid; grid-template-columns: minmax(0, 340px) 1fr auto; }
.callout-media img { width: 100%; border-radius: var(--radius); mix-blend-mode: multiply; }
@media (max-width: 900px) { .callout-media { grid-template-columns: 1fr; } .callout-media img { max-width: 420px; } }

/* ---------- Services / Solutions ---------- */
.solution-card h3 a { color: inherit; text-decoration: none; }
.solution-card h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.solution-card:focus-within { outline: 3px solid var(--orange); outline-offset: 3px; }

.pillar-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pillar-card { position: relative; display: flex; flex-direction: column; height: 100%; padding: 30px 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); color: inherit; text-decoration: none; transition: transform .25s var(--ease), box-shadow .25s, border-color .25s; }
.pillar-card:hover { color: inherit; transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.pillar-card p { flex: 1; font-size: .93rem; color: var(--ink-soft); }
.pillar-tag { position: absolute; top: 24px; right: 24px; padding: 4px 12px; border-radius: 999px; background: var(--navy); color: var(--on-dark); font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
@media (max-width: 900px) { .pillar-grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; } }

.pillar-intro { margin-bottom: clamp(36px, 5vw, 56px); }
.split-feature .split-media img.media-crop { width: 100%; max-width: 520px; aspect-ratio: 4 / 3; object-fit: cover; }
.service-grid .feature-card h3 { font-size: 1.05rem; }
.feature-card-link { position: relative; border-color: var(--orange); }
.feature-card-link h3 a { color: var(--navy-900); text-decoration: none; }
.feature-card-link h3 a::after { content: ""; position: absolute; inset: 0; }
.feature-card-link .link-arrow { margin-top: 14px; }

.steps-dark .step { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); }
.steps-dark .step h3 { color: var(--on-dark); }
.steps-dark .step p { color: var(--on-dark-soft); }
.steps-dark .step-icon { background: var(--orange); color: var(--navy-900); }
.steps-dark .step-num { color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.18); }

/* In-page sub navigation */
.subnav { position: sticky; top: var(--header-h); z-index: 40; background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: 0 6px 20px -16px rgba(13,19,41,.4); }
.subnav ul { display: flex; gap: 6px; overflow-x: auto; padding: 10px 0; scrollbar-width: none; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px; white-space: nowrap; font-size: .88rem; font-weight: 500; color: var(--navy); text-decoration: none; transition: background-color .15s, color .15s; }
.subnav a:hover { background: var(--orange-050); color: var(--orange-600); }
.subnav .icon { color: var(--orange-600); }
#solutions > section, #business-intelligence { scroll-margin-top: calc(var(--header-h) + 64px); }

.solution-parts { padding-top: 22px; border-top: 1px solid var(--line); }
.parts-label { margin: 0 0 8px; font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); }
.product-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.product-chips a { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border-radius: 999px; background: var(--navy); color: var(--on-dark); font-size: .87rem; font-weight: 600; text-decoration: none; transition: background-color .15s; }
.product-chips a:hover { background: var(--orange); color: var(--navy-900); }
.tag-list a { color: inherit; text-decoration: none; }
.tag-list a:hover { color: var(--orange-600); }
.solution-parts .tag-list { margin-top: 0; }

.offer-title { color: var(--on-dark); font-size: 1.2rem; }
.offer-intro { font-size: .93rem; }
.offer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.offer-grid a { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-radius: var(--radius); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); color: var(--on-dark); font-weight: 500; font-size: .93rem; text-decoration: none; transition: background-color .2s, border-color .2s; }
.offer-grid a:hover { background: rgba(245,130,36,.15); border-color: var(--orange); color: var(--on-dark); }
.offer-grid .icon { color: var(--orange); }
@media (max-width: 420px) { .offer-grid { grid-template-columns: 1fr; } }

.stat-band { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.stat-band li { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 32px 16px; text-align: center; }
.stat-band li + li { border-left: 1px solid var(--line); }
.stat-band strong { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 700; line-height: 1; color: var(--orange-600); }
.stat-band span { font-size: .92rem; font-weight: 500; color: var(--navy-900); }
@media (max-width: 700px) { .stat-band { grid-template-columns: 1fr 1fr; } .stat-band li:nth-child(3) { border-left: 0; } .stat-band li:nth-child(n+3) { border-top: 1px solid var(--line); } }

/* ---------- About ---------- */
.hero-cutout { max-width: 480px; filter: drop-shadow(0 30px 50px rgba(0,0,0,.45)); }
.offer-panel { padding: clamp(24px, 3vw, 36px); border-radius: calc(var(--radius) + 4px); background: var(--surface-alt); }
.offer-panel h3 { font-size: 1.05rem; }
.offer-panel .tag-list { margin: 16px 0 22px; }
.offer-panel .tag-list li { background: var(--surface); }
.section-tight { padding: clamp(36px, 5vw, 56px) 0; }
.stat-band-white { background: var(--surface); }

/* ---------- Legal pages ---------- */
.hero-compact { padding: clamp(36px, 6vw, 72px) 0 clamp(40px, 6vw, 72px); }
.hero-title-legal { font-size: clamp(2.2rem, 6vw, 4.25rem); }
.legal-updated { display: inline-flex; align-items: center; gap: 8px; margin: 8px 0 0; padding: 6px 14px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); font-size: .85rem; color: var(--on-dark-soft); }
.legal-updated .icon { color: var(--orange); }

.legal { display: grid; grid-template-columns: 260px minmax(0, 760px); gap: clamp(32px, 6vw, 80px); justify-content: center; }
.legal-toc { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; padding: 22px; border-radius: var(--radius); background: var(--surface-alt); }
.legal-toc ol { margin: 0; padding: 0; list-style: none; counter-reset: toc; display: grid; gap: 2px; }
.legal-toc li { counter-increment: toc; }
.legal-toc ol a { display: flex; gap: 10px; padding: 6px 8px; border-radius: 6px; font-size: .88rem; color: var(--ink-soft); text-decoration: none; }
.legal-toc ol a::before { content: counter(toc) "."; min-width: 1.4em; color: var(--orange-600); font-weight: 600; }
.legal-toc ol a:hover { background: var(--surface); color: var(--navy-900); }
@media (max-width: 900px) { .legal { grid-template-columns: 1fr; } .legal-toc { position: static; } }

.prose { font-size: 1rem; line-height: 1.75; color: var(--ink); }
.prose section { scroll-margin-top: calc(var(--header-h) + 24px); }
.prose section + section { margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--line); }
.prose h2 { font-size: clamp(1.3rem, 2vw, 1.6rem); margin-bottom: .6em; }
.prose-num { color: var(--orange-600); }
.prose ul { margin: 0 0 1em; padding-left: 0; display: grid; gap: 8px; }
.prose ul li { position: relative; padding-left: 22px; }
.prose ul li::before { content: ""; position: absolute; left: 4px; top: .7em; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }
.prose a { color: var(--orange-600); font-weight: 500; }
.prose a:hover { color: var(--navy); }
.prose strong { color: var(--navy-900); }
.legal-contact { padding: 18px 20px !important; border-radius: var(--radius); background: var(--orange-050); }
.legal-contact li::before { display: none; }
.legal-contact li { padding-left: 0 !important; }

.table-wrap { margin: 0 0 1.2em; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.prose table { width: 100%; border-collapse: collapse; font-size: .93rem; }
.prose th, .prose td { padding: 12px 16px; text-align: left; vertical-align: top; }
.prose thead th { background: var(--navy); color: var(--on-dark); font-weight: 600; font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; }
.prose tbody tr:nth-child(even) { background: var(--surface-alt); }
.prose tbody tr + tr td { border-top: 1px solid var(--line); }

/* ---------- Blog ---------- */
.subnav a[aria-current="page"] { background: var(--navy); color: var(--on-dark); }
.subnav a[aria-current="page"] .count { background: rgba(255,255,255,.18); color: var(--on-dark); }
.subnav .count { display: inline-grid; place-items: center; min-width: 22px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--surface-alt); font-size: .72rem; font-weight: 600; color: var(--ink-soft); }

.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 1000px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .post-grid { grid-template-columns: 1fr; } }
.post-card { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .25s var(--ease), box-shadow .25s, border-color .25s; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.post-card-media { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: linear-gradient(135deg, var(--navy), var(--navy-900)); }
.post-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.post-card:hover .post-card-media img { transform: scale(1.04); }
.post-card-placeholder { display: grid; place-items: center; height: 100%; color: rgba(255,255,255,.4); }
.post-card-placeholder .icon { width: 48px; height: 48px; }
.post-card-body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 22px; }
.post-card-body h3 { font-size: 1.12rem; line-height: 1.35; }
.post-card-body h3 a { color: var(--navy-900); text-decoration: none; }
.post-card-body h3 a::after { content: ""; position: absolute; inset: 0; }
.post-card-body > p:not(.post-meta) { flex: 1; font-size: .92rem; color: var(--ink-soft); }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 10px; font-size: .8rem; color: var(--ink-soft); }
.post-cat { position: relative; z-index: 1; padding: 3px 10px; border-radius: 999px; background: var(--orange-050); color: var(--orange-600); font-weight: 600; text-decoration: none; }
.post-cat:hover { background: var(--orange); color: var(--navy-900); }
.post-card-featured { display: grid; grid-template-columns: 1.25fr 1fr; margin-bottom: 32px; }
.post-card-featured .post-card-media { aspect-ratio: auto; min-height: 320px; }
.post-card-featured .post-card-body { padding: clamp(24px, 4vw, 44px); justify-content: center; }
.post-card-featured h3 { font-size: clamp(1.35rem, 2.4vw, 1.9rem); }
@media (max-width: 860px) { .post-card-featured { grid-template-columns: 1fr; } .post-card-featured .post-card-media { min-height: 0; aspect-ratio: 16 / 9; } }
.empty-state { max-width: 460px; margin: 0 auto; text-align: center; }
.empty-state .feature-icon { margin: 0 auto 16px; }
.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 44px; }
.pagination a { display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; color: var(--navy); font-weight: 500; }
.pagination a:hover { border-color: var(--navy); }
.pagination a[aria-current] { background: var(--navy); border-color: var(--navy); color: var(--on-dark); }

/* Article */
.preview-bar { position: sticky; top: var(--header-h); z-index: 45; padding: 10px var(--gutter); background: #fff4e5; color: #8a4b00; font-weight: 500; text-align: center; }
.article-hero { padding-bottom: clamp(90px, 12vw, 150px); }
.article-head { max-width: 860px; }
.article-title { color: var(--on-dark); font-size: clamp(1.9rem, 4.2vw, 3.1rem); line-height: 1.15; }
.article-hero .eyebrow { color: var(--orange); }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 18px 0 0; font-size: .9rem; color: var(--on-dark-soft); }
.article-meta span { display: inline-flex; align-items: center; gap: 8px; }
.article-meta .icon { color: var(--orange); }
.article-body { margin-top: clamp(-120px, -9vw, -70px); position: relative; z-index: 1; padding-bottom: clamp(56px, 8vw, 96px); }
.article-body.no-cover { margin-top: 0; padding-top: clamp(40px, 6vw, 64px); }
.article-cover { max-width: 1040px; margin: 0 auto clamp(36px, 5vw, 56px); border-radius: calc(var(--radius) + 6px); overflow: hidden; box-shadow: var(--shadow-lg); background: var(--surface-alt); }
.article-cover img { width: 100%; max-height: 560px; object-fit: cover; }
.article-layout { display: grid; grid-template-columns: minmax(0, 720px) 220px; gap: clamp(32px, 6vw, 72px); justify-content: center; }
@media (max-width: 960px) { .article-layout { grid-template-columns: 1fr; } }
.article-aside { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; display: grid; gap: 18px; }
.share ul { display: flex; gap: 8px; }
.share a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); color: var(--navy); transition: background-color .15s, color .15s, border-color .15s; }
.share a:hover { background: var(--orange); border-color: var(--orange); color: var(--navy-900); }
.share .icon { width: 18px; height: 18px; }
.aside-cta { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; align-items: center; padding: 18px; border-radius: var(--radius); background: var(--navy); color: var(--on-dark); text-decoration: none; }
.aside-cta:hover { background: var(--navy-700); color: var(--on-dark); }
.aside-cta span { grid-column: 1; font-size: .82rem; color: var(--on-dark-soft); }
.aside-cta .icon { grid-row: 1 / span 2; grid-column: 2; color: var(--orange); }
@media (max-width: 960px) { .article-aside { position: static; grid-template-columns: 1fr 1fr; align-items: center; } }
@media (max-width: 480px) { .article-aside { grid-template-columns: 1fr; } }

.prose-article { font-size: 1.05rem; line-height: 1.8; }
.prose-article > * + * { margin-top: 1.1em; }
.prose-article p { margin: 0; }
.prose-article h2 { margin-top: 1.8em; font-size: clamp(1.4rem, 2.4vw, 1.75rem); }
.prose-article h3 { margin-top: 1.5em; font-size: 1.2rem; }
.prose-article h2 + *, .prose-article h3 + * { margin-top: .5em; }
.prose-article ol { padding-left: 1.4em; display: grid; gap: 8px; }
.prose-article ol li::marker { color: var(--orange-600); font-weight: 600; }
.prose-article img { width: 100%; height: auto; border-radius: var(--radius); }
.prose-article figure { margin: 1.6em 0; }
.prose-article figcaption { margin-top: 8px; font-size: .85rem; color: var(--ink-soft); text-align: center; }
.prose-article blockquote { margin: 1.6em 0; padding: 18px 24px; border-left: 4px solid var(--orange); border-radius: 0 var(--radius) var(--radius) 0; background: var(--orange-050); font-size: 1.1rem; color: var(--navy-900); }
.prose-article pre, .prose-article code { font-family: ui-monospace, Consolas, monospace; font-size: .9em; }
.prose-article pre { padding: 16px 18px; border-radius: var(--radius-sm); background: var(--navy-900); color: #e8ebf5; overflow-x: auto; }
.prose-article .ql-align-center { text-align: center; }
.prose-article .ql-align-right { text-align: right; }
.prose-article .ql-align-justify { text-align: justify; }
.prose-article .video { margin: 1.6em 0; }
.prose-article .video-play { font-size: 28px; color: var(--navy-900); }
.prose-article hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }

/* ---------- Careers & jobs ---------- */
.careers-hero-media img { max-width: 360px; margin-inline: auto; filter: drop-shadow(0 30px 40px rgba(0,0,0,.5)); }
.job-list { display: grid; gap: 14px; }
.job-card { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); color: inherit; text-decoration: none; transition: transform .25s var(--ease), box-shadow .25s, border-color .25s; }
.job-card:hover { color: inherit; border-color: transparent; box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.job-card h3 { margin-bottom: .25em; color: var(--navy-900); }
.job-card p { margin: 0 0 12px; font-size: .93rem; color: var(--ink-soft); }
.job-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.job-tags li { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px; background: var(--surface-alt); font-size: .8rem; font-weight: 500; color: var(--navy); }
.job-tags .icon { color: var(--orange-600); }
.job-cta { display: inline-flex; flex: none; align-items: center; gap: 6px; padding: 10px 18px; border-radius: 999px; background: var(--orange); color: var(--navy-900); font-weight: 600; font-size: .9rem; }
@media (max-width: 640px) { .job-card { flex-direction: column; align-items: flex-start; } }
.job-aside { display: grid; gap: 16px; }
.job-facts { display: grid; grid-template-columns: auto 1fr; gap: 8px 14px; margin: 0; font-size: .9rem; }
.job-facts dt { color: var(--ink-soft); }
.job-facts dd { margin: 0; font-weight: 500; color: var(--navy-900); }
.job-summary { font-size: 1.15rem; color: var(--navy-900); }
.flow-hiring .flow-node small { display: block; max-width: 190px; font-weight: 400; font-size: .84rem; line-height: 1.5; color: var(--ink-soft); }
@media (max-width: 760px) { .flow-hiring .flow-node { display: grid; grid-template-columns: 56px 1fr; gap: 2px 18px; } .flow-hiring .flow-icon { grid-row: span 2; } .flow-hiring .flow-node small { max-width: none; } }

.apply-for { margin: 0 0 16px; padding: 10px 14px; border-radius: var(--radius-sm); background: var(--orange-050); font-size: .92rem; }
.field-hint { display: block; margin-top: 6px; font-size: .8rem; color: var(--ink-soft); }
.apply-form input[type="file"] { padding: .55em .7em; background: var(--surface-alt); }
.consent { display: flex; gap: 10px; align-items: flex-start; margin: 4px 0 18px; font-size: .85rem; color: var(--ink-soft); }
.consent input { margin-top: 4px; flex: none; }
.consent { flex-wrap: wrap; } .consent .field-error { flex-basis: 100%; margin: 0 0 0 26px; }

/* ---------- Smart popups ---------- */
.popup { --pop-bg: var(--navy); --pop-fg: var(--on-dark); --pop-soft: var(--on-dark-soft); --pop-accent: var(--orange); --pop-btn-fg: var(--navy-900); --pop-line: rgba(255,255,255,.14); position: fixed; z-index: 90; font-family: var(--font); }
.popup-light  { --pop-bg: var(--surface); --pop-fg: var(--navy-900); --pop-soft: var(--ink-soft); --pop-accent: var(--orange); --pop-btn-fg: var(--navy-900); --pop-line: var(--line); }
.popup-orange { --pop-bg: var(--orange); --pop-fg: var(--navy-900); --pop-soft: rgba(13,19,41,.78); --pop-accent: var(--navy); --pop-btn-fg: #fff; --pop-line: rgba(13,19,41,.18); }
.popup-box { position: relative; background: var(--pop-bg); color: var(--pop-fg); box-shadow: 0 30px 70px -25px rgba(13,19,41,.55); }
.popup-close { position: absolute; top: 10px; right: 10px; z-index: 2; display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 50%; background: rgba(127,127,127,.16); color: var(--pop-fg); cursor: pointer; transition: background-color .15s; }
.popup-close:hover { background: rgba(127,127,127,.3); }
.popup-image { width: 100%; height: auto; max-height: 200px; object-fit: cover; }
.popup-content { padding: 26px 26px 24px; }
.popup-eyebrow { margin: 0 0 6px; font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--pop-accent); }
.popup-orange .popup-eyebrow { color: var(--navy); }
.popup-heading { margin: 0 34px 8px 0; font-size: 1.3rem; font-weight: 700; line-height: 1.25; color: var(--pop-fg); }
.popup-body { margin: 0 0 10px; font-size: .93rem; line-height: 1.6; color: var(--pop-soft); }
.popup-cta { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; margin-top: 8px; padding: 10px 22px; border: 0; border-radius: 999px; background: var(--pop-accent); color: var(--pop-btn-fg); font: inherit; font-weight: 600; font-size: .95rem; text-decoration: none; cursor: pointer; transition: filter .15s, transform .15s; }
.popup-cta:hover { filter: brightness(1.08); color: var(--pop-btn-fg); transform: translateY(-1px); }
.popup-cta:disabled { opacity: .6; cursor: wait; }

/* Form */
.popup-form { margin-top: 12px; }
.popup-fields { display: grid; gap: 10px; }
.popup-fields input { width: 100%; min-height: 46px; padding: 10px 14px; border: 1px solid var(--pop-line); border-radius: 10px; background: rgba(255,255,255,.95); color: var(--ink); font: inherit; font-size: .95rem; }
.popup-fields input:focus { outline: 3px solid var(--pop-accent); outline-offset: 1px; }
.popup-fields .popup-cta { margin-top: 0; width: 100%; }
.popup-consent { display: flex; gap: 10px; align-items: flex-start; margin-top: 12px; font-size: .78rem; line-height: 1.5; color: var(--pop-soft); }
.popup-consent input { flex: none; margin-top: 3px; }
.popup-consent a { color: inherit; text-decoration: underline; }
.popup-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.popup-msg { min-height: 1em; margin: 8px 0 0; font-size: .82rem; }
.popup-msg.is-error { color: #ffb4a8; }
.popup-light .popup-msg.is-error, .popup-orange .popup-msg.is-error { color: #a12312; }
.popup-success { margin: 12px 0 0; padding: 14px 16px; border-radius: 10px; background: rgba(127,127,127,.14); font-weight: 500; font-size: .93rem; }

/* Corner slide-in */
.popup-slidein { bottom: 20px; width: min(380px, calc(100vw - 32px)); }
.popup-slidein.popup-right { right: 20px; }
.popup-slidein.popup-left { left: 20px; }
.popup-slidein .popup-box { border-radius: 18px; overflow: hidden; transform: translateY(24px); opacity: 0; transition: transform .35s var(--ease), opacity .35s; }
.popup-slidein.is-open .popup-box { transform: none; opacity: 1; }
@media (max-width: 767px) { .popup-slidein { left: 16px !important; right: 16px !important; bottom: 16px; width: auto; } }

/* Centre modal + mobile bottom sheet */
.popup-modal, .popup-sheet { inset: 0; display: grid; place-items: center; padding: 16px; }
.popup-backdrop { position: absolute; inset: 0; background: rgba(13,19,41,.6); opacity: 0; transition: opacity .3s; }
.popup-modal .popup-box { width: min(520px, 100%); max-height: calc(100vh - 32px); overflow-y: auto; border-radius: 20px; transform: scale(.96) translateY(10px); opacity: 0; transition: transform .3s var(--ease), opacity .3s; }
.popup-modal .popup-content { padding: 32px 32px 30px; }
.popup-modal .popup-heading { font-size: 1.6rem; }
.popup-modal.is-open .popup-box { transform: none; opacity: 1; }
.popup.is-open .popup-backdrop { opacity: 1; }
.popup-sheet { place-items: end stretch; padding: 0; }
.popup-sheet .popup-box { max-height: 85vh; overflow-y: auto; border-radius: 20px 20px 0 0; transform: translateY(100%); transition: transform .35s var(--ease); }
.popup-sheet.is-open .popup-box { transform: none; }
html.popup-lock, html.popup-lock body { overflow: hidden; }

/* Bars */
.popup-topbar, .popup-bottombar { left: 0; right: 0; z-index: 45; }
.popup-bottombar { bottom: 0; }
.popup-topbar .popup-box, .popup-bottombar .popup-box { box-shadow: 0 10px 30px -18px rgba(13,19,41,.6); transition: transform .35s var(--ease); }
.popup-topbar .popup-box { transform: translateY(-110%); }
.popup-bottombar .popup-box { transform: translateY(110%); }
.popup-topbar.is-open .popup-box, .popup-bottombar.is-open .popup-box { transform: none; }
.popup-topbar { overflow: hidden; }
.popup-topbar .popup-content, .popup-bottombar .popup-content { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 18px; max-width: var(--container); margin: 0 auto; padding: 12px 64px 12px var(--gutter); text-align: center; }
.popup-topbar .popup-eyebrow, .popup-bottombar .popup-eyebrow { margin: 0; }
.popup-topbar .popup-heading, .popup-bottombar .popup-heading { margin: 0; font-size: .98rem; }
.popup-topbar .popup-body, .popup-bottombar .popup-body { margin: 0; font-size: .88rem; }
.popup-topbar .popup-cta, .popup-bottombar .popup-cta { min-height: 36px; margin: 0; padding: 6px 16px; font-size: .85rem; }
.popup-topbar .popup-close, .popup-bottombar .popup-close { top: 50%; transform: translateY(-50%); width: 32px; height: 32px; }
.popup-topbar .popup-form, .popup-bottombar .popup-form { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; justify-content: center; }
.popup-topbar .popup-fields, .popup-bottombar .popup-fields { grid-auto-flow: column; }
.popup-topbar .popup-fields input, .popup-bottombar .popup-fields input { min-height: 38px; padding: 6px 12px; min-width: 200px; }
.popup-topbar .popup-consent, .popup-bottombar .popup-consent { margin: 0; flex-basis: 100%; justify-content: center; }
@media (max-width: 640px) { .popup-topbar .popup-fields, .popup-bottombar .popup-fields { grid-auto-flow: row; width: 100%; } }

@media (prefers-reduced-motion: reduce) { .popup-box, .popup-backdrop { transition: none !important; } }

/* Newsletter landing */
.newsletter-state { padding-block: clamp(32px, 6vw, 72px); }
.newsletter-state .feature-icon { margin: 0 auto 18px; width: 64px; height: 64px; padding: 16px; }
.prose .table-plain { width: 100%; margin: 0 0 1em; border-collapse: collapse; font-size: .9rem; }
.prose .table-plain th, .prose .table-plain td { padding: 10px 12px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose .table-plain thead th { background: var(--surface-alt); color: var(--navy-900); text-transform: none; letter-spacing: 0; font-size: .85rem; }
.prose code { padding: 1px 6px; border-radius: 4px; background: var(--surface-alt); font-size: .88em; }
@media (max-width: 640px) { .prose .table-plain { display: block; overflow-x: auto; } }
