/* Layout concept: alternating navy and light "ledger" bands on a 1200px grid; the signature element is the
   agent-activity ledger (PO / invoice lines with status pills) used in heroes. Single brand look by design. */
:root {
  --navy-900: #0B1526;
  --navy-800: #13213A;
  --slate-700: #2B3A55;
  --gray-600: #4A5568;
  --slate-400: #9FB0CC;
  --slate-200: #C9D3E6;
  --surface-100: #F3F5F9;
  --white: #FFFFFF;
  --line-light: #E2E8F0;
  --blue-600: #2448E0;
  --blue-700: #1A37B8;
  --blue-300: #8FB0FF;
  --blue-50: #E6ECFF;
  --orange-400: #F2A06B;
  --orange-700: #B04A15;
  --green-300: #8FE3B0;
  --green-700: #1E7A4A;
  --red-400: #F87171;
  --amber-300: #F5C97A;
  --font-display: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
  --font-body: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --radius: 8px;
  --radius-card: 12px;
  color-scheme: light;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--navy-900);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px);
  z-index: 60; background: var(--navy-900);
}
img, svg, video { max-width: 100%; }
a { color: var(--blue-600); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 3px solid var(--blue-300); outline-offset: 2px;
}
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.12; margin: 0; text-wrap: balance; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.25rem, 1.4rem + 3.4vw, 3.75rem); }
h2 { font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem); }
h3 { font-size: 1.25rem; line-height: 1.3; }
p { margin: 0; }

.wrap {
  max-width: 1200px; margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
@media (min-width: 720px) {
  .wrap { padding-left: max(32px, env(safe-area-inset-left, 0px)); padding-right: max(32px, env(safe-area-inset-right, 0px)); }
}

/* ---------- Bands ---------- */
.band { padding-block: clamp(56px, 7vw, 104px); }
.band-dark { background: var(--navy-900); color: var(--white); }
.band-alt { background: var(--surface-100); color: var(--navy-900); }
.band-light { background: var(--white); color: var(--navy-900); }
.band-dark .muted { color: var(--slate-200); }
.band-light .muted, .band-alt .muted { color: var(--gray-600); }
.band-dark a:not(.btn) { color: var(--blue-300); }

.eyebrow {
  font-family: var(--font-body); font-size: 0.8125rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 1.5px; margin-bottom: 14px; display: block;
}
.band-dark .eyebrow { color: var(--blue-300); }
.band-light .eyebrow, .band-alt .eyebrow { color: var(--orange-700); }

.section-head { display: grid; gap: 14px; max-width: 760px; margin-bottom: 44px; }
.section-head p { font-size: 1.125rem; max-width: 65ch; }
.center { text-align: center; margin-inline: auto; justify-items: center; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: var(--navy-900); color: var(--white); border-bottom: 1px solid var(--slate-700);
}
.nav-bar { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--white); text-decoration: none; font-family: var(--font-display); font-weight: 700; letter-spacing: 0.12em; font-size: 1.05rem; }
.logo svg, .logo img { width: 28px; height: 28px; flex: none; object-fit: contain; }
[id^="customer_stories_"] { scroll-margin-top: 88px; }
.modal-video video { width: 100%; height: auto; display: block; background: #000; max-height: 70vh; }
.nav-links { display: flex; align-items: center; gap: 4px; margin-left: 12px; list-style: none; padding: 0; margin-block: 0; }
.nav-links > li { position: relative; }
.nav-links > li > a, .nav-links > li > button {
  display: inline-flex; align-items: center; gap: 6px; padding: 10px 12px; border-radius: var(--radius);
  color: var(--slate-200); text-decoration: none; font: 500 0.95rem var(--font-body); background: none; border: 0; cursor: pointer;
}
.nav-links > li > a:hover, .nav-links > li > button:hover, .nav-links > li > a[aria-current="page"] { color: var(--white); background: var(--navy-800); }
.caret { width: 10px; height: 10px; }
.nav-cta { margin-left: auto; }
.menu-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--slate-700); color: var(--white); border-radius: var(--radius); padding: 8px 12px; font: 500 0.9rem var(--font-body); cursor: pointer; }

.dropdown {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 260px; background: var(--white); color: var(--navy-900);
  border-radius: var(--radius-card); box-shadow: 0 18px 48px rgba(11, 21, 38, 0.28); padding: 18px; display: none;
}
.dropdown.mega { min-width: 600px; display: none; grid-template-columns: 1fr 1fr; gap: 20px; }
.has-dropdown:hover > .dropdown, .has-dropdown:focus-within > .dropdown, .has-dropdown.open > .dropdown { display: grid; }
.dropdown h4 { font: 600 0.75rem var(--font-body); text-transform: uppercase; letter-spacing: 1.5px; color: var(--orange-700); margin-bottom: 6px; }
.dropdown a { display: block; padding: 8px 10px; border-radius: var(--radius); text-decoration: none; color: var(--navy-900); }
.dropdown a strong { display: block; font-weight: 600; font-size: 0.95rem; }
.dropdown a span { display: block; font-size: 0.85rem; color: var(--gray-600); }
.dropdown a:hover { background: var(--surface-100); }
.dropdown-col { display: grid; gap: 2px; align-content: start; }

@media (max-width: 960px) {
  .menu-toggle { display: inline-flex; }
  .nav-links, .nav-cta { display: none; }
  .site-header.menu-open .nav-links {
    display: grid; position: absolute; left: 0; right: 0; top: 100%; margin: 0; gap: 4px;
    background: var(--navy-900); border-bottom: 1px solid var(--slate-700);
    padding: 12px max(16px, env(safe-area-inset-right, 0px)) 20px max(16px, env(safe-area-inset-left, 0px));
    max-height: calc(100vh - 68px); overflow-y: auto;
  }
  .site-header.menu-open .nav-links > li > a, .site-header.menu-open .nav-links > li > button { width: 100%; justify-content: space-between; }
  .dropdown, .dropdown.mega { position: static; min-width: 0; box-shadow: none; grid-template-columns: 1fr; margin: 4px 0 8px; }
  .has-dropdown:hover > .dropdown, .has-dropdown:focus-within > .dropdown { display: none; }
  .has-dropdown.open > .dropdown { display: grid; }
  .mobile-cta { display: block !important; margin-top: 10px; }
  .mobile-cta .btn { width: 100%; }
}
.mobile-cta { display: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 20px; border-radius: var(--radius);
  font: 600 0.975rem var(--font-body); text-decoration: none; cursor: pointer; border: 1px solid transparent; transition: background .15s, border-color .15s, color .15s;
}
.btn-primary { background: var(--blue-600); color: var(--white); }
.btn-primary:hover { background: var(--blue-700); }
.btn-secondary { background: transparent; color: var(--white); border-color: var(--slate-700); }
.btn-secondary:hover { border-color: var(--slate-400); background: var(--navy-800); }
.band-light .btn-secondary, .band-alt .btn-secondary { color: var(--navy-900); border-color: #C5CEDC; }
.band-light .btn-secondary:hover, .band-alt .btn-secondary:hover { background: var(--white); border-color: var(--navy-900); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn svg { width: 16px; height: 16px; }
.text-link { font-weight: 600; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.text-link:hover { text-decoration: underline; }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(56px, 8vw, 112px) clamp(56px, 7vw, 96px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero-copy { display: grid; gap: 22px; min-width: 0; }
.hero-copy .lede { font-size: 1.1875rem; color: var(--slate-200); max-width: 60ch; }
.hero-copy .fine { font-size: 0.9375rem; color: var(--slate-400); }
.hero.simple .hero-grid { grid-template-columns: minmax(0, 1fr); max-width: 860px; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } }

/* Video card */
.video-card {
  position: relative; display: block; width: 100%; aspect-ratio: 16 / 10; max-width: 100%; border-radius: var(--radius-card); overflow: hidden;
  background:
    radial-gradient(120% 90% at 85% 10%, rgba(242, 160, 107, 0.35), transparent 55%),
    radial-gradient(90% 80% at 10% 100%, rgba(36, 72, 224, 0.55), transparent 60%),
    var(--navy-800);
  border: 1px solid var(--slate-700); cursor: pointer; color: var(--white); text-align: left; padding: 0; font: inherit;
}
.video-card .portrait {
  position: absolute; right: 8%; bottom: 0; width: 42%; aspect-ratio: 3 / 4; border-radius: 50% 50% 0 0 / 38% 38% 0 0;
  background: linear-gradient(180deg, rgba(201, 211, 230, 0.35), rgba(201, 211, 230, 0.08));
}
.video-card .portrait::before { content: ""; position: absolute; left: 50%; top: 14%; width: 46%; aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%; background: rgba(201, 211, 230, 0.4); }
.video-card .play {
  position: absolute; left: 24px; top: 24px; width: 64px; height: 64px; border-radius: 50%; background: var(--white); display: grid; place-items: center;
  box-shadow: 0 10px 30px rgba(0,0,0,.3); transition: transform .2s;
}
.video-card:hover .play { transform: scale(1.06); }
.video-card .play svg { width: 22px; height: 22px; margin-left: 4px; fill: var(--blue-600); }
.video-card .caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 24px; background: linear-gradient(0deg, rgba(11,21,38,.95), rgba(11,21,38,0)); display: grid; gap: 4px; }
.video-card .caption strong { font-family: var(--font-display); font-size: 1.2rem; line-height: 1.25; }
.video-card .caption span { color: var(--slate-200); font-size: 0.875rem; }
.video-card .tag { position: absolute; right: 16px; top: 16px; font-size: .75rem; letter-spacing: 1px; text-transform: uppercase; background: rgba(11,21,38,.6); border: 1px solid var(--slate-700); padding: 4px 10px; border-radius: 99px; }

/* Agent activity ledger */
.ledger { background: var(--navy-800); border: 1px solid var(--slate-700); border-radius: var(--radius-card); padding: 18px; display: grid; gap: 10px; min-width: 0; }
.ledger-head { display: flex; justify-content: space-between; align-items: center; font-size: 0.8125rem; color: var(--slate-400); text-transform: uppercase; letter-spacing: 1.2px; }
.live { display: inline-flex; align-items: center; gap: 6px; color: var(--green-300); }
.live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green-300); box-shadow: 0 0 0 4px rgba(143,227,176,.15); }
.ledger-row { display: grid; gap: 4px; padding: 12px 14px; background: var(--navy-900); border: 1px solid var(--slate-700); border-radius: 10px; }
.ledger-row .meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-family: var(--font-mono); font-size: 0.75rem; color: var(--slate-400); }
.ledger-row p { color: var(--slate-200); font-size: 0.9rem; line-height: 1.45; }
.pill { font-family: var(--font-body); font-size: 0.6875rem; font-weight: 600; letter-spacing: .6px; text-transform: uppercase; padding: 3px 8px; border-radius: 99px; }
.pill.ok { background: rgba(143,227,176,.14); color: var(--green-300); }
.pill.hold { background: rgba(248,113,113,.14); color: var(--red-400); }
.pill.warn { background: rgba(245,201,122,.14); color: var(--amber-300); }
.pill.info { background: rgba(143,176,255,.14); color: var(--blue-300); }

/* ---------- Strips ---------- */
.trust { padding-block: 36px; border-bottom: 1px solid var(--line-light); }
.trust-label { font-size: 0.8125rem; text-transform: uppercase; letter-spacing: 1.5px; color: var(--gray-600); font-weight: 600; margin-bottom: 18px; }
.logo-row { display: flex; flex-wrap: wrap; gap: 12px 36px; align-items: center; }
.logo-chip { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; color: #5B6577; letter-spacing: .02em; }
.logo-chip small { display: block; font-family: var(--font-body); font-weight: 500; font-size: .75rem; color: var(--gray-600); letter-spacing: 0; }
.erp-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; align-items: center; }
.erp-row .lbl { font-size: 0.875rem; color: var(--gray-600); margin-right: 6px; }
.chip { display: inline-flex; padding: 6px 12px; border-radius: 99px; background: var(--surface-100); border: 1px solid var(--line-light); font-size: 0.85rem; color: var(--navy-900); font-weight: 500; }
.band-dark .chip { background: var(--navy-800); border-color: var(--slate-700); color: var(--slate-200); }

/* Customer logo tiles — real logos live in /assets/customers/logos/ (white bg) */
.logo-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 14px; }
.logo-tile { display: grid; gap: 6px; align-content: center; min-height: 96px; padding: 18px 20px; border: 1px solid var(--line-light); border-radius: var(--radius-card); background: var(--white); text-decoration: none; color: var(--navy-900); }
a.logo-tile:hover { border-color: var(--blue-600); }
.logo-tile img { width: auto; height: auto; max-width: 100%; object-fit: contain; object-position: left center; }
.logo-tile img.logo-zavation { height: 28px; }
.logo-tile img.logo-bridgeway { height: 34px; }
.logo-tile img.logo-werkado { height: 21px; }
.logo-tile small { color: var(--gray-600); font-size: .8125rem; }
.wm-soon { font-family: var(--font-body); font-weight: 600; font-size: 1rem; color: var(--navy-900); line-height: 1.3; }
.soon-pill { justify-self: start; font-size: .6875rem; font-weight: 600; letter-spacing: .6px; text-transform: uppercase; padding: 3px 8px; border-radius: 99px; background: #FDECE3; color: var(--orange-700); }
.band-dark .logo-tile { background: var(--navy-800); border-color: var(--slate-700); }
.band-dark .logo-tile small { color: var(--slate-400); }
.draft-flag { display: inline-block; font-family: var(--font-mono); font-size: .75rem; color: var(--orange-700); background: #FDECE3; padding: 2px 8px; border-radius: 4px; margin-top: 6px; }
.band-dark .draft-flag { color: var(--orange-400); background: rgba(242,160,107,.12); }

/* ---------- Grids & cards ---------- */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
@media (min-width: 1000px) {
  .grid-3.fixed { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid-4.fixed { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.card { background: var(--white); border: 1px solid var(--line-light); border-radius: var(--radius-card); padding: 28px; display: grid; gap: 12px; align-content: start; min-width: 0; }
.band-light .card.tint { background: var(--surface-100); }
.band-dark .card { background: var(--navy-800); border-color: var(--slate-700); color: var(--white); }
.band-dark .card p { color: var(--slate-200); }
.card p { color: var(--gray-600); }
.card .kicker { font-size: .8125rem; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase; color: var(--orange-700); }
.band-dark .card .kicker { color: var(--orange-400); }
.card .stat-inline { font-family: var(--font-display); font-weight: 700; color: var(--blue-600); font-size: 1.05rem; padding-top: 12px; border-top: 1px solid var(--line-light); margin-top: 4px; }
a.card { text-decoration: none; color: inherit; transition: border-color .15s, transform .15s; }
a.card:hover { border-color: var(--blue-600); transform: translateY(-2px); }
.card .more { color: var(--blue-600); font-weight: 600; font-size: .95rem; margin-top: 4px; }
.band-dark .card .more { color: var(--blue-300); }
.icon { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue-600); }
.icon svg { width: 20px; height: 20px; }
.band-dark .icon { background: rgba(143,176,255,.12); color: var(--blue-300); }

.make-move-sell .card h3 { font-size: 1.75rem; }
.make-move-sell .card .who { font-weight: 600; color: var(--navy-900); }

.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checklist li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; align-items: start; }
.checklist li::before { content: ""; width: 22px; height: 22px; margin-top: 2px; border-radius: 6px; background: var(--blue-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232448E0' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 14px no-repeat; }
.painlist li::before { background: #FDECE3 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B04A15' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7L7 17'/%3E%3C/svg%3E") center / 12px no-repeat; }
.band-dark .checklist li { color: var(--slate-200); }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 20px; }
.stat { display: grid; gap: 6px; padding: 20px 0; border-top: 2px solid var(--blue-600); }
.stat b { font-family: var(--font-display); font-size: clamp(2rem, 1.5rem + 1.6vw, 2.75rem); line-height: 1; color: var(--blue-600); font-variant-numeric: tabular-nums; }
.stat span { color: var(--gray-600); font-size: .95rem; }
.band-dark .stat { border-top-color: var(--blue-300); }
.band-dark .stat b { color: var(--white); }
.band-dark .stat span { color: var(--slate-200); }

/* ---------- Quote ---------- */
.quote-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
@media (max-width: 900px) { .quote-grid { grid-template-columns: minmax(0, 1fr); } }
blockquote { margin: 0; display: grid; gap: 22px; }
blockquote p { font-family: var(--font-display); font-size: clamp(1.4rem, 1.1rem + 1vw, 1.95rem); line-height: 1.3; font-weight: 500; }
blockquote footer { color: var(--slate-200); font-size: .95rem; }
blockquote footer strong { color: var(--white); display: block; font-size: 1rem; }
.band-light blockquote footer, .band-alt blockquote footer { color: var(--gray-600); }
.band-light blockquote footer strong, .band-alt blockquote footer strong { color: var(--navy-900); }
.logo-plate { display: inline-flex; align-items: center; justify-self: start; background: var(--white); border-radius: 8px; padding: 10px 14px; }
.logo-plate img { width: auto; height: auto; object-fit: contain; }
.logo-plate img.logo-zavation { height: 26px; }
.logo-plate img.logo-bridgeway { height: 30px; }
.logo-plate img.logo-werkado { height: 18px; }
.quote-person { display: flex; align-items: center; gap: 14px; }
.quote-person img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex: none; }
.quote-person strong { display: block; }
.quote-person-sm img { width: 44px; height: 44px; }
.story-card .story-quote { margin: 0; padding-top: 14px; border-top: 1px solid var(--line-light); gap: 14px; }
.band-dark .story-card .story-quote { border-top-color: var(--slate-700); }
.story-card .story-quote p { font-family: var(--font-display); font-size: 1.0625rem; line-height: 1.45; font-weight: 500; color: var(--white); }
.story-card .story-quote footer { color: var(--slate-200); font-size: .9rem; }
.story-card .story-quote footer strong { color: var(--white); font-size: .95rem; }
.placeholder-note { display: inline-block; font-family: var(--font-mono); font-size: .75rem; color: var(--orange-700); background: #FDECE3; padding: 2px 6px; border-radius: 4px; }
.band-dark .placeholder-note { color: var(--orange-400); background: rgba(242,160,107,.12); }

/* ---------- Steps ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 20px; counter-reset: step; }
.steps li { counter-increment: step; display: grid; gap: 10px; align-content: start; padding: 26px; border-radius: var(--radius-card); border: 1px solid var(--line-light); background: var(--white); }
.band-light .steps li { background: var(--surface-100); border-color: transparent; }
.steps li::before { content: counter(step, decimal-leading-zero); font-family: var(--font-mono); font-weight: 600; color: var(--blue-600); font-size: .875rem; }
.steps li .when { font-size: .8125rem; color: var(--orange-700); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }
.steps li p { color: var(--gray-600); }

/* Flow diagram */
.flow { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.flow .node { padding: 10px 14px; border-radius: 10px; background: var(--white); border: 1px solid var(--line-light); font-weight: 600; font-size: .9rem; }
.band-alt .flow .node { background: var(--white); }
.band-light .flow .node { background: var(--surface-100); border-color: transparent; }
.flow .arrow { color: var(--slate-400); font-weight: 700; }
.flow .node.exc { background: #FDECE3; color: var(--orange-700); border-color: transparent; }
.flow-note { margin-top: 16px; color: var(--gray-600); font-size: .95rem; }

/* ---------- Two column split ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: minmax(0, 1fr); } }
.prose { display: grid; gap: 16px; max-width: 68ch; }
.prose p { color: var(--gray-600); font-size: 1.0625rem; }
.prose h2 { margin-top: 12px; }
.prose h3 { margin-top: 8px; }
.prose ul { margin: 0; padding-left: 20px; color: var(--gray-600); display: grid; gap: 8px; }

/* Fact box */
.facts { display: grid; gap: 0; border: 1px solid var(--slate-700); border-radius: var(--radius-card); overflow: hidden; }
.facts div { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--slate-700); font-size: .95rem; }
.facts div:last-child { border-bottom: 0; }
.facts dt { color: var(--slate-400); }
.facts dd { margin: 0; color: var(--white); font-weight: 500; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; max-width: 860px; }
.faq details { border: 1px solid var(--line-light); border-radius: var(--radius-card); background: var(--white); }
.faq summary { cursor: pointer; padding: 18px 22px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-display); font-size: 1.4rem; line-height: 1; color: var(--blue-600); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 22px 20px; color: var(--gray-600); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--navy-900); color: var(--white); padding-block: clamp(56px, 7vw, 96px); position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(closest-side, rgba(36,72,224,.45), transparent); pointer-events: none; }
.cta-inner { position: relative; z-index: 1; display: grid; gap: 18px; max-width: 760px; }
.cta-inner p { color: var(--slate-200); font-size: 1.125rem; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 18px; background: var(--white); border: 1px solid var(--line-light); border-radius: var(--radius-card); padding: clamp(22px, 3vw, 36px); box-shadow: 0 20px 50px rgba(11,21,38,.08); }
.field { display: grid; gap: 6px; }
.field-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 18px; }
label, legend { font-weight: 600; font-size: .9rem; }
input[type="text"], input[type="email"], select, textarea {
  width: 100%; padding: 12px 14px; border: 1px solid #C5CEDC; border-radius: var(--radius); font: 400 1rem var(--font-body); color: var(--navy-900); background: var(--white);
}
textarea { min-height: 110px; resize: vertical; }
fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 10px; }
.checks { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 10px; }
.check { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border: 1px solid #C5CEDC; border-radius: var(--radius); font-weight: 500; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--blue-600); }
.form-error { color: #B42318; font-size: .9rem; }
.form .fine { color: var(--gray-600); font-size: .85rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: var(--slate-200); padding-block: 64px 32px; border-top: 1px solid var(--slate-700); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: minmax(0, 1fr); } }
.site-footer h4 { font: 600 .8125rem var(--font-body); text-transform: uppercase; letter-spacing: 1.5px; color: var(--white); margin-bottom: 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--slate-200); text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.footer-brand p { color: var(--slate-400); margin-top: 14px; max-width: 34ch; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--slate-700); font-size: .875rem; color: var(--slate-400); }
.footer-bottom .chip { font-size: .75rem; }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 100; background: rgba(5, 10, 20, .82); display: grid; place-items: center;
  padding: max(16px, env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) max(16px, env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); }
.modal-box { width: min(960px, 100%); background: var(--navy-800); border: 1px solid var(--slate-700); border-radius: var(--radius-card); overflow: hidden; color: var(--white); }
.modal-top { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; border-bottom: 1px solid var(--slate-700); font-size: .9rem; color: var(--slate-200); }
.modal-close { background: none; border: 1px solid var(--slate-700); color: var(--white); border-radius: var(--radius); padding: 6px 12px; cursor: pointer; font: 500 .9rem var(--font-body); }
.modal-video { aspect-ratio: 16 / 9; display: grid; place-items: center; text-align: center; padding: 24px; background: var(--navy-900); }
.modal-video iframe, .modal-video video { width: 100%; height: 100%; border: 0; }
.modal-video p { color: var(--slate-200); max-width: 46ch; }

/* Misc */
.story-card .industry { font-size: .8125rem; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase; color: var(--orange-700); }
.mini-stats { display: grid; gap: 6px; margin-top: 6px; padding-top: 14px; border-top: 1px solid var(--line-light); }
.mini-stats div { display: flex; gap: 10px; align-items: baseline; color: var(--gray-600); font-size: .925rem; }
.mini-stats b { font-family: var(--font-display); color: var(--blue-600); min-width: 4.5ch; font-variant-numeric: tabular-nums; }
.band-dark .mini-stats { border-top-color: var(--slate-700); }
.band-dark .mini-stats div { color: var(--slate-200); }
.band-dark .mini-stats b { color: var(--blue-300); }
.two-col-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 20px; }
.notfound { min-height: 60vh; display: grid; align-content: center; }
.team { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 16px; align-items: center; }
.avatar { width: 56px; height: 56px; border-radius: 50%; background: var(--blue-50); color: var(--blue-600); display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; }
.small-row { display: flex; flex-wrap: wrap; gap: 10px 20px; margin-top: 22px; color: var(--gray-600); font-size: .925rem; }
.small-row span::before { content: "•"; color: var(--blue-600); margin-right: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
.band-dark .story-card .industry { color: var(--orange-400); }
.hero-copy .punch { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.25rem, 1.05rem + 0.8vw, 1.65rem); line-height: 1.3; color: var(--orange-400); margin-top: -6px; }
