/* Patriot Circuits — site styles. No inline styles or scripts are used, so the site runs under a strict Content Security Policy. */

@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url("../fonts/archivo-latin-standard-normal.woff2") format("woff2-variations"),
       url("../fonts/archivo-latin-standard-normal.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url("../fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url("../fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2");
}

:root {
  --ink: #0F1720;
  --ink-2: #3A4452;
  --muted: #4A5563;
  --paper: #F4F3EF;
  --white: #FFFFFF;
  --line: #D8D5CC;
  --line-soft: #E2DFD7;
  --chip: #B9B5AA;
  --navy: #0B1623;
  --navy-2: #102033;
  --navy-line: #2A3A50;
  --navy-line-soft: #1E2E44;
  --steel: #5B6F88;
  --steel-2: #3E526B;
  --on-navy: #C9D2DC;
  --on-navy-muted: #A9B4C2;
  --night: #070E17;
  --accent: #C81E24;
  --accent-dark: #9E161B;
  --sans: "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
  --gutter: clamp(24px, 6.6vw, 96px);
  --sec: clamp(56px, 7vw, 96px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--paper); }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ul, dl, dd, figure { margin: 0; }
a { color: var(--accent); }
a:hover { color: var(--accent-dark); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.on-navy :focus-visible { outline-color: #FFFFFF; }
section[id], [id] { scroll-margin-top: 24px; }

.wrap { width: min(1248px, calc(100% - 2 * var(--gutter))); margin-inline: auto; }
.skip { position: absolute; left: -9999px; top: 12px; z-index: 100; padding: 12px 16px; background: var(--white); color: var(--ink); font-weight: 600; }
.skip:focus { left: 12px; }

/* Type */
.eyebrow { display: flex; align-items: center; gap: 12px; font-family: var(--mono); font-size: 13px; line-height: 1.5; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.eyebrow::before { content: ""; width: 24px; height: 2px; background: var(--accent); flex-shrink: 0; }
.display { font-size: clamp(50px, 6.1vw, 88px); line-height: 0.98; font-weight: 800; font-stretch: 82%; letter-spacing: -0.01em; }
.display--md { font-size: clamp(46px, 5vw, 72px); }
.h2 { font-size: clamp(34px, 3.4vw, 48px); line-height: 1.05; font-weight: 800; font-stretch: 85%; letter-spacing: -0.01em; }
.h2--xl { font-size: clamp(40px, 3.9vw, 56px); line-height: 1.02; }
.h3 { font-size: clamp(22px, 1.9vw, 26px); line-height: 1.15; font-weight: 700; font-stretch: 88%; }
.h3--sm { font-size: 20px; line-height: 1.2; }
.lead { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.5; color: var(--ink-2); }
.body { font-size: 16px; line-height: 1.6; color: var(--ink-2); }
.body--sm { font-size: 14px; line-height: 1.55; }
.label { font-family: var(--mono); font-size: 12px; line-height: 1.5; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.label--accent { color: var(--accent); }
.note { font-family: var(--mono); font-size: 12px; line-height: 1.6; letter-spacing: 0.04em; color: var(--muted); }

.on-navy { background: var(--navy); color: var(--white); }
.on-navy .eyebrow, .on-navy .label { color: var(--on-navy-muted); }
.on-navy .lead, .on-navy .body { color: var(--on-navy); }

/* Buttons and links */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 0 28px; border: 1px solid transparent; font-family: var(--sans); font-size: 16px; font-weight: 600; line-height: 1.2; text-align: center; text-decoration: none; }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: 15px; }
.btn--primary { background: var(--accent); color: var(--white); }
.btn--primary:hover { background: var(--accent-dark); color: var(--white); }
.btn--outline { border-color: var(--ink); color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: var(--white); }
.btn--outline-light { border-color: var(--steel); color: var(--white); }
.btn--outline-light:hover { border-color: var(--white); color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 16px; }
.textlink { font-size: 16px; font-weight: 600; text-decoration: none; }
.textlink:hover { text-decoration: underline; text-underline-offset: 4px; }
.textlink--light { color: var(--white); text-decoration: underline; text-underline-offset: 4px; }
.textlink--light:hover { color: var(--white); }

/* Header */
.topbar { background: var(--night); color: var(--on-navy-muted); font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; }
.topbar__brand { display: flex; align-items: center; gap: 10px; }
.topbar__brand::before { content: ""; width: 8px; height: 8px; background: var(--accent); flex-shrink: 0; }
.site-header { position: relative; z-index: 10; background: var(--white); border-bottom: 1px solid var(--line-soft); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 32px; min-height: 88px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; font-size: 18px; font-weight: 800; font-stretch: 90%; letter-spacing: 0.14em; }
.brand:hover { color: var(--ink); }
.brand img { width: auto; height: 56px; }
.brand__mark { position: relative; display: inline-block; }
.brand__mark sup { position: absolute; right: -11px; top: -3px; font-size: 9px; font-weight: 600; line-height: 1; color: #0E2A4A; }
.brand__slogan sup { font-size: 7px; font-weight: 600; vertical-align: top; margin-left: 1px; letter-spacing: 0; }
.brand__text { display: flex; flex-direction: column; gap: 3px; }
.brand__name { font-size: 22px; line-height: 1; font-weight: 800; font-stretch: 78%; letter-spacing: 0.08em; text-transform: uppercase; color: #0E2A4A; }
.brand__name sup { font-size: 9px; font-weight: 600; letter-spacing: 0; vertical-align: top; margin-left: 2px; }
.brand__rule { display: block; width: 100%; height: 2px; background: linear-gradient(90deg, #C02038 0 60%, #1A3A62 60% 100%); }
.brand__slogan { font-size: 11px; line-height: 1; font-weight: 700; font-stretch: 85%; letter-spacing: 0.16em; text-transform: uppercase; color: #C02038; }
.site-footer .brand img { height: 64px; }
.site-footer .brand__name { font-size: 24px; }
.site-footer .brand__slogan { font-size: 12px; }
.brand--light, .brand--light:hover { color: var(--white); }
.nav-links { display: flex; gap: 30px; }
.nav-links a, .nav-cta__link { padding: 12px 0; color: var(--ink); font-size: 15px; font-weight: 500; text-decoration: none; }
.nav-links a:hover, .nav-cta__link:hover { color: var(--accent); }
.nav-links a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--accent); }
.nav-cta { display: flex; align-items: center; gap: 28px; }
.mnav { display: none; }
.mnav summary { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; list-style: none; cursor: pointer; }
.mnav summary::-webkit-details-marker { display: none; }
.mnav summary svg { width: 22px; height: 22px; }
.mnav .icon-close, .mnav[open] .icon-open { display: none; }
.mnav[open] .icon-close { display: block; }
.mnav__panel { position: absolute; left: 0; right: 0; top: 100%; display: flex; flex-direction: column; padding: 8px var(--gutter) 24px; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: 0 16px 32px rgba(15, 23, 32, 0.08); }
.mnav__panel a:not(.btn) { display: flex; align-items: center; min-height: 52px; border-bottom: 1px solid var(--line-soft); color: var(--ink); font-size: 18px; font-weight: 600; text-decoration: none; }
.mnav__panel a[aria-current="page"] { color: var(--accent); }
.mnav__panel .btn { margin-top: 20px; }
@media (max-width: 960px) {
  .nav-links, .nav-cta { display: none; }
  .mnav { display: block; margin-right: -10px; }
  .nav { min-height: 64px; }
  .brand { font-size: 14px; letter-spacing: 0.12em; gap: 10px; }
  .brand img { height: 40px; }
  .brand { gap: 10px; }
  .brand__name { font-size: 16px; }
  .brand__slogan { font-size: 8.5px; letter-spacing: 0.12em; }
  .brand__text { gap: 2px; }
  .site-footer .brand img { height: 48px; }
  .site-footer .brand__name { font-size: 18px; }
  .site-footer .brand__slogan { font-size: 10px; }
}

/* Sections */
.sec { padding-block: var(--sec); }
.sec--paper { background: var(--paper); }
.sec--white { background: var(--white); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.sec--navy { background: var(--navy); color: var(--white); }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 64px; margin-bottom: 48px; }
.sec-head__main { display: flex; flex-direction: column; gap: 16px; max-width: 820px; }
.sec-head__aside { max-width: 440px; font-size: 17px; line-height: 1.55; color: var(--muted); }
.on-navy .sec-head__aside { color: var(--on-navy); }
@media (max-width: 900px) {
  .sec-head { flex-direction: column; align-items: flex-start; gap: 16px; margin-bottom: 32px; }
}

.grid { display: grid; gap: 20px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 1100px) {
  .grid--4, .grid--5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .grid--2, .grid--3 { grid-template-columns: minmax(0, 1fr); gap: 16px; }
}
@media (max-width: 640px) {
  .grid--4, .grid--5 { grid-template-columns: minmax(0, 1fr); gap: 12px; }
}

.card { display: flex; flex-direction: column; gap: 14px; padding: 28px; background: var(--white); border: 1px solid var(--line); }
.card__top { display: flex; justify-content: space-between; align-items: center; }
.icon { width: 32px; height: 32px; flex-shrink: 0; }
.icon--sm { width: 28px; height: 28px; }
.check { width: 20px; height: 20px; flex-shrink: 0; }
@media (max-width: 640px) { .card { padding: 20px; gap: 10px; } }

/* Hero */
.hero { padding-block: 72px 96px; background: var(--white); border-bottom: 1px solid var(--line-soft); }
.hero__grid { display: flex; align-items: center; justify-content: space-between; gap: 48px; }
.hero__copy { display: flex; flex-direction: column; gap: 28px; max-width: 600px; }
.hero__copy--wide { max-width: 860px; }
.hero__tags { display: flex; flex-wrap: wrap; gap: 8px 16px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.hero__tags .sep { color: var(--chip); }
.hero-visual { position: relative; flex: 0 1 600px; aspect-ratio: 600 / 520; }
.hero-visual__board { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-visual .report { position: absolute; left: 0; bottom: 0; width: min(380px, 72%); }
.hero__side { flex: 0 0 560px; }
@media (max-width: 1100px) {
  .hero__grid { flex-direction: column; align-items: stretch; }
  .hero-visual { flex: none; aspect-ratio: auto; max-width: 520px; }
  .hero-visual__board { display: none; }
  .hero-visual .report { position: static; width: 100%; }
  .hero__side { flex: none; max-width: 560px; }
}
@media (max-width: 640px) {
  .hero { padding-block: 32px 40px; }
  .hero__copy { gap: 20px; }
  .btn-row .btn { flex: 1 1 100%; min-height: 52px; }
  .eyebrow { font-size: 11px; gap: 10px; }
  .eyebrow::before { width: 20px; }
}
.pill-tag { align-self: flex-start; flex-shrink: 0; padding: 8px 12px; border: 1px solid var(--chip); font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-2); }
.on-navy .pill-tag { border-color: var(--steel-2); color: #DCE3EA; }

/* Shield report and custody log cards */
.report { display: flex; flex-direction: column; gap: 16px; padding: 24px; background: var(--white); color: var(--ink); border: 1px solid var(--line); box-shadow: 0 12px 32px rgba(15, 23, 32, 0.10); }
.report--flat { box-shadow: none; border-color: var(--white); }
.report__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.report__title { display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 13px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; }
.report__title svg { width: 24px; height: 24px; }
.tag { padding: 3px 7px; border: 1px solid var(--chip); font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.report__unit { display: flex; flex-direction: column; gap: 4px; }
.report__unit strong { font-size: 18px; line-height: 1.3; }
.report__unit span { font-family: var(--mono); font-size: 12px; color: var(--muted); text-transform: uppercase; }
.report__unit--ruled { padding-bottom: 16px; border-bottom: 1px solid var(--line-soft); }
.checks { list-style: none; padding: 0; border-top: 1px solid var(--line-soft); }
.checks li { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line-soft); font-size: 15px; line-height: 1.4; }
.checks .what { flex-grow: 1; }
.checks .status { font-family: var(--mono); font-size: 11px; color: var(--muted); text-transform: uppercase; text-align: right; }
.report__sign { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; }
.report__sign--ruled { padding-top: 16px; border-top: 1px solid var(--line-soft); }
.report__sign .by { display: flex; flex-direction: column; gap: 4px; }
.report__sign .by small { font-size: 12px; color: var(--muted); }
.report__sign .by svg { width: 120px; height: 28px; }
.report__sign .by strong { font-size: 14px; font-weight: 600; }
.report__sign .stamp { font-family: var(--mono); font-size: 11px; color: var(--muted); text-transform: uppercase; }
.timeline { display: flex; flex-direction: column; gap: 20px; margin-left: 6px; padding: 2px 0; list-style: none; border-left: 2px solid var(--line-soft); }
.timeline li { position: relative; display: flex; flex-direction: column; gap: 4px; padding-left: 24px; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: 5px; width: 12px; height: 12px; border-radius: 50%; background: var(--white); border: 2px solid #9FB0C2; }
.timeline li.is-done::before { background: var(--accent); border-color: var(--accent); }
.timeline strong { font-size: 16px; line-height: 1.35; }
.timeline span { font-family: var(--mono); font-size: 11px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
.timeline li.is-done span { color: var(--accent); }
@media (max-width: 640px) {
  .report { padding: 20px; gap: 14px; }
  .checks li { font-size: 14px; gap: 10px; }
  .checks .status { font-size: 10px; }
}

/* Two-part "what we do" panels */
.panel { display: flex; flex-direction: column; gap: 20px; padding: 40px; background: var(--paper); border: 1px solid var(--line); }
.panel--navy { background: var(--navy); color: var(--white); border-color: var(--navy); }
.panel--navy .label { color: var(--on-navy-muted); }
.panel--navy .body { color: var(--on-navy); }
.panel__title { font-size: clamp(32px, 2.8vw, 40px); line-height: 1.05; font-weight: 800; font-stretch: 85%; }
.panel__link { margin-top: auto; }
.pills { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; list-style: none; }
.pills li { display: flex; align-items: center; gap: 8px; padding: 9px 14px; background: var(--white); border: 1px solid var(--chip); font-size: 15px; font-weight: 500; line-height: 1.3; }
.pills li::before { content: ""; width: 6px; height: 6px; background: var(--accent); flex-shrink: 0; }
.panel--navy .pills li { background: transparent; border-color: var(--steel-2); }
@media (max-width: 640px) { .panel { padding: 24px; gap: 14px; } .pills li { font-size: 14px; padding: 8px 12px; } }

/* Product cards */
.pcard { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.pcard:hover { color: var(--ink); border-color: var(--ink); }
.pcard__art { display: flex; align-items: center; justify-content: center; height: 220px; background: var(--navy); }
.pcard__art svg { width: auto; height: auto; max-width: 80%; max-height: 78%; }
.pcard__body { display: flex; flex-direction: column; gap: 14px; flex-grow: 1; padding: 28px; }
.pcard__more { margin-top: auto; padding-top: 8px; color: var(--accent); font-size: 15px; font-weight: 600; }
.pcard:hover .pcard__more { color: var(--accent-dark); text-decoration: underline; text-underline-offset: 4px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 4px 0 0; list-style: none; }
.chips li { padding: 6px 10px; border: 1px solid var(--chip); font-family: var(--mono); font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase; }
@media (max-width: 640px) {
  .pcard__art { height: 150px; }
  .pcard__body { padding: 20px; gap: 10px; }
  .chips li { font-size: 11px; padding: 5px 8px; }
}

/* Product rows (products page) */
.prows { display: flex; flex-direction: column; gap: 24px; }
.prow { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); background: var(--white); border: 1px solid var(--line); }
.prow__art { display: flex; align-items: center; justify-content: center; min-height: 340px; background: var(--navy); }
.prow__art svg { width: auto; height: auto; max-width: 78%; max-height: 70%; }
.prow__body { display: flex; flex-direction: column; gap: 16px; padding: 40px; }
.prow__body .btn-row { margin-top: 8px; }
.ticks { display: flex; flex-direction: column; gap: 10px; padding: 0; list-style: none; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; line-height: 1.5; }
.ticks .check { margin-top: 2px; }
@media (max-width: 900px) {
  .prow { grid-template-columns: minmax(0, 1fr); }
  .prow__art { min-height: 180px; }
  .prow__body { padding: 24px; }
}

/* Product detail hero */
.crumbs { display: flex; gap: 8px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--accent); }
.phero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.phero__copy { display: flex; flex-direction: column; gap: 24px; }
.phero__art { display: flex; align-items: center; justify-content: center; aspect-ratio: 4 / 3; background: var(--navy); }
.phero__art svg { width: auto; height: auto; max-width: 76%; max-height: 66%; }
@media (max-width: 900px) {
  .phero { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .phero__art { aspect-ratio: 16 / 10; }
}

/* Proof split (navy with report card) */
.split { display: flex; align-items: center; justify-content: space-between; gap: 96px; }
.split__copy { display: flex; flex-direction: column; gap: 24px; max-width: 560px; }
.split__card { flex: 0 0 400px; }
@media (max-width: 1000px) {
  .split { flex-direction: column; align-items: stretch; gap: 32px; }
  .split__card { flex: none; max-width: 480px; }
}

/* Certification steps */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; padding: 0; list-style: none; }
.steps li { display: flex; flex-direction: column; gap: 12px; padding: 28px; border: 1px solid var(--navy-line); }
.steps li:last-child { border-color: var(--accent); }
.sec--paper .steps li, .sec--white .steps li { background: var(--white); border-color: var(--line); }
.sec--paper .steps li:last-child, .sec--white .steps li:last-child { border-color: var(--accent); }
.step__name { font-size: 30px; line-height: 1.1; font-weight: 800; font-stretch: 85%; }
.result { display: flex; align-items: center; gap: 20px; margin-top: 32px; padding: 24px 28px; background: var(--navy-2); border: 1px solid var(--navy-line); }
.result svg { width: 32px; height: 32px; flex-shrink: 0; }
.result p { flex-grow: 1; font-size: 18px; line-height: 1.5; color: var(--white); }
.result a { flex-shrink: 0; }
@media (max-width: 1100px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .steps { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .steps li { padding: 20px; gap: 8px; }
  .step__name { font-size: 26px; }
  .result { flex-direction: column; align-items: flex-start; gap: 12px; padding: 20px; }
  .result p { font-size: 17px; }
}

/* Detailed steps (services page) */
.stepsx { padding: 0; list-style: none; }
.stepsx li { display: grid; grid-template-columns: 96px minmax(0, 1fr) 380px; gap: 32px; align-items: start; padding: 32px 0; border-top: 1px solid var(--line); }
.stepsx li:last-child { border-bottom: 1px solid var(--line); }
.stepnum { display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; border: 1.5px solid var(--ink); font-family: var(--mono); font-size: 16px; font-weight: 500; }
.stepnum--final { background: var(--accent); border-color: var(--accent); color: var(--white); }
.stepx__copy { display: flex; flex-direction: column; gap: 10px; }
.stepx__name { font-size: 30px; line-height: 1.1; font-weight: 800; font-stretch: 85%; }
.youget { display: flex; flex-direction: column; gap: 6px; padding: 16px 20px; background: var(--paper); font-size: 16px; line-height: 1.5; }
.youget--final { background: var(--navy); color: var(--white); }
.youget--final .label { color: var(--on-navy-muted); }
@media (max-width: 1000px) {
  .stepsx li { grid-template-columns: 56px minmax(0, 1fr); gap: 16px 20px; padding: 24px 0; }
  .stepsx .youget { grid-column: 2 / -1; }
}
@media (max-width: 640px) {
  .stepsx li { grid-template-columns: 44px minmax(0, 1fr); }
  .stepnum { width: 44px; height: 44px; font-size: 14px; }
  .stepx__name { font-size: 24px; }
  .stepsx .youget { grid-column: 1 / -1; padding: 12px 14px; font-size: 15px; }
}

/* Comparison table (services page) */
.compare { width: 100%; border-collapse: collapse; border-top: 2px solid var(--ink); }
.compare th, .compare td { padding: 22px 24px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; font-size: 17px; line-height: 1.45; }
.compare thead th { font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.compare thead th.is-ours { background: var(--white); color: var(--accent); }
.compare tbody th { width: 280px; padding-left: 0; font-weight: 700; }
.compare td.theirs { color: var(--muted); }
.compare td.ours { background: var(--white); }
.compare td.ours .cell { display: flex; gap: 12px; align-items: flex-start; }
.compare td.ours .check { margin-top: 2px; }
@media (max-width: 800px) {
  .compare, .compare tbody, .compare tr, .compare th, .compare td { display: block; width: 100%; }
  .compare { border-top: 0; }
  .compare thead { display: none; }
  .compare tr { margin-bottom: 10px; padding: 18px; background: var(--white); border: 1px solid var(--line); }
  .compare tbody th { width: auto; padding: 0 0 10px; border: 0; font-size: 17px; }
  .compare td { padding: 0; border: 0; font-size: 15px; }
  .compare td::before { content: attr(data-label); display: block; margin-bottom: 2px; font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
  .compare td.theirs { padding-bottom: 10px; }
  .compare td.ours { padding-top: 10px; border-top: 1px solid var(--line-soft); font-weight: 500; }
  .compare td.ours::before { color: var(--accent); }
}

/* Roadmap phases */
.roadmap { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.roadmap--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.phase { display: flex; flex-direction: column; gap: 12px; padding-top: 20px; border-top: 3px solid var(--ink); }
.phase--now { border-top-color: var(--accent); }
.phase--future { border-top-style: dashed; border-top-color: #9E9A8F; }
.phase__label { padding-bottom: 4px; font-family: var(--mono); font-size: 13px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; }
.phase--now .phase__label { color: var(--accent); }
.phase--future .phase__label { color: var(--muted); }
.phase ul { display: flex; flex-direction: column; gap: 12px; padding: 0; list-style: none; }
.phase li { display: flex; align-items: center; gap: 16px; padding: 16px 20px; background: var(--white); border: 1px solid var(--line); font-size: 18px; font-weight: 600; line-height: 1.3; }
@media (max-width: 900px) {
  .roadmap, .roadmap--2 { grid-template-columns: minmax(0, 1fr); }
  .phase li { font-size: 16px; padding: 14px 16px; gap: 14px; }
}

/* Use cases */
.uses { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; padding: 0; list-style: none; }
.uses li { display: flex; align-items: center; gap: 16px; padding: 20px; background: var(--paper); border: 1px solid var(--line); font-size: 18px; font-weight: 600; line-height: 1.3; }
@media (max-width: 900px) { .uses { grid-template-columns: minmax(0, 1fr); gap: 10px; } .uses li { font-size: 16px; padding: 16px; } }

/* Team */
.person { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); }
.sec--paper .person { background: var(--white); }
.person__avatar { display: flex; align-items: center; justify-content: center; height: 220px; background: var(--navy); color: var(--white); font-size: 64px; font-weight: 800; font-stretch: 82%; letter-spacing: 0.02em; }
.person__body { display: flex; flex-direction: column; gap: 8px; padding: 24px 28px 28px; }
.person__name { font-size: 24px; line-height: 1.2; font-weight: 700; font-stretch: 90%; }
.person__role { font-size: 15px; font-weight: 600; color: var(--accent); }
.person__bio { margin-top: 6px; font-size: 15px; line-height: 1.6; color: var(--ink-2); }
@media (max-width: 900px) {
  .person { display: grid; grid-template-columns: 88px minmax(0, 1fr); }
  .person__avatar { height: auto; min-height: 88px; font-size: 30px; align-self: stretch; }
  .person__body { padding: 18px 20px 20px; }
  .person__name { font-size: 20px; }
  .person__bio { font-size: 14px; }
}

/* FAQ */
.faq { display: flex; gap: 96px; }
.faq__intro { display: flex; flex-direction: column; gap: 16px; flex: 0 0 400px; }
.faq__list { flex-grow: 1; border-top: 2px solid var(--ink); }
.faq__item { display: flex; flex-direction: column; gap: 10px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.faq__item h3 { font-size: 21px; line-height: 1.3; font-weight: 700; }
@media (max-width: 1000px) {
  .faq { flex-direction: column; gap: 24px; }
  .faq__intro { flex: none; }
  .faq__item { padding: 20px 0; }
  .faq__item h3 { font-size: 18px; }
}

/* CTA band */
.cta { display: flex; align-items: flex-end; justify-content: space-between; gap: 64px; }
.cta__copy { display: flex; flex-direction: column; gap: 24px; max-width: 680px; }
@media (max-width: 900px) { .cta { flex-direction: column; align-items: stretch; gap: 28px; } }

/* Company data and contact */
.datatable { border: 1px solid var(--navy-line); }
.datatable__head { display: flex; justify-content: space-between; gap: 16px; padding: 16px 28px; background: var(--navy-2); border-bottom: 1px solid var(--navy-line); font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--on-navy-muted); }
.datatable .row { display: flex; align-items: baseline; gap: 24px; padding: 18px 28px; border-bottom: 1px solid var(--navy-line-soft); }
.datatable .row:last-child { border-bottom: 0; }
.datatable dt { flex: 0 0 200px; font-size: 15px; color: var(--on-navy-muted); }
.datatable dd { font-family: var(--mono); font-size: 15px; }
.cols-data { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 96px; align-items: start; }
.cols-data__copy { display: flex; flex-direction: column; gap: 24px; }
@media (max-width: 900px) {
  .cols-data { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .datatable__head { padding: 12px 16px; font-size: 11px; }
  .datatable .row { flex-direction: column; gap: 4px; padding: 14px 16px; }
  .datatable dt { flex: none; font-size: 13px; }
  .datatable dd { font-size: 14px; }
}
.contact-card .btn { align-self: flex-start; margin-top: auto; }
.contact-card .email { font-family: var(--mono); font-size: 14px; color: var(--ink-2); word-break: break-all; }
@media (max-width: 640px) { .contact-card .btn { align-self: stretch; } }

/* Footer */
.site-footer { padding-block: 64px 40px; background: var(--paper); color: var(--ink-2); border-top: 1px solid var(--line); }
.footer__top { display: flex; justify-content: space-between; gap: 64px; }
.footer__brand { display: flex; flex-direction: column; gap: 16px; }
.footer__brand .label { color: var(--on-navy-muted); }
.footer__loc { font-size: 15px; line-height: 1.6; color: var(--muted); }
.footer__cols { display: flex; gap: 72px; }
.footer__h { padding-bottom: 4px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink); }
.footer__cols ul { display: flex; flex-direction: column; gap: 12px; padding: 0; list-style: none; }
.footer__cols div { display: flex; flex-direction: column; gap: 12px; }
.footer__cols a { color: var(--ink-2); font-size: 15px; text-decoration: none; }
.footer__cols a:hover { color: var(--accent); }
.footer__bottom { display: flex; flex-direction: column; gap: 6px; margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.footer__legal { font-size: 12px; line-height: 1.5; }
@media (max-width: 760px) {
  .site-footer { padding-block: 40px 32px; }
  .footer__top { flex-direction: column; gap: 32px; }
  .footer__cols { gap: 16px; }
  .footer__cols div { flex: 1 1 0; gap: 0; }
  .footer__cols ul { gap: 0; }
  .footer__cols a { display: flex; align-items: center; min-height: 44px; }
  .footer__bottom { margin-top: 24px; }
}
@media (max-width: 640px) {
  .topbar { font-size: 11px; }
  .topbar__brand { white-space: nowrap; }
  .topbar__loc { display: none; }
}
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* On-the-record strip (home) and case-in-point callout (services) */
.onrecord { display: flex; justify-content: space-between; align-items: center; gap: 48px; margin-top: 24px; padding: 28px 32px; background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--accent); }
.onrecord__main { display: flex; flex-direction: column; gap: 10px; max-width: 760px; }
.onrecord__links { display: flex; flex-direction: column; gap: 12px; flex-shrink: 0; }
.callout { display: flex; flex-direction: column; gap: 10px; margin-top: 24px; padding: 24px 28px; background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--accent); }
.callout .body { max-width: 760px; }
@media (max-width: 900px) {
  .onrecord { flex-direction: column; align-items: flex-start; gap: 16px; padding: 20px; }
  .onrecord__links a, .callout a { display: flex; align-items: center; min-height: 44px; }
  .onrecord__links { gap: 0; }
  .callout { padding: 20px; }
}

/* Threats page */
.tfeature { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 64px; align-items: start; }
.tfeature__main { display: flex; flex-direction: column; gap: 24px; }
.tfeature__side { display: flex; flex-direction: column; gap: 14px; padding: 28px; background: var(--navy-2); border: 1px solid var(--navy-line); }
.tfeature__side .label + .pills { margin-bottom: 4px; }
.tfeature__side .body { margin-bottom: 8px; }
.tlist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.tcard { display: flex; flex-direction: column; gap: 12px; padding: 28px; background: var(--white); border: 1px solid var(--line); }
.tcard__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.on-navy .tcard__meta { color: var(--on-navy-muted); }
.ttag { padding: 4px 8px; border: 1px solid var(--accent); color: var(--accent); font-size: 11px; letter-spacing: 0.08em; }
.on-navy .ttag { border-color: #E2555A; color: #F2B8BA; }
.tcard__why { padding: 12px 16px; background: var(--paper); font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.tcard__why strong { font-weight: 600; color: var(--ink); }
.tcard__links { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: auto; padding-top: 4px; }
.tfeature__main .tcard__links { margin-top: 0; }
@media (max-width: 900px) {
  .tfeature { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .tfeature__side { padding: 20px; }
  .tlist { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .tcard { padding: 20px; gap: 10px; }
  .tcard .textlink { display: flex; align-items: center; min-height: 44px; }
  .tcard__links { gap: 0 20px; padding-top: 0; }
}
.on-navy .pills li { background: transparent; border-color: var(--steel-2); color: var(--white); }

/* Compliance page */
.tline { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; padding: 0; list-style: none; counter-reset: none; }
.tline--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tline li { display: flex; flex-direction: column; gap: 8px; padding-top: 16px; border-top: 3px solid var(--ink); position: relative; }
.tline li::before { content: ""; position: absolute; top: -8px; left: 0; width: 13px; height: 13px; background: var(--accent); }
.tline strong { font-family: var(--mono); font-size: 14px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); }
.tline span { font-size: 16px; line-height: 1.45; color: var(--ink-2); }
.mgroups { display: flex; flex-direction: column; gap: 56px; }
.mgroup { display: flex; flex-direction: column; gap: 24px; }
.mgroup__h { padding-bottom: 16px; border-bottom: 2px solid var(--ink); font-size: clamp(26px, 2.4vw, 32px); }
.mcard { display: flex; flex-direction: column; gap: 16px; padding: 28px; background: var(--white); border: 1px solid var(--line); }
.sec--white .mcard { background: var(--paper); }
.mcard__top { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.mstat { padding: 5px 9px; font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; border: 1px solid var(--ink); color: var(--ink); }
.mstat--now { background: var(--accent); border-color: var(--accent); color: var(--white); }
.mstat--soft { border-color: var(--chip); color: var(--muted); }
.mcard__dl { display: flex; flex-direction: column; }
.mcard__dl > div { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 12px; padding: 12px 0; border-top: 1px solid var(--line-soft); }
.mcard__dl dt { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); padding-top: 4px; }
.mcard__dl dd { font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.mcard__dl .mcard__answer { margin: 4px -28px 0; padding: 16px 28px; background: var(--navy); border-top: 0; }
.mcard__dl .mcard__answer dt { color: #F2B8BA; }
.mcard__dl .mcard__answer dd { color: var(--white); font-weight: 500; }
.mcard .textlink { font-size: 14px; }
.fourq { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; padding: 0; list-style: none; }
.fourq li { display: flex; flex-direction: column; gap: 12px; padding: 24px; border: 1px solid var(--navy-line); }
.fourq strong { font-size: clamp(22px, 1.8vw, 26px); line-height: 1.15; font-weight: 800; font-stretch: 85%; }
.fourq span:last-child { font-size: 15px; line-height: 1.5; color: var(--on-navy); }
@media (max-width: 1100px) { .fourq { grid-template-columns: repeat(2, minmax(0, 1fr)); } .tline { grid-template-columns: repeat(3, minmax(0, 1fr)); } .tline--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) { .mgroups { gap: 40px; } .mcard { padding: 20px; gap: 12px; } .mcard__dl > div { grid-template-columns: minmax(0, 1fr); gap: 4px; } .mcard__dl .mcard__answer { margin: 4px -20px 0; padding: 14px 20px; } }
@media (max-width: 640px) { .fourq { grid-template-columns: minmax(0, 1fr); gap: 10px; } .fourq li { padding: 18px; } .tline, .tline--4 { grid-template-columns: minmax(0, 1fr); gap: 20px; } }

/* Services additions */
.split--top { align-items: flex-start; }
.passport { display: flex; flex-direction: column; gap: 8px; padding: 20px 24px; background: var(--paper); border-left: 4px solid var(--accent); }
.rsec { flex: 0 0 560px; padding: 0; list-style: none; border-top: 2px solid var(--ink); }
.rsec li { display: flex; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.rsec__num { flex-shrink: 0; width: 28px; font-family: var(--mono); font-size: 13px; font-weight: 500; color: var(--accent); padding-top: 3px; }
.rsec li div { display: flex; flex-direction: column; gap: 2px; }
.rsec strong { font-size: 17px; }
.rsec span:last-child { font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.rules { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; padding: 0; list-style: none; }
.rules li { display: flex; flex-direction: column; gap: 10px; padding: 24px; border: 1px solid var(--navy-line); }
.rules strong { font-size: 20px; line-height: 1.2; font-weight: 700; font-stretch: 88%; }
.rules span { font-size: 15px; line-height: 1.5; color: var(--on-navy); }
@media (max-width: 1100px) { .rules { grid-template-columns: repeat(2, minmax(0, 1fr)); } .rsec { flex: none; } }
@media (max-width: 640px) { .rules { grid-template-columns: minmax(0, 1fr); gap: 10px; } .rules li { padding: 18px; } .passport { padding: 16px 18px; } .rsec li { gap: 14px; padding: 12px 0; } }
.grid--2 > .mcard:only-child { grid-column: 1 / -1; }
/* Specification tables */
.specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; border-top: 2px solid var(--ink); }
.spec { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.spec dt { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); padding-top: 4px; }
.spec dd { font-size: 16px; line-height: 1.5; color: var(--ink); }
@media (max-width: 900px) { .specs { grid-template-columns: minmax(0, 1fr); } .spec { grid-template-columns: minmax(0, 1fr); gap: 4px; padding: 12px 0; } .spec dd { font-size: 15px; } }
/* Company page */
.facts { margin-top: 40px; }
.facts strong { font-family: var(--sans); font-size: 24px; font-weight: 800; font-stretch: 85%; letter-spacing: 0; text-transform: none; color: var(--ink); }
.facts span { font-size: 15px; }
.rsec--wide { flex: 0 0 600px; }
.rules--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.rules--5 li strong { font-size: 19px; }
@media (max-width: 1100px) { .rules--5 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .rsec--wide { flex: none; } }
@media (max-width: 640px) { .rules--5 { grid-template-columns: minmax(0, 1fr); } .facts { margin-top: 24px; } .facts strong { font-size: 20px; } }
.rsec--wide li { flex-direction: column; gap: 4px; padding: 16px 0; }
.rsec--wide strong { font-size: 19px; font-stretch: 90%; }
.rsec--wide span { font-size: 16px; }
