/* Algorixtec site styles. No inline styles are used anywhere (strict CSP), so every
   variation lives here as a class. Bump ?v=N on every page when this file changes. */

@font-face { font-family: "Source Serif 4"; src: url("/assets/fonts/source-serif-4-latin-wght-normal.woff2") format("woff2"); font-weight: 200 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Serif 4"; src: url("/assets/fonts/source-serif-4-latin-wght-italic.woff2") format("woff2"); font-weight: 200 900; font-style: italic; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("/assets/fonts/ibm-plex-sans-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("/assets/fonts/ibm-plex-sans-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("/assets/fonts/ibm-plex-sans-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("/assets/fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("/assets/fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --navy-950: #021a33;
  --navy-900: #04294d;
  --navy-800: #073b6e;
  --navy-700: #0d4f8f;
  --navy-200: #c3d4e6;
  --navy-100: #e4edf6;
  --navy-50: #f3f7fb;
  --teal-700: #0b6a65;
  --teal-600: #0f827c;
  --teal-500: #17a79f;
  --teal-300: #74dad2;
  --teal-100: #dcf5f2;
  --sand: #f6f3ec;
  --sand-deep: #ece7db;
  --ink: #0f1c2e;
  --muted: #475569;
  --line: #d8e0e9;
  --amber: #8a4b00;
  --amber-bg: #fff4e0;
  --white: #fff;

  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(4, 41, 77, .06), 0 8px 24px rgba(4, 41, 77, .08);
  --shadow-lg: 0 2px 4px rgba(4, 41, 77, .08), 0 18px 48px rgba(4, 41, 77, .16);
  --maxw: 1160px;
  --gut: clamp(1rem, 4vw, 2rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); font-size: 1.0625rem; line-height: 1.65; color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-700); text-underline-offset: .18em; text-decoration-thickness: .08em; }
a:hover { color: var(--navy-900); }
:focus-visible { outline: 3px solid var(--teal-500); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--serif); color: var(--navy-900); line-height: 1.15; margin: 0 0 .6em; font-weight: 600; letter-spacing: -.01em; }
h1 { font-size: clamp(2.25rem, 5.2vw, 3.6rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.3rem; line-height: 1.25; }
h4 { font-size: 1.05rem; font-family: var(--sans); font-weight: 600; letter-spacing: 0; }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.25em; }
li { margin-bottom: .4em; }
strong { font-weight: 600; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }

.skip { position: absolute; left: -999px; top: 0; background: var(--navy-900); color: #fff; padding: .75rem 1rem; z-index: 200; border-radius: 0 0 var(--radius-sm) 0; }
.skip:focus { left: 0; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gut); }
.narrow { max-width: 760px; }
.center { text-align: center; }
.center .lede { margin-left: auto; margin-right: auto; }
.eyebrow { display: inline-block; font-family: var(--mono); font-size: .78rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--teal-700); margin-bottom: .9rem; }
.on-dark .eyebrow, .eyebrow.light { color: var(--teal-300); }
.lede { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--muted); max-width: 62ch; line-height: 1.6; }
.on-dark .lede { color: #c9d8ea; }
.small { font-size: .9rem; }
.muted { color: var(--muted); }
.mono { font-family: var(--mono); }
.nowrap { white-space: nowrap; }

/* ------------------------------------------------------------------ header */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .94); backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid var(--line); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 72px; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--navy-900); }
.brand img { width: 46px; height: 46px; }
.brand-name { font-family: var(--serif); font-size: 1.45rem; font-weight: 700; letter-spacing: -.02em; line-height: 1; }
.brand-tag { display: block; font-family: var(--mono); font-size: .62rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: .3rem; }
.nav { display: flex; align-items: center; gap: .15rem; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: .96rem; padding: .55rem .8rem; border-radius: 999px; }
.nav a:hover { background: var(--navy-50); color: var(--navy-900); }
.nav a[aria-current="page"] { color: var(--navy-900); background: var(--navy-100); }
.nav .btn { margin-left: .5rem; color: #fff; }
.nav .btn:hover { color: #fff; background: var(--navy-800); }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: .55rem .65rem; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--navy-900); margin: 4px 0; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; background: #fff; border-bottom: 1px solid var(--line); padding: .5rem var(--gut) 1rem; display: none; box-shadow: var(--shadow); }
  .site-header.nav-open .nav { display: flex; }
  .nav a { padding: .85rem .6rem; border-radius: var(--radius-sm); }
  .nav .btn { margin: .6rem 0 0; text-align: center; }
}


/* services drop-down: opens on hover or keyboard focus; the parent link still goes to the hub page */
.nav-item { position: relative; }
.nav-parent::after { content: ""; display: inline-block; width: .42em; height: .42em; margin-left: .45em; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-3px); opacity: .7; }
.nav a.is-current { color: var(--navy-900); background: var(--navy-100); }
.subnav { display: none; position: absolute; left: 0; top: 100%; min-width: 290px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: .5rem; z-index: 120; }
.nav-item:hover .subnav, .nav-item:focus-within .subnav { display: block; }
.subnav a { display: block; border-radius: var(--radius-sm); padding: .6rem .8rem; font-size: .94rem; }
.subnav a.all { margin-top: .3rem; border-top: 1px solid var(--line); border-radius: 0 0 var(--radius-sm) var(--radius-sm); color: var(--teal-700); font-weight: 600; }
@media (max-width: 960px) {
  .nav-item { display: flex; flex-direction: column; }
  .nav-parent::after { display: none; }
  .subnav { display: block; position: static; border: 0; box-shadow: none; padding: 0 0 0 1rem; min-width: 0; }
  .subnav a { padding: .65rem .6rem; font-size: .96rem; color: var(--muted); }
}

/* ----------------------------------------------------------------- buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; font: 600 1rem/1 var(--sans); padding: .95rem 1.4rem; border-radius: 999px; border: 2px solid transparent; text-decoration: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s, transform .15s; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--navy-900); color: #fff; }
.btn-primary:hover { background: var(--navy-800); color: #fff; }
.btn-teal { background: var(--teal-300); color: var(--navy-950); }
.btn-teal:hover { background: #fff; color: var(--navy-950); }
.btn-outline { border-color: var(--navy-900); color: var(--navy-900); background: transparent; }
.btn-outline:hover { background: var(--navy-900); color: #fff; }
.on-dark .btn-outline, .btn-outline.light { border-color: rgba(255, 255, 255, .55); color: #fff; }
.on-dark .btn-outline:hover, .btn-outline.light:hover { background: #fff; color: var(--navy-900); border-color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }
.btn-block { display: flex; width: 100%; }
.arrow::after { content: "\2192"; transition: transform .15s; }
.btn:hover .arrow::after, a:hover > .arrow::after, .arrow:hover::after { transform: translateX(3px); }
.link-arrow { font-weight: 600; text-decoration: none; display: inline-flex; gap: .4rem; }
.link-arrow::after { content: "\2192"; transition: transform .15s; }
.link-arrow:hover::after { transform: translateX(3px); }

/* ---------------------------------------------------------------- sections */
.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.section-sand { background: var(--sand); }
.section-tint { background: var(--navy-50); }
.section-dark { background: var(--navy-900); color: #e3ecf6; }
.section-dark h2, .section-dark h3, .section-dark h4 { color: #fff; }
.section-dark a { color: var(--teal-300); }
.section-head { max-width: 720px; margin-bottom: clamp(2rem, 4vw, 3.2rem); }
.section-head.center { margin-left: auto; margin-right: auto; }
.on-dark { color: #e3ecf6; }
.on-dark h1, .on-dark h2, .on-dark h3, .on-dark h4 { color: #fff; }

/* -------------------------------------------------------------------- hero */
.hero { position: relative; background: radial-gradient(1200px 520px at 85% -10%, rgba(23, 167, 159, .28), transparent 60%), linear-gradient(160deg, var(--navy-950), var(--navy-900) 55%, var(--navy-800)); color: #e3ecf6; overflow: hidden; }
.hero .container { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; padding-top: clamp(3rem, 7vw, 5.5rem); padding-bottom: clamp(3rem, 7vw, 5.5rem); }
.hero h1 { color: #fff; }
.hero h1 em { font-style: italic; color: var(--teal-300); }
.hero-figure { position: relative; }
.hero-figure img { border-radius: var(--radius); box-shadow: var(--shadow-lg); border: 1px solid rgba(255, 255, 255, .14); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 55% 50%; }
.hero-chip { position: absolute; display: inline-flex; align-items: center; gap: .55rem; background: #fff; color: var(--navy-900); font-weight: 600; font-size: .86rem; padding: .6rem .95rem; border-radius: 999px; box-shadow: var(--shadow-lg); }
.hero-chip::before { content: ""; width: .6rem; height: .6rem; border-radius: 50%; background: var(--teal-500); box-shadow: 0 0 0 4px rgba(23, 167, 159, .22); }
.hero-chip.c1 { left: -1.2rem; bottom: 2.2rem; }
.hero-chip.c2 { right: -.6rem; top: 1.6rem; }
@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-chip.c1 { left: .6rem; }
  .hero-chip.c2 { right: .6rem; }
}

.page-hero { position: relative; background: linear-gradient(160deg, var(--navy-950), var(--navy-900) 60%, var(--navy-800)); color: #e3ecf6; padding: clamp(3rem, 7vw, 5rem) 0 clamp(2.5rem, 6vw, 4rem); overflow: hidden; }
.page-hero h1 { color: #fff; max-width: 20ch; font-size: clamp(2.1rem, 4.6vw, 3.3rem); }
.page-hero .lede { color: #c9d8ea; }
.page-hero.with-photo { background: var(--navy-900); }
.page-hero.with-photo::before { content: ""; position: absolute; inset: 0; background-image: var(--hero-img); background-size: cover; background-position: center; opacity: .5; }
.page-hero.with-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--navy-950) 20%, rgba(2, 26, 51, .55) 100%); }
.page-hero.with-photo .container { position: relative; z-index: 1; }
.page-hero.hero-security { --hero-img: url("/assets/images/banner-security.webp"); }
.crumbs { font-family: var(--mono); font-size: .78rem; letter-spacing: .06em; margin-bottom: 1.2rem; color: #9fb6d0; }
.crumbs a { color: #cfe0f3; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

/* ------------------------------------------------------------------- grids */
.grid { display: grid; gap: clamp(1rem, 2.4vw, 1.6rem); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split.top { align-items: start; }
.split.wide-left { grid-template-columns: 1.2fr .8fr; }
@media (max-width: 860px) { .split, .split.wide-left { grid-template-columns: 1fr; } }
.stack > * + * { margin-top: 1rem; }

/* ------------------------------------------------------------------- cards */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.3rem, 2.4vw, 1.9rem); box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s, border-color .2s; }
.card h3 { margin-bottom: .5rem; }
.card p:last-child { margin-bottom: 0; }
a.card { text-decoration: none; color: inherit; display: flex; flex-direction: column; }
a.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--teal-500); }
.card .more { margin-top: auto; padding-top: 1rem; font-weight: 600; color: var(--teal-700); }
.card .more::after { content: " \2192"; }
.section-dark .card { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .16); box-shadow: none; }
.section-dark .card h3 { color: #fff; }
.icon { width: 46px; height: 46px; border-radius: 12px; background: var(--teal-100); color: var(--teal-700); display: grid; place-items: center; margin-bottom: 1rem; }
.icon svg { width: 24px; height: 24px; }
.section-dark .icon { background: rgba(116, 218, 210, .16); color: var(--teal-300); }
.tag { display: inline-block; font-family: var(--mono); font-size: .72rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; padding: .28rem .6rem; border-radius: 999px; background: var(--navy-100); color: var(--navy-800); margin: 0 .35rem .35rem 0; }
.tag.teal { background: var(--teal-100); color: var(--teal-700); }
.tag.amber { background: var(--amber-bg); color: var(--amber); }

.pillars .card { padding: clamp(1.6rem, 3vw, 2.4rem); }
.pillars .card h3 { font-size: 1.6rem; }
.check { list-style: none; padding: 0; }
.check li { position: relative; padding-left: 1.7rem; }
.check li::before { content: ""; position: absolute; left: 0; top: .5em; width: .95rem; height: .55rem; border-left: 2.5px solid var(--teal-600); border-bottom: 2.5px solid var(--teal-600); transform: rotate(-45deg) translateY(-30%); }
.section-dark .check li::before { border-color: var(--teal-300); }
.cross { list-style: none; padding: 0; }
.cross li { position: relative; padding-left: 1.7rem; }
.cross li::before { content: "\00d7"; position: absolute; left: .15rem; top: -.1em; font-size: 1.4rem; color: var(--amber); font-weight: 600; }

/* -------------------------------------------------------------- proof strip */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.stat { background: #fff; padding: 1.5rem 1.4rem; }
.stat .num { font-family: var(--serif); font-size: clamp(2rem, 3.4vw, 2.8rem); font-weight: 600; color: var(--navy-900); line-height: 1; letter-spacing: -.02em; }
.stat .lbl { margin-top: .6rem; font-size: .92rem; color: var(--muted); line-height: 1.4; }
@media (max-width: 860px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* ---------------------------------------------------------------- case card */
.case { display: flex; flex-direction: column; height: 100%; }
.case .kicker { font-family: var(--mono); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--teal-700); margin-bottom: .6rem; }
.case h3 { font-size: 1.28rem; }
.case .result { margin: 1rem 0 0; padding: .9rem 1rem; background: var(--navy-50); border-left: 3px solid var(--teal-500); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-size: .95rem; color: var(--navy-900); }
.status { display: inline-flex; align-items: center; gap: .4rem; font-size: .8rem; font-weight: 600; }
.status::before { content: ""; width: .55rem; height: .55rem; border-radius: 50%; background: var(--teal-500); }
.status.off::before { background: #b9852a; }
.status.req::before { background: #7b8ba1; }

/* ---------------------------------------------------------------- steps */
.steps { counter-reset: step; list-style: none; padding: 0; display: grid; gap: 1rem; }
.steps li { counter-increment: step; position: relative; padding: 1.2rem 1.3rem 1.2rem 4.2rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); margin: 0; }
.steps li::before { content: counter(step); position: absolute; left: 1.2rem; top: 1.1rem; width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--navy-900); color: #fff; font-family: var(--mono); font-weight: 500; display: grid; place-items: center; }
.steps h4 { margin: 0 0 .25rem; }
.steps p { margin: 0; color: var(--muted); font-size: .98rem; }
.steps .who { font-family: var(--mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--teal-700); }

/* --------------------------------------------------------------- callouts */
.callout { border-left: 4px solid var(--teal-500); background: var(--teal-100); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; padding: 1.1rem 1.3rem; margin: 1.6rem 0; }
.callout.warn { border-color: #d88b1c; background: var(--amber-bg); }
.callout p:last-child { margin-bottom: 0; }
.callout strong { color: var(--navy-900); }
.pull { font-family: var(--serif); font-size: clamp(1.4rem, 2.6vw, 1.9rem); line-height: 1.35; color: var(--navy-900); font-style: italic; border-left: 4px solid var(--teal-500); padding-left: 1.4rem; margin: 2rem 0; }

/* ----------------------------------------------------------------- tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); background: #fff; }
table { width: 100%; border-collapse: collapse; font-size: .96rem; }
th, td { text-align: left; padding: .9rem 1.1rem; vertical-align: top; border-bottom: 1px solid var(--line); }
th { background: var(--navy-50); font-family: var(--mono); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--navy-800); font-weight: 500; white-space: nowrap; }
tr:last-child td { border-bottom: 0; }
td:first-child { font-weight: 600; color: var(--navy-900); min-width: 9rem; }

/* ---------------------------------------------------------------- details */
details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: .8rem; }
details summary { cursor: pointer; padding: 1.1rem 3rem 1.1rem 1.3rem; font-weight: 600; color: var(--navy-900); list-style: none; position: relative; }
details summary::-webkit-details-marker { display: none; }
details summary::after { content: "+"; position: absolute; right: 1.3rem; top: 50%; transform: translateY(-50%); font-size: 1.5rem; font-weight: 400; color: var(--teal-700); transition: transform .2s; }
details[open] summary::after { content: "\2212"; }
details > div { padding: 0 1.3rem 1.2rem; color: var(--muted); }
details > div p:last-child { margin-bottom: 0; }

/* --------------------------------------------------------------- diagram */
.diagram { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1rem, 2.4vw, 1.6rem); box-shadow: var(--shadow); }
.diagram svg { width: 100%; height: auto; }
.diagram figcaption { font-size: .9rem; color: var(--muted); margin-top: .8rem; }

/* ------------------------------------------------------------------ forms */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.4rem, 3vw, 2.2rem); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form-field { display: flex; flex-direction: column; gap: .4rem; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-weight: 600; font-size: .95rem; color: var(--navy-900); }
.optional { font-weight: 400; color: var(--muted); }
input[type="text"], input[type="email"], input[type="tel"], select, textarea { font: inherit; color: var(--ink); background: #fff; border: 1.5px solid #b8c5d4; border-radius: var(--radius-sm); padding: .8rem .9rem; width: 100%; }
input:focus, select:focus, textarea:focus { outline: 3px solid rgba(23, 167, 159, .35); border-color: var(--teal-600); }
textarea { min-height: 150px; resize: vertical; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-status { display: none; margin-top: 1rem; padding: .9rem 1rem; border-radius: var(--radius-sm); font-weight: 500; }
.form-status.visible { display: block; }
.form-status.error { background: #fdecec; color: #8a1c1c; border: 1px solid #f0b4b4; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }

/* ----------------------------------------------------------------- footer */
.cta-band { background: linear-gradient(120deg, var(--navy-900), var(--navy-800)); color: #e3ecf6; padding: clamp(3rem, 6vw, 4.5rem) 0; }
.cta-band .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.6rem; }
.cta-band h2 { color: #fff; margin: 0 0 .4rem; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.cta-band p { margin: 0; color: #c9d8ea; max-width: 56ch; }
.site-footer { background: var(--navy-950); color: #a9bdd4; padding: 3.5rem 0 1.5rem; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand { display: flex; align-items: center; gap: .7rem; color: #fff; font-family: var(--serif); font-weight: 700; font-size: 1.3rem; margin-bottom: .8rem; }
.footer-brand img { width: 44px; height: 44px; }
.site-footer h4 { color: #fff; font-family: var(--mono); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 500; margin-bottom: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .55rem; }
.site-footer a { color: #cfe0f3; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 2.5rem; padding-top: 1.4rem; display: flex; flex-wrap: wrap; gap: .6rem 2rem; justify-content: space-between; font-size: .85rem; color: #8aa3c0; }
.disclaimer { font-size: .85rem; color: #8aa3c0; max-width: 90ch; margin-top: 1.2rem; }

/* --------------------------------------------------------------- case page */
.case-meta { display: flex; flex-wrap: wrap; gap: 1.2rem 2.4rem; padding: 1.2rem 0; margin: 1.6rem 0 0; border-top: 1px solid rgba(255, 255, 255, .2); }
.case-meta div { min-width: 9rem; }
.case-meta dt { font-family: var(--mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: #9fb6d0; }
.case-meta dd { margin: .2rem 0 0; color: #fff; font-weight: 500; }
.prose h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-top: 2.6rem; }
.prose h3 { margin-top: 2rem; }
.prose ul { margin-bottom: 1.3em; }
.results { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 1rem; margin: 1.5rem 0 2rem; }
.results .stat { border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.skip-list li::marker { color: var(--amber); }
.sidebar { position: sticky; top: 96px; }
@media (max-width: 860px) { .sidebar { position: static; } }

/* ---------------------------------------------------------------- motion */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
@media print {
  .site-header, .cta-band, .nav-toggle, .btn-row, .hero-chip { display: none !important; }
  body { font-size: 11pt; }
  a { color: inherit; }
}

/* ---------------------------------------------------------- page helpers */
.center-row { justify-content: center; }
.card-img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; height: auto; }
.two-col { columns: 2; column-gap: 2.2rem; }
.two-col li { break-inside: avoid; }
@media (max-width: 700px) { .two-col { columns: 1; } }
.prose { max-width: 72ch; }
.narrow.prose { margin-left: auto; margin-right: auto; }
.prose h2 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); }
.section.proof { padding: 0 0 clamp(1.5rem, 3vw, 2.5rem); position: relative; z-index: 2; margin-top: clamp(-3rem, -4vw, -1.5rem); }
.proof-note { margin: 1rem 0 0; }
.sub-head { margin: 2.6rem 0 1.2rem; }
.all-link { margin-top: 2rem; }
.jump .card { text-decoration: none; }
.card .status { margin-bottom: .6rem; }
.results .stat .num { font-size: clamp(1.6rem, 2.4vw, 2.1rem); }
.results .stat .lbl { font-size: .9rem; }
.form-card .callout { margin-top: 0; }
.page-hero .btn-row { margin-top: 1.4rem; }
.pillars .check { margin-top: 1rem; }
.hero .lede { max-width: 54ch; }

figure { margin: 0; }
figure.fill { height: 100%; }
figure.fill img { height: 100%; min-height: 360px; object-fit: cover; }
.cta-band .container > div { flex: 1 1 30rem; }
.cta-band .btn { flex: none; }
.case .status, .case .status.off, .case .status.req { margin-top: 1rem; }
.card-cta { background: linear-gradient(150deg, var(--navy-900), var(--navy-800)); border-color: var(--navy-900); }
.card-cta h3, .card-cta p { color: #fff; }
.card-cta p { color: #c9d8ea; }
.card-cta .more { color: var(--teal-300); }
a.card-cta:hover { border-color: var(--teal-300); }

/* brand watermark on plain page heroes */
.page-hero:not(.with-photo)::before { content: ""; position: absolute; right: max(2rem, calc((100vw - var(--maxw)) / 2 + 1rem)); top: 50%; width: 360px; height: 360px; transform: translateY(-50%); background: url("/assets/images/logo-mark-white.png") center / contain no-repeat; opacity: .07; pointer-events: none; }
.page-hero .container { position: relative; z-index: 1; }
@media (max-width: 760px) { .page-hero:not(.with-photo)::before { width: 220px; height: 220px; right: -40px; opacity: .06; } }
/* case pages: two-by-two results, quieter technology tags */
.prose .results { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 560px) { .prose .results { grid-template-columns: 1fr; } }
.prose .tag { font-family: var(--sans); text-transform: none; letter-spacing: 0; font-size: .86rem; font-weight: 500; border-radius: 8px; padding: .35rem .65rem; }

.grid-4 .card { padding: 1.3rem; }
.grid-4 .card p { font-size: .95rem; line-height: 1.55; }
.grid-4 .card h3 { font-size: 1.15rem; }
.diagram svg { max-width: 980px; margin: 0 auto; }

.resource-band { display: flex; align-items: center; gap: 1.6rem; flex-wrap: wrap; background: linear-gradient(120deg, var(--navy-50), var(--teal-100)); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.4rem, 3vw, 2.2rem); box-shadow: var(--shadow); }
.resource-band > div:nth-child(2) { flex: 1 1 22rem; }
.resource-band h3 { margin: 0 0 .4rem; font-size: 1.5rem; }
.resource-band p { margin: 0; color: var(--muted); }
.resource-band .icon { width: 64px; height: 64px; border-radius: 16px; margin: 0; background: #fff; }
.resource-band .icon svg { width: 32px; height: 32px; }
.resource-band .btn-row { margin: 0; flex: none; }
