/* ExigentOps public website. Colors come off the apparatus: engine red,
   station navy, chrome, and the reflective rear-chevron yellow. */
:root {
  --red: #c8102e;
  --red-dark: #a00d25;
  --navy: #0e2240;
  --navy-2: #16305a;
  --chrome: #d9dde1;
  --trim: #f2e94e;
  --ink: #0e2240;
  --ink-2: rgba(14, 34, 64, 0.76);
  --ink-3: rgba(14, 34, 64, 0.58);
  --paper: #ffffff;
  --paper-2: #f4f5f7;
  --line: #d9dde1;
  --radius: 8px;
  --display: "Big Shoulders Display", "Public Sans", system-ui, sans-serif;
  --body: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--body); }
img { max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.1; margin: 0; }
p { margin: 0; }
.display { font-family: var(--display); font-weight: 800; letter-spacing: -0.01em; }
.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.wrap.narrow { max-width: 820px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--trim); color: var(--navy); padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--trim); outline-offset: 2px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 22px; border-radius: 6px; font-weight: 700; font-size: 16px; text-decoration: none; border: 2px solid transparent; transition: filter .15s, background .15s; }
.btn-sm { padding: 8px 14px; font-size: 15px; }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { filter: brightness(1.1); }
.btn-ghost { color: #fff; border-color: rgba(255,255,255,.45); }
.btn-ghost:hover { background: rgba(255,255,255,.1); }
.btn-white { background: #fff; color: var(--red); }
.btn-white:hover { background: var(--paper-2); }
.btn-outline { color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-link { font-weight: 600; text-decoration: none; }
.btn-link:hover { text-decoration: underline; }
.btn-link.light { color: #fff; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.95); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; gap: 24px; height: 66px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 19px; text-decoration: none; color: var(--navy); }
.brand-mark { display: inline-flex; width: 32px; height: 32px; border-radius: 7px; background: var(--red); color: #fff; align-items: center; justify-content: center; font-family: var(--display); font-weight: 800; font-size: 19px; }
.brand-light { color: #fff; }
.main-nav { display: flex; gap: 4px; margin-left: 8px; }
.main-nav a { padding: 8px 10px; border-radius: 6px; text-decoration: none; font-weight: 500; font-size: 15px; color: var(--ink-2); }
.main-nav a:hover, .main-nav a[aria-current] { color: var(--navy); background: var(--paper-2); }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 16px; font-size: 15px; }
.mobile-nav { display: none; margin-left: auto; position: relative; }
.mobile-nav summary { list-style: none; cursor: pointer; width: 44px; height: 44px; display: flex; flex-direction: column; justify-content: center; gap: 5px; padding: 10px; border-radius: 6px; }
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav summary span { display: block; height: 2px; background: var(--navy); border-radius: 2px; }
.mobile-nav nav { position: absolute; right: 0; top: 52px; width: min(300px, calc(100vw - 32px)); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 16px 40px rgba(14,34,64,.18); padding: 10px; display: grid; gap: 2px; }
.mobile-nav nav a { padding: 10px 12px; border-radius: 6px; text-decoration: none; font-weight: 600; }
.mobile-nav nav a:hover { background: var(--paper-2); }
.mobile-nav nav .btn { margin-top: 6px; }
@media (max-width: 1020px) { .main-nav, .header-actions { display: none; } .mobile-nav { display: block; } }

/* Breadcrumbs */
.crumbs-bar { background: var(--navy); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 14px 20px 0; font-size: 14px; color: rgba(255,255,255,.6); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: rgba(255,255,255,.35); }
.crumbs a { color: rgba(255,255,255,.8); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

/* Hero */
.hero { background: var(--navy); color: #fff; position: relative; isolation: isolate; overflow: hidden; }
.hero-grid { padding: 56px 20px 72px; display: grid; gap: 40px; align-items: center; }
.hero-grid.has-aside { grid-template-columns: 1.15fr .85fr; }
.hero h1 { font-size: clamp(2.6rem, 6.4vw, 4.8rem); line-height: .95; max-width: 15ch; }
.hero .lead { margin-top: 20px; font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--chrome); max-width: 60ch; }
.eyebrow { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; color: var(--trim); margin-bottom: 14px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.chevron { height: 14px; background-image: repeating-linear-gradient(135deg, var(--red) 0 22px, var(--trim) 22px 44px); }
.hero-video { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.hero-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--navy) 0%, rgba(14,34,64,.9) 40%, rgba(14,34,64,.45) 78%, rgba(14,34,64,.2) 100%); }
.home-hero .hero-grid { min-height: min(82svh, 760px); padding-top: 80px; padding-bottom: 88px; }
/* NERIS seal: top right of the home hero. Shown as a credential beside the
   ExigentOps brand, never in place of it (NERIS badge terms: proportional
   resize only, no implied endorsement). */
.home-hero .hero-grid { position: relative; }
.hero-seal { position: absolute; top: 56px; right: 20px; display: flex; flex-direction: column; align-items: center; gap: 10px; text-decoration: none; color: var(--chrome); font-size: 13px; font-weight: 600; letter-spacing: .02em; text-align: center; }
.hero-seal img { width: clamp(150px, 15vw, 200px); height: auto; aspect-ratio: 1; filter: drop-shadow(0 10px 28px rgba(0,0,0,.45)); transition: transform .2s ease; }
.hero-seal:hover img, .hero-seal:focus-visible img { transform: scale(1.03); }
.hero-seal:focus-visible { outline: 3px solid var(--trim); outline-offset: 6px; border-radius: 12px; }
@media (max-width: 1000px) {
  .hero-seal { position: static; flex-direction: row; justify-content: flex-start; gap: 14px; margin-top: 4px; text-align: left; }
  .hero-seal img { width: 88px; }
}
@media (prefers-reduced-motion: reduce) { .hero-seal img { transition: none; } }
.home-hero h1 { font-size: clamp(2.9rem, 8vw, 6.2rem); max-width: 13ch; }
@media (max-width: 860px) { .hero-grid.has-aside { grid-template-columns: 1fr; } }

/* Bands and type */
.band { padding: 80px 0; }
.band.tint { background: var(--paper-2); }
.band.navy { background: var(--navy); color: #fff; }
.band.navy .sub, .band.navy p { color: var(--chrome); }
.band.red { background: var(--red); color: #fff; }
.band h2 { font-family: var(--display); font-weight: 800; font-size: clamp(2.1rem, 4.6vw, 3.6rem); line-height: 1; max-width: 22ch; }
.band h2.small { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.sub { margin-top: 16px; font-size: 1.12rem; color: var(--ink-2); max-width: 64ch; }
.prose { max-width: 72ch; }
.prose h2 { font-family: var(--display); font-size: clamp(1.9rem, 3.6vw, 2.6rem); margin: 48px 0 14px; max-width: none; }
.prose h3 { font-size: 1.2rem; margin: 30px 0 8px; }
.prose p, .prose ul, .prose ol { margin: 0 0 16px; color: var(--ink-2); }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin-bottom: 6px; }
.prose strong { color: var(--ink); }
.prose a { color: var(--red); font-weight: 600; }
.prose code { font-family: var(--mono); font-size: .9em; background: var(--paper-2); padding: 1px 5px; border-radius: 4px; }
.article-meta { margin-top: 18px; font-size: 15px; color: var(--chrome); }
.mt-0 { margin-top: 0 !important; }
.mt-l { margin-top: 44px; }
.center { text-align: center; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 32px; } .band { padding: 60px 0; } }

/* Cards */
.cards { display: grid; gap: 20px; margin-top: 40px; }
.cards.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cards.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cards.cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .cards.cols-3, .cards.cols-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .cards.cols-2, .cards.cols-3, .cards.cols-4 { grid-template-columns: 1fr; } }
.card { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--red); border-radius: var(--radius); padding: 22px 22px 20px; display: flex; flex-direction: column; }
.band.navy .card { background: var(--navy-2); border-color: rgba(255,255,255,.12); border-top-color: var(--trim); }
.band.navy .card p { color: var(--chrome); }
.card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.card h3 a { text-decoration: none; }
.card h3 a:hover { text-decoration: underline; }
.card p { color: var(--ink-2); font-size: 16px; }
.card .more { margin-top: auto; padding-top: 14px; font-weight: 700; color: var(--red); text-decoration: none; font-size: 15px; }
.band.navy .card .more { color: var(--trim); }
.card .card-tag { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--red); margin-bottom: 6px; }

/* Lists */
.checks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 34px; color: var(--ink-2); }
.checks li strong { color: var(--ink); }
.checks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.2 4.2L19 7'/%3E%3C/svg%3E") center/14px no-repeat; }
.band.navy .checks li { color: var(--chrome); }
.band.navy .checks li strong { color: #fff; }
.steps { list-style: none; margin: 36px 0 0; padding: 0; border-left: 4px solid var(--red); }
.steps li { display: grid; grid-template-columns: 76px 1fr; gap: 18px; padding: 18px 0 18px 26px; position: relative; }
.steps li::before { content: ""; position: absolute; left: -12px; top: 28px; width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 4px solid var(--red); }
.step-num { font-family: var(--display); font-weight: 800; font-size: 2.6rem; line-height: 1; color: var(--red); }
.steps h3 { font-size: 1.15rem; margin: 4px 0 4px; }
.steps p { color: var(--ink-2); }
@media (max-width: 560px) { .steps li { grid-template-columns: 1fr; gap: 4px; } }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255,255,255,.14); border-radius: var(--radius); overflow: hidden; margin-top: 40px; }
.stat { background: var(--navy); padding: 26px 22px; }
.band:not(.navy) .stats { background: var(--line); }
.band:not(.navy) .stat { background: #fff; }
.stat-n { font-size: clamp(2.4rem, 5vw, 3.4rem); line-height: 1; color: var(--red); }
.band.navy .stat-n { color: var(--trim); }
.stat-l { margin-top: 8px; font-size: 15px; color: var(--ink-2); }
.band.navy .stat-l { color: var(--chrome); }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* Pricing */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
@media (max-width: 860px) { .tiers { grid-template-columns: 1fr; } }
.tier { border: 2px solid var(--line); border-radius: var(--radius); padding: 28px; background: #fff; display: flex; flex-direction: column; }
.tier.featured { border-color: var(--red); box-shadow: 0 18px 40px rgba(200,16,46,.12); }
.tier-name { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--red); }
.tier-price { font-family: var(--display); font-weight: 800; font-size: 3.6rem; line-height: 1; margin-top: 12px; }
.tier-price span { font-family: var(--body); font-size: 1.05rem; font-weight: 600; color: var(--ink-3); margin-left: 4px; }
.tier-fit { margin-top: 10px; font-weight: 600; }
.tier .checks { margin-top: 18px; gap: 8px; font-size: 15px; }
.tier .btn { margin-top: 24px; }

/* Tables */
.table-wrap { overflow-x: auto; margin-top: 32px; border: 1px solid var(--line); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; font-size: 15.5px; min-width: 560px; }
caption { text-align: left; padding: 14px 16px; font-weight: 700; }
th, td { text-align: left; vertical-align: top; padding: 13px 16px; border-bottom: 1px solid var(--line); }
thead th { background: var(--navy); color: #fff; font-weight: 700; font-size: 14px; letter-spacing: .02em; }
tbody th { font-weight: 600; width: 32%; }
tbody tr:nth-child(even) { background: var(--paper-2); }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
td { color: var(--ink-2); }
.mark { display: inline-flex; width: 22px; height: 22px; border-radius: 50%; align-items: center; justify-content: center; font-weight: 800; font-size: 13px; }
.mark.yes { background: var(--red); color: #fff; }
.mark.no { background: var(--line); color: var(--ink-3); }

/* FAQ */
.faq { margin-top: 32px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; font-weight: 700; font-size: 1.08rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 14px; font-size: 1.6rem; font-weight: 400; color: var(--red); }
.faq details[open] summary::after { content: "\2013"; }
.faq-a { padding: 0 0 20px; color: var(--ink-2); max-width: 72ch; }
.faq-a p + p { margin-top: 10px; }
.faq-a a { color: var(--red); font-weight: 600; }

/* Callouts, sources */
.callout { border-left: 5px solid var(--red); background: var(--paper-2); padding: 18px 22px; border-radius: 0 var(--radius) var(--radius) 0; margin: 28px 0; color: var(--ink-2); }
.callout strong { color: var(--ink); }
.callout.trim { border-left-color: var(--trim); background: #fffbd6; }
.sources { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-3); }
.sources-title { font-weight: 700; color: var(--ink-2); margin-bottom: 6px; }
.sources ul { margin: 0; padding-left: 18px; }
.sources a { color: var(--ink-2); }

/* Product mockups: simplified pictures of real screens */
.mock { background: #fff; color: var(--ink); border-radius: 10px; box-shadow: 0 24px 60px rgba(0,0,0,.35); overflow: hidden; font-size: 14.5px; }
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: var(--paper-2); border-bottom: 1px solid var(--line); font-size: 12.5px; color: var(--ink-3); font-weight: 600; }
.mock-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line); display: inline-block; }
.mock-body { padding: 16px 18px 18px; }
.mock-title { font-weight: 700; font-size: 15.5px; }
.mock-meta { color: var(--ink-3); font-size: 13px; margin-top: 2px; }
.mock-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.mock-row:last-child { border-bottom: 0; }
.pill { display: inline-block; padding: 2px 9px; border-radius: 99px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.pill.ok { background: #e4f4ea; color: #146c35; }
.pill.warn { background: #fff4d1; color: #7a5600; }
.pill.bad { background: #fde6e9; color: var(--red-dark); }
.pill.blue { background: #e3eefc; color: #1a4f9c; }
.mock-msg { margin-top: 12px; padding: 10px 12px; border-radius: 6px; background: #fde6e9; color: var(--red-dark); font-size: 13.5px; }
.mock-msg.ok { background: #e4f4ea; color: #146c35; }
.mock-btn { display: inline-block; margin-top: 12px; padding: 8px 14px; border-radius: 6px; background: var(--red); color: #fff; font-weight: 700; font-size: 13.5px; }
.mock-btn.dark { background: var(--navy); }
.swatch { width: 14px; height: 14px; border-radius: 50%; display: inline-block; vertical-align: -2px; margin-right: 6px; border: 1px solid rgba(0,0,0,.15); }

/* Founder quote */
.quote { font-family: var(--display); font-weight: 700; font-size: clamp(1.8rem, 4vw, 3.1rem); line-height: 1.08; max-width: 30ch; }
.quote-by { margin-top: 24px; font-size: 1.1rem; opacity: .9; }

/* CTA band */
.cta-band { background: var(--red); color: #fff; }
.cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; padding-top: 56px; padding-bottom: 60px; }
.cta-band h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); line-height: 1; }
.cta-band p { margin-top: 10px; max-width: 56ch; opacity: .92; }
.cta-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }

/* Footer */
.site-footer { background: var(--navy); color: var(--chrome); padding: 56px 0 28px; font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 32px; }
@media (max-width: 960px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-about { grid-column: 1 / -1; } }
.foot-about p { margin-top: 12px; max-width: 36ch; }
.foot-about a { color: #fff; }
.seal-line { display: flex; align-items: center; gap: 10px; font-weight: 600; color: #fff; }
.seal-line img { background: #fff; border-radius: 50%; }
.foot-title { color: #fff; font-weight: 700; margin-bottom: 10px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 7px; }
.site-footer ul a { color: var(--chrome); text-decoration: none; }
.site-footer ul a:hover { color: #fff; text-decoration: underline; }
.foot-legal { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.14); font-size: 13px; color: rgba(217,221,225,.7); }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
.steps.times li { grid-template-columns: 130px 1fr; }
@media (max-width: 560px) { .steps.times li { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .stat { padding: 18px 14px; } .stat-n { font-size: 1.6rem; } .stat-l { font-size: 14px; } }
