/* ==========================================================================
   CONOPS | MOS marketing site — design system
   Enterprise-software layout (utility bar, mega-menu nav, dark hero/footer,
   light content bands, one red accent). Tokens first, then components.
   ========================================================================== */

:root {
  /* Brand (sampled from the CONOPS wordmark swooshes) */
  --red: #b02038;
  --red-hover: #8e1a2d;
  --red-soft: #f9e9ec;
  --red-ink: #6f1424;
  --navy: #003080;
  --navy-soft: #e6ecf7;

  /* Neutrals */
  --ink: #121316;
  --ink-2: #2a2c31;
  --ink-3: #55585f;
  --ink-4: #80848c;
  --ink-5: #b3b7be;
  --bg: #ffffff;
  --bg-alt: #f5f6f7;
  --bg-sunken: #eceef1;
  --rule: #e3e5e8;
  --rule-strong: #cfd3d8;

  /* Dark bands */
  --dark: #121316;
  --dark-2: #1b1d22;
  --dark-3: #24272e;
  --dark-text: #d6d9e0;
  --dark-muted: #9aa0aa;
  --dark-rule: rgba(255, 255, 255, 0.12);

  /* Status (only where a mock or caption names a status) */
  --ok: #1f7a4d;
  --ok-soft: #e3f3ea;
  --warn: #b76e0a;
  --warn-soft: #fdf1dc;
  --crit: #b42318;
  --crit-soft: #fbe9e7;

  /* Shape */
  --r-1: 4px;
  --r-2: 6px;
  --r-3: 10px;
  --r-4: 14px;
  --shadow-1: 0 1px 2px rgba(18, 19, 22, 0.06);
  --shadow-2: 0 10px 30px rgba(18, 19, 22, 0.10);

  /* Layout */
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --nav-h: 72px;
  --util-h: 36px;
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--navy); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4, h5 { margin: 0; color: var(--ink); font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding-left: 1.25em; }
strong { color: var(--ink); font-weight: 600; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.9em; background: var(--bg-sunken); padding: 0.1em 0.35em; border-radius: var(--r-1); }
hr { border: 0; border-top: 1px solid var(--rule); margin: 0; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
[hidden] { display: none !important; }
.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; top: -48px; left: 8px; z-index: 200; background: var(--red); color: #fff; padding: 10px 14px; border-radius: var(--r-2); font-weight: 600; }
.skip-link:focus { top: 8px; }

.container { max-width: var(--container); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.container--narrow { max-width: 820px; }
.container--wide { max-width: 1320px; }

/* Icons (inline SVG sprite) */
.i { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.i--sm { width: 16px; height: 16px; }
.i--lg { width: 28px; height: 28px; }

/* Type */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--red); margin-bottom: 14px; }
.eyebrow--muted { color: var(--ink-4); }
.eyebrow--light { color: #ff8f9f; }
.display { font-size: clamp(2.25rem, 4.6vw, 3.75rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1.05; }
.h1 { font-size: clamp(2rem, 3.8vw, 3rem); }
.h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); letter-spacing: -0.025em; }
.h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
.h4 { font-size: 1.125rem; }
.lead { font-size: clamp(1.0625rem, 1.5vw, 1.25rem); line-height: 1.55; color: var(--ink-3); max-width: 62ch; }
.muted { color: var(--ink-4); }
.small { font-size: 0.875rem; }
.measure { max-width: 68ch; }
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 13px 22px; border-radius: var(--r-2); font-weight: 600; font-size: 0.9375rem; line-height: 1.2; border: 1px solid transparent; cursor: pointer; transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease; text-decoration: none; white-space: nowrap; }
.btn:hover { text-decoration: none; }
.btn .i { width: 18px; height: 18px; }
.btn--primary { background: var(--red); color: #fff; border-color: var(--red); }
.btn--primary:hover { background: var(--red-hover); border-color: var(--red-hover); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--rule-strong); }
.btn--ghost:hover { border-color: var(--ink); background: var(--bg-alt); }
.btn--ghost-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.45); }
.btn--ghost-light:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); }
.btn--white { background: #fff; color: var(--ink); border-color: #fff; }
.btn--white:hover { background: #f0f1f3; }
.btn--sm { padding: 9px 14px; font-size: 0.875rem; }
.btn--lg { padding: 16px 28px; font-size: 1.0625rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: 0.6; cursor: default; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--red); }
.link-arrow .i { width: 16px; height: 16px; transition: transform 0.15s ease; }
.link-arrow:hover { text-decoration: none; color: var(--red-hover); }
.link-arrow:hover .i { transform: translateX(3px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* --------------------------------------------------------------------------
   Utility bar + navigation
   -------------------------------------------------------------------------- */
.util { background: var(--dark); color: var(--dark-text); font-size: 0.8125rem; height: var(--util-h); }
.util__inner { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.util__brand { display: flex; align-items: center; gap: 10px; color: var(--dark-text); }
.util__brand img { height: 18px; width: auto; }
.util__links { display: flex; align-items: center; gap: 22px; list-style: none; margin: 0; padding: 0; }
.util__links a { color: var(--dark-text); display: inline-flex; align-items: center; gap: 6px; }
.util__links a:hover { color: #fff; text-decoration: none; }
.util__links .i { width: 14px; height: 14px; }

.nav { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, 0.96); backdrop-filter: saturate(160%) blur(8px); border-bottom: 1px solid var(--rule); transition: box-shadow 0.2s ease; }
.nav.is-scrolled { box-shadow: 0 6px 20px rgba(18, 19, 22, 0.08); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: var(--nav-h); gap: 24px; }
.nav__logo img { height: 40px; width: auto; }
.nav__menu { display: none; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; flex: 1; justify-content: center; }
.nav__item { position: relative; }
.nav__link { display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; color: var(--ink-2); font-weight: 500; font-size: 0.9375rem; border-radius: var(--r-2); background: none; border: 0; cursor: pointer; }
.nav__link .i { width: 14px; height: 14px; transition: transform 0.15s ease; }
.nav__link:hover, .nav__item.is-open > .nav__link, .nav__link.is-active { color: var(--ink); background: var(--bg-alt); text-decoration: none; }
.nav__item.is-open > .nav__link .i { transform: rotate(180deg); }
.nav__link.is-active { box-shadow: inset 0 -2px 0 var(--red); border-radius: var(--r-2) var(--r-2) 0 0; }
.nav__actions { display: flex; align-items: center; gap: 10px; }
.nav__burger { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--rule); border-radius: var(--r-2); background: #fff; color: var(--ink); cursor: pointer; }
.nav__burger .i { width: 22px; height: 22px; }

/* Mega menu */
.mega { position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%) translateY(-6px); min-width: 560px; background: #fff; border: 1px solid var(--rule); border-radius: var(--r-3); box-shadow: var(--shadow-2); padding: 22px; display: grid; grid-template-columns: repeat(var(--cols, 2), minmax(0, 1fr)); gap: 24px; opacity: 0; visibility: hidden; transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s; }
.mega--wide { min-width: 860px; }
.nav__item.is-open > .mega { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.mega__title { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-4); margin-bottom: 10px; }
.mega__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.mega__link { display: block; padding: 8px 10px; border-radius: var(--r-2); color: var(--ink); }
.mega__link:hover { background: var(--bg-alt); text-decoration: none; }
.mega__link strong { display: block; font-size: 0.9375rem; font-weight: 600; }
.mega__link span { display: block; font-size: 0.8125rem; color: var(--ink-4); }
.mega__feature { background: var(--dark); color: var(--dark-text); border-radius: var(--r-3); padding: 20px; display: flex; flex-direction: column; justify-content: space-between; gap: 16px; }
.mega__feature h4 { color: #fff; font-size: 1rem; }
.mega__feature p { font-size: 0.875rem; color: var(--dark-muted); }
.mega__feature .link-arrow { color: #fff; }

/* Mobile drawer */
.drawer { position: fixed; inset: 0; z-index: 150; background: #fff; overflow-y: auto; transform: translateX(100%); transition: transform 0.25s ease; visibility: hidden; }
.drawer.is-open { transform: translateX(0); visibility: visible; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; height: var(--nav-h); padding: 0 var(--gutter); border-bottom: 1px solid var(--rule); }
.drawer__head img { height: 36px; }
.drawer__body { padding: 8px var(--gutter) 40px; }
.drawer__group { border-bottom: 1px solid var(--rule); }
.drawer__toggle { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 16px 0; background: none; border: 0; font-weight: 600; font-size: 1.0625rem; color: var(--ink); cursor: pointer; text-align: left; }
.drawer__toggle .i { transition: transform 0.15s ease; }
.drawer__group.is-open .drawer__toggle .i { transform: rotate(180deg); }
.drawer__panel { display: none; padding: 0 0 12px; }
.drawer__group.is-open .drawer__panel { display: block; }
.drawer__panel a, .drawer__link { display: block; padding: 10px 12px; color: var(--ink-2); border-radius: var(--r-2); }
.drawer__panel a:hover, .drawer__link:hover { background: var(--bg-alt); text-decoration: none; }
.drawer__link { padding: 16px 0; font-weight: 600; font-size: 1.0625rem; color: var(--ink); border-bottom: 1px solid var(--rule); border-radius: 0; }
.drawer__panel .mega__title { margin-top: 10px; }
.drawer__cta { padding: 20px 0 0; display: grid; gap: 10px; }

@media (min-width: 1024px) {
  .nav__menu { display: flex; }
  .nav__burger { display: none; }
}
@media (max-width: 1023px) {
  :root { --nav-h: 64px; }
  .nav__actions .btn { display: none; }
  .util__links li:not(.util__keep) { display: none; }
}

/* --------------------------------------------------------------------------
   Sections and bands
   -------------------------------------------------------------------------- */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section--tight { padding: clamp(40px, 5vw, 64px) 0; }
.section--alt { background: var(--bg-alt); }
.section--sunken { background: var(--bg-sunken); }
.section--dark { background: var(--dark); color: var(--dark-text); }
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4, .section--dark strong { color: #fff; }
.section--dark .lead, .section--dark .muted { color: var(--dark-muted); }
.section--dark a:not(.btn) { color: #fff; }
.section--rule { border-top: 1px solid var(--rule); }
.section__head { max-width: 760px; margin-bottom: clamp(32px, 4vw, 56px); }
.section__head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section__head .lead { margin-top: 16px; }
.section__head--center .lead { margin-left: auto; margin-right: auto; }
.section__foot { margin-top: 36px; }

/* Hero */
.hero { position: relative; overflow: hidden; background: var(--dark); color: var(--dark-text); padding: clamp(56px, 8vw, 112px) 0 clamp(56px, 8vw, 96px); }
.hero::before { content: ''; position: absolute; inset: 0; background:
  radial-gradient(900px 480px at 85% 10%, rgba(176, 32, 56, 0.35), transparent 60%),
  radial-gradient(700px 420px at 10% 100%, rgba(0, 48, 128, 0.35), transparent 60%),
  linear-gradient(180deg, #16181d 0%, var(--dark) 100%); pointer-events: none; }
.hero::after { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(180deg, rgba(0,0,0,0.6), transparent 80%); pointer-events: none; }
.hero > .container { position: relative; z-index: 1; }
.hero h1 { color: #fff; }
.hero .lead { color: var(--dark-text); margin-top: 20px; }
.hero__grid { display: grid; gap: 40px; align-items: center; }
.hero__actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero__meta { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 0.875rem; color: var(--dark-muted); }
.hero__meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero__meta .i { width: 16px; height: 16px; color: #ff8f9f; }
.hero--light { background: var(--bg-alt); color: var(--ink-2); }
.hero--light::before, .hero--light::after { display: none; }
.hero--light h1 { color: var(--ink); }
.hero--light .lead { color: var(--ink-3); }
.hero--compact { padding: clamp(40px, 6vw, 72px) 0; }
@media (min-width: 1024px) {
  .hero__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 6fr); gap: 56px; }
  .hero__grid--even { grid-template-columns: 1fr 1fr; }
}

/* Breadcrumb */
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; list-style: none; margin: 0 0 18px; padding: 0; font-size: 0.8125rem; color: var(--dark-muted); }
.breadcrumb a { color: inherit; }
.breadcrumb li + li::before { content: '/'; margin-right: 8px; color: var(--ink-5); }
.hero--light .breadcrumb { color: var(--ink-4); }

/* Grids */
.grid { display: grid; gap: 20px; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.grid--5 { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.grid--tight { gap: 12px; }
@media (min-width: 1024px) {
  .grid--3-fixed { grid-template-columns: repeat(3, 1fr); }
  .grid--2-fixed { grid-template-columns: repeat(2, 1fr); }
  .grid--4-fixed { grid-template-columns: repeat(4, 1fr); }
}
.split { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) {
  .split { grid-template-columns: 1fr 1fr; gap: 64px; }
  .split--rev > :first-child { order: 2; }
  .split--text-wide { grid-template-columns: 5fr 4fr; }
}

/* Cards */
.card { position: relative; background: #fff; border: 1px solid var(--rule); border-radius: var(--r-3); padding: 26px; display: flex; flex-direction: column; gap: 12px; transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease; }
.card--link:hover { border-color: var(--ink-5); transform: translateY(-3px); box-shadow: var(--shadow-2); text-decoration: none; }
.card--flat { background: transparent; border: 0; padding: 0; }
.card--dark { background: var(--dark-2); border-color: var(--dark-rule); color: var(--dark-text); }
.card--dark .card__title { color: #fff; }
.card--dark .card__text { color: var(--dark-muted); }
.card--accent { border-top: 3px solid var(--red); }
.card--alt { background: var(--bg-alt); }
.card__icon { width: 44px; height: 44px; border-radius: var(--r-2); background: var(--red-soft); color: var(--red); display: inline-flex; align-items: center; justify-content: center; }
.card__icon .i { width: 22px; height: 22px; }
.card__icon--navy { background: var(--navy-soft); color: var(--navy); }
.card__icon--dark { background: rgba(255,255,255,0.08); color: #fff; }
.card__kicker { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-4); }
.card__title { font-size: 1.125rem; font-weight: 600; color: var(--ink); }
.card__text { color: var(--ink-3); font-size: 0.9375rem; }
.card__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: 0.9375rem; color: var(--ink-3); }
.card__list li { display: flex; gap: 10px; align-items: flex-start; }
.card__list .i { width: 16px; height: 16px; color: var(--ok); margin-top: 3px; }
.card__foot { margin-top: auto; padding-top: 6px; }
.card--link .card__foot .link-arrow { color: var(--red); }
a.card { color: inherit; }
.card--pain { border-left: 3px solid var(--red); border-radius: var(--r-2); }
.card--pain .card__kicker { color: var(--red); }

/* Pills */
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; line-height: 1.5; background: var(--bg-sunken); color: var(--ink-3); border: 1px solid transparent; white-space: nowrap; }
.pill--ok { background: var(--ok-soft); color: var(--ok); }
.pill--warn { background: var(--warn-soft); color: var(--warn); }
.pill--crit { background: var(--crit-soft); color: var(--crit); }
.pill--red { background: var(--red-soft); color: var(--red-ink); }
.pill--navy { background: var(--navy-soft); color: var(--navy); }
.pill--outline { background: transparent; border-color: var(--rule-strong); }
.pill--dark { background: rgba(255,255,255,0.1); color: #fff; }
.pill .dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }

/* Icon rows / feature list */
.feature-row { display: grid; gap: 14px; grid-template-columns: 44px 1fr; align-items: start; }
.feature-row + .feature-row { margin-top: 22px; }
.feature-row h4 { font-size: 1.0625rem; font-weight: 600; margin-bottom: 4px; }
.feature-row p { color: var(--ink-3); font-size: 0.9375rem; }
.icon-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.icon-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-2); }
.icon-list .i { width: 18px; height: 18px; color: var(--red); margin-top: 3px; }
.icon-list--ok .i { color: var(--ok); }
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.9375rem; color: var(--ink-2); }
.check-list .i { width: 18px; height: 18px; color: var(--ok); margin-top: 2px; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 20px; counter-reset: step; }
.steps li { position: relative; padding: 24px 24px 24px 72px; background: #fff; border: 1px solid var(--rule); border-radius: var(--r-3); }
.steps li::before { counter-increment: step; content: counter(step); position: absolute; left: 24px; top: 24px; width: 34px; height: 34px; border-radius: 50%; background: var(--red); color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; font-size: 0.9375rem; }
.steps h4 { font-size: 1.0625rem; font-weight: 600; margin-bottom: 6px; }
.steps p { color: var(--ink-3); font-size: 0.9375rem; }
.steps .pill { position: absolute; right: 20px; top: 24px; }
.steps--row { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.steps--row li { padding: 70px 22px 22px; }
.steps--row li::before { left: 22px; top: 22px; }
.steps--row .pill { right: 16px; top: 22px; }
.steps--dark li { background: var(--dark-2); border-color: var(--dark-rule); }
.steps--dark h4 { color: #fff; }
.steps--dark p { color: var(--dark-muted); }

/* Stat band */
.stats { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.stat { padding: 24px 0; border-top: 2px solid var(--red); }
.stat__value { font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 700; letter-spacing: -0.03em; color: var(--ink); line-height: 1.1; }
.stat__label { margin-top: 8px; color: var(--ink-3); font-size: 0.9375rem; }
.section--dark .stat__value { color: #fff; }
.section--dark .stat__label { color: var(--dark-muted); }

/* Tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--rule); border-radius: var(--r-3); background: #fff; }
.table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; }
.table th, .table td { padding: 14px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--rule); }
.table thead th { position: sticky; top: 0; background: var(--dark); color: #fff; font-weight: 600; font-size: 0.875rem; letter-spacing: 0.02em; z-index: 1; }
.table tbody th { font-weight: 600; color: var(--ink); background: var(--bg-alt); width: 24%; }
.table tbody tr:last-child td, .table tbody tr:last-child th { border-bottom: 0; }
.table--compact th, .table--compact td { padding: 10px 14px; }
@media (max-width: 767px) {
  .table--stack thead { display: none; }
  .table--stack tr { display: block; padding: 10px 0; border-bottom: 1px solid var(--rule); }
  .table--stack th, .table--stack td, .table--stack tbody th { display: block; width: auto; border: 0; padding: 6px 14px; }
  .table--stack tbody th { padding-top: 10px; font-size: 1rem; }
  .table--stack td::before { content: attr(data-label); display: block; font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-4); margin-bottom: 2px; }
}

/* Definition grid */
.dl { display: grid; gap: 14px 24px; grid-template-columns: max-content 1fr; font-size: 0.9375rem; margin: 0; }
.dl dt { font-weight: 600; color: var(--ink); }
.dl dd { margin: 0; color: var(--ink-3); }
@media (max-width: 600px) { .dl { grid-template-columns: 1fr; gap: 4px; } .dl dd { margin-bottom: 10px; } }

/* FAQ / details */
.faq { border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 0; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-weight: 600; color: var(--ink); font-size: 1.0625rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .i { width: 18px; height: 18px; color: var(--ink-4); transition: transform 0.15s ease; }
.faq details[open] summary .i { transform: rotate(180deg); }
.faq .faq__body { padding: 0 0 20px; color: var(--ink-3); max-width: 70ch; }

/* Notice */
.notice { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--r-2); background: var(--bg-alt); border: 1px solid var(--rule); font-size: 0.9375rem; color: var(--ink-2); }
.notice .i { width: 18px; height: 18px; color: var(--navy); margin-top: 2px; }
.notice--warn { background: var(--warn-soft); border-color: #f3dfb8; }
.notice--warn .i { color: var(--warn); }
.notice--ok { background: var(--ok-soft); border-color: #bfe3cd; }
.notice--ok .i { color: var(--ok); }

/* CTA band (every page ends with one) */
.cta-band { background: var(--dark); color: var(--dark-text); padding: clamp(56px, 7vw, 88px) 0; position: relative; overflow: hidden; }
.cta-band::before { content: ''; position: absolute; inset: 0; background: radial-gradient(700px 300px at 90% 0%, rgba(176, 32, 56, 0.35), transparent 60%); pointer-events: none; }
.cta-band > .container { position: relative; display: grid; gap: 28px; align-items: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: var(--dark-muted); margin-top: 12px; max-width: 56ch; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (min-width: 900px) { .cta-band > .container { grid-template-columns: 1fr auto; } }

/* --------------------------------------------------------------------------
   Screenshot frames and in-page product mocks
   -------------------------------------------------------------------------- */
.frame { background: #fff; border: 1px solid var(--rule); border-radius: var(--r-4); overflow: hidden; box-shadow: var(--shadow-2); font-size: 12px; color: var(--ink-2); }
.frame__bar { display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: var(--dark); color: var(--dark-text); font-size: 12px; }
.frame__dots { display: flex; gap: 5px; }
.frame__dots span { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,0.22); }
.frame__title { flex: 1; text-align: center; color: var(--dark-muted); font-weight: 500; }
.frame__body { padding: 14px; display: grid; gap: 12px; background: var(--bg-alt); }
.frame__caption { font-size: 0.8125rem; color: var(--ink-4); margin-top: 10px; }
.frame--dark { border-color: var(--dark-rule); }
.frame--dark .frame__body { background: var(--dark-2); color: var(--dark-text); }

.kpis { display: grid; gap: 10px; grid-template-columns: repeat(3, 1fr); }
.kpi { background: #fff; border: 1px solid var(--rule); border-radius: var(--r-2); padding: 10px 12px; }
.kpi__label { font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-4); }
.kpi__value { font-size: 20px; font-weight: 700; letter-spacing: -0.02em; margin-top: 2px; color: var(--ink); }
.kpi__state { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 600; margin-top: 4px; }
.kpi__state .dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.kpi--ok .kpi__value, .kpi--ok .kpi__state { color: var(--ok); }
.kpi--warn .kpi__value, .kpi--warn .kpi__state { color: var(--warn); }
.kpi--crit .kpi__value, .kpi--crit .kpi__state { color: var(--crit); }

.mock-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--rule); border-radius: var(--r-2); overflow: hidden; }
.mock-table th, .mock-table td { padding: 7px 10px; text-align: left; border-bottom: 1px solid var(--rule); white-space: nowrap; }
.mock-table th { font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-4); background: var(--bg-alt); font-weight: 600; }
.mock-table tr:last-child td { border-bottom: 0; }
.mock-table td.num { font-variant-numeric: tabular-nums; text-align: right; }
.mock-table .mono { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 11px; }

.mock-panel { background: #fff; border: 1px solid var(--rule); border-radius: var(--r-2); padding: 12px; }
.mock-panel__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; font-weight: 600; color: var(--ink); }
.mock-panel__head .i { width: 14px; height: 14px; color: var(--red); }
.insight { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: start; padding: 9px 10px; border-radius: var(--r-1); background: var(--bg-alt); border-left: 3px solid var(--rule-strong); }
.insight + .insight { margin-top: 8px; }
.insight--crit { border-left-color: var(--crit); }
.insight--warn { border-left-color: var(--warn); }
.insight--ok { border-left-color: var(--ok); }
.insight p { margin: 0; color: var(--ink-2); line-height: 1.4; }
.insight .btn { padding: 5px 9px; font-size: 11px; border-radius: var(--r-1); }

.queue { display: grid; gap: 8px; }
.queue__item { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; padding: 8px 10px; background: #fff; border: 1px solid var(--rule); border-radius: var(--r-2); }
.queue__id { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 11px; color: var(--ink-4); }
.queue__title { font-weight: 500; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.queue__meta { font-size: 11px; color: var(--ink-4); }

.bars { display: grid; gap: 8px; }
.bar { display: grid; grid-template-columns: 90px 1fr 44px; gap: 10px; align-items: center; }
.bar__label { color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bar__track { height: 10px; background: var(--bg-sunken); border-radius: 999px; overflow: hidden; position: relative; }
.bar__fill { height: 100%; background: var(--navy); border-radius: 999px; }
.bar__fill--crit { background: var(--crit); }
.bar__fill--warn { background: var(--warn); }
.bar__fill--ok { background: var(--ok); }
.bar__cap { position: absolute; top: -3px; bottom: -3px; width: 2px; background: var(--ink); }
.bar__val { text-align: right; font-variant-numeric: tabular-nums; color: var(--ink-3); }

.gantt { display: grid; gap: 6px; }
.gantt__row { display: grid; grid-template-columns: 110px 1fr; gap: 8px; align-items: center; }
.gantt__label { color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gantt__track { height: 14px; position: relative; background: repeating-linear-gradient(90deg, transparent 0 calc(12.5% - 1px), var(--rule) calc(12.5% - 1px) 12.5%); }
.gantt__bar { position: absolute; top: 2px; bottom: 2px; border-radius: 3px; background: var(--navy); }
.gantt__bar--ok { background: var(--ok); }
.gantt__bar--warn { background: var(--warn); }
.gantt__bar--crit { background: var(--crit); }

.flow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.flow__node { padding: 7px 10px; border-radius: var(--r-2); border: 1px solid var(--rule-strong); background: #fff; font-weight: 500; color: var(--ink); white-space: nowrap; }
.flow__node--start { background: var(--navy); color: #fff; border-color: var(--navy); }
.flow__node--decision { border-style: dashed; border-color: var(--warn); }
.flow__node--end { background: var(--ok); color: #fff; border-color: var(--ok); }
.flow__arrow { color: var(--ink-5); }
.flow__arrow .i { width: 14px; height: 14px; }

/* Architecture diagram */
.arch { display: grid; gap: 14px; grid-template-columns: 1fr; }
.arch__box { border: 1px solid var(--rule); border-radius: var(--r-3); padding: 18px; background: #fff; }
.arch__box--core { border-color: var(--red); box-shadow: inset 0 3px 0 var(--red); }
.arch__box h4 { font-size: 0.9375rem; margin-bottom: 8px; }
.arch__box ul { list-style: none; padding: 0; margin: 0; font-size: 0.875rem; color: var(--ink-3); display: grid; gap: 4px; }
.arch__link { display: flex; align-items: center; justify-content: center; gap: 8px; color: var(--ink-4); font-size: 0.8125rem; }
@media (min-width: 900px) {
  .arch { grid-template-columns: 1fr auto 1.2fr auto 1fr; align-items: stretch; }
  .arch__link { flex-direction: column; }
}

/* Two-option deployment cards */
.option { border: 1px solid var(--rule); border-radius: var(--r-3); overflow: hidden; background: #fff; display: flex; flex-direction: column; }
.option__head { background: var(--dark); color: #fff; padding: 20px 24px; }
.option__head h3 { color: #fff; font-size: 1.25rem; }
.option__head p { color: var(--dark-muted); font-size: 0.9375rem; margin-top: 4px; }
.option__body { padding: 24px; display: grid; gap: 18px; flex: 1; }

/* Pricing model cards */
.price { border: 1px solid var(--rule); border-radius: var(--r-3); padding: 28px; background: #fff; display: flex; flex-direction: column; gap: 14px; }
.price--featured { border-color: var(--red); box-shadow: inset 0 4px 0 var(--red); }
.price__name { font-size: 1.125rem; font-weight: 700; }
.price__desc { color: var(--ink-3); font-size: 0.9375rem; }

/* Logo strip / credibility */
.strip { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; justify-content: center; color: var(--ink-4); font-size: 0.875rem; }
.strip span { display: inline-flex; align-items: center; gap: 8px; }
.strip .i { width: 16px; height: 16px; color: var(--red); }

/* --------------------------------------------------------------------------
   Forms
   -------------------------------------------------------------------------- */
.form { display: grid; gap: 18px; }
.form__row { display: grid; gap: 18px; }
@media (min-width: 640px) { .form__row--2 { grid-template-columns: 1fr 1fr; } }
.field label { display: block; font-size: 0.875rem; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.field .hint { display: block; font-size: 0.8125rem; color: var(--ink-4); margin-top: 6px; }
.input, .select, .textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--rule-strong); border-radius: var(--r-2); background: #fff; color: var(--ink); font: inherit; font-size: 0.9375rem; transition: border-color 0.15s ease, box-shadow 0.15s ease; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(0, 48, 128, 0.15); }
.textarea { min-height: 120px; resize: vertical; }
.select { appearance: none; background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2355585f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 40px; }
.input.is-invalid, .select.is-invalid, .textarea.is-invalid { border-color: var(--crit); }
.field-error { color: var(--crit); font-size: 0.8125rem; margin-top: 6px; }
.field-warning { color: var(--warn); font-size: 0.8125rem; margin-top: 6px; }
.form-error { padding: 12px 14px; border-radius: var(--r-2); background: var(--crit-soft); color: var(--crit); font-size: 0.9375rem; }
.form-error a { color: inherit; text-decoration: underline; }
.form__legal { font-size: 0.8125rem; color: var(--ink-4); }
.form-card { background: #fff; border: 1px solid var(--rule); border-radius: var(--r-3); padding: clamp(22px, 3vw, 36px); }
.form-success { background: var(--ok-soft); border: 1px solid #bfe3cd; border-radius: var(--r-3); padding: 32px; text-align: center; }
.form-success .i { width: 40px; height: 40px; color: var(--ok); margin: 0 auto 12px; }
.spinner { display: inline-block; width: 18px; height: 18px; border: 2px solid rgba(255,255,255,0.4); border-top-color: #fff; border-radius: 50%; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.hp { position: absolute; left: -9999px; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer { background: var(--dark); color: var(--dark-text); padding: 64px 0 32px; font-size: 0.9rem; }
.footer a { color: var(--dark-text); }
.footer a:hover { color: #fff; }
.footer__top { display: grid; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--dark-rule); }
.footer__brand img { height: 36px; width: auto; }
.footer__brand p { color: var(--dark-muted); margin-top: 16px; max-width: 36ch; font-size: 0.9rem; }
.footer__cols { display: grid; gap: 28px; grid-template-columns: repeat(2, 1fr); }
.footer__col h4 { color: #fff; font-size: 0.8125rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 14px; }
.footer__col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.footer__compliance { padding: 28px 0; border-bottom: 1px solid var(--dark-rule); color: var(--dark-muted); font-size: 0.8125rem; max-width: 100ch; line-height: 1.6; }
.footer__bottom { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center; padding-top: 24px; color: var(--dark-muted); font-size: 0.8125rem; }
.footer__legal { display: flex; flex-wrap: wrap; gap: 18px; list-style: none; margin: 0; padding: 0; }
@media (min-width: 900px) {
  .footer__top { grid-template-columns: 1.1fr 2fr; }
  .footer__cols { grid-template-columns: repeat(4, 1fr); }
}

/* --------------------------------------------------------------------------
   Motion and utilities
   -------------------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.5s ease, transform 0.5s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 32px; } .mt-6 { margin-top: 48px; }
.mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 24px; } .mb-4 { margin-bottom: 32px; }
.flex { display: flex; } .items-center { align-items: center; } .gap-2 { gap: 12px; } .wrap { flex-wrap: wrap; } .between { justify-content: space-between; }
.anchor-offset { scroll-margin-top: calc(var(--nav-h) + 24px); }
.section-nav { position: sticky; top: var(--nav-h); z-index: 50; background: #fff; border-bottom: 1px solid var(--rule); }
.section-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.section-nav ul::-webkit-scrollbar { display: none; }
.section-nav a { display: block; padding: 14px 14px; font-size: 0.875rem; font-weight: 500; color: var(--ink-3); white-space: nowrap; border-bottom: 2px solid transparent; }
.section-nav a:hover, .section-nav a.is-active { color: var(--ink); border-bottom-color: var(--red); text-decoration: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
@media print {
  .util, .nav, .footer, .cta-band, .drawer, .skip-link { display: none !important; }
  .hero { background: #fff; color: #000; }
  .hero::before, .hero::after { display: none; }
  .hero h1 { color: #000; }
}

/* --------------------------------------------------------------------------
   Cookie consent
   -------------------------------------------------------------------------- */
.consent { position: fixed; left: 0; right: 0; bottom: 0; z-index: 140; padding: 0 var(--gutter) calc(16px + env(safe-area-inset-bottom)); pointer-events: none; }
.consent[hidden] { display: none; }
.consent__inner { pointer-events: auto; max-width: var(--container); margin: 0 auto; background: #fff; color: var(--ink-2); border: 1px solid var(--rule); border-radius: var(--r-3); box-shadow: 0 16px 48px rgba(18, 19, 22, 0.22); padding: 20px 22px; display: grid; gap: 16px; }
.consent__title { font-size: 1rem; font-weight: 700; color: var(--ink); margin-bottom: 4px; }
.consent__text { font-size: 0.9rem; color: var(--ink-3); margin: 0; max-width: 80ch; }
.consent__text a { color: var(--navy); text-decoration: underline; }
.consent__prefs { display: grid; gap: 10px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--rule); }
.consent__opt { display: flex; gap: 10px; align-items: flex-start; font-size: 0.875rem; color: var(--ink-2); cursor: pointer; }
.consent__opt input { margin-top: 3px; width: 16px; height: 16px; accent-color: var(--red); }
.consent__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.consent__actions .btn { padding: 10px 16px; font-size: 0.875rem; }
.consent__actions [hidden] { display: none; }
@media (min-width: 960px) {
  .consent__inner { grid-template-columns: 1fr auto; align-items: center; }
  .consent__actions { justify-content: flex-end; }
}
.footer__linkbtn { background: none; border: 0; padding: 0; color: var(--dark-text); font: inherit; cursor: pointer; }
.footer__linkbtn:hover { color: #fff; text-decoration: underline; }

/* --------------------------------------------------------------------------
   Home: concept of operations
   -------------------------------------------------------------------------- */
/* Dictionary-style definition panel used in the home hero */
.define { background: var(--dark-2); border: 1px solid var(--dark-rule); border-radius: var(--r-4); box-shadow: var(--shadow-2); overflow: hidden; }
.define__head { padding: 28px 28px 24px; border-bottom: 1px solid var(--dark-rule); }
.define__word { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; }
.define__term { font-size: clamp(1.75rem, 3vw, 2.25rem); font-weight: 700; letter-spacing: -0.03em; color: #fff; line-height: 1; }
.define__pron { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.875rem; color: var(--dark-muted); }
.define__pos { margin-top: 10px; font-size: 0.8125rem; color: #ff8f9f; font-weight: 600; letter-spacing: 0.04em; }
.define__text { margin-top: 12px; color: var(--dark-text); font-size: 0.9375rem; line-height: 1.55; }
.define__text strong { color: #fff; }
.define__src { margin-top: 14px; font-size: 0.75rem; color: var(--dark-muted); line-height: 1.5; }
.define__qa { padding: 20px 28px 24px; }
.define__qa h2, .define__qa h3 { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dark-muted); margin-bottom: 12px; }
.define__qa ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; counter-reset: q; }
.define__qa li { display: grid; grid-template-columns: 22px 1fr auto; gap: 10px; align-items: center; padding: 8px 10px; border-radius: var(--r-2); background: rgba(255,255,255,0.04); color: #fff; font-size: 0.875rem; font-weight: 500; }
.define__qa li::before { counter-increment: q; content: counter(q); width: 22px; height: 22px; border-radius: 50%; background: var(--red); color: #fff; font-size: 11px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.define__qa .pill { background: rgba(255,255,255,0.1); color: var(--dark-text); }
@media (max-width: 480px) {
  .define__head, .define__qa { padding-left: 20px; padding-right: 20px; }
  .define__qa li { grid-template-columns: 22px 1fr; }
  .define__qa .pill { grid-column: 2; justify-self: start; }
}

/* Large pull statement */
.pull { font-size: clamp(1.5rem, 2.8vw, 2.25rem); font-weight: 700; letter-spacing: -0.025em; line-height: 1.2; color: var(--ink); max-width: 30ch; }
.pull em { font-style: normal; color: var(--red); }
.section--dark .pull { color: #fff; }
.section--dark .pull em { color: #ff8f9f; }

/* Concept-to-platform mapping rows */
.map-row { display: grid; gap: 14px; grid-template-columns: 44px 1fr; align-items: start; padding: 18px 0; border-top: 1px solid var(--rule); }
.map-row:last-child { border-bottom: 1px solid var(--rule); }
.map-row__from { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-4); }
.map-row__to { font-size: 1.0625rem; font-weight: 600; color: var(--ink); margin-top: 2px; }
.map-row__to a { color: inherit; }
.map-row p { color: var(--ink-3); font-size: 0.9375rem; margin-top: 4px; }
