/* Segproof website — rebuilt on the design system. One stylesheet, no build step, no scripts, no trackers.
   Fonts: Archivo (variable, OFL) and JetBrains Mono (OFL) are self-hosted from /fonts so the page makes no
   third-party requests. Until the files are in place the stack falls back to Segoe UI / system-ui. */

@font-face {
  font-family: "Archivo";
  src: url("fonts/Archivo-VariableFont_wdth,wght.ttf") format("truetype");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("fonts/JetBrainsMono-Variable.ttf") format("truetype");
  font-weight: 100 800;
  font-display: swap;
}

:root {
  --navy-900: #0B1628; --navy-800: #10213A; --navy-700: #172C4A; --navy-600: #23405F;
  --on-navy: #DCE4EE; --on-navy-muted: #9FB0C4; --navy-border: #4A617F; --navy-control: #6B809B;
  --steel-700: #214B76; --steel-600: #2B5F94; --steel-500: #3F7CBF; --steel-50: #E7EFF8;
  --bronze-700: #8C5A12; --bronze-500: #D9962F; --bronze-50: #FBF1DE;
  --pass: #1A7A39; --pass-tint: #E6F4EA; --fail: #B42318; --fail-tint: #FBEAE7;
  --text: #15202E; --muted: #5A6675; --border: #D6DCE4; --surface: #FFFFFF; --surface-2: #F4F6F9;
  --font: "Archivo", "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", Consolas, Menlo, monospace;
  --max: 1120px; --gutter: 24px; --radius: 10px; --radius-control: 6px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.55; color: var(--text); background: var(--surface); -webkit-font-smoothing: antialiased; }
a { color: var(--steel-600); }
a:hover { color: var(--steel-700); }
h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -0.02em; text-wrap: pretty; }
h2 { font-size: 36px; line-height: 1.12; font-variation-settings: "wdth" 110; }
h3 { font-size: 20px; letter-spacing: -0.01em; }
p { margin: 0; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--bronze-700); }
.intro { font-size: 18px; color: var(--muted); }
.section-head { max-width: 760px; display: flex; flex-direction: column; gap: 12px; }
.mono { font-family: var(--mono); }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--surface); padding: 8px 12px; border-radius: var(--radius-control); z-index: 10; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--steel-600); outline-offset: 2px; }
.on-navy :focus-visible { outline-color: var(--bronze-500); }

/* Buttons */
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; border-radius: var(--radius-control); font-weight: 700; font-size: 17px; text-decoration: none; border: 1px solid transparent; cursor: pointer; font-family: inherit; transition: background-color 120ms ease-out, border-color 120ms ease-out; }
.button-cta { background: var(--bronze-500); color: var(--navy-900); }
.button-cta:hover { background: #E2A446; color: var(--navy-900); }
.button-quiet { color: #FFFFFF; border-color: var(--navy-border); font-weight: 600; }
.button-quiet:hover { color: #FFFFFF; border-color: #FFFFFF; }
.button-outline { color: var(--steel-600); border-color: var(--steel-600); background: var(--surface); font-weight: 600; }
.button-outline:hover { background: var(--steel-50); }
.button-small { min-height: 40px; padding: 0 16px; font-size: 15px; }

/* Header */
.site-header { background: var(--navy-900); color: var(--on-navy); }
/* The header's row is 30 px wider than the content on each side, so eight links and the button fit beside the lockup
   (docs/website.md, "Nav order"); below 1200 px it collapses behind the Menu button and the width is moot. */
.site-header .wrap { display: flex; align-items: center; gap: 24px; min-height: 68px; flex-wrap: wrap; max-width: 1180px; }
.lockup { display: flex; align-items: center; gap: 11px; text-decoration: none; color: #FFFFFF; }
.lockup:hover { color: #FFFFFF; }
.lockup .rule { width: 1px; height: 30px; background: var(--navy-border); margin: 0 8px; }
.lockup .stack { display: flex; flex-direction: column; gap: 2px; font-size: 12px; line-height: 1.25; }
.lockup .drift { color: var(--on-navy-muted); }
.lockup .notices { color: #FFFFFF; }
@media (max-width: 560px) { .lockup .rule, .lockup .stack { display: none; } }
.lockup svg { flex: none; }
.lockup .name { font-weight: 700; font-size: 28px; letter-spacing: -0.03em; font-variation-settings: "wdth" 105; line-height: 1; display: block; }
.site-nav { margin-left: auto; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.site-nav a { color: var(--on-navy); text-decoration: none; font-size: 14px; }
.site-nav a:hover { color: #FFFFFF; }
.site-nav .signin { font-weight: 600; }
.nav-links { display: contents; }
.nav-toggle { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.nav-button { display: none; }
/* "For GRC" opens a small menu on hover or keyboard focus (desktop); in the collapsed menu its items sit inline below it. */
.nav-menu { position: relative; display: flex; align-items: center; }
.nav-menu > .nav-link { display: inline-flex; align-items: center; gap: 5px; }
.nav-menu .caret { flex: none; opacity: 0.75; }
.nav-sub { display: none; position: absolute; top: 100%; left: -14px; margin-top: 12px; min-width: 232px; padding: 6px 0; flex-direction: column; background: var(--navy-800); border: 1px solid var(--navy-700); border-radius: var(--radius-control); box-shadow: 0 16px 32px rgba(11, 22, 40, 0.35); z-index: 20; }
.nav-sub::before { content: ""; position: absolute; left: 0; right: 0; top: -13px; height: 13px; }
.nav-sub .nav-link { display: block; padding: 9px 16px; white-space: nowrap; }
.nav-sub .nav-link:hover { background: var(--navy-700); }
.nav-menu:hover .nav-sub, .nav-menu:focus-within .nav-sub { display: flex; }
@media (max-width: 1200px) {
  .site-header { position: relative; }
  .site-header .wrap { flex-wrap: nowrap; gap: 16px; }
  .site-nav { gap: 12px; flex-wrap: nowrap; }
  .nav-button { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 10px; border-radius: var(--radius-control); border: 1px solid var(--navy-control); color: var(--on-navy); font-size: 15px; cursor: pointer; }
  .nav-button .close, .nav-toggle:checked ~ .nav-button .open { display: none; }
  .nav-toggle:checked ~ .nav-button { background: var(--navy-800); }
  .nav-toggle:checked ~ .nav-button .close { display: block; }
  .nav-toggle:focus-visible ~ .nav-button { outline: 2px solid var(--steel-500); outline-offset: 2px; }
  .nav-links { display: none; position: absolute; left: 0; right: 0; top: 100%; z-index: 20; flex-direction: column; background: var(--navy-800); border-top: 1px solid var(--navy-700); border-bottom: 1px solid var(--navy-700); padding: 8px var(--gutter) 12px; box-shadow: 0 16px 32px rgba(11, 22, 40, 0.35); }
  .nav-toggle:checked ~ .nav-links { display: flex; }
  .nav-links .nav-link { display: block; padding: 13px 4px; font-size: 17px; border-bottom: 1px solid var(--navy-700); }
  .nav-links .button { margin-top: 14px; }
  .nav-menu, .nav-sub, .nav-menu:hover .nav-sub, .nav-menu:focus-within .nav-sub { display: contents; }
  .nav-links .nav-sub .nav-link { padding-left: 24px; }
  .nav-links .nav-sub .dup, .nav-menu .caret { display: none; }
}

/* Hero */
.hero { background: var(--navy-900); color: #FFFFFF; padding: 72px 0 80px; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 48px; align-items: center; }
@media (max-width: 920px) { .hero .wrap { grid-template-columns: 1fr; } }
.hero-copy { display: flex; flex-direction: column; gap: 22px; }
.hero .eyebrow { color: var(--bronze-500); }
.hero h1 { font-size: clamp(32px, 3.7vw, 50px); line-height: 1.06; letter-spacing: -0.025em; font-variation-settings: "wdth" 112; text-wrap: balance; }
.hero h1 .answer { display: block; color: var(--bronze-500); font-size: 0.68em; font-variation-settings: "wdth" 105; letter-spacing: -0.015em; margin-top: 0.35em; }
.hero .lead { font-size: 19px; color: var(--on-navy); max-width: 34em; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.fine { display: flex; gap: 18px; flex-wrap: wrap; font-size: 14px; color: var(--on-navy-muted); }
.fine span { display: flex; align-items: center; gap: 6px; }
.panel { background: var(--surface); color: var(--text); border-radius: var(--radius); padding: 20px 22px; display: flex; flex-direction: column; gap: 14px; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35); }
.panel-title { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; font-weight: 700; }
.panel-title small { font-size: 12px; color: var(--muted); font-weight: 400; display: flex; align-items: center; gap: 6px; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--pass); display: inline-block; }
.policy-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid #EEF1F5; font-size: 14px; }
.policy-row:last-of-type { border-bottom: 1px solid #EEF1F5; }
.status { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 12px; padding: 4px 8px; border-radius: 4px; white-space: nowrap; }
.status.pass { background: var(--pass-tint); color: var(--pass); }
.status.fail { background: var(--fail-tint); color: var(--fail); }
.alert-box { background: var(--fail-tint); border-radius: 6px; padding: 12px 14px; display: flex; flex-direction: column; gap: 4px; font-size: 14px; }
.alert-box .label { font-size: 12px; font-weight: 700; color: var(--fail); letter-spacing: 0.06em; text-transform: uppercase; }
.alert-box code { font-family: var(--mono); font-size: 13px; }

/* Facts bar */
.facts { background: var(--navy-700); color: var(--on-navy); }
.facts .wrap { padding-top: 22px; padding-bottom: 22px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 16px; font-size: 14px; }
.facts strong { display: block; color: #FFFFFF; font-size: 18px; letter-spacing: -0.01em; }
.facts span { color: var(--on-navy-muted); }
.facts a { color: var(--on-navy); }

/* Sections */
section.block { padding: 80px 0; }
section.alt { background: var(--surface-2); }
.block .wrap { display: flex; flex-direction: column; gap: 36px; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 20px; }
.card { border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 12px; background: var(--surface); }
.alt .card { border-color: transparent; }
.card p { color: var(--muted); font-size: 15px; }
.card .policy { margin-top: auto; background: var(--surface-2); border-radius: 6px; padding: 10px 12px; font-family: var(--mono); font-size: 13px; color: var(--text); }
.alt .card .policy { background: #EEF1F5; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 20px; }
.steps li { background: var(--surface); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.steps .num { font-family: var(--mono); font-size: 13px; color: var(--bronze-700); }
.steps p { color: var(--muted); font-size: 15px; }
.steps.five { grid-template-columns: repeat(auto-fit, minmax(min(196px, 100%), 1fr)); }
.steps.five li { padding: 20px; }
.steps.five h3 { font-size: 18px; }
.steps.five p { font-size: 14px; }
.card svg { color: var(--steel-600); }
.block .console-note a { color: var(--steel-600); }

/* "See it work": one path, start to finish */
.story { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 20px; counter-reset: story; }
.story li { background: var(--surface); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 10px; position: relative; }
.story li::before { counter-increment: story; content: counter(story, decimal-leading-zero); font-family: var(--mono); font-size: 13px; color: var(--bronze-700); }
.story .when { position: absolute; top: 24px; right: 24px; font-family: var(--mono); font-size: 12px; color: var(--muted); }
.story h3 { font-size: 19px; }
.story p { color: var(--muted); font-size: 15px; }
.story .status { margin-top: auto; align-self: flex-start; }
.status.alert { background: var(--bronze-50); color: var(--bronze-700); }
.policy-inline { font-family: var(--mono); font-size: 13px; color: var(--text); background: var(--surface-2); border-radius: 4px; padding: 1px 6px; }
.history { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.history-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 14px 18px; background: var(--navy-900); color: var(--on-navy); font-size: 14px; font-weight: 600; }
.history-head .console-note { color: var(--on-navy-muted); font-weight: 400; }
.history-row { display: grid; grid-template-columns: minmax(150px, 0.8fr) minmax(130px, 0.7fr) 1.6fr; gap: 16px; align-items: center; padding: 12px 18px; border-top: 1px solid var(--border); font-size: 14px; }
.history-row:first-of-type { border-top: none; }
.history-row .mono { font-size: 13px; color: var(--text); }
.history-row .muted { color: var(--muted); }
.history > .console-note { padding: 12px 18px 14px; border-top: 1px solid var(--border); background: var(--surface-2); }
@media (max-width: 600px) { .history-row { grid-template-columns: 1fr; gap: 6px; } }

/* MSP split */
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(440px, 100%), 1fr)); gap: 48px; align-items: start; }
.split > div { display: flex; flex-direction: column; gap: 16px; }
.ticks { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks svg { flex: none; margin-top: 4px; color: var(--pass); }
.qbr { background: var(--navy-900); color: var(--on-navy); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 18px; }
.qbr .eyebrow { color: var(--bronze-500); }
.qbr h3 { font-size: 22px; color: #FFFFFF; line-height: 1.25; }
.qbr-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.qbr-stats div { background: var(--navy-700); border-radius: 6px; padding: 12px 14px; }
.qbr-stats strong { display: block; font-size: 26px; color: #FFFFFF; font-variant-numeric: tabular-nums; }
.qbr-stats span { font-size: 12px; color: var(--on-navy-muted); }
.qbr-rows { font-size: 14px; color: var(--on-navy-muted); display: flex; flex-direction: column; gap: 6px; }
.qbr-rows div { display: flex; justify-content: space-between; gap: 12px; }
.qbr-rows b { color: #FFFFFF; font-weight: 500; }
.qbr .note { font-size: 12px; color: var(--on-navy-muted); border-top: 1px solid var(--navy-600); padding-top: 12px; }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 20px; align-items: stretch; }
.plan:not(.featured) .price small { color: var(--muted); }
.plan { border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 16px; position: relative; }
.plan.featured { background: var(--navy-900); color: var(--on-navy); border-color: var(--navy-900); }
.plan .name { font-size: 14px; font-weight: 600; color: var(--muted); }
.plan .name.offer { font-size: 20px; font-weight: 700; color: var(--text); letter-spacing: -0.01em; line-height: 1.25; }
.plan.featured .name { color: var(--on-navy-muted); }
.plan .price { font-size: 44px; font-weight: 700; letter-spacing: -0.03em; line-height: 1; font-variation-settings: "wdth" 110; }
.plan.featured .price { color: #FFFFFF; }
.plan .price small { font-size: 16px; font-weight: 500; letter-spacing: 0; color: var(--on-navy-muted); font-variation-settings: "wdth" 100; }
.plan .note { font-size: 14px; color: var(--muted); }
.plan.featured .note { color: var(--on-navy-muted); }
.plan .ticks { margin: 0; gap: 8px; font-size: 15px; }
.plan.featured .ticks { color: #FFFFFF; }
.plan.featured .ticks svg { color: var(--bronze-500); }
.plan .button { margin-top: auto; }
.badge { position: absolute; top: -12px; left: 28px; background: var(--bronze-500); color: var(--navy-900); font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 4px 10px; border-radius: 4px; }
.guarantee { background: var(--navy-700); border-radius: 6px; padding: 12px 14px; font-size: 14px; display: flex; flex-direction: column; gap: 4px; }
.guarantee strong { color: var(--bronze-500); }
.compare { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 20px; font-size: 15px; color: var(--muted); }
.compare div { display: flex; gap: 12px; align-items: flex-start; }
.compare b { color: var(--text); font-variation-settings: "wdth" 110; white-space: nowrap; }
.placeholder { color: var(--bronze-700); font-weight: 600; }

/* FAQ */
.faq .wrap { max-width: 820px; gap: 28px; }
details { background: var(--surface); border-radius: 8px; padding: 16px 20px; }
summary { font-weight: 600; cursor: pointer; font-size: 17px; }
details p { margin-top: 10px; color: var(--muted); }

/* Objections page (before-you-decide.html) */
.page-hero { background: var(--navy-900); color: #FFFFFF; padding: 64px 0 56px; }
.page-hero .wrap { display: flex; flex-direction: column; gap: 18px; max-width: 860px; }
.page-hero .eyebrow { color: var(--bronze-500); }
.page-hero h1 { font-size: clamp(34px, 4.2vw, 50px); line-height: 1.08; letter-spacing: -0.025em; font-variation-settings: "wdth" 118; }
.page-hero .lead { font-size: 19px; color: var(--on-navy); max-width: 36em; }
.toc { background: var(--surface-2); padding: 28px 0; }
.toc .wrap { max-width: 860px; }
.toc ol { margin: 0; padding: 0 0 0 20px; columns: 2; column-gap: 32px; font-size: 15px; line-height: 1.5; }
.toc li { break-inside: avoid; padding: 3px 0; }
.toc a { text-decoration: none; }
@media (max-width: 560px) { .toc ol { columns: 1; } }
.toc a:hover { text-decoration: underline; }
.objections { padding: 56px 0 24px; }
.objections .wrap { max-width: 860px; display: flex; flex-direction: column; gap: 0; }
.objection { padding: 36px 0; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 14px; scroll-margin-top: 24px; }
.objection:first-child { border-top: none; padding-top: 0; }
.objection .num { font-family: var(--mono); font-size: 13px; color: var(--bronze-700); }
.objection h2 { font-size: 28px; line-height: 1.18; }
.objection h2::before { content: "\201C"; color: var(--bronze-500); }
.objection h2::after { content: "\201D"; color: var(--bronze-500); }
.objection .truth { font-size: 16px; color: var(--muted); }
.objection .truth b, .objection .answer b { color: var(--text); font-weight: 600; }
.objection .answer { font-size: 17px; }
.objection .proof { display: flex; gap: 10px; align-items: flex-start; background: var(--surface-2); border-radius: var(--radius-control); padding: 12px 14px; font-size: 14px; color: var(--muted); }
.objection .proof svg { flex: none; margin-top: 2px; color: var(--pass); }
.objection .proof code { font-family: var(--mono); font-size: 13px; color: var(--text); }
.cta.compact { padding: 64px 0; }
.cta.compact .wrap { grid-template-columns: 1fr; max-width: 860px; }
.cta.compact .actions { margin-top: 22px; }

/* Real incidents page */
.page-hero h1 .sub { display: block; color: var(--on-navy); font-size: 0.5em; font-weight: 500; letter-spacing: -0.01em; font-variation-settings: "wdth" 105; line-height: 1.3; margin-top: 0.55em; max-width: 30em; }
.standard { padding: 32px 0 0; }
.standard .wrap { max-width: 860px; }
.standard p { font-size: 15px; color: var(--muted); border-left: 3px solid var(--bronze-500); padding-left: 16px; }
.standard b { color: var(--text); }
.incidents { padding: 56px 0 32px; }
.incidents .wrap { max-width: 860px; display: flex; flex-direction: column; }
.incident { padding: 44px 0; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 14px; scroll-margin-top: 24px; }
.incident:first-child { border-top: none; padding-top: 0; }
.incident .meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; font-size: 13px; }
.incident .num { font-family: var(--mono); color: var(--bronze-700); }
.incident .where { color: var(--muted); }
.incident .evidence { margin-left: auto; font-weight: 600; font-size: 12px; padding: 3px 8px; border-radius: 4px; background: var(--bronze-50); color: var(--bronze-700); white-space: nowrap; }
.incident .evidence.strong { background: var(--steel-50); color: var(--steel-700); }
.incident h2 { font-size: 30px; line-height: 1.15; }
.incident .lead-in { font-size: 18px; }
.incident h3 { font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-top: 8px; }
.cost { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 18px; background: var(--surface-2); border-radius: var(--radius); padding: 20px; margin-top: 6px; }
.cost div { display: flex; flex-direction: column; gap: 4px; font-size: 14px; color: var(--muted); }
.cost b { font-size: 21px; letter-spacing: -0.015em; color: var(--text); font-variation-settings: "wdth" 110; line-height: 1.2; }
.policy-box { display: flex; flex-direction: column; gap: 8px; border: 1px solid var(--border); border-left: 4px solid var(--steel-600); border-radius: var(--radius-control); padding: 14px 16px; }
.policy-box .label { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.policy-box code { font-family: var(--mono); font-size: 14px; color: var(--text); }
.policy-box .note { font-size: 14px; color: var(--muted); }
.incident .sources { font-size: 13px; color: var(--muted); line-height: 1.6; }
.incident .sources b { color: var(--text); }
.compare.stacked div { flex-direction: column; gap: 6px; background: var(--surface); border-radius: var(--radius); padding: 20px; }
.compare.stacked b { white-space: normal; font-size: 17px; }
.block:not(.alt) .compare.stacked div { border: 1px solid var(--border); }

/* Real incidents: the index cards and the single-incident pages */
.incident-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 20px; }
.incident-card { gap: 10px; scroll-margin-top: 24px; }
.incident-card .meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font-size: 13px; }
.incident-card .num { font-family: var(--mono); color: var(--bronze-700); }
.incident-card .where { color: var(--muted); }
.incident-card .evidence { margin-left: auto; font-weight: 600; font-size: 12px; padding: 3px 8px; border-radius: 4px; background: var(--bronze-50); color: var(--bronze-700); white-space: nowrap; }
.incident-card .evidence.strong { background: var(--steel-50); color: var(--steel-700); }
.incident-card h3 { font-size: 21px; line-height: 1.25; }
.incident-card h3 a { color: var(--text); text-decoration: none; }
.incident-card h3 a:hover { color: var(--steel-700); text-decoration: underline; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { font-size: 12px; font-weight: 600; padding: 3px 8px; border-radius: 4px; background: var(--surface-2); color: var(--muted); white-space: nowrap; }
.incident-card .cost-line { font-size: 14px; color: var(--text); border-top: 1px solid var(--border); padding-top: 10px; margin-top: auto; }
.incident-card .more { font-weight: 600; text-decoration: none; }
.incident-card .more::after { content: " \2192"; }
.incident-card .more:hover { text-decoration: underline; }
@media (min-width: 721px) {
  .incident-card.featured { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); grid-template-areas: "meta meta" "title hook" "tags cost" "tags more"; gap: 10px 40px; align-content: start; }
  .incident-card.featured .meta { grid-area: meta; }
  .incident-card.featured h3 { grid-area: title; font-size: 26px; }
  .incident-card.featured .tags { grid-area: tags; align-self: start; }
  .incident-card.featured p:not(.cost-line) { grid-area: hook; font-size: 16px; }
  .incident-card.featured .cost-line { grid-area: cost; margin-top: 0; }
  .incident-card.featured .more { grid-area: more; }
}
.page-hero .eyebrow a { color: var(--bronze-500); text-decoration: none; }
.page-hero .eyebrow a:hover { text-decoration: underline; }
.incident.single { padding-top: 0; border-top: none; }
.incident.single .meta .tag { background: var(--surface-2); }
.incident-nav { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 16px; border-top: 1px solid var(--border); padding: 28px 0 8px; margin-top: 16px; }
.incident-nav a { display: flex; flex-direction: column; gap: 4px; text-decoration: none; color: var(--text); font-weight: 600; font-size: 15px; line-height: 1.3; }
.incident-nav a span { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.incident-nav a:hover { color: var(--steel-700); }
.incident-nav .next { text-align: right; align-items: flex-end; }
.incident-nav .all { text-align: center; align-items: center; }
@media (max-width: 560px) { .incident-nav .next, .incident-nav .all { text-align: left; align-items: flex-start; } }

/* For MSPs page */
.page-hero .actions { margin-top: 6px; }
.console-demo { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.console-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 14px 18px; background: var(--navy-900); }
.console-head .eyebrow { color: var(--on-navy); letter-spacing: 0.04em; text-transform: none; font-size: 14px; }
.console-head .console-note { color: var(--on-navy-muted); }
.console-note { font-size: 12px; color: var(--muted); }
.console-demo > .console-note { padding: 10px 18px 12px; }
.clients { width: 100%; border-collapse: collapse; font-size: 14px; }
.clients th, .clients td { text-align: left; padding: 11px 18px; border-bottom: 1px solid var(--border); white-space: nowrap; }
.clients th { font-size: 12px; font-weight: 600; color: var(--muted); background: var(--surface-2); }
.clients td:first-child { font-weight: 600; }
.clients td.fail { color: var(--fail); font-weight: 600; }
.clients td.warn { color: #B54708; font-weight: 600; }
.clients td.ok { color: var(--muted); }
.clients td.dash { color: #9AA5B1; }
@media (max-width: 700px) { .console-demo { overflow-x: auto; } .clients th:nth-child(3), .clients td:nth-child(3) { display: none; } }

.antis { display: flex; flex-direction: column; border-top: 1px solid var(--border); }
.anti { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 28px 0; border-bottom: 1px solid var(--border); }
.anti .num { font-family: var(--mono); font-size: 14px; color: var(--bronze-700); padding-top: 4px; }
.anti > div { display: flex; flex-direction: column; gap: 10px; }
.anti h3 { font-size: 21px; line-height: 1.25; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.fit { font-size: 12px; font-weight: 600; padding: 3px 8px; border-radius: 4px; white-space: nowrap; letter-spacing: 0; }
.fit.strong { background: var(--steel-50); color: var(--steel-700); }
.fit.partial { background: var(--bronze-50); color: var(--bronze-700); }
.fit.none { background: var(--surface-2); color: var(--muted); }
.anti .what { color: var(--muted); font-size: 15px; }
.anti p { font-size: 16px; }
.ism { display: flex; flex-direction: column; gap: 14px; }
.ism .clients th, .ism .clients td { white-space: normal; vertical-align: top; }
.ism .clients td:first-child { font-weight: 600; width: 40%; }
@media (max-width: 560px) { .anti { grid-template-columns: 1fr; gap: 6px; } }
/* For GRC (for-grc.html) and the control map: four-column tables on .ism, and the evidence report demo keeps every column. */
.evidence-table .clients td:first-child, .controls-table .clients td:first-child { width: 16%; }
.evidence-table .clients th, .controls-table .clients th { white-space: normal; vertical-align: top; }
.evidence-table, .controls-table { overflow-x: auto; }
.evidence-table .clients, .controls-table .clients { min-width: 640px; }
.ism .clients td a { color: var(--steel-600); }
.console-demo.report .clients td.fail { font-variant-numeric: tabular-nums; }
@media (max-width: 700px) { .console-demo.report .clients th:nth-child(3), .console-demo.report .clients td:nth-child(3) { display: table-cell; } }

/* CTA + footer */
.cta { background: var(--navy-900); color: #FFFFFF; padding: 80px 0; }
.cta .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(440px, 100%), 1fr)); gap: 40px; align-items: center; }
.cta h2 { font-size: 40px; line-height: 1.08; letter-spacing: -0.025em; font-variation-settings: "wdth" 118; }
.cta .lead { font-size: 18px; color: var(--on-navy); margin-top: 14px; }
.cta .small { font-size: 14px; color: var(--on-navy-muted); margin-top: 14px; }
.cta .placeholder { color: var(--bronze-500); }
.form { background: var(--navy-700); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.form label { font-size: 14px; font-weight: 600; color: var(--on-navy); }
.form input, .form select { height: 48px; border-radius: var(--radius-control); border: 1px solid var(--navy-control); background: var(--navy-900); color: #FFFFFF; padding: 0 14px; font: inherit; font-size: 16px; }
.form .button { min-height: 50px; border: none; }
/* A form being sent (forms.js): the button shows a spinner and its "Sending…" text, and can't be pressed again. */
.button.is-sending, .button.is-sending:hover { cursor: progress; background: var(--bronze-500); opacity: 0.85; }
.button.is-sending::before { content: ""; width: 18px; height: 18px; margin-right: 10px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: button-spin 0.8s linear infinite; }
@keyframes button-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .button.is-sending::before { animation-duration: 2.4s; } }
.form .small { font-size: 13px; color: var(--on-navy-muted); }
.form .hp { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
/* MSP pricing request (msp-pricing.html): checkboxes on the navy form, and a narrower column. */
.wrap.narrow { max-width: 720px; }
.form fieldset { border: none; margin: 0; padding: 0; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.form legend { font-size: 14px; font-weight: 600; color: var(--on-navy); padding: 0; margin-bottom: 4px; }
.form .checks-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px 16px; }
.form .checks-grid label, .form label.attest { display: flex; align-items: flex-start; gap: 8px; font-weight: 500; }
.form input[type="checkbox"] { height: 18px; width: 18px; margin: 2px 0 0; padding: 0; accent-color: var(--steel-500); flex: none; }
.form a { color: var(--on-navy); }

/* The currency switch next to prices: the Worker marks the visitor's currency with aria-current. */
.currency-switch { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
.currency-switch a { border: 1px solid var(--border); border-radius: 999px; padding: 2px 10px; text-decoration: none; }
.currency-switch a[aria-current] { background: var(--navy-900); border-color: var(--navy-900); color: #FFFFFF; }
.on-navy .currency-switch { color: var(--on-navy-muted); }
.on-navy .currency-switch a { border-color: var(--navy-border); color: var(--on-navy); }
.currency-switch a[aria-current]::before { content: "✓ "; }
.on-navy .currency-switch a[aria-current] { background: #FFFFFF; border-color: #FFFFFF; color: var(--navy-900); font-weight: 600; }
.form .form-error:not([hidden]), .page-hero .form-error:not([hidden]) { background: #FBEAE7; color: #B42318; border-radius: var(--radius-control); padding: 10px 14px; font-size: 14px; font-weight: 600; }

.site-footer { background: var(--navy-900); color: var(--on-navy-muted); border-top: 1px solid var(--navy-700); padding: 28px 0; font-size: 13px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; }
.site-footer .lockup .name { font-size: 16px; }
.site-footer .lockup .rule, .site-footer .lockup .stack { display: none; }
.site-footer a { color: var(--on-navy); }
.site-footer .legal { flex-basis: 100%; max-width: 760px; }

/* Segmentation path calculator (segmentation-path-calculator.html). The page's only script lives inline on the page;
   it makes no requests. These rules also lay out the static default so the page reads without it. */
.calc { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.3fr); gap: 36px; align-items: start; }
@media (max-width: 860px) { .calc { grid-template-columns: 1fr; } }
.calc-form { background: var(--surface-2); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 6px; }
fieldset.field { border: none; margin: 0; padding: 0; min-width: 0; }
.field label, .field legend { font-size: 14px; font-weight: 600; padding: 0; }
.field input[type="number"], .field input[type="text"] { width: 100%; height: 48px; border-radius: var(--radius-control); border: 1px solid var(--border); background: var(--surface); color: var(--text); padding: 0 14px; font: inherit; font-size: 18px; font-variant-numeric: tabular-nums; }
.field input:focus-visible { outline: 2px solid var(--steel-600); outline-offset: 2px; border-color: var(--steel-600); }
.field .help { font-size: 13px; color: var(--muted); }
.field .error { font-size: 13px; font-weight: 600; color: var(--fail); }
.segmented { position: relative; display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--border); border-radius: var(--radius-control); overflow: hidden; background: var(--surface); }
.segmented input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.segmented label { padding: 11px 12px; text-align: center; font-size: 14.5px; font-weight: 600; color: var(--muted); cursor: pointer; }
.segmented label:nth-of-type(2) { border-left: 1px solid var(--border); }
.segmented input:checked + label { background: var(--navy-900); color: #FFFFFF; }
.segmented input:focus-visible + label { outline: 2px solid var(--steel-600); outline-offset: -3px; }
.calc-form details { background: transparent; border-radius: 0; padding: 0; }
.calc-form summary { font-size: 14.5px; color: var(--steel-600); }
.calc-form details .field { margin-top: 12px; }
.calc-out { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.calc [hidden], .cost-panel [hidden], .checks [hidden] { display: none; }
.hero-number { display: flex; flex-direction: column; gap: 6px; }
.hero-number output { display: block; font-size: clamp(56px, 8vw, 92px); font-weight: 700; letter-spacing: -0.035em; line-height: 1; font-variation-settings: "wdth" 112; font-variant-numeric: tabular-nums; color: var(--text); overflow-wrap: anywhere; }
.hero-number .what { font-size: 19px; color: var(--muted); }
.hero-number .formula { font-family: var(--mono); font-size: 14px; color: var(--muted); }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(140px, 100%), 1fr)); gap: 12px; }
.stats div { background: var(--surface-2); border-radius: 6px; padding: 14px 16px; display: flex; flex-direction: column; gap: 4px; }
.stats strong { font-size: 26px; letter-spacing: -0.02em; line-height: 1.1; font-variation-settings: "wdth" 110; font-variant-numeric: tabular-nums; }
.stats span { font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.sw { width: 12px; height: 12px; border-radius: 2px; display: inline-block; flex: none; }
.sw.in, .matrix .in { background: var(--steel-500); fill: var(--steel-500); }
.sw.x, .matrix .x { background: var(--bronze-500); fill: var(--bronze-500); }
.sw.self, .matrix .self { background: var(--surface-2); fill: var(--surface-2); }
.sw.mirror, .matrix .mirror { background: var(--border); fill: var(--border); }
.matrix-wrap { display: flex; flex-direction: column; gap: 12px; }
.matrix { display: block; width: 100%; max-width: 400px; height: auto; }
.matrix rect { stroke: var(--surface); stroke-width: 0.35; }
.legend { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 13px; color: var(--muted); }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.calc-note { font-size: 14px; color: var(--muted); max-width: 560px; }
.split .cost-panel { background: var(--navy-900); color: var(--on-navy); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 18px; }
.cost-panel .eyebrow { color: var(--bronze-500); }
.cost-panel h3 { font-size: 26px; line-height: 1.2; color: #FFFFFF; font-variant-numeric: tabular-nums; }
.cost-rows { display: flex; flex-direction: column; gap: 8px; font-size: 15px; color: var(--on-navy-muted); border-top: 1px solid var(--navy-600); padding-top: 14px; }
.cost-rows div { display: flex; justify-content: space-between; gap: 12px; }
.cost-rows b { color: #FFFFFF; font-weight: 600; font-variant-numeric: tabular-nums; }
.cost-panel .note { font-size: 14px; color: var(--on-navy-muted); }
.policy-box.formulas { gap: 10px; }
.formulas div { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; font-size: 14px; color: var(--muted); }
.formulas div code { white-space: nowrap; }
.formulas .note { border-top: 1px solid var(--border); padding-top: 10px; }
.table-wrap { border: 1px solid var(--border); border-radius: var(--radius); overflow-x: auto; background: var(--surface); }
.calc-table { width: 100%; border-collapse: collapse; font-size: 15px; font-variant-numeric: tabular-nums; }
.calc-table th, .calc-table td { text-align: right; padding: 11px 18px; border-bottom: 1px solid var(--border); white-space: nowrap; }
.calc-table th:first-child, .calc-table td:first-child { text-align: left; }
.calc-table th { font-size: 12px; font-weight: 600; color: var(--muted); background: var(--surface-2); }
.calc-table tbody tr:last-child td { border-bottom: none; }
.calc-table td:first-child { font-weight: 600; }
.checks { display: flex; flex-direction: column; gap: 20px; border-top: 1px solid var(--border); padding-top: 32px; }
.checks h3 { font-size: 24px; line-height: 1.2; }
.alt .stats div { background: var(--surface); border: 1px solid var(--border); }
.alt .stats strong { font-size: 30px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; font-weight: 600; cursor: pointer; }
.check input { width: 18px; height: 18px; margin: 2px 0 0; flex: none; accent-color: var(--navy-900); }
.check input:focus-visible { outline: 2px solid var(--steel-600); outline-offset: 2px; }
.sw.lat, .matrix .lat { background: var(--navy-700); fill: var(--navy-700); }
.cost-panel .button { margin-top: 6px; }

/* Blog (D-199): the post list at /blog and each post's page. */
.post-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr)); gap: 24px; }
.post-card a { display: flex; flex-direction: column; height: 100%; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: var(--surface); color: var(--text); text-decoration: none; }
.post-card a:hover { border-color: var(--steel-600); }
.post-card img { width: 100%; height: auto; aspect-ratio: 1200 / 630; object-fit: cover; background: var(--surface-2); }
.post-card-text { display: flex; flex-direction: column; gap: 8px; padding: 20px; }
.post-card-title { font-size: 20px; font-weight: 700; letter-spacing: -0.01em; line-height: 1.25; }
.post-card-description { color: var(--muted); font-size: 15px; }
.post-meta { font-size: 14px; color: var(--muted); }
.page-hero .post-meta { color: var(--on-navy-muted); }
.page-hero .eyebrow a { color: inherit; text-decoration: none; }
.page-hero .eyebrow a:hover { text-decoration: underline; }
.post .narrow { max-width: 760px; }
.post-cover { display: block; width: 100%; height: auto; margin-top: 40px; border-radius: var(--radius); }
.post-body { padding-top: 40px; padding-bottom: 24px; font-size: 18px; line-height: 1.65; }
.post-body > * + * { margin-top: 1.1em; }
.post-body h2 { font-size: 28px; line-height: 1.2; margin-top: 1.8em; }
.post-body h3 { font-size: 21px; margin-top: 1.5em; }
.post-body ul, .post-body ol { padding-left: 1.4em; }
.post-body li + li { margin-top: 0.4em; }
.post-body blockquote { margin-left: 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--bronze-500); color: var(--muted); }
.post-body figure { margin: 1.6em 0; }
.post-body img, .post-body video { display: block; max-width: 100%; height: auto; border-radius: var(--radius-control); border: 1px solid var(--border); }
.post-body figcaption { margin-top: 8px; font-size: 14px; color: var(--muted); }
.post-body code { font-family: var(--mono); font-size: 0.86em; background: var(--surface-2); border-radius: 4px; padding: 0.1em 0.35em; }
.post-body pre { background: var(--navy-900); color: var(--on-navy); border-radius: var(--radius-control); padding: 16px 18px; overflow-x: auto; font-size: 14px; line-height: 1.5; }
.post-body pre code { background: none; padding: 0; color: inherit; font-size: inherit; }
.post-body table { border-collapse: collapse; width: 100%; font-size: 16px; display: block; overflow-x: auto; }
.post-body th, .post-body td { border: 1px solid var(--border); padding: 8px 10px; text-align: left; vertical-align: top; }
.post-body th { background: var(--surface-2); }
.post-body hr { border: 0; border-top: 1px solid var(--border); margin: 2em 0; }
.post-end { padding-bottom: 72px; }

/* Legal pages (terms, privacy, dpa, subprocessors), built from docs/legal/ by build/legal.mjs: a post's layout with
   smaller type, since these are long and read for reference. A clause opened by its address (terms.html#s6-6) is marked. */
.legal-body { font-size: 16px; line-height: 1.6; }
.legal-body h2 { font-size: 24px; }
.legal-body table { font-size: 15px; }
.legal-body ul.clauses { list-style: none; padding-left: 1.2em; }
.legal-body :target { scroll-margin-top: 16px; }
.legal-body p:target { background: var(--bronze-50); box-shadow: 0 0 0 8px var(--bronze-50); border-radius: 2px; }
.legal-nav { display: flex; flex-wrap: wrap; gap: 8px 24px; padding-top: 24px; padding-bottom: 72px; border-top: 1px solid var(--border); margin-top: 24px; font-size: 15px; }
.legal-nav a[aria-current] { color: var(--text); font-weight: 600; text-decoration: none; }
